2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.71 for Wine 7.20.
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.20'
615 PACKAGE_STRING
='Wine 7.20'
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
750 SYSTEMCONFIGURATION_LIBS
753 APPLICATIONSERVICES_LIBS
766 WINEPRELOADER_LDFLAGS
798 x86_64_DISABLED_SUBDIRS
806 i386_DISABLED_SUBDIRS
822 aarch64_DISABLED_SUBDIRS
823 aarch64_DELAYLOADFLAG
887 program_transform_name
900 enable_option_checking
906 enable_maintainer_mode
1024 enable_d3dcompiler_33
1025 enable_d3dcompiler_34
1026 enable_d3dcompiler_35
1027 enable_d3dcompiler_36
1028 enable_d3dcompiler_37
1029 enable_d3dcompiler_38
1030 enable_d3dcompiler_39
1031 enable_d3dcompiler_40
1032 enable_d3dcompiler_41
1033 enable_d3dcompiler_42
1034 enable_d3dcompiler_43
1035 enable_d3dcompiler_46
1036 enable_d3dcompiler_47
1089 enable_directmanipulation
1126 enable_explorerframe
1182 enable_light_msstyles
1197 enable_mfmediaengine
1260 enable_msvcp140_atomic_wait
1327 enable_photometadatahandler
1403 enable_threadpoolwinrt
1409 enable_uiautomationcore
1429 enable_vcruntime140_1
1447 enable_windows_devices_enumeration
1448 enable_windows_gaming_input
1449 enable_windows_gaming_ui_gamebar
1450 enable_windows_globalization
1451 enable_windows_media_devices
1452 enable_windows_media_speech
1453 enable_windows_networking
1454 enable_windowscodecs
1455 enable_windowscodecsext
1457 enable_wineandroid_drv
1459 enable_winecoreaudio_drv
1462 enable_winegstreamer
1468 enable_winepulse_drv
1472 enable_winexinput_sys
1516 enable_xactengine2_0
1517 enable_xactengine2_4
1518 enable_xactengine2_7
1519 enable_xactengine2_9
1520 enable_xactengine3_0
1521 enable_xactengine3_1
1522 enable_xactengine3_2
1523 enable_xactengine3_3
1524 enable_xactengine3_4
1525 enable_xactengine3_5
1526 enable_xactengine3_6
1527 enable_xactengine3_7
1574 enable_wmcodecdspuuid
1582 enable_aspnet_regiis
1628 enable_presentationfontcache
1643 enable_servicemodelreg
1669 enable_winemenubuilder
1671 enable_winemsibuilder
1696 ac_precious_vars
='build_alias
1777 # Initialize some variables set by options.
1779 ac_init_version
=false
1780 ac_unrecognized_opts
=
1781 ac_unrecognized_sep
=
1782 # The variables have the same names as the options, with
1783 # dashes changed to underlines.
1784 cache_file
=/dev
/null
1791 program_transform_name
=s
,x
,x
,
1799 # Installation directory options.
1800 # These are left unexpanded so users can "make install exec_prefix=/foo"
1801 # and all the variables that are supposed to be based on exec_prefix
1802 # by default will actually change.
1803 # Use braces instead of parens because sh, perl, etc. also accept them.
1804 # (The list follows the same order as the GNU Coding Standards.)
1805 bindir
='${exec_prefix}/bin'
1806 sbindir
='${exec_prefix}/sbin'
1807 libexecdir
='${exec_prefix}/libexec'
1808 datarootdir
='${prefix}/share'
1809 datadir
='${datarootdir}'
1810 sysconfdir
='${prefix}/etc'
1811 sharedstatedir
='${prefix}/com'
1812 localstatedir
='${prefix}/var'
1813 runstatedir
='${localstatedir}/run'
1814 includedir
='${prefix}/include'
1815 oldincludedir
='/usr/include'
1816 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
1817 infodir
='${datarootdir}/info'
1822 libdir
='${exec_prefix}/lib'
1823 localedir
='${datarootdir}/locale'
1824 mandir
='${datarootdir}/man'
1830 # If the previous option needs an argument, assign it.
1831 if test -n "$ac_prev"; then
1832 eval $ac_prev=\
$ac_option
1838 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1843 case $ac_dashdash$ac_option in
1847 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
1849 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
1850 bindir
=$ac_optarg ;;
1852 -build |
--build |
--buil |
--bui |
--bu)
1853 ac_prev
=build_alias
;;
1854 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
1855 build_alias
=$ac_optarg ;;
1857 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
1858 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
1859 ac_prev
=cache_file
;;
1860 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
1861 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
1862 cache_file
=$ac_optarg ;;
1864 --config-cache |
-C)
1865 cache_file
=config.cache
;;
1867 -datadir |
--datadir |
--datadi |
--datad)
1869 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
1870 datadir
=$ac_optarg ;;
1872 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1873 |
--dataroo |
--dataro |
--datar)
1874 ac_prev
=datarootdir
;;
1875 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1876 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1877 datarootdir
=$ac_optarg ;;
1879 -disable-* |
--disable-*)
1880 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1881 # Reject names that are not valid shell variable names.
1882 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1883 as_fn_error $?
"invalid feature name: \`$ac_useropt'"
1884 ac_useropt_orig
=$ac_useropt
1885 ac_useropt
=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1886 case $ac_user_opts in
1888 "enable_
$ac_useropt"
1890 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1891 ac_unrecognized_sep
=', ';;
1893 eval enable_
$ac_useropt=no
;;
1895 -docdir |
--docdir |
--docdi |
--doc |
--do)
1897 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1898 docdir
=$ac_optarg ;;
1900 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1902 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1903 dvidir
=$ac_optarg ;;
1905 -enable-* |
--enable-*)
1906 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1907 # Reject names that are not valid shell variable names.
1908 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1909 as_fn_error $?
"invalid feature name: \`$ac_useropt'"
1910 ac_useropt_orig
=$ac_useropt
1911 ac_useropt
=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1912 case $ac_user_opts in
1914 "enable_
$ac_useropt"
1916 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1917 ac_unrecognized_sep
=', ';;
1919 eval enable_
$ac_useropt=\
$ac_optarg ;;
1921 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1922 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1923 |
--exec |
--exe |
--ex)
1924 ac_prev
=exec_prefix
;;
1925 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1926 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1927 |
--exec=* |
--exe=* |
--ex=*)
1928 exec_prefix
=$ac_optarg ;;
1930 -gas |
--gas |
--ga |
--g)
1931 # Obsolete; use --with-gas.
1934 -help |
--help |
--hel |
--he |
-h)
1935 ac_init_help
=long
;;
1936 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1937 ac_init_help
=recursive
;;
1938 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1939 ac_init_help
=short
;;
1941 -host |
--host |
--hos |
--ho)
1942 ac_prev
=host_alias
;;
1943 -host=* |
--host=* |
--hos=* |
--ho=*)
1944 host_alias
=$ac_optarg ;;
1946 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1948 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1950 htmldir
=$ac_optarg ;;
1952 -includedir |
--includedir |
--includedi |
--included |
--include \
1953 |
--includ |
--inclu |
--incl |
--inc)
1954 ac_prev
=includedir
;;
1955 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1956 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1957 includedir
=$ac_optarg ;;
1959 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1961 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1962 infodir
=$ac_optarg ;;
1964 -libdir |
--libdir |
--libdi |
--libd)
1966 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1967 libdir
=$ac_optarg ;;
1969 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1970 |
--libexe |
--libex |
--libe)
1971 ac_prev
=libexecdir
;;
1972 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1973 |
--libexe=* |
--libex=* |
--libe=*)
1974 libexecdir
=$ac_optarg ;;
1976 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1977 ac_prev
=localedir
;;
1978 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1979 localedir
=$ac_optarg ;;
1981 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1982 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1983 ac_prev
=localstatedir
;;
1984 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1985 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1986 localstatedir
=$ac_optarg ;;
1988 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1990 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1991 mandir
=$ac_optarg ;;
1993 -nfp |
--nfp |
--nf)
1994 # Obsolete; use --without-fp.
1997 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1998 |
--no-cr |
--no-c |
-n)
2001 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
2002 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
2005 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
2006 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
2007 |
--oldin |
--oldi |
--old |
--ol |
--o)
2008 ac_prev
=oldincludedir
;;
2009 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
2010 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
2011 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
2012 oldincludedir
=$ac_optarg ;;
2014 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
2016 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
2017 prefix
=$ac_optarg ;;
2019 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
2020 |
--program-pre |
--program-pr |
--program-p)
2021 ac_prev
=program_prefix
;;
2022 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
2023 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
2024 program_prefix
=$ac_optarg ;;
2026 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
2027 |
--program-suf |
--program-su |
--program-s)
2028 ac_prev
=program_suffix
;;
2029 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
2030 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
2031 program_suffix
=$ac_optarg ;;
2033 -program-transform-name |
--program-transform-name \
2034 |
--program-transform-nam |
--program-transform-na \
2035 |
--program-transform-n |
--program-transform- \
2036 |
--program-transform |
--program-transfor \
2037 |
--program-transfo |
--program-transf \
2038 |
--program-trans |
--program-tran \
2039 |
--progr-tra |
--program-tr |
--program-t)
2040 ac_prev
=program_transform_name
;;
2041 -program-transform-name=* |
--program-transform-name=* \
2042 |
--program-transform-nam=* |
--program-transform-na=* \
2043 |
--program-transform-n=* |
--program-transform-=* \
2044 |
--program-transform=* |
--program-transfor=* \
2045 |
--program-transfo=* |
--program-transf=* \
2046 |
--program-trans=* |
--program-tran=* \
2047 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
2048 program_transform_name
=$ac_optarg ;;
2050 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
2052 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
2053 pdfdir
=$ac_optarg ;;
2055 -psdir |
--psdir |
--psdi |
--psd |
--ps)
2057 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
2060 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2061 |
-silent |
--silent |
--silen |
--sile |
--sil)
2064 -runstatedir |
--runstatedir |
--runstatedi |
--runstated \
2065 |
--runstate |
--runstat |
--runsta |
--runst |
--runs \
2066 |
--run |
--ru |
--r)
2067 ac_prev
=runstatedir
;;
2068 -runstatedir=* |
--runstatedir=* |
--runstatedi=* |
--runstated=* \
2069 |
--runstate=* |
--runstat=* |
--runsta=* |
--runst=* |
--runs=* \
2070 |
--run=* |
--ru=* |
--r=*)
2071 runstatedir
=$ac_optarg ;;
2073 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
2075 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
2077 sbindir
=$ac_optarg ;;
2079 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
2080 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
2081 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
2083 ac_prev
=sharedstatedir
;;
2084 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
2085 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
2086 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
2088 sharedstatedir
=$ac_optarg ;;
2090 -site |
--site |
--sit)
2092 -site=* |
--site=* |
--sit=*)
2095 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
2097 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
2098 srcdir
=$ac_optarg ;;
2100 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
2101 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
2102 ac_prev
=sysconfdir
;;
2103 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
2104 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
2105 sysconfdir
=$ac_optarg ;;
2107 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
2108 ac_prev
=target_alias
;;
2109 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
2110 target_alias
=$ac_optarg ;;
2112 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
2115 -version |
--version |
--versio |
--versi |
--vers |
-V)
2116 ac_init_version
=: ;;
2119 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2120 # Reject names that are not valid shell variable names.
2121 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
2122 as_fn_error $?
"invalid package name: \`$ac_useropt'"
2123 ac_useropt_orig
=$ac_useropt
2124 ac_useropt
=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
2125 case $ac_user_opts in
2129 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2130 ac_unrecognized_sep
=', ';;
2132 eval with_
$ac_useropt=\
$ac_optarg ;;
2134 -without-* |
--without-*)
2135 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2136 # Reject names that are not valid shell variable names.
2137 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
2138 as_fn_error $?
"invalid package name: \`$ac_useropt'"
2139 ac_useropt_orig
=$ac_useropt
2140 ac_useropt
=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
2141 case $ac_user_opts in
2145 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2146 ac_unrecognized_sep
=', ';;
2148 eval with_
$ac_useropt=no
;;
2151 # Obsolete; use --with-x.
2154 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
2155 |
--x-incl |
--x-inc |
--x-in |
--x-i)
2156 ac_prev
=x_includes
;;
2157 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
2158 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
2159 x_includes
=$ac_optarg ;;
2161 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
2162 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
2163 ac_prev
=x_libraries
;;
2164 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
2165 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
2166 x_libraries
=$ac_optarg ;;
2168 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
2169 Try \`$0 --help' for more information"
2173 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
2174 # Reject names that are not valid shell variable names.
2175 case $ac_envvar in #(
2176 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
2177 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
2179 eval $ac_envvar=\
$ac_optarg
2180 export $ac_envvar ;;
2183 # FIXME: should be removed in autoconf 3.0.
2184 printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
2185 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
2186 printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
2187 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2193 if test -n "$ac_prev"; then
2194 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
2195 as_fn_error $?
"missing argument to $ac_option"
2198 if test -n "$ac_unrecognized_opts"; then
2199 case $enable_option_checking in
2201 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
2202 *) printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2206 # Check all directory arguments for consistency.
2207 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2208 datadir sysconfdir sharedstatedir localstatedir includedir \
2209 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2210 libdir localedir mandir runstatedir
2212 eval ac_val
=\$
$ac_var
2213 # Remove trailing slashes.
2216 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2217 eval $ac_var=\
$ac_val;;
2219 # Be sure to have absolute directory names.
2221 [\\/$
]* | ?
:[\\/]* ) continue;;
2222 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
2224 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
2227 # There might be people who depend on the old broken behavior: `$host'
2228 # used to hold the argument of --host etc.
2229 # FIXME: To remove some day.
2232 target
=$target_alias
2234 # FIXME: To remove some day.
2235 if test "x$host_alias" != x
; then
2236 if test "x$build_alias" = x
; then
2237 cross_compiling
=maybe
2238 elif test "x$build_alias" != "x$host_alias"; then
2244 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
2246 test "$silent" = yes && exec 6>/dev
/null
2249 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
2250 ac_ls_di
=`ls -di .` &&
2251 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
2252 as_fn_error $?
"working directory cannot be determined"
2253 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2254 as_fn_error $?
"pwd does not report name of working directory"
2257 # Find the source files, if location was not specified.
2258 if test -z "$srcdir"; then
2259 ac_srcdir_defaulted
=yes
2260 # Try the directory containing this script, then the parent directory.
2261 ac_confdir
=`$as_dirname -- "$as_myself" ||
2262 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2263 X"$as_myself" : 'X\(//\)[^/]' \| \
2264 X"$as_myself" : 'X\(//\)$' \| \
2265 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2266 printf "%s\n" X"$as_myself" |
2267 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2285 if test ! -r "$srcdir/$ac_unique_file"; then
2289 ac_srcdir_defaulted
=no
2291 if test ! -r "$srcdir/$ac_unique_file"; then
2292 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
2293 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
2295 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
2297 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2299 # When building in place, set srcdir=.
2300 if test "$ac_abs_confdir" = "$ac_pwd"; then
2303 # Remove unnecessary trailing slashes from srcdir.
2304 # Double slashes in file names in object file debugging info
2305 # mess up M-x gdb in Emacs.
2307 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2309 for ac_var
in $ac_precious_vars; do
2310 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
2311 eval ac_env_
${ac_var}_value
=\$
${ac_var}
2312 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
2313 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
2317 # Report the --help message.
2319 if test "$ac_init_help" = "long"; then
2320 # Omit some internal or obsolete options to make the list less imposing.
2321 # This message is too long to be a string in the A/UX 3.1 sh.
2323 \`configure' configures Wine 7.20 to adapt to many kinds of systems.
2325 Usage: $0 [OPTION]... [VAR=VALUE]...
2327 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2328 VAR=VALUE. See below for descriptions of some of the useful variables.
2330 Defaults for the options are specified in brackets.
2333 -h, --help display this help and exit
2334 --help=short display options specific to this package
2335 --help=recursive display the short help of all the included packages
2336 -V, --version display version information and exit
2337 -q, --quiet, --silent do not print \`checking ...' messages
2338 --cache-file=FILE cache test results in FILE [disabled]
2339 -C, --config-cache alias for \`--cache-file=config.cache'
2340 -n, --no-create do not create output files
2341 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2343 Installation directories:
2344 --prefix=PREFIX install architecture-independent files in PREFIX
2345 [$ac_default_prefix]
2346 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2349 By default, \`make install' will install all the files in
2350 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2351 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2352 for instance \`--prefix=\$HOME'.
2354 For better control, use the options below.
2356 Fine tuning of the installation directories:
2357 --bindir=DIR user executables [EPREFIX/bin]
2358 --sbindir=DIR system admin executables [EPREFIX/sbin]
2359 --libexecdir=DIR program executables [EPREFIX/libexec]
2360 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2361 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2362 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2363 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2364 --libdir=DIR object code libraries [EPREFIX/lib]
2365 --includedir=DIR C header files [PREFIX/include]
2366 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2367 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2368 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2369 --infodir=DIR info documentation [DATAROOTDIR/info]
2370 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2371 --mandir=DIR man documentation [DATAROOTDIR/man]
2372 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2373 --htmldir=DIR html documentation [DOCDIR]
2374 --dvidir=DIR dvi documentation [DOCDIR]
2375 --pdfdir=DIR pdf documentation [DOCDIR]
2376 --psdir=DIR ps documentation [DOCDIR]
2382 --x-includes=DIR X include files are
in DIR
2383 --x-libraries=DIR X library files are
in DIR
2386 --build=BUILD configure
for building on BUILD
[guessed
]
2387 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
2391 if test -n "$ac_init_help"; then
2392 case $ac_init_help in
2393 short | recursive
) echo "Configuration of Wine 7.20:";;
2398 --disable-option-checking ignore unrecognized
--enable/--with options
2399 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
2400 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
2401 --enable-archs={i386
,x86_64
,arm
,aarch64
}
2402 enable multiple architectures
for PE compilation
2403 --disable-win16 do not include Win16 support
2404 --enable-win64 build a Win64 emulator on AMD64
(won
't run Win32
2406 --disable-tests do not build the regression tests
2407 --enable-build-id include .buildid section in output objects
2408 --enable-maintainer-mode
2409 enable maintainer-specific build rules
2410 --enable-silent-rules use silent build rules (override: "make V=1")
2411 --enable-werror treat compilation warnings as errors
2412 --disable-largefile omit support for large files
2415 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2416 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2417 --without-alsa do not use the Alsa sound support
2418 --without-capi do not use CAPI (ISDN support)
2419 --without-coreaudio do not use the CoreAudio sound support
2420 --without-cups do not use CUPS
2421 --without-dbus do not use DBus (dynamic device support)
2422 --with-float-abi=abi specify the ABI (soft|softfp|hard) for ARM platforms
2423 --without-fontconfig do not use fontconfig
2424 --without-freetype do not use the FreeType library
2425 --without-gettext do not use gettext
2426 --with-gettextpo use the GetTextPO library to rebuild po files
2427 --without-gphoto do not use gphoto (Digital Camera support)
2428 --without-gnutls do not use GnuTLS (schannel support)
2429 --without-gssapi do not use GSSAPI (Kerberos SSP support)
2430 --without-gstreamer do not use GStreamer (codecs support)
2431 --without-inotify do not use inotify (filesystem change notifications)
2432 --without-krb5 do not use krb5 (Kerberos)
2433 --without-ldap do not use LDAP
2434 --without-mingw do not use the MinGW cross-compiler
2435 --without-netapi do not use the Samba NetAPI library
2436 --without-openal do not use OpenAL
2437 --without-opencl do not use OpenCL
2438 --without-opengl do not use OpenGL
2439 --without-osmesa do not use the OSMesa library
2440 --without-oss do not use the OSS sound support
2441 --without-pcap do not use the Packet Capture library
2442 --without-pthread do not use the pthread library
2443 --without-pulse do not use PulseAudio sound support
2444 --without-sane do not use SANE (scanner support)
2445 --without-sdl do not use SDL
2446 --without-udev do not use udev (plug and play support)
2447 --without-unwind do not use the libunwind library (exception
2449 --without-usb do not use the libusb library
2450 --without-v4l2 do not use v4l2 (video capture)
2451 --without-vulkan do not use Vulkan
2452 --without-xcomposite do not use the Xcomposite extension
2453 --without-xcursor do not use the Xcursor extension
2454 --without-xfixes do not use Xfixes for clipboard change notifications
2455 --without-xinerama do not use Xinerama (legacy multi-monitor support)
2456 --without-xinput do not use the Xinput extension
2457 --without-xinput2 do not use the Xinput 2 extension
2458 --without-xrandr do not use Xrandr (multi-monitor support)
2459 --without-xrender do not use the Xrender extension
2460 --without-xshape do not use the Xshape extension
2461 --without-xshm do not use XShm (shared memory extension)
2462 --without-xxf86vm do not use XFree video mode extension
2463 --with-system-dllpath=PATH
2464 load external PE dependencies from colon-separated
2466 --with-wine-tools=DIR use Wine tools from directory DIR
2467 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2468 --with-x use the X Window System
2470 Some influential environment variables:
2471 CC C compiler command
2472 CFLAGS C compiler flags
2473 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2474 nonstandard directory <lib dir>
2475 LIBS libraries to pass to the linker, e.g. -l<library>
2476 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2477 you have headers in a nonstandard directory <include dir>
2478 CXX C++ compiler command
2479 CXXFLAGS C++ compiler flags
2480 OBJC Objective C compiler command
2481 OBJCFLAGS Objective C compiler flags
2483 C compiler flags for the PE faudio, overriding the bundled
2486 Linker flags for the PE faudio, overriding the bundled version
2488 C compiler flags for the PE gsm, overriding the bundled version
2489 GSM_PE_LIBS Linker flags for the PE gsm, overriding the bundled version
2491 C compiler flags for the PE jpeg, overriding the bundled version
2493 Linker flags for the PE jpeg, overriding the bundled version
2495 C compiler flags for the PE jxr, overriding the bundled version
2496 JXR_PE_LIBS Linker flags for the PE jxr, overriding the bundled version
2498 C compiler flags for the PE lcms2, overriding the bundled
2501 Linker flags for the PE lcms2, overriding the bundled version
2503 C compiler flags for the PE mpg123, overriding the bundled
2506 Linker flags for the PE mpg123, overriding the bundled version
2508 C compiler flags for the PE png, overriding the bundled version
2509 PNG_PE_LIBS Linker flags for the PE png, overriding the bundled version
2511 C compiler flags for the PE tiff, overriding the bundled version
2513 Linker flags for the PE tiff, overriding the bundled version
2515 C compiler flags for the PE vkd3d, overriding the bundled
2518 Linker flags for the PE vkd3d, overriding the bundled version
2520 C compiler flags for the PE xml2, overriding the bundled version
2522 Linker flags for the PE xml2, overriding the bundled version
2524 C compiler flags for the PE xslt, overriding the bundled version
2526 Linker flags for the PE xslt, overriding the bundled version
2528 C compiler flags for the PE zlib, overriding the bundled version
2530 Linker flags for the PE zlib, overriding the bundled version
2531 XMKMF Path to xmkmf, Makefile generator for X Window System
2534 C compiler flags for libinotify, overriding pkg-config
2536 Linker flags for libinotify, overriding pkg-config
2537 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2538 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2540 C compiler flags for gnutls, overriding pkg-config
2541 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2542 SANE_CFLAGS C compiler flags for sane-backends, overriding pkg-config
2543 SANE_LIBS Linker flags for sane-backends, overriding pkg-config
2544 USB_CFLAGS C compiler flags for libusb-1.0, overriding pkg-config
2545 USB_LIBS Linker flags for libusb-1.0, overriding pkg-config
2547 C compiler flags for libgphoto2, overriding pkg-config
2549 Linker flags for libgphoto2, overriding pkg-config
2551 C compiler flags for libgphoto2_port, overriding pkg-config
2553 Linker flags for libgphoto2_port, overriding pkg-config
2555 C compiler flags for freetype2, overriding pkg-config
2557 Linker flags for freetype2, overriding pkg-config
2559 C compiler flags for libpulse, overriding pkg-config
2560 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2562 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2563 gstreamer-audio-1.0, overriding pkg-config
2565 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2566 gstreamer-audio-1.0, overriding pkg-config
2567 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2568 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2570 C compiler flags for libunwind, overriding pkg-config
2571 UNWIND_LIBS Linker flags for libunwind, overriding pkg-config
2572 SDL2_CFLAGS C compiler flags for sdl2, overriding pkg-config
2573 SDL2_LIBS Linker flags for sdl2, overriding pkg-config
2575 C compiler flags for capi20, overriding pkg-config
2576 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2577 CUPS_CFLAGS C compiler flags for cups, overriding pkg-config
2578 CUPS_LIBS Linker flags for cups, overriding pkg-config
2580 C compiler flags for fontconfig, overriding pkg-config
2582 Linker flags for fontconfig, overriding pkg-config
2583 KRB5_CFLAGS C compiler flags for krb5, overriding pkg-config
2584 KRB5_LIBS Linker flags for krb5, overriding pkg-config
2586 C compiler flags for krb5-gssapi, overriding pkg-config
2587 GSSAPI_LIBS Linker flags for krb5-gssapi, overriding pkg-config
2589 C compiler flags for netapi, overriding pkg-config
2590 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2591 LDAP_CFLAGS C compiler flags for openldap, overriding pkg-config
2592 LDAP_LIBS Linker flags for openldap, overriding pkg-config
2594 Use these variables to override the choices made by `configure' or to
help
2595 it to
find libraries and programs with nonstandard names
/locations.
2597 Report bugs to
<wine-devel@winehq.org
>.
2598 Wine home page
: <https
://www.winehq.org
>.
2603 if test "$ac_init_help" = "recursive"; then
2604 # If there are subdirs, report their specific --help.
2605 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
2606 test -d "$ac_dir" ||
2607 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
2612 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2614 ac_dir_suffix
=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
2615 # A ".." for each directory in $ac_dir_suffix.
2616 ac_top_builddir_sub
=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2617 case $ac_top_builddir_sub in
2618 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2619 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
2622 ac_abs_top_builddir
=$ac_pwd
2623 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
2624 # for backward compatibility:
2625 ac_top_builddir
=$ac_top_build_prefix
2628 .
) # We are building in place.
2630 ac_top_srcdir
=$ac_top_builddir_sub
2631 ac_abs_top_srcdir
=$ac_pwd ;;
2632 [\\/]* | ?
:[\\/]* ) # Absolute name.
2633 ac_srcdir
=$srcdir$ac_dir_suffix;
2634 ac_top_srcdir
=$srcdir
2635 ac_abs_top_srcdir
=$srcdir ;;
2637 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
2638 ac_top_srcdir
=$ac_top_build_prefix$srcdir
2639 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
2641 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
2643 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
2644 # Check for configure.gnu first; this name is used for a wrapper for
2645 # Metaconfig's "Configure" on case-insensitive file systems.
2646 if test -f "$ac_srcdir/configure.gnu"; then
2648 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2649 elif test -f "$ac_srcdir/configure"; then
2651 $SHELL "$ac_srcdir/configure" --help=recursive
2653 printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2655 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
2659 test -n "$ac_init_help" && exit $ac_status
2660 if $ac_init_version; then
2663 generated by GNU Autoconf
2.71
2665 Copyright
(C
) 2021 Free Software Foundation
, Inc.
2666 This configure
script is free software
; the Free Software Foundation
2667 gives unlimited permission to copy
, distribute and modify it.
2672 ## ------------------------ ##
2673 ## Autoconf initialization. ##
2674 ## ------------------------ ##
2676 # ac_fn_c_try_compile LINENO
2677 # --------------------------
2678 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2679 ac_fn_c_try_compile
()
2681 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2682 rm -f conftest.
$ac_objext conftest.beam
2683 if { { ac_try
="$ac_compile"
2685 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2686 *) ac_try_echo=$ac_try;;
2688 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2689 printf "%s\n" "$ac_try_echo"; } >&5
2690 (eval "$ac_compile") 2>conftest.err
2692 if test -s conftest.err; then
2693 grep -v '^ *+' conftest.err >conftest.er1
2694 cat conftest.er1 >&5
2695 mv -f conftest.er1 conftest.err
2697 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2698 test $ac_status = 0; } && {
2699 test -z "$ac_c_werror_flag" ||
2700 test ! -s conftest.err
2701 } && test -s conftest.$ac_objext
2705 printf "%s\n" "$as_me: failed program was:" >&5
2706 sed 's/^/| /' conftest.$ac_ext >&5
2710 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2711 as_fn_set_status $ac_retval
2713 } # ac_fn_c_try_compile
2715 # ac_fn_cxx_try_compile LINENO
2716 # ----------------------------
2717 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2718 ac_fn_cxx_try_compile ()
2720 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2721 rm -f conftest.$ac_objext conftest.beam
2722 if { { ac_try="$ac_compile"
2724 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2725 *) ac_try_echo
=$ac_try;;
2727 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2728 printf "%s\n" "$ac_try_echo"; } >&5
2729 (eval "$ac_compile") 2>conftest.err
2731 if test -s conftest.err
; then
2732 grep -v '^ *+' conftest.err
>conftest.er1
2733 cat conftest.er1
>&5
2734 mv -f conftest.er1 conftest.err
2736 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2737 test $ac_status = 0; } && {
2738 test -z "$ac_cxx_werror_flag" ||
2739 test ! -s conftest.err
2740 } && test -s conftest.
$ac_objext
2744 printf "%s\n" "$as_me: failed program was:" >&5
2745 sed 's/^/| /' conftest.
$ac_ext >&5
2749 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2750 as_fn_set_status
$ac_retval
2752 } # ac_fn_cxx_try_compile
2754 # ac_fn_c_try_link LINENO
2755 # -----------------------
2756 # Try to link conftest.$ac_ext, and return whether this succeeded.
2759 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2760 rm -f conftest.
$ac_objext conftest.beam conftest
$ac_exeext
2761 if { { ac_try
="$ac_link"
2763 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2764 *) ac_try_echo=$ac_try;;
2766 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2767 printf "%s\n" "$ac_try_echo"; } >&5
2768 (eval "$ac_link") 2>conftest.err
2770 if test -s conftest.err; then
2771 grep -v '^ *+' conftest.err >conftest.er1
2772 cat conftest.er1 >&5
2773 mv -f conftest.er1 conftest.err
2775 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2776 test $ac_status = 0; } && {
2777 test -z "$ac_c_werror_flag" ||
2778 test ! -s conftest.err
2779 } && test -s conftest$ac_exeext && {
2780 test "$cross_compiling" = yes ||
2781 test -x conftest$ac_exeext
2786 printf "%s\n" "$as_me: failed program was:" >&5
2787 sed 's/^/| /' conftest.$ac_ext >&5
2791 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2792 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2793 # interfere with the next link command; also delete a directory that is
2794 # left behind by Apple's compiler. We do this before executing the actions.
2795 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2796 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2797 as_fn_set_status $ac_retval
2799 } # ac_fn_c_try_link
2801 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2802 # -------------------------------------------------------
2803 # Tests whether HEADER exists and can be compiled using the include files in
2804 # INCLUDES, setting the cache variable VAR accordingly.
2805 ac_fn_c_check_header_compile ()
2807 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2808 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2809 printf %s "checking for $2... " >&6; }
2810 if eval test \${$3+y}
2812 printf %s "(cached) " >&6
2814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2815 /* end confdefs.h. */
2819 if ac_fn_c_try_compile "$LINENO"
2825 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2828 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2829 printf "%s\n" "$ac_res" >&6; }
2830 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2832 } # ac_fn_c_check_header_compile
2834 # ac_fn_objc_try_compile LINENO
2835 # -----------------------------
2836 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2837 ac_fn_objc_try_compile ()
2839 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2840 rm -f conftest.$ac_objext conftest.beam
2841 if { { ac_try="$ac_compile"
2843 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2844 *) ac_try_echo
=$ac_try;;
2846 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2847 printf "%s\n" "$ac_try_echo"; } >&5
2848 (eval "$ac_compile") 2>conftest.err
2850 if test -s conftest.err
; then
2851 grep -v '^ *+' conftest.err
>conftest.er1
2852 cat conftest.er1
>&5
2853 mv -f conftest.er1 conftest.err
2855 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2856 test $ac_status = 0; } && {
2857 test -z "$ac_objc_werror_flag" ||
2858 test ! -s conftest.err
2859 } && test -s conftest.
$ac_objext
2863 printf "%s\n" "$as_me: failed program was:" >&5
2864 sed 's/^/| /' conftest.
$ac_ext >&5
2868 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2869 as_fn_set_status
$ac_retval
2871 } # ac_fn_objc_try_compile
2873 # ac_fn_objc_check_header_compile LINENO HEADER VAR INCLUDES
2874 # ----------------------------------------------------------
2875 # Tests whether HEADER exists and can be compiled using the include files in
2876 # INCLUDES, setting the cache variable VAR accordingly.
2877 ac_fn_objc_check_header_compile
()
2879 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2880 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2881 printf %s
"checking for $2... " >&6; }
2882 if eval test \
${$3+y}
2884 printf %s
"(cached) " >&6
2886 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2887 /* end confdefs.h. */
2891 if ac_fn_objc_try_compile
"$LINENO"
2897 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
2900 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2901 printf "%s\n" "$ac_res" >&6; }
2902 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2904 } # ac_fn_objc_check_header_compile
2906 # ac_fn_c_check_func LINENO FUNC VAR
2907 # ----------------------------------
2908 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2909 ac_fn_c_check_func
()
2911 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2912 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2913 printf %s
"checking for $2... " >&6; }
2914 if eval test \
${$3+y}
2916 printf %s
"(cached) " >&6
2918 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2919 /* end confdefs.h. */
2920 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2921 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2922 #define $2 innocuous_$2
2924 /* System header to define __stub macros and hopefully few prototypes,
2925 which can conflict with char $2 (); below. */
2930 /* Override any GCC internal prototype to avoid an error.
2931 Use char because int might match the return type of a GCC
2932 builtin and then its argument prototype would still apply. */
2937 /* The GNU C library defines this for functions which it implements
2938 to always fail with ENOSYS. Some functions are actually named
2939 something starting with __ and the normal name is an alias. */
2940 #if defined __stub_$2 || defined __stub___$2
2952 if ac_fn_c_try_link
"$LINENO"
2958 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
2959 conftest
$ac_exeext conftest.
$ac_ext
2962 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2963 printf "%s\n" "$ac_res" >&6; }
2964 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2966 } # ac_fn_c_check_func
2968 # ac_fn_c_try_cpp LINENO
2969 # ----------------------
2970 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2973 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2974 if { { ac_try
="$ac_cpp conftest.$ac_ext"
2976 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2977 *) ac_try_echo=$ac_try;;
2979 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2980 printf "%s\n" "$ac_try_echo"; } >&5
2981 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2983 if test -s conftest.err; then
2984 grep -v '^ *+' conftest.err >conftest.er1
2985 cat conftest.er1 >&5
2986 mv -f conftest.er1 conftest.err
2988 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2989 test $ac_status = 0; } > conftest.i && {
2990 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2991 test ! -s conftest.err
2996 printf "%s\n" "$as_me: failed program was:" >&5
2997 sed 's/^/| /' conftest.$ac_ext >&5
3001 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3002 as_fn_set_status $ac_retval
3006 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
3007 # ----------------------------------------------------
3008 # Tries to find if the field MEMBER exists in type AGGR, after including
3009 # INCLUDES, setting cache variable VAR accordingly.
3010 ac_fn_c_check_member ()
3012 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3013 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
3014 printf %s "checking for $2.$3... " >&6; }
3015 if eval test \${$4+y}
3017 printf %s "(cached) " >&6
3019 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3020 /* end confdefs.h. */
3032 if ac_fn_c_try_compile "$LINENO"
3036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3037 /* end confdefs.h. */
3043 if (sizeof ac_aggr.$3)
3049 if ac_fn_c_try_compile "$LINENO"
3055 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3057 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3060 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3061 printf "%s\n" "$ac_res" >&6; }
3062 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3064 } # ac_fn_c_check_member
3066 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3067 # -------------------------------------------
3068 # Tests whether TYPE exists after having included INCLUDES, setting cache
3069 # variable VAR accordingly.
3070 ac_fn_c_check_type ()
3072 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3073 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3074 printf %s "checking for $2... " >&6; }
3075 if eval test \${$3+y}
3077 printf %s "(cached) " >&6
3080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3081 /* end confdefs.h. */
3092 if ac_fn_c_try_compile "$LINENO"
3094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3095 /* end confdefs.h. */
3106 if ac_fn_c_try_compile "$LINENO"
3112 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3114 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3117 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3118 printf "%s\n" "$ac_res" >&6; }
3119 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3121 } # ac_fn_c_check_type
3122 ac_configure_args_raw=
3127 ac_arg=`printf "%s\n" "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
3129 as_fn_append ac_configure_args_raw " '$ac_arg'"
3132 case $ac_configure_args_raw in
3136 ac_unsafe_z='|&;<>()$`\\"*?[ '' ' # This string ends in space, tab.
3137 ac_unsafe_a="$ac_unsafe_z#~
"
3138 ac_safe_unquote="s
/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g
"
3139 ac_configure_args_raw=` printf "%s
\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
3142 cat >config.log <<_ACEOF
3143 This file contains any messages produced by compilers while
3144 running configure, to aid debugging if configure makes a mistake.
3146 It was created by Wine $as_me 7.20, which was
3147 generated by GNU Autoconf 2.71. Invocation command line was
3149 $ $0$ac_configure_args_raw
3159 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3160 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3161 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3162 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3163 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3165 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3166 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3168 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3169 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3170 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3171 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3172 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3173 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3174 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3178 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3182 case $as_dir in #(((
3185 *) as_dir=$as_dir/ ;;
3187 printf "%s
\n" "PATH
: $as_dir"
3203 # Keep a trace of the command line.
3204 # Strip out --no-create and --no-recursion so they do not pile up.
3205 # Strip out --silent because we don't want to record it for future runs.
3206 # Also quote any args containing shell meta-characters.
3207 # Make two passes to allow for proper duplicate-argument suppression.
3211 ac_must_keep_next=false
3217 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3218 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3219 | -silent | --silent | --silen | --sile | --sil)
3222 ac_arg=`printf "%s
\n" "$ac_arg" | sed "s
/'/'\\\\\\\\''/g
"` ;;
3225 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3227 as_fn_append ac_configure_args1 " '$ac_arg'"
3228 if test $ac_must_keep_next = true; then
3229 ac_must_keep_next=false # Got value, back to normal.
3232 *=* | --config-cache | -C | -disable-* | --disable-* \
3233 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3234 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3235 | -with-* | --with-* | -without-* | --without-* | --x)
3236 case "$ac_configure_args0 " in
3237 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3240 -* ) ac_must_keep_next=true ;;
3243 as_fn_append ac_configure_args " '$ac_arg'"
3248 { ac_configure_args0=; unset ac_configure_args0;}
3249 { ac_configure_args1=; unset ac_configure_args1;}
3251 # When interrupted or exit'd, cleanup temporary files, and complete
3252 # config.log. We remove comments because anyway the quotes in there
3253 # would cause problems or look ugly.
3254 # WARNING: Use '\'' to represent an apostrophe within the trap.
3255 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3256 trap 'exit_status=$?
3259 # Save into config.log some information that might help in debugging.
3263 printf "%s
\n" "## ---------------- ##
3264 ## Cache variables. ##
3265 ## ---------------- ##"
3267 # The following way of writing the cache mishandles newlines in values,
3269 for ac_var
in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3270 eval ac_val
=\$
$ac_var
3274 *_cv_
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3275 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3278 _ | IFS | as_nl
) ;; #(
3279 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
3280 *) { eval $ac_var=; unset $ac_var;} ;;
3285 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3286 *${as_nl}ac_space
=\
*)
3288 "s/'\''/'\''\\\\'\'''\''/g;
3289 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3292 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3299 printf "%s\n" "## ----------------- ##
3300 ## Output variables. ##
3301 ## ----------------- ##"
3303 for ac_var
in $ac_subst_vars
3305 eval ac_val
=\$
$ac_var
3307 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3309 printf "%s\n" "$ac_var='\''$ac_val'\''"
3313 if test -n "$ac_subst_files"; then
3314 printf "%s\n" "## ------------------- ##
3315 ## File substitutions. ##
3316 ## ------------------- ##"
3318 for ac_var in $ac_subst_files
3320 eval ac_val=\$$ac_var
3322 *\'\''*) ac_val
=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3324 printf "%s\n" "$ac_var='\''$ac_val'\''"
3329 if test -s confdefs.h
; then
3330 printf "%s\n" "## ----------- ##
3337 test "$ac_signal" != 0 &&
3338 printf "%s\n" "$as_me: caught signal $ac_signal"
3339 printf "%s\n" "$as_me: exit $exit_status"
3341 rm -f core
*.core core.conftest.
* &&
3342 rm -f -r conftest
* confdefs
* conf$$
* $ac_clean_files &&
3345 for ac_signal in 1 2 13 15; do
3346 trap 'ac_signal
='$ac_signal'; as_fn_exit
1' $ac_signal
3350 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3351 rm -f -r conftest* confdefs.h
3353 printf "%s\n" "/* confdefs.h */" > confdefs.h
3355 # Predefined preprocessor variables.
3357 printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
3359 printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
3361 printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
3363 printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
3365 printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
3367 printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
3370 # Let the site file select an alternate cache file if it wants to.
3371 # Prefer an explicitly selected file to automatically selected ones.
3372 if test -n "$CONFIG_SITE"; then
3373 ac_site_files="$CONFIG_SITE"
3374 elif test "x$prefix" != xNONE; then
3375 ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
3377 ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
3380 for ac_site_file in $ac_site_files
3382 case $ac_site_file in #(
3386 ac_site_file=./$ac_site_file ;;
3388 if test -f "$ac_site_file" && test -r "$ac_site_file"; then
3389 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3390 printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
3391 sed 's
/^
/|
/' "$ac_site_file" >&5
3393 || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3394 printf "%s
\n" "$as_me: error
: in \
`$ac_pwd':" >&2;}
3395 as_fn_error $? "failed to load site script $ac_site_file
3396 See \`config.log
' for more details" "$LINENO" 5; }
3400 if test -r "$cache_file"; then
3401 # Some versions of bash will fail to source /dev/null (special files
3402 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3403 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3404 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3405 printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
3407 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3408 *) . "./$cache_file";;
3412 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3413 printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
3417 # Test code for whether the C compiler supports C89 (global declarations)
3418 ac_c_conftest_c89_globals='
3419 /* Does the compiler advertise C89 conformance?
3420 Do not
test the value of __STDC__
, because some compilers
set it to
0
3421 while being otherwise adequately conformant.
*/
3422 #if !defined __STDC__
3423 # error "Compiler does not advertise C89 conformance"
3429 /* Most of the following tests are stolen from RCS
5.7 src
/conf.sh.
*/
3430 struct buf
{ int x
; };
3431 struct buf
* (*rcsopen
) (struct buf
*, struct stat
*, int
);
3432 static char
*e
(p
, i
)
3438 static char
*f
(char
* (*g
) (char
**, int
), char
**p
, ...
)
3443 s
= g
(p
, va_arg
(v
,int
));
3448 /* OSF
4.0 Compaq cc is some
sort of almost-ANSI by default. It has
3449 function prototypes and stuff
, but not \xHH hex character constants.
3450 These
do not provoke an error unfortunately
, instead are silently treated
3451 as an
"x". The following induces an error
, until -std is added to get
3452 proper ANSI mode. Curiously
\x00 != x always comes out true
, for an
3453 array size
at least. It is necessary to
write \x00 == 0 to get something
3454 that is true only with
-std.
*/
3455 int osf4_cc_array
['\''\x00'\'' == 0 ?
1 : -1];
3457 /* IBM C
6 for AIX is almost-ANSI by default
, but it replaces macro parameters
3458 inside
strings and character constants.
*/
3459 #define FOO(x) '\''x'\''
3460 int xlc6_cc_array
[FOO
(a
) == '\''x
'\'' ?
1 : -1];
3462 int
test (int i
, double x
);
3463 struct s1
{int
(*f
) (int a
);};
3464 struct s2
{int
(*f
) (double a
);};
3465 int pairnames
(int
, char
**, int
*(*)(struct buf
*, struct stat
*, int
),
3468 # Test code for whether the C compiler supports C89 (body of main).
3469 ac_c_conftest_c89_main='
3470 ok |
= (argc
== 0 || f
(e
, argv
, 0) != argv
[0] || f
(e
, argv
, 1) != argv
[1]);
3473 # Test code for whether the C compiler supports C99 (global declarations)
3474 ac_c_conftest_c99_globals='
3475 // Does the compiler advertise C99 conformance?
3476 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
3477 # error "Compiler does not advertise C99 conformance"
3480 #include <stdbool.h>
3481 extern int puts
(const char
*);
3482 extern int
printf (const char
*, ...
);
3483 extern int dprintf
(int
, const char
*, ...
);
3484 extern void
*malloc
(size_t
);
3486 // Check varargs macros. These examples are taken from C99
6.10.3.5.
3487 // dprintf is used instead of fprintf to avoid needing to
declare
3489 #define debug(...) dprintf (2, __VA_ARGS__)
3490 #define showlist(...) puts (#__VA_ARGS__)
3491 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
3493 test_varargs_macros
(void
)
3498 debug
("X = %d\n", x
);
3499 showlist
(The first
, second
, and third items.
);
3500 report
(x
>y
, "x is %d but y is %d", x
, y
);
3503 // Check long long types.
3504 #define BIG64 18446744073709551615ull
3505 #define BIG32 4294967295ul
3506 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
3508 #error "your preprocessor is broken"
3512 #error "your preprocessor is broken"
3514 static long long int bignum
= -9223372036854775807LL;
3515 static unsigned long long int ubignum
= BIG64
;
3517 struct incomplete_array
3525 const wchar_t
*name
;
3529 typedef const char
*ccp
;
3532 test_restrict
(ccp restrict text
)
3534 // See
if C
++-style comments work.
3535 // Iterate through items via the restricted pointer.
3536 // Also check
for declarations
in for loops.
3537 for (unsigned int i
= 0; *(text
+i
) != '\''\
0'\''; ++i
)
3542 // Check varargs and va_copy.
3544 test_varargs
(const char
*format
, ...
)
3547 va_start
(args
, format
);
3549 va_copy
(args_copy
, args
);
3551 const char
*str
= "";
3559 case '\''s
'\'': // string
3560 str
= va_arg
(args_copy
, const char
*);
3562 case '\''d
'\'': // int
3563 number
= va_arg
(args_copy
, int
);
3565 case '\''f
'\'': // float
3566 fnumber
= va_arg
(args_copy
, double
);
3575 return *str
&& number
&& fnumber
;
3579 # Test code for whether the C compiler supports C99 (body of main).
3580 ac_c_conftest_c99_main='
3582 _Bool success
= false
;
3583 success |
= (argc
!= 0);
3586 if (test_restrict
("String literal") == 0)
3588 char
*restrict newvar
= "Another string";
3591 success
&= test_varargs
("s, d'\'' f .", "string", 65, 34.234);
3592 test_varargs_macros
();
3594 // Check flexible array members.
3595 struct incomplete_array
*ia
=
3596 malloc
(sizeof
(struct incomplete_array
) + (sizeof
(double
) * 10));
3598 for (int i
= 0; i
< ia-
>datasize
; ++i
)
3599 ia-
>data
[i
] = i
* 1.234;
3601 // Check named initializers.
3602 struct named_init ni
= {
3604 .name
= L
"Test wide string",
3605 .average
= 543.34343,
3610 int dynamic_array
[ni.number
];
3611 dynamic_array
[0] = argv
[0][0];
3612 dynamic_array
[ni.number
- 1] = 543;
3614 // work around unused variable warnings
3615 ok |
= (!success || bignum
== 0LL || ubignum
== 0uLL || newvar
[0] == '\''x
'\''
3616 || dynamic_array
[ni.number
- 1] != 543);
3619 # Test code for whether the C compiler supports C11 (global declarations)
3620 ac_c_conftest_c11_globals='
3621 // Does the compiler advertise C11 conformance?
3622 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
3623 # error "Compiler does not advertise C11 conformance"
3627 char _Alignas
(double
) aligned_as_double
;
3628 char _Alignas
(0) no_special_alignment
;
3629 extern char aligned_as_int
;
3630 char _Alignas
(0) _Alignas
(int
) aligned_as_int
;
3635 int_alignment
= _Alignof
(int
),
3636 int_array_alignment
= _Alignof
(int
[100]),
3637 char_alignment
= _Alignof
(char
)
3639 _Static_assert
(0 < -_Alignof (int
), "_Alignof is signed");
3642 int _Noreturn does_not_return
(void
) { for (;;) continue; }
3644 // Check _Static_assert.
3645 struct test_static_assert
3648 _Static_assert
(sizeof
(int
) <= sizeof
(long int
),
3649 "_Static_assert does not work in struct");
3653 // Check UTF-8 literals.
3654 #define u8 syntax error!
3655 char const utf8_literal
[] = u8
"happens to be ASCII" "another string";
3657 // Check duplicate typedefs.
3658 typedef long
*long_ptr
;
3659 typedef long int
*long_ptr
;
3660 typedef long_ptr long_ptr
;
3662 // Anonymous structures and unions
-- taken from C11
6.7.2.1 Example
1.
3666 struct
{ int i
; int j
; };
3667 struct
{ int k
; long int l
; } w
;
3673 # Test code for whether the C compiler supports C11 (body of main).
3674 ac_c_conftest_c11_main='
3675 _Static_assert
((offsetof
(struct anonymous
, i
)
3676 == offsetof
(struct anonymous
, w.k
)),
3677 "Anonymous union alignment botch");
3683 # Test code for whether the C compiler supports C11 (complete).
3684 ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
3685 ${ac_c_conftest_c99_globals}
3686 ${ac_c_conftest_c11_globals}
3689 main (int argc, char **argv)
3692 ${ac_c_conftest_c89_main}
3693 ${ac_c_conftest_c99_main}
3694 ${ac_c_conftest_c11_main}
3699 # Test code for whether the C compiler supports C99 (complete).
3700 ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
3701 ${ac_c_conftest_c99_globals}
3704 main (int argc, char **argv)
3707 ${ac_c_conftest_c89_main}
3708 ${ac_c_conftest_c99_main}
3713 # Test code for whether the C compiler supports C89 (complete).
3714 ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
3717 main (int argc, char **argv)
3720 ${ac_c_conftest_c89_main}
3725 # Test code for whether the C++ compiler supports C++98 (global declarations)
3726 ac_cxx_conftest_cxx98_globals='
3727 // Does the compiler advertise C
++98 conformance?
3728 #if !defined __cplusplus || __cplusplus < 199711L
3729 # error "Compiler does not advertise C++98 conformance"
3732 // These inclusions are to reject old compilers that
3733 // lack the unsuffixed header files.
3735 #include <exception>
3737 // <cassert
> and
<cstring
> are
*not
* freestanding headers
in C
++98.
3738 extern void assert
(int
);
3740 extern int strcmp
(const char
*, const char
*);
3743 // Namespaces
, exceptions
, and templates were all added after
"C++ 2.0".
3744 using std
::exception
;
3749 void test_exception_syntax
()
3753 } catch
(const char
*s
) {
3754 // Extra parentheses suppress a warning when building autoconf itself
,
3755 // due to lint rules shared with
more typical C programs.
3756 assert
(!(strcmp
) (s
, "test"));
3760 template
<typename T
> struct test_template
3763 explicit test_template
(T t
) : val
(t
) {}
3764 template
<typename U
> T add
(U u
) { return static_cast
<T
>(u
) + val
; }
3767 } // anonymous namespace
3770 # Test code for whether the C++ compiler supports C++98 (body of main)
3771 ac_cxx_conftest_cxx98_main='
3775 test_exception_syntax
();
3776 test_template
<double
> tt
(2.0);
3777 assert
(tt.add
(4) == 6.0);
3778 assert
(true
&& !false
);
3782 # Test code for whether the C++ compiler supports C++11 (global declarations)
3783 ac_cxx_conftest_cxx11_globals='
3784 // Does the compiler advertise C
++ 2011 conformance?
3785 #if !defined __cplusplus || __cplusplus < 201103L
3786 # error "Compiler does not advertise C++11 conformance"
3791 constexpr int get_val
() { return 20; }
3802 delegate
(int n
) : n
(n
) {}
3803 delegate
(): delegate
(2354) {}
3805 virtual int getval
() { return this-
>n
; };
3810 class overridden
: public delegate
3813 overridden
(int n
): delegate
(n
) {}
3814 virtual int getval
() override final
{ return this-
>n
* 2; }
3820 nocopy
(int i
): i
(i
) {}
3822 nocopy
(const nocopy
&) = delete
;
3823 nocopy
& operator
=(const nocopy
&) = delete
;
3828 // for testing lambda expressions
3829 template
<typename Ret
, typename Fn
> Ret
eval(Fn f
, Ret v
)
3834 // for testing variadic templates and trailing
return types
3835 template
<typename V
> auto
sum(V first
) -> V
3839 template
<typename V
, typename... Args
> auto
sum(V first
, Args... rest
) -> V
3841 return first
+ sum(rest...
);
3846 # Test code for whether the C++ compiler supports C++11 (body of main)
3847 ac_cxx_conftest_cxx11_main='
3849 // Test auto and decltype
3851 auto a2
= 48573953.4;
3852 auto a3
= "String literal";
3855 for (auto i
= a3
; *i
; ++i
) { total
+= *i
; }
3857 decltype
(a2
) a4
= 34895.034;
3861 short sa
[cxx11test
::get_val
()] = { 0 };
3864 // Test initializer lists
3865 cxx11test
::testinit il
= { 4323, 435234.23544 };
3868 // Test range-based
for
3869 int array
[] = {9, 7, 13, 15, 4, 18, 12, 10, 5, 3,
3870 14, 19, 17, 8, 6, 20, 16, 2, 11, 1};
3871 for (auto
&x
: array
) { x
+= 23; }
3874 // Test lambda expressions
3875 using cxx11test
::eval;
3876 assert
(eval ([](int x
) { return x
*2; }, 21) == 42);
3878 assert
(eval ([&](double x
) { return d
+= x
; }, 3.0) == 5.0);
3880 assert
(eval ([=](double x
) mutable
{ return d
+= x
; }, 4.0) == 9.0);
3884 // Test use of variadic templates
3885 using cxx11test
::sum;
3888 auto c
= sum(1.0, 2.0, 3.0);
3891 // Test constructor delegation
3892 cxx11test
::delegate d1
;
3893 cxx11test
::delegate d2
();
3894 cxx11test
::delegate d3
(45);
3897 // Test override and final
3898 cxx11test
::overridden o1
(55464);
3905 // Test template brackets
3906 test_template
<::test_template
<int
>> v
(test_template
<int
>(12));
3910 char const
*utf8
= u8
"UTF-8 string \u2500";
3911 char16_t const
*utf16
= u
"UTF-8 string \u2500";
3912 char32_t const
*utf32
= U
"UTF-32 string \u2500";
3916 # Test code for whether the C compiler supports C++11 (complete).
3917 ac_cxx_conftest_cxx11_program="${ac_cxx_conftest_cxx98_globals}
3918 ${ac_cxx_conftest_cxx11_globals}
3921 main (int argc, char **argv)
3924 ${ac_cxx_conftest_cxx98_main}
3925 ${ac_cxx_conftest_cxx11_main}
3930 # Test code for whether the C compiler supports C++98 (complete).
3931 ac_cxx_conftest_cxx98_program="${ac_cxx_conftest_cxx98_globals}
3933 main (int argc, char **argv)
3936 ${ac_cxx_conftest_cxx98_main}
3941 as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H"
3942 as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H"
3943 as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H"
3944 as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H"
3945 as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H"
3946 as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H"
3947 as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
3948 as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H"
3949 as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H"
3951 # Auxiliary files required by this configure script.
3952 ac_aux_files="config.guess config.sub"
3954 # Locations in which to look for auxiliary files.
3955 ac_aux_dir_candidates="${srcdir}/tools"
3957 # Search for a directory containing all of the required auxiliary files,
3958 # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
3959 # If we don't
find one directory that contains all the files we need
,
3960 # we report the set of missing files from the *first* directory in
3961 # $ac_aux_dir_candidates and give up.
3962 ac_missing_aux_files
=""
3963 ac_first_candidate
=:
3964 printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
3965 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3967 for as_dir
in $ac_aux_dir_candidates
3970 case $as_dir in #(((
3973 *) as_dir
=$as_dir/ ;;
3977 printf "%s\n" "$as_me:${as_lineno-$LINENO}: trying $as_dir" >&5
3978 ac_aux_dir_found
=yes
3980 for ac_aux
in $ac_aux_files
3982 # As a special case, if "install-sh" is required, that requirement
3983 # can be satisfied by any of "install-sh", "install.sh", or "shtool",
3984 # and $ac_install_sh is set appropriately for whichever one is found.
3985 if test x
"$ac_aux" = x
"install-sh"
3987 if test -f "${as_dir}install-sh"; then
3988 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install-sh found" >&5
3989 ac_install_sh
="${as_dir}install-sh -c"
3990 elif test -f "${as_dir}install.sh"; then
3991 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install.sh found" >&5
3992 ac_install_sh
="${as_dir}install.sh -c"
3993 elif test -f "${as_dir}shtool"; then
3994 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}shtool found" >&5
3995 ac_install_sh
="${as_dir}shtool install -c"
3998 if $ac_first_candidate; then
3999 ac_missing_aux_files
="${ac_missing_aux_files} install-sh"
4005 if test -f "${as_dir}${ac_aux}"; then
4006 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}${ac_aux} found" >&5
4009 if $ac_first_candidate; then
4010 ac_missing_aux_files
="${ac_missing_aux_files} ${ac_aux}"
4017 if test "$ac_aux_dir_found" = yes; then
4018 ac_aux_dir
="$as_dir"
4021 ac_first_candidate
=false
4030 as_fn_error $?
"cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5
4034 # These three variables are undocumented and unsupported,
4035 # and are intended to be withdrawn in a future Autoconf release.
4036 # They can cause serious problems if a builder's source tree is in a directory
4037 # whose full name contains unusual characters.
4038 if test -f "${ac_aux_dir}config.guess"; then
4039 ac_config_guess
="$SHELL ${ac_aux_dir}config.guess"
4041 if test -f "${ac_aux_dir}config.sub"; then
4042 ac_config_sub
="$SHELL ${ac_aux_dir}config.sub"
4044 if test -f "$ac_aux_dir/configure"; then
4045 ac_configure
="$SHELL ${ac_aux_dir}configure"
4048 # Check that the precious variables saved in the cache have kept the same
4050 ac_cache_corrupted
=false
4051 for ac_var
in $ac_precious_vars; do
4052 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
4053 eval ac_new_set
=\
$ac_env_${ac_var}_set
4054 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
4055 eval ac_new_val
=\
$ac_env_${ac_var}_value
4056 case $ac_old_set,$ac_new_set in
4058 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
4059 printf "%s\n" "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
4060 ac_cache_corrupted
=: ;;
4062 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
4063 printf "%s\n" "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
4064 ac_cache_corrupted
=: ;;
4067 if test "x$ac_old_val" != "x$ac_new_val"; then
4068 # differences in whitespace do not lead to failure.
4069 ac_old_val_w
=`echo x $ac_old_val`
4070 ac_new_val_w
=`echo x $ac_new_val`
4071 if test "$ac_old_val_w" != "$ac_new_val_w"; then
4072 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
4073 printf "%s\n" "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
4074 ac_cache_corrupted
=:
4076 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
4077 printf "%s\n" "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
4078 eval $ac_var=\
$ac_old_val
4080 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
4081 printf "%s\n" "$as_me: former value: \`$ac_old_val'" >&2;}
4082 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
4083 printf "%s\n" "$as_me: current value: \`$ac_new_val'" >&2;}
4086 # Pass precious variables to config.status.
4087 if test "$ac_new_set" = set; then
4089 *\'*) ac_arg
=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
4090 *) ac_arg
=$ac_var=$ac_new_val ;;
4092 case " $ac_configure_args " in
4093 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
4094 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
4098 if $ac_cache_corrupted; then
4099 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4100 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
4101 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
4102 printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
4103 as_fn_error $?
"run \`${MAKE-make} distclean' and/or \`rm $cache_file'
4104 and start over" "$LINENO" 5
4106 ## -------------------- ##
4107 ## Main body of script. ##
4108 ## -------------------- ##
4111 ac_cpp
='$CPP $CPPFLAGS'
4112 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4113 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4114 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4118 ac_config_headers
="$ac_config_headers include/config.h"
4122 libwine_version
="1.0"
4125 # Check whether --enable-archs was given.
4126 if test ${enable_archs+y}
4128 enableval
=$enable_archs;
4131 # Check whether --enable-win16 was given.
4132 if test ${enable_win16+y}
4134 enableval
=$enable_win16;
4137 # Check whether --enable-win64 was given.
4138 if test ${enable_win64+y}
4140 enableval
=$enable_win64;
4143 # Check whether --enable-tests was given.
4144 if test ${enable_tests+y}
4146 enableval
=$enable_tests;
4149 # Check whether --enable-build-id was given.
4150 if test ${enable_build_id+y}
4152 enableval
=$enable_build_id;
4155 # Check whether --enable-maintainer-mode was given.
4156 if test ${enable_maintainer_mode+y}
4158 enableval
=$enable_maintainer_mode;
4161 # Check whether --enable-silent-rules was given.
4162 if test ${enable_silent_rules+y}
4164 enableval
=$enable_silent_rules;
4167 # Check whether --enable-werror was given.
4168 if test ${enable_werror+y}
4170 enableval
=$enable_werror;
4175 # Check whether --with-alsa was given.
4176 if test ${with_alsa+y}
4182 # Check whether --with-capi was given.
4183 if test ${with_capi+y}
4189 # Check whether --with-coreaudio was given.
4190 if test ${with_coreaudio+y}
4192 withval
=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h
=no
; fi
4196 # Check whether --with-cups was given.
4197 if test ${with_cups+y}
4203 # Check whether --with-dbus was given.
4204 if test ${with_dbus+y}
4210 # Check whether --with-float-abi was given.
4211 if test ${with_float_abi+y}
4213 withval
=$with_float_abi;
4217 # Check whether --with-fontconfig was given.
4218 if test ${with_fontconfig+y}
4220 withval
=$with_fontconfig;
4224 # Check whether --with-freetype was given.
4225 if test ${with_freetype+y}
4227 withval
=$with_freetype;
4231 # Check whether --with-gettext was given.
4232 if test ${with_gettext+y}
4234 withval
=$with_gettext;
4238 # Check whether --with-gettextpo was given.
4239 if test ${with_gettextpo+y}
4241 withval
=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h
=no
; fi
4245 # Check whether --with-gphoto was given.
4246 if test ${with_gphoto+y}
4248 withval
=$with_gphoto;
4252 # Check whether --with-gnutls was given.
4253 if test ${with_gnutls+y}
4255 withval
=$with_gnutls;
4259 # Check whether --with-gssapi was given.
4260 if test ${with_gssapi+y}
4262 withval
=$with_gssapi;
4266 # Check whether --with-gstreamer was given.
4267 if test ${with_gstreamer+y}
4269 withval
=$with_gstreamer;
4273 # Check whether --with-inotify was given.
4274 if test ${with_inotify+y}
4276 withval
=$with_inotify;
4280 # Check whether --with-krb5 was given.
4281 if test ${with_krb5+y}
4287 # Check whether --with-ldap was given.
4288 if test ${with_ldap+y}
4290 withval
=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h
=no
; ac_cv_header_lber_h
=no
; fi
4294 # Check whether --with-mingw was given.
4295 if test ${with_mingw+y}
4297 withval
=$with_mingw;
4301 # Check whether --with-netapi was given.
4302 if test ${with_netapi+y}
4304 withval
=$with_netapi;
4308 # Check whether --with-openal was given.
4309 if test ${with_openal+y}
4311 withval
=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h
=no
; ac_cv_header_OpenAL_al_h
=no
; fi
4315 # Check whether --with-opencl was given.
4316 if test ${with_opencl+y}
4318 withval
=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h
=no
; ac_cv_header_OpenCL_opencl_h
=no
; fi
4322 # Check whether --with-opengl was given.
4323 if test ${with_opengl+y}
4325 withval
=$with_opengl;
4329 # Check whether --with-osmesa was given.
4330 if test ${with_osmesa+y}
4332 withval
=$with_osmesa;
4336 # Check whether --with-oss was given.
4337 if test ${with_oss+y}
4343 # Check whether --with-pcap was given.
4344 if test ${with_pcap+y}
4346 withval
=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h
=no
; fi
4350 # Check whether --with-pthread was given.
4351 if test ${with_pthread+y}
4353 withval
=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h
=no
; fi
4357 # Check whether --with-pulse was given.
4358 if test ${with_pulse+y}
4360 withval
=$with_pulse;
4364 # Check whether --with-sane was given.
4365 if test ${with_sane+y}
4371 # Check whether --with-sdl was given.
4372 if test ${with_sdl+y}
4378 # Check whether --with-udev was given.
4379 if test ${with_udev+y}
4385 # Check whether --with-unwind was given.
4386 if test ${with_unwind+y}
4388 withval
=$with_unwind;
4392 # Check whether --with-usb was given.
4393 if test ${with_usb+y}
4399 # Check whether --with-v4l2 was given.
4400 if test ${with_v4l2+y}
4406 # Check whether --with-vulkan was given.
4407 if test ${with_vulkan+y}
4409 withval
=$with_vulkan;
4413 # Check whether --with-xcomposite was given.
4414 if test ${with_xcomposite+y}
4416 withval
=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h
=no
; fi
4420 # Check whether --with-xcursor was given.
4421 if test ${with_xcursor+y}
4423 withval
=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h
=no
; fi
4427 # Check whether --with-xfixes was given.
4428 if test ${with_xfixes+y}
4430 withval
=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h
=no
; fi
4434 # Check whether --with-xinerama was given.
4435 if test ${with_xinerama+y}
4437 withval
=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h
=no
; fi
4441 # Check whether --with-xinput was given.
4442 if test ${with_xinput+y}
4444 withval
=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h
=no
; fi
4448 # Check whether --with-xinput2 was given.
4449 if test ${with_xinput2+y}
4451 withval
=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h
=no
; fi
4455 # Check whether --with-xrandr was given.
4456 if test ${with_xrandr+y}
4458 withval
=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h
=no
; fi
4462 # Check whether --with-xrender was given.
4463 if test ${with_xrender+y}
4465 withval
=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h
=no
; fi
4469 # Check whether --with-xshape was given.
4470 if test ${with_xshape+y}
4472 withval
=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h
=no
; fi
4476 # Check whether --with-xshm was given.
4477 if test ${with_xshm+y}
4479 withval
=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h
=no
; fi
4483 # Check whether --with-xxf86vm was given.
4484 if test ${with_xxf86vm+y}
4486 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
4491 # Check whether --with-system-dllpath was given.
4492 if test ${with_system_dllpath+y}
4494 withval
=$with_system_dllpath; system_dllpath
=$withval
4499 # Check whether --with-wine-tools was given.
4500 if test ${with_wine_tools+y}
4502 withval
=$with_wine_tools;
4506 # Check whether --with-wine64 was given.
4507 if test ${with_wine64+y}
4509 withval
=$with_wine64;
4516 # Make sure we can run config.sub.
4517 $SHELL "${ac_aux_dir}config.sub" sun4
>/dev
/null
2>&1 ||
4518 as_fn_error $?
"cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
4520 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4521 printf %s
"checking build system type... " >&6; }
4522 if test ${ac_cv_build+y}
4524 printf %s
"(cached) " >&6
4526 ac_build_alias
=$build_alias
4527 test "x$ac_build_alias" = x
&&
4528 ac_build_alias
=`$SHELL "${ac_aux_dir}config.guess"`
4529 test "x$ac_build_alias" = x
&&
4530 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
4531 ac_cv_build
=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
4532 as_fn_error $?
"$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
4535 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4536 printf "%s\n" "$ac_cv_build" >&6; }
4537 case $ac_cv_build in
4539 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
4542 ac_save_IFS
=$IFS; IFS
='-'
4548 # Remember, the first character of IFS is used to create $*,
4549 # except with old shells:
4552 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
4555 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4556 printf %s
"checking host system type... " >&6; }
4557 if test ${ac_cv_host+y}
4559 printf %s
"(cached) " >&6
4561 if test "x$host_alias" = x
; then
4562 ac_cv_host
=$ac_cv_build
4564 ac_cv_host
=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
4565 as_fn_error $?
"$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
4569 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4570 printf "%s\n" "$ac_cv_host" >&6; }
4573 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
4576 ac_save_IFS
=$IFS; IFS
='-'
4582 # Remember, the first character of IFS is used to create $*,
4583 # except with old shells:
4586 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
4590 dlldir
=\
${libdir}/wine
4592 fontdir
=\
${datadir}/wine
/fonts
4594 nlsdir
=\
${datadir}/wine
/nls
4599 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4600 printf %s
"checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4602 ac_make
=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4603 if eval test \
${ac_cv_prog_make_${ac_make}_set+y}
4605 printf %s
"(cached) " >&6
4607 cat >conftest.
make <<\_ACEOF
4610 @
echo '@@@%%%=$(MAKE)=@@@%%%'
4612 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4613 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4615 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
4617 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
4621 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
4622 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4623 printf "%s\n" "yes" >&6; }
4626 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4627 printf "%s\n" "no" >&6; }
4628 SET_MAKE
="MAKE=${MAKE-make}"
4641 ac_cpp
='$CPP $CPPFLAGS'
4642 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4643 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4644 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4645 if test -n "$ac_tool_prefix"; then
4646 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4647 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
4648 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4649 printf %s
"checking for $ac_word... " >&6; }
4650 if test ${ac_cv_prog_CC+y}
4652 printf %s
"(cached) " >&6
4654 if test -n "$CC"; then
4655 ac_cv_prog_CC
="$CC" # Let the user override the test.
4657 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4661 case $as_dir in #(((
4664 *) as_dir
=$as_dir/ ;;
4666 for ac_exec_ext
in '' $ac_executable_extensions; do
4667 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
4668 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
4669 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4679 if test -n "$CC"; then
4680 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4681 printf "%s\n" "$CC" >&6; }
4683 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4684 printf "%s\n" "no" >&6; }
4689 if test -z "$ac_cv_prog_CC"; then
4691 # Extract the first word of "gcc", so it can be a program name with args.
4692 set dummy gcc
; ac_word
=$2
4693 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4694 printf %s
"checking for $ac_word... " >&6; }
4695 if test ${ac_cv_prog_ac_ct_CC+y}
4697 printf %s
"(cached) " >&6
4699 if test -n "$ac_ct_CC"; then
4700 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4702 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4706 case $as_dir in #(((
4709 *) as_dir
=$as_dir/ ;;
4711 for ac_exec_ext
in '' $ac_executable_extensions; do
4712 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
4713 ac_cv_prog_ac_ct_CC
="gcc"
4714 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4723 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4724 if test -n "$ac_ct_CC"; then
4725 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4726 printf "%s\n" "$ac_ct_CC" >&6; }
4728 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4729 printf "%s\n" "no" >&6; }
4732 if test "x$ac_ct_CC" = x
; then
4735 case $cross_compiling:$ac_tool_warned in
4737 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4738 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4739 ac_tool_warned
=yes ;;
4747 if test -z "$CC"; then
4748 if test -n "$ac_tool_prefix"; then
4749 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4750 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
4751 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4752 printf %s
"checking for $ac_word... " >&6; }
4753 if test ${ac_cv_prog_CC+y}
4755 printf %s
"(cached) " >&6
4757 if test -n "$CC"; then
4758 ac_cv_prog_CC
="$CC" # Let the user override the test.
4760 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4764 case $as_dir in #(((
4767 *) as_dir
=$as_dir/ ;;
4769 for ac_exec_ext
in '' $ac_executable_extensions; do
4770 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
4771 ac_cv_prog_CC
="${ac_tool_prefix}cc"
4772 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4782 if test -n "$CC"; then
4783 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4784 printf "%s\n" "$CC" >&6; }
4786 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4787 printf "%s\n" "no" >&6; }
4793 if test -z "$CC"; then
4794 # Extract the first word of "cc", so it can be a program name with args.
4795 set dummy cc
; ac_word
=$2
4796 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4797 printf %s
"checking for $ac_word... " >&6; }
4798 if test ${ac_cv_prog_CC+y}
4800 printf %s
"(cached) " >&6
4802 if test -n "$CC"; then
4803 ac_cv_prog_CC
="$CC" # Let the user override the test.
4806 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4810 case $as_dir in #(((
4813 *) as_dir
=$as_dir/ ;;
4815 for ac_exec_ext
in '' $ac_executable_extensions; do
4816 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
4817 if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4818 ac_prog_rejected
=yes
4822 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4829 if test $ac_prog_rejected = yes; then
4830 # We found a bogon in the path, so make sure we never use it.
4831 set dummy
$ac_cv_prog_CC
4833 if test $# != 0; then
4834 # We chose a different compiler from the bogus one.
4835 # However, it has the same basename, so the bogon will be chosen
4836 # first if we set CC to just the basename; use the full file name.
4838 ac_cv_prog_CC
="$as_dir$ac_word${1+' '}$@"
4844 if test -n "$CC"; then
4845 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4846 printf "%s\n" "$CC" >&6; }
4848 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4849 printf "%s\n" "no" >&6; }
4854 if test -z "$CC"; then
4855 if test -n "$ac_tool_prefix"; then
4856 for ac_prog
in cl.exe
4858 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4859 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4860 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4861 printf %s
"checking for $ac_word... " >&6; }
4862 if test ${ac_cv_prog_CC+y}
4864 printf %s
"(cached) " >&6
4866 if test -n "$CC"; then
4867 ac_cv_prog_CC
="$CC" # Let the user override the test.
4869 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4873 case $as_dir in #(((
4876 *) as_dir
=$as_dir/ ;;
4878 for ac_exec_ext
in '' $ac_executable_extensions; do
4879 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
4880 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
4881 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4891 if test -n "$CC"; then
4892 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4893 printf "%s\n" "$CC" >&6; }
4895 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4896 printf "%s\n" "no" >&6; }
4900 test -n "$CC" && break
4903 if test -z "$CC"; then
4905 for ac_prog
in cl.exe
4907 # Extract the first word of "$ac_prog", so it can be a program name with args.
4908 set dummy
$ac_prog; ac_word
=$2
4909 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4910 printf %s
"checking for $ac_word... " >&6; }
4911 if test ${ac_cv_prog_ac_ct_CC+y}
4913 printf %s
"(cached) " >&6
4915 if test -n "$ac_ct_CC"; then
4916 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4918 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4922 case $as_dir in #(((
4925 *) as_dir
=$as_dir/ ;;
4927 for ac_exec_ext
in '' $ac_executable_extensions; do
4928 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
4929 ac_cv_prog_ac_ct_CC
="$ac_prog"
4930 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4939 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4940 if test -n "$ac_ct_CC"; then
4941 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4942 printf "%s\n" "$ac_ct_CC" >&6; }
4944 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4945 printf "%s\n" "no" >&6; }
4949 test -n "$ac_ct_CC" && break
4952 if test "x$ac_ct_CC" = x
; then
4955 case $cross_compiling:$ac_tool_warned in
4957 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4958 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4959 ac_tool_warned
=yes ;;
4966 if test -z "$CC"; then
4967 if test -n "$ac_tool_prefix"; then
4968 # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
4969 set dummy
${ac_tool_prefix}clang
; ac_word
=$2
4970 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4971 printf %s
"checking for $ac_word... " >&6; }
4972 if test ${ac_cv_prog_CC+y}
4974 printf %s
"(cached) " >&6
4976 if test -n "$CC"; then
4977 ac_cv_prog_CC
="$CC" # Let the user override the test.
4979 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4983 case $as_dir in #(((
4986 *) as_dir
=$as_dir/ ;;
4988 for ac_exec_ext
in '' $ac_executable_extensions; do
4989 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
4990 ac_cv_prog_CC
="${ac_tool_prefix}clang"
4991 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5001 if test -n "$CC"; then
5002 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5003 printf "%s\n" "$CC" >&6; }
5005 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5006 printf "%s\n" "no" >&6; }
5011 if test -z "$ac_cv_prog_CC"; then
5013 # Extract the first word of "clang", so it can be a program name with args.
5014 set dummy clang
; ac_word
=$2
5015 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5016 printf %s
"checking for $ac_word... " >&6; }
5017 if test ${ac_cv_prog_ac_ct_CC+y}
5019 printf %s
"(cached) " >&6
5021 if test -n "$ac_ct_CC"; then
5022 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
5024 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5028 case $as_dir in #(((
5031 *) as_dir
=$as_dir/ ;;
5033 for ac_exec_ext
in '' $ac_executable_extensions; do
5034 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
5035 ac_cv_prog_ac_ct_CC
="clang"
5036 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5045 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
5046 if test -n "$ac_ct_CC"; then
5047 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5048 printf "%s\n" "$ac_ct_CC" >&6; }
5050 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5051 printf "%s\n" "no" >&6; }
5054 if test "x$ac_ct_CC" = x
; then
5057 case $cross_compiling:$ac_tool_warned in
5059 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5060 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5061 ac_tool_warned
=yes ;;
5072 test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5073 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5074 as_fn_error $?
"no acceptable C compiler found in \$PATH
5075 See \`config.log' for more details" "$LINENO" 5; }
5077 # Provide some information about the compiler.
5078 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
5081 for ac_option
in --version -v -V -qversion -version; do
5082 { { ac_try
="$ac_compiler $ac_option >&5"
5084 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5085 *) ac_try_echo=$ac_try;;
5087 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5088 printf "%s\n" "$ac_try_echo"; } >&5
5089 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5091 if test -s conftest.err; then
5093 ... rest of stderr output deleted ...
5094 10q' conftest.err >conftest.er1
5095 cat conftest.er1 >&5
5097 rm -f conftest.er1 conftest.err
5098 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5099 test $ac_status = 0; }
5102 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5103 /* end confdefs.h. */
5113 ac_clean_files_save=$ac_clean_files
5114 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
5115 # Try to create an executable without -o first, disregard a.out.
5116 # It will help us diagnose broken compilers, and finding out an intuition
5118 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
5119 printf %s "checking whether the C compiler works... " >&6; }
5120 ac_link_default=`printf "%s\n" "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
5122 # The possible output files:
5123 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
5126 for ac_file in $ac_files
5129 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
5130 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
5135 if { { ac_try="$ac_link_default"
5137 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5138 *) ac_try_echo
=$ac_try;;
5140 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5141 printf "%s\n" "$ac_try_echo"; } >&5
5142 (eval "$ac_link_default") 2>&5
5144 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5145 test $ac_status = 0; }
5147 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
5148 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
5149 # in a Makefile. We should not override ac_cv_exeext if it was cached,
5150 # so that the user can short-circuit this test for compilers unknown to
5152 for ac_file
in $ac_files ''
5154 test -f "$ac_file" ||
continue
5156 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
5159 # We found the default executable, but exeext='' is most
5163 if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no
;
5165 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
5167 # We set ac_cv_exeext here because the later test for it is not
5168 # safe: cross compilers may not add the suffix if given an `-o'
5169 # argument, so we may need to know it at that point already.
5170 # Even if this section looks crufty: it has the advantage of
5177 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
5182 if test -z "$ac_file"
5184 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5185 printf "%s\n" "no" >&6; }
5186 printf "%s\n" "$as_me: failed program was:" >&5
5187 sed 's/^/| /' conftest.
$ac_ext >&5
5189 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5190 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5191 as_fn_error
77 "C compiler cannot create executables
5192 See \`config.log' for more details" "$LINENO" 5; }
5194 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5195 printf "%s\n" "yes" >&6; }
5197 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
5198 printf %s
"checking for C compiler default output file name... " >&6; }
5199 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
5200 printf "%s\n" "$ac_file" >&6; }
5201 ac_exeext
=$ac_cv_exeext
5203 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
5204 ac_clean_files
=$ac_clean_files_save
5205 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
5206 printf %s
"checking for suffix of executables... " >&6; }
5207 if { { ac_try
="$ac_link"
5209 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5210 *) ac_try_echo=$ac_try;;
5212 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5213 printf "%s\n" "$ac_try_echo"; } >&5
5214 (eval "$ac_link") 2>&5
5216 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5217 test $ac_status = 0; }
5219 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
5220 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
5221 # work properly (i.e., refer to `conftest.exe'), while it won't with
5223 for ac_file
in conftest.exe conftest conftest.
*; do
5224 test -f "$ac_file" ||
continue
5226 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
5227 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
5233 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5234 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5235 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
5236 See \`config.log' for more details" "$LINENO" 5; }
5238 rm -f conftest conftest
$ac_cv_exeext
5239 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
5240 printf "%s\n" "$ac_cv_exeext" >&6; }
5242 rm -f conftest.
$ac_ext
5243 EXEEXT
=$ac_cv_exeext
5245 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5246 /* end confdefs.h. */
5251 FILE *f = fopen ("conftest.out", "w");
5252 return ferror (f) || fclose (f) != 0;
5258 ac_clean_files
="$ac_clean_files conftest.out"
5259 # Check that the compiler produces executables we can run. If not, either
5260 # the compiler is broken, or we cross compile.
5261 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
5262 printf %s
"checking whether we are cross compiling... " >&6; }
5263 if test "$cross_compiling" != yes; then
5264 { { ac_try
="$ac_link"
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_link") 2>&5
5273 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5274 test $ac_status = 0; }
5275 if { ac_try='./conftest$ac_cv_exeext'
5276 { { case "(($ac_try" in
5277 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5278 *) ac_try_echo
=$ac_try;;
5280 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5281 printf "%s\n" "$ac_try_echo"; } >&5
5282 (eval "$ac_try") 2>&5
5284 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5285 test $ac_status = 0; }; }; then
5288 if test "$cross_compiling" = maybe
; then
5291 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5292 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5293 as_fn_error
77 "cannot run C compiled programs.
5294 If you meant to cross compile, use \`--host'.
5295 See \`config.log' for more details" "$LINENO" 5; }
5299 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
5300 printf "%s\n" "$cross_compiling" >&6; }
5302 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
5303 ac_clean_files
=$ac_clean_files_save
5304 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
5305 printf %s
"checking for suffix of object files... " >&6; }
5306 if test ${ac_cv_objext+y}
5308 printf %s
"(cached) " >&6
5310 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5311 /* end confdefs.h. */
5321 rm -f conftest.o conftest.obj
5322 if { { ac_try
="$ac_compile"
5324 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5325 *) ac_try_echo=$ac_try;;
5327 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5328 printf "%s\n" "$ac_try_echo"; } >&5
5329 (eval "$ac_compile") 2>&5
5331 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5332 test $ac_status = 0; }
5334 for ac_file in conftest.o conftest.obj conftest.*; do
5335 test -f "$ac_file" || continue;
5337 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
5338 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
5343 printf "%s\n" "$as_me: failed program was:" >&5
5344 sed 's/^/| /' conftest.$ac_ext >&5
5346 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5347 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5348 as_fn_error $? "cannot compute suffix of object files
: cannot compile
5349 See \
`config.log' for more details" "$LINENO" 5; }
5351 rm -f conftest.$ac_cv_objext conftest.$ac_ext
5353 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
5354 printf "%s\n" "$ac_cv_objext" >&6; }
5355 OBJEXT=$ac_cv_objext
5357 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
5358 printf %s "checking whether the compiler supports GNU C... " >&6; }
5359 if test ${ac_cv_c_compiler_gnu+y}
5361 printf %s "(cached) " >&6
5363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5364 /* end confdefs.h. */
5377 if ac_fn_c_try_compile "$LINENO"
5383 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5384 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5387 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5388 printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
5389 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5391 if test $ac_compiler_gnu = yes; then
5396 ac_test_CFLAGS=${CFLAGS+y}
5397 ac_save_CFLAGS=$CFLAGS
5398 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5399 printf %s "checking whether $CC accepts -g... " >&6; }
5400 if test ${ac_cv_prog_cc_g+y}
5402 printf %s "(cached) " >&6
5404 ac_save_c_werror_flag=$ac_c_werror_flag
5405 ac_c_werror_flag=yes
5408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5409 /* end confdefs.h. */
5419 if ac_fn_c_try_compile "$LINENO"
5424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5425 /* end confdefs.h. */
5435 if ac_fn_c_try_compile "$LINENO"
5439 ac_c_werror_flag=$ac_save_c_werror_flag
5441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5442 /* end confdefs.h. */
5452 if ac_fn_c_try_compile "$LINENO"
5456 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5458 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5460 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5461 ac_c_werror_flag=$ac_save_c_werror_flag
5463 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5464 printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
5465 if test $ac_test_CFLAGS; then
5466 CFLAGS=$ac_save_CFLAGS
5467 elif test $ac_cv_prog_cc_g = yes; then
5468 if test "$GCC" = yes; then
5474 if test "$GCC" = yes; then
5481 if test x$ac_prog_cc_stdc = xno
5483 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
5484 printf %s "checking for $CC option to enable C11 features... " >&6; }
5485 if test ${ac_cv_prog_cc_c11+y}
5487 printf %s "(cached) " >&6
5489 ac_cv_prog_cc_c11=no
5491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5492 /* end confdefs.h. */
5493 $ac_c_conftest_c11_program
5495 for ac_arg in '' -std=gnu11
5497 CC="$ac_save_CC $ac_arg"
5498 if ac_fn_c_try_compile "$LINENO"
5500 ac_cv_prog_cc_c11=$ac_arg
5502 rm -f core conftest.err conftest.$ac_objext conftest.beam
5503 test "x$ac_cv_prog_cc_c11" != "xno" && break
5505 rm -f conftest.$ac_ext
5509 if test "x$ac_cv_prog_cc_c11" = xno
5511 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5512 printf "%s\n" "unsupported" >&6; }
5514 if test "x$ac_cv_prog_cc_c11" = x
5516 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5517 printf "%s\n" "none needed" >&6; }
5519 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
5520 printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
5521 CC="$CC $ac_cv_prog_cc_c11"
5523 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
5527 if test x$ac_prog_cc_stdc = xno
5529 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
5530 printf %s "checking for $CC option to enable C99 features... " >&6; }
5531 if test ${ac_cv_prog_cc_c99+y}
5533 printf %s "(cached) " >&6
5535 ac_cv_prog_cc_c99=no
5537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5538 /* end confdefs.h. */
5539 $ac_c_conftest_c99_program
5541 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
5543 CC="$ac_save_CC $ac_arg"
5544 if ac_fn_c_try_compile "$LINENO"
5546 ac_cv_prog_cc_c99=$ac_arg
5548 rm -f core conftest.err conftest.$ac_objext conftest.beam
5549 test "x$ac_cv_prog_cc_c99" != "xno" && break
5551 rm -f conftest.$ac_ext
5555 if test "x$ac_cv_prog_cc_c99" = xno
5557 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5558 printf "%s\n" "unsupported" >&6; }
5560 if test "x$ac_cv_prog_cc_c99" = x
5562 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5563 printf "%s\n" "none needed" >&6; }
5565 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
5566 printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
5567 CC="$CC $ac_cv_prog_cc_c99"
5569 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
5573 if test x$ac_prog_cc_stdc = xno
5575 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
5576 printf %s "checking for $CC option to enable C89 features... " >&6; }
5577 if test ${ac_cv_prog_cc_c89+y}
5579 printf %s "(cached) " >&6
5581 ac_cv_prog_cc_c89=no
5583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5584 /* end confdefs.h. */
5585 $ac_c_conftest_c89_program
5587 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5589 CC="$ac_save_CC $ac_arg"
5590 if ac_fn_c_try_compile "$LINENO"
5592 ac_cv_prog_cc_c89=$ac_arg
5594 rm -f core conftest.err conftest.$ac_objext conftest.beam
5595 test "x$ac_cv_prog_cc_c89" != "xno" && break
5597 rm -f conftest.$ac_ext
5601 if test "x$ac_cv_prog_cc_c89" = xno
5603 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5604 printf "%s\n" "unsupported" >&6; }
5606 if test "x$ac_cv_prog_cc_c89" = x
5608 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5609 printf "%s\n" "none needed" >&6; }
5611 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5612 printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
5613 CC="$CC $ac_cv_prog_cc_c89"
5615 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
5621 ac_cpp='$CPP $CPPFLAGS'
5622 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5623 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5624 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5633 ac_cpp='$CXXCPP $CPPFLAGS'
5634 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5635 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5636 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5637 if test -z "$CXX"; then
5638 if test -n "$CCC"; then
5641 if test -n "$ac_tool_prefix"; then
5642 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC clang++
5644 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5645 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5646 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5647 printf %s "checking for $ac_word... " >&6; }
5648 if test ${ac_cv_prog_CXX+y}
5650 printf %s "(cached) " >&6
5652 if test -n "$CXX"; then
5653 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5655 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5659 case $as_dir in #(((
5662 *) as_dir=$as_dir/ ;;
5664 for ac_exec_ext in '' $ac_executable_extensions; do
5665 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5666 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5667 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5677 if test -n "$CXX"; then
5678 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5679 printf "%s\n" "$CXX" >&6; }
5681 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5682 printf "%s\n" "no" >&6; }
5686 test -n "$CXX" && break
5689 if test -z "$CXX"; then
5691 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC clang++
5693 # Extract the first word of "$ac_prog", so it can be a program name with args.
5694 set dummy $ac_prog; ac_word=$2
5695 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5696 printf %s "checking for $ac_word... " >&6; }
5697 if test ${ac_cv_prog_ac_ct_CXX+y}
5699 printf %s "(cached) " >&6
5701 if test -n "$ac_ct_CXX"; then
5702 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5704 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5708 case $as_dir in #(((
5711 *) as_dir=$as_dir/ ;;
5713 for ac_exec_ext in '' $ac_executable_extensions; do
5714 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5715 ac_cv_prog_ac_ct_CXX="$ac_prog"
5716 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5725 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5726 if test -n "$ac_ct_CXX"; then
5727 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5728 printf "%s\n" "$ac_ct_CXX" >&6; }
5730 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5731 printf "%s\n" "no" >&6; }
5735 test -n "$ac_ct_CXX" && break
5738 if test "x$ac_ct_CXX" = x; then
5741 case $cross_compiling:$ac_tool_warned in
5743 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5744 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5745 ac_tool_warned=yes ;;
5753 # Provide some information about the compiler.
5754 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5757 for ac_option in --version -v -V -qversion; do
5758 { { ac_try="$ac_compiler $ac_option >&5"
5760 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5761 *) ac_try_echo
=$ac_try;;
5763 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5764 printf "%s\n" "$ac_try_echo"; } >&5
5765 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5767 if test -s conftest.err
; then
5769 ... rest of stderr output deleted ...
5770 10q' conftest.err
>conftest.er1
5771 cat conftest.er1
>&5
5773 rm -f conftest.er1 conftest.err
5774 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5775 test $ac_status = 0; }
5778 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C++" >&5
5779 printf %s
"checking whether the compiler supports GNU C++... " >&6; }
5780 if test ${ac_cv_cxx_compiler_gnu+y}
5782 printf %s
"(cached) " >&6
5784 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5785 /* end confdefs.h. */
5798 if ac_fn_cxx_try_compile
"$LINENO"
5804 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5805 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
5808 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5809 printf "%s\n" "$ac_cv_cxx_compiler_gnu" >&6; }
5810 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5812 if test $ac_compiler_gnu = yes; then
5817 ac_test_CXXFLAGS
=${CXXFLAGS+y}
5818 ac_save_CXXFLAGS
=$CXXFLAGS
5819 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5820 printf %s
"checking whether $CXX accepts -g... " >&6; }
5821 if test ${ac_cv_prog_cxx_g+y}
5823 printf %s
"(cached) " >&6
5825 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
5826 ac_cxx_werror_flag
=yes
5829 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5830 /* end confdefs.h. */
5840 if ac_fn_cxx_try_compile
"$LINENO"
5842 ac_cv_prog_cxx_g
=yes
5845 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5846 /* end confdefs.h. */
5856 if ac_fn_cxx_try_compile
"$LINENO"
5860 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
5862 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5863 /* end confdefs.h. */
5873 if ac_fn_cxx_try_compile
"$LINENO"
5875 ac_cv_prog_cxx_g
=yes
5877 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5879 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5881 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5882 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
5884 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5885 printf "%s\n" "$ac_cv_prog_cxx_g" >&6; }
5886 if test $ac_test_CXXFLAGS; then
5887 CXXFLAGS
=$ac_save_CXXFLAGS
5888 elif test $ac_cv_prog_cxx_g = yes; then
5889 if test "$GXX" = yes; then
5895 if test "$GXX" = yes; then
5901 ac_prog_cxx_stdcxx
=no
5902 if test x
$ac_prog_cxx_stdcxx = xno
5904 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++11 features" >&5
5905 printf %s
"checking for $CXX option to enable C++11 features... " >&6; }
5906 if test ${ac_cv_prog_cxx_11+y}
5908 printf %s
"(cached) " >&6
5910 ac_cv_prog_cxx_11
=no
5912 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5913 /* end confdefs.h. */
5914 $ac_cxx_conftest_cxx11_program
5916 for ac_arg
in '' -std=gnu
++11 -std=gnu
++0x
-std=c
++11 -std=c
++0x
-qlanglvl=extended0x
-AA
5918 CXX
="$ac_save_CXX $ac_arg"
5919 if ac_fn_cxx_try_compile
"$LINENO"
5921 ac_cv_prog_cxx_cxx11
=$ac_arg
5923 rm -f core conftest.err conftest.
$ac_objext conftest.beam
5924 test "x$ac_cv_prog_cxx_cxx11" != "xno" && break
5926 rm -f conftest.
$ac_ext
5930 if test "x$ac_cv_prog_cxx_cxx11" = xno
5932 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5933 printf "%s\n" "unsupported" >&6; }
5935 if test "x$ac_cv_prog_cxx_cxx11" = x
5937 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5938 printf "%s\n" "none needed" >&6; }
5940 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx11" >&5
5941 printf "%s\n" "$ac_cv_prog_cxx_cxx11" >&6; }
5942 CXX
="$CXX $ac_cv_prog_cxx_cxx11"
5944 ac_cv_prog_cxx_stdcxx
=$ac_cv_prog_cxx_cxx11
5945 ac_prog_cxx_stdcxx
=cxx11
5948 if test x
$ac_prog_cxx_stdcxx = xno
5950 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++98 features" >&5
5951 printf %s
"checking for $CXX option to enable C++98 features... " >&6; }
5952 if test ${ac_cv_prog_cxx_98+y}
5954 printf %s
"(cached) " >&6
5956 ac_cv_prog_cxx_98
=no
5958 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5959 /* end confdefs.h. */
5960 $ac_cxx_conftest_cxx98_program
5962 for ac_arg
in '' -std=gnu
++98 -std=c
++98 -qlanglvl=extended
-AA
5964 CXX
="$ac_save_CXX $ac_arg"
5965 if ac_fn_cxx_try_compile
"$LINENO"
5967 ac_cv_prog_cxx_cxx98
=$ac_arg
5969 rm -f core conftest.err conftest.
$ac_objext conftest.beam
5970 test "x$ac_cv_prog_cxx_cxx98" != "xno" && break
5972 rm -f conftest.
$ac_ext
5976 if test "x$ac_cv_prog_cxx_cxx98" = xno
5978 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5979 printf "%s\n" "unsupported" >&6; }
5981 if test "x$ac_cv_prog_cxx_cxx98" = x
5983 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5984 printf "%s\n" "none needed" >&6; }
5986 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx98" >&5
5987 printf "%s\n" "$ac_cv_prog_cxx_cxx98" >&6; }
5988 CXX
="$CXX $ac_cv_prog_cxx_cxx98"
5990 ac_cv_prog_cxx_stdcxx
=$ac_cv_prog_cxx_cxx98
5991 ac_prog_cxx_stdcxx
=cxx98
5996 ac_cpp
='$CPP $CPPFLAGS'
5997 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5998 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5999 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6001 if test -n "$ac_tool_prefix"; then
6002 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
6003 set dummy
${ac_tool_prefix}cpp
; ac_word
=$2
6004 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6005 printf %s
"checking for $ac_word... " >&6; }
6006 if test ${ac_cv_prog_CPPBIN+y}
6008 printf %s
"(cached) " >&6
6010 if test -n "$CPPBIN"; then
6011 ac_cv_prog_CPPBIN
="$CPPBIN" # Let the user override the test.
6013 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6017 case $as_dir in #(((
6020 *) as_dir
=$as_dir/ ;;
6022 for ac_exec_ext
in '' $ac_executable_extensions; do
6023 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6024 ac_cv_prog_CPPBIN
="${ac_tool_prefix}cpp"
6025 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6034 CPPBIN
=$ac_cv_prog_CPPBIN
6035 if test -n "$CPPBIN"; then
6036 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
6037 printf "%s\n" "$CPPBIN" >&6; }
6039 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6040 printf "%s\n" "no" >&6; }
6045 if test -z "$ac_cv_prog_CPPBIN"; then
6046 ac_ct_CPPBIN
=$CPPBIN
6047 # Extract the first word of "cpp", so it can be a program name with args.
6048 set dummy cpp
; ac_word
=$2
6049 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6050 printf %s
"checking for $ac_word... " >&6; }
6051 if test ${ac_cv_prog_ac_ct_CPPBIN+y}
6053 printf %s
"(cached) " >&6
6055 if test -n "$ac_ct_CPPBIN"; then
6056 ac_cv_prog_ac_ct_CPPBIN
="$ac_ct_CPPBIN" # Let the user override the test.
6058 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6062 case $as_dir in #(((
6065 *) as_dir
=$as_dir/ ;;
6067 for ac_exec_ext
in '' $ac_executable_extensions; do
6068 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6069 ac_cv_prog_ac_ct_CPPBIN
="cpp"
6070 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6079 ac_ct_CPPBIN
=$ac_cv_prog_ac_ct_CPPBIN
6080 if test -n "$ac_ct_CPPBIN"; then
6081 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
6082 printf "%s\n" "$ac_ct_CPPBIN" >&6; }
6084 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6085 printf "%s\n" "no" >&6; }
6088 if test "x$ac_ct_CPPBIN" = x
; then
6091 case $cross_compiling:$ac_tool_warned in
6093 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6094 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6095 ac_tool_warned
=yes ;;
6097 CPPBIN
=$ac_ct_CPPBIN
6100 CPPBIN
="$ac_cv_prog_CPPBIN"
6104 printf "%s\n" "#define EXEEXT \"$ac_exeext\"" >>confdefs.h
6106 if test -n "$ac_tool_prefix"; then
6107 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
6108 set dummy
${ac_tool_prefix}ld
; ac_word
=$2
6109 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6110 printf %s
"checking for $ac_word... " >&6; }
6111 if test ${ac_cv_prog_LD+y}
6113 printf %s
"(cached) " >&6
6115 if test -n "$LD"; then
6116 ac_cv_prog_LD
="$LD" # Let the user override the test.
6118 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6122 case $as_dir in #(((
6125 *) as_dir
=$as_dir/ ;;
6127 for ac_exec_ext
in '' $ac_executable_extensions; do
6128 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6129 ac_cv_prog_LD
="${ac_tool_prefix}ld"
6130 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6140 if test -n "$LD"; then
6141 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6142 printf "%s\n" "$LD" >&6; }
6144 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6145 printf "%s\n" "no" >&6; }
6150 if test -z "$ac_cv_prog_LD"; then
6152 # Extract the first word of "ld", so it can be a program name with args.
6153 set dummy ld
; ac_word
=$2
6154 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6155 printf %s
"checking for $ac_word... " >&6; }
6156 if test ${ac_cv_prog_ac_ct_LD+y}
6158 printf %s
"(cached) " >&6
6160 if test -n "$ac_ct_LD"; then
6161 ac_cv_prog_ac_ct_LD
="$ac_ct_LD" # Let the user override the test.
6163 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6167 case $as_dir in #(((
6170 *) as_dir
=$as_dir/ ;;
6172 for ac_exec_ext
in '' $ac_executable_extensions; do
6173 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6174 ac_cv_prog_ac_ct_LD
="ld"
6175 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6184 ac_ct_LD
=$ac_cv_prog_ac_ct_LD
6185 if test -n "$ac_ct_LD"; then
6186 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
6187 printf "%s\n" "$ac_ct_LD" >&6; }
6189 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6190 printf "%s\n" "no" >&6; }
6193 if test "x$ac_ct_LD" = x
; then
6196 case $cross_compiling:$ac_tool_warned in
6198 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6199 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6200 ac_tool_warned
=yes ;;
6211 with_fontconfig
=${with_fontconfig:-no}
6213 *-mingw32*|
*-cygwin*)
6214 enable_win16
=${enable_win16:-no}
6215 with_mingw
=${with_mingw:-no}
6222 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes" -a x
"$enable_archs" = x
6227 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
6228 printf %s
"checking whether $CC works... " >&6; }
6229 if test ${wine_cv_cc_m32+y}
6231 printf %s
"(cached) " >&6
6233 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6234 /* end confdefs.h. */
6244 if ac_fn_c_try_link
"$LINENO"
6250 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
6251 conftest
$ac_exeext conftest.
$ac_ext
6253 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_cc_m32" >&5
6254 printf "%s\n" "$wine_cv_cc_m32" >&6; }
6255 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
6257 notice_platform
="32-bit "
6258 TARGETFLAGS
="$TARGETFLAGS -m32"
6259 PKG_CONFIG_PATH
=${PKG_CONFIG_PATH:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib32/pkgconfig:/usr/lib/pkgconfig}
6260 export PKG_CONFIG_PATH
6261 with_unwind
=${with_unwind:-no}
6263 if test "x${GCC}" = "xyes"
6265 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
6266 printf %s
"checking whether $CC supports __builtin_ms_va_list... " >&6; }
6267 if test ${wine_cv_builtin_ms_va_list+y}
6269 printf %s
"(cached) " >&6
6271 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6272 /* end confdefs.h. */
6277 void func(__builtin_ms_va_list *args);
6282 if ac_fn_c_try_compile
"$LINENO"
6284 wine_cv_builtin_ms_va_list
=yes
6286 wine_cv_builtin_ms_va_list
=no
6288 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6290 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_builtin_ms_va_list" >&5
6291 printf "%s\n" "$wine_cv_builtin_ms_va_list" >&6; }
6292 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
6297 notice_platform
="64-bit "
6298 TARGETFLAGS
="$TARGETFLAGS -m64"
6302 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb-2" >&5
6303 printf %s
"checking whether $CC supports Thumb-2... " >&6; }
6304 if test ${wine_cv_thumb2+y}
6306 printf %s
"(cached) " >&6
6308 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6309 /* end confdefs.h. */
6314 asm(".syntax unified\n\t.thumb\n\tldm r0,{r0-r8}");
6319 if ac_fn_c_try_link
"$LINENO"
6325 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
6326 conftest
$ac_exeext conftest.
$ac_ext
6328 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_thumb2" >&5
6329 printf "%s\n" "$wine_cv_thumb2" >&6; }
6330 if test x
"$wine_cv_thumb2" = xyes
6332 CFLAGS
="$CFLAGS -mthumb"
6333 TARGETFLAGS
="$TARGETFLAGS -mthumb"
6335 CFLAGS
="$CFLAGS -marm"
6336 TARGETFLAGS
="$TARGETFLAGS -marm"
6338 case $with_float_abi in
6340 float_abi
=$with_float_abi ;;
6347 saved_CFLAGS
=$CFLAGS
6348 CFLAGS
="$CFLAGS -mfloat-abi=$float_abi"
6349 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mfloat-abi=$float_abi" >&5
6350 printf %s
"checking whether $CC supports -mfloat-abi=$float_abi... " >&6; }
6351 if test ${wine_cv_float_abi+y}
6353 printf %s
"(cached) " >&6
6355 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6356 /* end confdefs.h. */
6361 asm("vmrs r2,fpscr");
6366 if ac_fn_c_try_link
"$LINENO"
6368 wine_cv_float_abi
=yes
6370 wine_cv_float_abi
=no
6372 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
6373 conftest
$ac_exeext conftest.
$ac_ext
6375 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_float_abi" >&5
6376 printf "%s\n" "$wine_cv_float_abi" >&6; }
6377 if test $wine_cv_float_abi = no
6380 as_fn_append wine_warnings
"|Floating point is not supported for this target. The resulting build won't be compatible with Windows ARM binaries."
6382 CFLAGS
=$saved_CFLAGS
6386 CFLAGS
="$CFLAGS -mfloat-abi=$float_abi"
6387 TARGETFLAGS
="$TARGETFLAGS -mfloat-abi=$float_abi"
6390 with_unwind
=${with_unwind:-no}
6394 enable_win16
=${enable_win16:-i386}
6395 enable_win64
=${enable_win64:-no}
6396 enable_wow64
=${enable_wow64:-aarch64,x86_64}
6397 enable_wow64win
=${enable_wow64win:-aarch64,x86_64}
6398 enable_wow64cpu
=${enable_wow64cpu:-x86_64}
6400 enable_winetest
=${enable_winetest:-$enable_tests}
6402 if test "x$enable_win64" = "xyes"
6404 test -z "$with_wine64" || as_fn_error $?
"--enable-win64 and --with-wine64 are mutually exclusive.
6405 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
6409 cygwin
*|mingw32
*) toolsext
=".exe"
6417 aarch64
*) HOST_ARCH
=aarch64
;;
6418 arm
*) HOST_ARCH
=arm
;;
6419 i
[3456789]86*) HOST_ARCH
=i386
;;
6420 x86_64
) HOST_ARCH
=x86_64
;;
6424 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
6425 printf %s
"checking for the directory containing the Wine tools... " >&6; }
6426 if test ${wine_cv_toolsdir+y}
6428 printf %s
"(cached) " >&6
6430 wine_cv_toolsdir
="$with_wine_tools"
6431 if test -z "$with_wine_tools"; then
6432 if test "$cross_compiling" = "yes"; then
6433 as_fn_error $?
"you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
6434 elif test -n "$with_wine64"; then
6435 wine_cv_toolsdir
="$with_wine64"
6439 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
6440 printf "%s\n" "$wine_cv_toolsdir" >&6; }
6441 if test -z "$wine_cv_toolsdir"; then
6442 wine_makedep
=tools
/makedep
$toolsext
6443 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
6444 wine_makedep
=$wine_cv_toolsdir/tools
/makedep
$toolsext
6445 enable_tools
=${enable_tools:-no}
6446 test -f "$wine_makedep" || as_fn_error $?
"the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
6448 as_fn_error $?
"could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
6450 toolsdir
=$wine_cv_toolsdir
6452 MAKEDEP
=$wine_makedep
6454 RUNTESTFLAGS
="-q -P wine"
6456 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'"
6459 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
6461 TARGETFLAGS
="-b $host_alias $TARGETFLAGS"
6466 # Extract the first word of "$ac_prog", so it can be a program name with args.
6467 set dummy
$ac_prog; ac_word
=$2
6468 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6469 printf %s
"checking for $ac_word... " >&6; }
6470 if test ${ac_cv_prog_FLEX+y}
6472 printf %s
"(cached) " >&6
6474 if test -n "$FLEX"; then
6475 ac_cv_prog_FLEX
="$FLEX" # Let the user override the test.
6477 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6481 case $as_dir in #(((
6484 *) as_dir
=$as_dir/ ;;
6486 for ac_exec_ext
in '' $ac_executable_extensions; do
6487 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6488 ac_cv_prog_FLEX
="$ac_prog"
6489 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6498 FLEX
=$ac_cv_prog_FLEX
6499 if test -n "$FLEX"; then
6500 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
6501 printf "%s\n" "$FLEX" >&6; }
6503 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6504 printf "%s\n" "no" >&6; }
6508 test -n "$FLEX" && break
6510 test -n "$FLEX" || FLEX
="none"
6512 if test "$FLEX" = "none"
6514 as_fn_error $?
"no suitable flex found. Please install the 'flex' package." "$LINENO" 5
6516 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
6517 printf %s
"checking whether flex is recent enough... " >&6; }
6518 if test ${wine_cv_recent_flex+y}
6520 printf %s
"(cached) " >&6
6522 cat >conftest.l
<<EOF
6524 #include "prediluvian.h"
6528 if $FLEX -t conftest.l
>/dev
/null
2>&5
6530 wine_cv_recent_flex
=yes
6532 wine_cv_recent_flex
=no
6535 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_flex" >&5
6536 printf "%s\n" "$wine_cv_recent_flex" >&6; }
6537 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
6539 for ac_prog
in bison
6541 # Extract the first word of "$ac_prog", so it can be a program name with args.
6542 set dummy
$ac_prog; ac_word
=$2
6543 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6544 printf %s
"checking for $ac_word... " >&6; }
6545 if test ${ac_cv_prog_BISON+y}
6547 printf %s
"(cached) " >&6
6549 if test -n "$BISON"; then
6550 ac_cv_prog_BISON
="$BISON" # Let the user override the test.
6552 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6556 case $as_dir in #(((
6559 *) as_dir
=$as_dir/ ;;
6561 for ac_exec_ext
in '' $ac_executable_extensions; do
6562 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6563 ac_cv_prog_BISON
="$ac_prog"
6564 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6573 BISON
=$ac_cv_prog_BISON
6574 if test -n "$BISON"; then
6575 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
6576 printf "%s\n" "$BISON" >&6; }
6578 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6579 printf "%s\n" "no" >&6; }
6583 test -n "$BISON" && break
6585 test -n "$BISON" || BISON
="none"
6587 if test "$BISON" = "none"
6589 as_fn_error $?
"no suitable bison found. Please install the 'bison' package." "$LINENO" 5
6591 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether bison is recent enough" >&5
6592 printf %s
"checking whether bison is recent enough... " >&6; }
6593 if test ${wine_cv_recent_bison+y}
6595 printf %s
"(cached) " >&6
6597 cat >conftest.y
<<EOF
6598 %define parse.error verbose
6602 if $BISON conftest.y
>/dev
/null
2>&5
6604 wine_cv_recent_bison
=yes
6606 wine_cv_recent_bison
=no
6609 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_bison" >&5
6610 printf "%s\n" "$wine_cv_recent_bison" >&6; }
6611 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
6613 if test -n "$ac_tool_prefix"; then
6614 for ac_prog
in ar gar
6616 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6617 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
6618 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6619 printf %s
"checking for $ac_word... " >&6; }
6620 if test ${ac_cv_prog_AR+y}
6622 printf %s
"(cached) " >&6
6624 if test -n "$AR"; then
6625 ac_cv_prog_AR
="$AR" # Let the user override the test.
6627 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6631 case $as_dir in #(((
6634 *) as_dir
=$as_dir/ ;;
6636 for ac_exec_ext
in '' $ac_executable_extensions; do
6637 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6638 ac_cv_prog_AR
="$ac_tool_prefix$ac_prog"
6639 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6649 if test -n "$AR"; then
6650 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6651 printf "%s\n" "$AR" >&6; }
6653 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6654 printf "%s\n" "no" >&6; }
6658 test -n "$AR" && break
6661 if test -z "$AR"; then
6663 for ac_prog
in ar gar
6665 # Extract the first word of "$ac_prog", so it can be a program name with args.
6666 set dummy
$ac_prog; ac_word
=$2
6667 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6668 printf %s
"checking for $ac_word... " >&6; }
6669 if test ${ac_cv_prog_ac_ct_AR+y}
6671 printf %s
"(cached) " >&6
6673 if test -n "$ac_ct_AR"; then
6674 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
6676 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6680 case $as_dir in #(((
6683 *) as_dir
=$as_dir/ ;;
6685 for ac_exec_ext
in '' $ac_executable_extensions; do
6686 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6687 ac_cv_prog_ac_ct_AR
="$ac_prog"
6688 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6697 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
6698 if test -n "$ac_ct_AR"; then
6699 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6700 printf "%s\n" "$ac_ct_AR" >&6; }
6702 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6703 printf "%s\n" "no" >&6; }
6707 test -n "$ac_ct_AR" && break
6710 if test "x$ac_ct_AR" = x
; then
6713 case $cross_compiling:$ac_tool_warned in
6715 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6716 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6717 ac_tool_warned
=yes ;;
6723 if test -n "$ac_tool_prefix"; then
6724 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6725 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
6726 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6727 printf %s
"checking for $ac_word... " >&6; }
6728 if test ${ac_cv_prog_STRIP+y}
6730 printf %s
"(cached) " >&6
6732 if test -n "$STRIP"; then
6733 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
6735 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6739 case $as_dir in #(((
6742 *) as_dir
=$as_dir/ ;;
6744 for ac_exec_ext
in '' $ac_executable_extensions; do
6745 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6746 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
6747 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6756 STRIP
=$ac_cv_prog_STRIP
6757 if test -n "$STRIP"; then
6758 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6759 printf "%s\n" "$STRIP" >&6; }
6761 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6762 printf "%s\n" "no" >&6; }
6767 if test -z "$ac_cv_prog_STRIP"; then
6769 # Extract the first word of "strip", so it can be a program name with args.
6770 set dummy strip
; ac_word
=$2
6771 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6772 printf %s
"checking for $ac_word... " >&6; }
6773 if test ${ac_cv_prog_ac_ct_STRIP+y}
6775 printf %s
"(cached) " >&6
6777 if test -n "$ac_ct_STRIP"; then
6778 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
6780 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6784 case $as_dir in #(((
6787 *) as_dir
=$as_dir/ ;;
6789 for ac_exec_ext
in '' $ac_executable_extensions; do
6790 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6791 ac_cv_prog_ac_ct_STRIP
="strip"
6792 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6801 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
6802 if test -n "$ac_ct_STRIP"; then
6803 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6804 printf "%s\n" "$ac_ct_STRIP" >&6; }
6806 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6807 printf "%s\n" "no" >&6; }
6810 if test "x$ac_ct_STRIP" = x
; then
6813 case $cross_compiling:$ac_tool_warned in
6815 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6816 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6817 ac_tool_warned
=yes ;;
6822 STRIP
="$ac_cv_prog_STRIP"
6825 if test -n "$ac_tool_prefix"; then
6826 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6827 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
6828 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6829 printf %s
"checking for $ac_word... " >&6; }
6830 if test ${ac_cv_prog_RANLIB+y}
6832 printf %s
"(cached) " >&6
6834 if test -n "$RANLIB"; then
6835 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
6837 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6841 case $as_dir in #(((
6844 *) as_dir
=$as_dir/ ;;
6846 for ac_exec_ext
in '' $ac_executable_extensions; do
6847 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6848 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
6849 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6858 RANLIB
=$ac_cv_prog_RANLIB
6859 if test -n "$RANLIB"; then
6860 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6861 printf "%s\n" "$RANLIB" >&6; }
6863 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6864 printf "%s\n" "no" >&6; }
6869 if test -z "$ac_cv_prog_RANLIB"; then
6870 ac_ct_RANLIB
=$RANLIB
6871 # Extract the first word of "ranlib", so it can be a program name with args.
6872 set dummy ranlib
; ac_word
=$2
6873 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6874 printf %s
"checking for $ac_word... " >&6; }
6875 if test ${ac_cv_prog_ac_ct_RANLIB+y}
6877 printf %s
"(cached) " >&6
6879 if test -n "$ac_ct_RANLIB"; then
6880 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
6882 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6886 case $as_dir in #(((
6889 *) as_dir
=$as_dir/ ;;
6891 for ac_exec_ext
in '' $ac_executable_extensions; do
6892 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6893 ac_cv_prog_ac_ct_RANLIB
="ranlib"
6894 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6903 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
6904 if test -n "$ac_ct_RANLIB"; then
6905 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6906 printf "%s\n" "$ac_ct_RANLIB" >&6; }
6908 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6909 printf "%s\n" "no" >&6; }
6912 if test "x$ac_ct_RANLIB" = x
; then
6915 case $cross_compiling:$ac_tool_warned in
6917 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6918 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6919 ac_tool_warned
=yes ;;
6921 RANLIB
=$ac_ct_RANLIB
6924 RANLIB
="$ac_cv_prog_RANLIB"
6927 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6928 printf %s
"checking whether ln -s works... " >&6; }
6930 if test "$LN_S" = "ln -s"; then
6931 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6932 printf "%s\n" "yes" >&6; }
6934 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6935 printf "%s\n" "no, using $LN_S" >&6; }
6938 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
6939 printf %s
"checking for grep that handles long lines and -e... " >&6; }
6940 if test ${ac_cv_path_GREP+y}
6942 printf %s
"(cached) " >&6
6944 if test -z "$GREP"; then
6945 ac_path_GREP_found
=false
6946 # Loop through the user's path and test for each of PROGNAME-LIST
6947 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6948 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
6951 case $as_dir in #(((
6954 *) as_dir
=$as_dir/ ;;
6956 for ac_prog
in grep ggrep
6958 for ac_exec_ext
in '' $ac_executable_extensions; do
6959 ac_path_GREP
="$as_dir$ac_prog$ac_exec_ext"
6960 as_fn_executable_p
"$ac_path_GREP" ||
continue
6961 # Check for GNU ac_path_GREP and select it if it is found.
6962 # Check for GNU $ac_path_GREP
6963 case `"$ac_path_GREP" --version 2>&1` in
6965 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
6968 printf %s
0123456789 >"conftest.in"
6971 cat "conftest.in" "conftest.in" >"conftest.tmp"
6972 mv "conftest.tmp" "conftest.in"
6973 cp "conftest.in" "conftest.nl"
6974 printf "%s\n" 'GREP' >> "conftest.nl"
6975 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
6976 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
6977 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
6978 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6979 # Best one so far, save it but keep looking for a better one
6980 ac_cv_path_GREP
="$ac_path_GREP"
6981 ac_path_GREP_max
=$ac_count
6983 # 10*(2^10) chars as input seems more than enough
6984 test $ac_count -gt 10 && break
6986 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
6989 $ac_path_GREP_found && break 3
6994 if test -z "$ac_cv_path_GREP"; then
6995 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6998 ac_cv_path_GREP
=$GREP
7002 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
7003 printf "%s\n" "$ac_cv_path_GREP" >&6; }
7004 GREP
="$ac_cv_path_GREP"
7007 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
7008 printf %s
"checking for egrep... " >&6; }
7009 if test ${ac_cv_path_EGREP+y}
7011 printf %s
"(cached) " >&6
7013 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
7014 then ac_cv_path_EGREP
="$GREP -E"
7016 if test -z "$EGREP"; then
7017 ac_path_EGREP_found
=false
7018 # Loop through the user's path and test for each of PROGNAME-LIST
7019 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7020 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
7023 case $as_dir in #(((
7026 *) as_dir
=$as_dir/ ;;
7028 for ac_prog
in egrep
7030 for ac_exec_ext
in '' $ac_executable_extensions; do
7031 ac_path_EGREP
="$as_dir$ac_prog$ac_exec_ext"
7032 as_fn_executable_p
"$ac_path_EGREP" ||
continue
7033 # Check for GNU ac_path_EGREP and select it if it is found.
7034 # Check for GNU $ac_path_EGREP
7035 case `"$ac_path_EGREP" --version 2>&1` in
7037 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
7040 printf %s
0123456789 >"conftest.in"
7043 cat "conftest.in" "conftest.in" >"conftest.tmp"
7044 mv "conftest.tmp" "conftest.in"
7045 cp "conftest.in" "conftest.nl"
7046 printf "%s\n" 'EGREP' >> "conftest.nl"
7047 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
7048 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
7049 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
7050 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
7051 # Best one so far, save it but keep looking for a better one
7052 ac_cv_path_EGREP
="$ac_path_EGREP"
7053 ac_path_EGREP_max
=$ac_count
7055 # 10*(2^10) chars as input seems more than enough
7056 test $ac_count -gt 10 && break
7058 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
7061 $ac_path_EGREP_found && break 3
7066 if test -z "$ac_cv_path_EGREP"; then
7067 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
7070 ac_cv_path_EGREP
=$EGREP
7075 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
7076 printf "%s\n" "$ac_cv_path_EGREP" >&6; }
7077 EGREP
="$ac_cv_path_EGREP"
7080 # Extract the first word of "ldconfig", so it can be a program name with args.
7081 set dummy ldconfig
; ac_word
=$2
7082 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7083 printf %s
"checking for $ac_word... " >&6; }
7084 if test ${ac_cv_path_LDCONFIG+y}
7086 printf %s
"(cached) " >&6
7090 ac_cv_path_LDCONFIG
="$LDCONFIG" # Let the user override the test with a path.
7093 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7094 for as_dir
in /sbin
/usr
/sbin
$PATH
7097 case $as_dir in #(((
7100 *) as_dir
=$as_dir/ ;;
7102 for ac_exec_ext
in '' $ac_executable_extensions; do
7103 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
7104 ac_cv_path_LDCONFIG
="$as_dir$ac_word$ac_exec_ext"
7105 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7112 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG
="true"
7116 LDCONFIG
=$ac_cv_path_LDCONFIG
7117 if test -n "$LDCONFIG"; then
7118 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
7119 printf "%s\n" "$LDCONFIG" >&6; }
7121 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7122 printf "%s\n" "no" >&6; }
7126 for ac_prog
in msgfmt
7128 # Extract the first word of "$ac_prog", so it can be a program name with args.
7129 set dummy
$ac_prog; ac_word
=$2
7130 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7131 printf %s
"checking for $ac_word... " >&6; }
7132 if test ${ac_cv_prog_MSGFMT+y}
7134 printf %s
"(cached) " >&6
7136 if test -n "$MSGFMT"; then
7137 ac_cv_prog_MSGFMT
="$MSGFMT" # Let the user override the test.
7139 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7143 case $as_dir in #(((
7146 *) as_dir
=$as_dir/ ;;
7148 for ac_exec_ext
in '' $ac_executable_extensions; do
7149 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
7150 ac_cv_prog_MSGFMT
="$ac_prog"
7151 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7160 MSGFMT
=$ac_cv_prog_MSGFMT
7161 if test -n "$MSGFMT"; then
7162 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
7163 printf "%s\n" "$MSGFMT" >&6; }
7165 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7166 printf "%s\n" "no" >&6; }
7170 test -n "$MSGFMT" && break
7172 test -n "$MSGFMT" || MSGFMT
="false"
7174 if test ${ac_tool_prefix+y}
7176 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
7177 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
7178 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7179 printf %s
"checking for $ac_word... " >&6; }
7180 if test ${ac_cv_prog_PKG_CONFIG+y}
7182 printf %s
"(cached) " >&6
7184 if test -n "$PKG_CONFIG"; then
7185 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
7187 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7191 case $as_dir in #(((
7194 *) as_dir
=$as_dir/ ;;
7196 for ac_exec_ext
in '' $ac_executable_extensions; do
7197 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
7198 ac_cv_prog_PKG_CONFIG
="${ac_tool_prefix}pkg-config"
7199 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7208 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
7209 if test -n "$PKG_CONFIG"; then
7210 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
7211 printf "%s\n" "$PKG_CONFIG" >&6; }
7213 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7214 printf "%s\n" "no" >&6; }
7219 if ${ac_cv_prog_PKG_CONFIG:+false} :
7221 if test "x$cross_compiling" = xyes
7225 { ac_cv_prog_PKG_CONFIG
=; unset ac_cv_prog_PKG_CONFIG
;}
7226 # Extract the first word of "pkg-config", so it can be a program name with args.
7227 set dummy pkg-config
; ac_word
=$2
7228 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7229 printf %s
"checking for $ac_word... " >&6; }
7230 if test ${ac_cv_prog_PKG_CONFIG+y}
7232 printf %s
"(cached) " >&6
7234 if test -n "$PKG_CONFIG"; then
7235 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
7237 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7241 case $as_dir in #(((
7244 *) as_dir
=$as_dir/ ;;
7246 for ac_exec_ext
in '' $ac_executable_extensions; do
7247 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
7248 ac_cv_prog_PKG_CONFIG
="pkg-config"
7249 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7258 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
7259 if test -n "$PKG_CONFIG"; then
7260 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
7261 printf "%s\n" "$PKG_CONFIG" >&6; }
7263 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7264 printf "%s\n" "no" >&6; }
7270 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
7273 if test "x$enable_maintainer_mode" != "xyes"
7280 test "$srcdir" = . || as_fn_error $?
"Maintainer mode cannot work out of tree." "$LINENO" 5
7281 for ac_prog
in fontforge
7283 # Extract the first word of "$ac_prog", so it can be a program name with args.
7284 set dummy
$ac_prog; ac_word
=$2
7285 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7286 printf %s
"checking for $ac_word... " >&6; }
7287 if test ${ac_cv_prog_FONTFORGE+y}
7289 printf %s
"(cached) " >&6
7291 if test -n "$FONTFORGE"; then
7292 ac_cv_prog_FONTFORGE
="$FONTFORGE" # Let the user override the test.
7294 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7298 case $as_dir in #(((
7301 *) as_dir
=$as_dir/ ;;
7303 for ac_exec_ext
in '' $ac_executable_extensions; do
7304 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
7305 ac_cv_prog_FONTFORGE
="$ac_prog"
7306 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7315 FONTFORGE
=$ac_cv_prog_FONTFORGE
7316 if test -n "$FONTFORGE"; then
7317 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
7318 printf "%s\n" "$FONTFORGE" >&6; }
7320 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7321 printf "%s\n" "no" >&6; }
7325 test -n "$FONTFORGE" && break
7327 test -n "$FONTFORGE" || FONTFORGE
="false"
7329 for ac_prog
in rsvg-convert rsvg
7331 # Extract the first word of "$ac_prog", so it can be a program name with args.
7332 set dummy
$ac_prog; ac_word
=$2
7333 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7334 printf %s
"checking for $ac_word... " >&6; }
7335 if test ${ac_cv_prog_RSVG+y}
7337 printf %s
"(cached) " >&6
7339 if test -n "$RSVG"; then
7340 ac_cv_prog_RSVG
="$RSVG" # Let the user override the test.
7342 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7346 case $as_dir in #(((
7349 *) as_dir
=$as_dir/ ;;
7351 for ac_exec_ext
in '' $ac_executable_extensions; do
7352 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
7353 ac_cv_prog_RSVG
="$ac_prog"
7354 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7363 RSVG
=$ac_cv_prog_RSVG
7364 if test -n "$RSVG"; then
7365 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
7366 printf "%s\n" "$RSVG" >&6; }
7368 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7369 printf "%s\n" "no" >&6; }
7373 test -n "$RSVG" && break
7375 test -n "$RSVG" || RSVG
="false"
7377 for ac_prog
in convert
7379 # Extract the first word of "$ac_prog", so it can be a program name with args.
7380 set dummy
$ac_prog; ac_word
=$2
7381 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7382 printf %s
"checking for $ac_word... " >&6; }
7383 if test ${ac_cv_prog_CONVERT+y}
7385 printf %s
"(cached) " >&6
7387 if test -n "$CONVERT"; then
7388 ac_cv_prog_CONVERT
="$CONVERT" # Let the user override the test.
7390 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7394 case $as_dir in #(((
7397 *) as_dir
=$as_dir/ ;;
7399 for ac_exec_ext
in '' $ac_executable_extensions; do
7400 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
7401 ac_cv_prog_CONVERT
="$ac_prog"
7402 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7411 CONVERT
=$ac_cv_prog_CONVERT
7412 if test -n "$CONVERT"; then
7413 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
7414 printf "%s\n" "$CONVERT" >&6; }
7416 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7417 printf "%s\n" "no" >&6; }
7421 test -n "$CONVERT" && break
7423 test -n "$CONVERT" || CONVERT
="false"
7425 for ac_prog
in icotool
7427 # Extract the first word of "$ac_prog", so it can be a program name with args.
7428 set dummy
$ac_prog; ac_word
=$2
7429 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7430 printf %s
"checking for $ac_word... " >&6; }
7431 if test ${ac_cv_prog_ICOTOOL+y}
7433 printf %s
"(cached) " >&6
7435 if test -n "$ICOTOOL"; then
7436 ac_cv_prog_ICOTOOL
="$ICOTOOL" # Let the user override the test.
7438 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7442 case $as_dir in #(((
7445 *) as_dir
=$as_dir/ ;;
7447 for ac_exec_ext
in '' $ac_executable_extensions; do
7448 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
7449 ac_cv_prog_ICOTOOL
="$ac_prog"
7450 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7459 ICOTOOL
=$ac_cv_prog_ICOTOOL
7460 if test -n "$ICOTOOL"; then
7461 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
7462 printf "%s\n" "$ICOTOOL" >&6; }
7464 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7465 printf "%s\n" "no" >&6; }
7469 test -n "$ICOTOOL" && break
7471 test -n "$ICOTOOL" || ICOTOOL
="false"
7473 test "$FONTFORGE" != "false" || as_fn_error $?
"You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
7474 test "$RSVG" != "false" || as_fn_error $?
"You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
7476 if test "$CONVERT" = false
7478 as_fn_error $?
"You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
7480 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
7481 printf %s
"checking for recent enough imagemagick... " >&6; }
7482 convert_version
=`convert --version | head -n1`
7483 if test "x$convert_version" != "x"
7485 convert_version_major
=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
7486 convert_version_minor
=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
7487 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
7492 if test "$CONVERT" = false
7494 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
7495 printf "%s\n" "no ($convert_version_major.$convert_version_minor)" >&6; }
7496 as_fn_error $?
"You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
7498 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
7499 printf "%s\n" "yes ($convert_version_major.$convert_version_minor)" >&6; }
7503 if test "$ICOTOOL" = false
7505 as_fn_error $?
"You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
7507 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
7508 printf %s
"checking for recent enough icotool... " >&6; }
7509 icotool_version
=`icotool --version | head -n1`
7510 if test "x$icotool_version" != "x"
7512 icotool_version_major
=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
7513 icotool_version_minor
=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
7514 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
7517 as_fn_append wine_warnings
"|icotool version 0.29.0 or newer is needed to rebuild icons."
7520 if test "$ICOTOOL" = false
7522 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
7523 printf "%s\n" "no ($icotool_version_major.$icotool_version_minor)" >&6; }
7524 as_fn_error $?
"You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
7526 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
7527 printf "%s\n" "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
7537 test "x$with_gettext" != xno || MSGFMT
=false
7538 if test "$MSGFMT" != "false"
7540 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
7541 printf %s
"checking whether msgfmt supports contexts... " >&6; }
7542 if test ${wine_cv_msgfmt_contexts+y}
7544 printf %s
"(cached) " >&6
7546 cat >conftest.po
<<EOF
7552 if $MSGFMT -o /dev
/null conftest.po
2>&5
7554 wine_cv_msgfmt_contexts
=yes
7556 wine_cv_msgfmt_contexts
=no
7559 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_msgfmt_contexts" >&5
7560 printf "%s\n" "$wine_cv_msgfmt_contexts" >&6; }
7561 test $wine_cv_msgfmt_contexts != no || MSGFMT
=false
7563 if test "$MSGFMT" = false
7565 case "x$with_gettext" in
7566 x
) as_fn_append wine_warnings
"|gettext tools not found (or too old), translations won't be built." ;;
7568 *) as_fn_error $?
"gettext tools not found (or too old), translations won't be built.
7569 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
7571 enable_po
=${enable_po:-no}
7575 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
7576 printf %s
"checking for i386_set_ldt in -li386... " >&6; }
7577 if test ${ac_cv_lib_i386_i386_set_ldt+y}
7579 printf %s
"(cached) " >&6
7581 ac_check_lib_save_LIBS
=$LIBS
7583 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7584 /* end confdefs.h. */
7586 /* Override any GCC internal prototype to avoid an error.
7587 Use char because int might match the return type of a GCC
7588 builtin and then its argument prototype would still apply. */
7589 char i386_set_ldt ();
7593 return i386_set_ldt ();
7598 if ac_fn_c_try_link
"$LINENO"
7600 ac_cv_lib_i386_i386_set_ldt
=yes
7602 ac_cv_lib_i386_i386_set_ldt
=no
7604 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
7605 conftest
$ac_exeext conftest.
$ac_ext
7606 LIBS
=$ac_check_lib_save_LIBS
7608 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
7609 printf "%s\n" "$ac_cv_lib_i386_i386_set_ldt" >&6; }
7610 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes
7621 # Check whether --enable-largefile was given.
7622 if test ${enable_largefile+y}
7624 enableval
=$enable_largefile;
7627 if test "$enable_largefile" != no
; then
7629 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
7630 printf %s
"checking for special C compiler options needed for large files... " >&6; }
7631 if test ${ac_cv_sys_largefile_CC+y}
7633 printf %s
"(cached) " >&6
7635 ac_cv_sys_largefile_CC
=no
7636 if test "$GCC" != yes; then
7639 # IRIX 6.2 and later do not support large files by default,
7640 # so use the C compiler's -n32 option if that helps.
7641 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7642 /* end confdefs.h. */
7643 #include <sys/types.h>
7644 /* Check that off_t can represent 2**63 - 1 correctly.
7645 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7646 since some C++ compilers masquerading as C compilers
7647 incorrectly reject 9223372036854775807. */
7648 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7649 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7650 && LARGE_OFF_T % 2147483647 == 1)
7660 if ac_fn_c_try_compile
"$LINENO"
7664 rm -f core conftest.err conftest.
$ac_objext conftest.beam
7666 if ac_fn_c_try_compile
"$LINENO"
7668 ac_cv_sys_largefile_CC
=' -n32'; break
7670 rm -f core conftest.err conftest.
$ac_objext conftest.beam
7674 rm -f conftest.
$ac_ext
7677 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
7678 printf "%s\n" "$ac_cv_sys_largefile_CC" >&6; }
7679 if test "$ac_cv_sys_largefile_CC" != no
; then
7680 CC
=$CC$ac_cv_sys_largefile_CC
7683 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
7684 printf %s
"checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
7685 if test ${ac_cv_sys_file_offset_bits+y}
7687 printf %s
"(cached) " >&6
7690 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7691 /* end confdefs.h. */
7692 #include <sys/types.h>
7693 /* Check that off_t can represent 2**63 - 1 correctly.
7694 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7695 since some C++ compilers masquerading as C compilers
7696 incorrectly reject 9223372036854775807. */
7697 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7698 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7699 && LARGE_OFF_T % 2147483647 == 1)
7709 if ac_fn_c_try_compile
"$LINENO"
7711 ac_cv_sys_file_offset_bits
=no
; break
7713 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
7714 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7715 /* end confdefs.h. */
7716 #define _FILE_OFFSET_BITS 64
7717 #include <sys/types.h>
7718 /* Check that off_t can represent 2**63 - 1 correctly.
7719 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7720 since some C++ compilers masquerading as C compilers
7721 incorrectly reject 9223372036854775807. */
7722 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7723 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7724 && LARGE_OFF_T % 2147483647 == 1)
7734 if ac_fn_c_try_compile
"$LINENO"
7736 ac_cv_sys_file_offset_bits
=64; break
7738 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
7739 ac_cv_sys_file_offset_bits
=unknown
7743 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
7744 printf "%s\n" "$ac_cv_sys_file_offset_bits" >&6; }
7745 case $ac_cv_sys_file_offset_bits in #(
7748 printf "%s\n" "#define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits" >>confdefs.h
7752 if test $ac_cv_sys_file_offset_bits = unknown
; then
7753 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
7754 printf %s
"checking for _LARGE_FILES value needed for large files... " >&6; }
7755 if test ${ac_cv_sys_large_files+y}
7757 printf %s
"(cached) " >&6
7760 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7761 /* end confdefs.h. */
7762 #include <sys/types.h>
7763 /* Check that off_t can represent 2**63 - 1 correctly.
7764 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7765 since some C++ compilers masquerading as C compilers
7766 incorrectly reject 9223372036854775807. */
7767 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7768 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7769 && LARGE_OFF_T % 2147483647 == 1)
7779 if ac_fn_c_try_compile
"$LINENO"
7781 ac_cv_sys_large_files
=no
; break
7783 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
7784 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7785 /* end confdefs.h. */
7786 #define _LARGE_FILES 1
7787 #include <sys/types.h>
7788 /* Check that off_t can represent 2**63 - 1 correctly.
7789 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7790 since some C++ compilers masquerading as C compilers
7791 incorrectly reject 9223372036854775807. */
7792 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7793 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7794 && LARGE_OFF_T % 2147483647 == 1)
7804 if ac_fn_c_try_compile
"$LINENO"
7806 ac_cv_sys_large_files
=1; break
7808 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
7809 ac_cv_sys_large_files
=unknown
7813 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
7814 printf "%s\n" "$ac_cv_sys_large_files" >&6; }
7815 case $ac_cv_sys_large_files in #(
7818 printf "%s\n" "#define _LARGE_FILES $ac_cv_sys_large_files" >>confdefs.h
7826 ac_header
= ac_cache
=
7827 for ac_item
in $ac_header_c_list
7829 if test $ac_cache; then
7830 ac_fn_c_check_header_compile
"$LINENO" $ac_header ac_cv_header_
$ac_cache "$ac_includes_default"
7831 if eval test \"x\
$ac_cv_header_$ac_cache\" = xyes
; then
7832 printf "%s\n" "#define $ac_item 1" >> confdefs.h
7834 ac_header
= ac_cache
=
7835 elif test $ac_header; then
7849 if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes
7852 printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h
7855 ac_fn_c_check_header_compile
"$LINENO" "AL/al.h" "ac_cv_header_AL_al_h" "$ac_includes_default"
7856 if test "x$ac_cv_header_AL_al_h" = xyes
7858 printf "%s\n" "#define HAVE_AL_AL_H 1" >>confdefs.h
7861 ac_fn_c_check_header_compile
"$LINENO" "ApplicationServices/ApplicationServices.h" "ac_cv_header_ApplicationServices_ApplicationServices_h" "$ac_includes_default"
7862 if test "x$ac_cv_header_ApplicationServices_ApplicationServices_h" = xyes
7864 printf "%s\n" "#define HAVE_APPLICATIONSERVICES_APPLICATIONSERVICES_H 1" >>confdefs.h
7867 ac_fn_c_check_header_compile
"$LINENO" "CL/cl.h" "ac_cv_header_CL_cl_h" "$ac_includes_default"
7868 if test "x$ac_cv_header_CL_cl_h" = xyes
7870 printf "%s\n" "#define HAVE_CL_CL_H 1" >>confdefs.h
7873 ac_fn_c_check_header_compile
"$LINENO" "Carbon/Carbon.h" "ac_cv_header_Carbon_Carbon_h" "$ac_includes_default"
7874 if test "x$ac_cv_header_Carbon_Carbon_h" = xyes
7876 printf "%s\n" "#define HAVE_CARBON_CARBON_H 1" >>confdefs.h
7879 ac_fn_c_check_header_compile
"$LINENO" "CoreAudio/CoreAudio.h" "ac_cv_header_CoreAudio_CoreAudio_h" "$ac_includes_default"
7880 if test "x$ac_cv_header_CoreAudio_CoreAudio_h" = xyes
7882 printf "%s\n" "#define HAVE_COREAUDIO_COREAUDIO_H 1" >>confdefs.h
7885 ac_fn_c_check_header_compile
"$LINENO" "DiskArbitration/DiskArbitration.h" "ac_cv_header_DiskArbitration_DiskArbitration_h" "$ac_includes_default"
7886 if test "x$ac_cv_header_DiskArbitration_DiskArbitration_h" = xyes
7888 printf "%s\n" "#define HAVE_DISKARBITRATION_DISKARBITRATION_H 1" >>confdefs.h
7891 ac_fn_c_check_header_compile
"$LINENO" "EGL/egl.h" "ac_cv_header_EGL_egl_h" "$ac_includes_default"
7892 if test "x$ac_cv_header_EGL_egl_h" = xyes
7894 printf "%s\n" "#define HAVE_EGL_EGL_H 1" >>confdefs.h
7897 ac_fn_c_check_header_compile
"$LINENO" "IOKit/IOKitLib.h" "ac_cv_header_IOKit_IOKitLib_h" "$ac_includes_default"
7898 if test "x$ac_cv_header_IOKit_IOKitLib_h" = xyes
7900 printf "%s\n" "#define HAVE_IOKIT_IOKITLIB_H 1" >>confdefs.h
7903 ac_fn_c_check_header_compile
"$LINENO" "IOKit/hid/IOHIDLib.h" "ac_cv_header_IOKit_hid_IOHIDLib_h" "$ac_includes_default"
7904 if test "x$ac_cv_header_IOKit_hid_IOHIDLib_h" = xyes
7906 printf "%s\n" "#define HAVE_IOKIT_HID_IOHIDLIB_H 1" >>confdefs.h
7909 ac_fn_c_check_header_compile
"$LINENO" "OpenAL/al.h" "ac_cv_header_OpenAL_al_h" "$ac_includes_default"
7910 if test "x$ac_cv_header_OpenAL_al_h" = xyes
7912 printf "%s\n" "#define HAVE_OPENAL_AL_H 1" >>confdefs.h
7915 ac_fn_c_check_header_compile
"$LINENO" "OpenCL/opencl.h" "ac_cv_header_OpenCL_opencl_h" "$ac_includes_default"
7916 if test "x$ac_cv_header_OpenCL_opencl_h" = xyes
7918 printf "%s\n" "#define HAVE_OPENCL_OPENCL_H 1" >>confdefs.h
7921 ac_fn_c_check_header_compile
"$LINENO" "Security/Security.h" "ac_cv_header_Security_Security_h" "$ac_includes_default"
7922 if test "x$ac_cv_header_Security_Security_h" = xyes
7924 printf "%s\n" "#define HAVE_SECURITY_SECURITY_H 1" >>confdefs.h
7927 ac_fn_c_check_header_compile
"$LINENO" "SystemConfiguration/SCDynamicStoreCopyDHCPInfo.h" "ac_cv_header_SystemConfiguration_SCDynamicStoreCopyDHCPInfo_h" "$ac_includes_default"
7928 if test "x$ac_cv_header_SystemConfiguration_SCDynamicStoreCopyDHCPInfo_h" = xyes
7930 printf "%s\n" "#define HAVE_SYSTEMCONFIGURATION_SCDYNAMICSTORECOPYDHCPINFO_H 1" >>confdefs.h
7933 ac_fn_c_check_header_compile
"$LINENO" "SystemConfiguration/SCNetworkConfiguration.h" "ac_cv_header_SystemConfiguration_SCNetworkConfiguration_h" "$ac_includes_default"
7934 if test "x$ac_cv_header_SystemConfiguration_SCNetworkConfiguration_h" = xyes
7936 printf "%s\n" "#define HAVE_SYSTEMCONFIGURATION_SCNETWORKCONFIGURATION_H 1" >>confdefs.h
7939 ac_fn_c_check_header_compile
"$LINENO" "arpa/inet.h" "ac_cv_header_arpa_inet_h" "$ac_includes_default"
7940 if test "x$ac_cv_header_arpa_inet_h" = xyes
7942 printf "%s\n" "#define HAVE_ARPA_INET_H 1" >>confdefs.h
7945 ac_fn_c_check_header_compile
"$LINENO" "arpa/nameser.h" "ac_cv_header_arpa_nameser_h" "$ac_includes_default"
7946 if test "x$ac_cv_header_arpa_nameser_h" = xyes
7948 printf "%s\n" "#define HAVE_ARPA_NAMESER_H 1" >>confdefs.h
7951 ac_fn_c_check_header_compile
"$LINENO" "asm/types.h" "ac_cv_header_asm_types_h" "$ac_includes_default"
7952 if test "x$ac_cv_header_asm_types_h" = xyes
7954 printf "%s\n" "#define HAVE_ASM_TYPES_H 1" >>confdefs.h
7957 ac_fn_c_check_header_compile
"$LINENO" "asm/user.h" "ac_cv_header_asm_user_h" "$ac_includes_default"
7958 if test "x$ac_cv_header_asm_user_h" = xyes
7960 printf "%s\n" "#define HAVE_ASM_USER_H 1" >>confdefs.h
7963 ac_fn_c_check_header_compile
"$LINENO" "elf.h" "ac_cv_header_elf_h" "$ac_includes_default"
7964 if test "x$ac_cv_header_elf_h" = xyes
7966 printf "%s\n" "#define HAVE_ELF_H 1" >>confdefs.h
7969 ac_fn_c_check_header_compile
"$LINENO" "float.h" "ac_cv_header_float_h" "$ac_includes_default"
7970 if test "x$ac_cv_header_float_h" = xyes
7972 printf "%s\n" "#define HAVE_FLOAT_H 1" >>confdefs.h
7975 ac_fn_c_check_header_compile
"$LINENO" "gettext-po.h" "ac_cv_header_gettext_po_h" "$ac_includes_default"
7976 if test "x$ac_cv_header_gettext_po_h" = xyes
7978 printf "%s\n" "#define HAVE_GETTEXT_PO_H 1" >>confdefs.h
7981 ac_fn_c_check_header_compile
"$LINENO" "libproc.h" "ac_cv_header_libproc_h" "$ac_includes_default"
7982 if test "x$ac_cv_header_libproc_h" = xyes
7984 printf "%s\n" "#define HAVE_LIBPROC_H 1" >>confdefs.h
7987 ac_fn_c_check_header_compile
"$LINENO" "link.h" "ac_cv_header_link_h" "$ac_includes_default"
7988 if test "x$ac_cv_header_link_h" = xyes
7990 printf "%s\n" "#define HAVE_LINK_H 1" >>confdefs.h
7993 ac_fn_c_check_header_compile
"$LINENO" "linux/cdrom.h" "ac_cv_header_linux_cdrom_h" "$ac_includes_default"
7994 if test "x$ac_cv_header_linux_cdrom_h" = xyes
7996 printf "%s\n" "#define HAVE_LINUX_CDROM_H 1" >>confdefs.h
7999 ac_fn_c_check_header_compile
"$LINENO" "linux/filter.h" "ac_cv_header_linux_filter_h" "$ac_includes_default"
8000 if test "x$ac_cv_header_linux_filter_h" = xyes
8002 printf "%s\n" "#define HAVE_LINUX_FILTER_H 1" >>confdefs.h
8005 ac_fn_c_check_header_compile
"$LINENO" "linux/hdreg.h" "ac_cv_header_linux_hdreg_h" "$ac_includes_default"
8006 if test "x$ac_cv_header_linux_hdreg_h" = xyes
8008 printf "%s\n" "#define HAVE_LINUX_HDREG_H 1" >>confdefs.h
8011 ac_fn_c_check_header_compile
"$LINENO" "linux/hidraw.h" "ac_cv_header_linux_hidraw_h" "$ac_includes_default"
8012 if test "x$ac_cv_header_linux_hidraw_h" = xyes
8014 printf "%s\n" "#define HAVE_LINUX_HIDRAW_H 1" >>confdefs.h
8017 ac_fn_c_check_header_compile
"$LINENO" "linux/input.h" "ac_cv_header_linux_input_h" "$ac_includes_default"
8018 if test "x$ac_cv_header_linux_input_h" = xyes
8020 printf "%s\n" "#define HAVE_LINUX_INPUT_H 1" >>confdefs.h
8023 ac_fn_c_check_header_compile
"$LINENO" "linux/ioctl.h" "ac_cv_header_linux_ioctl_h" "$ac_includes_default"
8024 if test "x$ac_cv_header_linux_ioctl_h" = xyes
8026 printf "%s\n" "#define HAVE_LINUX_IOCTL_H 1" >>confdefs.h
8029 ac_fn_c_check_header_compile
"$LINENO" "linux/major.h" "ac_cv_header_linux_major_h" "$ac_includes_default"
8030 if test "x$ac_cv_header_linux_major_h" = xyes
8032 printf "%s\n" "#define HAVE_LINUX_MAJOR_H 1" >>confdefs.h
8035 ac_fn_c_check_header_compile
"$LINENO" "linux/param.h" "ac_cv_header_linux_param_h" "$ac_includes_default"
8036 if test "x$ac_cv_header_linux_param_h" = xyes
8038 printf "%s\n" "#define HAVE_LINUX_PARAM_H 1" >>confdefs.h
8041 ac_fn_c_check_header_compile
"$LINENO" "linux/serial.h" "ac_cv_header_linux_serial_h" "$ac_includes_default"
8042 if test "x$ac_cv_header_linux_serial_h" = xyes
8044 printf "%s\n" "#define HAVE_LINUX_SERIAL_H 1" >>confdefs.h
8047 ac_fn_c_check_header_compile
"$LINENO" "linux/types.h" "ac_cv_header_linux_types_h" "$ac_includes_default"
8048 if test "x$ac_cv_header_linux_types_h" = xyes
8050 printf "%s\n" "#define HAVE_LINUX_TYPES_H 1" >>confdefs.h
8053 ac_fn_c_check_header_compile
"$LINENO" "linux/ucdrom.h" "ac_cv_header_linux_ucdrom_h" "$ac_includes_default"
8054 if test "x$ac_cv_header_linux_ucdrom_h" = xyes
8056 printf "%s\n" "#define HAVE_LINUX_UCDROM_H 1" >>confdefs.h
8059 ac_fn_c_check_header_compile
"$LINENO" "lwp.h" "ac_cv_header_lwp_h" "$ac_includes_default"
8060 if test "x$ac_cv_header_lwp_h" = xyes
8062 printf "%s\n" "#define HAVE_LWP_H 1" >>confdefs.h
8065 ac_fn_c_check_header_compile
"$LINENO" "mach-o/loader.h" "ac_cv_header_mach_o_loader_h" "$ac_includes_default"
8066 if test "x$ac_cv_header_mach_o_loader_h" = xyes
8068 printf "%s\n" "#define HAVE_MACH_O_LOADER_H 1" >>confdefs.h
8071 ac_fn_c_check_header_compile
"$LINENO" "mach/mach.h" "ac_cv_header_mach_mach_h" "$ac_includes_default"
8072 if test "x$ac_cv_header_mach_mach_h" = xyes
8074 printf "%s\n" "#define HAVE_MACH_MACH_H 1" >>confdefs.h
8077 ac_fn_c_check_header_compile
"$LINENO" "machine/cpu.h" "ac_cv_header_machine_cpu_h" "$ac_includes_default"
8078 if test "x$ac_cv_header_machine_cpu_h" = xyes
8080 printf "%s\n" "#define HAVE_MACHINE_CPU_H 1" >>confdefs.h
8083 ac_fn_c_check_header_compile
"$LINENO" "machine/sysarch.h" "ac_cv_header_machine_sysarch_h" "$ac_includes_default"
8084 if test "x$ac_cv_header_machine_sysarch_h" = xyes
8086 printf "%s\n" "#define HAVE_MACHINE_SYSARCH_H 1" >>confdefs.h
8089 ac_fn_c_check_header_compile
"$LINENO" "mntent.h" "ac_cv_header_mntent_h" "$ac_includes_default"
8090 if test "x$ac_cv_header_mntent_h" = xyes
8092 printf "%s\n" "#define HAVE_MNTENT_H 1" >>confdefs.h
8095 ac_fn_c_check_header_compile
"$LINENO" "netdb.h" "ac_cv_header_netdb_h" "$ac_includes_default"
8096 if test "x$ac_cv_header_netdb_h" = xyes
8098 printf "%s\n" "#define HAVE_NETDB_H 1" >>confdefs.h
8101 ac_fn_c_check_header_compile
"$LINENO" "netinet/in.h" "ac_cv_header_netinet_in_h" "$ac_includes_default"
8102 if test "x$ac_cv_header_netinet_in_h" = xyes
8104 printf "%s\n" "#define HAVE_NETINET_IN_H 1" >>confdefs.h
8107 ac_fn_c_check_header_compile
"$LINENO" "netinet/in_systm.h" "ac_cv_header_netinet_in_systm_h" "$ac_includes_default"
8108 if test "x$ac_cv_header_netinet_in_systm_h" = xyes
8110 printf "%s\n" "#define HAVE_NETINET_IN_SYSTM_H 1" >>confdefs.h
8113 ac_fn_c_check_header_compile
"$LINENO" "netinet/tcp.h" "ac_cv_header_netinet_tcp_h" "$ac_includes_default"
8114 if test "x$ac_cv_header_netinet_tcp_h" = xyes
8116 printf "%s\n" "#define HAVE_NETINET_TCP_H 1" >>confdefs.h
8119 ac_fn_c_check_header_compile
"$LINENO" "netinet/tcp_fsm.h" "ac_cv_header_netinet_tcp_fsm_h" "$ac_includes_default"
8120 if test "x$ac_cv_header_netinet_tcp_fsm_h" = xyes
8122 printf "%s\n" "#define HAVE_NETINET_TCP_FSM_H 1" >>confdefs.h
8125 ac_fn_c_check_header_compile
"$LINENO" "pcap/pcap.h" "ac_cv_header_pcap_pcap_h" "$ac_includes_default"
8126 if test "x$ac_cv_header_pcap_pcap_h" = xyes
8128 printf "%s\n" "#define HAVE_PCAP_PCAP_H 1" >>confdefs.h
8131 ac_fn_c_check_header_compile
"$LINENO" "port.h" "ac_cv_header_port_h" "$ac_includes_default"
8132 if test "x$ac_cv_header_port_h" = xyes
8134 printf "%s\n" "#define HAVE_PORT_H 1" >>confdefs.h
8137 ac_fn_c_check_header_compile
"$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default"
8138 if test "x$ac_cv_header_pthread_h" = xyes
8140 printf "%s\n" "#define HAVE_PTHREAD_H 1" >>confdefs.h
8143 ac_fn_c_check_header_compile
"$LINENO" "pwd.h" "ac_cv_header_pwd_h" "$ac_includes_default"
8144 if test "x$ac_cv_header_pwd_h" = xyes
8146 printf "%s\n" "#define HAVE_PWD_H 1" >>confdefs.h
8149 ac_fn_c_check_header_compile
"$LINENO" "sasl/sasl.h" "ac_cv_header_sasl_sasl_h" "$ac_includes_default"
8150 if test "x$ac_cv_header_sasl_sasl_h" = xyes
8152 printf "%s\n" "#define HAVE_SASL_SASL_H 1" >>confdefs.h
8155 ac_fn_c_check_header_compile
"$LINENO" "sched.h" "ac_cv_header_sched_h" "$ac_includes_default"
8156 if test "x$ac_cv_header_sched_h" = xyes
8158 printf "%s\n" "#define HAVE_SCHED_H 1" >>confdefs.h
8161 ac_fn_c_check_header_compile
"$LINENO" "scsi/scsi.h" "ac_cv_header_scsi_scsi_h" "$ac_includes_default"
8162 if test "x$ac_cv_header_scsi_scsi_h" = xyes
8164 printf "%s\n" "#define HAVE_SCSI_SCSI_H 1" >>confdefs.h
8167 ac_fn_c_check_header_compile
"$LINENO" "scsi/scsi_ioctl.h" "ac_cv_header_scsi_scsi_ioctl_h" "$ac_includes_default"
8168 if test "x$ac_cv_header_scsi_scsi_ioctl_h" = xyes
8170 printf "%s\n" "#define HAVE_SCSI_SCSI_IOCTL_H 1" >>confdefs.h
8173 ac_fn_c_check_header_compile
"$LINENO" "scsi/sg.h" "ac_cv_header_scsi_sg_h" "$ac_includes_default"
8174 if test "x$ac_cv_header_scsi_sg_h" = xyes
8176 printf "%s\n" "#define HAVE_SCSI_SG_H 1" >>confdefs.h
8179 ac_fn_c_check_header_compile
"$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default"
8180 if test "x$ac_cv_header_stdint_h" = xyes
8182 printf "%s\n" "#define HAVE_STDINT_H 1" >>confdefs.h
8185 ac_fn_c_check_header_compile
"$LINENO" "sys/attr.h" "ac_cv_header_sys_attr_h" "$ac_includes_default"
8186 if test "x$ac_cv_header_sys_attr_h" = xyes
8188 printf "%s\n" "#define HAVE_SYS_ATTR_H 1" >>confdefs.h
8191 ac_fn_c_check_header_compile
"$LINENO" "sys/auxv.h" "ac_cv_header_sys_auxv_h" "$ac_includes_default"
8192 if test "x$ac_cv_header_sys_auxv_h" = xyes
8194 printf "%s\n" "#define HAVE_SYS_AUXV_H 1" >>confdefs.h
8197 ac_fn_c_check_header_compile
"$LINENO" "sys/cdio.h" "ac_cv_header_sys_cdio_h" "$ac_includes_default"
8198 if test "x$ac_cv_header_sys_cdio_h" = xyes
8200 printf "%s\n" "#define HAVE_SYS_CDIO_H 1" >>confdefs.h
8203 ac_fn_c_check_header_compile
"$LINENO" "sys/epoll.h" "ac_cv_header_sys_epoll_h" "$ac_includes_default"
8204 if test "x$ac_cv_header_sys_epoll_h" = xyes
8206 printf "%s\n" "#define HAVE_SYS_EPOLL_H 1" >>confdefs.h
8209 ac_fn_c_check_header_compile
"$LINENO" "sys/event.h" "ac_cv_header_sys_event_h" "$ac_includes_default"
8210 if test "x$ac_cv_header_sys_event_h" = xyes
8212 printf "%s\n" "#define HAVE_SYS_EVENT_H 1" >>confdefs.h
8215 ac_fn_c_check_header_compile
"$LINENO" "sys/filio.h" "ac_cv_header_sys_filio_h" "$ac_includes_default"
8216 if test "x$ac_cv_header_sys_filio_h" = xyes
8218 printf "%s\n" "#define HAVE_SYS_FILIO_H 1" >>confdefs.h
8221 ac_fn_c_check_header_compile
"$LINENO" "sys/ipc.h" "ac_cv_header_sys_ipc_h" "$ac_includes_default"
8222 if test "x$ac_cv_header_sys_ipc_h" = xyes
8224 printf "%s\n" "#define HAVE_SYS_IPC_H 1" >>confdefs.h
8227 ac_fn_c_check_header_compile
"$LINENO" "sys/link.h" "ac_cv_header_sys_link_h" "$ac_includes_default"
8228 if test "x$ac_cv_header_sys_link_h" = xyes
8230 printf "%s\n" "#define HAVE_SYS_LINK_H 1" >>confdefs.h
8233 ac_fn_c_check_header_compile
"$LINENO" "sys/modem.h" "ac_cv_header_sys_modem_h" "$ac_includes_default"
8234 if test "x$ac_cv_header_sys_modem_h" = xyes
8236 printf "%s\n" "#define HAVE_SYS_MODEM_H 1" >>confdefs.h
8239 ac_fn_c_check_header_compile
"$LINENO" "sys/mtio.h" "ac_cv_header_sys_mtio_h" "$ac_includes_default"
8240 if test "x$ac_cv_header_sys_mtio_h" = xyes
8242 printf "%s\n" "#define HAVE_SYS_MTIO_H 1" >>confdefs.h
8245 ac_fn_c_check_header_compile
"$LINENO" "sys/param.h" "ac_cv_header_sys_param_h" "$ac_includes_default"
8246 if test "x$ac_cv_header_sys_param_h" = xyes
8248 printf "%s\n" "#define HAVE_SYS_PARAM_H 1" >>confdefs.h
8251 ac_fn_c_check_header_compile
"$LINENO" "sys/prctl.h" "ac_cv_header_sys_prctl_h" "$ac_includes_default"
8252 if test "x$ac_cv_header_sys_prctl_h" = xyes
8254 printf "%s\n" "#define HAVE_SYS_PRCTL_H 1" >>confdefs.h
8257 ac_fn_c_check_header_compile
"$LINENO" "sys/ptrace.h" "ac_cv_header_sys_ptrace_h" "$ac_includes_default"
8258 if test "x$ac_cv_header_sys_ptrace_h" = xyes
8260 printf "%s\n" "#define HAVE_SYS_PTRACE_H 1" >>confdefs.h
8263 ac_fn_c_check_header_compile
"$LINENO" "sys/queue.h" "ac_cv_header_sys_queue_h" "$ac_includes_default"
8264 if test "x$ac_cv_header_sys_queue_h" = xyes
8266 printf "%s\n" "#define HAVE_SYS_QUEUE_H 1" >>confdefs.h
8269 ac_fn_c_check_header_compile
"$LINENO" "sys/random.h" "ac_cv_header_sys_random_h" "$ac_includes_default"
8270 if test "x$ac_cv_header_sys_random_h" = xyes
8272 printf "%s\n" "#define HAVE_SYS_RANDOM_H 1" >>confdefs.h
8275 ac_fn_c_check_header_compile
"$LINENO" "sys/resource.h" "ac_cv_header_sys_resource_h" "$ac_includes_default"
8276 if test "x$ac_cv_header_sys_resource_h" = xyes
8278 printf "%s\n" "#define HAVE_SYS_RESOURCE_H 1" >>confdefs.h
8281 ac_fn_c_check_header_compile
"$LINENO" "sys/scsiio.h" "ac_cv_header_sys_scsiio_h" "$ac_includes_default"
8282 if test "x$ac_cv_header_sys_scsiio_h" = xyes
8284 printf "%s\n" "#define HAVE_SYS_SCSIIO_H 1" >>confdefs.h
8287 ac_fn_c_check_header_compile
"$LINENO" "sys/shm.h" "ac_cv_header_sys_shm_h" "$ac_includes_default"
8288 if test "x$ac_cv_header_sys_shm_h" = xyes
8290 printf "%s\n" "#define HAVE_SYS_SHM_H 1" >>confdefs.h
8293 ac_fn_c_check_header_compile
"$LINENO" "sys/signal.h" "ac_cv_header_sys_signal_h" "$ac_includes_default"
8294 if test "x$ac_cv_header_sys_signal_h" = xyes
8296 printf "%s\n" "#define HAVE_SYS_SIGNAL_H 1" >>confdefs.h
8299 ac_fn_c_check_header_compile
"$LINENO" "sys/socketvar.h" "ac_cv_header_sys_socketvar_h" "$ac_includes_default"
8300 if test "x$ac_cv_header_sys_socketvar_h" = xyes
8302 printf "%s\n" "#define HAVE_SYS_SOCKETVAR_H 1" >>confdefs.h
8305 ac_fn_c_check_header_compile
"$LINENO" "sys/sockio.h" "ac_cv_header_sys_sockio_h" "$ac_includes_default"
8306 if test "x$ac_cv_header_sys_sockio_h" = xyes
8308 printf "%s\n" "#define HAVE_SYS_SOCKIO_H 1" >>confdefs.h
8311 ac_fn_c_check_header_compile
"$LINENO" "sys/statvfs.h" "ac_cv_header_sys_statvfs_h" "$ac_includes_default"
8312 if test "x$ac_cv_header_sys_statvfs_h" = xyes
8314 printf "%s\n" "#define HAVE_SYS_STATVFS_H 1" >>confdefs.h
8317 ac_fn_c_check_header_compile
"$LINENO" "sys/strtio.h" "ac_cv_header_sys_strtio_h" "$ac_includes_default"
8318 if test "x$ac_cv_header_sys_strtio_h" = xyes
8320 printf "%s\n" "#define HAVE_SYS_STRTIO_H 1" >>confdefs.h
8323 ac_fn_c_check_header_compile
"$LINENO" "sys/syscall.h" "ac_cv_header_sys_syscall_h" "$ac_includes_default"
8324 if test "x$ac_cv_header_sys_syscall_h" = xyes
8326 printf "%s\n" "#define HAVE_SYS_SYSCALL_H 1" >>confdefs.h
8329 ac_fn_c_check_header_compile
"$LINENO" "sys/sysinfo.h" "ac_cv_header_sys_sysinfo_h" "$ac_includes_default"
8330 if test "x$ac_cv_header_sys_sysinfo_h" = xyes
8332 printf "%s\n" "#define HAVE_SYS_SYSINFO_H 1" >>confdefs.h
8335 ac_fn_c_check_header_compile
"$LINENO" "sys/times.h" "ac_cv_header_sys_times_h" "$ac_includes_default"
8336 if test "x$ac_cv_header_sys_times_h" = xyes
8338 printf "%s\n" "#define HAVE_SYS_TIMES_H 1" >>confdefs.h
8341 ac_fn_c_check_header_compile
"$LINENO" "sys/uio.h" "ac_cv_header_sys_uio_h" "$ac_includes_default"
8342 if test "x$ac_cv_header_sys_uio_h" = xyes
8344 printf "%s\n" "#define HAVE_SYS_UIO_H 1" >>confdefs.h
8347 ac_fn_c_check_header_compile
"$LINENO" "sys/user.h" "ac_cv_header_sys_user_h" "$ac_includes_default"
8348 if test "x$ac_cv_header_sys_user_h" = xyes
8350 printf "%s\n" "#define HAVE_SYS_USER_H 1" >>confdefs.h
8353 ac_fn_c_check_header_compile
"$LINENO" "sys/utsname.h" "ac_cv_header_sys_utsname_h" "$ac_includes_default"
8354 if test "x$ac_cv_header_sys_utsname_h" = xyes
8356 printf "%s\n" "#define HAVE_SYS_UTSNAME_H 1" >>confdefs.h
8359 ac_fn_c_check_header_compile
"$LINENO" "sys/vnode.h" "ac_cv_header_sys_vnode_h" "$ac_includes_default"
8360 if test "x$ac_cv_header_sys_vnode_h" = xyes
8362 printf "%s\n" "#define HAVE_SYS_VNODE_H 1" >>confdefs.h
8365 ac_fn_c_check_header_compile
"$LINENO" "sys/xattr.h" "ac_cv_header_sys_xattr_h" "$ac_includes_default"
8366 if test "x$ac_cv_header_sys_xattr_h" = xyes
8368 printf "%s\n" "#define HAVE_SYS_XATTR_H 1" >>confdefs.h
8371 ac_fn_c_check_header_compile
"$LINENO" "syscall.h" "ac_cv_header_syscall_h" "$ac_includes_default"
8372 if test "x$ac_cv_header_syscall_h" = xyes
8374 printf "%s\n" "#define HAVE_SYSCALL_H 1" >>confdefs.h
8377 ac_fn_c_check_header_compile
"$LINENO" "utime.h" "ac_cv_header_utime_h" "$ac_includes_default"
8378 if test "x$ac_cv_header_utime_h" = xyes
8380 printf "%s\n" "#define HAVE_UTIME_H 1" >>confdefs.h
8383 ac_fn_c_check_header_compile
"$LINENO" "valgrind/memcheck.h" "ac_cv_header_valgrind_memcheck_h" "$ac_includes_default"
8384 if test "x$ac_cv_header_valgrind_memcheck_h" = xyes
8386 printf "%s\n" "#define HAVE_VALGRIND_MEMCHECK_H 1" >>confdefs.h
8389 ac_fn_c_check_header_compile
"$LINENO" "valgrind/valgrind.h" "ac_cv_header_valgrind_valgrind_h" "$ac_includes_default"
8390 if test "x$ac_cv_header_valgrind_valgrind_h" = xyes
8392 printf "%s\n" "#define HAVE_VALGRIND_VALGRIND_H 1" >>confdefs.h
8396 ac_fn_c_check_header_compile
"$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
8397 if test "x$ac_cv_header_sys_mkdev_h" = xyes
8400 printf "%s\n" "#define MAJOR_IN_MKDEV 1" >>confdefs.h
8404 if test $ac_cv_header_sys_mkdev_h = no
; then
8405 ac_fn_c_check_header_compile
"$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
8406 if test "x$ac_cv_header_sys_sysmacros_h" = xyes
8409 printf "%s\n" "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
8414 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
8415 printf %s
"checking whether stat file-mode macros are broken... " >&6; }
8416 if test ${ac_cv_header_stat_broken+y}
8418 printf %s
"(cached) " >&6
8420 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8421 /* end confdefs.h. */
8422 #include <sys/types.h>
8423 #include <sys/stat.h>
8425 #if defined S_ISBLK && defined S_IFDIR
8426 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
8429 #if defined S_ISBLK && defined S_IFCHR
8430 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
8433 #if defined S_ISLNK && defined S_IFREG
8434 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
8437 #if defined S_ISSOCK && defined S_IFREG
8438 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
8442 if ac_fn_c_try_compile
"$LINENO"
8444 ac_cv_header_stat_broken
=no
8446 ac_cv_header_stat_broken
=yes
8448 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
8450 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
8451 printf "%s\n" "$ac_cv_header_stat_broken" >&6; }
8452 if test $ac_cv_header_stat_broken = yes; then
8454 printf "%s\n" "#define STAT_MACROS_BROKEN 1" >>confdefs.h
8460 ac_fn_c_check_header_compile
"$LINENO" "sys/conf.h" "ac_cv_header_sys_conf_h" "#include <sys/types.h>
8461 #ifdef HAVE_SYS_PARAM_H
8462 # include <sys/param.h>
8465 if test "x$ac_cv_header_sys_conf_h" = xyes
8467 printf "%s\n" "#define HAVE_SYS_CONF_H 1" >>confdefs.h
8470 ac_fn_c_check_header_compile
"$LINENO" "sys/mount.h" "ac_cv_header_sys_mount_h" "#include <sys/types.h>
8471 #ifdef HAVE_SYS_PARAM_H
8472 # include <sys/param.h>
8475 if test "x$ac_cv_header_sys_mount_h" = xyes
8477 printf "%s\n" "#define HAVE_SYS_MOUNT_H 1" >>confdefs.h
8480 ac_fn_c_check_header_compile
"$LINENO" "sys/statfs.h" "ac_cv_header_sys_statfs_h" "#include <sys/types.h>
8481 #ifdef HAVE_SYS_PARAM_H
8482 # include <sys/param.h>
8485 if test "x$ac_cv_header_sys_statfs_h" = xyes
8487 printf "%s\n" "#define HAVE_SYS_STATFS_H 1" >>confdefs.h
8490 ac_fn_c_check_header_compile
"$LINENO" "sys/user.h" "ac_cv_header_sys_user_h" "#include <sys/types.h>
8491 #ifdef HAVE_SYS_PARAM_H
8492 # include <sys/param.h>
8495 if test "x$ac_cv_header_sys_user_h" = xyes
8497 printf "%s\n" "#define HAVE_SYS_USER_H 1" >>confdefs.h
8500 ac_fn_c_check_header_compile
"$LINENO" "sys/vfs.h" "ac_cv_header_sys_vfs_h" "#include <sys/types.h>
8501 #ifdef HAVE_SYS_PARAM_H
8502 # include <sys/param.h>
8505 if test "x$ac_cv_header_sys_vfs_h" = xyes
8507 printf "%s\n" "#define HAVE_SYS_VFS_H 1" >>confdefs.h
8512 saved_sysctl_h_CFLAGS
=$CFLAGS
8513 test "x${GCC}" != xyes || CFLAGS
="$CFLAGS -Werror"
8514 ac_fn_c_check_header_compile
"$LINENO" "sys/sysctl.h" "ac_cv_header_sys_sysctl_h" "#include <sys/types.h>
8515 #ifdef HAVE_SYS_PARAM_H
8516 # include <sys/param.h>
8519 if test "x$ac_cv_header_sys_sysctl_h" = xyes
8521 printf "%s\n" "#define HAVE_SYS_SYSCTL_H 1" >>confdefs.h
8525 CFLAGS
=$saved_sysctl_h_CFLAGS
8527 ac_fn_c_check_header_compile
"$LINENO" "netinet/ip.h" "ac_cv_header_netinet_ip_h" "#include <sys/types.h>
8528 #include <sys/socket.h>
8529 #ifdef HAVE_SYS_SOCKETVAR_H
8530 # include <sys/socketvar.h>
8532 #ifdef HAVE_NET_ROUTE_H
8533 # include <net/route.h>
8535 #ifdef HAVE_NETINET_IN_H
8536 # include <netinet/in.h>
8538 #ifdef HAVE_NETINET_IN_SYSTM_H
8539 # include <netinet/in_systm.h>
8541 #ifdef HAVE_NET_IF_H
8542 # include <net/if.h>
8544 #ifdef HAVE_NETINET_IP_H
8545 # include <netinet/ip.h>
8548 if test "x$ac_cv_header_netinet_ip_h" = xyes
8550 printf "%s\n" "#define HAVE_NETINET_IP_H 1" >>confdefs.h
8553 ac_fn_c_check_header_compile
"$LINENO" "net/if.h" "ac_cv_header_net_if_h" "#include <sys/types.h>
8554 #include <sys/socket.h>
8555 #ifdef HAVE_SYS_SOCKETVAR_H
8556 # include <sys/socketvar.h>
8558 #ifdef HAVE_NET_ROUTE_H
8559 # include <net/route.h>
8561 #ifdef HAVE_NETINET_IN_H
8562 # include <netinet/in.h>
8564 #ifdef HAVE_NETINET_IN_SYSTM_H
8565 # include <netinet/in_systm.h>
8567 #ifdef HAVE_NET_IF_H
8568 # include <net/if.h>
8570 #ifdef HAVE_NETINET_IP_H
8571 # include <netinet/ip.h>
8574 if test "x$ac_cv_header_net_if_h" = xyes
8576 printf "%s\n" "#define HAVE_NET_IF_H 1" >>confdefs.h
8579 ac_fn_c_check_header_compile
"$LINENO" "net/if_arp.h" "ac_cv_header_net_if_arp_h" "#include <sys/types.h>
8580 #include <sys/socket.h>
8581 #ifdef HAVE_SYS_SOCKETVAR_H
8582 # include <sys/socketvar.h>
8584 #ifdef HAVE_NET_ROUTE_H
8585 # include <net/route.h>
8587 #ifdef HAVE_NETINET_IN_H
8588 # include <netinet/in.h>
8590 #ifdef HAVE_NETINET_IN_SYSTM_H
8591 # include <netinet/in_systm.h>
8593 #ifdef HAVE_NET_IF_H
8594 # include <net/if.h>
8596 #ifdef HAVE_NETINET_IP_H
8597 # include <netinet/ip.h>
8600 if test "x$ac_cv_header_net_if_arp_h" = xyes
8602 printf "%s\n" "#define HAVE_NET_IF_ARP_H 1" >>confdefs.h
8605 ac_fn_c_check_header_compile
"$LINENO" "net/if_dl.h" "ac_cv_header_net_if_dl_h" "#include <sys/types.h>
8606 #include <sys/socket.h>
8607 #ifdef HAVE_SYS_SOCKETVAR_H
8608 # include <sys/socketvar.h>
8610 #ifdef HAVE_NET_ROUTE_H
8611 # include <net/route.h>
8613 #ifdef HAVE_NETINET_IN_H
8614 # include <netinet/in.h>
8616 #ifdef HAVE_NETINET_IN_SYSTM_H
8617 # include <netinet/in_systm.h>
8619 #ifdef HAVE_NET_IF_H
8620 # include <net/if.h>
8622 #ifdef HAVE_NETINET_IP_H
8623 # include <netinet/ip.h>
8626 if test "x$ac_cv_header_net_if_dl_h" = xyes
8628 printf "%s\n" "#define HAVE_NET_IF_DL_H 1" >>confdefs.h
8631 ac_fn_c_check_header_compile
"$LINENO" "net/if_types.h" "ac_cv_header_net_if_types_h" "#include <sys/types.h>
8632 #include <sys/socket.h>
8633 #ifdef HAVE_SYS_SOCKETVAR_H
8634 # include <sys/socketvar.h>
8636 #ifdef HAVE_NET_ROUTE_H
8637 # include <net/route.h>
8639 #ifdef HAVE_NETINET_IN_H
8640 # include <netinet/in.h>
8642 #ifdef HAVE_NETINET_IN_SYSTM_H
8643 # include <netinet/in_systm.h>
8645 #ifdef HAVE_NET_IF_H
8646 # include <net/if.h>
8648 #ifdef HAVE_NETINET_IP_H
8649 # include <netinet/ip.h>
8652 if test "x$ac_cv_header_net_if_types_h" = xyes
8654 printf "%s\n" "#define HAVE_NET_IF_TYPES_H 1" >>confdefs.h
8657 ac_fn_c_check_header_compile
"$LINENO" "net/route.h" "ac_cv_header_net_route_h" "#include <sys/types.h>
8658 #include <sys/socket.h>
8659 #ifdef HAVE_SYS_SOCKETVAR_H
8660 # include <sys/socketvar.h>
8662 #ifdef HAVE_NET_ROUTE_H
8663 # include <net/route.h>
8665 #ifdef HAVE_NETINET_IN_H
8666 # include <netinet/in.h>
8668 #ifdef HAVE_NETINET_IN_SYSTM_H
8669 # include <netinet/in_systm.h>
8671 #ifdef HAVE_NET_IF_H
8672 # include <net/if.h>
8674 #ifdef HAVE_NETINET_IP_H
8675 # include <netinet/ip.h>
8678 if test "x$ac_cv_header_net_route_h" = xyes
8680 printf "%s\n" "#define HAVE_NET_ROUTE_H 1" >>confdefs.h
8683 ac_fn_c_check_header_compile
"$LINENO" "netinet/if_ether.h" "ac_cv_header_netinet_if_ether_h" "#include <sys/types.h>
8684 #include <sys/socket.h>
8685 #ifdef HAVE_SYS_SOCKETVAR_H
8686 # include <sys/socketvar.h>
8688 #ifdef HAVE_NET_ROUTE_H
8689 # include <net/route.h>
8691 #ifdef HAVE_NETINET_IN_H
8692 # include <netinet/in.h>
8694 #ifdef HAVE_NETINET_IN_SYSTM_H
8695 # include <netinet/in_systm.h>
8697 #ifdef HAVE_NET_IF_H
8698 # include <net/if.h>
8700 #ifdef HAVE_NETINET_IP_H
8701 # include <netinet/ip.h>
8704 if test "x$ac_cv_header_netinet_if_ether_h" = xyes
8706 printf "%s\n" "#define HAVE_NETINET_IF_ETHER_H 1" >>confdefs.h
8709 ac_fn_c_check_header_compile
"$LINENO" "netinet/in_pcb.h" "ac_cv_header_netinet_in_pcb_h" "#include <sys/types.h>
8710 #include <sys/socket.h>
8711 #ifdef HAVE_SYS_SOCKETVAR_H
8712 # include <sys/socketvar.h>
8714 #ifdef HAVE_NET_ROUTE_H
8715 # include <net/route.h>
8717 #ifdef HAVE_NETINET_IN_H
8718 # include <netinet/in.h>
8720 #ifdef HAVE_NETINET_IN_SYSTM_H
8721 # include <netinet/in_systm.h>
8723 #ifdef HAVE_NET_IF_H
8724 # include <net/if.h>
8726 #ifdef HAVE_NETINET_IP_H
8727 # include <netinet/ip.h>
8730 if test "x$ac_cv_header_netinet_in_pcb_h" = xyes
8732 printf "%s\n" "#define HAVE_NETINET_IN_PCB_H 1" >>confdefs.h
8735 ac_fn_c_check_header_compile
"$LINENO" "netinet/ip_icmp.h" "ac_cv_header_netinet_ip_icmp_h" "#include <sys/types.h>
8736 #include <sys/socket.h>
8737 #ifdef HAVE_SYS_SOCKETVAR_H
8738 # include <sys/socketvar.h>
8740 #ifdef HAVE_NET_ROUTE_H
8741 # include <net/route.h>
8743 #ifdef HAVE_NETINET_IN_H
8744 # include <netinet/in.h>
8746 #ifdef HAVE_NETINET_IN_SYSTM_H
8747 # include <netinet/in_systm.h>
8749 #ifdef HAVE_NET_IF_H
8750 # include <net/if.h>
8752 #ifdef HAVE_NETINET_IP_H
8753 # include <netinet/ip.h>
8756 if test "x$ac_cv_header_netinet_ip_icmp_h" = xyes
8758 printf "%s\n" "#define HAVE_NETINET_IP_ICMP_H 1" >>confdefs.h
8761 ac_fn_c_check_header_compile
"$LINENO" "netinet/ip_var.h" "ac_cv_header_netinet_ip_var_h" "#include <sys/types.h>
8762 #include <sys/socket.h>
8763 #ifdef HAVE_SYS_SOCKETVAR_H
8764 # include <sys/socketvar.h>
8766 #ifdef HAVE_NET_ROUTE_H
8767 # include <net/route.h>
8769 #ifdef HAVE_NETINET_IN_H
8770 # include <netinet/in.h>
8772 #ifdef HAVE_NETINET_IN_SYSTM_H
8773 # include <netinet/in_systm.h>
8775 #ifdef HAVE_NET_IF_H
8776 # include <net/if.h>
8778 #ifdef HAVE_NETINET_IP_H
8779 # include <netinet/ip.h>
8782 if test "x$ac_cv_header_netinet_ip_var_h" = xyes
8784 printf "%s\n" "#define HAVE_NETINET_IP_VAR_H 1" >>confdefs.h
8787 ac_fn_c_check_header_compile
"$LINENO" "netinet/udp.h" "ac_cv_header_netinet_udp_h" "#include <sys/types.h>
8788 #include <sys/socket.h>
8789 #ifdef HAVE_SYS_SOCKETVAR_H
8790 # include <sys/socketvar.h>
8792 #ifdef HAVE_NET_ROUTE_H
8793 # include <net/route.h>
8795 #ifdef HAVE_NETINET_IN_H
8796 # include <netinet/in.h>
8798 #ifdef HAVE_NETINET_IN_SYSTM_H
8799 # include <netinet/in_systm.h>
8801 #ifdef HAVE_NET_IF_H
8802 # include <net/if.h>
8804 #ifdef HAVE_NETINET_IP_H
8805 # include <netinet/ip.h>
8808 if test "x$ac_cv_header_netinet_udp_h" = xyes
8810 printf "%s\n" "#define HAVE_NETINET_UDP_H 1" >>confdefs.h
8813 ac_fn_c_check_header_compile
"$LINENO" "netinet6/ip6_var.h" "ac_cv_header_netinet6_ip6_var_h" "#include <sys/types.h>
8814 #include <sys/socket.h>
8815 #ifdef HAVE_SYS_SOCKETVAR_H
8816 # include <sys/socketvar.h>
8818 #ifdef HAVE_NET_ROUTE_H
8819 # include <net/route.h>
8821 #ifdef HAVE_NETINET_IN_H
8822 # include <netinet/in.h>
8824 #ifdef HAVE_NETINET_IN_SYSTM_H
8825 # include <netinet/in_systm.h>
8827 #ifdef HAVE_NET_IF_H
8828 # include <net/if.h>
8830 #ifdef HAVE_NETINET_IP_H
8831 # include <netinet/ip.h>
8834 if test "x$ac_cv_header_netinet6_ip6_var_h" = xyes
8836 printf "%s\n" "#define HAVE_NETINET6_IP6_VAR_H 1" >>confdefs.h
8839 ac_fn_c_check_header_compile
"$LINENO" "netipx/ipx.h" "ac_cv_header_netipx_ipx_h" "#include <sys/types.h>
8840 #include <sys/socket.h>
8841 #ifdef HAVE_SYS_SOCKETVAR_H
8842 # include <sys/socketvar.h>
8844 #ifdef HAVE_NET_ROUTE_H
8845 # include <net/route.h>
8847 #ifdef HAVE_NETINET_IN_H
8848 # include <netinet/in.h>
8850 #ifdef HAVE_NETINET_IN_SYSTM_H
8851 # include <netinet/in_systm.h>
8853 #ifdef HAVE_NET_IF_H
8854 # include <net/if.h>
8856 #ifdef HAVE_NETINET_IP_H
8857 # include <netinet/ip.h>
8860 if test "x$ac_cv_header_netipx_ipx_h" = xyes
8862 printf "%s\n" "#define HAVE_NETIPX_IPX_H 1" >>confdefs.h
8865 ac_fn_c_check_header_compile
"$LINENO" "sys/un.h" "ac_cv_header_sys_un_h" "#include <sys/types.h>
8866 #include <sys/socket.h>
8867 #ifdef HAVE_SYS_SOCKETVAR_H
8868 # include <sys/socketvar.h>
8870 #ifdef HAVE_NET_ROUTE_H
8871 # include <net/route.h>
8873 #ifdef HAVE_NETINET_IN_H
8874 # include <netinet/in.h>
8876 #ifdef HAVE_NETINET_IN_SYSTM_H
8877 # include <netinet/in_systm.h>
8879 #ifdef HAVE_NET_IF_H
8880 # include <net/if.h>
8882 #ifdef HAVE_NETINET_IP_H
8883 # include <netinet/ip.h>
8886 if test "x$ac_cv_header_sys_un_h" = xyes
8888 printf "%s\n" "#define HAVE_SYS_UN_H 1" >>confdefs.h
8893 ac_fn_c_check_header_compile
"$LINENO" "netinet/udp_var.h" "ac_cv_header_netinet_udp_var_h" "#include <sys/types.h>
8894 #include <sys/socket.h>
8895 #ifdef HAVE_SYS_SOCKETVAR_H
8896 # include <sys/socketvar.h>
8898 #ifdef HAVE_NETINET_IN_H
8899 # include <netinet/in.h>
8901 #ifdef HAVE_NETINET_IN_SYSTM_H
8902 # include <netinet/in_systm.h>
8904 #ifdef HAVE_NETINET_IP_H
8905 # include <netinet/ip.h>
8907 #ifdef HAVE_NETINET_IP_VAR_H
8908 # include <netinet/ip_var.h>
8910 #ifdef HAVE_NETINET_IP_ICMP_H
8911 # include <netinet/ip_icmp.h>
8913 #ifdef HAVE_NETINET_UDP_H
8914 # include <netinet/udp.h>
8916 #ifdef HAVE_NETINET_TCP_H
8917 # include <netinet/tcp.h>
8920 if test "x$ac_cv_header_netinet_udp_var_h" = xyes
8922 printf "%s\n" "#define HAVE_NETINET_UDP_VAR_H 1" >>confdefs.h
8925 ac_fn_c_check_header_compile
"$LINENO" "netinet/icmp_var.h" "ac_cv_header_netinet_icmp_var_h" "#include <sys/types.h>
8926 #include <sys/socket.h>
8927 #ifdef HAVE_SYS_SOCKETVAR_H
8928 # include <sys/socketvar.h>
8930 #ifdef HAVE_NETINET_IN_H
8931 # include <netinet/in.h>
8933 #ifdef HAVE_NETINET_IN_SYSTM_H
8934 # include <netinet/in_systm.h>
8936 #ifdef HAVE_NETINET_IP_H
8937 # include <netinet/ip.h>
8939 #ifdef HAVE_NETINET_IP_VAR_H
8940 # include <netinet/ip_var.h>
8942 #ifdef HAVE_NETINET_IP_ICMP_H
8943 # include <netinet/ip_icmp.h>
8945 #ifdef HAVE_NETINET_UDP_H
8946 # include <netinet/udp.h>
8948 #ifdef HAVE_NETINET_TCP_H
8949 # include <netinet/tcp.h>
8952 if test "x$ac_cv_header_netinet_icmp_var_h" = xyes
8954 printf "%s\n" "#define HAVE_NETINET_ICMP_VAR_H 1" >>confdefs.h
8957 ac_fn_c_check_header_compile
"$LINENO" "netinet/icmp6.h" "ac_cv_header_netinet_icmp6_h" "#include <sys/types.h>
8958 #include <sys/socket.h>
8959 #ifdef HAVE_SYS_SOCKETVAR_H
8960 # include <sys/socketvar.h>
8962 #ifdef HAVE_NETINET_IN_H
8963 # include <netinet/in.h>
8965 #ifdef HAVE_NETINET_IN_SYSTM_H
8966 # include <netinet/in_systm.h>
8968 #ifdef HAVE_NETINET_IP_H
8969 # include <netinet/ip.h>
8971 #ifdef HAVE_NETINET_IP_VAR_H
8972 # include <netinet/ip_var.h>
8974 #ifdef HAVE_NETINET_IP_ICMP_H
8975 # include <netinet/ip_icmp.h>
8977 #ifdef HAVE_NETINET_UDP_H
8978 # include <netinet/udp.h>
8980 #ifdef HAVE_NETINET_TCP_H
8981 # include <netinet/tcp.h>
8984 if test "x$ac_cv_header_netinet_icmp6_h" = xyes
8986 printf "%s\n" "#define HAVE_NETINET_ICMP6_H 1" >>confdefs.h
8989 ac_fn_c_check_header_compile
"$LINENO" "netinet/tcp_var.h" "ac_cv_header_netinet_tcp_var_h" "#include <sys/types.h>
8990 #include <sys/socket.h>
8991 #ifdef HAVE_SYS_SOCKETVAR_H
8992 # include <sys/socketvar.h>
8994 #ifdef HAVE_NETINET_IN_H
8995 # include <netinet/in.h>
8997 #ifdef HAVE_NETINET_IN_SYSTM_H
8998 # include <netinet/in_systm.h>
9000 #ifdef HAVE_NETINET_IP_H
9001 # include <netinet/ip.h>
9003 #ifdef HAVE_NETINET_IP_VAR_H
9004 # include <netinet/ip_var.h>
9006 #ifdef HAVE_NETINET_IP_ICMP_H
9007 # include <netinet/ip_icmp.h>
9009 #ifdef HAVE_NETINET_UDP_H
9010 # include <netinet/udp.h>
9012 #ifdef HAVE_NETINET_TCP_H
9013 # include <netinet/tcp.h>
9016 if test "x$ac_cv_header_netinet_tcp_var_h" = xyes
9018 printf "%s\n" "#define HAVE_NETINET_TCP_VAR_H 1" >>confdefs.h
9023 ac_fn_c_check_header_compile
"$LINENO" "linux/ipx.h" "ac_cv_header_linux_ipx_h" "#include <sys/types.h>
9024 #include <sys/socket.h>
9025 #ifdef HAVE_ASM_TYPES_H
9026 # include <asm/types.h>
9028 #ifdef HAVE_LINUX_TYPES_H
9029 # include <linux/types.h>
9032 if test "x$ac_cv_header_linux_ipx_h" = xyes
9034 printf "%s\n" "#define HAVE_LINUX_IPX_H 1" >>confdefs.h
9037 ac_fn_c_check_header_compile
"$LINENO" "linux/irda.h" "ac_cv_header_linux_irda_h" "#include <sys/types.h>
9038 #include <sys/socket.h>
9039 #ifdef HAVE_ASM_TYPES_H
9040 # include <asm/types.h>
9042 #ifdef HAVE_LINUX_TYPES_H
9043 # include <linux/types.h>
9046 if test "x$ac_cv_header_linux_irda_h" = xyes
9048 printf "%s\n" "#define HAVE_LINUX_IRDA_H 1" >>confdefs.h
9051 ac_fn_c_check_header_compile
"$LINENO" "linux/rtnetlink.h" "ac_cv_header_linux_rtnetlink_h" "#include <sys/types.h>
9052 #include <sys/socket.h>
9053 #ifdef HAVE_ASM_TYPES_H
9054 # include <asm/types.h>
9056 #ifdef HAVE_LINUX_TYPES_H
9057 # include <linux/types.h>
9060 if test "x$ac_cv_header_linux_rtnetlink_h" = xyes
9062 printf "%s\n" "#define HAVE_LINUX_RTNETLINK_H 1" >>confdefs.h
9067 ac_fn_c_check_header_compile
"$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
9068 #include <sys/socket.h>
9069 #ifdef HAVE_NETINET_IN_H
9070 # include <netinet/in.h>
9072 #ifdef HAVE_ARPA_NAMESER_H
9073 # include <arpa/nameser.h>
9076 if test "x$ac_cv_header_resolv_h" = xyes
9078 printf "%s\n" "#define HAVE_RESOLV_H 1" >>confdefs.h
9083 ac_fn_c_check_header_compile
"$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
9085 if test "x$ac_cv_header_ifaddrs_h" = xyes
9087 printf "%s\n" "#define HAVE_IFADDRS_H 1" >>confdefs.h
9092 ac_fn_c_check_header_compile
"$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
9094 if test "x$ac_cv_header_sys_ucontext_h" = xyes
9096 printf "%s\n" "#define HAVE_SYS_UCONTEXT_H 1" >>confdefs.h
9101 ac_fn_c_check_header_compile
"$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
9102 #ifdef HAVE_SYS_UCONTEXT_H
9103 #include <sys/ucontext.h>
9106 if test "x$ac_cv_header_sys_thr_h" = xyes
9108 printf "%s\n" "#define HAVE_SYS_THR_H 1" >>confdefs.h
9113 ac_fn_c_check_header_compile
"$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
9114 #include <pthread.h>
9117 if test "x$ac_cv_header_pthread_np_h" = xyes
9119 printf "%s\n" "#define HAVE_PTHREAD_NP_H 1" >>confdefs.h
9124 ac_fn_c_check_header_compile
"$LINENO" "linux/videodev2.h" "ac_cv_header_linux_videodev2_h" "#include <sys/time.h>
9125 #include <sys/types.h>
9126 #ifdef HAVE_ASM_TYPES_H
9127 #include <asm/types.h>
9130 if test "x$ac_cv_header_linux_videodev2_h" = xyes
9132 printf "%s\n" "#define HAVE_LINUX_VIDEODEV2_H 1" >>confdefs.h
9137 ac_fn_c_check_header_compile
"$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
9138 #include <sys/param.h>
9140 #include <sys/socket.h>
9141 #ifdef HAVE_SYS_QUEUE_H
9142 #include <sys/queue.h>
9145 if test "x$ac_cv_header_libprocstat_h" = xyes
9147 printf "%s\n" "#define HAVE_LIBPROCSTAT_H 1" >>confdefs.h
9152 if test "x$ac_cv_header_sys_xattr_h" = xyes
9154 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether getxattr takes additional arguments" >&5
9155 printf %s
"checking whether getxattr takes additional arguments... " >&6; }
9156 if test ${wine_cv_xattr_extra_args+y}
9158 printf %s
"(cached) " >&6
9160 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9161 /* end confdefs.h. */
9162 #include <sys/xattr.h>
9166 getxattr("", "", "", 0, 0, 0);
9171 if ac_fn_c_try_compile
"$LINENO"
9173 wine_cv_xattr_extra_args
=yes
9175 wine_cv_xattr_extra_args
=no
9177 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
9179 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_xattr_extra_args" >&5
9180 printf "%s\n" "$wine_cv_xattr_extra_args" >&6; }
9181 test $wine_cv_xattr_extra_args != yes ||
9182 printf "%s\n" "#define XATTR_ADDITIONAL_OPTIONS 1" >>confdefs.h
9195 UNIXDLLFLAGS
="-fPIC"
9197 UNIXLDFLAGS
="-shared -Wl,-Bsymbolic -Wl,-soname,\$(UNIXLIB)"
9203 WINELOADER_LDFLAGS
=""
9205 WINEPRELOADER_LDFLAGS
=""
9208 # Extract the first word of "ldd", so it can be a program name with args.
9209 set dummy ldd
; ac_word
=$2
9210 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9211 printf %s
"checking for $ac_word... " >&6; }
9212 if test ${ac_cv_path_LDD+y}
9214 printf %s
"(cached) " >&6
9218 ac_cv_path_LDD
="$LDD" # Let the user override the test with a path.
9221 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9222 as_dummy
="/sbin:/usr/sbin:$PATH"
9223 for as_dir
in $as_dummy
9226 case $as_dir in #(((
9229 *) as_dir
=$as_dir/ ;;
9231 for ac_exec_ext
in '' $ac_executable_extensions; do
9232 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
9233 ac_cv_path_LDD
="$as_dir$ac_word$ac_exec_ext"
9234 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9241 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD
="true"
9246 if test -n "$LDD"; then
9247 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
9248 printf "%s\n" "$LDD" >&6; }
9250 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9251 printf "%s\n" "no" >&6; }
9255 if test -n "$ac_tool_prefix"; then
9256 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
9257 set dummy
${ac_tool_prefix}otool
; ac_word
=$2
9258 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9259 printf %s
"checking for $ac_word... " >&6; }
9260 if test ${ac_cv_prog_OTOOL+y}
9262 printf %s
"(cached) " >&6
9264 if test -n "$OTOOL"; then
9265 ac_cv_prog_OTOOL
="$OTOOL" # Let the user override the test.
9267 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9271 case $as_dir in #(((
9274 *) as_dir
=$as_dir/ ;;
9276 for ac_exec_ext
in '' $ac_executable_extensions; do
9277 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
9278 ac_cv_prog_OTOOL
="${ac_tool_prefix}otool"
9279 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9288 OTOOL
=$ac_cv_prog_OTOOL
9289 if test -n "$OTOOL"; then
9290 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
9291 printf "%s\n" "$OTOOL" >&6; }
9293 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9294 printf "%s\n" "no" >&6; }
9299 if test -z "$ac_cv_prog_OTOOL"; then
9301 # Extract the first word of "otool", so it can be a program name with args.
9302 set dummy otool
; ac_word
=$2
9303 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9304 printf %s
"checking for $ac_word... " >&6; }
9305 if test ${ac_cv_prog_ac_ct_OTOOL+y}
9307 printf %s
"(cached) " >&6
9309 if test -n "$ac_ct_OTOOL"; then
9310 ac_cv_prog_ac_ct_OTOOL
="$ac_ct_OTOOL" # Let the user override the test.
9312 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9316 case $as_dir in #(((
9319 *) as_dir
=$as_dir/ ;;
9321 for ac_exec_ext
in '' $ac_executable_extensions; do
9322 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
9323 ac_cv_prog_ac_ct_OTOOL
="otool"
9324 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9333 ac_ct_OTOOL
=$ac_cv_prog_ac_ct_OTOOL
9334 if test -n "$ac_ct_OTOOL"; then
9335 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
9336 printf "%s\n" "$ac_ct_OTOOL" >&6; }
9338 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9339 printf "%s\n" "no" >&6; }
9342 if test "x$ac_ct_OTOOL" = x
; then
9345 case $cross_compiling:$ac_tool_warned in
9347 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9348 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9349 ac_tool_warned
=yes ;;
9354 OTOOL
="$ac_cv_prog_OTOOL"
9357 if test -n "$ac_tool_prefix"; then
9358 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
9359 set dummy
${ac_tool_prefix}readelf
; ac_word
=$2
9360 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9361 printf %s
"checking for $ac_word... " >&6; }
9362 if test ${ac_cv_prog_READELF+y}
9364 printf %s
"(cached) " >&6
9366 if test -n "$READELF"; then
9367 ac_cv_prog_READELF
="$READELF" # Let the user override the test.
9369 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9373 case $as_dir in #(((
9376 *) as_dir
=$as_dir/ ;;
9378 for ac_exec_ext
in '' $ac_executable_extensions; do
9379 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
9380 ac_cv_prog_READELF
="${ac_tool_prefix}readelf"
9381 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9390 READELF
=$ac_cv_prog_READELF
9391 if test -n "$READELF"; then
9392 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
9393 printf "%s\n" "$READELF" >&6; }
9395 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9396 printf "%s\n" "no" >&6; }
9401 if test -z "$ac_cv_prog_READELF"; then
9402 ac_ct_READELF
=$READELF
9403 # Extract the first word of "readelf", so it can be a program name with args.
9404 set dummy readelf
; ac_word
=$2
9405 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9406 printf %s
"checking for $ac_word... " >&6; }
9407 if test ${ac_cv_prog_ac_ct_READELF+y}
9409 printf %s
"(cached) " >&6
9411 if test -n "$ac_ct_READELF"; then
9412 ac_cv_prog_ac_ct_READELF
="$ac_ct_READELF" # Let the user override the test.
9414 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9418 case $as_dir in #(((
9421 *) as_dir
=$as_dir/ ;;
9423 for ac_exec_ext
in '' $ac_executable_extensions; do
9424 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
9425 ac_cv_prog_ac_ct_READELF
="readelf"
9426 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9435 ac_ct_READELF
=$ac_cv_prog_ac_ct_READELF
9436 if test -n "$ac_ct_READELF"; then
9437 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
9438 printf "%s\n" "$ac_ct_READELF" >&6; }
9440 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9441 printf "%s\n" "no" >&6; }
9444 if test "x$ac_ct_READELF" = x
; then
9447 case $cross_compiling:$ac_tool_warned in
9449 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9450 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9451 ac_tool_warned
=yes ;;
9453 READELF
=$ac_ct_READELF
9456 READELF
="$ac_cv_prog_READELF"
9464 CONFIGURE_TARGETS
=""
9467 wine_fn_config_makefile
()
9469 as_fn_append SUBDIRS
" \\$as_nl $1"
9472 no
) as_fn_append DISABLED_SUBDIRS
" $1" ;;
9473 *aarch64
*|
*arm
*|
*i386
*|
*x86_64
*)
9474 if test -n "$PE_ARCHS"
9478 test $
(expr ",$enable," : ".*,$i,") -gt 0 || as_fn_append
${i}_DISABLED_SUBDIRS
" $1"
9481 test $
(expr ",$enable," : ".*,$HOST_ARCH,") -gt 0 || as_fn_append DISABLED_SUBDIRS
" $1"
9486 wine_fn_config_symlink
()
9489 as_fn_append wine_rules
"
9491 @./config.status \$@"
9492 for f
in $ac_links; do as_fn_append CONFIGURE_TARGETS
" $f"; done
9496 test "$HOST_ARCH" != x86_64 || wine_binary
="wine64"
9497 WINELOADER_PROGRAMS
="$wine_binary"
9499 libwine_soversion
=`expr $libwine_version : '\([0-9]*\)\..*'`
9504 EXTRACFLAGS
="-D__WINE_PE_BUILD"
9506 *i
[3456]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--disable-stdcall-fixup" >&5
9507 printf %s
"checking whether the compiler supports -Wl,--disable-stdcall-fixup... " >&6; }
9508 if test ${ac_cv_cflags__Wl___disable_stdcall_fixup+y}
9510 printf %s
"(cached) " >&6
9512 ac_wine_try_cflags_saved
=$CFLAGS
9513 CFLAGS
="$CFLAGS -Wl,--disable-stdcall-fixup"
9514 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9515 /* end confdefs.h. */
9516 int main(int argc, char **argv) { return 0; }
9518 if ac_fn_c_try_link
"$LINENO"
9520 ac_cv_cflags__Wl___disable_stdcall_fixup
=yes
9522 ac_cv_cflags__Wl___disable_stdcall_fixup
=no
9524 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
9525 conftest
$ac_exeext conftest.
$ac_ext
9526 CFLAGS
=$ac_wine_try_cflags_saved
9528 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___disable_stdcall_fixup" >&5
9529 printf "%s\n" "$ac_cv_cflags__Wl___disable_stdcall_fixup" >&6; }
9530 if test "x$ac_cv_cflags__Wl___disable_stdcall_fixup" = xyes
9532 LDDLLFLAGS
="-Wl,--disable-stdcall-fixup"
9535 enable_loader
=${enable_loader:-no}
9536 enable_server
=${enable_server:-no}
9537 with_x
=${with_x:-no}
9538 with_pthread
=${with_pthread:-no}
9543 ac_cpp
='$OBJCPP $CPPFLAGS'
9544 ac_compile
='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9545 ac_link
='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9546 ac_compiler_gnu
=$ac_cv_objc_compiler_gnu
9549 ac_cpp
='$OBJCPP $CPPFLAGS'
9550 ac_compile
='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9551 ac_link
='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9552 ac_compiler_gnu
=$ac_cv_objc_compiler_gnu
9553 if test -n "$ac_tool_prefix"; then
9554 for ac_prog
in gcc objcc objc cc CC clang
9556 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
9557 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
9558 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9559 printf %s
"checking for $ac_word... " >&6; }
9560 if test ${ac_cv_prog_OBJC+y}
9562 printf %s
"(cached) " >&6
9564 if test -n "$OBJC"; then
9565 ac_cv_prog_OBJC
="$OBJC" # Let the user override the test.
9567 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9571 case $as_dir in #(((
9574 *) as_dir
=$as_dir/ ;;
9576 for ac_exec_ext
in '' $ac_executable_extensions; do
9577 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
9578 ac_cv_prog_OBJC
="$ac_tool_prefix$ac_prog"
9579 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9588 OBJC
=$ac_cv_prog_OBJC
9589 if test -n "$OBJC"; then
9590 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OBJC" >&5
9591 printf "%s\n" "$OBJC" >&6; }
9593 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9594 printf "%s\n" "no" >&6; }
9598 test -n "$OBJC" && break
9601 if test -z "$OBJC"; then
9603 for ac_prog
in gcc objcc objc cc CC clang
9605 # Extract the first word of "$ac_prog", so it can be a program name with args.
9606 set dummy
$ac_prog; ac_word
=$2
9607 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9608 printf %s
"checking for $ac_word... " >&6; }
9609 if test ${ac_cv_prog_ac_ct_OBJC+y}
9611 printf %s
"(cached) " >&6
9613 if test -n "$ac_ct_OBJC"; then
9614 ac_cv_prog_ac_ct_OBJC
="$ac_ct_OBJC" # Let the user override the test.
9616 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9620 case $as_dir in #(((
9623 *) as_dir
=$as_dir/ ;;
9625 for ac_exec_ext
in '' $ac_executable_extensions; do
9626 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
9627 ac_cv_prog_ac_ct_OBJC
="$ac_prog"
9628 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9637 ac_ct_OBJC
=$ac_cv_prog_ac_ct_OBJC
9638 if test -n "$ac_ct_OBJC"; then
9639 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJC" >&5
9640 printf "%s\n" "$ac_ct_OBJC" >&6; }
9642 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9643 printf "%s\n" "no" >&6; }
9647 test -n "$ac_ct_OBJC" && break
9650 if test "x$ac_ct_OBJC" = x
; then
9653 case $cross_compiling:$ac_tool_warned in
9655 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9656 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9657 ac_tool_warned
=yes ;;
9663 # Provide some information about the compiler.
9664 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for Objective C compiler version" >&5
9667 for ac_option
in --version -v -V -qversion; do
9668 { { ac_try
="$ac_compiler $ac_option >&5"
9670 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9671 *) ac_try_echo=$ac_try;;
9673 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
9674 printf "%s\n" "$ac_try_echo"; } >&5
9675 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
9677 if test -s conftest.err; then
9679 ... rest of stderr output deleted ...
9680 10q' conftest.err >conftest.er1
9681 cat conftest.er1 >&5
9683 rm -f conftest.er1 conftest.err
9684 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9685 test $ac_status = 0; }
9688 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU Objective C" >&5
9689 printf %s "checking whether the compiler supports GNU Objective C... " >&6; }
9690 if test ${ac_cv_objc_compiler_gnu+y}
9692 printf %s "(cached) " >&6
9694 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9695 /* end confdefs.h. */
9708 if ac_fn_objc_try_compile "$LINENO"
9714 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9715 ac_cv_objc_compiler_gnu=$ac_compiler_gnu
9718 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objc_compiler_gnu" >&5
9719 printf "%s\n" "$ac_cv_objc_compiler_gnu" >&6; }
9720 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9722 if test $ac_compiler_gnu = yes; then
9727 ac_test_OBJCFLAGS=${OBJCFLAGS+y}
9728 ac_save_OBJCFLAGS=$OBJCFLAGS
9729 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $OBJC accepts -g" >&5
9730 printf %s "checking whether $OBJC accepts -g... " >&6; }
9731 if test ${ac_cv_prog_objc_g+y}
9733 printf %s "(cached) " >&6
9735 ac_save_objc_werror_flag=$ac_objc_werror_flag
9736 ac_objc_werror_flag=yes
9737 ac_cv_prog_objc_g=no
9739 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9740 /* end confdefs.h. */
9750 if ac_fn_objc_try_compile "$LINENO"
9752 ac_cv_prog_objc_g=yes
9755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9756 /* end confdefs.h. */
9766 if ac_fn_objc_try_compile "$LINENO"
9770 ac_objc_werror_flag=$ac_save_objc_werror_flag
9772 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9773 /* end confdefs.h. */
9783 if ac_fn_objc_try_compile "$LINENO"
9785 ac_cv_prog_objc_g=yes
9787 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9789 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9791 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9792 ac_objc_werror_flag=$ac_save_objc_werror_flag
9794 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objc_g" >&5
9795 printf "%s\n" "$ac_cv_prog_objc_g" >&6; }
9796 if test $ac_test_OBJCFLAGS; then
9797 OBJCFLAGS=$ac_save_OBJCFLAGS
9798 elif test $ac_cv_prog_objc_g = yes; then
9799 if test "$GOBJC" = yes; then
9805 if test "$GOBJC" = yes; then
9812 ac_cpp='$OBJCPP $CPPFLAGS'
9813 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9814 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9815 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9818 ac_fn_objc_check_header_compile "$LINENO" "Metal/Metal.h" "ac_cv_header_Metal_Metal_h" "$ac_includes_default"
9819 if test "x$ac_cv_header_Metal_Metal_h" = xyes
9821 printf "%s\n" "#define HAVE_METAL_METAL_H 1" >>confdefs.h
9826 ac_cpp='$CPP $CPPFLAGS'
9827 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9828 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9829 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9832 DLLFLAGS="$DLLFLAGS -fPIC"
9834 COREFOUNDATION_LIBS="-framework CoreFoundation"
9836 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
9838 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
9840 CORESERVICES_LIBS="-framework CoreServices"
9842 APPKIT_LIBS="-framework AppKit"
9844 SYSTEMCONFIGURATION_LIBS="-framework SystemConfiguration"
9847 WINELOADER_LDFLAGS="-Wl,-pie,-segalign,0x1000,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,loader/wine_info.plist"
9849 wine_can_build_preloader=yes
9850 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"
9851 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main" >&5
9852 printf %s "checking whether the compiler supports -Wl,-no_new_main -e _main... " >&6; }
9853 if test ${ac_cv_cflags__Wl__no_new_main__e__main+y}
9855 printf %s "(cached) " >&6
9857 ac_wine_try_cflags_saved=$CFLAGS
9858 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main"
9859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9860 /* end confdefs.h. */
9861 int main(int argc, char **argv) { return 0; }
9863 if ac_fn_c_try_link "$LINENO"
9865 ac_cv_cflags__Wl__no_new_main__e__main=yes
9867 ac_cv_cflags__Wl__no_new_main__e__main=no
9869 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9870 conftest$ac_exeext conftest.$ac_ext
9871 CFLAGS=$ac_wine_try_cflags_saved
9873 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main" >&5
9874 printf "%s\n" "$ac_cv_cflags__Wl__no_new_main__e__main" >&6; }
9875 if test "x$ac_cv_cflags__Wl__no_new_main__e__main" = xyes
9877 WINEPRELOADER_LDFLAGS="-Wl,-no_new_main $WINEPRELOADER_LDFLAGS"
9878 { 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
9879 printf %s "checking whether the compiler supports -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
9880 if test ${ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+y}
9882 printf %s "(cached) " >&6
9884 ac_wine_try_cflags_saved=$CFLAGS
9885 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
9886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9887 /* end confdefs.h. */
9888 int main(int argc, char **argv) { return 0; }
9890 if ac_fn_c_try_link "$LINENO"
9892 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
9894 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
9896 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9897 conftest$ac_exeext conftest.$ac_ext
9898 CFLAGS=$ac_wine_try_cflags_saved
9900 { 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
9901 printf "%s\n" "$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
9902 if test "x$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes
9904 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
9906 wine_can_build_preloader=no
9909 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs" >&5
9910 printf %s "checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
9911 if test ${ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+y}
9913 printf %s "(cached) " >&6
9915 ac_wine_try_cflags_saved=$CFLAGS
9916 CFLAGS="$CFLAGS -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
9917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9918 /* end confdefs.h. */
9919 int main(int argc, char **argv) { return 0; }
9921 if ac_fn_c_try_link "$LINENO"
9923 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
9925 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
9927 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9928 conftest$ac_exeext conftest.$ac_ext
9929 CFLAGS=$ac_wine_try_cflags_saved
9931 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&5
9932 printf "%s\n" "$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
9933 if test "x$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes
9935 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
9937 wine_can_build_preloader=no
9940 if test "$wine_can_build_preloader" = "yes"
9942 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
9943 printf %s "checking whether the compiler supports -Wl,-no_pie... " >&6; }
9944 if test ${ac_cv_cflags__Wl__no_pie+y}
9946 printf %s "(cached) " >&6
9948 ac_wine_try_cflags_saved=$CFLAGS
9949 CFLAGS="$CFLAGS -Wl,-no_pie"
9950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9951 /* end confdefs.h. */
9952 int main(int argc, char **argv) { return 0; }
9954 if ac_fn_c_try_link "$LINENO"
9956 ac_cv_cflags__Wl__no_pie=yes
9958 ac_cv_cflags__Wl__no_pie=no
9960 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9961 conftest$ac_exeext conftest.$ac_ext
9962 CFLAGS=$ac_wine_try_cflags_saved
9964 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
9965 printf "%s\n" "$ac_cv_cflags__Wl__no_pie" >&6; }
9966 if test "x$ac_cv_cflags__Wl__no_pie" = xyes
9968 WINEPRELOADER_LDFLAGS="-Wl,-no_pie $WINEPRELOADER_LDFLAGS"
9970 test "$wine_binary" = wine || as_fn_append CONFIGURE_TARGETS " loader/wine-preloader"
9971 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
9973 as_fn_append wine_warnings "|can't build Wine preloader; many programs won't work"
9976 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
9978 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
9981 if test "$ac_cv_header_Security_Security_h" = "yes"
9983 SECURITY_LIBS="-framework Security -framework CoreFoundation"
9986 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes"
9988 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
9990 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
9992 if test "$ac_cv_header_OpenAL_al_h" = "yes"
9994 OPENAL_LIBS="-framework OpenAL"
9997 printf "%s\n" "#define HAVE_OPENAL 1" >>confdefs.h
9999 ac_cv_lib_openal=yes
10001 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
10003 OPENCL_LIBS="-framework OpenCL"
10005 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
10007 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
10009 ac_save_LIBS="$LIBS"
10010 LIBS="$LIBS $IOKIT_LIBS"
10011 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
10012 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes
10014 printf "%s\n" "#define HAVE_IOHIDMANAGERCREATE 1" >>confdefs.h
10018 LIBS="$ac_save_LIBS"
10021 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
10023 CARBON_LIBS="-framework Carbon"
10026 if test "$ac_cv_header_Metal_Metal_h" = "yes"
10028 METAL_LIBS="-framework Metal"
10032 if test "$ac_cv_header_Metal_Metal_h" = "yes"
10034 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether MTLDevice protocol supports registryID property" >&5
10035 printf %s "checking whether MTLDevice protocol supports registryID property... " >&6; }
10037 ac_cpp='$OBJCPP $CPPFLAGS'
10038 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10039 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10040 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
10042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10043 /* end confdefs.h. */
10044 #include <Metal/Metal.h>
10048 id<MTLDevice> device; device.registryID;
10053 if ac_fn_objc_try_compile "$LINENO"
10055 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10056 printf "%s\n" "yes" >&6; }
10058 printf "%s\n" "#define HAVE_MTLDEVICE_REGISTRYID 1" >>confdefs.h
10061 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10062 printf "%s\n" "no" >&6; }
10064 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10066 ac_cpp='$CPP $CPPFLAGS'
10067 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10068 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10069 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10073 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
10075 ac_save_LIBS="$LIBS"
10076 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
10077 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
10078 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes
10080 enable_winemac_drv=${enable_winemac_drv:-yes}
10083 LIBS="$ac_save_LIBS"
10086 UNIXLDFLAGS="-dynamiclib -install_name @rpath/\$(UNIXLIB) -Wl,-rpath,@loader_path\/"
10087 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
10089 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
10091 WINELOADER_DEPENDS="wine_info.plist"
10093 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.$libwine_version.dylib libs/wine/libwine.$libwine_soversion.dylib"
10098 printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h
10100 DLLFLAGS="$DLLFLAGS -fPIC"
10102 LDEXECFLAGS="-Wl,-pie"
10103 enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
10104 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,defs" >&5
10105 printf %s "checking whether the compiler supports -Wl,-z,defs... " >&6; }
10106 if test ${ac_cv_cflags__Wl__z_defs+y}
10108 printf %s "(cached) " >&6
10110 ac_wine_try_cflags_saved=$CFLAGS
10111 CFLAGS="$CFLAGS -Wl,-z,defs"
10112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10113 /* end confdefs.h. */
10114 int main(int argc, char **argv) { return 0; }
10116 if ac_fn_c_try_link "$LINENO"
10118 ac_cv_cflags__Wl__z_defs=yes
10120 ac_cv_cflags__Wl__z_defs=no
10122 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10123 conftest$ac_exeext conftest.$ac_ext
10124 CFLAGS=$ac_wine_try_cflags_saved
10126 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_defs" >&5
10127 printf "%s\n" "$ac_cv_cflags__Wl__z_defs" >&6; }
10128 if test "x$ac_cv_cflags__Wl__z_defs" = xyes
10130 UNIXLDFLAGS="$UNIXLDFLAGS -Wl,-z,defs"
10132 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
10133 printf %s "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
10134 if test ${ac_cv_cflags__fPIC__Wl___export_dynamic+y}
10136 printf %s "(cached) " >&6
10138 ac_wine_try_cflags_saved=$CFLAGS
10139 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
10140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10141 /* end confdefs.h. */
10142 int main(int argc, char **argv) { return 0; }
10144 if ac_fn_c_try_link "$LINENO"
10146 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
10148 ac_cv_cflags__fPIC__Wl___export_dynamic=no
10150 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10151 conftest$ac_exeext conftest.$ac_ext
10152 CFLAGS=$ac_wine_try_cflags_saved
10154 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
10155 printf "%s\n" "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
10156 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes
10158 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
10160 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
10162 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
10163 printf %s "checking for -lEGL... " >&6; }
10164 if test ${ac_cv_lib_soname_EGL+y}
10166 printf %s "(cached) " >&6
10168 ac_check_soname_save_LIBS=$LIBS
10170 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10171 /* end confdefs.h. */
10173 /* Override any GCC internal prototype to avoid an error.
10174 Use char because int might match the return type of a GCC
10175 builtin and then its argument prototype would still apply. */
10176 char eglGetProcAddress ();
10180 return eglGetProcAddress ();
10185 if ac_fn_c_try_link "$LINENO"
10188 dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe |
grep "EGL" |
sed -e "s/dll.*/dll/"';2,$d'` ;;
10189 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'` ;;
10190 *) ac_cv_lib_soname_EGL=`$READELF -d conftest
$ac_exeext |
grep "NEEDED.*libEGL\\.$LIBEXT" |
sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10191 if ${ac_cv_lib_soname_EGL:+false} :
10193 ac_cv_lib_soname_EGL=`$LDD conftest
$ac_exeext |
grep "libEGL\\.$LIBEXT" |
sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10197 ac_cv_lib_soname_EGL=
10199 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10200 conftest$ac_exeext conftest.$ac_ext
10201 LIBS=$ac_check_soname_save_LIBS
10203 if ${ac_cv_lib_soname_EGL:+false} :
10205 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10206 printf "%s\n" "not found" >&6; }
10209 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
10210 printf "%s\n" "$ac_cv_lib_soname_EGL" >&6; }
10212 printf "%s\n" "#define SONAME_LIBEGL \"$ac_cv_lib_soname_EGL\"" >>confdefs.h
10216 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
10217 printf %s "checking for -lGLESv2... " >&6; }
10218 if test ${ac_cv_lib_soname_GLESv2+y}
10220 printf %s "(cached) " >&6
10222 ac_check_soname_save_LIBS=$LIBS
10223 LIBS="-lGLESv2 $LIBS"
10224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10225 /* end confdefs.h. */
10227 /* Override any GCC internal prototype to avoid an error.
10228 Use char because int might match the return type of a GCC
10229 builtin and then its argument prototype would still apply. */
10239 if ac_fn_c_try_link "$LINENO"
10242 dll) ac_cv_lib_soname_GLESv2=`$ac_cv_path_LDD conftest.exe |
grep "GLESv2" |
sed -e "s/dll.*/dll/"';2,$d'` ;;
10243 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'` ;;
10244 *) ac_cv_lib_soname_GLESv2=`$READELF -d conftest
$ac_exeext |
grep "NEEDED.*libGLESv2\\.$LIBEXT" |
sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10245 if ${ac_cv_lib_soname_GLESv2:+false} :
10247 ac_cv_lib_soname_GLESv2=`$LDD conftest
$ac_exeext |
grep "libGLESv2\\.$LIBEXT" |
sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10251 ac_cv_lib_soname_GLESv2=
10253 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10254 conftest$ac_exeext conftest.$ac_ext
10255 LIBS=$ac_check_soname_save_LIBS
10257 if ${ac_cv_lib_soname_GLESv2:+false} :
10259 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10260 printf "%s\n" "not found" >&6; }
10263 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
10264 printf "%s\n" "$ac_cv_lib_soname_GLESv2" >&6; }
10266 printf "%s\n" "#define SONAME_LIBGLESV2 \"$ac_cv_lib_soname_GLESv2\"" >>confdefs.h
10271 if test "x$exec_prefix" = xNONE
10274 *i[3456]86*) exec_prefix='${prefix}/x86' ;;
10275 *x86_64*) exec_prefix='${prefix}/x86_64' ;;
10276 *arm*) exec_prefix='${prefix}/armeabi-v7a' ;;
10277 *aarch64*) exec_prefix='${prefix}/arm64-v8a' ;;
10284 printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h
10286 test "$ac_cv_sys_file_offset_bits" = 64 &&
10287 printf "%s\n" "#define _TIME_BITS 64" >>confdefs.h
10291 DLLFLAGS="$DLLFLAGS -fno-PIC"
10292 LDDLLFLAGS="-fno-PIC"
10293 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-PIC -Wl,-z,notext" >&5
10294 printf %s "checking whether the compiler supports -fno-PIC -Wl,-z,notext... " >&6; }
10295 if test ${ac_cv_cflags__fno_PIC__Wl__z_notext+y}
10297 printf %s "(cached) " >&6
10299 ac_wine_try_cflags_saved=$CFLAGS
10300 CFLAGS="$CFLAGS -fno-PIC -Wl,-z,notext"
10301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10302 /* end confdefs.h. */
10303 int main(int argc, char **argv) { return 0; }
10305 if ac_fn_c_try_link "$LINENO"
10307 ac_cv_cflags__fno_PIC__Wl__z_notext=yes
10309 ac_cv_cflags__fno_PIC__Wl__z_notext=no
10311 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10312 conftest$ac_exeext conftest.$ac_ext
10313 CFLAGS=$ac_wine_try_cflags_saved
10315 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_PIC__Wl__z_notext" >&5
10316 printf "%s\n" "$ac_cv_cflags__fno_PIC__Wl__z_notext" >&6; }
10317 if test "x$ac_cv_cflags__fno_PIC__Wl__z_notext" = xyes
10319 LDDLLFLAGS="$LDDLLFLAGS -Wl,-z,notext"
10323 DLLFLAGS="$DLLFLAGS -fPIC"
10324 LDDLLFLAGS="-fPIC" ;;
10326 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
10328 echo '{ global: *; };' >conftest.map
10329 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,--version-script=conftest.map" >&5
10330 printf %s "checking whether the compiler supports -shared -Wl,--version-script=conftest.map... " >&6; }
10331 if test ${ac_cv_cflags__shared__Wl___version_script_conftest_map+y}
10333 printf %s "(cached) " >&6
10335 ac_wine_try_cflags_saved=$CFLAGS
10336 CFLAGS="$CFLAGS -shared -Wl,--version-script=conftest.map"
10337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10338 /* end confdefs.h. */
10339 int main(int argc, char **argv) { return 0; }
10341 if ac_fn_c_try_link "$LINENO"
10343 ac_cv_cflags__shared__Wl___version_script_conftest_map=yes
10345 ac_cv_cflags__shared__Wl___version_script_conftest_map=no
10347 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10348 conftest$ac_exeext conftest.$ac_ext
10349 CFLAGS=$ac_wine_try_cflags_saved
10351 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl___version_script_conftest_map" >&5
10352 printf "%s\n" "$ac_cv_cflags__shared__Wl___version_script_conftest_map" >&6; }
10353 if test "x$ac_cv_cflags__shared__Wl___version_script_conftest_map" = xyes
10355 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
10359 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,defs" >&5
10360 printf %s "checking whether the compiler supports -Wl,-z,defs... " >&6; }
10361 if test ${ac_cv_cflags__Wl__z_defs+y}
10363 printf %s "(cached) " >&6
10365 ac_wine_try_cflags_saved=$CFLAGS
10366 CFLAGS="$CFLAGS -Wl,-z,defs"
10367 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10368 /* end confdefs.h. */
10369 int main(int argc, char **argv) { return 0; }
10371 if ac_fn_c_try_link "$LINENO"
10373 ac_cv_cflags__Wl__z_defs=yes
10375 ac_cv_cflags__Wl__z_defs=no
10377 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10378 conftest$ac_exeext conftest.$ac_ext
10379 CFLAGS=$ac_wine_try_cflags_saved
10381 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_defs" >&5
10382 printf "%s\n" "$ac_cv_cflags__Wl__z_defs" >&6; }
10383 if test "x$ac_cv_cflags__Wl__z_defs" = xyes
10385 UNIXLDFLAGS="$UNIXLDFLAGS -Wl,-z,defs"
10387 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--export-dynamic" >&5
10388 printf %s "checking whether the compiler supports -Wl,--export-dynamic... " >&6; }
10389 if test ${ac_cv_cflags__Wl___export_dynamic+y}
10391 printf %s "(cached) " >&6
10393 ac_wine_try_cflags_saved=$CFLAGS
10394 CFLAGS="$CFLAGS -Wl,--export-dynamic"
10395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10396 /* end confdefs.h. */
10397 int main(int argc, char **argv) { return 0; }
10399 if ac_fn_c_try_link "$LINENO"
10401 ac_cv_cflags__Wl___export_dynamic=yes
10403 ac_cv_cflags__Wl___export_dynamic=no
10405 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10406 conftest$ac_exeext conftest.$ac_ext
10407 CFLAGS=$ac_wine_try_cflags_saved
10409 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___export_dynamic" >&5
10410 printf "%s\n" "$ac_cv_cflags__Wl___export_dynamic" >&6; }
10411 if test "x$ac_cv_cflags__Wl___export_dynamic" = xyes
10413 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
10415 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
10418 *i[3456789]86* | x86_64 | *aarch64* | arm*)
10419 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
10420 printf %s "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
10421 if test ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+y}
10423 printf %s "(cached) " >&6
10425 ac_wine_try_cflags_saved=$CFLAGS
10426 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
10427 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10428 /* end confdefs.h. */
10429 int main(int argc, char **argv) { return 0; }
10431 if ac_fn_c_try_link "$LINENO"
10433 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
10435 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
10437 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10438 conftest$ac_exeext conftest.$ac_ext
10439 CFLAGS=$ac_wine_try_cflags_saved
10441 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
10442 printf "%s\n" "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
10443 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes
10446 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x60000000" ;;
10447 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x7d000000" ;;
10450 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7d000400" >&5
10451 printf %s "checking whether the compiler supports -Wl,--section-start,.interp=0x7d000400... " >&6; }
10452 if test ${ac_cv_cflags__Wl___section_start__interp_0x7d000400+y}
10454 printf %s "(cached) " >&6
10456 ac_wine_try_cflags_saved=$CFLAGS
10457 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7d000400"
10458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10459 /* end confdefs.h. */
10460 int main(int argc, char **argv) { return 0; }
10462 if ac_fn_c_try_link "$LINENO"
10464 ac_cv_cflags__Wl___section_start__interp_0x7d000400=yes
10466 ac_cv_cflags__Wl___section_start__interp_0x7d000400=no
10468 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10469 conftest$ac_exeext conftest.$ac_ext
10470 CFLAGS=$ac_wine_try_cflags_saved
10472 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7d000400" >&5
10473 printf "%s\n" "$ac_cv_cflags__Wl___section_start__interp_0x7d000400" >&6; }
10474 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7d000400" = xyes
10477 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x60000400" ;;
10478 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x7d000400" ;;
10481 # Extract the first word of "prelink", so it can be a program name with args.
10482 set dummy prelink; ac_word=$2
10483 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10484 printf %s "checking for $ac_word... " >&6; }
10485 if test ${ac_cv_path_PRELINK+y}
10487 printf %s "(cached) " >&6
10491 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
10494 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10495 for as_dir in /sbin /usr/sbin $PATH
10498 case $as_dir in #(((
10501 *) as_dir=$as_dir/ ;;
10503 for ac_exec_ext in '' $ac_executable_extensions; do
10504 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10505 ac_cv_path_PRELINK="$as_dir$ac_word$ac_exec_ext"
10506 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10513 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
10517 PRELINK=$ac_cv_path_PRELINK
10518 if test -n "$PRELINK"; then
10519 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
10520 printf "%s\n" "$PRELINK" >&6; }
10522 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10523 printf "%s\n" "no" >&6; }
10527 if test "x$PRELINK" = xfalse
10529 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
10532 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
10533 printf %s "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
10534 if test ${ac_cv_cflags__Wl__z_max_page_size_0x1000+y}
10536 printf %s "(cached) " >&6
10538 ac_wine_try_cflags_saved=$CFLAGS
10539 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
10540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10541 /* end confdefs.h. */
10542 int main(int argc, char **argv) { return 0; }
10544 if ac_fn_c_try_link "$LINENO"
10546 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
10548 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
10550 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10551 conftest$ac_exeext conftest.$ac_ext
10552 CFLAGS=$ac_wine_try_cflags_saved
10554 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
10555 printf "%s\n" "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
10556 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes
10558 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-z,max-page-size=0x1000"
10562 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
10564 LIBWINE_DEPENDS="wine.map"
10566 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.so.$libwine_version libs/wine/libwine.so.$libwine_soversion"
10570 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
10571 enable_wineandroid_drv=${enable_wineandroid_drv:-no}
10572 enable_winemac_drv=${enable_winemac_drv:-no}
10577 if test ${enable_archs+y}
10579 test "x$with_system_dllpath" = "x" || as_fn_error $? "\"The --with-system-dllpath option is not compatible with --enable-archs\"" "$LINENO" 5
10582 set x $enable_archs
10588 i386|x86_64|arm|aarch64) cross_archs="$cross_archs $arch" ;;
10589 *) as_fn_error $? "Unknown cross-compilation architecture '$arch'" "$LINENO" 5 ;;
10593 if test "x$with_mingw" != xno
10595 test $HOST_ARCH = unknown || cross_archs=$HOST_ARCH
10596 case "x$with_mingw" in
10598 *) eval "${cross_archs}_CC=\$with_mingw" ;;
10603 for wine_arch in $cross_archs
10605 if eval \${${wine_arch}_CC:+false} :
10609 for ac_prog in aarch64-w64-mingw32-clang aarch64-w64-mingw32-gcc clang
10611 # Extract the first word of "$ac_prog", so it can be a program name with args.
10612 set dummy $ac_prog; ac_word=$2
10613 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10614 printf %s "checking for $ac_word... " >&6; }
10615 if test ${ac_cv_prog_aarch64_CC+y}
10617 printf %s "(cached) " >&6
10619 if test -n "$aarch64_CC"; then
10620 ac_cv_prog_aarch64_CC="$aarch64_CC" # Let the user override the test.
10622 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10623 for as_dir in $PATH
10626 case $as_dir in #(((
10629 *) as_dir=$as_dir/ ;;
10631 for ac_exec_ext in '' $ac_executable_extensions; do
10632 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10633 ac_cv_prog_aarch64_CC="$ac_prog"
10634 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10643 aarch64_CC=$ac_cv_prog_aarch64_CC
10644 if test -n "$aarch64_CC"; then
10645 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $aarch64_CC" >&5
10646 printf "%s\n" "$aarch64_CC" >&6; }
10648 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10649 printf "%s\n" "no" >&6; }
10653 test -n "$aarch64_CC" && break
10655 test -n "$aarch64_CC" || aarch64_CC="false"
10659 for ac_prog in armv7-w64-mingw32-clang armv7-w64-mingw32-gcc clang
10661 # Extract the first word of "$ac_prog", so it can be a program name with args.
10662 set dummy $ac_prog; ac_word=$2
10663 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10664 printf %s "checking for $ac_word... " >&6; }
10665 if test ${ac_cv_prog_arm_CC+y}
10667 printf %s "(cached) " >&6
10669 if test -n "$arm_CC"; then
10670 ac_cv_prog_arm_CC="$arm_CC" # Let the user override the test.
10672 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10673 for as_dir in $PATH
10676 case $as_dir in #(((
10679 *) as_dir=$as_dir/ ;;
10681 for ac_exec_ext in '' $ac_executable_extensions; do
10682 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10683 ac_cv_prog_arm_CC="$ac_prog"
10684 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10693 arm_CC=$ac_cv_prog_arm_CC
10694 if test -n "$arm_CC"; then
10695 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $arm_CC" >&5
10696 printf "%s\n" "$arm_CC" >&6; }
10698 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10699 printf "%s\n" "no" >&6; }
10703 test -n "$arm_CC" && break
10705 test -n "$arm_CC" || arm_CC="false"
10709 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 "
10710 for ac_prog in $ac_prefix_list clang
10712 # Extract the first word of "$ac_prog", so it can be a program name with args.
10713 set dummy $ac_prog; ac_word=$2
10714 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10715 printf %s "checking for $ac_word... " >&6; }
10716 if test ${ac_cv_prog_i386_CC+y}
10718 printf %s "(cached) " >&6
10720 if test -n "$i386_CC"; then
10721 ac_cv_prog_i386_CC="$i386_CC" # Let the user override the test.
10723 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10724 for as_dir in $PATH
10727 case $as_dir in #(((
10730 *) as_dir=$as_dir/ ;;
10732 for ac_exec_ext in '' $ac_executable_extensions; do
10733 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10734 ac_cv_prog_i386_CC="$ac_prog"
10735 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10744 i386_CC=$ac_cv_prog_i386_CC
10745 if test -n "$i386_CC"; then
10746 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $i386_CC" >&5
10747 printf "%s\n" "$i386_CC" >&6; }
10749 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10750 printf "%s\n" "no" >&6; }
10754 test -n "$i386_CC" && break
10756 test -n "$i386_CC" || i386_CC="false"
10760 ac_prefix_list="x86_64-w64-mingw32-gcc amd64-w64-mingw32-gcc x86_64-w64-mingw32-clang amd64-w64-mingw32-clang "
10761 for ac_prog in $ac_prefix_list clang
10763 # Extract the first word of "$ac_prog", so it can be a program name with args.
10764 set dummy $ac_prog; ac_word=$2
10765 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10766 printf %s "checking for $ac_word... " >&6; }
10767 if test ${ac_cv_prog_x86_64_CC+y}
10769 printf %s "(cached) " >&6
10771 if test -n "$x86_64_CC"; then
10772 ac_cv_prog_x86_64_CC="$x86_64_CC" # Let the user override the test.
10774 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10775 for as_dir in $PATH
10778 case $as_dir in #(((
10781 *) as_dir=$as_dir/ ;;
10783 for ac_exec_ext in '' $ac_executable_extensions; do
10784 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10785 ac_cv_prog_x86_64_CC="$ac_prog"
10786 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10795 x86_64_CC=$ac_cv_prog_x86_64_CC
10796 if test -n "$x86_64_CC"; then
10797 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $x86_64_CC" >&5
10798 printf "%s\n" "$x86_64_CC" >&6; }
10800 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10801 printf "%s\n" "no" >&6; }
10805 test -n "$x86_64_CC" && break
10807 test -n "$x86_64_CC" || x86_64_CC="false"
10813 if eval test \"x\$"${wine_arch}_CC"\" = x"false"
10819 saved_CFLAGS=$CFLAGS
10821 CFLAGS=${CROSSCFLAGS:-"-g -O2"}
10822 eval CC=\$${wine_arch}_CC
10823 eval ${wine_arch}_CFLAGS=\$CFLAGS
10824 eval ${wine_arch}_LDFLAGS=\$LDFLAGS
10825 eval "${wine_arch}_EXTRACFLAGS=\"-D__WINE_PE_BUILD -Wall\""
10828 as_wine_cv_crosscc=`printf "%s\n" "ac_cv_${wine_arch}_crosscc" |
$as_tr_sh`
10830 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
10831 printf %s "checking whether $CC works... " >&6; }
10832 if eval test \${$as_wine_cv_crosscc+y}
10834 printf %s "(cached) " >&6
10836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10837 /* end confdefs.h. */
10847 if ac_fn_c_try_compile "$LINENO"
10849 eval "$as_wine_cv_crosscc=yes"
10851 eval "$as_wine_cv_crosscc=no"
10853 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10855 eval ac_res=\$$as_wine_cv_crosscc
10856 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10857 printf "%s\n" "$ac_res" >&6; }
10858 if eval test \"x\$"$as_wine_cv_crosscc"\" = x"yes"
10862 while test $# -ge 1
10865 *-gcc) target=`expr "$1" : '\(.*\)-gcc'` ;;
10866 *-clang) target=`expr "$1" : '\(.*\)-clang'` ;;
10871 llvm_target=$target
10872 llvm_cflags="-fuse-ld=lld"
10873 if test -z "$llvm_target"
10876 i386) llvm_target=i686-windows ;;
10877 arm) llvm_target=armv7-windows ;;
10878 *) llvm_target=$wine_arch-windows ;;
10881 case $llvm_target in
10882 *windows) llvm_cflags="$llvm_cflags -Wl,-subsystem:console" ;;
10884 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-target $llvm_target $llvm_cflags" |
$as_tr_sh`
10885 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -target $llvm_target $llvm_cflags" >&5
10886 printf %s "checking whether $CC supports -target $llvm_target $llvm_cflags... " >&6; }
10887 if eval test \${$as_ac_var+y}
10889 printf %s "(cached) " >&6
10891 ac_wine_try_cflags_saved=$CFLAGS
10892 ac_wine_try_cflags_saved_exeext=$ac_exeext
10893 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -target $llvm_target $llvm_cflags"
10895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10896 /* end confdefs.h. */
10897 int __cdecl mainCRTStartup(void) { return 0; }
10899 if ac_fn_c_try_link "$LINENO"
10901 eval "$as_ac_var=yes"
10903 eval "$as_ac_var=no"
10905 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10906 conftest$ac_exeext conftest.$ac_ext
10907 CFLAGS=$ac_wine_try_cflags_saved
10908 ac_exeext=$ac_wine_try_cflags_saved_exeext
10910 eval ac_res=\$$as_ac_var
10911 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10912 printf "%s\n" "$ac_res" >&6; }
10913 if eval test \"x\$"$as_ac_var"\" = x"yes"
10915 target=$llvm_target
10916 eval "${wine_arch}_DELAYLOADFLAG=\"-Wl,-delayload,\""
10917 as_fn_append ${wine_arch}_EXTRACFLAGS " -target $target"
10918 CFLAGS="$CFLAGS -target $target $llvm_cflags"
10920 eval "${wine_arch}_TARGET=\$target"
10921 PE_ARCHS="$PE_ARCHS $wine_arch"
10925 as_wine_cv_crosscc_c99=`printf "%s\n" "ac_cv_${wine_arch}_crosscc_c99" |
$as_tr_sh`
10927 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
10928 printf %s "checking for $CC option to enable C99 features... " >&6; }
10929 if eval test \${$as_wine_cv_crosscc_c99+y}
10931 printf %s "(cached) " >&6
10933 eval "$as_wine_cv_crosscc_c99=no"
10934 for arg in '' '-std=gnu99'
10936 test -z "$arg" || CC="$CC $arg"
10937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10938 /* end confdefs.h. */
10939 $ac_c_conftest_c99_program
10941 if ac_fn_c_try_compile "$LINENO"
10943 eval "$as_wine_cv_crosscc_c99=\$arg"
10945 eval "$as_wine_cv_crosscc_c99=no"
10947 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10948 eval CC=\$${wine_arch}_CC
10949 if eval test \"x\$"$as_wine_cv_crosscc_c99"\" = x"no"
10958 eval res=\$$as_wine_cv_crosscc_c99
10960 x) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
10961 printf "%s\n" "none needed" >&6; } ;;
10962 xno) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
10963 printf "%s\n" "unsupported" >&6; } ;;
10964 x*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $res" >&5
10965 printf "%s\n" "$res" >&6; }
10966 as_fn_append ${wine_arch}_CC " $res" ;;
10970 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-fno-strict-aliasing" |
$as_tr_sh`
10971 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -fno-strict-aliasing" >&5
10972 printf %s "checking whether $CC supports -fno-strict-aliasing... " >&6; }
10973 if eval test \${$as_ac_var+y}
10975 printf %s "(cached) " >&6
10977 ac_wine_try_cflags_saved=$CFLAGS
10978 ac_wine_try_cflags_saved_exeext=$ac_exeext
10979 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -fno-strict-aliasing"
10981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10982 /* end confdefs.h. */
10983 int __cdecl mainCRTStartup(void) { return 0; }
10985 if ac_fn_c_try_link "$LINENO"
10987 eval "$as_ac_var=yes"
10989 eval "$as_ac_var=no"
10991 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10992 conftest$ac_exeext conftest.$ac_ext
10993 CFLAGS=$ac_wine_try_cflags_saved
10994 ac_exeext=$ac_wine_try_cflags_saved_exeext
10996 eval ac_res=\$$as_ac_var
10997 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10998 printf "%s\n" "$ac_res" >&6; }
10999 if eval test \"x\$"$as_ac_var"\" = x"yes"
11001 as_fn_append ${wine_arch}_EXTRACFLAGS " -fno-strict-aliasing"
11003 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Werror=unknown-warning-option" |
$as_tr_sh`
11004 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Werror=unknown-warning-option" >&5
11005 printf %s "checking whether $CC supports -Werror=unknown-warning-option... " >&6; }
11006 if eval test \${$as_ac_var+y}
11008 printf %s "(cached) " >&6
11010 ac_wine_try_cflags_saved=$CFLAGS
11011 ac_wine_try_cflags_saved_exeext=$ac_exeext
11012 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -Werror=unknown-warning-option"
11014 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11015 /* end confdefs.h. */
11016 int __cdecl mainCRTStartup(void) { return 0; }
11018 if ac_fn_c_try_link "$LINENO"
11020 eval "$as_ac_var=yes"
11022 eval "$as_ac_var=no"
11024 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11025 conftest$ac_exeext conftest.$ac_ext
11026 CFLAGS=$ac_wine_try_cflags_saved
11027 ac_exeext=$ac_wine_try_cflags_saved_exeext
11029 eval ac_res=\$$as_ac_var
11030 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11031 printf "%s\n" "$ac_res" >&6; }
11032 if eval test \"x\$"$as_ac_var"\" = x"yes"
11034 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
11036 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Werror=ignored-optimization-argument" |
$as_tr_sh`
11037 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Werror=ignored-optimization-argument" >&5
11038 printf %s "checking whether $CC supports -Werror=ignored-optimization-argument... " >&6; }
11039 if eval test \${$as_ac_var+y}
11041 printf %s "(cached) " >&6
11043 ac_wine_try_cflags_saved=$CFLAGS
11044 ac_wine_try_cflags_saved_exeext=$ac_exeext
11045 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -Werror=ignored-optimization-argument"
11047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11048 /* end confdefs.h. */
11049 int __cdecl mainCRTStartup(void) { return 0; }
11051 if ac_fn_c_try_link "$LINENO"
11053 eval "$as_ac_var=yes"
11055 eval "$as_ac_var=no"
11057 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11058 conftest$ac_exeext conftest.$ac_ext
11059 CFLAGS=$ac_wine_try_cflags_saved
11060 ac_exeext=$ac_wine_try_cflags_saved_exeext
11062 eval ac_res=\$$as_ac_var
11063 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11064 printf "%s\n" "$ac_res" >&6; }
11065 if eval test \"x\$"$as_ac_var"\" = x"yes"
11067 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
11069 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wdeclaration-after-statement" |
$as_tr_sh`
11070 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wdeclaration-after-statement" >&5
11071 printf %s "checking whether $CC supports -Wdeclaration-after-statement... " >&6; }
11072 if eval test \${$as_ac_var+y}
11074 printf %s "(cached) " >&6
11076 ac_wine_try_cflags_saved=$CFLAGS
11077 ac_wine_try_cflags_saved_exeext=$ac_exeext
11078 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -Wdeclaration-after-statement"
11080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11081 /* end confdefs.h. */
11082 int __cdecl mainCRTStartup(void) { return 0; }
11084 if ac_fn_c_try_link "$LINENO"
11086 eval "$as_ac_var=yes"
11088 eval "$as_ac_var=no"
11090 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11091 conftest$ac_exeext conftest.$ac_ext
11092 CFLAGS=$ac_wine_try_cflags_saved
11093 ac_exeext=$ac_wine_try_cflags_saved_exeext
11095 eval ac_res=\$$as_ac_var
11096 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11097 printf "%s\n" "$ac_res" >&6; }
11098 if eval test \"x\$"$as_ac_var"\" = x"yes"
11100 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wdeclaration-after-statement"
11102 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wempty-body" |
$as_tr_sh`
11103 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wempty-body" >&5
11104 printf %s "checking whether $CC supports -Wempty-body... " >&6; }
11105 if eval test \${$as_ac_var+y}
11107 printf %s "(cached) " >&6
11109 ac_wine_try_cflags_saved=$CFLAGS
11110 ac_wine_try_cflags_saved_exeext=$ac_exeext
11111 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -Wempty-body"
11113 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11114 /* end confdefs.h. */
11115 int __cdecl mainCRTStartup(void) { return 0; }
11117 if ac_fn_c_try_link "$LINENO"
11119 eval "$as_ac_var=yes"
11121 eval "$as_ac_var=no"
11123 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11124 conftest$ac_exeext conftest.$ac_ext
11125 CFLAGS=$ac_wine_try_cflags_saved
11126 ac_exeext=$ac_wine_try_cflags_saved_exeext
11128 eval ac_res=\$$as_ac_var
11129 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11130 printf "%s\n" "$ac_res" >&6; }
11131 if eval test \"x\$"$as_ac_var"\" = x"yes"
11133 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wempty-body"
11135 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wignored-qualifiers" |
$as_tr_sh`
11136 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wignored-qualifiers" >&5
11137 printf %s "checking whether $CC supports -Wignored-qualifiers... " >&6; }
11138 if eval test \${$as_ac_var+y}
11140 printf %s "(cached) " >&6
11142 ac_wine_try_cflags_saved=$CFLAGS
11143 ac_wine_try_cflags_saved_exeext=$ac_exeext
11144 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -Wignored-qualifiers"
11146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11147 /* end confdefs.h. */
11148 int __cdecl mainCRTStartup(void) { return 0; }
11150 if ac_fn_c_try_link "$LINENO"
11152 eval "$as_ac_var=yes"
11154 eval "$as_ac_var=no"
11156 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11157 conftest$ac_exeext conftest.$ac_ext
11158 CFLAGS=$ac_wine_try_cflags_saved
11159 ac_exeext=$ac_wine_try_cflags_saved_exeext
11161 eval ac_res=\$$as_ac_var
11162 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11163 printf "%s\n" "$ac_res" >&6; }
11164 if eval test \"x\$"$as_ac_var"\" = x"yes"
11166 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wignored-qualifiers"
11168 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Winit-self" |
$as_tr_sh`
11169 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Winit-self" >&5
11170 printf %s "checking whether $CC supports -Winit-self... " >&6; }
11171 if eval test \${$as_ac_var+y}
11173 printf %s "(cached) " >&6
11175 ac_wine_try_cflags_saved=$CFLAGS
11176 ac_wine_try_cflags_saved_exeext=$ac_exeext
11177 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -Winit-self"
11179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11180 /* end confdefs.h. */
11181 int __cdecl mainCRTStartup(void) { return 0; }
11183 if ac_fn_c_try_link "$LINENO"
11185 eval "$as_ac_var=yes"
11187 eval "$as_ac_var=no"
11189 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11190 conftest$ac_exeext conftest.$ac_ext
11191 CFLAGS=$ac_wine_try_cflags_saved
11192 ac_exeext=$ac_wine_try_cflags_saved_exeext
11194 eval ac_res=\$$as_ac_var
11195 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11196 printf "%s\n" "$ac_res" >&6; }
11197 if eval test \"x\$"$as_ac_var"\" = x"yes"
11199 as_fn_append ${wine_arch}_EXTRACFLAGS " -Winit-self"
11201 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wpacked-not-aligned" |
$as_tr_sh`
11202 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wpacked-not-aligned" >&5
11203 printf %s "checking whether $CC supports -Wpacked-not-aligned... " >&6; }
11204 if eval test \${$as_ac_var+y}
11206 printf %s "(cached) " >&6
11208 ac_wine_try_cflags_saved=$CFLAGS
11209 ac_wine_try_cflags_saved_exeext=$ac_exeext
11210 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -Wpacked-not-aligned"
11212 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11213 /* end confdefs.h. */
11214 int __cdecl mainCRTStartup(void) { return 0; }
11216 if ac_fn_c_try_link "$LINENO"
11218 eval "$as_ac_var=yes"
11220 eval "$as_ac_var=no"
11222 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11223 conftest$ac_exeext conftest.$ac_ext
11224 CFLAGS=$ac_wine_try_cflags_saved
11225 ac_exeext=$ac_wine_try_cflags_saved_exeext
11227 eval ac_res=\$$as_ac_var
11228 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11229 printf "%s\n" "$ac_res" >&6; }
11230 if eval test \"x\$"$as_ac_var"\" = x"yes"
11232 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wno-packed-not-aligned"
11234 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wpragma-pack" |
$as_tr_sh`
11235 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wpragma-pack" >&5
11236 printf %s "checking whether $CC supports -Wpragma-pack... " >&6; }
11237 if eval test \${$as_ac_var+y}
11239 printf %s "(cached) " >&6
11241 ac_wine_try_cflags_saved=$CFLAGS
11242 ac_wine_try_cflags_saved_exeext=$ac_exeext
11243 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -Wpragma-pack"
11245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11246 /* end confdefs.h. */
11247 int __cdecl mainCRTStartup(void) { return 0; }
11249 if ac_fn_c_try_link "$LINENO"
11251 eval "$as_ac_var=yes"
11253 eval "$as_ac_var=no"
11255 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11256 conftest$ac_exeext conftest.$ac_ext
11257 CFLAGS=$ac_wine_try_cflags_saved
11258 ac_exeext=$ac_wine_try_cflags_saved_exeext
11260 eval ac_res=\$$as_ac_var
11261 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11262 printf "%s\n" "$ac_res" >&6; }
11263 if eval test \"x\$"$as_ac_var"\" = x"yes"
11265 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wno-pragma-pack"
11267 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wshift-overflow=2" |
$as_tr_sh`
11268 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wshift-overflow=2" >&5
11269 printf %s "checking whether $CC supports -Wshift-overflow=2... " >&6; }
11270 if eval test \${$as_ac_var+y}
11272 printf %s "(cached) " >&6
11274 ac_wine_try_cflags_saved=$CFLAGS
11275 ac_wine_try_cflags_saved_exeext=$ac_exeext
11276 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -Wshift-overflow=2"
11278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11279 /* end confdefs.h. */
11280 int __cdecl mainCRTStartup(void) { return 0; }
11282 if ac_fn_c_try_link "$LINENO"
11284 eval "$as_ac_var=yes"
11286 eval "$as_ac_var=no"
11288 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11289 conftest$ac_exeext conftest.$ac_ext
11290 CFLAGS=$ac_wine_try_cflags_saved
11291 ac_exeext=$ac_wine_try_cflags_saved_exeext
11293 eval ac_res=\$$as_ac_var
11294 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11295 printf "%s\n" "$ac_res" >&6; }
11296 if eval test \"x\$"$as_ac_var"\" = x"yes"
11298 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wshift-overflow=2"
11300 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wstrict-prototypes" |
$as_tr_sh`
11301 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wstrict-prototypes" >&5
11302 printf %s "checking whether $CC supports -Wstrict-prototypes... " >&6; }
11303 if eval test \${$as_ac_var+y}
11305 printf %s "(cached) " >&6
11307 ac_wine_try_cflags_saved=$CFLAGS
11308 ac_wine_try_cflags_saved_exeext=$ac_exeext
11309 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -Wstrict-prototypes"
11311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11312 /* end confdefs.h. */
11313 int __cdecl mainCRTStartup(void) { return 0; }
11315 if ac_fn_c_try_link "$LINENO"
11317 eval "$as_ac_var=yes"
11319 eval "$as_ac_var=no"
11321 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11322 conftest$ac_exeext conftest.$ac_ext
11323 CFLAGS=$ac_wine_try_cflags_saved
11324 ac_exeext=$ac_wine_try_cflags_saved_exeext
11326 eval ac_res=\$$as_ac_var
11327 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11328 printf "%s\n" "$ac_res" >&6; }
11329 if eval test \"x\$"$as_ac_var"\" = x"yes"
11331 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wstrict-prototypes"
11333 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wtype-limits" |
$as_tr_sh`
11334 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wtype-limits" >&5
11335 printf %s "checking whether $CC supports -Wtype-limits... " >&6; }
11336 if eval test \${$as_ac_var+y}
11338 printf %s "(cached) " >&6
11340 ac_wine_try_cflags_saved=$CFLAGS
11341 ac_wine_try_cflags_saved_exeext=$ac_exeext
11342 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -Wtype-limits"
11344 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11345 /* end confdefs.h. */
11346 int __cdecl mainCRTStartup(void) { return 0; }
11348 if ac_fn_c_try_link "$LINENO"
11350 eval "$as_ac_var=yes"
11352 eval "$as_ac_var=no"
11354 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11355 conftest$ac_exeext conftest.$ac_ext
11356 CFLAGS=$ac_wine_try_cflags_saved
11357 ac_exeext=$ac_wine_try_cflags_saved_exeext
11359 eval ac_res=\$$as_ac_var
11360 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11361 printf "%s\n" "$ac_res" >&6; }
11362 if eval test \"x\$"$as_ac_var"\" = x"yes"
11364 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wtype-limits"
11366 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wunused-but-set-parameter" |
$as_tr_sh`
11367 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wunused-but-set-parameter" >&5
11368 printf %s "checking whether $CC supports -Wunused-but-set-parameter... " >&6; }
11369 if eval test \${$as_ac_var+y}
11371 printf %s "(cached) " >&6
11373 ac_wine_try_cflags_saved=$CFLAGS
11374 ac_wine_try_cflags_saved_exeext=$ac_exeext
11375 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -Wunused-but-set-parameter"
11377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11378 /* end confdefs.h. */
11379 int __cdecl mainCRTStartup(void) { return 0; }
11381 if ac_fn_c_try_link "$LINENO"
11383 eval "$as_ac_var=yes"
11385 eval "$as_ac_var=no"
11387 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11388 conftest$ac_exeext conftest.$ac_ext
11389 CFLAGS=$ac_wine_try_cflags_saved
11390 ac_exeext=$ac_wine_try_cflags_saved_exeext
11392 eval ac_res=\$$as_ac_var
11393 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11394 printf "%s\n" "$ac_res" >&6; }
11395 if eval test \"x\$"$as_ac_var"\" = x"yes"
11397 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wunused-but-set-parameter"
11399 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wvla" |
$as_tr_sh`
11400 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wvla" >&5
11401 printf %s "checking whether $CC supports -Wvla... " >&6; }
11402 if eval test \${$as_ac_var+y}
11404 printf %s "(cached) " >&6
11406 ac_wine_try_cflags_saved=$CFLAGS
11407 ac_wine_try_cflags_saved_exeext=$ac_exeext
11408 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -Wvla"
11410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11411 /* end confdefs.h. */
11412 int __cdecl mainCRTStartup(void) { return 0; }
11414 if ac_fn_c_try_link "$LINENO"
11416 eval "$as_ac_var=yes"
11418 eval "$as_ac_var=no"
11420 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11421 conftest$ac_exeext conftest.$ac_ext
11422 CFLAGS=$ac_wine_try_cflags_saved
11423 ac_exeext=$ac_wine_try_cflags_saved_exeext
11425 eval ac_res=\$$as_ac_var
11426 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11427 printf "%s\n" "$ac_res" >&6; }
11428 if eval test \"x\$"$as_ac_var"\" = x"yes"
11430 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wvla"
11432 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wwrite-strings" |
$as_tr_sh`
11433 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wwrite-strings" >&5
11434 printf %s "checking whether $CC supports -Wwrite-strings... " >&6; }
11435 if eval test \${$as_ac_var+y}
11437 printf %s "(cached) " >&6
11439 ac_wine_try_cflags_saved=$CFLAGS
11440 ac_wine_try_cflags_saved_exeext=$ac_exeext
11441 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -Wwrite-strings"
11443 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11444 /* end confdefs.h. */
11445 int __cdecl mainCRTStartup(void) { return 0; }
11447 if ac_fn_c_try_link "$LINENO"
11449 eval "$as_ac_var=yes"
11451 eval "$as_ac_var=no"
11453 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11454 conftest$ac_exeext conftest.$ac_ext
11455 CFLAGS=$ac_wine_try_cflags_saved
11456 ac_exeext=$ac_wine_try_cflags_saved_exeext
11458 eval ac_res=\$$as_ac_var
11459 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11460 printf "%s\n" "$ac_res" >&6; }
11461 if eval test \"x\$"$as_ac_var"\" = x"yes"
11463 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wwrite-strings"
11465 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wpointer-arith" |
$as_tr_sh`
11466 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wpointer-arith" >&5
11467 printf %s "checking whether $CC supports -Wpointer-arith... " >&6; }
11468 if eval test \${$as_ac_var+y}
11470 printf %s "(cached) " >&6
11472 ac_wine_try_cflags_saved=$CFLAGS
11473 ac_wine_try_cflags_saved_exeext=$ac_exeext
11474 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -Wpointer-arith"
11476 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11477 /* end confdefs.h. */
11478 int __cdecl mainCRTStartup(void) { return 0; }
11480 if ac_fn_c_try_link "$LINENO"
11482 eval "$as_ac_var=yes"
11484 eval "$as_ac_var=no"
11486 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11487 conftest$ac_exeext conftest.$ac_ext
11488 CFLAGS=$ac_wine_try_cflags_saved
11489 ac_exeext=$ac_wine_try_cflags_saved_exeext
11491 eval ac_res=\$$as_ac_var
11492 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11493 printf "%s\n" "$ac_res" >&6; }
11494 if eval test \"x\$"$as_ac_var"\" = x"yes"
11496 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wpointer-arith"
11498 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wlogical-op" |
$as_tr_sh`
11499 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wlogical-op" >&5
11500 printf %s "checking whether $CC supports -Wlogical-op... " >&6; }
11501 if eval test \${$as_ac_var+y}
11503 printf %s "(cached) " >&6
11505 ac_wine_try_cflags_saved=$CFLAGS
11506 ac_wine_try_cflags_saved_exeext=$ac_exeext
11507 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -Wlogical-op"
11509 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11510 /* end confdefs.h. */
11511 int __cdecl mainCRTStartup(void) { return 0; }
11513 if ac_fn_c_try_link "$LINENO"
11515 eval "$as_ac_var=yes"
11517 eval "$as_ac_var=no"
11519 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11520 conftest$ac_exeext conftest.$ac_ext
11521 CFLAGS=$ac_wine_try_cflags_saved
11522 ac_exeext=$ac_wine_try_cflags_saved_exeext
11524 eval ac_res=\$$as_ac_var
11525 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11526 printf "%s\n" "$ac_res" >&6; }
11527 if eval test \"x\$"$as_ac_var"\" = x"yes"
11529 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wlogical-op"
11531 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wabsolute-value" |
$as_tr_sh`
11532 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wabsolute-value" >&5
11533 printf %s "checking whether $CC supports -Wabsolute-value... " >&6; }
11534 if eval test \${$as_ac_var+y}
11536 printf %s "(cached) " >&6
11538 ac_wine_try_cflags_saved=$CFLAGS
11539 ac_wine_try_cflags_saved_exeext=$ac_exeext
11540 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -Wabsolute-value"
11542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11543 /* end confdefs.h. */
11544 int __cdecl mainCRTStartup(void) { return 0; }
11546 if ac_fn_c_try_link "$LINENO"
11548 eval "$as_ac_var=yes"
11550 eval "$as_ac_var=no"
11552 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11553 conftest$ac_exeext conftest.$ac_ext
11554 CFLAGS=$ac_wine_try_cflags_saved
11555 ac_exeext=$ac_wine_try_cflags_saved_exeext
11557 eval ac_res=\$$as_ac_var
11558 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11559 printf "%s\n" "$ac_res" >&6; }
11560 if eval test \"x\$"$as_ac_var"\" = x"yes"
11562 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wabsolute-value"
11566 i386) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-fno-omit-frame-pointer" |
$as_tr_sh`
11567 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -fno-omit-frame-pointer" >&5
11568 printf %s "checking whether $CC supports -fno-omit-frame-pointer... " >&6; }
11569 if eval test \${$as_ac_var+y}
11571 printf %s "(cached) " >&6
11573 ac_wine_try_cflags_saved=$CFLAGS
11574 ac_wine_try_cflags_saved_exeext=$ac_exeext
11575 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -fno-omit-frame-pointer"
11577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11578 /* end confdefs.h. */
11579 int __cdecl mainCRTStartup(void) { return 0; }
11581 if ac_fn_c_try_link "$LINENO"
11583 eval "$as_ac_var=yes"
11585 eval "$as_ac_var=no"
11587 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11588 conftest$ac_exeext conftest.$ac_ext
11589 CFLAGS=$ac_wine_try_cflags_saved
11590 ac_exeext=$ac_wine_try_cflags_saved_exeext
11592 eval ac_res=\$$as_ac_var
11593 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11594 printf "%s\n" "$ac_res" >&6; }
11595 if eval test \"x\$"$as_ac_var"\" = x"yes"
11597 as_fn_append ${wine_arch}_EXTRACFLAGS " -fno-omit-frame-pointer"
11599 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wl,--disable-stdcall-fixup" |
$as_tr_sh`
11600 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wl,--disable-stdcall-fixup" >&5
11601 printf %s "checking whether $CC supports -Wl,--disable-stdcall-fixup... " >&6; }
11602 if eval test \${$as_ac_var+y}
11604 printf %s "(cached) " >&6
11606 ac_wine_try_cflags_saved=$CFLAGS
11607 ac_wine_try_cflags_saved_exeext=$ac_exeext
11608 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -Wl,--disable-stdcall-fixup"
11610 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11611 /* end confdefs.h. */
11612 int __cdecl mainCRTStartup(void) { return 0; }
11614 if ac_fn_c_try_link "$LINENO"
11616 eval "$as_ac_var=yes"
11618 eval "$as_ac_var=no"
11620 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11621 conftest$ac_exeext conftest.$ac_ext
11622 CFLAGS=$ac_wine_try_cflags_saved
11623 ac_exeext=$ac_wine_try_cflags_saved_exeext
11625 eval ac_res=\$$as_ac_var
11626 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11627 printf "%s\n" "$ac_res" >&6; }
11628 if eval test \"x\$"$as_ac_var"\" = x"yes"
11630 as_fn_append ${wine_arch}_LDFLAGS " -Wl,--disable-stdcall-fixup"
11632 x86_64) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wno-format" |
$as_tr_sh`
11633 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wno-format" >&5
11634 printf %s "checking whether $CC supports -Wno-format... " >&6; }
11635 if eval test \${$as_ac_var+y}
11637 printf %s "(cached) " >&6
11639 ac_wine_try_cflags_saved=$CFLAGS
11640 ac_wine_try_cflags_saved_exeext=$ac_exeext
11641 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -Wno-format"
11643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11644 /* end confdefs.h. */
11645 int __cdecl mainCRTStartup(void) { return 0; }
11647 if ac_fn_c_try_link "$LINENO"
11649 eval "$as_ac_var=yes"
11651 eval "$as_ac_var=no"
11653 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11654 conftest$ac_exeext conftest.$ac_ext
11655 CFLAGS=$ac_wine_try_cflags_saved
11656 ac_exeext=$ac_wine_try_cflags_saved_exeext
11658 eval ac_res=\$$as_ac_var
11659 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11660 printf "%s\n" "$ac_res" >&6; }
11661 if eval test \"x\$"$as_ac_var"\" = x"yes"
11663 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wno-format"
11665 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wformat-overflow" |
$as_tr_sh`
11666 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wformat-overflow" >&5
11667 printf %s "checking whether $CC supports -Wformat-overflow... " >&6; }
11668 if eval test \${$as_ac_var+y}
11670 printf %s "(cached) " >&6
11672 ac_wine_try_cflags_saved=$CFLAGS
11673 ac_wine_try_cflags_saved_exeext=$ac_exeext
11674 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -Wformat-overflow"
11676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11677 /* end confdefs.h. */
11678 int __cdecl mainCRTStartup(void) { return 0; }
11680 if ac_fn_c_try_link "$LINENO"
11682 eval "$as_ac_var=yes"
11684 eval "$as_ac_var=no"
11686 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11687 conftest$ac_exeext conftest.$ac_ext
11688 CFLAGS=$ac_wine_try_cflags_saved
11689 ac_exeext=$ac_wine_try_cflags_saved_exeext
11691 eval ac_res=\$$as_ac_var
11692 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11693 printf "%s\n" "$ac_res" >&6; }
11694 if eval test \"x\$"$as_ac_var"\" = x"yes"
11696 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wformat-overflow"
11698 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wnonnull" |
$as_tr_sh`
11699 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wnonnull" >&5
11700 printf %s "checking whether $CC supports -Wnonnull... " >&6; }
11701 if eval test \${$as_ac_var+y}
11703 printf %s "(cached) " >&6
11705 ac_wine_try_cflags_saved=$CFLAGS
11706 ac_wine_try_cflags_saved_exeext=$ac_exeext
11707 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -Wnonnull"
11709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11710 /* end confdefs.h. */
11711 int __cdecl mainCRTStartup(void) { return 0; }
11713 if ac_fn_c_try_link "$LINENO"
11715 eval "$as_ac_var=yes"
11717 eval "$as_ac_var=no"
11719 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11720 conftest$ac_exeext conftest.$ac_ext
11721 CFLAGS=$ac_wine_try_cflags_saved
11722 ac_exeext=$ac_wine_try_cflags_saved_exeext
11724 eval ac_res=\$$as_ac_var
11725 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11726 printf "%s\n" "$ac_res" >&6; }
11727 if eval test \"x\$"$as_ac_var"\" = x"yes"
11729 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wnonnull"
11731 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-mcx16" |
$as_tr_sh`
11732 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mcx16" >&5
11733 printf %s "checking whether $CC supports -mcx16... " >&6; }
11734 if eval test \${$as_ac_var+y}
11736 printf %s "(cached) " >&6
11738 ac_wine_try_cflags_saved=$CFLAGS
11739 ac_wine_try_cflags_saved_exeext=$ac_exeext
11740 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -mcx16"
11742 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11743 /* end confdefs.h. */
11744 int __cdecl mainCRTStartup(void) { return 0; }
11746 if ac_fn_c_try_link "$LINENO"
11748 eval "$as_ac_var=yes"
11750 eval "$as_ac_var=no"
11752 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11753 conftest$ac_exeext conftest.$ac_ext
11754 CFLAGS=$ac_wine_try_cflags_saved
11755 ac_exeext=$ac_wine_try_cflags_saved_exeext
11757 eval ac_res=\$$as_ac_var
11758 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11759 printf "%s\n" "$ac_res" >&6; }
11760 if eval test \"x\$"$as_ac_var"\" = x"yes"
11762 as_fn_append ${wine_arch}_EXTRACFLAGS " -mcx16"
11764 aarch64) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wno-format" |
$as_tr_sh`
11765 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wno-format" >&5
11766 printf %s "checking whether $CC supports -Wno-format... " >&6; }
11767 if eval test \${$as_ac_var+y}
11769 printf %s "(cached) " >&6
11771 ac_wine_try_cflags_saved=$CFLAGS
11772 ac_wine_try_cflags_saved_exeext=$ac_exeext
11773 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -Wno-format"
11775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11776 /* end confdefs.h. */
11777 int __cdecl mainCRTStartup(void) { return 0; }
11779 if ac_fn_c_try_link "$LINENO"
11781 eval "$as_ac_var=yes"
11783 eval "$as_ac_var=no"
11785 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11786 conftest$ac_exeext conftest.$ac_ext
11787 CFLAGS=$ac_wine_try_cflags_saved
11788 ac_exeext=$ac_wine_try_cflags_saved_exeext
11790 eval ac_res=\$$as_ac_var
11791 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11792 printf "%s\n" "$ac_res" >&6; }
11793 if eval test \"x\$"$as_ac_var"\" = x"yes"
11795 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wno-format"
11799 wine_crossdebug=$CROSSDEBUG
11800 if test -z "$wine_crossdebug"
11802 for ac_flag in $CFLAGS; do
11804 -gdwarf*) wine_crossdebug=dwarf ;;
11805 -gcodeview) wine_crossdebug=pdb ;;
11806 -g) wine_crossdebug=${wine_crossdebug:-dwarf} ;;
11811 ac_debug_format_seen=""
11812 for ac_flag in $CFLAGS; do
11814 -gdwarf*|-gcodeview) ac_debug_format_seen=$ac_flag ;;
11817 if test "x$ac_debug_format_seen" = x
11819 case $wine_crossdebug in
11820 *dwarf) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-gdwarf-4" |
$as_tr_sh`
11821 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -gdwarf-4" >&5
11822 printf %s "checking whether $CC supports -gdwarf-4... " >&6; }
11823 if eval test \${$as_ac_var+y}
11825 printf %s "(cached) " >&6
11827 ac_wine_try_cflags_saved=$CFLAGS
11828 ac_wine_try_cflags_saved_exeext=$ac_exeext
11829 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -gdwarf-4"
11831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11832 /* end confdefs.h. */
11833 int __cdecl mainCRTStartup(void) { return 0; }
11835 if ac_fn_c_try_link "$LINENO"
11837 eval "$as_ac_var=yes"
11839 eval "$as_ac_var=no"
11841 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11842 conftest$ac_exeext conftest.$ac_ext
11843 CFLAGS=$ac_wine_try_cflags_saved
11844 ac_exeext=$ac_wine_try_cflags_saved_exeext
11846 eval ac_res=\$$as_ac_var
11847 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11848 printf "%s\n" "$ac_res" >&6; }
11849 if eval test \"x\$"$as_ac_var"\" = x"yes"
11851 as_fn_append ${wine_arch}_EXTRACFLAGS " -gdwarf-4"
11853 pdb) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-gcodeview" |
$as_tr_sh`
11854 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -gcodeview" >&5
11855 printf %s "checking whether $CC supports -gcodeview... " >&6; }
11856 if eval test \${$as_ac_var+y}
11858 printf %s "(cached) " >&6
11860 ac_wine_try_cflags_saved=$CFLAGS
11861 ac_wine_try_cflags_saved_exeext=$ac_exeext
11862 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -gcodeview"
11864 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11865 /* end confdefs.h. */
11866 int __cdecl mainCRTStartup(void) { return 0; }
11868 if ac_fn_c_try_link "$LINENO"
11870 eval "$as_ac_var=yes"
11872 eval "$as_ac_var=no"
11874 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11875 conftest$ac_exeext conftest.$ac_ext
11876 CFLAGS=$ac_wine_try_cflags_saved
11877 ac_exeext=$ac_wine_try_cflags_saved_exeext
11879 eval ac_res=\$$as_ac_var
11880 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11881 printf "%s\n" "$ac_res" >&6; }
11882 if eval test \"x\$"$as_ac_var"\" = x"yes"
11884 as_fn_append ${wine_arch}_EXTRACFLAGS " -gcodeview"
11888 eval "${wine_arch}_DEBUG=\$wine_crossdebug"
11890 test "x$enable_werror" != xyes || { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Werror" |
$as_tr_sh`
11891 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Werror" >&5
11892 printf %s "checking whether $CC supports -Werror... " >&6; }
11893 if eval test \${$as_ac_var+y}
11895 printf %s "(cached) " >&6
11897 ac_wine_try_cflags_saved=$CFLAGS
11898 ac_wine_try_cflags_saved_exeext=$ac_exeext
11899 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -Werror"
11901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11902 /* end confdefs.h. */
11903 int __cdecl mainCRTStartup(void) { return 0; }
11905 if ac_fn_c_try_link "$LINENO"
11907 eval "$as_ac_var=yes"
11909 eval "$as_ac_var=no"
11911 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11912 conftest$ac_exeext conftest.$ac_ext
11913 CFLAGS=$ac_wine_try_cflags_saved
11914 ac_exeext=$ac_wine_try_cflags_saved_exeext
11916 eval ac_res=\$$as_ac_var
11917 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11918 printf "%s\n" "$ac_res" >&6; }
11919 if eval test \"x\$"$as_ac_var"\" = x"yes"
11921 as_fn_append ${wine_arch}_EXTRACFLAGS " -Werror"
11923 test "x$enable_build_id" != xyes || { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wl,--build-id" |
$as_tr_sh`
11924 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wl,--build-id" >&5
11925 printf %s "checking whether $CC supports -Wl,--build-id... " >&6; }
11926 if eval test \${$as_ac_var+y}
11928 printf %s "(cached) " >&6
11930 ac_wine_try_cflags_saved=$CFLAGS
11931 ac_wine_try_cflags_saved_exeext=$ac_exeext
11932 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -Wl,--build-id"
11934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11935 /* end confdefs.h. */
11936 int __cdecl mainCRTStartup(void) { return 0; }
11938 if ac_fn_c_try_link "$LINENO"
11940 eval "$as_ac_var=yes"
11942 eval "$as_ac_var=no"
11944 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11945 conftest$ac_exeext conftest.$ac_ext
11946 CFLAGS=$ac_wine_try_cflags_saved
11947 ac_exeext=$ac_wine_try_cflags_saved_exeext
11949 eval ac_res=\$$as_ac_var
11950 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11951 printf "%s\n" "$ac_res" >&6; }
11952 if eval test \"x\$"$as_ac_var"\" = x"yes"
11954 as_fn_append ${wine_arch}_CFLAGS " -Wl,--build-id"
11955 as_fn_append ${wine_arch}_LDFLAGS " -Wl,--build-id"
11959 CFLAGS=$saved_CFLAGS
11962 if test $HOST_ARCH = aarch64 -a "x$PE_ARCHS" = x
11964 as_fn_error $? "PE cross-compilation is required for ARM64, please install clang/llvm-dlltool/lld, or llvm-mingw." "$LINENO" 5
11967 if test "x$PE_ARCHS" = "x"
11969 case "x$with_mingw" in
11970 x) as_fn_append wine_notices "|MinGW compiler not found, cross-compiling PE files won't be supported." ;;
11972 *) as_fn_error $? "MinGW compiler not found, cross-compiling PE files won't be supported.
11973 This is an error since --with-mingw was requested." "$LINENO" 5 ;;
11979 if test "x$with_system_dllpath" != "x" -a -n "$PE_ARCHS"
11981 case "$host_cpu" in
11983 ac_prefix_list="i686-w64-mingw32-pkg-config i586-w64-mingw32-pkg-config i486-w64-mingw32-pkg-config i386-w64-mingw32-pkg-config " ;;
11985 ac_prefix_list="$host_cpu-w64-mingw32-pkg-config" ;;
11987 for ac_prog in $ac_prefix_list
11989 # Extract the first word of "$ac_prog", so it can be a program name with args.
11990 set dummy $ac_prog; ac_word=$2
11991 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11992 printf %s "checking for $ac_word... " >&6; }
11993 if test ${ac_cv_prog_MINGW_PKG_CONFIG+y}
11995 printf %s "(cached) " >&6
11997 if test -n "$MINGW_PKG_CONFIG"; then
11998 ac_cv_prog_MINGW_PKG_CONFIG="$MINGW_PKG_CONFIG" # Let the user override the test.
12000 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12001 for as_dir in $PATH
12004 case $as_dir in #(((
12007 *) as_dir=$as_dir/ ;;
12009 for ac_exec_ext in '' $ac_executable_extensions; do
12010 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
12011 ac_cv_prog_MINGW_PKG_CONFIG="$ac_prog"
12012 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
12021 MINGW_PKG_CONFIG=$ac_cv_prog_MINGW_PKG_CONFIG
12022 if test -n "$MINGW_PKG_CONFIG"; then
12023 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MINGW_PKG_CONFIG" >&5
12024 printf "%s\n" "$MINGW_PKG_CONFIG" >&6; }
12026 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
12027 printf "%s\n" "no" >&6; }
12031 test -n "$MINGW_PKG_CONFIG" && break
12033 test -n "$MINGW_PKG_CONFIG" || MINGW_PKG_CONFIG="false"
12035 if ${FAUDIO_PE_CFLAGS:+false} :
12037 if test ${MINGW_PKG_CONFIG+y}
12039 FAUDIO_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags FAudio
2>/dev
/null
`
12042 if ${FAUDIO_PE_LIBS:+false} :
12044 if test ${MINGW_PKG_CONFIG+y}
12046 FAUDIO_PE_LIBS=`$MINGW_PKG_CONFIG --libs FAudio
2>/dev
/null
`
12049 FAUDIO_PE_LIBS=${FAUDIO_PE_LIBS:-"-lFAudio"}
12050 ac_save_CPPFLAGS=$CPPFLAGS
12051 CPPFLAGS="$CPPFLAGS $FAUDIO_PE_CFLAGS"
12052 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW FAudio.h" >&5
12053 printf %s "checking for MinGW FAudio.h... " >&6; }
12054 if test ${ac_cv_mingw_header_FAudio_h+y}
12056 printf %s "(cached) " >&6
12058 ac_wine_check_headers_saved_cc=$CC
12059 ac_wine_check_headers_saved_exeext=$ac_exeext
12060 eval CC=\$${wine_arch}_CC
12062 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12063 /* end confdefs.h. */
12065 #include <FAudio.h>
12074 if ac_fn_c_try_compile "$LINENO"
12076 ac_cv_mingw_header_FAudio_h=yes
12078 ac_cv_mingw_header_FAudio_h=no
12080 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12081 CC=$ac_wine_check_headers_saved_cc
12082 ac_exeext=$ac_wine_check_headers_saved_exeext
12084 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_FAudio_h" >&5
12085 printf "%s\n" "$ac_cv_mingw_header_FAudio_h" >&6; }
12086 if test "x$ac_cv_mingw_header_FAudio_h" = xyes
12088 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for FAudio_CommitOperationSet in MinGW -lFAudio" >&5
12089 printf %s "checking for FAudio_CommitOperationSet in MinGW -lFAudio... " >&6; }
12090 if test ${ac_cv_mingw_lib_FAudio+y}
12092 printf %s "(cached) " >&6
12094 ac_wine_check_headers_saved_cc=$CC
12095 ac_wine_check_headers_saved_exeext=$ac_exeext
12096 ac_wine_check_headers_saved_libs=$LIBS
12097 eval CC=\$${wine_arch}_CC
12099 LIBS="-lFAudio $FAUDIO_PE_LIBS $LIBS"
12100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12101 /* end confdefs.h. */
12103 /* Override any GCC internal prototype to avoid an error.
12104 Use char because int might match the return type of a GCC
12105 builtin and then its argument prototype would still apply. */
12106 char FAudio_CommitOperationSet ();
12110 return FAudio_CommitOperationSet ();
12115 if ac_fn_c_try_link "$LINENO"
12117 ac_cv_mingw_lib_FAudio=yes
12119 ac_cv_mingw_lib_FAudio=no
12121 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12122 conftest$ac_exeext conftest.$ac_ext
12123 CC=$ac_wine_check_headers_saved_cc
12124 ac_exeext=$ac_wine_check_headers_saved_exeext
12125 LIBS=$ac_wine_check_headers_saved_libs
12127 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_FAudio" >&5
12128 printf "%s\n" "$ac_cv_mingw_lib_FAudio" >&6; }
12129 if test "x$ac_cv_mingw_lib_FAudio" = xyes
12133 FAUDIO_PE_CFLAGS=""; FAUDIO_PE_LIBS=""
12136 FAUDIO_PE_CFLAGS=""; FAUDIO_PE_LIBS=""
12138 CPPFLAGS=$ac_save_CPPFLAGS
12140 if test "x$FAUDIO_PE_LIBS" = "x"
12142 as_fn_append wine_notices "|FAudio ${notice_platform}MinGW development files not found (or too old); using bundled version."
12145 if ${JPEG_PE_CFLAGS:+false} :
12147 if test ${MINGW_PKG_CONFIG+y}
12149 JPEG_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libjpeg
2>/dev
/null
`
12152 if ${JPEG_PE_LIBS:+false} :
12154 if test ${MINGW_PKG_CONFIG+y}
12156 JPEG_PE_LIBS=`$MINGW_PKG_CONFIG --libs libjpeg
2>/dev
/null
`
12160 ac_save_CPPFLAGS=$CPPFLAGS
12161 CPPFLAGS="$CPPFLAGS $JPEG_PE_CFLAGS"
12162 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW jpeglib.h" >&5
12163 printf %s "checking for MinGW jpeglib.h... " >&6; }
12164 if test ${ac_cv_mingw_header_jpeglib_h+y}
12166 printf %s "(cached) " >&6
12168 ac_wine_check_headers_saved_cc=$CC
12169 ac_wine_check_headers_saved_exeext=$ac_exeext
12170 eval CC=\$${wine_arch}_CC
12172 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12173 /* end confdefs.h. */
12174 #include <stddef.h>
12176 #include <jpeglib.h>
12185 if ac_fn_c_try_compile "$LINENO"
12187 ac_cv_mingw_header_jpeglib_h=yes
12189 ac_cv_mingw_header_jpeglib_h=no
12191 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12192 CC=$ac_wine_check_headers_saved_cc
12193 ac_exeext=$ac_wine_check_headers_saved_exeext
12195 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_jpeglib_h" >&5
12196 printf "%s\n" "$ac_cv_mingw_header_jpeglib_h" >&6; }
12197 if test "x$ac_cv_mingw_header_jpeglib_h" = xyes
12199 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for jpeg_start_decompress in MinGW -ljpeg" >&5
12200 printf %s "checking for jpeg_start_decompress in MinGW -ljpeg... " >&6; }
12201 if test ${ac_cv_mingw_lib_jpeg+y}
12203 printf %s "(cached) " >&6
12205 ac_wine_check_headers_saved_cc=$CC
12206 ac_wine_check_headers_saved_exeext=$ac_exeext
12207 ac_wine_check_headers_saved_libs=$LIBS
12208 eval CC=\$${wine_arch}_CC
12210 LIBS="-ljpeg $JPEG_PE_LIBS $LIBS"
12211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12212 /* end confdefs.h. */
12214 /* Override any GCC internal prototype to avoid an error.
12215 Use char because int might match the return type of a GCC
12216 builtin and then its argument prototype would still apply. */
12217 char jpeg_start_decompress ();
12221 return jpeg_start_decompress ();
12226 if ac_fn_c_try_link "$LINENO"
12228 ac_cv_mingw_lib_jpeg=yes
12230 ac_cv_mingw_lib_jpeg=no
12232 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12233 conftest$ac_exeext conftest.$ac_ext
12234 CC=$ac_wine_check_headers_saved_cc
12235 ac_exeext=$ac_wine_check_headers_saved_exeext
12236 LIBS=$ac_wine_check_headers_saved_libs
12238 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_jpeg" >&5
12239 printf "%s\n" "$ac_cv_mingw_lib_jpeg" >&6; }
12240 if test "x$ac_cv_mingw_lib_jpeg" = xyes
12244 JPEG_PE_CFLAGS=""; JPEG_PE_LIBS=""
12247 JPEG_PE_CFLAGS=""; JPEG_PE_LIBS=""
12249 CPPFLAGS=$ac_save_CPPFLAGS
12251 if test "x$JPEG_PE_LIBS" = "x"
12253 as_fn_append wine_notices "|libjpeg ${notice_platform}MinGW development files not found; using bundled version."
12256 if ${LCMS2_PE_CFLAGS:+false} :
12258 if test ${MINGW_PKG_CONFIG+y}
12260 LCMS2_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags lcms2
2>/dev
/null
`
12263 if ${LCMS2_PE_LIBS:+false} :
12265 if test ${MINGW_PKG_CONFIG+y}
12267 LCMS2_PE_LIBS=`$MINGW_PKG_CONFIG --libs lcms2
2>/dev
/null
`
12270 LCMS2_PE_LIBS=${LCMS2_PE_LIBS:-"-llcms2"}
12271 ac_save_CPPFLAGS=$CPPFLAGS
12272 CPPFLAGS="$CPPFLAGS $LCMS2_PE_CFLAGS"
12273 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW lcms2.h" >&5
12274 printf %s "checking for MinGW lcms2.h... " >&6; }
12275 if test ${ac_cv_mingw_header_lcms2_h+y}
12277 printf %s "(cached) " >&6
12279 ac_wine_check_headers_saved_cc=$CC
12280 ac_wine_check_headers_saved_exeext=$ac_exeext
12281 eval CC=\$${wine_arch}_CC
12283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12284 /* end confdefs.h. */
12295 if ac_fn_c_try_compile "$LINENO"
12297 ac_cv_mingw_header_lcms2_h=yes
12299 ac_cv_mingw_header_lcms2_h=no
12301 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12302 CC=$ac_wine_check_headers_saved_cc
12303 ac_exeext=$ac_wine_check_headers_saved_exeext
12305 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_lcms2_h" >&5
12306 printf "%s\n" "$ac_cv_mingw_header_lcms2_h" >&6; }
12307 if test "x$ac_cv_mingw_header_lcms2_h" = xyes
12309 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in MinGW -llcms2" >&5
12310 printf %s "checking for cmsOpenProfileFromFile in MinGW -llcms2... " >&6; }
12311 if test ${ac_cv_mingw_lib_lcms2+y}
12313 printf %s "(cached) " >&6
12315 ac_wine_check_headers_saved_cc=$CC
12316 ac_wine_check_headers_saved_exeext=$ac_exeext
12317 ac_wine_check_headers_saved_libs=$LIBS
12318 eval CC=\$${wine_arch}_CC
12320 LIBS="-llcms2 $LCMS2_PE_LIBS $LIBS"
12321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12322 /* end confdefs.h. */
12324 /* Override any GCC internal prototype to avoid an error.
12325 Use char because int might match the return type of a GCC
12326 builtin and then its argument prototype would still apply. */
12327 char cmsOpenProfileFromFile ();
12331 return cmsOpenProfileFromFile ();
12336 if ac_fn_c_try_link "$LINENO"
12338 ac_cv_mingw_lib_lcms2=yes
12340 ac_cv_mingw_lib_lcms2=no
12342 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12343 conftest$ac_exeext conftest.$ac_ext
12344 CC=$ac_wine_check_headers_saved_cc
12345 ac_exeext=$ac_wine_check_headers_saved_exeext
12346 LIBS=$ac_wine_check_headers_saved_libs
12348 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_lcms2" >&5
12349 printf "%s\n" "$ac_cv_mingw_lib_lcms2" >&6; }
12350 if test "x$ac_cv_mingw_lib_lcms2" = xyes
12354 LCMS2_PE_CFLAGS=""; LCMS2_PE_LIBS=""
12357 LCMS2_PE_CFLAGS=""; LCMS2_PE_LIBS=""
12359 CPPFLAGS=$ac_save_CPPFLAGS
12361 if test "x$LCMS2_PE_LIBS" = "x"
12363 as_fn_append wine_notices "|liblcms2 ${notice_platform}MinGW development files not found; using bundled version."
12366 if ${MPG123_PE_CFLAGS:+false} :
12368 if test ${MINGW_PKG_CONFIG+y}
12370 MPG123_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libmpg123
2>/dev
/null
`
12373 if ${MPG123_PE_LIBS:+false} :
12375 if test ${MINGW_PKG_CONFIG+y}
12377 MPG123_PE_LIBS=`$MINGW_PKG_CONFIG --libs libmpg123
2>/dev
/null
`
12380 MPG123_PE_LIBS=${MPG123_PE_LIBS:-"-lmpg123"}
12381 ac_save_CPPFLAGS=$CPPFLAGS
12382 CPPFLAGS="$CPPFLAGS $MPG123_PE_CFLAGS"
12383 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW mpg123.h" >&5
12384 printf %s "checking for MinGW mpg123.h... " >&6; }
12385 if test ${ac_cv_mingw_header_mpg123_h+y}
12387 printf %s "(cached) " >&6
12389 ac_wine_check_headers_saved_cc=$CC
12390 ac_wine_check_headers_saved_exeext=$ac_exeext
12391 eval CC=\$${wine_arch}_CC
12393 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12394 /* end confdefs.h. */
12396 #include <mpg123.h>
12405 if ac_fn_c_try_compile "$LINENO"
12407 ac_cv_mingw_header_mpg123_h=yes
12409 ac_cv_mingw_header_mpg123_h=no
12411 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12412 CC=$ac_wine_check_headers_saved_cc
12413 ac_exeext=$ac_wine_check_headers_saved_exeext
12415 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_mpg123_h" >&5
12416 printf "%s\n" "$ac_cv_mingw_header_mpg123_h" >&6; }
12417 if test "x$ac_cv_mingw_header_mpg123_h" = xyes
12419 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in MinGW -lmpg123" >&5
12420 printf %s "checking for mpg123_feed in MinGW -lmpg123... " >&6; }
12421 if test ${ac_cv_mingw_lib_mpg123+y}
12423 printf %s "(cached) " >&6
12425 ac_wine_check_headers_saved_cc=$CC
12426 ac_wine_check_headers_saved_exeext=$ac_exeext
12427 ac_wine_check_headers_saved_libs=$LIBS
12428 eval CC=\$${wine_arch}_CC
12430 LIBS="-lmpg123 $MPG123_PE_LIBS $LIBS"
12431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12432 /* end confdefs.h. */
12434 /* Override any GCC internal prototype to avoid an error.
12435 Use char because int might match the return type of a GCC
12436 builtin and then its argument prototype would still apply. */
12437 char mpg123_feed ();
12441 return mpg123_feed ();
12446 if ac_fn_c_try_link "$LINENO"
12448 ac_cv_mingw_lib_mpg123=yes
12450 ac_cv_mingw_lib_mpg123=no
12452 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12453 conftest$ac_exeext conftest.$ac_ext
12454 CC=$ac_wine_check_headers_saved_cc
12455 ac_exeext=$ac_wine_check_headers_saved_exeext
12456 LIBS=$ac_wine_check_headers_saved_libs
12458 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_mpg123" >&5
12459 printf "%s\n" "$ac_cv_mingw_lib_mpg123" >&6; }
12460 if test "x$ac_cv_mingw_lib_mpg123" = xyes
12464 MPG123_PE_CFLAGS=""; MPG123_PE_LIBS=""
12467 MPG123_PE_CFLAGS=""; MPG123_PE_LIBS=""
12469 CPPFLAGS=$ac_save_CPPFLAGS
12471 if test "x$MPG123_PE_LIBS" = "x"
12473 as_fn_append wine_notices "|libmpg123 ${notice_platform}MinGW development files not found (or too old); using bundled version."
12476 if ${PNG_PE_CFLAGS:+false} :
12478 if test ${MINGW_PKG_CONFIG+y}
12480 PNG_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libpng
2>/dev
/null
`
12483 if ${PNG_PE_LIBS:+false} :
12485 if test ${MINGW_PKG_CONFIG+y}
12487 PNG_PE_LIBS=`$MINGW_PKG_CONFIG --libs libpng
2>/dev
/null
`
12491 ac_save_CPPFLAGS=$CPPFLAGS
12492 CPPFLAGS="$CPPFLAGS $PNG_PE_CFLAGS"
12493 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW png.h" >&5
12494 printf %s "checking for MinGW png.h... " >&6; }
12495 if test ${ac_cv_mingw_header_png_h+y}
12497 printf %s "(cached) " >&6
12499 ac_wine_check_headers_saved_cc=$CC
12500 ac_wine_check_headers_saved_exeext=$ac_exeext
12501 eval CC=\$${wine_arch}_CC
12503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12504 /* end confdefs.h. */
12515 if ac_fn_c_try_compile "$LINENO"
12517 ac_cv_mingw_header_png_h=yes
12519 ac_cv_mingw_header_png_h=no
12521 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12522 CC=$ac_wine_check_headers_saved_cc
12523 ac_exeext=$ac_wine_check_headers_saved_exeext
12525 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_png_h" >&5
12526 printf "%s\n" "$ac_cv_mingw_header_png_h" >&6; }
12527 if test "x$ac_cv_mingw_header_png_h" = xyes
12529 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for png_create_read_struct in MinGW -lpng" >&5
12530 printf %s "checking for png_create_read_struct in MinGW -lpng... " >&6; }
12531 if test ${ac_cv_mingw_lib_png+y}
12533 printf %s "(cached) " >&6
12535 ac_wine_check_headers_saved_cc=$CC
12536 ac_wine_check_headers_saved_exeext=$ac_exeext
12537 ac_wine_check_headers_saved_libs=$LIBS
12538 eval CC=\$${wine_arch}_CC
12540 LIBS="-lpng $PNG_PE_LIBS $LIBS"
12541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12542 /* end confdefs.h. */
12544 /* Override any GCC internal prototype to avoid an error.
12545 Use char because int might match the return type of a GCC
12546 builtin and then its argument prototype would still apply. */
12547 char png_create_read_struct ();
12551 return png_create_read_struct ();
12556 if ac_fn_c_try_link "$LINENO"
12558 ac_cv_mingw_lib_png=yes
12560 ac_cv_mingw_lib_png=no
12562 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12563 conftest$ac_exeext conftest.$ac_ext
12564 CC=$ac_wine_check_headers_saved_cc
12565 ac_exeext=$ac_wine_check_headers_saved_exeext
12566 LIBS=$ac_wine_check_headers_saved_libs
12568 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_png" >&5
12569 printf "%s\n" "$ac_cv_mingw_lib_png" >&6; }
12570 if test "x$ac_cv_mingw_lib_png" = xyes
12574 PNG_PE_CFLAGS=""; PNG_PE_LIBS=""
12577 PNG_PE_CFLAGS=""; PNG_PE_LIBS=""
12579 CPPFLAGS=$ac_save_CPPFLAGS
12581 if test "x$PNG_PE_LIBS" = "x"
12583 as_fn_append wine_notices "|libpng ${notice_platform}MinGW development files not found; using bundled version."
12586 if ${TIFF_PE_CFLAGS:+false} :
12588 if test ${MINGW_PKG_CONFIG+y}
12590 TIFF_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libtiff-4
2>/dev
/null
`
12593 if ${TIFF_PE_LIBS:+false} :
12595 if test ${MINGW_PKG_CONFIG+y}
12597 TIFF_PE_LIBS=`$MINGW_PKG_CONFIG --libs libtiff-4
2>/dev
/null
`
12601 ac_save_CPPFLAGS=$CPPFLAGS
12602 CPPFLAGS="$CPPFLAGS $TIFF_PE_CFLAGS"
12603 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW tiffio.h" >&5
12604 printf %s "checking for MinGW tiffio.h... " >&6; }
12605 if test ${ac_cv_mingw_header_tiffio_h+y}
12607 printf %s "(cached) " >&6
12609 ac_wine_check_headers_saved_cc=$CC
12610 ac_wine_check_headers_saved_exeext=$ac_exeext
12611 eval CC=\$${wine_arch}_CC
12613 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12614 /* end confdefs.h. */
12616 #include <tiffio.h>
12625 if ac_fn_c_try_compile "$LINENO"
12627 ac_cv_mingw_header_tiffio_h=yes
12629 ac_cv_mingw_header_tiffio_h=no
12631 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12632 CC=$ac_wine_check_headers_saved_cc
12633 ac_exeext=$ac_wine_check_headers_saved_exeext
12635 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_tiffio_h" >&5
12636 printf "%s\n" "$ac_cv_mingw_header_tiffio_h" >&6; }
12637 if test "x$ac_cv_mingw_header_tiffio_h" = xyes
12639 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for TIFFClientOpen in MinGW -ltiff" >&5
12640 printf %s "checking for TIFFClientOpen in MinGW -ltiff... " >&6; }
12641 if test ${ac_cv_mingw_lib_tiff+y}
12643 printf %s "(cached) " >&6
12645 ac_wine_check_headers_saved_cc=$CC
12646 ac_wine_check_headers_saved_exeext=$ac_exeext
12647 ac_wine_check_headers_saved_libs=$LIBS
12648 eval CC=\$${wine_arch}_CC
12650 LIBS="-ltiff $TIFF_PE_LIBS $LIBS"
12651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12652 /* end confdefs.h. */
12654 /* Override any GCC internal prototype to avoid an error.
12655 Use char because int might match the return type of a GCC
12656 builtin and then its argument prototype would still apply. */
12657 char TIFFClientOpen ();
12661 return TIFFClientOpen ();
12666 if ac_fn_c_try_link "$LINENO"
12668 ac_cv_mingw_lib_tiff=yes
12670 ac_cv_mingw_lib_tiff=no
12672 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12673 conftest$ac_exeext conftest.$ac_ext
12674 CC=$ac_wine_check_headers_saved_cc
12675 ac_exeext=$ac_wine_check_headers_saved_exeext
12676 LIBS=$ac_wine_check_headers_saved_libs
12678 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_tiff" >&5
12679 printf "%s\n" "$ac_cv_mingw_lib_tiff" >&6; }
12680 if test "x$ac_cv_mingw_lib_tiff" = xyes
12684 TIFF_PE_CFLAGS=""; TIFF_PE_LIBS=""
12687 TIFF_PE_CFLAGS=""; TIFF_PE_LIBS=""
12689 CPPFLAGS=$ac_save_CPPFLAGS
12691 if test "x$TIFF_PE_LIBS" = "x"
12693 as_fn_append wine_notices "|libtiff ${notice_platform}MinGW development files not found; using bundled version."
12696 if ${XML2_PE_CFLAGS:+false} :
12698 if test ${MINGW_PKG_CONFIG+y}
12700 XML2_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libxml-2.0
2>/dev
/null
`
12703 if ${XML2_PE_LIBS:+false} :
12705 if test ${MINGW_PKG_CONFIG+y}
12707 XML2_PE_LIBS=`$MINGW_PKG_CONFIG --libs libxml-2.0
2>/dev
/null
`
12710 XML2_PE_LIBS=${XML2_PE_LIBS:-"-lxml2"}
12711 ac_save_CPPFLAGS=$CPPFLAGS
12712 CPPFLAGS="$CPPFLAGS $XML2_PE_CFLAGS"
12713 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/parser.h" >&5
12714 printf %s "checking for MinGW libxml/parser.h... " >&6; }
12715 if test ${ac_cv_mingw_header_libxml_parser_h+y}
12717 printf %s "(cached) " >&6
12719 ac_wine_check_headers_saved_cc=$CC
12720 ac_wine_check_headers_saved_exeext=$ac_exeext
12721 eval CC=\$${wine_arch}_CC
12723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12724 /* end confdefs.h. */
12726 #include <libxml/parser.h>
12735 if ac_fn_c_try_compile "$LINENO"
12737 ac_cv_mingw_header_libxml_parser_h=yes
12739 ac_cv_mingw_header_libxml_parser_h=no
12741 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12742 CC=$ac_wine_check_headers_saved_cc
12743 ac_exeext=$ac_wine_check_headers_saved_exeext
12745 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_parser_h" >&5
12746 printf "%s\n" "$ac_cv_mingw_header_libxml_parser_h" >&6; }
12747 if test "x$ac_cv_mingw_header_libxml_parser_h" = xyes
12751 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/xmlsave.h" >&5
12752 printf %s "checking for MinGW libxml/xmlsave.h... " >&6; }
12753 if test ${ac_cv_mingw_header_libxml_xmlsave_h+y}
12755 printf %s "(cached) " >&6
12757 ac_wine_check_headers_saved_cc=$CC
12758 ac_wine_check_headers_saved_exeext=$ac_exeext
12759 eval CC=\$${wine_arch}_CC
12761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12762 /* end confdefs.h. */
12764 #include <libxml/xmlsave.h>
12773 if ac_fn_c_try_compile "$LINENO"
12775 ac_cv_mingw_header_libxml_xmlsave_h=yes
12777 ac_cv_mingw_header_libxml_xmlsave_h=no
12779 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12780 CC=$ac_wine_check_headers_saved_cc
12781 ac_exeext=$ac_wine_check_headers_saved_exeext
12783 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_xmlsave_h" >&5
12784 printf "%s\n" "$ac_cv_mingw_header_libxml_xmlsave_h" >&6; }
12785 if test "x$ac_cv_mingw_header_libxml_xmlsave_h" = xyes
12789 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/SAX2.h" >&5
12790 printf %s "checking for MinGW libxml/SAX2.h... " >&6; }
12791 if test ${ac_cv_mingw_header_libxml_SAX2_h+y}
12793 printf %s "(cached) " >&6
12795 ac_wine_check_headers_saved_cc=$CC
12796 ac_wine_check_headers_saved_exeext=$ac_exeext
12797 eval CC=\$${wine_arch}_CC
12799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12800 /* end confdefs.h. */
12802 #include <libxml/SAX2.h>
12811 if ac_fn_c_try_compile "$LINENO"
12813 ac_cv_mingw_header_libxml_SAX2_h=yes
12815 ac_cv_mingw_header_libxml_SAX2_h=no
12817 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12818 CC=$ac_wine_check_headers_saved_cc
12819 ac_exeext=$ac_wine_check_headers_saved_exeext
12821 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_SAX2_h" >&5
12822 printf "%s\n" "$ac_cv_mingw_header_libxml_SAX2_h" >&6; }
12823 if test "x$ac_cv_mingw_header_libxml_SAX2_h" = xyes
12827 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"
12829 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in MinGW -lxml2" >&5
12830 printf %s "checking for xmlFirstElementChild in MinGW -lxml2... " >&6; }
12831 if test ${ac_cv_mingw_lib_xml2+y}
12833 printf %s "(cached) " >&6
12835 ac_wine_check_headers_saved_cc=$CC
12836 ac_wine_check_headers_saved_exeext=$ac_exeext
12837 ac_wine_check_headers_saved_libs=$LIBS
12838 eval CC=\$${wine_arch}_CC
12840 LIBS="-lxml2 $XML2_PE_LIBS $LIBS"
12841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12842 /* end confdefs.h. */
12844 /* Override any GCC internal prototype to avoid an error.
12845 Use char because int might match the return type of a GCC
12846 builtin and then its argument prototype would still apply. */
12847 char xmlFirstElementChild ();
12851 return xmlFirstElementChild ();
12856 if ac_fn_c_try_link "$LINENO"
12858 ac_cv_mingw_lib_xml2=yes
12860 ac_cv_mingw_lib_xml2=no
12862 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12863 conftest$ac_exeext conftest.$ac_ext
12864 CC=$ac_wine_check_headers_saved_cc
12865 ac_exeext=$ac_wine_check_headers_saved_exeext
12866 LIBS=$ac_wine_check_headers_saved_libs
12868 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_xml2" >&5
12869 printf "%s\n" "$ac_cv_mingw_lib_xml2" >&6; }
12870 if test "x$ac_cv_mingw_lib_xml2" = xyes
12874 XML2_PE_CFLAGS=""; XML2_PE_LIBS=""
12880 CPPFLAGS=$ac_save_CPPFLAGS
12882 if test "x$XML2_PE_LIBS" = "x"
12884 as_fn_append wine_notices "|libxml2 ${notice_platform}MinGW development files not found (or too old); using bundled version."
12887 if ${XSLT_PE_CFLAGS:+false} :
12889 if test ${MINGW_PKG_CONFIG+y}
12891 XSLT_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libxslt
2>/dev
/null
`
12894 if ${XSLT_PE_LIBS:+false} :
12896 if test ${MINGW_PKG_CONFIG+y}
12898 XSLT_PE_LIBS=`$MINGW_PKG_CONFIG --libs libxslt
2>/dev
/null
`
12901 XSLT_PE_LIBS=${XSLT_PE_LIBS:-"-lxslt"}
12902 ac_save_CPPFLAGS=$CPPFLAGS
12903 CPPFLAGS="$CPPFLAGS $XSLT_PE_CFLAGS"
12904 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxslt/pattern.h" >&5
12905 printf %s "checking for MinGW libxslt/pattern.h... " >&6; }
12906 if test ${ac_cv_mingw_header_libxslt_pattern_h+y}
12908 printf %s "(cached) " >&6
12910 ac_wine_check_headers_saved_cc=$CC
12911 ac_wine_check_headers_saved_exeext=$ac_exeext
12912 eval CC=\$${wine_arch}_CC
12914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12915 /* end confdefs.h. */
12917 #include <libxslt/pattern.h>
12926 if ac_fn_c_try_compile "$LINENO"
12928 ac_cv_mingw_header_libxslt_pattern_h=yes
12930 ac_cv_mingw_header_libxslt_pattern_h=no
12932 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12933 CC=$ac_wine_check_headers_saved_cc
12934 ac_exeext=$ac_wine_check_headers_saved_exeext
12936 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxslt_pattern_h" >&5
12937 printf "%s\n" "$ac_cv_mingw_header_libxslt_pattern_h" >&6; }
12938 if test "x$ac_cv_mingw_header_libxslt_pattern_h" = xyes
12942 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxslt/transform.h" >&5
12943 printf %s "checking for MinGW libxslt/transform.h... " >&6; }
12944 if test ${ac_cv_mingw_header_libxslt_transform_h+y}
12946 printf %s "(cached) " >&6
12948 ac_wine_check_headers_saved_cc=$CC
12949 ac_wine_check_headers_saved_exeext=$ac_exeext
12950 eval CC=\$${wine_arch}_CC
12952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12953 /* end confdefs.h. */
12955 #include <libxslt/transform.h>
12964 if ac_fn_c_try_compile "$LINENO"
12966 ac_cv_mingw_header_libxslt_transform_h=yes
12968 ac_cv_mingw_header_libxslt_transform_h=no
12970 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12971 CC=$ac_wine_check_headers_saved_cc
12972 ac_exeext=$ac_wine_check_headers_saved_exeext
12974 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxslt_transform_h" >&5
12975 printf "%s\n" "$ac_cv_mingw_header_libxslt_transform_h" >&6; }
12976 if test "x$ac_cv_mingw_header_libxslt_transform_h" = xyes
12980 if test "$ac_cv_mingw_header_libxslt_pattern_h" = "yes" -a "$ac_cv_mingw_header_libxslt_transform_h" = "yes"
12982 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for xsltCompilePattern in MinGW -lxslt" >&5
12983 printf %s "checking for xsltCompilePattern in MinGW -lxslt... " >&6; }
12984 if test ${ac_cv_mingw_lib_xslt+y}
12986 printf %s "(cached) " >&6
12988 ac_wine_check_headers_saved_cc=$CC
12989 ac_wine_check_headers_saved_exeext=$ac_exeext
12990 ac_wine_check_headers_saved_libs=$LIBS
12991 eval CC=\$${wine_arch}_CC
12993 LIBS="-lxslt $XSLT_PE_LIBS $LIBS"
12994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12995 /* end confdefs.h. */
12997 /* Override any GCC internal prototype to avoid an error.
12998 Use char because int might match the return type of a GCC
12999 builtin and then its argument prototype would still apply. */
13000 char xsltCompilePattern ();
13004 return xsltCompilePattern ();
13009 if ac_fn_c_try_link "$LINENO"
13011 ac_cv_mingw_lib_xslt=yes
13013 ac_cv_mingw_lib_xslt=no
13015 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13016 conftest$ac_exeext conftest.$ac_ext
13017 CC=$ac_wine_check_headers_saved_cc
13018 ac_exeext=$ac_wine_check_headers_saved_exeext
13019 LIBS=$ac_wine_check_headers_saved_libs
13021 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_xslt" >&5
13022 printf "%s\n" "$ac_cv_mingw_lib_xslt" >&6; }
13023 if test "x$ac_cv_mingw_lib_xslt" = xyes
13027 XSLT_PE_CFLAGS=""; XSLT_PE_LIBS=""
13033 CPPFLAGS=$ac_save_CPPFLAGS
13035 if test "x$XSLT_PE_LIBS" = "x"
13037 as_fn_append wine_notices "|libxslt ${notice_platform}MinGW development files not found; using bundled version."
13040 if ${VKD3D_PE_CFLAGS:+false} :
13042 if test ${MINGW_PKG_CONFIG+y}
13044 VKD3D_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libvkd3d libvkd3d-shader
2>/dev
/null
`
13047 if ${VKD3D_PE_LIBS:+false} :
13049 if test ${MINGW_PKG_CONFIG+y}
13051 VKD3D_PE_LIBS=`$MINGW_PKG_CONFIG --libs libvkd3d libvkd3d-shader
2>/dev
/null
`
13054 VKD3D_PE_LIBS=${VKD3D_PE_LIBS:-"-lvkd3d -lvkd3d-shader"}
13055 ac_save_CPPFLAGS=$CPPFLAGS
13056 CPPFLAGS="$CPPFLAGS $VKD3D_PE_CFLAGS"
13057 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW vkd3d.h" >&5
13058 printf %s "checking for MinGW vkd3d.h... " >&6; }
13059 if test ${ac_cv_mingw_header_vkd3d_h+y}
13061 printf %s "(cached) " >&6
13063 ac_wine_check_headers_saved_cc=$CC
13064 ac_wine_check_headers_saved_exeext=$ac_exeext
13065 eval CC=\$${wine_arch}_CC
13067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13068 /* end confdefs.h. */
13079 if ac_fn_c_try_compile "$LINENO"
13081 ac_cv_mingw_header_vkd3d_h=yes
13083 ac_cv_mingw_header_vkd3d_h=no
13085 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
13086 CC=$ac_wine_check_headers_saved_cc
13087 ac_exeext=$ac_wine_check_headers_saved_exeext
13089 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_vkd3d_h" >&5
13090 printf "%s\n" "$ac_cv_mingw_header_vkd3d_h" >&6; }
13091 if test "x$ac_cv_mingw_header_vkd3d_h" = xyes
13095 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW vkd3d_shader.h" >&5
13096 printf %s "checking for MinGW vkd3d_shader.h... " >&6; }
13097 if test ${ac_cv_mingw_header_vkd3d_shader_h+y}
13099 printf %s "(cached) " >&6
13101 ac_wine_check_headers_saved_cc=$CC
13102 ac_wine_check_headers_saved_exeext=$ac_exeext
13103 eval CC=\$${wine_arch}_CC
13105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13106 /* end confdefs.h. */
13108 #include <vkd3d_shader.h>
13117 if ac_fn_c_try_compile "$LINENO"
13119 ac_cv_mingw_header_vkd3d_shader_h=yes
13121 ac_cv_mingw_header_vkd3d_shader_h=no
13123 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
13124 CC=$ac_wine_check_headers_saved_cc
13125 ac_exeext=$ac_wine_check_headers_saved_exeext
13127 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_vkd3d_shader_h" >&5
13128 printf "%s\n" "$ac_cv_mingw_header_vkd3d_shader_h" >&6; }
13129 if test "x$ac_cv_mingw_header_vkd3d_shader_h" = xyes
13133 if test "$ac_cv_mingw_header_vkd3d_h" = "yes" -a "$ac_cv_mingw_header_vkd3d_shader_h" = "yes"
13135 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for vkd3d_set_log_callback in MinGW -lvkd3d" >&5
13136 printf %s "checking for vkd3d_set_log_callback in MinGW -lvkd3d... " >&6; }
13137 if test ${ac_cv_mingw_lib_vkd3d+y}
13139 printf %s "(cached) " >&6
13141 ac_wine_check_headers_saved_cc=$CC
13142 ac_wine_check_headers_saved_exeext=$ac_exeext
13143 ac_wine_check_headers_saved_libs=$LIBS
13144 eval CC=\$${wine_arch}_CC
13146 LIBS="-lvkd3d $VKD3D_PE_LIBS $LIBS"
13147 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13148 /* end confdefs.h. */
13150 /* Override any GCC internal prototype to avoid an error.
13151 Use char because int might match the return type of a GCC
13152 builtin and then its argument prototype would still apply. */
13153 char vkd3d_set_log_callback ();
13157 return vkd3d_set_log_callback ();
13162 if ac_fn_c_try_link "$LINENO"
13164 ac_cv_mingw_lib_vkd3d=yes
13166 ac_cv_mingw_lib_vkd3d=no
13168 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13169 conftest$ac_exeext conftest.$ac_ext
13170 CC=$ac_wine_check_headers_saved_cc
13171 ac_exeext=$ac_wine_check_headers_saved_exeext
13172 LIBS=$ac_wine_check_headers_saved_libs
13174 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_vkd3d" >&5
13175 printf "%s\n" "$ac_cv_mingw_lib_vkd3d" >&6; }
13176 if test "x$ac_cv_mingw_lib_vkd3d" = xyes
13182 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for vkd3d_shader_compile in MinGW -lvkd3d-shader" >&5
13183 printf %s "checking for vkd3d_shader_compile in MinGW -lvkd3d-shader... " >&6; }
13184 if test ${ac_cv_mingw_lib_vkd3d_shader+y}
13186 printf %s "(cached) " >&6
13188 ac_wine_check_headers_saved_cc=$CC
13189 ac_wine_check_headers_saved_exeext=$ac_exeext
13190 ac_wine_check_headers_saved_libs=$LIBS
13191 eval CC=\$${wine_arch}_CC
13193 LIBS="-lvkd3d-shader $VKD3D_PE_LIBS $LIBS"
13194 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13195 /* end confdefs.h. */
13197 /* Override any GCC internal prototype to avoid an error.
13198 Use char because int might match the return type of a GCC
13199 builtin and then its argument prototype would still apply. */
13200 char vkd3d_shader_compile ();
13204 return vkd3d_shader_compile ();
13209 if ac_fn_c_try_link "$LINENO"
13211 ac_cv_mingw_lib_vkd3d_shader=yes
13213 ac_cv_mingw_lib_vkd3d_shader=no
13215 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13216 conftest$ac_exeext conftest.$ac_ext
13217 CC=$ac_wine_check_headers_saved_cc
13218 ac_exeext=$ac_wine_check_headers_saved_exeext
13219 LIBS=$ac_wine_check_headers_saved_libs
13221 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_vkd3d_shader" >&5
13222 printf "%s\n" "$ac_cv_mingw_lib_vkd3d_shader" >&6; }
13223 if test "x$ac_cv_mingw_lib_vkd3d_shader" = xyes
13229 if test "$ac_cv_mingw_lib_vkd3d" = "no" -o "$ac_cv_mingw_lib_vkd3d_shader" = "no"
13238 CPPFLAGS=$ac_save_CPPFLAGS
13240 if test "x$VKD3D_PE_LIBS" = "x"
13242 as_fn_append wine_notices "|libvkd3d ${notice_platform}MinGW development files not found (or too old); using bundled version."
13245 if ${ZLIB_PE_CFLAGS:+false} :
13247 if test ${MINGW_PKG_CONFIG+y}
13249 ZLIB_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags zlib
2>/dev
/null
`
13252 if ${ZLIB_PE_LIBS:+false} :
13254 if test ${MINGW_PKG_CONFIG+y}
13256 ZLIB_PE_LIBS=`$MINGW_PKG_CONFIG --libs zlib
2>/dev
/null
`
13259 ZLIB_PE_LIBS=${ZLIB_PE_LIBS:-"-lz"}
13260 ac_save_CPPFLAGS=$CPPFLAGS
13261 CPPFLAGS="$CPPFLAGS $ZLIB_PE_CFLAGS"
13262 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW zlib.h" >&5
13263 printf %s "checking for MinGW zlib.h... " >&6; }
13264 if test ${ac_cv_mingw_header_zlib_h+y}
13266 printf %s "(cached) " >&6
13268 ac_wine_check_headers_saved_cc=$CC
13269 ac_wine_check_headers_saved_exeext=$ac_exeext
13270 eval CC=\$${wine_arch}_CC
13272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13273 /* end confdefs.h. */
13284 if ac_fn_c_try_compile "$LINENO"
13286 ac_cv_mingw_header_zlib_h=yes
13288 ac_cv_mingw_header_zlib_h=no
13290 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
13291 CC=$ac_wine_check_headers_saved_cc
13292 ac_exeext=$ac_wine_check_headers_saved_exeext
13294 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_zlib_h" >&5
13295 printf "%s\n" "$ac_cv_mingw_header_zlib_h" >&6; }
13296 if test "x$ac_cv_mingw_header_zlib_h" = xyes
13298 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inflate in MinGW -lz" >&5
13299 printf %s "checking for inflate in MinGW -lz... " >&6; }
13300 if test ${ac_cv_mingw_lib_z+y}
13302 printf %s "(cached) " >&6
13304 ac_wine_check_headers_saved_cc=$CC
13305 ac_wine_check_headers_saved_exeext=$ac_exeext
13306 ac_wine_check_headers_saved_libs=$LIBS
13307 eval CC=\$${wine_arch}_CC
13309 LIBS="-lz $ZLIB_PE_LIBS $LIBS"
13310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13311 /* end confdefs.h. */
13313 /* Override any GCC internal prototype to avoid an error.
13314 Use char because int might match the return type of a GCC
13315 builtin and then its argument prototype would still apply. */
13325 if ac_fn_c_try_link "$LINENO"
13327 ac_cv_mingw_lib_z=yes
13329 ac_cv_mingw_lib_z=no
13331 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13332 conftest$ac_exeext conftest.$ac_ext
13333 CC=$ac_wine_check_headers_saved_cc
13334 ac_exeext=$ac_wine_check_headers_saved_exeext
13335 LIBS=$ac_wine_check_headers_saved_libs
13337 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_z" >&5
13338 printf "%s\n" "$ac_cv_mingw_lib_z" >&6; }
13339 if test "x$ac_cv_mingw_lib_z" = xyes
13343 ZLIB_PE_CFLAGS=""; ZLIB_PE_LIBS=""
13346 ZLIB_PE_CFLAGS=""; ZLIB_PE_LIBS=""
13348 CPPFLAGS=$ac_save_CPPFLAGS
13350 if test "x$ZLIB_PE_LIBS" = "x"
13352 as_fn_append wine_notices "|zlib ${notice_platform}MinGW development files not found; using bundled version."
13356 if ${FAUDIO_PE_LIBS:+false} :
13358 FAUDIO_PE_LIBS="faudio mfplat mfreadwrite mfuuid propsys"
13359 if ${FAUDIO_PE_CFLAGS:+false} :
13361 FAUDIO_PE_CFLAGS="-I\$(top_srcdir)/libs/faudio/include"
13368 printf "%s\n" "$as_me:${as_lineno-$LINENO}: faudio cflags: $FAUDIO_PE_CFLAGS" >&5
13369 printf "%s\n" "$as_me:${as_lineno-$LINENO}: faudio libs: $FAUDIO_PE_LIBS" >&5
13371 if ${GSM_PE_LIBS:+false} :
13374 if ${GSM_PE_CFLAGS:+false} :
13376 GSM_PE_CFLAGS="-I\$(top_srcdir)/libs/gsm/inc"
13383 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gsm cflags: $GSM_PE_CFLAGS" >&5
13384 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gsm libs: $GSM_PE_LIBS" >&5
13386 if ${JPEG_PE_LIBS:+false} :
13389 if ${JPEG_PE_CFLAGS:+false} :
13391 JPEG_PE_CFLAGS="-I\$(top_srcdir)/libs/jpeg"
13398 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jpeg cflags: $JPEG_PE_CFLAGS" >&5
13399 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jpeg libs: $JPEG_PE_LIBS" >&5
13401 if ${JXR_PE_LIBS:+false} :
13404 if ${JXR_PE_CFLAGS:+false} :
13406 JXR_PE_CFLAGS="-I\$(top_srcdir)/libs/jxr/jxrgluelib -I\$(top_srcdir)/libs/jxr/image/sys"
13413 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jxr cflags: $JXR_PE_CFLAGS" >&5
13414 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jxr libs: $JXR_PE_LIBS" >&5
13416 if ${LCMS2_PE_LIBS:+false} :
13418 LCMS2_PE_LIBS=lcms2
13419 if ${LCMS2_PE_CFLAGS:+false} :
13421 LCMS2_PE_CFLAGS="-I\$(top_srcdir)/libs/lcms2/include"
13428 printf "%s\n" "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_PE_CFLAGS" >&5
13429 printf "%s\n" "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_PE_LIBS" >&5
13431 if ${MPG123_PE_LIBS:+false} :
13433 MPG123_PE_LIBS=mpg123
13434 if ${MPG123_PE_CFLAGS:+false} :
13436 MPG123_PE_CFLAGS="-I\$(top_srcdir)/libs/mpg123/src/libmpg123"
13443 printf "%s\n" "$as_me:${as_lineno-$LINENO}: mpg123 cflags: $MPG123_PE_CFLAGS" >&5
13444 printf "%s\n" "$as_me:${as_lineno-$LINENO}: mpg123 libs: $MPG123_PE_LIBS" >&5
13446 if ${PNG_PE_LIBS:+false} :
13448 PNG_PE_LIBS="png \$(ZLIB_PE_LIBS)"
13449 if ${PNG_PE_CFLAGS:+false} :
13451 PNG_PE_CFLAGS="-I\$(top_srcdir)/libs/png"
13458 printf "%s\n" "$as_me:${as_lineno-$LINENO}: png cflags: $PNG_PE_CFLAGS" >&5
13459 printf "%s\n" "$as_me:${as_lineno-$LINENO}: png libs: $PNG_PE_LIBS" >&5
13461 if ${TIFF_PE_LIBS:+false} :
13463 TIFF_PE_LIBS="tiff \$(ZLIB_PE_LIBS)"
13464 if ${TIFF_PE_CFLAGS:+false} :
13466 TIFF_PE_CFLAGS="-I\$(top_srcdir)/libs/tiff/libtiff"
13473 printf "%s\n" "$as_me:${as_lineno-$LINENO}: tiff cflags: $TIFF_PE_CFLAGS" >&5
13474 printf "%s\n" "$as_me:${as_lineno-$LINENO}: tiff libs: $TIFF_PE_LIBS" >&5
13476 if ${VKD3D_PE_LIBS:+false} :
13478 VKD3D_PE_LIBS=vkd3d
13479 if ${VKD3D_PE_CFLAGS:+false} :
13481 VKD3D_PE_CFLAGS="-I\$(top_srcdir)/libs/vkd3d/include"
13488 printf "%s\n" "$as_me:${as_lineno-$LINENO}: vkd3d cflags: $VKD3D_PE_CFLAGS" >&5
13489 printf "%s\n" "$as_me:${as_lineno-$LINENO}: vkd3d libs: $VKD3D_PE_LIBS" >&5
13491 if ${XML2_PE_LIBS:+false} :
13494 if ${XML2_PE_CFLAGS:+false} :
13496 XML2_PE_CFLAGS="-I\$(top_srcdir)/libs/xml2/include -DLIBXML_STATIC"
13503 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xml2 cflags: $XML2_PE_CFLAGS" >&5
13504 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xml2 libs: $XML2_PE_LIBS" >&5
13506 if ${XSLT_PE_LIBS:+false} :
13509 if ${XSLT_PE_CFLAGS:+false} :
13511 XSLT_PE_CFLAGS="-I\$(top_srcdir)/libs/xslt/libxslt -I\$(top_srcdir)/libs/xslt -DLIBXSLT_STATIC"
13518 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xslt cflags: $XSLT_PE_CFLAGS" >&5
13519 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xslt libs: $XSLT_PE_LIBS" >&5
13521 if ${ZLIB_PE_LIBS:+false} :
13524 if ${ZLIB_PE_CFLAGS:+false} :
13526 ZLIB_PE_CFLAGS="-I\$(top_srcdir)/libs/zlib -DFAR= -DZ_SOLO"
13533 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zlib cflags: $ZLIB_PE_CFLAGS" >&5
13534 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zlib libs: $ZLIB_PE_LIBS" >&5
13538 if test "$ac_cv_header_pthread_h" = "yes"
13540 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
13541 if test "x$ac_cv_func_pthread_create" = xyes
13545 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
13546 printf %s "checking for pthread_create in -lpthread... " >&6; }
13547 if test ${ac_cv_lib_pthread_pthread_create+y}
13549 printf %s "(cached) " >&6
13551 ac_check_lib_save_LIBS=$LIBS
13552 LIBS="-lpthread $LIBS"
13553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13554 /* end confdefs.h. */
13556 /* Override any GCC internal prototype to avoid an error.
13557 Use char because int might match the return type of a GCC
13558 builtin and then its argument prototype would still apply. */
13559 char pthread_create ();
13563 return pthread_create ();
13568 if ac_fn_c_try_link "$LINENO"
13570 ac_cv_lib_pthread_pthread_create=yes
13572 ac_cv_lib_pthread_pthread_create=no
13574 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13575 conftest$ac_exeext conftest.$ac_ext
13576 LIBS=$ac_check_lib_save_LIBS
13578 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
13579 printf "%s\n" "$ac_cv_lib_pthread_pthread_create" >&6; }
13580 if test "x$ac_cv_lib_pthread_pthread_create" = xyes
13582 PTHREAD_LIBS="-lpthread"
13589 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x
13591 case "x$with_pthread" in
13593 *) as_fn_error $? "pthread ${notice_platform}development files not found.
13594 Wine cannot support threads without libpthread.
13595 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
13602 ac_cpp='$CPP $CPPFLAGS'
13603 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13604 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13605 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13606 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
13607 printf %s "checking how to run the C preprocessor... " >&6; }
13608 # On Suns, sometimes $CPP names a directory.
13609 if test -n "$CPP" && test -d "$CPP"; then
13612 if test -z "$CPP"; then
13613 if test ${ac_cv_prog_CPP+y}
13615 printf %s "(cached) " >&6
13617 # Double quotes because $CC needs to be expanded
13618 for CPP in "$CC -E" "$CC -E -traditional-cpp" cpp /lib/cpp
13620 ac_preproc_ok=false
13621 for ac_c_preproc_warn_flag in '' yes
13623 # Use a header file that comes with gcc, so configuring glibc
13624 # with a fresh cross-compiler works.
13625 # On the NeXT, cc -E runs the code through the compiler's parser,
13626 # not just through cpp. "Syntax error" is here to catch this case.
13627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13628 /* end confdefs.h. */
13629 #include <limits.h>
13632 if ac_fn_c_try_cpp "$LINENO"
13636 # Broken: fails on valid input.
13639 rm -f conftest.err conftest.i conftest.$ac_ext
13641 # OK, works on sane cases. Now check whether nonexistent headers
13642 # can be detected and how.
13643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13644 /* end confdefs.h. */
13645 #include <ac_nonexistent.h>
13647 if ac_fn_c_try_cpp "$LINENO"
13649 # Broken: success on invalid input.
13652 # Passes both tests.
13656 rm -f conftest.err conftest.i conftest.$ac_ext
13659 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13660 rm -f conftest.i conftest.err conftest.
$ac_ext
13667 ac_cv_prog_CPP
=$CPP
13670 CPP
=$ac_cv_prog_CPP
13672 ac_cv_prog_CPP
=$CPP
13674 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
13675 printf "%s\n" "$CPP" >&6; }
13676 ac_preproc_ok
=false
13677 for ac_c_preproc_warn_flag
in '' yes
13679 # Use a header file that comes with gcc, so configuring glibc
13680 # with a fresh cross-compiler works.
13681 # On the NeXT, cc -E runs the code through the compiler's parser,
13682 # not just through cpp. "Syntax error" is here to catch this case.
13683 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13684 /* end confdefs.h. */
13685 #include <limits.h>
13688 if ac_fn_c_try_cpp
"$LINENO"
13692 # Broken: fails on valid input.
13695 rm -f conftest.err conftest.i conftest.
$ac_ext
13697 # OK, works on sane cases. Now check whether nonexistent headers
13698 # can be detected and how.
13699 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13700 /* end confdefs.h. */
13701 #include <ac_nonexistent.h>
13703 if ac_fn_c_try_cpp
"$LINENO"
13705 # Broken: success on invalid input.
13708 # Passes both tests.
13712 rm -f conftest.err conftest.i conftest.
$ac_ext
13715 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13716 rm -f conftest.i conftest.err conftest.
$ac_ext
13721 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13722 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
13723 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
13724 See \`config.log' for more details" "$LINENO" 5; }
13728 ac_cpp
='$CPP $CPPFLAGS'
13729 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13730 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13731 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13734 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for X" >&5
13735 printf %s
"checking for X... " >&6; }
13738 # Check whether --with-x was given.
13739 if test ${with_x+y}
13744 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
13745 if test "x$with_x" = xno
; then
13746 # The user explicitly disabled X.
13749 case $x_includes,$x_libraries in #(
13750 *\'*) as_fn_error $?
"cannot use X directory names containing '" "$LINENO" 5;; #(
13751 *,NONE | NONE
,*) if test ${ac_cv_have_x+y}
13753 printf %s
"(cached) " >&6
13755 # One or both of the vars are not set, and there is no cached value.
13758 # Do we need to do anything special at all?
13761 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13762 /* end confdefs.h. */
13763 #include <X11/Xlib.h>
13772 if ac_fn_c_try_link
"$LINENO"
13774 # We can compile and link X programs with no special options.
13778 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
13779 conftest
$ac_exeext conftest.
$ac_ext
13780 LIBS
="$ac_save_LIBS"
13781 # If that didn't work, only try xmkmf and file system searches
13782 # for native compilation.
13783 if test x
"$ac_x_includes" = xno
&& test "$cross_compiling" = no
13785 rm -f -r conftest.dir
13786 if mkdir conftest.dir
; then
13788 cat >Imakefile
<<'_ACEOF'
13790 @echo incroot='${INCROOT}'
13792 @echo usrlibdir='${USRLIBDIR}'
13794 @echo libdir='${LIBDIR}'
13796 if (export CC
; ${XMKMF-xmkmf}) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
13797 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
13798 for ac_var
in incroot usrlibdir libdir
; do
13799 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
13801 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
13802 for ac_extension
in a so sl dylib la dll
; do
13803 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
13804 test -f "$ac_im_libdir/libX11.$ac_extension"; then
13805 ac_im_usrlibdir
=$ac_im_libdir; break
13808 # Screen out bogus values from the imake configuration. They are
13809 # bogus both because they are the default anyway, and because
13810 # using them would break gcc on systems where it needs fixed includes.
13811 case $ac_im_incroot in
13812 /usr
/include
) ac_x_includes
= ;;
13813 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
13815 case $ac_im_usrlibdir in
13816 /usr
/lib |
/usr
/lib64 |
/lib |
/lib64
) ;;
13817 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
13821 rm -f -r conftest.dir
13824 # Standard set of common directories for X headers.
13825 # Check X11 before X11Rn because it is often a symlink to the current release.
13839 /usr/local/X11/include
13840 /usr/local/X11R7/include
13841 /usr/local/X11R6/include
13842 /usr/local/X11R5/include
13843 /usr/local/X11R4/include
13845 /usr/local/include/X11
13846 /usr/local/include/X11R7
13847 /usr/local/include/X11R6
13848 /usr/local/include/X11R5
13849 /usr/local/include/X11R4
13855 /usr/XFree86/include/X11
13859 /usr/unsupported/include
13860 /usr/athena/include
13861 /usr/local/x11r5/include
13862 /usr/lpp/Xamples/include
13864 /usr/openwin/include
13865 /usr/openwin/share/include'
13867 if test "$ac_x_includes" = no
; then
13868 # Guess where to find include files, by looking for Xlib.h.
13869 # First, try using that file with no special directory specified.
13870 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13871 /* end confdefs.h. */
13872 #include <X11/Xlib.h>
13874 if ac_fn_c_try_cpp
"$LINENO"
13876 # We can compile using X headers with no special include directory.
13879 for ac_dir
in $ac_x_header_dirs; do
13880 if test -r "$ac_dir/X11/Xlib.h"; then
13881 ac_x_includes
=$ac_dir
13886 rm -f conftest.err conftest.i conftest.
$ac_ext
13887 fi # $ac_x_includes = no
13889 if test "$ac_x_libraries" = no
; then
13890 # Check for the libraries.
13891 # See if we find them without any special options.
13892 # Don't add to $LIBS permanently.
13895 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13896 /* end confdefs.h. */
13897 #include <X11/Xlib.h>
13906 if ac_fn_c_try_link
"$LINENO"
13909 # We can link X programs with no special library path.
13913 for ac_dir
in `printf "%s\n" "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
13915 # Don't even attempt the hair of trying to link an X program!
13916 for ac_extension
in a so sl dylib la dll
; do
13917 if test -r "$ac_dir/libX11.$ac_extension"; then
13918 ac_x_libraries
=$ac_dir
13924 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
13925 conftest
$ac_exeext conftest.
$ac_ext
13926 fi # $ac_x_libraries = no
13929 # Record the results.
13930 case $ac_x_includes,$ac_x_libraries in #(
13931 no
,* |
*,no |
*\'*) :
13932 # Didn't find X, or a directory has "'" in its name.
13933 ac_cv_have_x
="have_x=no" ;; #(
13935 # Record where we found X for the cache.
13936 ac_cv_have_x
="have_x=yes\
13937 ac_x_includes='$ac_x_includes'\
13938 ac_x_libraries='$ac_x_libraries'" ;;
13944 eval "$ac_cv_have_x"
13947 if test "$have_x" != yes; then
13948 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
13949 printf "%s\n" "$have_x" >&6; }
13952 # If each of the values was on the command line, it overrides each guess.
13953 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
13954 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
13955 # Update the cache value to reflect the command line values.
13956 ac_cv_have_x
="have_x=yes\
13957 ac_x_includes='$x_includes'\
13958 ac_x_libraries='$x_libraries'"
13959 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
13960 printf "%s\n" "libraries $x_libraries, headers $x_includes" >&6; }
13963 if test "$no_x" = yes; then
13964 # Not all programs may use this symbol, but it does not hurt to define it.
13966 printf "%s\n" "#define X_DISPLAY_MISSING 1" >>confdefs.h
13968 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
13970 if test -n "$x_includes"; then
13971 X_CFLAGS
="$X_CFLAGS -I$x_includes"
13974 # It would also be nice to do this for all -L options, not just this one.
13975 if test -n "$x_libraries"; then
13976 X_LIBS
="$X_LIBS -L$x_libraries"
13977 # For Solaris; some versions of Sun CC require a space after -R and
13978 # others require no space. Words are not sufficient . . . .
13979 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
13980 printf %s
"checking whether -R must be followed by a space... " >&6; }
13981 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
13982 ac_xsave_c_werror_flag
=$ac_c_werror_flag
13983 ac_c_werror_flag
=yes
13984 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13985 /* end confdefs.h. */
13995 if ac_fn_c_try_link
"$LINENO"
13997 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
13998 printf "%s\n" "no" >&6; }
13999 X_LIBS
="$X_LIBS -R$x_libraries"
14001 LIBS
="$ac_xsave_LIBS -R $x_libraries"
14002 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14003 /* end confdefs.h. */
14013 if ac_fn_c_try_link
"$LINENO"
14015 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14016 printf "%s\n" "yes" >&6; }
14017 X_LIBS
="$X_LIBS -R $x_libraries"
14019 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
14020 printf "%s\n" "neither works" >&6; }
14022 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14023 conftest
$ac_exeext conftest.
$ac_ext
14025 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14026 conftest
$ac_exeext conftest.
$ac_ext
14027 ac_c_werror_flag
=$ac_xsave_c_werror_flag
14028 LIBS
=$ac_xsave_LIBS
14031 # Check for system-dependent libraries X programs must link with.
14032 # Do this before checking for the system-independent R6 libraries
14033 # (-lICE), since we may need -lsocket or whatever for X linking.
14035 if test "$ISC" = yes; then
14036 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
14038 # Martyn Johnson says this is needed for Ultrix, if the X
14039 # libraries were built with DECnet support. And Karl Berry says
14040 # the Alpha needs dnet_stub (dnet does not exist).
14041 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
14042 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14043 /* end confdefs.h. */
14045 /* Override any GCC internal prototype to avoid an error.
14046 Use char because int might match the return type of a GCC
14047 builtin and then its argument prototype would still apply. */
14048 char XOpenDisplay ();
14052 return XOpenDisplay ();
14057 if ac_fn_c_try_link
"$LINENO"
14061 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
14062 printf %s
"checking for dnet_ntoa in -ldnet... " >&6; }
14063 if test ${ac_cv_lib_dnet_dnet_ntoa+y}
14065 printf %s
"(cached) " >&6
14067 ac_check_lib_save_LIBS
=$LIBS
14068 LIBS
="-ldnet $LIBS"
14069 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14070 /* end confdefs.h. */
14072 /* Override any GCC internal prototype to avoid an error.
14073 Use char because int might match the return type of a GCC
14074 builtin and then its argument prototype would still apply. */
14079 return dnet_ntoa ();
14084 if ac_fn_c_try_link
"$LINENO"
14086 ac_cv_lib_dnet_dnet_ntoa
=yes
14088 ac_cv_lib_dnet_dnet_ntoa
=no
14090 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14091 conftest
$ac_exeext conftest.
$ac_ext
14092 LIBS
=$ac_check_lib_save_LIBS
14094 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
14095 printf "%s\n" "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
14096 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes
14098 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
14101 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
14102 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
14103 printf %s
"checking for dnet_ntoa in -ldnet_stub... " >&6; }
14104 if test ${ac_cv_lib_dnet_stub_dnet_ntoa+y}
14106 printf %s
"(cached) " >&6
14108 ac_check_lib_save_LIBS
=$LIBS
14109 LIBS
="-ldnet_stub $LIBS"
14110 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14111 /* end confdefs.h. */
14113 /* Override any GCC internal prototype to avoid an error.
14114 Use char because int might match the return type of a GCC
14115 builtin and then its argument prototype would still apply. */
14120 return dnet_ntoa ();
14125 if ac_fn_c_try_link
"$LINENO"
14127 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
14129 ac_cv_lib_dnet_stub_dnet_ntoa
=no
14131 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14132 conftest
$ac_exeext conftest.
$ac_ext
14133 LIBS
=$ac_check_lib_save_LIBS
14135 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
14136 printf "%s\n" "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
14137 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes
14139 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
14144 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14145 conftest
$ac_exeext conftest.
$ac_ext
14146 LIBS
="$ac_xsave_LIBS"
14148 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
14149 # to get the SysV transport functions.
14150 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
14152 # The nsl library prevents programs from opening the X display
14153 # on Irix 5.2, according to T.E. Dickey.
14154 # The functions gethostbyname, getservbyname, and inet_addr are
14155 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
14156 ac_fn_c_check_func
"$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
14157 if test "x$ac_cv_func_gethostbyname" = xyes
14162 if test $ac_cv_func_gethostbyname = no
; then
14163 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
14164 printf %s
"checking for gethostbyname in -lnsl... " >&6; }
14165 if test ${ac_cv_lib_nsl_gethostbyname+y}
14167 printf %s
"(cached) " >&6
14169 ac_check_lib_save_LIBS
=$LIBS
14171 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14172 /* end confdefs.h. */
14174 /* Override any GCC internal prototype to avoid an error.
14175 Use char because int might match the return type of a GCC
14176 builtin and then its argument prototype would still apply. */
14177 char gethostbyname ();
14181 return gethostbyname ();
14186 if ac_fn_c_try_link
"$LINENO"
14188 ac_cv_lib_nsl_gethostbyname
=yes
14190 ac_cv_lib_nsl_gethostbyname
=no
14192 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14193 conftest
$ac_exeext conftest.
$ac_ext
14194 LIBS
=$ac_check_lib_save_LIBS
14196 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
14197 printf "%s\n" "$ac_cv_lib_nsl_gethostbyname" >&6; }
14198 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes
14200 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
14203 if test $ac_cv_lib_nsl_gethostbyname = no
; then
14204 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
14205 printf %s
"checking for gethostbyname in -lbsd... " >&6; }
14206 if test ${ac_cv_lib_bsd_gethostbyname+y}
14208 printf %s
"(cached) " >&6
14210 ac_check_lib_save_LIBS
=$LIBS
14212 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14213 /* end confdefs.h. */
14215 /* Override any GCC internal prototype to avoid an error.
14216 Use char because int might match the return type of a GCC
14217 builtin and then its argument prototype would still apply. */
14218 char gethostbyname ();
14222 return gethostbyname ();
14227 if ac_fn_c_try_link
"$LINENO"
14229 ac_cv_lib_bsd_gethostbyname
=yes
14231 ac_cv_lib_bsd_gethostbyname
=no
14233 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14234 conftest
$ac_exeext conftest.
$ac_ext
14235 LIBS
=$ac_check_lib_save_LIBS
14237 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
14238 printf "%s\n" "$ac_cv_lib_bsd_gethostbyname" >&6; }
14239 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes
14241 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
14247 # lieder@skyler.mavd.honeywell.com says without -lsocket,
14248 # socket/setsockopt and other routines are undefined under SCO ODT
14249 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
14250 # on later versions), says Simon Leinen: it contains gethostby*
14251 # variants that don't use the name server (or something). -lsocket
14252 # must be given before -lnsl if both are needed. We assume that
14253 # if connect needs -lnsl, so does gethostbyname.
14254 ac_fn_c_check_func
"$LINENO" "connect" "ac_cv_func_connect"
14255 if test "x$ac_cv_func_connect" = xyes
14260 if test $ac_cv_func_connect = no
; then
14261 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
14262 printf %s
"checking for connect in -lsocket... " >&6; }
14263 if test ${ac_cv_lib_socket_connect+y}
14265 printf %s
"(cached) " >&6
14267 ac_check_lib_save_LIBS
=$LIBS
14268 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
14269 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14270 /* end confdefs.h. */
14272 /* Override any GCC internal prototype to avoid an error.
14273 Use char because int might match the return type of a GCC
14274 builtin and then its argument prototype would still apply. */
14284 if ac_fn_c_try_link
"$LINENO"
14286 ac_cv_lib_socket_connect
=yes
14288 ac_cv_lib_socket_connect
=no
14290 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14291 conftest
$ac_exeext conftest.
$ac_ext
14292 LIBS
=$ac_check_lib_save_LIBS
14294 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
14295 printf "%s\n" "$ac_cv_lib_socket_connect" >&6; }
14296 if test "x$ac_cv_lib_socket_connect" = xyes
14298 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
14303 # Guillermo Gomez says -lposix is necessary on A/UX.
14304 ac_fn_c_check_func
"$LINENO" "remove" "ac_cv_func_remove"
14305 if test "x$ac_cv_func_remove" = xyes
14310 if test $ac_cv_func_remove = no
; then
14311 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
14312 printf %s
"checking for remove in -lposix... " >&6; }
14313 if test ${ac_cv_lib_posix_remove+y}
14315 printf %s
"(cached) " >&6
14317 ac_check_lib_save_LIBS
=$LIBS
14318 LIBS
="-lposix $LIBS"
14319 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14320 /* end confdefs.h. */
14322 /* Override any GCC internal prototype to avoid an error.
14323 Use char because int might match the return type of a GCC
14324 builtin and then its argument prototype would still apply. */
14334 if ac_fn_c_try_link
"$LINENO"
14336 ac_cv_lib_posix_remove
=yes
14338 ac_cv_lib_posix_remove
=no
14340 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14341 conftest
$ac_exeext conftest.
$ac_ext
14342 LIBS
=$ac_check_lib_save_LIBS
14344 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
14345 printf "%s\n" "$ac_cv_lib_posix_remove" >&6; }
14346 if test "x$ac_cv_lib_posix_remove" = xyes
14348 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
14353 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
14354 ac_fn_c_check_func
"$LINENO" "shmat" "ac_cv_func_shmat"
14355 if test "x$ac_cv_func_shmat" = xyes
14360 if test $ac_cv_func_shmat = no
; then
14361 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
14362 printf %s
"checking for shmat in -lipc... " >&6; }
14363 if test ${ac_cv_lib_ipc_shmat+y}
14365 printf %s
"(cached) " >&6
14367 ac_check_lib_save_LIBS
=$LIBS
14369 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14370 /* end confdefs.h. */
14372 /* Override any GCC internal prototype to avoid an error.
14373 Use char because int might match the return type of a GCC
14374 builtin and then its argument prototype would still apply. */
14384 if ac_fn_c_try_link
"$LINENO"
14386 ac_cv_lib_ipc_shmat
=yes
14388 ac_cv_lib_ipc_shmat
=no
14390 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14391 conftest
$ac_exeext conftest.
$ac_ext
14392 LIBS
=$ac_check_lib_save_LIBS
14394 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
14395 printf "%s\n" "$ac_cv_lib_ipc_shmat" >&6; }
14396 if test "x$ac_cv_lib_ipc_shmat" = xyes
14398 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
14404 # Check for libraries that X11R6 Xt/Xaw programs need.
14405 ac_save_LDFLAGS
=$LDFLAGS
14406 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
14407 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
14408 # check for ICE first), but we must link in the order -lSM -lICE or
14409 # we get undefined symbols. So assume we have SM if we have ICE.
14410 # These have to be linked with before -lX11, unlike the other
14411 # libraries we check for below, so use a different variable.
14412 # John Interrante, Karl Berry
14413 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
14414 printf %s
"checking for IceConnectionNumber in -lICE... " >&6; }
14415 if test ${ac_cv_lib_ICE_IceConnectionNumber+y}
14417 printf %s
"(cached) " >&6
14419 ac_check_lib_save_LIBS
=$LIBS
14420 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
14421 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14422 /* end confdefs.h. */
14424 /* Override any GCC internal prototype to avoid an error.
14425 Use char because int might match the return type of a GCC
14426 builtin and then its argument prototype would still apply. */
14427 char IceConnectionNumber ();
14431 return IceConnectionNumber ();
14436 if ac_fn_c_try_link
"$LINENO"
14438 ac_cv_lib_ICE_IceConnectionNumber
=yes
14440 ac_cv_lib_ICE_IceConnectionNumber
=no
14442 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14443 conftest
$ac_exeext conftest.
$ac_ext
14444 LIBS
=$ac_check_lib_save_LIBS
14446 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
14447 printf "%s\n" "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
14448 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes
14450 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
14453 LDFLAGS
=$ac_save_LDFLAGS
14458 if test "$have_x" = "yes"
14460 ac_save_CPPFLAGS
="$CPPFLAGS"
14461 CPPFLAGS
="$CPPFLAGS $X_CFLAGS"
14463 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
14464 printf %s
"checking for -lX11... " >&6; }
14465 if test ${ac_cv_lib_soname_X11+y}
14467 printf %s
"(cached) " >&6
14469 ac_check_soname_save_LIBS
=$LIBS
14470 LIBS
="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
14471 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14472 /* end confdefs.h. */
14474 /* Override any GCC internal prototype to avoid an error.
14475 Use char because int might match the return type of a GCC
14476 builtin and then its argument prototype would still apply. */
14477 char XCreateWindow ();
14481 return XCreateWindow ();
14486 if ac_fn_c_try_link
"$LINENO"
14489 dll
) ac_cv_lib_soname_X11
=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14490 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'` ;;
14491 *) ac_cv_lib_soname_X11
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14492 if ${ac_cv_lib_soname_X11:+false} :
14494 ac_cv_lib_soname_X11
=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14498 ac_cv_lib_soname_X11
=
14500 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14501 conftest
$ac_exeext conftest.
$ac_ext
14502 LIBS
=$ac_check_soname_save_LIBS
14504 if ${ac_cv_lib_soname_X11:+false} :
14506 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14507 printf "%s\n" "not found" >&6; }
14510 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
14511 printf "%s\n" "$ac_cv_lib_soname_X11" >&6; }
14513 printf "%s\n" "#define SONAME_LIBX11 \"$ac_cv_lib_soname_X11\"" >>confdefs.h
14517 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
14518 printf %s
"checking for -lXext... " >&6; }
14519 if test ${ac_cv_lib_soname_Xext+y}
14521 printf %s
"(cached) " >&6
14523 ac_check_soname_save_LIBS
=$LIBS
14524 LIBS
="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
14525 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14526 /* end confdefs.h. */
14528 /* Override any GCC internal prototype to avoid an error.
14529 Use char because int might match the return type of a GCC
14530 builtin and then its argument prototype would still apply. */
14531 char XextCreateExtension ();
14535 return XextCreateExtension ();
14540 if ac_fn_c_try_link
"$LINENO"
14543 dll
) ac_cv_lib_soname_Xext
=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14544 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'` ;;
14545 *) ac_cv_lib_soname_Xext
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14546 if ${ac_cv_lib_soname_Xext:+false} :
14548 ac_cv_lib_soname_Xext
=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14552 ac_cv_lib_soname_Xext
=
14554 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14555 conftest
$ac_exeext conftest.
$ac_ext
14556 LIBS
=$ac_check_soname_save_LIBS
14558 if ${ac_cv_lib_soname_Xext:+false} :
14560 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14561 printf "%s\n" "not found" >&6; }
14564 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
14565 printf "%s\n" "$ac_cv_lib_soname_Xext" >&6; }
14567 printf "%s\n" "#define SONAME_LIBXEXT \"$ac_cv_lib_soname_Xext\"" >>confdefs.h
14569 X_LIBS
="$X_LIBS -lXext"
14571 X_LIBS
="$X_LIBS -lX11"
14573 ac_fn_c_check_header_compile
"$LINENO" "X11/Xlib.h" "ac_cv_header_X11_Xlib_h" "#ifdef HAVE_X11_XLIB_H
14574 # include <X11/Xlib.h>
14576 #ifdef HAVE_X11_XUTIL_H
14577 # include <X11/Xutil.h>
14580 if test "x$ac_cv_header_X11_Xlib_h" = xyes
14582 printf "%s\n" "#define HAVE_X11_XLIB_H 1" >>confdefs.h
14585 ac_fn_c_check_header_compile
"$LINENO" "X11/XKBlib.h" "ac_cv_header_X11_XKBlib_h" "#ifdef HAVE_X11_XLIB_H
14586 # include <X11/Xlib.h>
14588 #ifdef HAVE_X11_XUTIL_H
14589 # include <X11/Xutil.h>
14592 if test "x$ac_cv_header_X11_XKBlib_h" = xyes
14594 printf "%s\n" "#define HAVE_X11_XKBLIB_H 1" >>confdefs.h
14597 ac_fn_c_check_header_compile
"$LINENO" "X11/Xutil.h" "ac_cv_header_X11_Xutil_h" "#ifdef HAVE_X11_XLIB_H
14598 # include <X11/Xlib.h>
14600 #ifdef HAVE_X11_XUTIL_H
14601 # include <X11/Xutil.h>
14604 if test "x$ac_cv_header_X11_Xutil_h" = xyes
14606 printf "%s\n" "#define HAVE_X11_XUTIL_H 1" >>confdefs.h
14609 ac_fn_c_check_header_compile
"$LINENO" "X11/Xcursor/Xcursor.h" "ac_cv_header_X11_Xcursor_Xcursor_h" "#ifdef HAVE_X11_XLIB_H
14610 # include <X11/Xlib.h>
14612 #ifdef HAVE_X11_XUTIL_H
14613 # include <X11/Xutil.h>
14616 if test "x$ac_cv_header_X11_Xcursor_Xcursor_h" = xyes
14618 printf "%s\n" "#define HAVE_X11_XCURSOR_XCURSOR_H 1" >>confdefs.h
14621 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/shape.h" "ac_cv_header_X11_extensions_shape_h" "#ifdef HAVE_X11_XLIB_H
14622 # include <X11/Xlib.h>
14624 #ifdef HAVE_X11_XUTIL_H
14625 # include <X11/Xutil.h>
14628 if test "x$ac_cv_header_X11_extensions_shape_h" = xyes
14630 printf "%s\n" "#define HAVE_X11_EXTENSIONS_SHAPE_H 1" >>confdefs.h
14633 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/XInput.h" "ac_cv_header_X11_extensions_XInput_h" "#ifdef HAVE_X11_XLIB_H
14634 # include <X11/Xlib.h>
14636 #ifdef HAVE_X11_XUTIL_H
14637 # include <X11/Xutil.h>
14640 if test "x$ac_cv_header_X11_extensions_XInput_h" = xyes
14642 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINPUT_H 1" >>confdefs.h
14645 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/XInput2.h" "ac_cv_header_X11_extensions_XInput2_h" "#ifdef HAVE_X11_XLIB_H
14646 # include <X11/Xlib.h>
14648 #ifdef HAVE_X11_XUTIL_H
14649 # include <X11/Xutil.h>
14652 if test "x$ac_cv_header_X11_extensions_XInput2_h" = xyes
14654 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINPUT2_H 1" >>confdefs.h
14657 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/XShm.h" "ac_cv_header_X11_extensions_XShm_h" "#ifdef HAVE_X11_XLIB_H
14658 # include <X11/Xlib.h>
14660 #ifdef HAVE_X11_XUTIL_H
14661 # include <X11/Xutil.h>
14664 if test "x$ac_cv_header_X11_extensions_XShm_h" = xyes
14666 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XSHM_H 1" >>confdefs.h
14669 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/Xcomposite.h" "ac_cv_header_X11_extensions_Xcomposite_h" "#ifdef HAVE_X11_XLIB_H
14670 # include <X11/Xlib.h>
14672 #ifdef HAVE_X11_XUTIL_H
14673 # include <X11/Xutil.h>
14676 if test "x$ac_cv_header_X11_extensions_Xcomposite_h" = xyes
14678 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XCOMPOSITE_H 1" >>confdefs.h
14681 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/Xfixes.h" "ac_cv_header_X11_extensions_Xfixes_h" "#ifdef HAVE_X11_XLIB_H
14682 # include <X11/Xlib.h>
14684 #ifdef HAVE_X11_XUTIL_H
14685 # include <X11/Xutil.h>
14688 if test "x$ac_cv_header_X11_extensions_Xfixes_h" = xyes
14690 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XFIXES_H 1" >>confdefs.h
14693 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/Xinerama.h" "ac_cv_header_X11_extensions_Xinerama_h" "#ifdef HAVE_X11_XLIB_H
14694 # include <X11/Xlib.h>
14696 #ifdef HAVE_X11_XUTIL_H
14697 # include <X11/Xutil.h>
14700 if test "x$ac_cv_header_X11_extensions_Xinerama_h" = xyes
14702 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINERAMA_H 1" >>confdefs.h
14705 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/Xrandr.h" "ac_cv_header_X11_extensions_Xrandr_h" "#ifdef HAVE_X11_XLIB_H
14706 # include <X11/Xlib.h>
14708 #ifdef HAVE_X11_XUTIL_H
14709 # include <X11/Xutil.h>
14712 if test "x$ac_cv_header_X11_extensions_Xrandr_h" = xyes
14714 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XRANDR_H 1" >>confdefs.h
14717 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/Xrender.h" "ac_cv_header_X11_extensions_Xrender_h" "#ifdef HAVE_X11_XLIB_H
14718 # include <X11/Xlib.h>
14720 #ifdef HAVE_X11_XUTIL_H
14721 # include <X11/Xutil.h>
14724 if test "x$ac_cv_header_X11_extensions_Xrender_h" = xyes
14726 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XRENDER_H 1" >>confdefs.h
14729 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/xf86vmode.h" "ac_cv_header_X11_extensions_xf86vmode_h" "#ifdef HAVE_X11_XLIB_H
14730 # include <X11/Xlib.h>
14732 #ifdef HAVE_X11_XUTIL_H
14733 # include <X11/Xutil.h>
14736 if test "x$ac_cv_header_X11_extensions_xf86vmode_h" = xyes
14738 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XF86VMODE_H 1" >>confdefs.h
14741 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/xf86vmproto.h" "ac_cv_header_X11_extensions_xf86vmproto_h" "#ifdef HAVE_X11_XLIB_H
14742 # include <X11/Xlib.h>
14744 #ifdef HAVE_X11_XUTIL_H
14745 # include <X11/Xutil.h>
14748 if test "x$ac_cv_header_X11_extensions_xf86vmproto_h" = xyes
14750 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XF86VMPROTO_H 1" >>confdefs.h
14755 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
14757 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
14758 printf %s
"checking for XkbQueryExtension in -lX11... " >&6; }
14759 if test ${ac_cv_lib_X11_XkbQueryExtension+y}
14761 printf %s
"(cached) " >&6
14763 ac_check_lib_save_LIBS
=$LIBS
14764 LIBS
="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
14765 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14766 /* end confdefs.h. */
14768 /* Override any GCC internal prototype to avoid an error.
14769 Use char because int might match the return type of a GCC
14770 builtin and then its argument prototype would still apply. */
14771 char XkbQueryExtension ();
14775 return XkbQueryExtension ();
14780 if ac_fn_c_try_link
"$LINENO"
14782 ac_cv_lib_X11_XkbQueryExtension
=yes
14784 ac_cv_lib_X11_XkbQueryExtension
=no
14786 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14787 conftest
$ac_exeext conftest.
$ac_ext
14788 LIBS
=$ac_check_lib_save_LIBS
14790 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
14791 printf "%s\n" "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
14792 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes
14795 printf "%s\n" "#define HAVE_XKB 1" >>confdefs.h
14801 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
14803 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
14804 printf %s
"checking for -lXcursor... " >&6; }
14805 if test ${ac_cv_lib_soname_Xcursor+y}
14807 printf %s
"(cached) " >&6
14809 ac_check_soname_save_LIBS
=$LIBS
14810 LIBS
="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
14811 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14812 /* end confdefs.h. */
14814 /* Override any GCC internal prototype to avoid an error.
14815 Use char because int might match the return type of a GCC
14816 builtin and then its argument prototype would still apply. */
14817 char XcursorImageLoadCursor ();
14821 return XcursorImageLoadCursor ();
14826 if ac_fn_c_try_link
"$LINENO"
14829 dll
) ac_cv_lib_soname_Xcursor
=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14830 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'` ;;
14831 *) ac_cv_lib_soname_Xcursor
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14832 if ${ac_cv_lib_soname_Xcursor:+false} :
14834 ac_cv_lib_soname_Xcursor
=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14838 ac_cv_lib_soname_Xcursor
=
14840 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14841 conftest
$ac_exeext conftest.
$ac_ext
14842 LIBS
=$ac_check_soname_save_LIBS
14844 if ${ac_cv_lib_soname_Xcursor:+false} :
14846 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14847 printf "%s\n" "not found" >&6; }
14850 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
14851 printf "%s\n" "$ac_cv_lib_soname_Xcursor" >&6; }
14853 printf "%s\n" "#define SONAME_LIBXCURSOR \"$ac_cv_lib_soname_Xcursor\"" >>confdefs.h
14858 if test "x$ac_cv_lib_soname_Xcursor" = "x"
14860 case "x$with_xcursor" in
14861 x
) as_fn_append wine_notices
"|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
14863 *) as_fn_error $?
"libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
14864 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
14869 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
14871 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
14872 printf %s
"checking for -lXi... " >&6; }
14873 if test ${ac_cv_lib_soname_Xi+y}
14875 printf %s
"(cached) " >&6
14877 ac_check_soname_save_LIBS
=$LIBS
14878 LIBS
="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
14879 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14880 /* end confdefs.h. */
14882 /* Override any GCC internal prototype to avoid an error.
14883 Use char because int might match the return type of a GCC
14884 builtin and then its argument prototype would still apply. */
14885 char XOpenDevice ();
14889 return XOpenDevice ();
14894 if ac_fn_c_try_link
"$LINENO"
14897 dll
) ac_cv_lib_soname_Xi
=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14898 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'` ;;
14899 *) ac_cv_lib_soname_Xi
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14900 if ${ac_cv_lib_soname_Xi:+false} :
14902 ac_cv_lib_soname_Xi
=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14906 ac_cv_lib_soname_Xi
=
14908 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14909 conftest
$ac_exeext conftest.
$ac_ext
14910 LIBS
=$ac_check_soname_save_LIBS
14912 if ${ac_cv_lib_soname_Xi:+false} :
14914 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14915 printf "%s\n" "not found" >&6; }
14918 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
14919 printf "%s\n" "$ac_cv_lib_soname_Xi" >&6; }
14921 printf "%s\n" "#define SONAME_LIBXI \"$ac_cv_lib_soname_Xi\"" >>confdefs.h
14926 if test "x$ac_cv_lib_soname_Xi" = "x"
14928 case "x$with_xinput" in
14929 x
) as_fn_append wine_notices
"|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
14931 *) as_fn_error $?
"libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
14932 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
14937 if test "x$ac_cv_lib_soname_Xi" != x
14939 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"
14941 case "x$with_xinput2" in
14942 x
) as_fn_append wine_notices
"|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
14944 *) as_fn_error $?
"XInput2 headers not found, the XInput 2 extension won't be supported.
14945 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
14951 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
14953 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
14954 printf %s
"checking for XShmQueryExtension in -lXext... " >&6; }
14955 if test ${ac_cv_lib_Xext_XShmQueryExtension+y}
14957 printf %s
"(cached) " >&6
14959 ac_check_lib_save_LIBS
=$LIBS
14960 LIBS
="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
14961 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14962 /* end confdefs.h. */
14964 /* Override any GCC internal prototype to avoid an error.
14965 Use char because int might match the return type of a GCC
14966 builtin and then its argument prototype would still apply. */
14967 char XShmQueryExtension ();
14971 return XShmQueryExtension ();
14976 if ac_fn_c_try_link
"$LINENO"
14978 ac_cv_lib_Xext_XShmQueryExtension
=yes
14980 ac_cv_lib_Xext_XShmQueryExtension
=no
14982 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14983 conftest
$ac_exeext conftest.
$ac_ext
14984 LIBS
=$ac_check_lib_save_LIBS
14986 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
14987 printf "%s\n" "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
14988 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes
14991 printf "%s\n" "#define HAVE_LIBXXSHM 1" >>confdefs.h
14996 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"
14998 case "x$with_xshm" in
14999 x
) as_fn_append wine_notices
"|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
15001 *) as_fn_error $?
"XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
15002 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
15007 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
15009 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
15010 printf %s
"checking for XShapeQueryExtension in -lXext... " >&6; }
15011 if test ${ac_cv_lib_Xext_XShapeQueryExtension+y}
15013 printf %s
"(cached) " >&6
15015 ac_check_lib_save_LIBS
=$LIBS
15016 LIBS
="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
15017 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15018 /* end confdefs.h. */
15020 /* Override any GCC internal prototype to avoid an error.
15021 Use char because int might match the return type of a GCC
15022 builtin and then its argument prototype would still apply. */
15023 char XShapeQueryExtension ();
15027 return XShapeQueryExtension ();
15032 if ac_fn_c_try_link
"$LINENO"
15034 ac_cv_lib_Xext_XShapeQueryExtension
=yes
15036 ac_cv_lib_Xext_XShapeQueryExtension
=no
15038 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15039 conftest
$ac_exeext conftest.
$ac_ext
15040 LIBS
=$ac_check_lib_save_LIBS
15042 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
15043 printf "%s\n" "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
15044 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes
15047 printf "%s\n" "#define HAVE_LIBXSHAPE 1" >>confdefs.h
15052 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"
15054 case "x$with_xshape" in
15055 x
) as_fn_append wine_notices
"|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
15057 *) as_fn_error $?
"XShape ${notice_platform}development files not found, XShape won't be supported.
15058 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
15063 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
15065 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
15066 printf %s
"checking for -lXxf86vm... " >&6; }
15067 if test ${ac_cv_lib_soname_Xxf86vm+y}
15069 printf %s
"(cached) " >&6
15071 ac_check_soname_save_LIBS
=$LIBS
15072 LIBS
="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
15073 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15074 /* end confdefs.h. */
15076 /* Override any GCC internal prototype to avoid an error.
15077 Use char because int might match the return type of a GCC
15078 builtin and then its argument prototype would still apply. */
15079 char XF86VidModeQueryExtension ();
15083 return XF86VidModeQueryExtension ();
15088 if ac_fn_c_try_link
"$LINENO"
15091 dll
) ac_cv_lib_soname_Xxf86vm
=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15092 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'` ;;
15093 *) ac_cv_lib_soname_Xxf86vm
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15094 if ${ac_cv_lib_soname_Xxf86vm:+false} :
15096 ac_cv_lib_soname_Xxf86vm
=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15100 ac_cv_lib_soname_Xxf86vm
=
15102 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15103 conftest
$ac_exeext conftest.
$ac_ext
15104 LIBS
=$ac_check_soname_save_LIBS
15106 if ${ac_cv_lib_soname_Xxf86vm:+false} :
15108 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15109 printf "%s\n" "not found" >&6; }
15112 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
15113 printf "%s\n" "$ac_cv_lib_soname_Xxf86vm" >&6; }
15115 printf "%s\n" "#define SONAME_LIBXXF86VM \"$ac_cv_lib_soname_Xxf86vm\"" >>confdefs.h
15120 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"
15122 case "x$with_xxf86vm" in
15123 x
) as_fn_append wine_notices
"|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
15125 *) as_fn_error $?
"libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
15126 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
15131 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
15133 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
15134 printf %s
"checking for -lXrender... " >&6; }
15135 if test ${ac_cv_lib_soname_Xrender+y}
15137 printf %s
"(cached) " >&6
15139 ac_check_soname_save_LIBS
=$LIBS
15140 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
15141 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15142 /* end confdefs.h. */
15144 /* Override any GCC internal prototype to avoid an error.
15145 Use char because int might match the return type of a GCC
15146 builtin and then its argument prototype would still apply. */
15147 char XRenderQueryExtension ();
15151 return XRenderQueryExtension ();
15156 if ac_fn_c_try_link
"$LINENO"
15159 dll
) ac_cv_lib_soname_Xrender
=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15160 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'` ;;
15161 *) ac_cv_lib_soname_Xrender
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15162 if ${ac_cv_lib_soname_Xrender:+false} :
15164 ac_cv_lib_soname_Xrender
=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15168 ac_cv_lib_soname_Xrender
=
15170 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15171 conftest
$ac_exeext conftest.
$ac_ext
15172 LIBS
=$ac_check_soname_save_LIBS
15174 if ${ac_cv_lib_soname_Xrender:+false} :
15176 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15177 printf "%s\n" "not found" >&6; }
15180 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
15181 printf "%s\n" "$ac_cv_lib_soname_Xrender" >&6; }
15183 printf "%s\n" "#define SONAME_LIBXRENDER \"$ac_cv_lib_soname_Xrender\"" >>confdefs.h
15185 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
15186 printf %s
"checking for XRenderSetPictureTransform in -lXrender... " >&6; }
15187 if test ${ac_cv_lib_Xrender_XRenderSetPictureTransform+y}
15189 printf %s
"(cached) " >&6
15191 ac_check_lib_save_LIBS
=$LIBS
15192 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
15193 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15194 /* end confdefs.h. */
15196 /* Override any GCC internal prototype to avoid an error.
15197 Use char because int might match the return type of a GCC
15198 builtin and then its argument prototype would still apply. */
15199 char XRenderSetPictureTransform ();
15203 return XRenderSetPictureTransform ();
15208 if ac_fn_c_try_link
"$LINENO"
15210 ac_cv_lib_Xrender_XRenderSetPictureTransform
=yes
15212 ac_cv_lib_Xrender_XRenderSetPictureTransform
=no
15214 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15215 conftest
$ac_exeext conftest.
$ac_ext
15216 LIBS
=$ac_check_lib_save_LIBS
15218 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
15219 printf "%s\n" "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
15220 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes
15223 printf "%s\n" "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
15227 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
15228 printf %s
"checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
15229 if test ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+y}
15231 printf %s
"(cached) " >&6
15233 ac_check_lib_save_LIBS
=$LIBS
15234 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
15235 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15236 /* end confdefs.h. */
15238 /* Override any GCC internal prototype to avoid an error.
15239 Use char because int might match the return type of a GCC
15240 builtin and then its argument prototype would still apply. */
15241 char XRenderCreateLinearGradient ();
15245 return XRenderCreateLinearGradient ();
15250 if ac_fn_c_try_link
"$LINENO"
15252 ac_cv_lib_Xrender_XRenderCreateLinearGradient
=yes
15254 ac_cv_lib_Xrender_XRenderCreateLinearGradient
=no
15256 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15257 conftest
$ac_exeext conftest.
$ac_ext
15258 LIBS
=$ac_check_lib_save_LIBS
15260 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
15261 printf "%s\n" "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
15262 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes
15265 printf "%s\n" "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
15272 if test "x$ac_cv_lib_soname_Xrender" = "x"
15274 case "x$with_xrender" in
15275 x
) as_fn_append wine_warnings
"|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
15277 *) as_fn_error $?
"libxrender ${notice_platform}development files not found, XRender won't be supported.
15278 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
15283 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
15285 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15286 /* end confdefs.h. */
15287 #include <X11/Xlib.h>
15288 #include <X11/extensions/Xrandr.h>
15292 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
15297 if ac_fn_c_try_compile
"$LINENO"
15299 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
15300 printf %s
"checking for -lXrandr... " >&6; }
15301 if test ${ac_cv_lib_soname_Xrandr+y}
15303 printf %s
"(cached) " >&6
15305 ac_check_soname_save_LIBS
=$LIBS
15306 LIBS
="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
15307 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15308 /* end confdefs.h. */
15310 /* Override any GCC internal prototype to avoid an error.
15311 Use char because int might match the return type of a GCC
15312 builtin and then its argument prototype would still apply. */
15313 char XRRQueryExtension ();
15317 return XRRQueryExtension ();
15322 if ac_fn_c_try_link
"$LINENO"
15325 dll
) ac_cv_lib_soname_Xrandr
=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15326 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'` ;;
15327 *) ac_cv_lib_soname_Xrandr
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15328 if ${ac_cv_lib_soname_Xrandr:+false} :
15330 ac_cv_lib_soname_Xrandr
=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15334 ac_cv_lib_soname_Xrandr
=
15336 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15337 conftest
$ac_exeext conftest.
$ac_ext
15338 LIBS
=$ac_check_soname_save_LIBS
15340 if ${ac_cv_lib_soname_Xrandr:+false} :
15342 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15343 printf "%s\n" "not found" >&6; }
15346 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
15347 printf "%s\n" "$ac_cv_lib_soname_Xrandr" >&6; }
15349 printf "%s\n" "#define SONAME_LIBXRANDR \"$ac_cv_lib_soname_Xrandr\"" >>confdefs.h
15351 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15352 /* end confdefs.h. */
15353 #include <X11/Xlib.h>
15354 #include <X11/extensions/Xrandr.h>
15358 static typeof(XRRGetProviderResources) *f; if (f) return 0;
15363 if ac_fn_c_try_compile
"$LINENO"
15366 printf "%s\n" "#define HAVE_XRRGETPROVIDERRESOURCES 1" >>confdefs.h
15369 as_fn_append wine_notices
"|libxrandr ${notice_platform}development files too old, XRandR display device handler won't be supported."
15371 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
15374 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
15376 if test "x$ac_cv_lib_soname_Xrandr" = "x"
15378 case "x$with_xrandr" in
15379 x
) as_fn_append wine_notices
"|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
15381 *) as_fn_error $?
"libxrandr ${notice_platform}development files not found, XRandr won't be supported.
15382 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
15387 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
15389 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15390 /* end confdefs.h. */
15391 #include <X11/Xlib.h>
15392 #include <X11/extensions/Xfixes.h>
15396 static typeof(XFixesQueryVersion) * func; if (func) return 0;
15401 if ac_fn_c_try_compile
"$LINENO"
15403 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
15404 printf %s
"checking for -lXfixes... " >&6; }
15405 if test ${ac_cv_lib_soname_Xfixes+y}
15407 printf %s
"(cached) " >&6
15409 ac_check_soname_save_LIBS
=$LIBS
15410 LIBS
="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
15411 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15412 /* end confdefs.h. */
15414 /* Override any GCC internal prototype to avoid an error.
15415 Use char because int might match the return type of a GCC
15416 builtin and then its argument prototype would still apply. */
15417 char XFixesQueryVersion ();
15421 return XFixesQueryVersion ();
15426 if ac_fn_c_try_link
"$LINENO"
15429 dll
) ac_cv_lib_soname_Xfixes
=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15430 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'` ;;
15431 *) ac_cv_lib_soname_Xfixes
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15432 if ${ac_cv_lib_soname_Xfixes:+false} :
15434 ac_cv_lib_soname_Xfixes
=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15438 ac_cv_lib_soname_Xfixes
=
15440 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15441 conftest
$ac_exeext conftest.
$ac_ext
15442 LIBS
=$ac_check_soname_save_LIBS
15444 if ${ac_cv_lib_soname_Xfixes:+false} :
15446 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15447 printf "%s\n" "not found" >&6; }
15450 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
15451 printf "%s\n" "$ac_cv_lib_soname_Xfixes" >&6; }
15453 printf "%s\n" "#define SONAME_LIBXFIXES \"$ac_cv_lib_soname_Xfixes\"" >>confdefs.h
15458 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
15460 if test "x$ac_cv_lib_soname_Xfixes" = "x"
15462 case "x$with_xfixes" in
15463 x
) as_fn_append wine_notices
"|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
15465 *) as_fn_error $?
"libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
15466 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
15471 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
15473 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15474 /* end confdefs.h. */
15475 #include <X11/Xlib.h>
15476 #include <X11/extensions/Xinerama.h>
15480 static typeof(XineramaQueryScreens) * func; if (func) return 0;
15485 if ac_fn_c_try_compile
"$LINENO"
15487 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
15488 printf %s
"checking for -lXinerama... " >&6; }
15489 if test ${ac_cv_lib_soname_Xinerama+y}
15491 printf %s
"(cached) " >&6
15493 ac_check_soname_save_LIBS
=$LIBS
15494 LIBS
="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
15495 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15496 /* end confdefs.h. */
15498 /* Override any GCC internal prototype to avoid an error.
15499 Use char because int might match the return type of a GCC
15500 builtin and then its argument prototype would still apply. */
15501 char XineramaQueryScreens ();
15505 return XineramaQueryScreens ();
15510 if ac_fn_c_try_link
"$LINENO"
15513 dll
) ac_cv_lib_soname_Xinerama
=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15514 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'` ;;
15515 *) ac_cv_lib_soname_Xinerama
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15516 if ${ac_cv_lib_soname_Xinerama:+false} :
15518 ac_cv_lib_soname_Xinerama
=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15522 ac_cv_lib_soname_Xinerama
=
15524 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15525 conftest
$ac_exeext conftest.
$ac_ext
15526 LIBS
=$ac_check_soname_save_LIBS
15528 if ${ac_cv_lib_soname_Xinerama:+false} :
15530 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15531 printf "%s\n" "not found" >&6; }
15534 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
15535 printf "%s\n" "$ac_cv_lib_soname_Xinerama" >&6; }
15537 printf "%s\n" "#define SONAME_LIBXINERAMA \"$ac_cv_lib_soname_Xinerama\"" >>confdefs.h
15542 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
15544 if test "x$ac_cv_lib_soname_Xinerama" = "x"
15546 case "x$with_xinerama" in
15547 x
) as_fn_append wine_notices
"|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
15549 *) as_fn_error $?
"libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
15550 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
15555 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
15557 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
15558 printf %s
"checking for -lXcomposite... " >&6; }
15559 if test ${ac_cv_lib_soname_Xcomposite+y}
15561 printf %s
"(cached) " >&6
15563 ac_check_soname_save_LIBS
=$LIBS
15564 LIBS
="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
15565 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15566 /* end confdefs.h. */
15568 /* Override any GCC internal prototype to avoid an error.
15569 Use char because int might match the return type of a GCC
15570 builtin and then its argument prototype would still apply. */
15571 char XCompositeRedirectWindow ();
15575 return XCompositeRedirectWindow ();
15580 if ac_fn_c_try_link
"$LINENO"
15583 dll
) ac_cv_lib_soname_Xcomposite
=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15584 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'` ;;
15585 *) ac_cv_lib_soname_Xcomposite
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15586 if ${ac_cv_lib_soname_Xcomposite:+false} :
15588 ac_cv_lib_soname_Xcomposite
=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15592 ac_cv_lib_soname_Xcomposite
=
15594 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15595 conftest
$ac_exeext conftest.
$ac_ext
15596 LIBS
=$ac_check_soname_save_LIBS
15598 if ${ac_cv_lib_soname_Xcomposite:+false} :
15600 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15601 printf "%s\n" "not found" >&6; }
15604 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
15605 printf "%s\n" "$ac_cv_lib_soname_Xcomposite" >&6; }
15607 printf "%s\n" "#define SONAME_LIBXCOMPOSITE \"$ac_cv_lib_soname_Xcomposite\"" >>confdefs.h
15612 if test "x$ac_cv_lib_soname_Xcomposite" = "x"
15614 case "x$with_xcomposite" in
15615 x
) as_fn_append wine_notices
"|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
15617 *) as_fn_error $?
"libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
15618 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
15623 ac_fn_c_check_member
"$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
15624 #include <X11/Xlib.h>
15627 if test "x$ac_cv_member_XICCallback_callback" = xyes
15630 printf "%s\n" "#define HAVE_XICCALLBACK_CALLBACK 1" >>confdefs.h
15634 ac_fn_c_check_member
"$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
15635 #include <X11/Xlib.h>
15638 if test "x$ac_cv_member_XEvent_xcookie" = xyes
15641 printf "%s\n" "#define HAVE_XEVENT_XCOOKIE 1" >>confdefs.h
15649 if test "x$with_opengl" != "xno"
15651 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
15652 printf %s
"checking for -lGL... " >&6; }
15653 if test ${ac_cv_lib_soname_GL+y}
15655 printf %s
"(cached) " >&6
15657 ac_check_soname_save_LIBS
=$LIBS
15658 LIBS
="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
15659 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15660 /* end confdefs.h. */
15662 /* Override any GCC internal prototype to avoid an error.
15663 Use char because int might match the return type of a GCC
15664 builtin and then its argument prototype would still apply. */
15665 char glXCreateContext ();
15669 return glXCreateContext ();
15674 if ac_fn_c_try_link
"$LINENO"
15677 dll
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15678 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'` ;;
15679 *) ac_cv_lib_soname_GL
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15680 if ${ac_cv_lib_soname_GL:+false} :
15682 ac_cv_lib_soname_GL
=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15686 ac_cv_lib_soname_GL
=
15688 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15689 conftest
$ac_exeext conftest.
$ac_ext
15690 LIBS
=$ac_check_soname_save_LIBS
15692 if ${ac_cv_lib_soname_GL:+false} :
15694 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15695 printf "%s\n" "not found" >&6; }
15696 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
15697 printf %s
"checking for -lGL... " >&6; }
15698 if test ${ac_cv_lib_soname_GL+y}
15700 printf %s
"(cached) " >&6
15702 ac_check_soname_save_LIBS
=$LIBS
15703 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"
15704 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15705 /* end confdefs.h. */
15707 /* Override any GCC internal prototype to avoid an error.
15708 Use char because int might match the return type of a GCC
15709 builtin and then its argument prototype would still apply. */
15710 char glXCreateContext ();
15714 return glXCreateContext ();
15719 if ac_fn_c_try_link
"$LINENO"
15722 dll
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15723 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'` ;;
15724 *) ac_cv_lib_soname_GL
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15725 if ${ac_cv_lib_soname_GL:+false} :
15727 ac_cv_lib_soname_GL
=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15731 ac_cv_lib_soname_GL
=
15733 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15734 conftest
$ac_exeext conftest.
$ac_ext
15735 LIBS
=$ac_check_soname_save_LIBS
15737 if ${ac_cv_lib_soname_GL:+false} :
15739 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15740 printf "%s\n" "not found" >&6; }
15741 if test -f /usr
/X11R
6/lib
/libGL.a
15743 opengl_msg
="/usr/X11R6/lib/libGL.a is present on your system.
15744 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
15746 opengl_msg
="No OpenGL library found on this system."
15749 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
15750 printf "%s\n" "$ac_cv_lib_soname_GL" >&6; }
15752 printf "%s\n" "#define SONAME_LIBGL \"$ac_cv_lib_soname_GL\"" >>confdefs.h
15754 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"
15757 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
15758 printf "%s\n" "$ac_cv_lib_soname_GL" >&6; }
15760 printf "%s\n" "#define SONAME_LIBGL \"$ac_cv_lib_soname_GL\"" >>confdefs.h
15764 if test "x$with_osmesa" != "xno"
15766 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
15767 printf %s
"checking for -lOSMesa... " >&6; }
15768 if test ${ac_cv_lib_soname_OSMesa+y}
15770 printf %s
"(cached) " >&6
15772 ac_check_soname_save_LIBS
=$LIBS
15773 LIBS
="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
15774 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15775 /* end confdefs.h. */
15777 /* Override any GCC internal prototype to avoid an error.
15778 Use char because int might match the return type of a GCC
15779 builtin and then its argument prototype would still apply. */
15780 char OSMesaGetProcAddress ();
15784 return OSMesaGetProcAddress ();
15789 if ac_fn_c_try_link
"$LINENO"
15792 dll
) ac_cv_lib_soname_OSMesa
=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15793 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'` ;;
15794 *) ac_cv_lib_soname_OSMesa
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15795 if ${ac_cv_lib_soname_OSMesa:+false} :
15797 ac_cv_lib_soname_OSMesa
=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15801 ac_cv_lib_soname_OSMesa
=
15803 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15804 conftest
$ac_exeext conftest.
$ac_ext
15805 LIBS
=$ac_check_soname_save_LIBS
15807 if ${ac_cv_lib_soname_OSMesa:+false} :
15809 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15810 printf "%s\n" "not found" >&6; }
15813 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
15814 printf "%s\n" "$ac_cv_lib_soname_OSMesa" >&6; }
15816 printf "%s\n" "#define SONAME_LIBOSMESA \"$ac_cv_lib_soname_OSMesa\"" >>confdefs.h
15820 if test "x$ac_cv_lib_soname_OSMesa" = "x"
15822 case "x$with_osmesa" in
15823 x
) as_fn_append wine_notices
"|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
15825 *) as_fn_error $?
"libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
15826 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
15832 if test -n "$opengl_msg"
15834 case "x$with_opengl" in
15835 x
) as_fn_append wine_warnings
"|$opengl_msg
15836 OpenGL and Direct3D won't be supported." ;;
15838 *) as_fn_error $?
"$opengl_msg
15839 OpenGL and Direct3D won't be supported.
15840 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
15845 CPPFLAGS
="$ac_save_CPPFLAGS"
15851 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
15853 if test "x$X_LIBS" = "x"
15857 *) as_fn_error $?
"X ${notice_platform}development files not found. Wine will be built
15858 without X support, which probably isn't what you want. You will need
15859 to install ${notice_platform}development packages of Xlib at the very least.
15860 Use the --without-x option if you really want this." "$LINENO" 5 ;;
15862 enable_winex11_drv
=${enable_winex11_drv:-no}
15865 if test "x$X_LIBS" = "x"
15868 x
) as_fn_append wine_notices
"|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
15870 *) as_fn_error $?
"X ${notice_platform}development files not found, the X11 driver won't be supported.
15871 This is an error since --with-x was requested." "$LINENO" 5 ;;
15873 enable_winex11_drv
=${enable_winex11_drv:-no}
15877 if test "$ac_cv_header_CL_cl_h" = "yes"
15879 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
15880 printf %s
"checking for clGetPlatformInfo in -lOpenCL... " >&6; }
15881 if test ${ac_cv_lib_OpenCL_clGetPlatformInfo+y}
15883 printf %s
"(cached) " >&6
15885 ac_check_lib_save_LIBS
=$LIBS
15886 LIBS
="-lOpenCL $LIBS"
15887 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15888 /* end confdefs.h. */
15890 /* Override any GCC internal prototype to avoid an error.
15891 Use char because int might match the return type of a GCC
15892 builtin and then its argument prototype would still apply. */
15893 char clGetPlatformInfo ();
15897 return clGetPlatformInfo ();
15902 if ac_fn_c_try_link
"$LINENO"
15904 ac_cv_lib_OpenCL_clGetPlatformInfo
=yes
15906 ac_cv_lib_OpenCL_clGetPlatformInfo
=no
15908 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15909 conftest
$ac_exeext conftest.
$ac_ext
15910 LIBS
=$ac_check_lib_save_LIBS
15912 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
15913 printf "%s\n" "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
15914 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes
15916 OPENCL_LIBS
="-lOpenCL"
15921 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
15923 case "x$with_opencl" in
15924 x
) as_fn_append wine_notices
"|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
15926 *) as_fn_error $?
"OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
15927 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
15929 enable_opencl
=${enable_opencl:-no}
15932 if test "$ac_cv_header_pcap_pcap_h" = "yes"
15934 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
15935 printf %s
"checking for pcap_create in -lpcap... " >&6; }
15936 if test ${ac_cv_lib_pcap_pcap_create+y}
15938 printf %s
"(cached) " >&6
15940 ac_check_lib_save_LIBS
=$LIBS
15941 LIBS
="-lpcap $LIBS"
15942 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15943 /* end confdefs.h. */
15945 /* Override any GCC internal prototype to avoid an error.
15946 Use char because int might match the return type of a GCC
15947 builtin and then its argument prototype would still apply. */
15948 char pcap_create ();
15952 return pcap_create ();
15957 if ac_fn_c_try_link
"$LINENO"
15959 ac_cv_lib_pcap_pcap_create
=yes
15961 ac_cv_lib_pcap_pcap_create
=no
15963 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15964 conftest
$ac_exeext conftest.
$ac_ext
15965 LIBS
=$ac_check_lib_save_LIBS
15967 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
15968 printf "%s\n" "$ac_cv_lib_pcap_pcap_create" >&6; }
15969 if test "x$ac_cv_lib_pcap_pcap_create" = xyes
15976 if test "x$ac_cv_lib_pcap_pcap_create" != xyes
15978 case "x$with_pcap" in
15979 x
) as_fn_append wine_notices
"|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
15981 *) as_fn_error $?
"pcap ${notice_platform}development files not found, wpcap won't be supported.
15982 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
15984 enable_wpcap
=${enable_wpcap:-no}
15987 if test "x$with_inotify" != "xno"
15989 if ${INOTIFY_CFLAGS:+false} :
15991 if test ${PKG_CONFIG+y}
15993 INOTIFY_CFLAGS
=`$PKG_CONFIG --cflags libinotify 2>/dev/null`
15997 if ${INOTIFY_LIBS:+false} :
15999 if test ${PKG_CONFIG+y}
16001 INOTIFY_LIBS
=`$PKG_CONFIG --libs libinotify 2>/dev/null`
16006 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libinotify cflags: $INOTIFY_CFLAGS" >&5
16007 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libinotify libs: $INOTIFY_LIBS" >&5
16008 ac_save_CPPFLAGS
=$CPPFLAGS
16009 CPPFLAGS
="$CPPFLAGS $INOTIFY_CFLAGS"
16010 ac_fn_c_check_header_compile
"$LINENO" "sys/inotify.h" "ac_cv_header_sys_inotify_h" "$ac_includes_default"
16011 if test "x$ac_cv_header_sys_inotify_h" = xyes
16013 printf "%s\n" "#define HAVE_SYS_INOTIFY_H 1" >>confdefs.h
16017 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inotify_add_watch in -linotify" >&5
16018 printf %s
"checking for inotify_add_watch in -linotify... " >&6; }
16019 if test ${ac_cv_lib_inotify_inotify_add_watch+y}
16021 printf %s
"(cached) " >&6
16023 ac_check_lib_save_LIBS
=$LIBS
16024 LIBS
="-linotify $INOTIFY_LIBS $LIBS"
16025 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16026 /* end confdefs.h. */
16028 /* Override any GCC internal prototype to avoid an error.
16029 Use char because int might match the return type of a GCC
16030 builtin and then its argument prototype would still apply. */
16031 char inotify_add_watch ();
16035 return inotify_add_watch ();
16040 if ac_fn_c_try_link
"$LINENO"
16042 ac_cv_lib_inotify_inotify_add_watch
=yes
16044 ac_cv_lib_inotify_inotify_add_watch
=no
16046 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16047 conftest
$ac_exeext conftest.
$ac_ext
16048 LIBS
=$ac_check_lib_save_LIBS
16050 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_inotify_inotify_add_watch" >&5
16051 printf "%s\n" "$ac_cv_lib_inotify_inotify_add_watch" >&6; }
16052 if test "x$ac_cv_lib_inotify_inotify_add_watch" = xyes
16059 CPPFLAGS
=$ac_save_CPPFLAGS
16062 if test "$ac_cv_header_sys_inotify_h" != "yes"
16064 case "x$with_inotify" in
16065 x
) as_fn_append wine_notices
"|libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported." ;;
16067 *) as_fn_error $?
"libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported.
16068 This is an error since --with-inotify was requested." "$LINENO" 5 ;;
16073 if test "x$with_dbus" != "xno"
16075 if ${DBUS_CFLAGS:+false} :
16077 if test ${PKG_CONFIG+y}
16079 DBUS_CFLAGS
=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
16083 if ${DBUS_LIBS:+false} :
16085 if test ${PKG_CONFIG+y}
16087 DBUS_LIBS
=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
16092 printf "%s\n" "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
16093 printf "%s\n" "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
16094 ac_save_CPPFLAGS
=$CPPFLAGS
16095 CPPFLAGS
="$CPPFLAGS $DBUS_CFLAGS"
16096 ac_fn_c_check_header_compile
"$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
16097 if test "x$ac_cv_header_dbus_dbus_h" = xyes
16099 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
16100 printf %s
"checking for -ldbus-1... " >&6; }
16101 if test ${ac_cv_lib_soname_dbus_1+y}
16103 printf %s
"(cached) " >&6
16105 ac_check_soname_save_LIBS
=$LIBS
16106 LIBS
="-ldbus-1 $DBUS_LIBS $LIBS"
16107 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16108 /* end confdefs.h. */
16110 /* Override any GCC internal prototype to avoid an error.
16111 Use char because int might match the return type of a GCC
16112 builtin and then its argument prototype would still apply. */
16113 char dbus_connection_close ();
16117 return dbus_connection_close ();
16122 if ac_fn_c_try_link
"$LINENO"
16125 dll
) ac_cv_lib_soname_dbus_1
=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16126 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'` ;;
16127 *) 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'`
16128 if ${ac_cv_lib_soname_dbus_1:+false} :
16130 ac_cv_lib_soname_dbus_1
=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16134 ac_cv_lib_soname_dbus_1
=
16136 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16137 conftest
$ac_exeext conftest.
$ac_ext
16138 LIBS
=$ac_check_soname_save_LIBS
16140 if ${ac_cv_lib_soname_dbus_1:+false} :
16142 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16143 printf "%s\n" "not found" >&6; }
16146 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
16147 printf "%s\n" "$ac_cv_lib_soname_dbus_1" >&6; }
16149 printf "%s\n" "#define SONAME_LIBDBUS_1 \"$ac_cv_lib_soname_dbus_1\"" >>confdefs.h
16157 CPPFLAGS
=$ac_save_CPPFLAGS
16160 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
16161 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"
16163 case "x$with_dbus" in
16164 x
) as_fn_append wine_notices
"|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
16166 *) as_fn_error $?
"libdbus ${notice_platform}development files not found, no dynamic device support.
16167 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
16172 if test "x$with_gnutls" != "xno"
16174 if ${GNUTLS_CFLAGS:+false} :
16176 if test ${PKG_CONFIG+y}
16178 GNUTLS_CFLAGS
=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
16182 if ${GNUTLS_LIBS:+false} :
16184 if test ${PKG_CONFIG+y}
16186 GNUTLS_LIBS
=`$PKG_CONFIG --libs gnutls 2>/dev/null`
16190 GNUTLS_LIBS
=${GNUTLS_LIBS:-"-lgnutls"}
16191 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
16192 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
16193 ac_save_CPPFLAGS
=$CPPFLAGS
16194 CPPFLAGS
="$CPPFLAGS $GNUTLS_CFLAGS"
16195 ac_fn_c_check_header_compile
"$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
16196 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes
16198 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16199 /* end confdefs.h. */
16200 #include <gnutls/gnutls.h>
16201 #include <gnutls/crypto.h>
16205 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
16210 if ac_fn_c_try_compile
"$LINENO"
16212 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
16213 printf %s
"checking for -lgnutls... " >&6; }
16214 if test ${ac_cv_lib_soname_gnutls+y}
16216 printf %s
"(cached) " >&6
16218 ac_check_soname_save_LIBS
=$LIBS
16219 LIBS
="-lgnutls $GNUTLS_LIBS $LIBS"
16220 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16221 /* end confdefs.h. */
16223 /* Override any GCC internal prototype to avoid an error.
16224 Use char because int might match the return type of a GCC
16225 builtin and then its argument prototype would still apply. */
16226 char gnutls_global_init ();
16230 return gnutls_global_init ();
16235 if ac_fn_c_try_link
"$LINENO"
16238 dll
) ac_cv_lib_soname_gnutls
=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16239 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'` ;;
16240 *) 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'`
16241 if ${ac_cv_lib_soname_gnutls:+false} :
16243 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'`
16247 ac_cv_lib_soname_gnutls
=
16249 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16250 conftest
$ac_exeext conftest.
$ac_ext
16251 LIBS
=$ac_check_soname_save_LIBS
16253 if ${ac_cv_lib_soname_gnutls:+false} :
16255 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16256 printf "%s\n" "not found" >&6; }
16259 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
16260 printf "%s\n" "$ac_cv_lib_soname_gnutls" >&6; }
16262 printf "%s\n" "#define SONAME_LIBGNUTLS \"$ac_cv_lib_soname_gnutls\"" >>confdefs.h
16266 ac_wine_check_funcs_save_LIBS
="$LIBS"
16267 LIBS
="$LIBS $GNUTLS_LIBS"
16269 for ac_func
in gnutls_cipher_init
16271 ac_fn_c_check_func
"$LINENO" "gnutls_cipher_init" "ac_cv_func_gnutls_cipher_init"
16272 if test "x$ac_cv_func_gnutls_cipher_init" = xyes
16274 printf "%s\n" "#define HAVE_GNUTLS_CIPHER_INIT 1" >>confdefs.h
16277 as_fn_append wine_notices
"|libgnutls ${notice_platform}development files too old, bcrypt encryption won't be supported."
16281 LIBS
="$ac_wine_check_funcs_save_LIBS"
16283 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
16288 CPPFLAGS
=$ac_save_CPPFLAGS
16291 if test "x$ac_cv_lib_soname_gnutls" = "x"
16293 case "x$with_gnutls" in
16294 x
) as_fn_append wine_warnings
"|libgnutls ${notice_platform}development files not found, no schannel support." ;;
16296 *) as_fn_error $?
"libgnutls ${notice_platform}development files not found, no schannel support.
16297 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
16302 if test "x$with_sane" != "xno"
16304 if ${SANE_CFLAGS:+false} :
16306 if test ${PKG_CONFIG+y}
16308 SANE_CFLAGS
=`$PKG_CONFIG --cflags sane-backends 2>/dev/null`
16311 test "$cross_compiling" = yes || SANE_CFLAGS
=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
16312 if ${SANE_LIBS:+false} :
16314 if test ${PKG_CONFIG+y}
16316 SANE_LIBS
=`$PKG_CONFIG --libs sane-backends 2>/dev/null`
16319 test "$cross_compiling" = yes || SANE_LIBS
=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
16321 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sane-backends cflags: $SANE_CFLAGS" >&5
16322 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sane-backends libs: $SANE_LIBS" >&5
16323 ac_save_CPPFLAGS
=$CPPFLAGS
16324 CPPFLAGS
="$CPPFLAGS $SANE_CFLAGS"
16325 ac_fn_c_check_header_compile
"$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
16326 if test "x$ac_cv_header_sane_sane_h" = xyes
16328 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sane_init in -lsane" >&5
16329 printf %s
"checking for sane_init in -lsane... " >&6; }
16330 if test ${ac_cv_lib_sane_sane_init+y}
16332 printf %s
"(cached) " >&6
16334 ac_check_lib_save_LIBS
=$LIBS
16335 LIBS
="-lsane $SANE_LIBS $LIBS"
16336 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16337 /* end confdefs.h. */
16339 /* Override any GCC internal prototype to avoid an error.
16340 Use char because int might match the return type of a GCC
16341 builtin and then its argument prototype would still apply. */
16346 return sane_init ();
16351 if ac_fn_c_try_link
"$LINENO"
16353 ac_cv_lib_sane_sane_init
=yes
16355 ac_cv_lib_sane_sane_init
=no
16357 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16358 conftest
$ac_exeext conftest.
$ac_ext
16359 LIBS
=$ac_check_lib_save_LIBS
16361 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sane_sane_init" >&5
16362 printf "%s\n" "$ac_cv_lib_sane_sane_init" >&6; }
16363 if test "x$ac_cv_lib_sane_sane_init" = xyes
16370 CPPFLAGS
=$ac_save_CPPFLAGS
16373 if test "$ac_cv_lib_sane_sane_init" != "yes"
16375 case "x$with_sane" in
16376 x
) as_fn_append wine_notices
"|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
16378 *) as_fn_error $?
"libsane ${notice_platform}development files not found, scanners won't be supported.
16379 This is an error since --with-sane was requested." "$LINENO" 5 ;;
16381 enable_sane_ds
=${enable_sane_ds:-no}
16384 if test "x$with_usb" != "xno"
16386 if ${USB_CFLAGS:+false} :
16388 if test ${PKG_CONFIG+y}
16390 USB_CFLAGS
=`$PKG_CONFIG --cflags libusb-1.0 2>/dev/null`
16394 if ${USB_LIBS:+false} :
16396 if test ${PKG_CONFIG+y}
16398 USB_LIBS
=`$PKG_CONFIG --libs libusb-1.0 2>/dev/null`
16402 USB_LIBS
=${USB_LIBS:-"-lusb-1.0"}
16403 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libusb-1.0 cflags: $USB_CFLAGS" >&5
16404 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libusb-1.0 libs: $USB_LIBS" >&5
16405 ac_save_CPPFLAGS
=$CPPFLAGS
16406 CPPFLAGS
="$CPPFLAGS $USB_CFLAGS"
16407 ac_fn_c_check_header_compile
"$LINENO" "libusb.h" "ac_cv_header_libusb_h" "$ac_includes_default"
16408 if test "x$ac_cv_header_libusb_h" = xyes
16410 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libusb_interrupt_event_handler in -lusb-1.0" >&5
16411 printf %s
"checking for libusb_interrupt_event_handler in -lusb-1.0... " >&6; }
16412 if test ${ac_cv_lib_usb_1_0_libusb_interrupt_event_handler+y}
16414 printf %s
"(cached) " >&6
16416 ac_check_lib_save_LIBS
=$LIBS
16417 LIBS
="-lusb-1.0 $USB_LIBS $LIBS"
16418 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16419 /* end confdefs.h. */
16421 /* Override any GCC internal prototype to avoid an error.
16422 Use char because int might match the return type of a GCC
16423 builtin and then its argument prototype would still apply. */
16424 char libusb_interrupt_event_handler ();
16428 return libusb_interrupt_event_handler ();
16433 if ac_fn_c_try_link
"$LINENO"
16435 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler
=yes
16437 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler
=no
16439 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16440 conftest
$ac_exeext conftest.
$ac_ext
16441 LIBS
=$ac_check_lib_save_LIBS
16443 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&5
16444 printf "%s\n" "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&6; }
16445 if test "x$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" = xyes
16456 CPPFLAGS
=$ac_save_CPPFLAGS
16459 if test "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" != "yes"
16461 case "x$with_usb" in
16462 x
) as_fn_append wine_notices
"|libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported." ;;
16464 *) as_fn_error $?
"libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported.
16465 This is an error since --with-usb was requested." "$LINENO" 5 ;;
16467 enable_wineusb_sys
=${enable_wineusb_sys:-no}
16470 if test "x$with_v4l2" != "xno"
16472 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lv4l2" >&5
16473 printf %s
"checking for -lv4l2... " >&6; }
16474 if test ${ac_cv_lib_soname_v4l2+y}
16476 printf %s
"(cached) " >&6
16478 ac_check_soname_save_LIBS
=$LIBS
16479 LIBS
="-lv4l2 $LIBS"
16480 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16481 /* end confdefs.h. */
16483 /* Override any GCC internal prototype to avoid an error.
16484 Use char because int might match the return type of a GCC
16485 builtin and then its argument prototype would still apply. */
16490 return v4l2_open ();
16495 if ac_fn_c_try_link
"$LINENO"
16498 dll
) ac_cv_lib_soname_v4l2
=`$ac_cv_path_LDD conftest.exe | grep "v4l2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16499 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'` ;;
16500 *) ac_cv_lib_soname_v4l2
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16501 if ${ac_cv_lib_soname_v4l2:+false} :
16503 ac_cv_lib_soname_v4l2
=`$LDD conftest$ac_exeext | grep "libv4l2\\.$LIBEXT" | sed -e "s/^.*\(libv4l2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16507 ac_cv_lib_soname_v4l2
=
16509 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16510 conftest
$ac_exeext conftest.
$ac_ext
16511 LIBS
=$ac_check_soname_save_LIBS
16513 if ${ac_cv_lib_soname_v4l2:+false} :
16515 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16516 printf "%s\n" "not found" >&6; }
16519 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l2" >&5
16520 printf "%s\n" "$ac_cv_lib_soname_v4l2" >&6; }
16522 printf "%s\n" "#define SONAME_LIBV4L2 \"$ac_cv_lib_soname_v4l2\"" >>confdefs.h
16527 if test "x$ac_cv_lib_soname_v4l2" = "x"
16529 case "x$with_v4l2" in
16530 x
) as_fn_append wine_notices
"|libv4l2 ${notice_platform}development files not found." ;;
16532 *) as_fn_error $?
"libv4l2 ${notice_platform}development files not found.
16533 This is an error since --with-v4l2 was requested." "$LINENO" 5 ;;
16538 if test "x$with_gphoto" != "xno"
16540 if ${GPHOTO2_CFLAGS:+false} :
16542 if test ${PKG_CONFIG+y}
16544 GPHOTO2_CFLAGS
=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
16547 test "$cross_compiling" = yes || GPHOTO2_CFLAGS
=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
16548 if ${GPHOTO2_LIBS:+false} :
16550 if test ${PKG_CONFIG+y}
16552 GPHOTO2_LIBS
=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
16555 test "$cross_compiling" = yes || GPHOTO2_LIBS
=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
16556 GPHOTO2_LIBS
=${GPHOTO2_LIBS:-"-lgphoto2"}
16557 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
16558 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
16559 ac_save_CPPFLAGS
=$CPPFLAGS
16560 CPPFLAGS
="$CPPFLAGS $GPHOTO2_CFLAGS"
16561 ac_fn_c_check_header_compile
"$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
16562 if test "x$ac_cv_header_gphoto2_camera_h" = xyes
16564 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
16565 printf %s
"checking for gp_camera_new in -lgphoto2... " >&6; }
16566 if test ${ac_cv_lib_gphoto2_gp_camera_new+y}
16568 printf %s
"(cached) " >&6
16570 ac_check_lib_save_LIBS
=$LIBS
16571 LIBS
="-lgphoto2 $GPHOTO2_LIBS $LIBS"
16572 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16573 /* end confdefs.h. */
16575 /* Override any GCC internal prototype to avoid an error.
16576 Use char because int might match the return type of a GCC
16577 builtin and then its argument prototype would still apply. */
16578 char gp_camera_new ();
16582 return gp_camera_new ();
16587 if ac_fn_c_try_link
"$LINENO"
16589 ac_cv_lib_gphoto2_gp_camera_new
=yes
16591 ac_cv_lib_gphoto2_gp_camera_new
=no
16593 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16594 conftest
$ac_exeext conftest.
$ac_ext
16595 LIBS
=$ac_check_lib_save_LIBS
16597 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
16598 printf "%s\n" "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
16599 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes
16606 CPPFLAGS
=$ac_save_CPPFLAGS
16608 if ${GPHOTO2_PORT_CFLAGS:+false} :
16610 if test ${PKG_CONFIG+y}
16612 GPHOTO2_PORT_CFLAGS
=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
16615 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS
=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
16616 if ${GPHOTO2_PORT_LIBS:+false} :
16618 if test ${PKG_CONFIG+y}
16620 GPHOTO2_PORT_LIBS
=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
16623 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS
=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
16624 GPHOTO2_PORT_LIBS
=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
16625 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
16626 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
16627 ac_save_CPPFLAGS
=$CPPFLAGS
16628 CPPFLAGS
="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
16629 ac_fn_c_check_header_compile
"$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
16630 if test "x$ac_cv_header_gphoto2_port_h" = xyes
16632 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
16633 printf %s
"checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
16634 if test ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+y}
16636 printf %s
"(cached) " >&6
16638 ac_check_lib_save_LIBS
=$LIBS
16639 LIBS
="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
16640 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16641 /* end confdefs.h. */
16643 /* Override any GCC internal prototype to avoid an error.
16644 Use char because int might match the return type of a GCC
16645 builtin and then its argument prototype would still apply. */
16646 char gp_port_info_list_new ();
16650 return gp_port_info_list_new ();
16655 if ac_fn_c_try_link
"$LINENO"
16657 ac_cv_lib_gphoto2_port_gp_port_info_list_new
=yes
16659 ac_cv_lib_gphoto2_port_gp_port_info_list_new
=no
16661 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16662 conftest
$ac_exeext conftest.
$ac_ext
16663 LIBS
=$ac_check_lib_save_LIBS
16665 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
16666 printf "%s\n" "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
16667 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes
16670 printf "%s\n" "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
16673 GPHOTO2_PORT_LIBS
=""; GPHOTO2_PORT_CFLAGS
=""
16677 GPHOTO2_PORT_LIBS
=""; GPHOTO2_PORT_CFLAGS
=""
16680 CPPFLAGS
=$ac_save_CPPFLAGS
16683 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"
16685 case "x$with_gphoto" in
16686 x
) as_fn_append wine_notices
"|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
16688 *) as_fn_error $?
"libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
16689 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
16691 enable_gphoto2_ds
=${enable_gphoto2_ds:-no}
16693 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"
16695 case "x$with_gphoto" in
16696 x
) as_fn_append wine_notices
"|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
16698 *) as_fn_error $?
"libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
16699 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
16705 if test "$ac_cv_header_resolv_h" = "yes"
16707 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
16708 printf %s
"checking for resolver library... " >&6; }
16709 if test ${ac_cv_have_resolv+y}
16711 printf %s
"(cached) " >&6
16713 ac_save_LIBS
="$LIBS"
16714 for lib
in '' -lresolv
16716 LIBS
="$lib $ac_save_LIBS"
16717 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16718 /* end confdefs.h. */
16719 #ifdef HAVE_NETINET_IN_H
16720 #include <netinet/in.h>
16722 #include <resolv.h>
16726 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0); ns_initparse(0,0,0)
16731 if ac_fn_c_try_link
"$LINENO"
16733 ac_cv_have_resolv
=${lib:-"none required"}
16735 ac_cv_have_resolv
="not found"
16737 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16738 conftest
$ac_exeext conftest.
$ac_ext
16739 test "x$ac_cv_have_resolv" = "xnot found" ||
break
16741 LIBS
="$ac_save_LIBS"
16743 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
16744 printf "%s\n" "$ac_cv_have_resolv" >&6; }
16746 case "$ac_cv_have_resolv" in
16750 printf "%s\n" "#define HAVE_RESOLV 1" >>confdefs.h
16753 printf "%s\n" "#define HAVE_RESOLV 1" >>confdefs.h
16755 RESOLV_LIBS
=$ac_cv_have_resolv
16759 if test "x$ac_cv_have_resolv" != "xnot found"
16761 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for res_getservers" >&5
16762 printf %s
"checking for res_getservers... " >&6; }
16763 if test ${ac_cv_have_res_getservers+y}
16765 printf %s
"(cached) " >&6
16767 ac_save_LIBS
="$LIBS"
16768 LIBS
="$RESOLV_LIBS $LIBS"
16769 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16770 /* end confdefs.h. */
16771 #include <resolv.h>
16775 res_getservers(NULL, NULL, 0);
16780 if ac_fn_c_try_link
"$LINENO"
16782 ac_cv_have_res_getservers
=yes
16784 ac_cv_have_res_getservers
=no
16786 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16787 conftest
$ac_exeext conftest.
$ac_ext
16788 LIBS
="$ac_save_LIBS"
16790 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_res_getservers" >&5
16791 printf "%s\n" "$ac_cv_have_res_getservers" >&6; }
16792 if test "$ac_cv_have_res_getservers" = "yes"
16795 printf "%s\n" "#define HAVE_RES_GETSERVERS 1" >>confdefs.h
16801 if test "x$with_freetype" != "xno"
16803 if ${FREETYPE_CFLAGS:+false} :
16805 if test ${PKG_CONFIG+y}
16807 FREETYPE_CFLAGS
=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
16810 test "$cross_compiling" = yes || FREETYPE_CFLAGS
=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
16811 if ${FREETYPE_LIBS:+false} :
16813 if test ${PKG_CONFIG+y}
16815 FREETYPE_LIBS
=`$PKG_CONFIG --libs freetype2 2>/dev/null`
16818 test "$cross_compiling" = yes || FREETYPE_LIBS
=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
16819 FREETYPE_LIBS
=${FREETYPE_LIBS:-"-lfreetype"}
16820 printf "%s\n" "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
16821 printf "%s\n" "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
16822 ac_save_CPPFLAGS
=$CPPFLAGS
16823 CPPFLAGS
="$CPPFLAGS $FREETYPE_CFLAGS"
16824 ac_fn_c_check_header_compile
"$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
16825 if test "x$ac_cv_header_ft2build_h" = xyes
16827 printf "%s\n" "#define HAVE_FT2BUILD_H 1" >>confdefs.h
16831 if test "$ac_cv_header_ft2build_h" = "yes"
16833 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
16834 printf %s
"checking for -lfreetype... " >&6; }
16835 if test ${ac_cv_lib_soname_freetype+y}
16837 printf %s
"(cached) " >&6
16839 ac_check_soname_save_LIBS
=$LIBS
16840 LIBS
="-lfreetype $FREETYPE_LIBS $LIBS"
16841 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16842 /* end confdefs.h. */
16844 /* Override any GCC internal prototype to avoid an error.
16845 Use char because int might match the return type of a GCC
16846 builtin and then its argument prototype would still apply. */
16847 char FT_Init_FreeType ();
16851 return FT_Init_FreeType ();
16856 if ac_fn_c_try_link
"$LINENO"
16859 dll
) ac_cv_lib_soname_freetype
=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16860 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'` ;;
16861 *) ac_cv_lib_soname_freetype
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16862 if ${ac_cv_lib_soname_freetype:+false} :
16864 ac_cv_lib_soname_freetype
=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16868 ac_cv_lib_soname_freetype
=
16870 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16871 conftest
$ac_exeext conftest.
$ac_ext
16872 LIBS
=$ac_check_soname_save_LIBS
16874 if ${ac_cv_lib_soname_freetype:+false} :
16876 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16877 printf "%s\n" "not found" >&6; }
16880 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
16881 printf "%s\n" "$ac_cv_lib_soname_freetype" >&6; }
16883 printf "%s\n" "#define SONAME_LIBFREETYPE \"$ac_cv_lib_soname_freetype\"" >>confdefs.h
16886 printf "%s\n" "#define HAVE_FREETYPE 1" >>confdefs.h
16888 ac_fn_c_check_type
"$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
16889 #include FT_MODULE_H
16891 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes
16894 printf "%s\n" "#define HAVE_FT_TRUETYPEENGINETYPE 1" >>confdefs.h
16904 CPPFLAGS
=$ac_save_CPPFLAGS
16907 if test "x$ac_cv_lib_soname_freetype" = x
16909 case "x$with_freetype" in
16911 *) as_fn_error $?
"FreeType ${notice_platform}development files not found. Fonts will not be built.
16912 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
16914 enable_fonts
=${enable_fonts:-no}
16917 ac_wine_check_funcs_save_LIBS
="$LIBS"
16918 LIBS
="$LIBS $PTHREAD_LIBS"
16919 ac_fn_c_check_func
"$LINENO" "pthread_getthreadid_np" "ac_cv_func_pthread_getthreadid_np"
16920 if test "x$ac_cv_func_pthread_getthreadid_np" = xyes
16922 printf "%s\n" "#define HAVE_PTHREAD_GETTHREADID_NP 1" >>confdefs.h
16926 LIBS
="$ac_wine_check_funcs_save_LIBS"
16928 if test "x$enable_tools" != xno
-a "x$with_gettextpo" = xyes
16930 if test "$ac_cv_header_gettext_po_h" = "yes"
16932 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
16933 printf %s
"checking for po_message_msgctxt in -lgettextpo... " >&6; }
16934 if test ${ac_cv_lib_gettextpo_po_message_msgctxt+y}
16936 printf %s
"(cached) " >&6
16938 ac_check_lib_save_LIBS
=$LIBS
16939 LIBS
="-lgettextpo $LIBS"
16940 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16941 /* end confdefs.h. */
16943 /* Override any GCC internal prototype to avoid an error.
16944 Use char because int might match the return type of a GCC
16945 builtin and then its argument prototype would still apply. */
16946 char po_message_msgctxt ();
16950 return po_message_msgctxt ();
16955 if ac_fn_c_try_link
"$LINENO"
16957 ac_cv_lib_gettextpo_po_message_msgctxt
=yes
16959 ac_cv_lib_gettextpo_po_message_msgctxt
=no
16961 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16962 conftest
$ac_exeext conftest.
$ac_ext
16963 LIBS
=$ac_check_lib_save_LIBS
16965 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
16966 printf "%s\n" "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
16967 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes
16970 printf "%s\n" "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
16972 GETTEXTPO_LIBS
="-lgettextpo"
16977 if test "x$GETTEXTPO_LIBS" = "x"
16979 case "x$with_gettextpo" in
16980 x
) as_fn_append wine_notices
"|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
16982 *) as_fn_error $?
"GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
16983 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
16987 if test "$srcdir" != .
16989 case "x$with_gettextpo" in
16990 x
) as_fn_append wine_notices
"|Rebuilding po files is not supported for out of tree builds." ;;
16992 *) as_fn_error $?
"Rebuilding po files is not supported for out of tree builds.
16993 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
16999 if test "x$with_pulse" != "xno";
17001 if ${PULSE_CFLAGS:+false} :
17003 if test ${PKG_CONFIG+y}
17005 PULSE_CFLAGS
=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
17009 if ${PULSE_LIBS:+false} :
17011 if test ${PKG_CONFIG+y}
17013 PULSE_LIBS
=`$PKG_CONFIG --libs libpulse 2>/dev/null`
17018 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
17019 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
17020 ac_save_CPPFLAGS
=$CPPFLAGS
17021 CPPFLAGS
="$CPPFLAGS $PULSE_CFLAGS"
17022 for ac_header
in pulse
/pulseaudio.h
17024 ac_fn_c_check_header_compile
"$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
17025 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes
17027 printf "%s\n" "#define HAVE_PULSE_PULSEAUDIO_H 1" >>confdefs.h
17028 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
17029 printf %s
"checking for pa_stream_is_corked in -lpulse... " >&6; }
17030 if test ${ac_cv_lib_pulse_pa_stream_is_corked+y}
17032 printf %s
"(cached) " >&6
17034 ac_check_lib_save_LIBS
=$LIBS
17035 LIBS
="-lpulse $PULSE_LIBS $LIBS"
17036 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17037 /* end confdefs.h. */
17039 /* Override any GCC internal prototype to avoid an error.
17040 Use char because int might match the return type of a GCC
17041 builtin and then its argument prototype would still apply. */
17042 char pa_stream_is_corked ();
17046 return pa_stream_is_corked ();
17051 if ac_fn_c_try_link
"$LINENO"
17053 ac_cv_lib_pulse_pa_stream_is_corked
=yes
17055 ac_cv_lib_pulse_pa_stream_is_corked
=no
17057 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17058 conftest
$ac_exeext conftest.
$ac_ext
17059 LIBS
=$ac_check_lib_save_LIBS
17061 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
17062 printf "%s\n" "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
17063 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes
17075 CPPFLAGS
=$ac_save_CPPFLAGS
17078 if test -z "$PULSE_LIBS"
17080 case "x$with_pulse" in
17081 x
) as_fn_append wine_notices
"|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
17083 *) as_fn_error $?
"libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
17084 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
17086 enable_winepulse_drv
=${enable_winepulse_drv:-no}
17089 if test "x$with_gstreamer" != "xno"
17091 if ${GSTREAMER_CFLAGS:+false} :
17093 if test ${PKG_CONFIG+y}
17095 GSTREAMER_CFLAGS
=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
17099 if ${GSTREAMER_LIBS:+false} :
17101 if test ${PKG_CONFIG+y}
17103 GSTREAMER_LIBS
=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
17108 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
17109 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
17110 ac_save_CPPFLAGS
=$CPPFLAGS
17111 CPPFLAGS
="$CPPFLAGS $GSTREAMER_CFLAGS"
17112 ac_fn_c_check_header_compile
"$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
17113 if test "x$ac_cv_header_gst_gst_h" = xyes
17115 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
17116 printf %s
"checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
17117 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17118 /* end confdefs.h. */
17119 #include <gst/gst.h>
17123 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
17128 if ac_fn_c_try_compile
"$LINENO"
17130 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17131 printf "%s\n" "yes" >&6; }
17132 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
17133 printf %s
"checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
17134 if test ${ac_cv_lib_gstreamer_1_0_gst_pad_new+y}
17136 printf %s
"(cached) " >&6
17138 ac_check_lib_save_LIBS
=$LIBS
17139 LIBS
="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
17140 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17141 /* end confdefs.h. */
17143 /* Override any GCC internal prototype to avoid an error.
17144 Use char because int might match the return type of a GCC
17145 builtin and then its argument prototype would still apply. */
17146 char gst_pad_new ();
17150 return gst_pad_new ();
17155 if ac_fn_c_try_link
"$LINENO"
17157 ac_cv_lib_gstreamer_1_0_gst_pad_new
=yes
17159 ac_cv_lib_gstreamer_1_0_gst_pad_new
=no
17161 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17162 conftest
$ac_exeext conftest.
$ac_ext
17163 LIBS
=$ac_check_lib_save_LIBS
17165 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
17166 printf "%s\n" "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
17167 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes
17173 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
17174 printf "%s\n" "no" >&6; }
17175 ac_glib2_broken
=yes
17176 as_fn_append wine_notices
"|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
17178 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
17181 CPPFLAGS
=$ac_save_CPPFLAGS
17184 if test "x$ac_glib2_broken" != xyes
-a "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" != xyes
17186 case "x$with_gstreamer" in
17187 x
) as_fn_append wine_notices
"|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
17189 *) as_fn_error $?
"gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
17190 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
17192 enable_winegstreamer
=${enable_winegstreamer:-no}
17197 if test "x$with_alsa" != "xno"
17199 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
17200 printf %s
"checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
17201 if test ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+y}
17203 printf %s
"(cached) " >&6
17205 ac_check_lib_save_LIBS
=$LIBS
17206 LIBS
="-lasound $LIBS"
17207 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17208 /* end confdefs.h. */
17210 /* Override any GCC internal prototype to avoid an error.
17211 Use char because int might match the return type of a GCC
17212 builtin and then its argument prototype would still apply. */
17213 char snd_pcm_hw_params_get_access_mask ();
17217 return snd_pcm_hw_params_get_access_mask ();
17222 if ac_fn_c_try_link
"$LINENO"
17224 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask
=yes
17226 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask
=no
17228 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17229 conftest
$ac_exeext conftest.
$ac_ext
17230 LIBS
=$ac_check_lib_save_LIBS
17232 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
17233 printf "%s\n" "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
17234 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes
17236 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17237 /* end confdefs.h. */
17238 #include <alsa/asoundlib.h>
17242 snd_pcm_hw_params_get_access_mask(NULL, NULL)
17247 if ac_fn_c_try_compile
"$LINENO"
17249 ALSA_LIBS
="-lasound"
17251 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
17255 test -n "$ALSA_LIBS" || enable_winealsa_drv
=${enable_winealsa_drv:-no}
17257 if test "x$with_oss" != xno
17259 ac_save_CPPFLAGS
="$CPPFLAGS"
17260 if test -f /etc
/oss.conf
17264 ac_oss_incl
="-I${OSSLIBDIR:-/usr/lib/oss}/include"
17265 CPPFLAGS
="$CPPFLAGS $ac_oss_incl"
17266 ac_fn_c_check_header_compile
"$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
17267 if test "x$ac_cv_header_sys_soundcard_h" = xyes
17269 ac_fn_c_check_member
"$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
17271 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes
17274 printf "%s\n" "#define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1" >>confdefs.h
17276 OSS4_CFLAGS
="$ac_oss_incl"
17278 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
17279 printf %s
"checking for _oss_ioctl in -lossaudio... " >&6; }
17280 if test ${ac_cv_lib_ossaudio__oss_ioctl+y}
17282 printf %s
"(cached) " >&6
17284 ac_check_lib_save_LIBS
=$LIBS
17285 LIBS
="-lossaudio $LIBS"
17286 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17287 /* end confdefs.h. */
17289 /* Override any GCC internal prototype to avoid an error.
17290 Use char because int might match the return type of a GCC
17291 builtin and then its argument prototype would still apply. */
17292 char _oss_ioctl ();
17296 return _oss_ioctl ();
17301 if ac_fn_c_try_link
"$LINENO"
17303 ac_cv_lib_ossaudio__oss_ioctl
=yes
17305 ac_cv_lib_ossaudio__oss_ioctl
=no
17307 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17308 conftest
$ac_exeext conftest.
$ac_ext
17309 LIBS
=$ac_check_lib_save_LIBS
17311 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
17312 printf "%s\n" "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
17313 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes
17315 OSS4_LIBS
="-lossaudio"
17323 CPPFLAGS
="$ac_save_CPPFLAGS"
17325 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
17327 case "x$with_oss" in
17328 x
) as_fn_append wine_notices
"|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
17330 *) as_fn_error $?
"OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
17331 This is an error since --with-oss was requested." "$LINENO" 5 ;;
17333 enable_wineoss_drv
=${enable_wineoss_drv:-no}
17336 if test "x$with_udev" != "xno"
17338 if ${UDEV_CFLAGS:+false} :
17340 if test ${PKG_CONFIG+y}
17342 UDEV_CFLAGS
=`$PKG_CONFIG --cflags libudev 2>/dev/null`
17346 if ${UDEV_LIBS:+false} :
17348 if test ${PKG_CONFIG+y}
17350 UDEV_LIBS
=`$PKG_CONFIG --libs libudev 2>/dev/null`
17354 UDEV_LIBS
=${UDEV_LIBS:-"-ludev"}
17355 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
17356 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
17357 ac_save_CPPFLAGS
=$CPPFLAGS
17358 CPPFLAGS
="$CPPFLAGS $UDEV_CFLAGS"
17359 for ac_header
in libudev.h
17361 ac_fn_c_check_header_compile
"$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
17362 if test "x$ac_cv_header_libudev_h" = xyes
17364 printf "%s\n" "#define HAVE_LIBUDEV_H 1" >>confdefs.h
17365 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
17366 printf %s
"checking for udev_new in -ludev... " >&6; }
17367 if test ${ac_cv_lib_udev_udev_new+y}
17369 printf %s
"(cached) " >&6
17371 ac_check_lib_save_LIBS
=$LIBS
17372 LIBS
="-ludev $UDEV_LIBS $LIBS"
17373 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17374 /* end confdefs.h. */
17376 /* Override any GCC internal prototype to avoid an error.
17377 Use char because int might match the return type of a GCC
17378 builtin and then its argument prototype would still apply. */
17383 return udev_new ();
17388 if ac_fn_c_try_link
"$LINENO"
17390 ac_cv_lib_udev_udev_new
=yes
17392 ac_cv_lib_udev_udev_new
=no
17394 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17395 conftest
$ac_exeext conftest.
$ac_ext
17396 LIBS
=$ac_check_lib_save_LIBS
17398 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
17399 printf "%s\n" "$ac_cv_lib_udev_udev_new" >&6; }
17400 if test "x$ac_cv_lib_udev_udev_new" = xyes
17403 printf "%s\n" "#define HAVE_UDEV 1" >>confdefs.h
17414 CPPFLAGS
=$ac_save_CPPFLAGS
17417 if test "x$UDEV_LIBS" = "x"
17419 case "x$with_udev" in
17420 x
) as_fn_append wine_notices
"|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
17422 *) as_fn_error $?
"libudev ${notice_platform}development files not found, plug and play won't be supported.
17423 This is an error since --with-udev was requested." "$LINENO" 5 ;;
17428 if test "x$with_unwind" != xno
17430 if ${UNWIND_CFLAGS:+false} :
17432 if test ${PKG_CONFIG+y}
17434 UNWIND_CFLAGS
=`$PKG_CONFIG --cflags libunwind 2>/dev/null`
17438 if ${UNWIND_LIBS:+false} :
17440 if test ${PKG_CONFIG+y}
17442 UNWIND_LIBS
=`$PKG_CONFIG --libs libunwind 2>/dev/null`
17446 UNWIND_LIBS
=${UNWIND_LIBS:-"-lunwind"}
17447 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libunwind cflags: $UNWIND_CFLAGS" >&5
17448 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libunwind libs: $UNWIND_LIBS" >&5
17449 ac_save_CPPFLAGS
=$CPPFLAGS
17450 CPPFLAGS
="$CPPFLAGS $UNWIND_CFLAGS"
17451 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for unw_step" >&5
17452 printf %s
"checking for unw_step... " >&6; }
17453 if test ${wine_cv_have_unw_step+y}
17455 printf %s
"(cached) " >&6
17457 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17458 /* end confdefs.h. */
17459 #define UNW_LOCAL_ONLY
17460 #include <libunwind.h>
17464 unw_cursor_t cursor; unw_step( &cursor );
17469 if ac_fn_c_try_link
"$LINENO"
17471 wine_cv_have_unw_step
="yes"
17473 wine_cv_have_unw_step
="no"
17475 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17476 conftest
$ac_exeext conftest.
$ac_ext
17478 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_unw_step" >&5
17479 printf "%s\n" "$wine_cv_have_unw_step" >&6; }
17480 if test "$wine_cv_have_unw_step" = no
-a -n "$UNWIND_LIBS"
17483 UNWIND_LIBS
="-static-libgcc $UNWIND_LIBS"
17484 LIBS
="$UNWIND_LIBS $LIBS"
17485 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for unw_step in libunwind" >&5
17486 printf %s
"checking for unw_step in libunwind... " >&6; }
17487 if test ${wine_cv_have_libunwind_unw_step+y}
17489 printf %s
"(cached) " >&6
17491 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17492 /* end confdefs.h. */
17493 #define UNW_LOCAL_ONLY
17494 #include <libunwind.h>
17498 unw_cursor_t cursor; unw_step( &cursor );
17503 if ac_fn_c_try_link
"$LINENO"
17505 wine_cv_have_libunwind_unw_step
="yes"
17507 wine_cv_have_libunwind_unw_step
="no"
17509 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17510 conftest
$ac_exeext conftest.
$ac_ext
17512 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_libunwind_unw_step" >&5
17513 printf "%s\n" "$wine_cv_have_libunwind_unw_step" >&6; }
17516 test "$wine_cv_have_libunwind_unw_step" = yes || UNWIND_LIBS
=""
17517 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" != xnono
17520 printf "%s\n" "#define HAVE_LIBUNWIND 1" >>confdefs.h
17523 CPPFLAGS
=$ac_save_CPPFLAGS
17527 aarch64
*|
*-darwin*)
17528 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" = xnono
17530 case "x$with_unwind" in
17531 x
) as_fn_append wine_notices
"|libunwind ${notice_platform}development files not found, stack unwinding won't work." ;;
17533 *) as_fn_error $?
"libunwind ${notice_platform}development files not found, stack unwinding won't work.
17534 This is an error since --with-unwind was requested." "$LINENO" 5 ;;
17540 if test "x$with_sdl" != "xno"
17542 if ${SDL2_CFLAGS:+false} :
17544 if test ${PKG_CONFIG+y}
17546 SDL2_CFLAGS
=`$PKG_CONFIG --cflags sdl2 2>/dev/null`
17550 if ${SDL2_LIBS:+false} :
17552 if test ${PKG_CONFIG+y}
17554 SDL2_LIBS
=`$PKG_CONFIG --libs sdl2 2>/dev/null`
17558 SDL2_LIBS
=${SDL2_LIBS:-"-lSDL2"}
17559 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sdl2 cflags: $SDL2_CFLAGS" >&5
17560 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sdl2 libs: $SDL2_LIBS" >&5
17561 ac_save_CPPFLAGS
=$CPPFLAGS
17562 CPPFLAGS
="$CPPFLAGS $SDL2_CFLAGS"
17563 for ac_header
in SDL.h
17565 ac_fn_c_check_header_compile
"$LINENO" "SDL.h" "ac_cv_header_SDL_h" "$ac_includes_default"
17566 if test "x$ac_cv_header_SDL_h" = xyes
17568 printf "%s\n" "#define HAVE_SDL_H 1" >>confdefs.h
17569 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lSDL2" >&5
17570 printf %s
"checking for -lSDL2... " >&6; }
17571 if test ${ac_cv_lib_soname_SDL2+y}
17573 printf %s
"(cached) " >&6
17575 ac_check_soname_save_LIBS
=$LIBS
17576 LIBS
="-lSDL2 $SDL2_LIBS $LIBS"
17577 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17578 /* end confdefs.h. */
17580 /* Override any GCC internal prototype to avoid an error.
17581 Use char because int might match the return type of a GCC
17582 builtin and then its argument prototype would still apply. */
17587 return SDL_Init ();
17592 if ac_fn_c_try_link
"$LINENO"
17595 dll
) ac_cv_lib_soname_SDL2
=`$ac_cv_path_LDD conftest.exe | grep "SDL2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17596 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'` ;;
17597 *) 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'`
17598 if ${ac_cv_lib_soname_SDL2:+false} :
17600 ac_cv_lib_soname_SDL2
=`$LDD conftest$ac_exeext | grep "libSDL2-2.0*\\.$LIBEXT" | sed -e "s/^.*\(libSDL2-2.0*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17604 ac_cv_lib_soname_SDL2
=
17606 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17607 conftest
$ac_exeext conftest.
$ac_ext
17608 LIBS
=$ac_check_soname_save_LIBS
17610 if ${ac_cv_lib_soname_SDL2:+false} :
17612 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17613 printf "%s\n" "not found" >&6; }
17616 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_SDL2" >&5
17617 printf "%s\n" "$ac_cv_lib_soname_SDL2" >&6; }
17619 printf "%s\n" "#define SONAME_LIBSDL2 \"$ac_cv_lib_soname_SDL2\"" >>confdefs.h
17626 CPPFLAGS
=$ac_save_CPPFLAGS
17629 if test "x$ac_cv_lib_soname_SDL2" = "x"
17631 case "x$with_sdl" in
17632 x
) as_fn_append wine_notices
"|libSDL2 ${notice_platform}development files not found, SDL2 won't be supported." ;;
17634 *) as_fn_error $?
"libSDL2 ${notice_platform}development files not found, SDL2 won't be supported.
17635 This is an error since --with-sdl was requested." "$LINENO" 5 ;;
17640 if test "x$with_capi" != "xno"
17642 if ${CAPI20_CFLAGS:+false} :
17644 if test ${PKG_CONFIG+y}
17646 CAPI20_CFLAGS
=`$PKG_CONFIG --cflags capi20 2>/dev/null`
17650 if ${CAPI20_LIBS:+false} :
17652 if test ${PKG_CONFIG+y}
17654 CAPI20_LIBS
=`$PKG_CONFIG --libs capi20 2>/dev/null`
17659 printf "%s\n" "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
17660 printf "%s\n" "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
17661 ac_save_CPPFLAGS
=$CPPFLAGS
17662 CPPFLAGS
="$CPPFLAGS $CAPI20_CFLAGS"
17663 ac_fn_c_check_header_compile
"$LINENO" "capi20.h" "ac_cv_header_capi20_h" "#define __user
17665 if test "x$ac_cv_header_capi20_h" = xyes
17667 printf "%s\n" "#define HAVE_CAPI20_H 1" >>confdefs.h
17670 ac_fn_c_check_header_compile
"$LINENO" "linux/capi.h" "ac_cv_header_linux_capi_h" "#define __user
17672 if test "x$ac_cv_header_linux_capi_h" = xyes
17674 printf "%s\n" "#define HAVE_LINUX_CAPI_H 1" >>confdefs.h
17678 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
17680 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for capi20_register in -lcapi20" >&5
17681 printf %s
"checking for capi20_register in -lcapi20... " >&6; }
17682 if test ${ac_cv_lib_capi20_capi20_register+y}
17684 printf %s
"(cached) " >&6
17686 ac_check_lib_save_LIBS
=$LIBS
17687 LIBS
="-lcapi20 $CAPI20_LIBS $LIBS"
17688 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17689 /* end confdefs.h. */
17691 /* Override any GCC internal prototype to avoid an error.
17692 Use char because int might match the return type of a GCC
17693 builtin and then its argument prototype would still apply. */
17694 char capi20_register ();
17698 return capi20_register ();
17703 if ac_fn_c_try_link
"$LINENO"
17705 ac_cv_lib_capi20_capi20_register
=yes
17707 ac_cv_lib_capi20_capi20_register
=no
17709 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17710 conftest
$ac_exeext conftest.
$ac_ext
17711 LIBS
=$ac_check_lib_save_LIBS
17713 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_capi20_capi20_register" >&5
17714 printf "%s\n" "$ac_cv_lib_capi20_capi20_register" >&6; }
17715 if test "x$ac_cv_lib_capi20_capi20_register" = xyes
17723 CPPFLAGS
=$ac_save_CPPFLAGS
17726 if test "x$ac_cv_lib_capi20_capi20_register" != xyes
17728 case "x$with_capi" in
17729 x
) as_fn_append wine_notices
"|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
17731 *) as_fn_error $?
"libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
17732 This is an error since --with-capi was requested." "$LINENO" 5 ;;
17734 enable_capi2032
=${enable_capi2032:-no}
17737 if test "x$with_cups" != "xno"
17739 if ${CUPS_CFLAGS:+false} :
17741 if test ${PKG_CONFIG+y}
17743 CUPS_CFLAGS
=`$PKG_CONFIG --cflags cups 2>/dev/null`
17746 test "$cross_compiling" = yes || CUPS_CFLAGS
=${CUPS_CFLAGS:-`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`}
17747 if ${CUPS_LIBS:+false} :
17749 if test ${PKG_CONFIG+y}
17751 CUPS_LIBS
=`$PKG_CONFIG --libs cups 2>/dev/null`
17754 test "$cross_compiling" = yes || CUPS_LIBS
=${CUPS_LIBS:-`${CUPS_CONFIG:-cups-config} --libs 2>/dev/null`}
17755 CUPS_LIBS
=${CUPS_LIBS:-"-lcups"}
17756 printf "%s\n" "$as_me:${as_lineno-$LINENO}: cups cflags: $CUPS_CFLAGS" >&5
17757 printf "%s\n" "$as_me:${as_lineno-$LINENO}: cups libs: $CUPS_LIBS" >&5
17758 ac_save_CPPFLAGS
=$CPPFLAGS
17759 CPPFLAGS
="$CPPFLAGS $CUPS_CFLAGS"
17760 ac_fn_c_check_header_compile
"$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
17761 if test "x$ac_cv_header_cups_cups_h" = xyes
17763 printf "%s\n" "#define HAVE_CUPS_CUPS_H 1" >>confdefs.h
17766 ac_fn_c_check_header_compile
"$LINENO" "cups/ppd.h" "ac_cv_header_cups_ppd_h" "$ac_includes_default"
17767 if test "x$ac_cv_header_cups_ppd_h" = xyes
17769 printf "%s\n" "#define HAVE_CUPS_PPD_H 1" >>confdefs.h
17773 if test "$ac_cv_header_cups_cups_h" = "yes"
17775 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
17776 printf %s
"checking for -lcups... " >&6; }
17777 if test ${ac_cv_lib_soname_cups+y}
17779 printf %s
"(cached) " >&6
17781 ac_check_soname_save_LIBS
=$LIBS
17782 LIBS
="-lcups $CUPS_LIBS $LIBS"
17783 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17784 /* end confdefs.h. */
17786 /* Override any GCC internal prototype to avoid an error.
17787 Use char because int might match the return type of a GCC
17788 builtin and then its argument prototype would still apply. */
17789 char cupsGetDefault ();
17793 return cupsGetDefault ();
17798 if ac_fn_c_try_link
"$LINENO"
17801 dll
) ac_cv_lib_soname_cups
=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17802 dylib
) ac_cv_lib_soname_cups
=`$OTOOL -L conftest$ac_exeext | grep "libcups\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libcups\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
17803 *) ac_cv_lib_soname_cups
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17804 if ${ac_cv_lib_soname_cups:+false} :
17806 ac_cv_lib_soname_cups
=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17810 ac_cv_lib_soname_cups
=
17812 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17813 conftest
$ac_exeext conftest.
$ac_ext
17814 LIBS
=$ac_check_soname_save_LIBS
17816 if ${ac_cv_lib_soname_cups:+false} :
17818 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17819 printf "%s\n" "not found" >&6; }
17822 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
17823 printf "%s\n" "$ac_cv_lib_soname_cups" >&6; }
17825 printf "%s\n" "#define SONAME_LIBCUPS \"$ac_cv_lib_soname_cups\"" >>confdefs.h
17833 CPPFLAGS
=$ac_save_CPPFLAGS
17836 if test "x$ac_cv_lib_soname_cups" = "x"
17838 case "x$with_cups" in
17839 x
) as_fn_append wine_notices
"|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
17841 *) as_fn_error $?
"libcups ${notice_platform}development files not found, CUPS won't be supported.
17842 This is an error since --with-cups was requested." "$LINENO" 5 ;;
17847 if test "x$with_fontconfig" != "xno"
17849 if ${FONTCONFIG_CFLAGS:+false} :
17851 if test ${PKG_CONFIG+y}
17853 FONTCONFIG_CFLAGS
=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
17856 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS
=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
17857 if ${FONTCONFIG_LIBS:+false} :
17859 if test ${PKG_CONFIG+y}
17861 FONTCONFIG_LIBS
=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
17864 test "$cross_compiling" = yes || FONTCONFIG_LIBS
=${FONTCONFIG_LIBS:-$X_LIBS}
17866 printf "%s\n" "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
17867 printf "%s\n" "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
17868 ac_save_CPPFLAGS
=$CPPFLAGS
17869 CPPFLAGS
="$CPPFLAGS $FONTCONFIG_CFLAGS"
17870 ac_fn_c_check_header_compile
"$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
17871 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes
17873 printf "%s\n" "#define HAVE_FONTCONFIG_FONTCONFIG_H 1" >>confdefs.h
17877 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
17879 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
17880 printf %s
"checking for -lfontconfig... " >&6; }
17881 if test ${ac_cv_lib_soname_fontconfig+y}
17883 printf %s
"(cached) " >&6
17885 ac_check_soname_save_LIBS
=$LIBS
17886 LIBS
="-lfontconfig $FONTCONFIG_LIBS $LIBS"
17887 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17888 /* end confdefs.h. */
17890 /* Override any GCC internal prototype to avoid an error.
17891 Use char because int might match the return type of a GCC
17892 builtin and then its argument prototype would still apply. */
17902 if ac_fn_c_try_link
"$LINENO"
17905 dll
) ac_cv_lib_soname_fontconfig
=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17906 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'` ;;
17907 *) ac_cv_lib_soname_fontconfig
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17908 if ${ac_cv_lib_soname_fontconfig:+false} :
17910 ac_cv_lib_soname_fontconfig
=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17914 ac_cv_lib_soname_fontconfig
=
17916 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17917 conftest
$ac_exeext conftest.
$ac_ext
17918 LIBS
=$ac_check_soname_save_LIBS
17920 if ${ac_cv_lib_soname_fontconfig:+false} :
17922 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17923 printf "%s\n" "not found" >&6; }
17924 FONTCONFIG_CFLAGS
=""
17926 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
17927 printf "%s\n" "$ac_cv_lib_soname_fontconfig" >&6; }
17929 printf "%s\n" "#define SONAME_LIBFONTCONFIG \"$ac_cv_lib_soname_fontconfig\"" >>confdefs.h
17934 FONTCONFIG_CFLAGS
=""
17936 CPPFLAGS
=$ac_save_CPPFLAGS
17939 if test "x$ac_cv_lib_soname_fontconfig" = "x"
17941 case "x$with_fontconfig" in
17942 x
) as_fn_append wine_notices
"|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
17944 *) as_fn_error $?
"fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
17945 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
17950 if test "x$with_krb5" != "xno"
17952 if ${KRB5_CFLAGS:+false} :
17954 if test ${PKG_CONFIG+y}
17956 KRB5_CFLAGS
=`$PKG_CONFIG --cflags krb5 2>/dev/null`
17959 test "$cross_compiling" = yes || KRB5_CFLAGS
=${KRB5_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags 2>/dev/null`}
17960 if ${KRB5_LIBS:+false} :
17962 if test ${PKG_CONFIG+y}
17964 KRB5_LIBS
=`$PKG_CONFIG --libs krb5 2>/dev/null`
17967 test "$cross_compiling" = yes || KRB5_LIBS
=${KRB5_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs 2>/dev/null`}
17969 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5 cflags: $KRB5_CFLAGS" >&5
17970 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5 libs: $KRB5_LIBS" >&5
17971 ac_save_CPPFLAGS
=$CPPFLAGS
17972 CPPFLAGS
="$CPPFLAGS $KRB5_CFLAGS"
17973 ac_fn_c_check_header_compile
"$LINENO" "krb5/krb5.h" "ac_cv_header_krb5_krb5_h" "$ac_includes_default"
17974 if test "x$ac_cv_header_krb5_krb5_h" = xyes
17976 printf "%s\n" "#define HAVE_KRB5_KRB5_H 1" >>confdefs.h
17980 if test "$ac_cv_header_krb5_krb5_h" = "yes"
17982 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lkrb5" >&5
17983 printf %s
"checking for -lkrb5... " >&6; }
17984 if test ${ac_cv_lib_soname_krb5+y}
17986 printf %s
"(cached) " >&6
17988 ac_check_soname_save_LIBS
=$LIBS
17989 LIBS
="-lkrb5 $KRB5_LIBS $LIBS"
17990 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17991 /* end confdefs.h. */
17993 /* Override any GCC internal prototype to avoid an error.
17994 Use char because int might match the return type of a GCC
17995 builtin and then its argument prototype would still apply. */
17996 char krb5_is_config_principal ();
18000 return krb5_is_config_principal ();
18005 if ac_fn_c_try_link
"$LINENO"
18008 dll
) ac_cv_lib_soname_krb5
=`$ac_cv_path_LDD conftest.exe | grep "krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18009 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'` ;;
18010 *) ac_cv_lib_soname_krb5
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libkrb5\\.$LIBEXT" | sed -e "s/^.*\\[\\(libkrb5\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18011 if ${ac_cv_lib_soname_krb5:+false} :
18013 ac_cv_lib_soname_krb5
=`$LDD conftest$ac_exeext | grep "libkrb5\\.$LIBEXT" | sed -e "s/^.*\(libkrb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18017 ac_cv_lib_soname_krb5
=
18019 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18020 conftest
$ac_exeext conftest.
$ac_ext
18021 LIBS
=$ac_check_soname_save_LIBS
18023 if ${ac_cv_lib_soname_krb5:+false} :
18025 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18026 printf "%s\n" "not found" >&6; }
18029 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_krb5" >&5
18030 printf "%s\n" "$ac_cv_lib_soname_krb5" >&6; }
18032 printf "%s\n" "#define SONAME_LIBKRB5 \"$ac_cv_lib_soname_krb5\"" >>confdefs.h
18039 CPPFLAGS
=$ac_save_CPPFLAGS
18042 if test "x$ac_cv_lib_soname_krb5" = "x"
18044 case "x$with_krb5" in
18045 x
) as_fn_append wine_notices
"|libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported." ;;
18047 *) as_fn_error $?
"libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported.
18048 This is an error since --with-krb5 was requested." "$LINENO" 5 ;;
18052 test "x$ac_cv_lib_soname_krb5" != "x" || with_gssapi
=${with_gssapi:-no}
18054 if test "x$with_gssapi" != "xno"
18056 if ${GSSAPI_CFLAGS:+false} :
18058 if test ${PKG_CONFIG+y}
18060 GSSAPI_CFLAGS
=`$PKG_CONFIG --cflags krb5-gssapi 2>/dev/null`
18063 test "$cross_compiling" = yes || GSSAPI_CFLAGS
=${GSSAPI_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags gssapi 2>/dev/null`}
18064 if ${GSSAPI_LIBS:+false} :
18066 if test ${PKG_CONFIG+y}
18068 GSSAPI_LIBS
=`$PKG_CONFIG --libs krb5-gssapi 2>/dev/null`
18071 test "$cross_compiling" = yes || GSSAPI_LIBS
=${GSSAPI_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs gssapi 2>/dev/null`}
18073 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5-gssapi cflags: $GSSAPI_CFLAGS" >&5
18074 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5-gssapi libs: $GSSAPI_LIBS" >&5
18075 ac_save_CPPFLAGS
=$CPPFLAGS
18076 CPPFLAGS
="$CPPFLAGS $GSSAPI_CFLAGS"
18077 ac_fn_c_check_header_compile
"$LINENO" "gssapi/gssapi.h" "ac_cv_header_gssapi_gssapi_h" "$ac_includes_default"
18078 if test "x$ac_cv_header_gssapi_gssapi_h" = xyes
18080 printf "%s\n" "#define HAVE_GSSAPI_GSSAPI_H 1" >>confdefs.h
18083 ac_fn_c_check_header_compile
"$LINENO" "gssapi/gssapi_ext.h" "ac_cv_header_gssapi_gssapi_ext_h" "$ac_includes_default"
18084 if test "x$ac_cv_header_gssapi_gssapi_ext_h" = xyes
18086 printf "%s\n" "#define HAVE_GSSAPI_GSSAPI_EXT_H 1" >>confdefs.h
18090 if test "$ac_cv_header_gssapi_gssapi_h" = "yes" -a "$ac_cv_header_gssapi_gssapi_ext_h" = "yes"
18092 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lgssapi_krb5" >&5
18093 printf %s
"checking for -lgssapi_krb5... " >&6; }
18094 if test ${ac_cv_lib_soname_gssapi_krb5+y}
18096 printf %s
"(cached) " >&6
18098 ac_check_soname_save_LIBS
=$LIBS
18099 LIBS
="-lgssapi_krb5 $GSSAPI_LIBS $LIBS"
18100 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18101 /* end confdefs.h. */
18103 /* Override any GCC internal prototype to avoid an error.
18104 Use char because int might match the return type of a GCC
18105 builtin and then its argument prototype would still apply. */
18106 char gss_init_sec_context ();
18110 return gss_init_sec_context ();
18115 if ac_fn_c_try_link
"$LINENO"
18118 dll
) ac_cv_lib_soname_gssapi_krb5
=`$ac_cv_path_LDD conftest.exe | grep "gssapi_krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18119 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'` ;;
18120 *) 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'`
18121 if ${ac_cv_lib_soname_gssapi_krb5:+false} :
18123 ac_cv_lib_soname_gssapi_krb5
=`$LDD conftest$ac_exeext | grep "libgssapi_krb5\\.$LIBEXT" | sed -e "s/^.*\(libgssapi_krb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18127 ac_cv_lib_soname_gssapi_krb5
=
18129 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18130 conftest
$ac_exeext conftest.
$ac_ext
18131 LIBS
=$ac_check_soname_save_LIBS
18133 if ${ac_cv_lib_soname_gssapi_krb5:+false} :
18135 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18136 printf "%s\n" "not found" >&6; }
18139 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gssapi_krb5" >&5
18140 printf "%s\n" "$ac_cv_lib_soname_gssapi_krb5" >&6; }
18142 printf "%s\n" "#define SONAME_LIBGSSAPI_KRB5 \"$ac_cv_lib_soname_gssapi_krb5\"" >>confdefs.h
18149 CPPFLAGS
=$ac_save_CPPFLAGS
18152 if test "x$ac_cv_lib_soname_gssapi_krb5" = "x"
18154 case "x$with_gssapi" in
18155 x
) as_fn_append wine_notices
"|libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support." ;;
18157 *) as_fn_error $?
"libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support.
18158 This is an error since --with-gssapi was requested." "$LINENO" 5 ;;
18163 if test "$ac_cv_header_AL_al_h" = "yes"
18165 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
18166 printf %s
"checking for -lopenal... " >&6; }
18167 if test ${ac_cv_lib_soname_openal+y}
18169 printf %s
"(cached) " >&6
18171 ac_check_soname_save_LIBS
=$LIBS
18172 LIBS
="-lopenal $LIBS"
18173 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18174 /* end confdefs.h. */
18176 /* Override any GCC internal prototype to avoid an error.
18177 Use char because int might match the return type of a GCC
18178 builtin and then its argument prototype would still apply. */
18179 char alGetSource3i ();
18183 return alGetSource3i ();
18188 if ac_fn_c_try_link
"$LINENO"
18191 dll
) ac_cv_lib_soname_openal
=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18192 dylib
) ac_cv_lib_soname_openal
=`$OTOOL -L conftest$ac_exeext | grep "libopenal\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libopenal\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
18193 *) ac_cv_lib_soname_openal
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18194 if ${ac_cv_lib_soname_openal:+false} :
18196 ac_cv_lib_soname_openal
=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18200 ac_cv_lib_soname_openal
=
18202 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18203 conftest
$ac_exeext conftest.
$ac_ext
18204 LIBS
=$ac_check_soname_save_LIBS
18206 if ${ac_cv_lib_soname_openal:+false} :
18208 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18209 printf "%s\n" "not found" >&6; }
18212 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
18213 printf "%s\n" "$ac_cv_lib_soname_openal" >&6; }
18215 printf "%s\n" "#define SONAME_LIBOPENAL \"$ac_cv_lib_soname_openal\"" >>confdefs.h
18217 OPENAL_LIBS
="-lopenal"
18219 ac_cv_lib_openal
=yes
18221 printf "%s\n" "#define HAVE_OPENAL 1" >>confdefs.h
18225 if test "x$ac_cv_lib_openal" != xyes
18227 case "x$with_openal" in
18228 x
) as_fn_append wine_notices
"|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
18230 *) as_fn_error $?
"libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
18231 This is an error since --with-openal was requested." "$LINENO" 5 ;;
18233 enable_openal32
=${enable_openal32:-no}
18236 if test "$ac_cv_header_libprocstat_h" = "yes"
18238 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
18239 printf %s
"checking for procstat_open_sysctl in -lprocstat... " >&6; }
18240 if test ${ac_cv_lib_procstat_procstat_open_sysctl+y}
18242 printf %s
"(cached) " >&6
18244 ac_check_lib_save_LIBS
=$LIBS
18245 LIBS
="-lprocstat $LIBS"
18246 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18247 /* end confdefs.h. */
18249 /* Override any GCC internal prototype to avoid an error.
18250 Use char because int might match the return type of a GCC
18251 builtin and then its argument prototype would still apply. */
18252 char procstat_open_sysctl ();
18256 return procstat_open_sysctl ();
18261 if ac_fn_c_try_link
"$LINENO"
18263 ac_cv_lib_procstat_procstat_open_sysctl
=yes
18265 ac_cv_lib_procstat_procstat_open_sysctl
=no
18267 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18268 conftest
$ac_exeext conftest.
$ac_ext
18269 LIBS
=$ac_check_lib_save_LIBS
18271 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
18272 printf "%s\n" "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
18273 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes
18276 printf "%s\n" "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
18278 PROCSTAT_LIBS
="-lprocstat"
18284 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
18285 printf %s
"checking for -lodbc... " >&6; }
18286 if test ${ac_cv_lib_soname_odbc+y}
18288 printf %s
"(cached) " >&6
18290 ac_check_soname_save_LIBS
=$LIBS
18291 LIBS
="-lodbc $LIBS"
18292 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18293 /* end confdefs.h. */
18295 /* Override any GCC internal prototype to avoid an error.
18296 Use char because int might match the return type of a GCC
18297 builtin and then its argument prototype would still apply. */
18298 char SQLConnect ();
18302 return SQLConnect ();
18307 if ac_fn_c_try_link
"$LINENO"
18310 dll
) ac_cv_lib_soname_odbc
=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18311 dylib
) ac_cv_lib_soname_odbc
=`$OTOOL -L conftest$ac_exeext | grep "libodbc\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libodbc\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
18312 *) ac_cv_lib_soname_odbc
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18313 if ${ac_cv_lib_soname_odbc:+false} :
18315 ac_cv_lib_soname_odbc
=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18319 ac_cv_lib_soname_odbc
=
18321 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18322 conftest
$ac_exeext conftest.
$ac_ext
18323 LIBS
=$ac_check_soname_save_LIBS
18325 if ${ac_cv_lib_soname_odbc:+false} :
18327 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18328 printf "%s\n" "not found" >&6; }
18329 printf "%s\n" "#define SONAME_LIBODBC \"libodbc.$LIBEXT\"" >>confdefs.h
18332 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
18333 printf "%s\n" "$ac_cv_lib_soname_odbc" >&6; }
18335 printf "%s\n" "#define SONAME_LIBODBC \"$ac_cv_lib_soname_odbc\"" >>confdefs.h
18340 if test "x$with_netapi" != "xno"
18342 if ${NETAPI_CFLAGS:+false} :
18344 if test ${PKG_CONFIG+y}
18346 NETAPI_CFLAGS
=`$PKG_CONFIG --cflags netapi 2>/dev/null`
18350 if ${NETAPI_LIBS:+false} :
18352 if test ${PKG_CONFIG+y}
18354 NETAPI_LIBS
=`$PKG_CONFIG --libs netapi 2>/dev/null`
18359 printf "%s\n" "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
18360 printf "%s\n" "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
18361 ac_save_CPPFLAGS
=$CPPFLAGS
18362 CPPFLAGS
="$CPPFLAGS $NETAPI_CFLAGS"
18363 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
18364 printf %s
"checking for -lnetapi... " >&6; }
18365 if test ${ac_cv_lib_soname_netapi+y}
18367 printf %s
"(cached) " >&6
18369 ac_check_soname_save_LIBS
=$LIBS
18370 LIBS
="-lnetapi $NETAPI_LIBS $LIBS"
18371 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18372 /* end confdefs.h. */
18374 /* Override any GCC internal prototype to avoid an error.
18375 Use char because int might match the return type of a GCC
18376 builtin and then its argument prototype would still apply. */
18377 char libnetapi_init ();
18381 return libnetapi_init ();
18386 if ac_fn_c_try_link
"$LINENO"
18389 dll
) ac_cv_lib_soname_netapi
=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18390 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'` ;;
18391 *) ac_cv_lib_soname_netapi
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18392 if ${ac_cv_lib_soname_netapi:+false} :
18394 ac_cv_lib_soname_netapi
=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18398 ac_cv_lib_soname_netapi
=
18400 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18401 conftest
$ac_exeext conftest.
$ac_ext
18402 LIBS
=$ac_check_soname_save_LIBS
18404 if ${ac_cv_lib_soname_netapi:+false} :
18406 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18407 printf "%s\n" "not found" >&6; }
18408 printf "%s\n" "#define SONAME_LIBNETAPI \"libnetapi.$LIBEXT\"" >>confdefs.h
18411 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
18412 printf "%s\n" "$ac_cv_lib_soname_netapi" >&6; }
18414 printf "%s\n" "#define SONAME_LIBNETAPI \"$ac_cv_lib_soname_netapi\"" >>confdefs.h
18418 CPPFLAGS
=$ac_save_CPPFLAGS
18421 if test "x$ac_cv_lib_soname_netapi" = "x"
18423 case "x$with_netapi" in
18424 x
) as_fn_append wine_notices
"|libnetapi not found, Samba NetAPI won't be supported." ;;
18426 *) as_fn_error $?
"libnetapi not found, Samba NetAPI won't be supported.
18427 This is an error since --with-netapi was requested." "$LINENO" 5 ;;
18429 enable_netapi
=${enable_netapi:-no}
18433 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono
-a \
18434 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
18436 as_fn_append wine_warnings
"|No sound system was found. Windows applications will be silent."
18439 if test "x$with_vulkan" != "xno"
18441 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lvulkan" >&5
18442 printf %s
"checking for -lvulkan... " >&6; }
18443 if test ${ac_cv_lib_soname_vulkan+y}
18445 printf %s
"(cached) " >&6
18447 ac_check_soname_save_LIBS
=$LIBS
18448 LIBS
="-lvulkan $LIBS"
18449 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18450 /* end confdefs.h. */
18452 /* Override any GCC internal prototype to avoid an error.
18453 Use char because int might match the return type of a GCC
18454 builtin and then its argument prototype would still apply. */
18455 char vkGetInstanceProcAddr ();
18459 return vkGetInstanceProcAddr ();
18464 if ac_fn_c_try_link
"$LINENO"
18467 dll
) ac_cv_lib_soname_vulkan
=`$ac_cv_path_LDD conftest.exe | grep "vulkan" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18468 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'` ;;
18469 *) ac_cv_lib_soname_vulkan
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvulkan\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvulkan\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18470 if ${ac_cv_lib_soname_vulkan:+false} :
18472 ac_cv_lib_soname_vulkan
=`$LDD conftest$ac_exeext | grep "libvulkan\\.$LIBEXT" | sed -e "s/^.*\(libvulkan\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18476 ac_cv_lib_soname_vulkan
=
18478 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18479 conftest
$ac_exeext conftest.
$ac_ext
18480 LIBS
=$ac_check_soname_save_LIBS
18482 if ${ac_cv_lib_soname_vulkan:+false} :
18484 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18485 printf "%s\n" "not found" >&6; }
18488 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vulkan" >&5
18489 printf "%s\n" "$ac_cv_lib_soname_vulkan" >&6; }
18491 printf "%s\n" "#define SONAME_LIBVULKAN \"$ac_cv_lib_soname_vulkan\"" >>confdefs.h
18495 if test "x$ac_cv_lib_soname_vulkan" = "x"
18497 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lMoltenVK" >&5
18498 printf %s
"checking for -lMoltenVK... " >&6; }
18499 if test ${ac_cv_lib_soname_MoltenVK+y}
18501 printf %s
"(cached) " >&6
18503 ac_check_soname_save_LIBS
=$LIBS
18504 LIBS
="-lMoltenVK $LIBS"
18505 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18506 /* end confdefs.h. */
18508 /* Override any GCC internal prototype to avoid an error.
18509 Use char because int might match the return type of a GCC
18510 builtin and then its argument prototype would still apply. */
18511 char vkGetInstanceProcAddr ();
18515 return vkGetInstanceProcAddr ();
18520 if ac_fn_c_try_link
"$LINENO"
18523 dll
) ac_cv_lib_soname_MoltenVK
=`$ac_cv_path_LDD conftest.exe | grep "MoltenVK" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18524 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'` ;;
18525 *) ac_cv_lib_soname_MoltenVK
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\\[\\(libMoltenVK\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18526 if ${ac_cv_lib_soname_MoltenVK:+false} :
18528 ac_cv_lib_soname_MoltenVK
=`$LDD conftest$ac_exeext | grep "libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\(libMoltenVK\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18532 ac_cv_lib_soname_MoltenVK
=
18534 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18535 conftest
$ac_exeext conftest.
$ac_ext
18536 LIBS
=$ac_check_soname_save_LIBS
18538 if ${ac_cv_lib_soname_MoltenVK:+false} :
18540 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18541 printf "%s\n" "not found" >&6; }
18544 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_MoltenVK" >&5
18545 printf "%s\n" "$ac_cv_lib_soname_MoltenVK" >&6; }
18547 printf "%s\n" "#define SONAME_LIBMOLTENVK \"$ac_cv_lib_soname_MoltenVK\"" >>confdefs.h
18553 if test "x$ac_cv_lib_soname_vulkan" = "x" -a "x$ac_cv_lib_soname_MoltenVK" = "x"
18555 case "x$with_vulkan" in
18556 x
) as_fn_append wine_notices
"|libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported." ;;
18558 *) as_fn_error $?
"libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported.
18559 This is an error since --with-vulkan was requested." "$LINENO" 5 ;;
18565 if test "x${GCC}" = "xyes"
18567 EXTRACFLAGS
="$EXTRACFLAGS -Wall -pipe"
18569 saved_CFLAGS
=$CFLAGS
18570 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
18571 printf %s
"checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
18572 if test ${ac_cv_cflags__Werror_unknown_warning_option+y}
18574 printf %s
"(cached) " >&6
18576 ac_wine_try_cflags_saved
=$CFLAGS
18577 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
18578 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18579 /* end confdefs.h. */
18580 int main(int argc, char **argv) { return 0; }
18582 if ac_fn_c_try_link
"$LINENO"
18584 ac_cv_cflags__Werror_unknown_warning_option
=yes
18586 ac_cv_cflags__Werror_unknown_warning_option
=no
18588 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18589 conftest
$ac_exeext conftest.
$ac_ext
18590 CFLAGS
=$ac_wine_try_cflags_saved
18592 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
18593 printf "%s\n" "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
18594 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes
18596 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
18598 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unused-command-line-argument" >&5
18599 printf %s
"checking whether the compiler supports -Werror=unused-command-line-argument... " >&6; }
18600 if test ${ac_cv_cflags__Werror_unused_command_line_argument+y}
18602 printf %s
"(cached) " >&6
18604 ac_wine_try_cflags_saved
=$CFLAGS
18605 CFLAGS
="$CFLAGS -Werror=unused-command-line-argument"
18606 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18607 /* end confdefs.h. */
18608 int main(int argc, char **argv) { return 0; }
18610 if ac_fn_c_try_link
"$LINENO"
18612 ac_cv_cflags__Werror_unused_command_line_argument
=yes
18614 ac_cv_cflags__Werror_unused_command_line_argument
=no
18616 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18617 conftest
$ac_exeext conftest.
$ac_ext
18618 CFLAGS
=$ac_wine_try_cflags_saved
18620 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unused_command_line_argument" >&5
18621 printf "%s\n" "$ac_cv_cflags__Werror_unused_command_line_argument" >&6; }
18622 if test "x$ac_cv_cflags__Werror_unused_command_line_argument" = xyes
18624 CFLAGS
="$CFLAGS -Werror=unused-command-line-argument"
18626 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=ignored-optimization-argument" >&5
18627 printf %s
"checking whether the compiler supports -Werror=ignored-optimization-argument... " >&6; }
18628 if test ${ac_cv_cflags__Werror_ignored_optimization_argument+y}
18630 printf %s
"(cached) " >&6
18632 ac_wine_try_cflags_saved
=$CFLAGS
18633 CFLAGS
="$CFLAGS -Werror=ignored-optimization-argument"
18634 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18635 /* end confdefs.h. */
18636 int main(int argc, char **argv) { return 0; }
18638 if ac_fn_c_try_link
"$LINENO"
18640 ac_cv_cflags__Werror_ignored_optimization_argument
=yes
18642 ac_cv_cflags__Werror_ignored_optimization_argument
=no
18644 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18645 conftest
$ac_exeext conftest.
$ac_ext
18646 CFLAGS
=$ac_wine_try_cflags_saved
18648 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_ignored_optimization_argument" >&5
18649 printf "%s\n" "$ac_cv_cflags__Werror_ignored_optimization_argument" >&6; }
18650 if test "x$ac_cv_cflags__Werror_ignored_optimization_argument" = xyes
18652 CFLAGS
="$CFLAGS -Werror=ignored-optimization-argument"
18654 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fcf-protection=none" >&5
18655 printf %s
"checking whether the compiler supports -fcf-protection=none... " >&6; }
18656 if test ${ac_cv_cflags__fcf_protection_none+y}
18658 printf %s
"(cached) " >&6
18660 ac_wine_try_cflags_saved
=$CFLAGS
18661 CFLAGS
="$CFLAGS -fcf-protection=none"
18662 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18663 /* end confdefs.h. */
18664 int main(int argc, char **argv) { return 0; }
18666 if ac_fn_c_try_link
"$LINENO"
18668 ac_cv_cflags__fcf_protection_none
=yes
18670 ac_cv_cflags__fcf_protection_none
=no
18672 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18673 conftest
$ac_exeext conftest.
$ac_ext
18674 CFLAGS
=$ac_wine_try_cflags_saved
18676 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fcf_protection_none" >&5
18677 printf "%s\n" "$ac_cv_cflags__fcf_protection_none" >&6; }
18678 if test "x$ac_cv_cflags__fcf_protection_none" = xyes
18680 EXTRACFLAGS
="$EXTRACFLAGS -fcf-protection=none"
18682 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-stack-protector" >&5
18683 printf %s
"checking whether the compiler supports -fno-stack-protector... " >&6; }
18684 if test ${ac_cv_cflags__fno_stack_protector+y}
18686 printf %s
"(cached) " >&6
18688 ac_wine_try_cflags_saved
=$CFLAGS
18689 CFLAGS
="$CFLAGS -fno-stack-protector"
18690 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18691 /* end confdefs.h. */
18692 int main(int argc, char **argv) { return 0; }
18694 if ac_fn_c_try_link
"$LINENO"
18696 ac_cv_cflags__fno_stack_protector
=yes
18698 ac_cv_cflags__fno_stack_protector
=no
18700 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18701 conftest
$ac_exeext conftest.
$ac_ext
18702 CFLAGS
=$ac_wine_try_cflags_saved
18704 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_stack_protector" >&5
18705 printf "%s\n" "$ac_cv_cflags__fno_stack_protector" >&6; }
18706 if test "x$ac_cv_cflags__fno_stack_protector" = xyes
18708 EXTRACFLAGS
="$EXTRACFLAGS -fno-stack-protector"
18710 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
18711 printf %s
"checking whether the compiler supports -fno-strict-aliasing... " >&6; }
18712 if test ${ac_cv_cflags__fno_strict_aliasing+y}
18714 printf %s
"(cached) " >&6
18716 ac_wine_try_cflags_saved
=$CFLAGS
18717 CFLAGS
="$CFLAGS -fno-strict-aliasing"
18718 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18719 /* end confdefs.h. */
18720 int main(int argc, char **argv) { return 0; }
18722 if ac_fn_c_try_link
"$LINENO"
18724 ac_cv_cflags__fno_strict_aliasing
=yes
18726 ac_cv_cflags__fno_strict_aliasing
=no
18728 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18729 conftest
$ac_exeext conftest.
$ac_ext
18730 CFLAGS
=$ac_wine_try_cflags_saved
18732 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
18733 printf "%s\n" "$ac_cv_cflags__fno_strict_aliasing" >&6; }
18734 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes
18736 EXTRACFLAGS
="$EXTRACFLAGS -fno-strict-aliasing"
18738 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
18739 printf %s
"checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
18740 if test ${ac_cv_cflags__Wdeclaration_after_statement+y}
18742 printf %s
"(cached) " >&6
18744 ac_wine_try_cflags_saved
=$CFLAGS
18745 CFLAGS
="$CFLAGS -Wdeclaration-after-statement"
18746 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18747 /* end confdefs.h. */
18748 int main(int argc, char **argv) { return 0; }
18750 if ac_fn_c_try_link
"$LINENO"
18752 ac_cv_cflags__Wdeclaration_after_statement
=yes
18754 ac_cv_cflags__Wdeclaration_after_statement
=no
18756 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18757 conftest
$ac_exeext conftest.
$ac_ext
18758 CFLAGS
=$ac_wine_try_cflags_saved
18760 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
18761 printf "%s\n" "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
18762 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes
18764 EXTRACFLAGS
="$EXTRACFLAGS -Wdeclaration-after-statement"
18766 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
18767 printf %s
"checking whether the compiler supports -Wempty-body... " >&6; }
18768 if test ${ac_cv_cflags__Wempty_body+y}
18770 printf %s
"(cached) " >&6
18772 ac_wine_try_cflags_saved
=$CFLAGS
18773 CFLAGS
="$CFLAGS -Wempty-body"
18774 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18775 /* end confdefs.h. */
18776 int main(int argc, char **argv) { return 0; }
18778 if ac_fn_c_try_link
"$LINENO"
18780 ac_cv_cflags__Wempty_body
=yes
18782 ac_cv_cflags__Wempty_body
=no
18784 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18785 conftest
$ac_exeext conftest.
$ac_ext
18786 CFLAGS
=$ac_wine_try_cflags_saved
18788 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
18789 printf "%s\n" "$ac_cv_cflags__Wempty_body" >&6; }
18790 if test "x$ac_cv_cflags__Wempty_body" = xyes
18792 EXTRACFLAGS
="$EXTRACFLAGS -Wempty-body"
18794 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
18795 printf %s
"checking whether the compiler supports -Wignored-qualifiers... " >&6; }
18796 if test ${ac_cv_cflags__Wignored_qualifiers+y}
18798 printf %s
"(cached) " >&6
18800 ac_wine_try_cflags_saved
=$CFLAGS
18801 CFLAGS
="$CFLAGS -Wignored-qualifiers"
18802 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18803 /* end confdefs.h. */
18804 int main(int argc, char **argv) { return 0; }
18806 if ac_fn_c_try_link
"$LINENO"
18808 ac_cv_cflags__Wignored_qualifiers
=yes
18810 ac_cv_cflags__Wignored_qualifiers
=no
18812 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18813 conftest
$ac_exeext conftest.
$ac_ext
18814 CFLAGS
=$ac_wine_try_cflags_saved
18816 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
18817 printf "%s\n" "$ac_cv_cflags__Wignored_qualifiers" >&6; }
18818 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes
18820 EXTRACFLAGS
="$EXTRACFLAGS -Wignored-qualifiers"
18822 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Winit-self" >&5
18823 printf %s
"checking whether the compiler supports -Winit-self... " >&6; }
18824 if test ${ac_cv_cflags__Winit_self+y}
18826 printf %s
"(cached) " >&6
18828 ac_wine_try_cflags_saved
=$CFLAGS
18829 CFLAGS
="$CFLAGS -Winit-self"
18830 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18831 /* end confdefs.h. */
18832 int main(int argc, char **argv) { return 0; }
18834 if ac_fn_c_try_link
"$LINENO"
18836 ac_cv_cflags__Winit_self
=yes
18838 ac_cv_cflags__Winit_self
=no
18840 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18841 conftest
$ac_exeext conftest.
$ac_ext
18842 CFLAGS
=$ac_wine_try_cflags_saved
18844 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Winit_self" >&5
18845 printf "%s\n" "$ac_cv_cflags__Winit_self" >&6; }
18846 if test "x$ac_cv_cflags__Winit_self" = xyes
18848 EXTRACFLAGS
="$EXTRACFLAGS -Winit-self"
18850 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpacked-not-aligned" >&5
18851 printf %s
"checking whether the compiler supports -Wpacked-not-aligned... " >&6; }
18852 if test ${ac_cv_cflags__Wpacked_not_aligned+y}
18854 printf %s
"(cached) " >&6
18856 ac_wine_try_cflags_saved
=$CFLAGS
18857 CFLAGS
="$CFLAGS -Wpacked-not-aligned"
18858 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18859 /* end confdefs.h. */
18860 int main(int argc, char **argv) { return 0; }
18862 if ac_fn_c_try_link
"$LINENO"
18864 ac_cv_cflags__Wpacked_not_aligned
=yes
18866 ac_cv_cflags__Wpacked_not_aligned
=no
18868 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18869 conftest
$ac_exeext conftest.
$ac_ext
18870 CFLAGS
=$ac_wine_try_cflags_saved
18872 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpacked_not_aligned" >&5
18873 printf "%s\n" "$ac_cv_cflags__Wpacked_not_aligned" >&6; }
18874 if test "x$ac_cv_cflags__Wpacked_not_aligned" = xyes
18876 EXTRACFLAGS
="$EXTRACFLAGS -Wno-packed-not-aligned"
18878 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpragma-pack" >&5
18879 printf %s
"checking whether the compiler supports -Wpragma-pack... " >&6; }
18880 if test ${ac_cv_cflags__Wpragma_pack+y}
18882 printf %s
"(cached) " >&6
18884 ac_wine_try_cflags_saved
=$CFLAGS
18885 CFLAGS
="$CFLAGS -Wpragma-pack"
18886 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18887 /* end confdefs.h. */
18888 int main(int argc, char **argv) { return 0; }
18890 if ac_fn_c_try_link
"$LINENO"
18892 ac_cv_cflags__Wpragma_pack
=yes
18894 ac_cv_cflags__Wpragma_pack
=no
18896 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18897 conftest
$ac_exeext conftest.
$ac_ext
18898 CFLAGS
=$ac_wine_try_cflags_saved
18900 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpragma_pack" >&5
18901 printf "%s\n" "$ac_cv_cflags__Wpragma_pack" >&6; }
18902 if test "x$ac_cv_cflags__Wpragma_pack" = xyes
18904 EXTRACFLAGS
="$EXTRACFLAGS -Wno-pragma-pack"
18906 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
18907 printf %s
"checking whether the compiler supports -Wshift-overflow=2... " >&6; }
18908 if test ${ac_cv_cflags__Wshift_overflow_2+y}
18910 printf %s
"(cached) " >&6
18912 ac_wine_try_cflags_saved
=$CFLAGS
18913 CFLAGS
="$CFLAGS -Wshift-overflow=2"
18914 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18915 /* end confdefs.h. */
18916 int main(int argc, char **argv) { return 0; }
18918 if ac_fn_c_try_link
"$LINENO"
18920 ac_cv_cflags__Wshift_overflow_2
=yes
18922 ac_cv_cflags__Wshift_overflow_2
=no
18924 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18925 conftest
$ac_exeext conftest.
$ac_ext
18926 CFLAGS
=$ac_wine_try_cflags_saved
18928 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
18929 printf "%s\n" "$ac_cv_cflags__Wshift_overflow_2" >&6; }
18930 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes
18932 EXTRACFLAGS
="$EXTRACFLAGS -Wshift-overflow=2"
18934 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
18935 printf %s
"checking whether the compiler supports -Wstrict-prototypes... " >&6; }
18936 if test ${ac_cv_cflags__Wstrict_prototypes+y}
18938 printf %s
"(cached) " >&6
18940 ac_wine_try_cflags_saved
=$CFLAGS
18941 CFLAGS
="$CFLAGS -Wstrict-prototypes"
18942 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18943 /* end confdefs.h. */
18944 int main(int argc, char **argv) { return 0; }
18946 if ac_fn_c_try_link
"$LINENO"
18948 ac_cv_cflags__Wstrict_prototypes
=yes
18950 ac_cv_cflags__Wstrict_prototypes
=no
18952 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18953 conftest
$ac_exeext conftest.
$ac_ext
18954 CFLAGS
=$ac_wine_try_cflags_saved
18956 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
18957 printf "%s\n" "$ac_cv_cflags__Wstrict_prototypes" >&6; }
18958 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes
18960 EXTRACFLAGS
="$EXTRACFLAGS -Wstrict-prototypes"
18962 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
18963 printf %s
"checking whether the compiler supports -Wtype-limits... " >&6; }
18964 if test ${ac_cv_cflags__Wtype_limits+y}
18966 printf %s
"(cached) " >&6
18968 ac_wine_try_cflags_saved
=$CFLAGS
18969 CFLAGS
="$CFLAGS -Wtype-limits"
18970 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18971 /* end confdefs.h. */
18972 int main(int argc, char **argv) { return 0; }
18974 if ac_fn_c_try_link
"$LINENO"
18976 ac_cv_cflags__Wtype_limits
=yes
18978 ac_cv_cflags__Wtype_limits
=no
18980 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18981 conftest
$ac_exeext conftest.
$ac_ext
18982 CFLAGS
=$ac_wine_try_cflags_saved
18984 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
18985 printf "%s\n" "$ac_cv_cflags__Wtype_limits" >&6; }
18986 if test "x$ac_cv_cflags__Wtype_limits" = xyes
18988 EXTRACFLAGS
="$EXTRACFLAGS -Wtype-limits"
18990 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
18991 printf %s
"checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
18992 if test ${ac_cv_cflags__Wunused_but_set_parameter+y}
18994 printf %s
"(cached) " >&6
18996 ac_wine_try_cflags_saved
=$CFLAGS
18997 CFLAGS
="$CFLAGS -Wunused-but-set-parameter"
18998 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18999 /* end confdefs.h. */
19000 int main(int argc, char **argv) { return 0; }
19002 if ac_fn_c_try_link
"$LINENO"
19004 ac_cv_cflags__Wunused_but_set_parameter
=yes
19006 ac_cv_cflags__Wunused_but_set_parameter
=no
19008 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19009 conftest
$ac_exeext conftest.
$ac_ext
19010 CFLAGS
=$ac_wine_try_cflags_saved
19012 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
19013 printf "%s\n" "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
19014 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes
19016 EXTRACFLAGS
="$EXTRACFLAGS -Wunused-but-set-parameter"
19018 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
19019 printf %s
"checking whether the compiler supports -Wvla... " >&6; }
19020 if test ${ac_cv_cflags__Wvla+y}
19022 printf %s
"(cached) " >&6
19024 ac_wine_try_cflags_saved
=$CFLAGS
19025 CFLAGS
="$CFLAGS -Wvla"
19026 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19027 /* end confdefs.h. */
19028 int main(int argc, char **argv) { return 0; }
19030 if ac_fn_c_try_link
"$LINENO"
19032 ac_cv_cflags__Wvla
=yes
19034 ac_cv_cflags__Wvla
=no
19036 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19037 conftest
$ac_exeext conftest.
$ac_ext
19038 CFLAGS
=$ac_wine_try_cflags_saved
19040 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
19041 printf "%s\n" "$ac_cv_cflags__Wvla" >&6; }
19042 if test "x$ac_cv_cflags__Wvla" = xyes
19044 EXTRACFLAGS
="$EXTRACFLAGS -Wvla"
19046 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
19047 printf %s
"checking whether the compiler supports -Wwrite-strings... " >&6; }
19048 if test ${ac_cv_cflags__Wwrite_strings+y}
19050 printf %s
"(cached) " >&6
19052 ac_wine_try_cflags_saved
=$CFLAGS
19053 CFLAGS
="$CFLAGS -Wwrite-strings"
19054 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19055 /* end confdefs.h. */
19056 int main(int argc, char **argv) { return 0; }
19058 if ac_fn_c_try_link
"$LINENO"
19060 ac_cv_cflags__Wwrite_strings
=yes
19062 ac_cv_cflags__Wwrite_strings
=no
19064 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19065 conftest
$ac_exeext conftest.
$ac_ext
19066 CFLAGS
=$ac_wine_try_cflags_saved
19068 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
19069 printf "%s\n" "$ac_cv_cflags__Wwrite_strings" >&6; }
19070 if test "x$ac_cv_cflags__Wwrite_strings" = xyes
19072 EXTRACFLAGS
="$EXTRACFLAGS -Wwrite-strings"
19075 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
19076 printf %s
"checking whether the compiler supports -Wpointer-arith... " >&6; }
19077 if test ${ac_cv_cflags__Wpointer_arith+y}
19079 printf %s
"(cached) " >&6
19081 ac_wine_try_cflags_saved
=$CFLAGS
19082 CFLAGS
="$CFLAGS -Wpointer-arith"
19083 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19084 /* end confdefs.h. */
19085 int main(int argc, char **argv) { return 0; }
19087 if ac_fn_c_try_link
"$LINENO"
19089 ac_cv_cflags__Wpointer_arith
=yes
19091 ac_cv_cflags__Wpointer_arith
=no
19093 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19094 conftest
$ac_exeext conftest.
$ac_ext
19095 CFLAGS
=$ac_wine_try_cflags_saved
19097 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
19098 printf "%s\n" "$ac_cv_cflags__Wpointer_arith" >&6; }
19099 if test "x$ac_cv_cflags__Wpointer_arith" = xyes
19101 saved_string_h_CFLAGS
=$CFLAGS
19102 CFLAGS
="$CFLAGS -Wpointer-arith -Werror"
19103 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
19104 printf %s
"checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
19105 if test ${ac_cv_c_string_h_warnings+y}
19107 printf %s
"(cached) " >&6
19109 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19110 /* end confdefs.h. */
19111 #include <string.h>
19120 if ac_fn_c_try_compile
"$LINENO"
19122 ac_cv_c_string_h_warnings
=no
19124 ac_cv_c_string_h_warnings
=yes
19126 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
19128 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
19129 printf "%s\n" "$ac_cv_c_string_h_warnings" >&6; }
19130 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS
="$EXTRACFLAGS -Wpointer-arith"
19131 CFLAGS
=$saved_string_h_CFLAGS
19134 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
19135 printf %s
"checking whether the compiler supports -Wlogical-op... " >&6; }
19136 if test ${ac_cv_cflags__Wlogical_op+y}
19138 printf %s
"(cached) " >&6
19140 ac_wine_try_cflags_saved
=$CFLAGS
19141 CFLAGS
="$CFLAGS -Wlogical-op"
19142 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19143 /* end confdefs.h. */
19144 int main(int argc, char **argv) { return 0; }
19146 if ac_fn_c_try_link
"$LINENO"
19148 ac_cv_cflags__Wlogical_op
=yes
19150 ac_cv_cflags__Wlogical_op
=no
19152 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19153 conftest
$ac_exeext conftest.
$ac_ext
19154 CFLAGS
=$ac_wine_try_cflags_saved
19156 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
19157 printf "%s\n" "$ac_cv_cflags__Wlogical_op" >&6; }
19158 if test "x$ac_cv_cflags__Wlogical_op" = xyes
19160 saved_string_h_CFLAGS
=$CFLAGS
19161 CFLAGS
="$CFLAGS -Wlogical-op -Werror"
19162 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
19163 printf %s
"checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
19164 if test ${ac_cv_c_logicalop_noisy+y}
19166 printf %s
"(cached) " >&6
19168 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19169 /* end confdefs.h. */
19170 #include <string.h>
19171 char*f(const char *h,char n) {return strchr(h,n);}
19180 if ac_fn_c_try_compile
"$LINENO"
19182 ac_cv_c_logicalop_noisy
=no
19184 ac_cv_c_logicalop_noisy
=yes
19186 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
19188 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
19189 printf "%s\n" "$ac_cv_c_logicalop_noisy" >&6; }
19190 CFLAGS
=$saved_string_h_CFLAGS
19191 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS
="$EXTRACFLAGS -Wlogical-op"
19194 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for flags needed for 64-bit compare-and-swap support" >&5
19195 printf %s
"checking for flags needed for 64-bit compare-and-swap support... " >&6; }
19196 if test ${wine_cv_64bit_compare_swap+y}
19198 printf %s
"(cached) " >&6
19200 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19201 /* end confdefs.h. */
19202 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
19213 if ac_fn_c_try_compile
"$LINENO"
19215 wine_cv_64bit_compare_swap
="none needed"
19218 *i
[3456]86*) wine_cv_64bit_compare_swap
="-march=i586" ;;
19219 *arm
*) wine_cv_64bit_compare_swap
="-march=armv7-a" ;;
19220 *) wine_cv_64bit_compare_swap
="unknown" ;;
19222 if test "x$wine_cv_64bit_compare_swap" != xunknown
19224 CFLAGS
="$CFLAGS $wine_cv_64bit_compare_swap"
19225 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19226 /* end confdefs.h. */
19227 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
19238 if ac_fn_c_try_compile
"$LINENO"
19242 wine_cv_64bit_compare_swap
="unknown"
19244 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
19245 CFLAGS
=$saved_CFLAGS
19248 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
19250 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_64bit_compare_swap" >&5
19251 printf "%s\n" "$wine_cv_64bit_compare_swap" >&6; }
19252 case "$wine_cv_64bit_compare_swap" in
19253 unknown
) as_fn_error $?
"gcc doesn't support 64-bit compare-and-swap on this platform" "$LINENO" 5 ;;
19255 *) EXTRACFLAGS
="$EXTRACFLAGS $wine_cv_64bit_compare_swap" ;;
19258 ac_debug_format_seen
=""
19259 for ac_flag
in $CFLAGS; do
19261 -gdwarf*) ac_debug_format_seen
=yes ;;
19262 -g) ac_debug_format_seen
=${ac_debug_format_seen:-default} ;;
19265 if test "x$ac_debug_format_seen" = xdefault
19267 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-4" >&5
19268 printf %s
"checking whether the compiler supports -gdwarf-4... " >&6; }
19269 if test ${ac_cv_cflags__gdwarf_4+y}
19271 printf %s
"(cached) " >&6
19273 ac_wine_try_cflags_saved
=$CFLAGS
19274 CFLAGS
="$CFLAGS -gdwarf-4"
19275 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19276 /* end confdefs.h. */
19277 int main(int argc, char **argv) { return 0; }
19279 if ac_fn_c_try_link
"$LINENO"
19281 ac_cv_cflags__gdwarf_4
=yes
19283 ac_cv_cflags__gdwarf_4
=no
19285 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19286 conftest
$ac_exeext conftest.
$ac_ext
19287 CFLAGS
=$ac_wine_try_cflags_saved
19289 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_4" >&5
19290 printf "%s\n" "$ac_cv_cflags__gdwarf_4" >&6; }
19291 if test "x$ac_cv_cflags__gdwarf_4" = xyes
19293 EXTRACFLAGS
="$EXTRACFLAGS -gdwarf-4"
19300 mingw32
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-delayload,autoconftest.dll" >&5
19301 printf %s
"checking whether the compiler supports -Wl,-delayload,autoconftest.dll... " >&6; }
19302 if test ${ac_cv_cflags__Wl__delayload_autoconftest_dll+y}
19304 printf %s
"(cached) " >&6
19306 ac_wine_try_cflags_saved
=$CFLAGS
19307 CFLAGS
="$CFLAGS -Wl,-delayload,autoconftest.dll"
19308 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19309 /* end confdefs.h. */
19310 int main(int argc, char **argv) { return 0; }
19312 if ac_fn_c_try_link
"$LINENO"
19314 ac_cv_cflags__Wl__delayload_autoconftest_dll
=yes
19316 ac_cv_cflags__Wl__delayload_autoconftest_dll
=no
19318 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19319 conftest
$ac_exeext conftest.
$ac_ext
19320 CFLAGS
=$ac_wine_try_cflags_saved
19322 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__delayload_autoconftest_dll" >&5
19323 printf "%s\n" "$ac_cv_cflags__Wl__delayload_autoconftest_dll" >&6; }
19324 if test "x$ac_cv_cflags__Wl__delayload_autoconftest_dll" = xyes
19326 DELAYLOADFLAG
="-Wl,-delayload,"
19329 *) MSVCRTFLAGS
="-D_WIN32"
19330 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
19331 printf %s
"checking whether the compiler supports -fno-builtin... " >&6; }
19332 if test ${ac_cv_cflags__fno_builtin+y}
19334 printf %s
"(cached) " >&6
19336 ac_wine_try_cflags_saved
=$CFLAGS
19337 CFLAGS
="$CFLAGS -fno-builtin"
19338 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19339 /* end confdefs.h. */
19340 int main(int argc, char **argv) { return 0; }
19342 if ac_fn_c_try_link
"$LINENO"
19344 ac_cv_cflags__fno_builtin
=yes
19346 ac_cv_cflags__fno_builtin
=no
19348 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19349 conftest
$ac_exeext conftest.
$ac_ext
19350 CFLAGS
=$ac_wine_try_cflags_saved
19352 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
19353 printf "%s\n" "$ac_cv_cflags__fno_builtin" >&6; }
19354 if test "x$ac_cv_cflags__fno_builtin" = xyes
19356 MSVCRTFLAGS
="$MSVCRTFLAGS -fno-builtin"
19358 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fshort-wchar" >&5
19359 printf %s
"checking whether the compiler supports -fshort-wchar... " >&6; }
19360 if test ${ac_cv_cflags__fshort_wchar+y}
19362 printf %s
"(cached) " >&6
19364 ac_wine_try_cflags_saved
=$CFLAGS
19365 CFLAGS
="$CFLAGS -fshort-wchar"
19366 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19367 /* end confdefs.h. */
19368 int main(int argc, char **argv) { return 0; }
19370 if ac_fn_c_try_link
"$LINENO"
19372 ac_cv_cflags__fshort_wchar
=yes
19374 ac_cv_cflags__fshort_wchar
=no
19376 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19377 conftest
$ac_exeext conftest.
$ac_ext
19378 CFLAGS
=$ac_wine_try_cflags_saved
19380 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fshort_wchar" >&5
19381 printf "%s\n" "$ac_cv_cflags__fshort_wchar" >&6; }
19382 if test "x$ac_cv_cflags__fshort_wchar" = xyes
19384 MSVCRTFLAGS
="$MSVCRTFLAGS -fshort-wchar"
19386 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
19387 printf %s
"checking whether the compiler supports -Wno-format... " >&6; }
19388 if test ${ac_cv_cflags__Wno_format+y}
19390 printf %s
"(cached) " >&6
19392 ac_wine_try_cflags_saved
=$CFLAGS
19393 CFLAGS
="$CFLAGS -Wno-format"
19394 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19395 /* end confdefs.h. */
19396 int main(int argc, char **argv) { return 0; }
19398 if ac_fn_c_try_link
"$LINENO"
19400 ac_cv_cflags__Wno_format
=yes
19402 ac_cv_cflags__Wno_format
=no
19404 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19405 conftest
$ac_exeext conftest.
$ac_ext
19406 CFLAGS
=$ac_wine_try_cflags_saved
19408 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
19409 printf "%s\n" "$ac_cv_cflags__Wno_format" >&6; }
19410 if test "x$ac_cv_cflags__Wno_format" = xyes
19412 MSVCRTFLAGS
="$MSVCRTFLAGS -Wno-format"
19417 *i
[3456789]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
19418 printf %s
"checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
19419 if test ${ac_cv_cflags__fno_omit_frame_pointer+y}
19421 printf %s
"(cached) " >&6
19423 ac_wine_try_cflags_saved
=$CFLAGS
19424 CFLAGS
="$CFLAGS -fno-omit-frame-pointer"
19425 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19426 /* end confdefs.h. */
19427 int main(int argc, char **argv) { return 0; }
19429 if ac_fn_c_try_link
"$LINENO"
19431 ac_cv_cflags__fno_omit_frame_pointer
=yes
19433 ac_cv_cflags__fno_omit_frame_pointer
=no
19435 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19436 conftest
$ac_exeext conftest.
$ac_ext
19437 CFLAGS
=$ac_wine_try_cflags_saved
19439 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
19440 printf "%s\n" "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
19441 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes
19443 EXTRACFLAGS
="$EXTRACFLAGS -fno-omit-frame-pointer"
19447 cygwin
*|mingw32
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
19448 printf %s
"checking whether the compiler supports -Wno-format... " >&6; }
19449 if test ${ac_cv_cflags__Wno_format+y}
19451 printf %s
"(cached) " >&6
19453 ac_wine_try_cflags_saved
=$CFLAGS
19454 CFLAGS
="$CFLAGS -Wno-format"
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__Wno_format
=yes
19463 ac_cv_cflags__Wno_format
=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__Wno_format" >&5
19470 printf "%s\n" "$ac_cv_cflags__Wno_format" >&6; }
19471 if test "x$ac_cv_cflags__Wno_format" = xyes
19473 EXTRACFLAGS
="$EXTRACFLAGS -Wno-format"
19475 *) if test -z "$PE_ARCHS"
19477 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for working -mabi=ms" >&5
19478 printf %s
"checking for working -mabi=ms... " >&6; }
19479 if test ${ac_cv_mabi_ms+y}
19481 printf %s
"(cached) " >&6
19483 CFLAGS
="$CFLAGS -mabi=ms"
19484 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19485 /* end confdefs.h. */
19486 #include <stdarg.h>
19487 int a(int b, ...) { __builtin_ms_va_list list; __builtin_ms_va_start(list,b); }
19496 if ac_fn_c_try_compile
"$LINENO"
19502 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
19503 CFLAGS
=$saved_CFLAGS
19505 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mabi_ms" >&5
19506 printf "%s\n" "$ac_cv_mabi_ms" >&6; }
19507 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
19509 MSVCRTFLAGS
="$MSVCRTFLAGS -mabi=ms" ;;
19512 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wincompatible-function-pointer-types" >&5
19513 printf %s
"checking whether the compiler supports -Wincompatible-function-pointer-types... " >&6; }
19514 if test ${ac_cv_cflags__Wincompatible_function_pointer_types+y}
19516 printf %s
"(cached) " >&6
19518 ac_wine_try_cflags_saved
=$CFLAGS
19519 CFLAGS
="$CFLAGS -Wincompatible-function-pointer-types"
19520 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19521 /* end confdefs.h. */
19522 int main(int argc, char **argv) { return 0; }
19524 if ac_fn_c_try_link
"$LINENO"
19526 ac_cv_cflags__Wincompatible_function_pointer_types
=yes
19528 ac_cv_cflags__Wincompatible_function_pointer_types
=no
19530 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19531 conftest
$ac_exeext conftest.
$ac_ext
19532 CFLAGS
=$ac_wine_try_cflags_saved
19534 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wincompatible_function_pointer_types" >&5
19535 printf "%s\n" "$ac_cv_cflags__Wincompatible_function_pointer_types" >&6; }
19536 if test "x$ac_cv_cflags__Wincompatible_function_pointer_types" = xyes
19538 EXTRACFLAGS
="$EXTRACFLAGS -Wno-error=incompatible-function-pointer-types"
19542 CFLAGS
=$saved_CFLAGS
19544 if test "x$enable_werror" = "xyes"
19546 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
19547 printf %s
"checking whether the compiler supports -Werror... " >&6; }
19548 if test ${ac_cv_cflags__Werror+y}
19550 printf %s
"(cached) " >&6
19552 ac_wine_try_cflags_saved
=$CFLAGS
19553 CFLAGS
="$CFLAGS -Werror"
19554 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19555 /* end confdefs.h. */
19556 int main(int argc, char **argv) { return 0; }
19558 if ac_fn_c_try_link
"$LINENO"
19560 ac_cv_cflags__Werror
=yes
19562 ac_cv_cflags__Werror
=no
19564 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19565 conftest
$ac_exeext conftest.
$ac_ext
19566 CFLAGS
=$ac_wine_try_cflags_saved
19568 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
19569 printf "%s\n" "$ac_cv_cflags__Werror" >&6; }
19570 if test "x$ac_cv_cflags__Werror" = xyes
19572 EXTRACFLAGS
="$EXTRACFLAGS -Werror"
19575 if test "x$enable_build_id" = "xyes"
19577 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--build-id" >&5
19578 printf %s
"checking whether the compiler supports -Wl,--build-id... " >&6; }
19579 if test ${ac_cv_cflags__Wl___build_id+y}
19581 printf %s
"(cached) " >&6
19583 ac_wine_try_cflags_saved
=$CFLAGS
19584 CFLAGS
="$CFLAGS -Wl,--build-id"
19585 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19586 /* end confdefs.h. */
19587 int main(int argc, char **argv) { return 0; }
19589 if ac_fn_c_try_link
"$LINENO"
19591 ac_cv_cflags__Wl___build_id
=yes
19593 ac_cv_cflags__Wl___build_id
=no
19595 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19596 conftest
$ac_exeext conftest.
$ac_ext
19597 CFLAGS
=$ac_wine_try_cflags_saved
19599 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___build_id" >&5
19600 printf "%s\n" "$ac_cv_cflags__Wl___build_id" >&6; }
19601 if test "x$ac_cv_cflags__Wl___build_id" = xyes
19603 CFLAGS
="$CFLAGS -Wl,--build-id"
19604 LDFLAGS
="$LDFLAGS -Wl,--build-id"
19610 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
19611 printf %s
"checking for the need to disable Fortify... " >&6; }
19612 if test ${ac_cv_c_fortify_enabled+y}
19614 printf %s
"(cached) " >&6
19616 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19617 /* end confdefs.h. */
19618 #include <string.h>
19622 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
19623 #error Fortify enabled
19629 if ac_fn_c_try_compile
"$LINENO"
19631 ac_cv_c_fortify_enabled
=no
19633 ac_cv_c_fortify_enabled
=yes
19635 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
19637 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
19638 printf "%s\n" "$ac_cv_c_fortify_enabled" >&6; }
19639 if test "$ac_cv_c_fortify_enabled" = yes
19641 CFLAGS
="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
19645 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
19646 printf %s
"checking whether CFI directives are supported in assembly code... " >&6; }
19647 if test ${ac_cv_c_cfi_support+y}
19649 printf %s
"(cached) " >&6
19651 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19652 /* end confdefs.h. */
19653 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
19662 if ac_fn_c_try_compile
"$LINENO"
19664 ac_cv_c_cfi_support
="yes"
19666 ac_cv_c_cfi_support
="no"
19668 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
19670 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
19671 printf "%s\n" "$ac_cv_c_cfi_support" >&6; }
19672 if test "$ac_cv_c_cfi_support" = "yes"
19674 DLLFLAGS
="$DLLFLAGS -fasynchronous-unwind-tables"
19675 LDDLLFLAGS
="$LDDLLFLAGS -fasynchronous-unwind-tables"
19676 UNIXDLLFLAGS
="$UNIXDLLFLAGS -fasynchronous-unwind-tables"
19677 elif test $HOST_ARCH = x86_64
19679 as_fn_append wine_warnings
"|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
19686 *i
[3456789]86*|x86_64
*|
*aarch64
*|arm
*)
19687 test "$wine_binary" = wine || as_fn_append CONFIGURE_TARGETS
" loader/wine-preloader"
19688 WINELOADER_PROGRAMS
="$WINELOADER_PROGRAMS $wine_binary-preloader"
19695 ac_save_CFLAGS
="$CFLAGS"
19696 CFLAGS
="$CFLAGS $BUILTINFLAG"
19697 ac_fn_c_check_func
"$LINENO" "epoll_create" "ac_cv_func_epoll_create"
19698 if test "x$ac_cv_func_epoll_create" = xyes
19700 printf "%s\n" "#define HAVE_EPOLL_CREATE 1" >>confdefs.h
19703 ac_fn_c_check_func
"$LINENO" "fstatfs" "ac_cv_func_fstatfs"
19704 if test "x$ac_cv_func_fstatfs" = xyes
19706 printf "%s\n" "#define HAVE_FSTATFS 1" >>confdefs.h
19709 ac_fn_c_check_func
"$LINENO" "futimens" "ac_cv_func_futimens"
19710 if test "x$ac_cv_func_futimens" = xyes
19712 printf "%s\n" "#define HAVE_FUTIMENS 1" >>confdefs.h
19715 ac_fn_c_check_func
"$LINENO" "futimes" "ac_cv_func_futimes"
19716 if test "x$ac_cv_func_futimes" = xyes
19718 printf "%s\n" "#define HAVE_FUTIMES 1" >>confdefs.h
19721 ac_fn_c_check_func
"$LINENO" "futimesat" "ac_cv_func_futimesat"
19722 if test "x$ac_cv_func_futimesat" = xyes
19724 printf "%s\n" "#define HAVE_FUTIMESAT 1" >>confdefs.h
19727 ac_fn_c_check_func
"$LINENO" "getattrlist" "ac_cv_func_getattrlist"
19728 if test "x$ac_cv_func_getattrlist" = xyes
19730 printf "%s\n" "#define HAVE_GETATTRLIST 1" >>confdefs.h
19733 ac_fn_c_check_func
"$LINENO" "getauxval" "ac_cv_func_getauxval"
19734 if test "x$ac_cv_func_getauxval" = xyes
19736 printf "%s\n" "#define HAVE_GETAUXVAL 1" >>confdefs.h
19739 ac_fn_c_check_func
"$LINENO" "getifaddrs" "ac_cv_func_getifaddrs"
19740 if test "x$ac_cv_func_getifaddrs" = xyes
19742 printf "%s\n" "#define HAVE_GETIFADDRS 1" >>confdefs.h
19745 ac_fn_c_check_func
"$LINENO" "getrandom" "ac_cv_func_getrandom"
19746 if test "x$ac_cv_func_getrandom" = xyes
19748 printf "%s\n" "#define HAVE_GETRANDOM 1" >>confdefs.h
19751 ac_fn_c_check_func
"$LINENO" "kqueue" "ac_cv_func_kqueue"
19752 if test "x$ac_cv_func_kqueue" = xyes
19754 printf "%s\n" "#define HAVE_KQUEUE 1" >>confdefs.h
19757 ac_fn_c_check_func
"$LINENO" "mach_continuous_time" "ac_cv_func_mach_continuous_time"
19758 if test "x$ac_cv_func_mach_continuous_time" = xyes
19760 printf "%s\n" "#define HAVE_MACH_CONTINUOUS_TIME 1" >>confdefs.h
19763 ac_fn_c_check_func
"$LINENO" "pipe2" "ac_cv_func_pipe2"
19764 if test "x$ac_cv_func_pipe2" = xyes
19766 printf "%s\n" "#define HAVE_PIPE2 1" >>confdefs.h
19769 ac_fn_c_check_func
"$LINENO" "port_create" "ac_cv_func_port_create"
19770 if test "x$ac_cv_func_port_create" = xyes
19772 printf "%s\n" "#define HAVE_PORT_CREATE 1" >>confdefs.h
19775 ac_fn_c_check_func
"$LINENO" "posix_fadvise" "ac_cv_func_posix_fadvise"
19776 if test "x$ac_cv_func_posix_fadvise" = xyes
19778 printf "%s\n" "#define HAVE_POSIX_FADVISE 1" >>confdefs.h
19781 ac_fn_c_check_func
"$LINENO" "posix_fallocate" "ac_cv_func_posix_fallocate"
19782 if test "x$ac_cv_func_posix_fallocate" = xyes
19784 printf "%s\n" "#define HAVE_POSIX_FALLOCATE 1" >>confdefs.h
19787 ac_fn_c_check_func
"$LINENO" "prctl" "ac_cv_func_prctl"
19788 if test "x$ac_cv_func_prctl" = xyes
19790 printf "%s\n" "#define HAVE_PRCTL 1" >>confdefs.h
19793 ac_fn_c_check_func
"$LINENO" "proc_pidinfo" "ac_cv_func_proc_pidinfo"
19794 if test "x$ac_cv_func_proc_pidinfo" = xyes
19796 printf "%s\n" "#define HAVE_PROC_PIDINFO 1" >>confdefs.h
19799 ac_fn_c_check_func
"$LINENO" "sched_yield" "ac_cv_func_sched_yield"
19800 if test "x$ac_cv_func_sched_yield" = xyes
19802 printf "%s\n" "#define HAVE_SCHED_YIELD 1" >>confdefs.h
19805 ac_fn_c_check_func
"$LINENO" "setproctitle" "ac_cv_func_setproctitle"
19806 if test "x$ac_cv_func_setproctitle" = xyes
19808 printf "%s\n" "#define HAVE_SETPROCTITLE 1" >>confdefs.h
19811 ac_fn_c_check_func
"$LINENO" "setprogname" "ac_cv_func_setprogname"
19812 if test "x$ac_cv_func_setprogname" = xyes
19814 printf "%s\n" "#define HAVE_SETPROGNAME 1" >>confdefs.h
19817 ac_fn_c_check_func
"$LINENO" "sigprocmask" "ac_cv_func_sigprocmask"
19818 if test "x$ac_cv_func_sigprocmask" = xyes
19820 printf "%s\n" "#define HAVE_SIGPROCMASK 1" >>confdefs.h
19823 ac_fn_c_check_func
"$LINENO" "sysinfo" "ac_cv_func_sysinfo"
19824 if test "x$ac_cv_func_sysinfo" = xyes
19826 printf "%s\n" "#define HAVE_SYSINFO 1" >>confdefs.h
19829 ac_fn_c_check_func
"$LINENO" "tcdrain" "ac_cv_func_tcdrain"
19830 if test "x$ac_cv_func_tcdrain" = xyes
19832 printf "%s\n" "#define HAVE_TCDRAIN 1" >>confdefs.h
19835 ac_fn_c_check_func
"$LINENO" "thr_kill2" "ac_cv_func_thr_kill2"
19836 if test "x$ac_cv_func_thr_kill2" = xyes
19838 printf "%s\n" "#define HAVE_THR_KILL2 1" >>confdefs.h
19842 CFLAGS
="$ac_save_CFLAGS"
19844 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
19845 printf %s
"checking for library containing dlopen... " >&6; }
19846 if test ${ac_cv_search_dlopen+y}
19848 printf %s
"(cached) " >&6
19850 ac_func_search_save_LIBS
=$LIBS
19851 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19852 /* end confdefs.h. */
19854 /* Override any GCC internal prototype to avoid an error.
19855 Use char because int might match the return type of a GCC
19856 builtin and then its argument prototype would still apply. */
19866 for ac_lib
in '' dl
19868 if test -z "$ac_lib"; then
19869 ac_res
="none required"
19872 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
19874 if ac_fn_c_try_link
"$LINENO"
19876 ac_cv_search_dlopen
=$ac_res
19878 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19880 if test ${ac_cv_search_dlopen+y}
19885 if test ${ac_cv_search_dlopen+y}
19889 ac_cv_search_dlopen
=no
19891 rm conftest.
$ac_ext
19892 LIBS
=$ac_func_search_save_LIBS
19894 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
19895 printf "%s\n" "$ac_cv_search_dlopen" >&6; }
19896 ac_res
=$ac_cv_search_dlopen
19897 if test "$ac_res" != no
19899 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
19903 ac_wine_check_funcs_save_LIBS
="$LIBS"
19904 LIBS
="$LIBS $DL_LIBS"
19905 ac_fn_c_check_func
"$LINENO" "dlinfo" "ac_cv_func_dlinfo"
19906 if test "x$ac_cv_func_dlinfo" = xyes
19908 printf "%s\n" "#define HAVE_DLINFO 1" >>confdefs.h
19912 LIBS
="$ac_wine_check_funcs_save_LIBS"
19914 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
19915 printf %s
"checking for library containing gethostbyname... " >&6; }
19916 if test ${ac_cv_search_gethostbyname+y}
19918 printf %s
"(cached) " >&6
19920 ac_func_search_save_LIBS
=$LIBS
19921 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19922 /* end confdefs.h. */
19924 /* Override any GCC internal prototype to avoid an error.
19925 Use char because int might match the return type of a GCC
19926 builtin and then its argument prototype would still apply. */
19927 char gethostbyname ();
19931 return gethostbyname ();
19936 for ac_lib
in '' nsl
19938 if test -z "$ac_lib"; then
19939 ac_res
="none required"
19942 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
19944 if ac_fn_c_try_link
"$LINENO"
19946 ac_cv_search_gethostbyname
=$ac_res
19948 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19950 if test ${ac_cv_search_gethostbyname+y}
19955 if test ${ac_cv_search_gethostbyname+y}
19959 ac_cv_search_gethostbyname
=no
19961 rm conftest.
$ac_ext
19962 LIBS
=$ac_func_search_save_LIBS
19964 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
19965 printf "%s\n" "$ac_cv_search_gethostbyname" >&6; }
19966 ac_res
=$ac_cv_search_gethostbyname
19967 if test "$ac_res" != no
19969 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
19974 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
19975 printf %s
"checking for library containing connect... " >&6; }
19976 if test ${ac_cv_search_connect+y}
19978 printf %s
"(cached) " >&6
19980 ac_func_search_save_LIBS
=$LIBS
19981 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19982 /* end confdefs.h. */
19984 /* Override any GCC internal prototype to avoid an error.
19985 Use char because int might match the return type of a GCC
19986 builtin and then its argument prototype would still apply. */
19996 for ac_lib
in '' socket
19998 if test -z "$ac_lib"; then
19999 ac_res
="none required"
20002 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
20004 if ac_fn_c_try_link
"$LINENO"
20006 ac_cv_search_connect
=$ac_res
20008 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
20010 if test ${ac_cv_search_connect+y}
20015 if test ${ac_cv_search_connect+y}
20019 ac_cv_search_connect
=no
20021 rm conftest.
$ac_ext
20022 LIBS
=$ac_func_search_save_LIBS
20024 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
20025 printf "%s\n" "$ac_cv_search_connect" >&6; }
20026 ac_res
=$ac_cv_search_connect
20027 if test "$ac_res" != no
20029 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
20034 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
20035 printf %s
"checking for library containing inet_aton... " >&6; }
20036 if test ${ac_cv_search_inet_aton+y}
20038 printf %s
"(cached) " >&6
20040 ac_func_search_save_LIBS
=$LIBS
20041 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20042 /* end confdefs.h. */
20044 /* Override any GCC internal prototype to avoid an error.
20045 Use char because int might match the return type of a GCC
20046 builtin and then its argument prototype would still apply. */
20051 return inet_aton ();
20056 for ac_lib
in '' resolv
20058 if test -z "$ac_lib"; then
20059 ac_res
="none required"
20062 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
20064 if ac_fn_c_try_link
"$LINENO"
20066 ac_cv_search_inet_aton
=$ac_res
20068 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
20070 if test ${ac_cv_search_inet_aton+y}
20075 if test ${ac_cv_search_inet_aton+y}
20079 ac_cv_search_inet_aton
=no
20081 rm conftest.
$ac_ext
20082 LIBS
=$ac_func_search_save_LIBS
20084 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
20085 printf "%s\n" "$ac_cv_search_inet_aton" >&6; }
20086 ac_res
=$ac_cv_search_inet_aton
20087 if test "$ac_res" != no
20089 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
20094 ac_fn_c_check_func
"$LINENO" "getaddrinfo" "ac_cv_func_getaddrinfo"
20095 if test "x$ac_cv_func_getaddrinfo" = xyes
20097 printf "%s\n" "#define HAVE_GETADDRINFO 1" >>confdefs.h
20103 darwin
*|macosx
*) ;;
20104 *) ac_save_LIBS
=$LIBS
20105 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
20106 printf %s
"checking for library containing clock_gettime... " >&6; }
20107 if test ${ac_cv_search_clock_gettime+y}
20109 printf %s
"(cached) " >&6
20111 ac_func_search_save_LIBS
=$LIBS
20112 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20113 /* end confdefs.h. */
20115 /* Override any GCC internal prototype to avoid an error.
20116 Use char because int might match the return type of a GCC
20117 builtin and then its argument prototype would still apply. */
20118 char clock_gettime ();
20122 return clock_gettime ();
20127 for ac_lib
in '' rt
20129 if test -z "$ac_lib"; then
20130 ac_res
="none required"
20133 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
20135 if ac_fn_c_try_link
"$LINENO"
20137 ac_cv_search_clock_gettime
=$ac_res
20139 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
20141 if test ${ac_cv_search_clock_gettime+y}
20146 if test ${ac_cv_search_clock_gettime+y}
20150 ac_cv_search_clock_gettime
=no
20152 rm conftest.
$ac_ext
20153 LIBS
=$ac_func_search_save_LIBS
20155 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
20156 printf "%s\n" "$ac_cv_search_clock_gettime" >&6; }
20157 ac_res
=$ac_cv_search_clock_gettime
20158 if test "$ac_res" != no
20160 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
20162 printf "%s\n" "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
20164 test "$ac_res" = "none required" || RT_LIBS
="$ac_res"
20172 if test "x$with_ldap" != "xno"
20174 if ${LDAP_CFLAGS:+false} :
20176 if test ${PKG_CONFIG+y}
20178 LDAP_CFLAGS
=`$PKG_CONFIG --cflags openldap 2>/dev/null`
20182 if ${LDAP_LIBS:+false} :
20184 if test ${PKG_CONFIG+y}
20186 LDAP_LIBS
=`$PKG_CONFIG --libs openldap 2>/dev/null`
20190 LDAP_LIBS
=${LDAP_LIBS:-"-lldap -llber"}
20191 printf "%s\n" "$as_me:${as_lineno-$LINENO}: openldap cflags: $LDAP_CFLAGS" >&5
20192 printf "%s\n" "$as_me:${as_lineno-$LINENO}: openldap libs: $LDAP_LIBS" >&5
20193 ac_save_CPPFLAGS
=$CPPFLAGS
20194 CPPFLAGS
="$CPPFLAGS $LDAP_CFLAGS"
20195 ac_fn_c_check_header_compile
"$LINENO" "ldap.h" "ac_cv_header_ldap_h" "$ac_includes_default"
20196 if test "x$ac_cv_header_ldap_h" = xyes
20198 printf "%s\n" "#define HAVE_LDAP_H 1" >>confdefs.h
20201 ac_fn_c_check_header_compile
"$LINENO" "lber.h" "ac_cv_header_lber_h" "$ac_includes_default"
20202 if test "x$ac_cv_header_lber_h" = xyes
20204 printf "%s\n" "#define HAVE_LBER_H 1" >>confdefs.h
20208 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
20210 ac_fn_c_check_type
"$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
20212 if test "x$ac_cv_type_LDAPSortKey" = xyes
20214 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap" >&5
20215 printf %s
"checking for ldap_initialize in -lldap... " >&6; }
20216 if test ${ac_cv_lib_ldap_ldap_initialize+y}
20218 printf %s
"(cached) " >&6
20220 ac_check_lib_save_LIBS
=$LIBS
20221 LIBS
="-lldap $PTHREAD_LIBS $LDAP_LIBS $LIBS"
20222 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20223 /* end confdefs.h. */
20225 /* Override any GCC internal prototype to avoid an error.
20226 Use char because int might match the return type of a GCC
20227 builtin and then its argument prototype would still apply. */
20228 char ldap_initialize ();
20232 return ldap_initialize ();
20237 if ac_fn_c_try_link
"$LINENO"
20239 ac_cv_lib_ldap_ldap_initialize
=yes
20241 ac_cv_lib_ldap_ldap_initialize
=no
20243 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
20244 conftest
$ac_exeext conftest.
$ac_ext
20245 LIBS
=$ac_check_lib_save_LIBS
20247 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_ldap_initialize" >&5
20248 printf "%s\n" "$ac_cv_lib_ldap_ldap_initialize" >&6; }
20249 if test "x$ac_cv_lib_ldap_ldap_initialize" = xyes
20251 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
20252 printf %s
"checking for ber_init in -llber... " >&6; }
20253 if test ${ac_cv_lib_lber_ber_init+y}
20255 printf %s
"(cached) " >&6
20257 ac_check_lib_save_LIBS
=$LIBS
20258 LIBS
="-llber $PTHREAD_LIBS $LDAP_LIBS $LIBS"
20259 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20260 /* end confdefs.h. */
20262 /* Override any GCC internal prototype to avoid an error.
20263 Use char because int might match the return type of a GCC
20264 builtin and then its argument prototype would still apply. */
20269 return ber_init ();
20274 if ac_fn_c_try_link
"$LINENO"
20276 ac_cv_lib_lber_ber_init
=yes
20278 ac_cv_lib_lber_ber_init
=no
20280 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
20281 conftest
$ac_exeext conftest.
$ac_ext
20282 LIBS
=$ac_check_lib_save_LIBS
20284 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
20285 printf "%s\n" "$ac_cv_lib_lber_ber_init" >&6; }
20286 if test "x$ac_cv_lib_lber_ber_init" = xyes
20289 printf "%s\n" "#define HAVE_LDAP 1" >>confdefs.h
20306 CPPFLAGS
=$ac_save_CPPFLAGS
20309 if test "x$LDAP_LIBS" = "x"
20311 case "x$with_ldap" in
20312 x
) as_fn_append wine_notices
"|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
20314 *) as_fn_error $?
"libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
20315 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
20320 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
20321 printf %s
"checking for sched_setaffinity... " >&6; }
20322 if test ${wine_cv_have_sched_setaffinity+y}
20324 printf %s
"(cached) " >&6
20326 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20327 /* end confdefs.h. */
20332 sched_setaffinity(0, 0, 0);
20337 if ac_fn_c_try_link
"$LINENO"
20339 wine_cv_have_sched_setaffinity
=yes
20341 wine_cv_have_sched_setaffinity
=no
20343 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
20344 conftest
$ac_exeext conftest.
$ac_ext
20346 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
20347 printf "%s\n" "$wine_cv_have_sched_setaffinity" >&6; }
20348 if test "$wine_cv_have_sched_setaffinity" = "yes"
20351 printf "%s\n" "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
20356 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
20357 printf %s
"checking for inline... " >&6; }
20358 if test ${ac_cv_c_inline+y}
20360 printf %s
"(cached) " >&6
20363 for ac_kw
in inline __inline__ __inline
; do
20364 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20365 /* end confdefs.h. */
20366 #ifndef __cplusplus
20368 static $ac_kw foo_t static_foo (void) {return 0; }
20369 $ac_kw foo_t foo (void) {return 0; }
20373 if ac_fn_c_try_compile
"$LINENO"
20375 ac_cv_c_inline
=$ac_kw
20377 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
20378 test "$ac_cv_c_inline" != no
&& break
20382 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
20383 printf "%s\n" "$ac_cv_c_inline" >&6; }
20385 case $ac_cv_c_inline in
20388 case $ac_cv_c_inline in
20390 *) ac_val
=$ac_cv_c_inline;;
20392 cat >>confdefs.h
<<_ACEOF
20393 #ifndef __cplusplus
20394 #define inline $ac_val
20400 ac_fn_c_check_type
"$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
20401 #include <signal.h>
20403 if test "x$ac_cv_type_sigset_t" = xyes
20406 printf "%s\n" "#define HAVE_SIGSET_T 1" >>confdefs.h
20411 ac_fn_c_check_type
"$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
20413 if test "x$ac_cv_type_request_sense" = xyes
20416 printf "%s\n" "#define HAVE_REQUEST_SENSE 1" >>confdefs.h
20422 ac_fn_c_check_type
"$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
20423 #include <sys/socket.h>
20424 #ifdef HAVE_SYS_SOCKETVAR_H
20425 #include <sys/socketvar.h>
20427 #ifdef HAVE_NET_ROUTE_H
20428 #include <net/route.h>
20430 #ifdef HAVE_NETINET_IN_H
20431 #include <netinet/in.h>
20433 #ifdef HAVE_NETINET_IN_SYSTM_H
20434 #include <netinet/in_systm.h>
20436 #ifdef HAVE_NETINET_IP_H
20437 #include <netinet/ip.h>
20439 #ifdef HAVE_NETINET_IN_PCB_H
20440 #include <netinet/in_pcb.h>
20443 if test "x$ac_cv_type_struct_xinpgen" = xyes
20446 printf "%s\n" "#define HAVE_STRUCT_XINPGEN 1" >>confdefs.h
20452 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
20453 printf %s
"checking for sigaddset... " >&6; }
20454 if test ${wine_cv_have_sigaddset+y}
20456 printf %s
"(cached) " >&6
20458 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20459 /* end confdefs.h. */
20460 #include <signal.h>
20464 sigset_t set; sigaddset(&set,SIGTERM);
20469 if ac_fn_c_try_link
"$LINENO"
20471 wine_cv_have_sigaddset
=yes
20473 wine_cv_have_sigaddset
=no
20475 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
20476 conftest
$ac_exeext conftest.
$ac_ext
20478 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
20479 printf "%s\n" "$wine_cv_have_sigaddset" >&6; }
20480 if test "$wine_cv_have_sigaddset" = "yes"
20483 printf "%s\n" "#define HAVE_SIGADDSET 1" >>confdefs.h
20488 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
20489 printf %s
"checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
20490 if test ${wine_cv_linux_gethostbyname_r_6+y}
20492 printf %s
"(cached) " >&6
20494 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20495 /* end confdefs.h. */
20503 struct hostent *result;
20510 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
20511 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
20517 if ac_fn_c_try_link
"$LINENO"
20519 wine_cv_linux_gethostbyname_r_6
=yes
20521 wine_cv_linux_gethostbyname_r_6
=no
20524 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
20525 conftest
$ac_exeext conftest.
$ac_ext
20528 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
20529 printf "%s\n" "$wine_cv_linux_gethostbyname_r_6" >&6; }
20530 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
20533 printf "%s\n" "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
20537 ac_fn_c_check_member
"$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
20538 #include <sys/socket.h>
20539 #ifdef HAVE_SYS_UN_H
20540 # include <sys/un.h>
20543 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes
20546 printf "%s\n" "#define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1" >>confdefs.h
20550 ac_fn_c_check_member
"$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
20551 #include <sys/socket.h>
20552 #ifdef HAVE_SYS_UN_H
20553 # include <sys/un.h>
20556 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes
20559 printf "%s\n" "#define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1" >>confdefs.h
20565 ac_fn_c_check_member
"$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
20566 #ifdef HAVE_SCSI_SG_H
20567 #include <scsi/sg.h>
20570 if test "x$ac_cv_member_scsireq_t_cmd" = xyes
20573 printf "%s\n" "#define HAVE_SCSIREQ_T_CMD 1" >>confdefs.h
20577 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>
20578 #ifdef HAVE_SCSI_SG_H
20579 #include <scsi/sg.h>
20582 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes
20585 printf "%s\n" "#define HAVE_SG_IO_HDR_T_INTERFACE_ID 1" >>confdefs.h
20591 ac_fn_c_check_member
"$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
20593 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes
20596 printf "%s\n" "#define HAVE_SIGINFO_T_SI_FD 1" >>confdefs.h
20602 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
20603 #ifdef HAVE_SYS_MTIO_H
20604 #include <sys/mtio.h>
20607 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes
20610 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_BLKSIZ 1" >>confdefs.h
20614 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
20615 #ifdef HAVE_SYS_MTIO_H
20616 #include <sys/mtio.h>
20619 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes
20622 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_GSTAT 1" >>confdefs.h
20626 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
20627 #ifdef HAVE_SYS_MTIO_H
20628 #include <sys/mtio.h>
20631 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes
20634 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_BLKNO 1" >>confdefs.h
20640 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
20641 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes
20644 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_MTIM 1" >>confdefs.h
20648 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
20649 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes
20652 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_MTIMESPEC 1" >>confdefs.h
20656 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
20657 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes
20660 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_CTIM 1" >>confdefs.h
20664 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
20665 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes
20668 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_CTIMESPEC 1" >>confdefs.h
20672 ac_fn_c_check_member
"$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
20673 if test "x$ac_cv_member_struct_stat_st_atim" = xyes
20676 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_ATIM 1" >>confdefs.h
20680 ac_fn_c_check_member
"$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
20681 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes
20684 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_ATIMESPEC 1" >>confdefs.h
20688 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
20689 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes
20692 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIME 1" >>confdefs.h
20696 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
20697 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes
20700 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIM 1" >>confdefs.h
20704 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
20705 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes
20708 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1" >>confdefs.h
20712 ac_fn_c_check_member
"$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
20713 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes
20716 printf "%s\n" "#define HAVE_STRUCT_STAT___ST_BIRTHTIME 1" >>confdefs.h
20720 ac_fn_c_check_member
"$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
20721 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes
20724 printf "%s\n" "#define HAVE_STRUCT_STAT___ST_BIRTHTIM 1" >>confdefs.h
20730 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>
20731 #ifdef HAVE_NETINET_IN_H
20732 #include <netinet/in.h>
20735 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes
20738 printf "%s\n" "#define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1" >>confdefs.h
20744 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
20745 #include <resolv.h>
20748 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes
20751 printf "%s\n" "#define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1" >>confdefs.h
20757 ac_fn_c_check_member
"$LINENO" "struct in6_pktinfo" "ipi6_addr" "ac_cv_member_struct_in6_pktinfo_ipi6_addr" "#ifdef HAVE_NETINET_IN_H
20758 #include <netinet/in.h>
20761 if test "x$ac_cv_member_struct_in6_pktinfo_ipi6_addr" = xyes
20764 printf "%s\n" "#define HAVE_STRUCT_IN6_PKTINFO_IPI6_ADDR 1" >>confdefs.h
20770 ac_fn_c_check_member
"$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#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_IP_VAR_H
20778 #include <netinet/ip_var.h>
20781 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes
20784 printf "%s\n" "#define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1" >>confdefs.h
20790 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
20791 #include <netinet/ip_var.h>
20794 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes
20797 printf "%s\n" "#define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1" >>confdefs.h
20803 ac_fn_c_check_member
"$LINENO" "struct ip6stat" "ip6s_total" "ac_cv_member_struct_ip6stat_ip6s_total" "#include <sys/types.h>
20804 #ifdef HAVE_SYS_SOCKETVAR_H
20805 #include <sys/socketvar.h>
20807 #ifdef HAVE_NETINET_IN_H
20808 #include <netinet/in.h>
20810 #ifdef HAVE_NETINET6_IP6_VAR_H
20811 #include <netinet6/ip6_var.h>
20814 if test "x$ac_cv_member_struct_ip6stat_ip6s_total" = xyes
20817 printf "%s\n" "#define HAVE_STRUCT_IP6STAT_IP6S_TOTAL 1" >>confdefs.h
20823 ac_fn_c_check_member
"$LINENO" "struct icmpstat" "icps_error" "ac_cv_member_struct_icmpstat_icps_error" "#include <sys/types.h>
20824 #ifdef HAVE_SYS_SOCKETVAR_H
20825 #include <sys/socketvar.h>
20827 #ifdef HAVE_NETINET_IN_H
20828 #include <netinet/in.h>
20830 #ifdef HAVE_NETINET_IP_H
20831 #include <netinet/ip.h>
20833 #ifdef HAVE_NETINET_IP_ICMP_H
20834 #include <netinet/ip_icmp.h>
20836 #ifdef HAVE_NETINET_ICMP_VAR_H
20837 #include <netinet/icmp_var.h>
20840 if test "x$ac_cv_member_struct_icmpstat_icps_error" = xyes
20843 printf "%s\n" "#define HAVE_STRUCT_ICMPSTAT_ICPS_ERROR 1" >>confdefs.h
20849 ac_fn_c_check_member
"$LINENO" "struct icmp6stat" "icp6s_error" "ac_cv_member_struct_icmp6stat_icp6s_error" "#include <sys/types.h>
20850 #ifdef HAVE_SYS_SOCKETVAR_H
20851 #include <sys/socketvar.h>
20853 #ifdef HAVE_NETINET_IN_H
20854 #include <netinet/in.h>
20856 #ifdef HAVE_NETINET_ICMP6_H
20857 #include <netinet/icmp6.h>
20860 if test "x$ac_cv_member_struct_icmp6stat_icp6s_error" = xyes
20863 printf "%s\n" "#define HAVE_STRUCT_ICMP6STAT_ICP6S_ERROR 1" >>confdefs.h
20869 ac_fn_c_check_member
"$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#include <sys/types.h>
20870 #ifdef HAVE_SYS_SOCKETVAR_H
20871 #include <sys/socketvar.h>
20873 #ifdef HAVE_NETINET_IN_H
20874 #include <netinet/in.h>
20876 #ifdef HAVE_NETINET_TCP_H
20877 #include <netinet/tcp.h>
20879 #ifdef HAVE_NETINET_TCP_VAR_H
20880 #include <netinet/tcp_var.h>
20883 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes
20886 printf "%s\n" "#define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1" >>confdefs.h
20892 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
20893 #include <netinet/tcp_var.h>
20896 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes
20899 printf "%s\n" "#define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1" >>confdefs.h
20905 ac_fn_c_check_member
"$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#include <sys/types.h>
20906 #ifdef HAVE_NETINET_IN_H
20907 #include <netinet/in.h>
20909 #ifdef HAVE_NETINET_IP_VAR_H
20910 #include <netinet/ip_var.h>
20912 #ifdef HAVE_NETINET_UDP_H
20913 #include <netinet/udp.h>
20915 #ifdef HAVE_NETINET_UDP_VAR_H
20916 #include <netinet/udp_var.h>
20919 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes
20922 printf "%s\n" "#define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1" >>confdefs.h
20928 ac_fn_c_check_member
"$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#include <sys/types.h>
20929 #ifdef HAVE_NET_IF_H
20930 # include <net/if.h>
20933 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes
20936 printf "%s\n" "#define HAVE_STRUCT_IFREQ_IFR_HWADDR 1" >>confdefs.h
20942 ac_fn_c_check_member
"$LINENO" "struct sysinfo" "totalram" "ac_cv_member_struct_sysinfo_totalram" "#ifdef HAVE_SYS_SYSINFO_H
20943 # include <sys/sysinfo.h>
20946 if test "x$ac_cv_member_struct_sysinfo_totalram" = xyes
20949 printf "%s\n" "#define HAVE_STRUCT_SYSINFO_TOTALRAM 1" >>confdefs.h
20953 ac_fn_c_check_member
"$LINENO" "struct sysinfo" "mem_unit" "ac_cv_member_struct_sysinfo_mem_unit" "#ifdef HAVE_SYS_SYSINFO_H
20954 # include <sys/sysinfo.h>
20957 if test "x$ac_cv_member_struct_sysinfo_mem_unit" = xyes
20960 printf "%s\n" "#define HAVE_STRUCT_SYSINFO_MEM_UNIT 1" >>confdefs.h
20966 LIBS
="$ac_save_LIBS"
20968 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
20969 printf %s
"checking for __builtin_popcount... " >&6; }
20970 if test ${ac_cv_have___builtin_popcount+y}
20972 printf %s
"(cached) " >&6
20974 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20975 /* end confdefs.h. */
20980 return __builtin_popcount(1)
20985 if ac_fn_c_try_link
"$LINENO"
20987 ac_cv_have___builtin_popcount
="yes"
20989 ac_cv_have___builtin_popcount
="no"
20991 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
20992 conftest
$ac_exeext conftest.
$ac_ext
20994 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
20995 printf "%s\n" "$ac_cv_have___builtin_popcount" >&6; }
20996 if test "$ac_cv_have___builtin_popcount" = "yes"
20999 printf "%s\n" "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
21003 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __clear_cache" >&5
21004 printf %s
"checking for __clear_cache... " >&6; }
21005 if test ${ac_cv_have___clear_cache+y}
21007 printf %s
"(cached) " >&6
21009 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21010 /* end confdefs.h. */
21015 __clear_cache((void*)0, (void*)0); return 0;
21020 if ac_fn_c_try_link
"$LINENO"
21022 ac_cv_have___clear_cache
="yes"
21024 ac_cv_have___clear_cache
="no"
21026 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
21027 conftest
$ac_exeext conftest.
$ac_ext
21029 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___clear_cache" >&5
21030 printf "%s\n" "$ac_cv_have___clear_cache" >&6; }
21031 if test "$ac_cv_have___clear_cache" = "yes"
21034 printf "%s\n" "#define HAVE___CLEAR_CACHE 1" >>confdefs.h
21040 *i
[3456789]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
21041 printf %s
"checking whether we need to define __i386__... " >&6; }
21042 if test ${ac_cv_cpp_def___i386__+y}
21044 printf %s
"(cached) " >&6
21046 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21047 /* end confdefs.h. */
21052 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21053 $EGREP "yes" >/dev
/null
2>&1
21055 ac_cv_cpp_def___i386__
=yes
21057 ac_cv_cpp_def___i386__
=no
21062 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
21063 printf "%s\n" "$ac_cv_cpp_def___i386__" >&6; }
21064 if test "x$ac_cv_cpp_def___i386__" = xyes
21066 CFLAGS
="$CFLAGS -D__i386__"
21067 LINTFLAGS
="$LINTFLAGS -D__i386__"
21069 *x86_64
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
21070 printf %s
"checking whether we need to define __x86_64__... " >&6; }
21071 if test ${ac_cv_cpp_def___x86_64__+y}
21073 printf %s
"(cached) " >&6
21075 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21076 /* end confdefs.h. */
21081 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21082 $EGREP "yes" >/dev
/null
2>&1
21084 ac_cv_cpp_def___x86_64__
=yes
21086 ac_cv_cpp_def___x86_64__
=no
21091 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
21092 printf "%s\n" "$ac_cv_cpp_def___x86_64__" >&6; }
21093 if test "x$ac_cv_cpp_def___x86_64__" = xyes
21095 CFLAGS
="$CFLAGS -D__x86_64__"
21096 LINTFLAGS
="$LINTFLAGS -D__x86_64__"
21098 *sparc64
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
21099 printf %s
"checking whether we need to define __sparc64__... " >&6; }
21100 if test ${ac_cv_cpp_def___sparc64__+y}
21102 printf %s
"(cached) " >&6
21104 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21105 /* end confdefs.h. */
21106 #ifndef __sparc64__
21110 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21111 $EGREP "yes" >/dev
/null
2>&1
21113 ac_cv_cpp_def___sparc64__
=yes
21115 ac_cv_cpp_def___sparc64__
=no
21120 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
21121 printf "%s\n" "$ac_cv_cpp_def___sparc64__" >&6; }
21122 if test "x$ac_cv_cpp_def___sparc64__" = xyes
21124 CFLAGS
="$CFLAGS -D__sparc64__"
21125 LINTFLAGS
="$LINTFLAGS -D__sparc64__"
21127 *sparc
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
21128 printf %s
"checking whether we need to define __sparc__... " >&6; }
21129 if test ${ac_cv_cpp_def___sparc__+y}
21131 printf %s
"(cached) " >&6
21133 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21134 /* end confdefs.h. */
21139 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21140 $EGREP "yes" >/dev
/null
2>&1
21142 ac_cv_cpp_def___sparc__
=yes
21144 ac_cv_cpp_def___sparc__
=no
21149 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
21150 printf "%s\n" "$ac_cv_cpp_def___sparc__" >&6; }
21151 if test "x$ac_cv_cpp_def___sparc__" = xyes
21153 CFLAGS
="$CFLAGS -D__sparc__"
21154 LINTFLAGS
="$LINTFLAGS -D__sparc__"
21156 *powerpc64
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
21157 printf %s
"checking whether we need to define __powerpc64__... " >&6; }
21158 if test ${ac_cv_cpp_def___powerpc64__+y}
21160 printf %s
"(cached) " >&6
21162 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21163 /* end confdefs.h. */
21164 #ifndef __powerpc64__
21168 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21169 $EGREP "yes" >/dev
/null
2>&1
21171 ac_cv_cpp_def___powerpc64__
=yes
21173 ac_cv_cpp_def___powerpc64__
=no
21178 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
21179 printf "%s\n" "$ac_cv_cpp_def___powerpc64__" >&6; }
21180 if test "x$ac_cv_cpp_def___powerpc64__" = xyes
21182 CFLAGS
="$CFLAGS -D__powerpc64__"
21183 LINTFLAGS
="$LINTFLAGS -D__powerpc64__"
21185 *powerpc
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
21186 printf %s
"checking whether we need to define __powerpc__... " >&6; }
21187 if test ${ac_cv_cpp_def___powerpc__+y}
21189 printf %s
"(cached) " >&6
21191 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21192 /* end confdefs.h. */
21193 #ifndef __powerpc__
21197 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21198 $EGREP "yes" >/dev
/null
2>&1
21200 ac_cv_cpp_def___powerpc__
=yes
21202 ac_cv_cpp_def___powerpc__
=no
21207 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
21208 printf "%s\n" "$ac_cv_cpp_def___powerpc__" >&6; }
21209 if test "x$ac_cv_cpp_def___powerpc__" = xyes
21211 CFLAGS
="$CFLAGS -D__powerpc__"
21212 LINTFLAGS
="$LINTFLAGS -D__powerpc__"
21214 *aarch64
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
21215 printf %s
"checking whether we need to define __aarch64__... " >&6; }
21216 if test ${ac_cv_cpp_def___aarch64__+y}
21218 printf %s
"(cached) " >&6
21220 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21221 /* end confdefs.h. */
21222 #ifndef __aarch64__
21226 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21227 $EGREP "yes" >/dev
/null
2>&1
21229 ac_cv_cpp_def___aarch64__
=yes
21231 ac_cv_cpp_def___aarch64__
=no
21236 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
21237 printf "%s\n" "$ac_cv_cpp_def___aarch64__" >&6; }
21238 if test "x$ac_cv_cpp_def___aarch64__" = xyes
21240 CFLAGS
="$CFLAGS -D__aarch64__"
21241 LINTFLAGS
="$LINTFLAGS -D__aarch64__"
21243 *arm
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
21244 printf %s
"checking whether we need to define __arm__... " >&6; }
21245 if test ${ac_cv_cpp_def___arm__+y}
21247 printf %s
"(cached) " >&6
21249 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21250 /* end confdefs.h. */
21255 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21256 $EGREP "yes" >/dev
/null
2>&1
21258 ac_cv_cpp_def___arm__
=yes
21260 ac_cv_cpp_def___arm__
=no
21265 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
21266 printf "%s\n" "$ac_cv_cpp_def___arm__" >&6; }
21267 if test "x$ac_cv_cpp_def___arm__" = xyes
21269 CFLAGS
="$CFLAGS -D__arm__"
21270 LINTFLAGS
="$LINTFLAGS -D__arm__"
21274 case $host_vendor in
21275 *sun
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
21276 printf %s
"checking whether we need to define __sun__... " >&6; }
21277 if test ${ac_cv_cpp_def___sun__+y}
21279 printf %s
"(cached) " >&6
21281 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21282 /* end confdefs.h. */
21287 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21288 $EGREP "yes" >/dev
/null
2>&1
21290 ac_cv_cpp_def___sun__
=yes
21292 ac_cv_cpp_def___sun__
=no
21297 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
21298 printf "%s\n" "$ac_cv_cpp_def___sun__" >&6; }
21299 if test "x$ac_cv_cpp_def___sun__" = xyes
21301 CFLAGS
="$CFLAGS -D__sun__"
21302 LINTFLAGS
="$LINTFLAGS -D__sun__"
21310 ac_config_commands
="$ac_config_commands include/stamp-h"
21312 printf %s
"creating Makefile rules..." >&6
21315 test "x$enable_silent_rules" = xyes
&& makedep_flags
="$makedep_flags -S"
21318 test "$srcdir" = . || wine_srcdir
="$srcdir/"
21320 ac_config_links
="$ac_config_links wine:tools/winewrapper"
21321 wine_fn_config_symlink wine
21322 if test "$HOST_ARCH" = x86_64
-o -n "$with_wine64"; then
21323 ac_config_links
="$ac_config_links wine64:tools/winewrapper"
21324 wine_fn_config_symlink wine64
21327 wine_fn_config_makefile dlls
/acledit enable_acledit
21328 wine_fn_config_makefile dlls
/aclui enable_aclui
21329 wine_fn_config_makefile dlls
/activeds.tlb enable_activeds_tlb
21330 wine_fn_config_makefile dlls
/activeds enable_activeds
21331 wine_fn_config_makefile dlls
/activeds
/tests enable_tests
21332 wine_fn_config_makefile dlls
/actxprxy enable_actxprxy
21333 wine_fn_config_makefile dlls
/adsldp enable_adsldp
21334 wine_fn_config_makefile dlls
/adsldp
/tests enable_tests
21335 wine_fn_config_makefile dlls
/adsldpc enable_adsldpc
21336 wine_fn_config_makefile dlls
/advapi32 enable_advapi32
21337 wine_fn_config_makefile dlls
/advapi32
/tests enable_tests
21338 wine_fn_config_makefile dlls
/advpack enable_advpack
21339 wine_fn_config_makefile dlls
/advpack
/tests enable_tests
21340 wine_fn_config_makefile dlls
/amsi enable_amsi
21341 wine_fn_config_makefile dlls
/amstream enable_amstream
21342 wine_fn_config_makefile dlls
/amstream
/tests enable_tests
21343 wine_fn_config_makefile dlls
/apisetschema enable_apisetschema
21344 wine_fn_config_makefile dlls
/apphelp enable_apphelp
21345 wine_fn_config_makefile dlls
/apphelp
/tests enable_tests
21346 wine_fn_config_makefile dlls
/appwiz.cpl enable_appwiz_cpl
21347 wine_fn_config_makefile dlls
/atl enable_atl
21348 wine_fn_config_makefile dlls
/atl
/tests enable_tests
21349 wine_fn_config_makefile dlls
/atl100 enable_atl100
21350 wine_fn_config_makefile dlls
/atl100
/tests enable_tests
21351 wine_fn_config_makefile dlls
/atl110 enable_atl110
21352 wine_fn_config_makefile dlls
/atl110
/tests enable_tests
21353 wine_fn_config_makefile dlls
/atl80 enable_atl80
21354 wine_fn_config_makefile dlls
/atl80
/tests enable_tests
21355 wine_fn_config_makefile dlls
/atl90 enable_atl90
21356 wine_fn_config_makefile dlls
/atlthunk enable_atlthunk
21357 wine_fn_config_makefile dlls
/atlthunk
/tests enable_tests
21358 wine_fn_config_makefile dlls
/atmlib enable_atmlib
21359 wine_fn_config_makefile dlls
/authz enable_authz
21360 wine_fn_config_makefile dlls
/avicap32 enable_avicap32
21361 wine_fn_config_makefile dlls
/avifil32 enable_avifil32
21362 wine_fn_config_makefile dlls
/avifil32
/tests enable_tests
21363 wine_fn_config_makefile dlls
/avifile.dll16 enable_win16
21364 wine_fn_config_makefile dlls
/avrt enable_avrt
21365 wine_fn_config_makefile dlls
/bcrypt enable_bcrypt
21366 wine_fn_config_makefile dlls
/bcrypt
/tests enable_tests
21367 wine_fn_config_makefile dlls
/bluetoothapis enable_bluetoothapis
21368 wine_fn_config_makefile dlls
/browseui enable_browseui
21369 wine_fn_config_makefile dlls
/browseui
/tests enable_tests
21370 wine_fn_config_makefile dlls
/bthprops.cpl enable_bthprops_cpl
21371 wine_fn_config_makefile dlls
/cabinet enable_cabinet
21372 wine_fn_config_makefile dlls
/cabinet
/tests enable_tests
21373 wine_fn_config_makefile dlls
/capi2032 enable_capi2032
21374 wine_fn_config_makefile dlls
/cards enable_cards
21375 wine_fn_config_makefile dlls
/cdosys enable_cdosys
21376 wine_fn_config_makefile dlls
/cfgmgr32 enable_cfgmgr32
21377 wine_fn_config_makefile dlls
/clusapi enable_clusapi
21378 wine_fn_config_makefile dlls
/cng.sys enable_cng_sys
21379 wine_fn_config_makefile dlls
/combase enable_combase
21380 wine_fn_config_makefile dlls
/combase
/tests enable_tests
21381 wine_fn_config_makefile dlls
/comcat enable_comcat
21382 wine_fn_config_makefile dlls
/comcat
/tests enable_tests
21383 wine_fn_config_makefile dlls
/comctl32 enable_comctl32
21384 wine_fn_config_makefile dlls
/comctl32
/tests enable_tests
21385 wine_fn_config_makefile dlls
/comdlg32 enable_comdlg32
21386 wine_fn_config_makefile dlls
/comdlg32
/tests enable_tests
21387 wine_fn_config_makefile dlls
/comm.drv16 enable_win16
21388 wine_fn_config_makefile dlls
/commdlg.dll16 enable_win16
21389 wine_fn_config_makefile dlls
/compobj.dll16 enable_win16
21390 wine_fn_config_makefile dlls
/compstui enable_compstui
21391 wine_fn_config_makefile dlls
/compstui
/tests enable_tests
21392 wine_fn_config_makefile dlls
/comsvcs enable_comsvcs
21393 wine_fn_config_makefile dlls
/comsvcs
/tests enable_tests
21394 wine_fn_config_makefile dlls
/concrt140 enable_concrt140
21395 wine_fn_config_makefile dlls
/concrt140
/tests enable_tests
21396 wine_fn_config_makefile dlls
/connect enable_connect
21397 wine_fn_config_makefile dlls
/credui enable_credui
21398 wine_fn_config_makefile dlls
/credui
/tests enable_tests
21399 wine_fn_config_makefile dlls
/crtdll enable_crtdll
21400 wine_fn_config_makefile dlls
/crypt32 enable_crypt32
21401 wine_fn_config_makefile dlls
/crypt32
/tests enable_tests
21402 wine_fn_config_makefile dlls
/cryptdlg enable_cryptdlg
21403 wine_fn_config_makefile dlls
/cryptdll enable_cryptdll
21404 wine_fn_config_makefile dlls
/cryptext enable_cryptext
21405 wine_fn_config_makefile dlls
/cryptnet enable_cryptnet
21406 wine_fn_config_makefile dlls
/cryptnet
/tests enable_tests
21407 wine_fn_config_makefile dlls
/cryptowinrt enable_cryptowinrt
21408 wine_fn_config_makefile dlls
/cryptsp enable_cryptsp
21409 wine_fn_config_makefile dlls
/cryptui enable_cryptui
21410 wine_fn_config_makefile dlls
/cryptui
/tests enable_tests
21411 wine_fn_config_makefile dlls
/ctapi32 enable_ctapi32
21412 wine_fn_config_makefile dlls
/ctl3d.dll16 enable_win16
21413 wine_fn_config_makefile dlls
/ctl3d32 enable_ctl3d32
21414 wine_fn_config_makefile dlls
/ctl3dv2.dll16 enable_win16
21415 wine_fn_config_makefile dlls
/d2d1 enable_d2d1
21416 wine_fn_config_makefile dlls
/d2d
1/tests enable_tests
21417 wine_fn_config_makefile dlls
/d3d10 enable_d3d10
21418 wine_fn_config_makefile dlls
/d3d10
/tests enable_tests
21419 wine_fn_config_makefile dlls
/d3d10_1 enable_d3d10_1
21420 wine_fn_config_makefile dlls
/d3d10_
1/tests enable_tests
21421 wine_fn_config_makefile dlls
/d3d10core enable_d3d10core
21422 wine_fn_config_makefile dlls
/d3d10core
/tests enable_tests
21423 wine_fn_config_makefile dlls
/d3d11 enable_d3d11
21424 wine_fn_config_makefile dlls
/d3d11
/tests enable_tests
21425 wine_fn_config_makefile dlls
/d3d12 enable_d3d12
21426 wine_fn_config_makefile dlls
/d3d12
/tests enable_tests
21427 wine_fn_config_makefile dlls
/d3d8 enable_d3d8
21428 wine_fn_config_makefile dlls
/d3d
8/tests enable_tests
21429 wine_fn_config_makefile dlls
/d3d8thk enable_d3d8thk
21430 wine_fn_config_makefile dlls
/d3d9 enable_d3d9
21431 wine_fn_config_makefile dlls
/d3d
9/tests enable_tests
21432 wine_fn_config_makefile dlls
/d3dcompiler_33 enable_d3dcompiler_33
21433 wine_fn_config_makefile dlls
/d3dcompiler_34 enable_d3dcompiler_34
21434 wine_fn_config_makefile dlls
/d3dcompiler_35 enable_d3dcompiler_35
21435 wine_fn_config_makefile dlls
/d3dcompiler_36 enable_d3dcompiler_36
21436 wine_fn_config_makefile dlls
/d3dcompiler_37 enable_d3dcompiler_37
21437 wine_fn_config_makefile dlls
/d3dcompiler_38 enable_d3dcompiler_38
21438 wine_fn_config_makefile dlls
/d3dcompiler_39 enable_d3dcompiler_39
21439 wine_fn_config_makefile dlls
/d3dcompiler_40 enable_d3dcompiler_40
21440 wine_fn_config_makefile dlls
/d3dcompiler_41 enable_d3dcompiler_41
21441 wine_fn_config_makefile dlls
/d3dcompiler_42 enable_d3dcompiler_42
21442 wine_fn_config_makefile dlls
/d3dcompiler_43 enable_d3dcompiler_43
21443 wine_fn_config_makefile dlls
/d3dcompiler_43
/tests enable_tests
21444 wine_fn_config_makefile dlls
/d3dcompiler_46 enable_d3dcompiler_46
21445 wine_fn_config_makefile dlls
/d3dcompiler_46
/tests enable_tests
21446 wine_fn_config_makefile dlls
/d3dcompiler_47 enable_d3dcompiler_47
21447 wine_fn_config_makefile dlls
/d3dcompiler_47
/tests enable_tests
21448 wine_fn_config_makefile dlls
/d3dim enable_d3dim
21449 wine_fn_config_makefile dlls
/d3dim700 enable_d3dim700
21450 wine_fn_config_makefile dlls
/d3drm enable_d3drm
21451 wine_fn_config_makefile dlls
/d3drm
/tests enable_tests
21452 wine_fn_config_makefile dlls
/d3dx10_33 enable_d3dx10_33
21453 wine_fn_config_makefile dlls
/d3dx10_34 enable_d3dx10_34
21454 wine_fn_config_makefile dlls
/d3dx10_34
/tests enable_tests
21455 wine_fn_config_makefile dlls
/d3dx10_35 enable_d3dx10_35
21456 wine_fn_config_makefile dlls
/d3dx10_35
/tests enable_tests
21457 wine_fn_config_makefile dlls
/d3dx10_36 enable_d3dx10_36
21458 wine_fn_config_makefile dlls
/d3dx10_36
/tests enable_tests
21459 wine_fn_config_makefile dlls
/d3dx10_37 enable_d3dx10_37
21460 wine_fn_config_makefile dlls
/d3dx10_37
/tests enable_tests
21461 wine_fn_config_makefile dlls
/d3dx10_38 enable_d3dx10_38
21462 wine_fn_config_makefile dlls
/d3dx10_38
/tests enable_tests
21463 wine_fn_config_makefile dlls
/d3dx10_39 enable_d3dx10_39
21464 wine_fn_config_makefile dlls
/d3dx10_39
/tests enable_tests
21465 wine_fn_config_makefile dlls
/d3dx10_40 enable_d3dx10_40
21466 wine_fn_config_makefile dlls
/d3dx10_40
/tests enable_tests
21467 wine_fn_config_makefile dlls
/d3dx10_41 enable_d3dx10_41
21468 wine_fn_config_makefile dlls
/d3dx10_41
/tests enable_tests
21469 wine_fn_config_makefile dlls
/d3dx10_42 enable_d3dx10_42
21470 wine_fn_config_makefile dlls
/d3dx10_42
/tests enable_tests
21471 wine_fn_config_makefile dlls
/d3dx10_43 enable_d3dx10_43
21472 wine_fn_config_makefile dlls
/d3dx10_43
/tests enable_tests
21473 wine_fn_config_makefile dlls
/d3dx11_42 enable_d3dx11_42
21474 wine_fn_config_makefile dlls
/d3dx11_42
/tests enable_tests
21475 wine_fn_config_makefile dlls
/d3dx11_43 enable_d3dx11_43
21476 wine_fn_config_makefile dlls
/d3dx11_43
/tests enable_tests
21477 wine_fn_config_makefile dlls
/d3dx9_24 enable_d3dx9_24
21478 wine_fn_config_makefile dlls
/d3dx9_25 enable_d3dx9_25
21479 wine_fn_config_makefile dlls
/d3dx9_26 enable_d3dx9_26
21480 wine_fn_config_makefile dlls
/d3dx9_27 enable_d3dx9_27
21481 wine_fn_config_makefile dlls
/d3dx9_28 enable_d3dx9_28
21482 wine_fn_config_makefile dlls
/d3dx9_29 enable_d3dx9_29
21483 wine_fn_config_makefile dlls
/d3dx9_30 enable_d3dx9_30
21484 wine_fn_config_makefile dlls
/d3dx9_31 enable_d3dx9_31
21485 wine_fn_config_makefile dlls
/d3dx9_32 enable_d3dx9_32
21486 wine_fn_config_makefile dlls
/d3dx9_33 enable_d3dx9_33
21487 wine_fn_config_makefile dlls
/d3dx9_34 enable_d3dx9_34
21488 wine_fn_config_makefile dlls
/d3dx9_35 enable_d3dx9_35
21489 wine_fn_config_makefile dlls
/d3dx9_36 enable_d3dx9_36
21490 wine_fn_config_makefile dlls
/d3dx9_36
/tests enable_tests
21491 wine_fn_config_makefile dlls
/d3dx9_37 enable_d3dx9_37
21492 wine_fn_config_makefile dlls
/d3dx9_38 enable_d3dx9_38
21493 wine_fn_config_makefile dlls
/d3dx9_39 enable_d3dx9_39
21494 wine_fn_config_makefile dlls
/d3dx9_40 enable_d3dx9_40
21495 wine_fn_config_makefile dlls
/d3dx9_41 enable_d3dx9_41
21496 wine_fn_config_makefile dlls
/d3dx9_42 enable_d3dx9_42
21497 wine_fn_config_makefile dlls
/d3dx9_43 enable_d3dx9_43
21498 wine_fn_config_makefile dlls
/d3dxof enable_d3dxof
21499 wine_fn_config_makefile dlls
/d3dxof
/tests enable_tests
21500 wine_fn_config_makefile dlls
/davclnt enable_davclnt
21501 wine_fn_config_makefile dlls
/dbgeng enable_dbgeng
21502 wine_fn_config_makefile dlls
/dbgeng
/tests enable_tests
21503 wine_fn_config_makefile dlls
/dbghelp enable_dbghelp
21504 wine_fn_config_makefile dlls
/dbghelp
/tests enable_tests
21505 wine_fn_config_makefile dlls
/dciman32 enable_dciman32
21506 wine_fn_config_makefile dlls
/dcomp enable_dcomp
21507 wine_fn_config_makefile dlls
/ddeml.dll16 enable_win16
21508 wine_fn_config_makefile dlls
/ddraw enable_ddraw
21509 wine_fn_config_makefile dlls
/ddraw
/tests enable_tests
21510 wine_fn_config_makefile dlls
/ddrawex enable_ddrawex
21511 wine_fn_config_makefile dlls
/ddrawex
/tests enable_tests
21512 wine_fn_config_makefile dlls
/devenum enable_devenum
21513 wine_fn_config_makefile dlls
/devenum
/tests enable_tests
21514 wine_fn_config_makefile dlls
/dhcpcsvc enable_dhcpcsvc
21515 wine_fn_config_makefile dlls
/dhcpcsvc
/tests enable_tests
21516 wine_fn_config_makefile dlls
/dhcpcsvc6 enable_dhcpcsvc6
21517 wine_fn_config_makefile dlls
/dhtmled.ocx enable_dhtmled_ocx
21518 wine_fn_config_makefile dlls
/diasymreader enable_diasymreader
21519 wine_fn_config_makefile dlls
/difxapi enable_difxapi
21520 wine_fn_config_makefile dlls
/dinput enable_dinput
21521 wine_fn_config_makefile dlls
/dinput
/tests enable_tests
21522 wine_fn_config_makefile dlls
/dinput8 enable_dinput8
21523 wine_fn_config_makefile dlls
/directmanipulation enable_directmanipulation
21524 wine_fn_config_makefile dlls
/directmanipulation
/tests enable_tests
21525 wine_fn_config_makefile dlls
/dispdib.dll16 enable_win16
21526 wine_fn_config_makefile dlls
/dispex enable_dispex
21527 wine_fn_config_makefile dlls
/dispex
/tests enable_tests
21528 wine_fn_config_makefile dlls
/display.drv16 enable_win16
21529 wine_fn_config_makefile dlls
/dmband enable_dmband
21530 wine_fn_config_makefile dlls
/dmband
/tests enable_tests
21531 wine_fn_config_makefile dlls
/dmcompos enable_dmcompos
21532 wine_fn_config_makefile dlls
/dmcompos
/tests enable_tests
21533 wine_fn_config_makefile dlls
/dmime enable_dmime
21534 wine_fn_config_makefile dlls
/dmime
/tests enable_tests
21535 wine_fn_config_makefile dlls
/dmloader enable_dmloader
21536 wine_fn_config_makefile dlls
/dmloader
/tests enable_tests
21537 wine_fn_config_makefile dlls
/dmscript enable_dmscript
21538 wine_fn_config_makefile dlls
/dmscript
/tests enable_tests
21539 wine_fn_config_makefile dlls
/dmstyle enable_dmstyle
21540 wine_fn_config_makefile dlls
/dmstyle
/tests enable_tests
21541 wine_fn_config_makefile dlls
/dmsynth enable_dmsynth
21542 wine_fn_config_makefile dlls
/dmsynth
/tests enable_tests
21543 wine_fn_config_makefile dlls
/dmusic enable_dmusic
21544 wine_fn_config_makefile dlls
/dmusic
/tests enable_tests
21545 wine_fn_config_makefile dlls
/dmusic32 enable_dmusic32
21546 wine_fn_config_makefile dlls
/dnsapi enable_dnsapi
21547 wine_fn_config_makefile dlls
/dnsapi
/tests enable_tests
21548 wine_fn_config_makefile dlls
/dplay enable_dplay
21549 wine_fn_config_makefile dlls
/dplayx enable_dplayx
21550 wine_fn_config_makefile dlls
/dplayx
/tests enable_tests
21551 wine_fn_config_makefile dlls
/dpnaddr enable_dpnaddr
21552 wine_fn_config_makefile dlls
/dpnet enable_dpnet
21553 wine_fn_config_makefile dlls
/dpnet
/tests enable_tests
21554 wine_fn_config_makefile dlls
/dpnhpast enable_dpnhpast
21555 wine_fn_config_makefile dlls
/dpnhupnp enable_dpnhupnp
21556 wine_fn_config_makefile dlls
/dpnlobby enable_dpnlobby
21557 wine_fn_config_makefile dlls
/dpvoice enable_dpvoice
21558 wine_fn_config_makefile dlls
/dpvoice
/tests enable_tests
21559 wine_fn_config_makefile dlls
/dpwsockx enable_dpwsockx
21560 wine_fn_config_makefile dlls
/drmclien enable_drmclien
21561 wine_fn_config_makefile dlls
/dsdmo enable_dsdmo
21562 wine_fn_config_makefile dlls
/dsdmo
/tests enable_tests
21563 wine_fn_config_makefile dlls
/dsound enable_dsound
21564 wine_fn_config_makefile dlls
/dsound
/tests enable_tests
21565 wine_fn_config_makefile dlls
/dsquery enable_dsquery
21566 wine_fn_config_makefile dlls
/dssenh enable_dssenh
21567 wine_fn_config_makefile dlls
/dssenh
/tests enable_tests
21568 wine_fn_config_makefile dlls
/dsuiext enable_dsuiext
21569 wine_fn_config_makefile dlls
/dswave enable_dswave
21570 wine_fn_config_makefile dlls
/dswave
/tests enable_tests
21571 wine_fn_config_makefile dlls
/dwmapi enable_dwmapi
21572 wine_fn_config_makefile dlls
/dwmapi
/tests enable_tests
21573 wine_fn_config_makefile dlls
/dwrite enable_dwrite
21574 wine_fn_config_makefile dlls
/dwrite
/tests enable_tests
21575 wine_fn_config_makefile dlls
/dx8vb enable_dx8vb
21576 wine_fn_config_makefile dlls
/dxdiagn enable_dxdiagn
21577 wine_fn_config_makefile dlls
/dxdiagn
/tests enable_tests
21578 wine_fn_config_makefile dlls
/dxgi enable_dxgi
21579 wine_fn_config_makefile dlls
/dxgi
/tests enable_tests
21580 wine_fn_config_makefile dlls
/dxtrans enable_dxtrans
21581 wine_fn_config_makefile dlls
/dxva2 enable_dxva2
21582 wine_fn_config_makefile dlls
/dxva
2/tests enable_tests
21583 wine_fn_config_makefile dlls
/esent enable_esent
21584 wine_fn_config_makefile dlls
/evr enable_evr
21585 wine_fn_config_makefile dlls
/evr
/tests enable_tests
21586 wine_fn_config_makefile dlls
/explorerframe enable_explorerframe
21587 wine_fn_config_makefile dlls
/explorerframe
/tests enable_tests
21588 wine_fn_config_makefile dlls
/faultrep enable_faultrep
21589 wine_fn_config_makefile dlls
/faultrep
/tests enable_tests
21590 wine_fn_config_makefile dlls
/feclient enable_feclient
21591 wine_fn_config_makefile dlls
/fltlib enable_fltlib
21592 wine_fn_config_makefile dlls
/fltmgr.sys enable_fltmgr_sys
21593 wine_fn_config_makefile dlls
/fntcache enable_fntcache
21594 wine_fn_config_makefile dlls
/fontsub enable_fontsub
21595 wine_fn_config_makefile dlls
/fusion enable_fusion
21596 wine_fn_config_makefile dlls
/fusion
/tests enable_tests
21597 wine_fn_config_makefile dlls
/fwpuclnt enable_fwpuclnt
21598 wine_fn_config_makefile dlls
/gameux enable_gameux
21599 wine_fn_config_makefile dlls
/gameux
/tests enable_tests
21600 wine_fn_config_makefile dlls
/gamingtcui enable_gamingtcui
21601 wine_fn_config_makefile dlls
/gdi.exe16 enable_win16
21602 wine_fn_config_makefile dlls
/gdi32 enable_gdi32
21603 wine_fn_config_makefile dlls
/gdi32
/tests enable_tests
21604 wine_fn_config_makefile dlls
/gdiplus enable_gdiplus
21605 wine_fn_config_makefile dlls
/gdiplus
/tests enable_tests
21606 wine_fn_config_makefile dlls
/glu32 enable_glu32
21607 wine_fn_config_makefile dlls
/gphoto2.ds enable_gphoto2_ds
21608 wine_fn_config_makefile dlls
/gpkcsp enable_gpkcsp
21609 wine_fn_config_makefile dlls
/hal enable_hal
21610 wine_fn_config_makefile dlls
/hhctrl.ocx enable_hhctrl_ocx
21611 wine_fn_config_makefile dlls
/hid enable_hid
21612 wine_fn_config_makefile dlls
/hid
/tests enable_tests
21613 wine_fn_config_makefile dlls
/hidclass.sys enable_hidclass_sys
21614 wine_fn_config_makefile dlls
/hidparse.sys enable_hidparse_sys
21615 wine_fn_config_makefile dlls
/hlink enable_hlink
21616 wine_fn_config_makefile dlls
/hlink
/tests enable_tests
21617 wine_fn_config_makefile dlls
/hnetcfg enable_hnetcfg
21618 wine_fn_config_makefile dlls
/hnetcfg
/tests enable_tests
21619 wine_fn_config_makefile dlls
/http.sys enable_http_sys
21620 wine_fn_config_makefile dlls
/httpapi enable_httpapi
21621 wine_fn_config_makefile dlls
/httpapi
/tests enable_tests
21622 wine_fn_config_makefile dlls
/ia2comproxy enable_ia2comproxy
21623 wine_fn_config_makefile dlls
/iccvid enable_iccvid
21624 wine_fn_config_makefile dlls
/icmp enable_icmp
21625 wine_fn_config_makefile dlls
/ieframe enable_ieframe
21626 wine_fn_config_makefile dlls
/ieframe
/tests enable_tests
21627 wine_fn_config_makefile dlls
/ieproxy enable_ieproxy
21628 wine_fn_config_makefile dlls
/ifsmgr.vxd enable_win16
21629 wine_fn_config_makefile dlls
/imaadp32.acm enable_imaadp32_acm
21630 wine_fn_config_makefile dlls
/imagehlp enable_imagehlp
21631 wine_fn_config_makefile dlls
/imagehlp
/tests enable_tests
21632 wine_fn_config_makefile dlls
/imm.dll16 enable_win16
21633 wine_fn_config_makefile dlls
/imm32 enable_imm32
21634 wine_fn_config_makefile dlls
/imm32
/tests enable_tests
21635 wine_fn_config_makefile dlls
/inetcomm enable_inetcomm
21636 wine_fn_config_makefile dlls
/inetcomm
/tests enable_tests
21637 wine_fn_config_makefile dlls
/inetcpl.cpl enable_inetcpl_cpl
21638 wine_fn_config_makefile dlls
/inetmib1 enable_inetmib1
21639 wine_fn_config_makefile dlls
/inetmib
1/tests enable_tests
21640 wine_fn_config_makefile dlls
/infosoft enable_infosoft
21641 wine_fn_config_makefile dlls
/infosoft
/tests enable_tests
21642 wine_fn_config_makefile dlls
/initpki enable_initpki
21643 wine_fn_config_makefile dlls
/inkobj enable_inkobj
21644 wine_fn_config_makefile dlls
/inseng enable_inseng
21645 wine_fn_config_makefile dlls
/iphlpapi enable_iphlpapi
21646 wine_fn_config_makefile dlls
/iphlpapi
/tests enable_tests
21647 wine_fn_config_makefile dlls
/iprop enable_iprop
21648 wine_fn_config_makefile dlls
/irprops.cpl enable_irprops_cpl
21649 wine_fn_config_makefile dlls
/itircl enable_itircl
21650 wine_fn_config_makefile dlls
/itss enable_itss
21651 wine_fn_config_makefile dlls
/itss
/tests enable_tests
21652 wine_fn_config_makefile dlls
/joy.cpl enable_joy_cpl
21653 wine_fn_config_makefile dlls
/jscript enable_jscript
21654 wine_fn_config_makefile dlls
/jscript
/tests enable_tests
21655 wine_fn_config_makefile dlls
/jsproxy enable_jsproxy
21656 wine_fn_config_makefile dlls
/jsproxy
/tests enable_tests
21657 wine_fn_config_makefile dlls
/kerberos enable_kerberos
21658 wine_fn_config_makefile dlls
/kernel32 enable_kernel32
21659 wine_fn_config_makefile dlls
/kernel32
/tests enable_tests
21660 wine_fn_config_makefile dlls
/kernelbase enable_kernelbase
21661 wine_fn_config_makefile dlls
/kernelbase
/tests enable_tests
21662 wine_fn_config_makefile dlls
/keyboard.drv16 enable_win16
21663 wine_fn_config_makefile dlls
/krnl386.exe16 enable_win16
21664 wine_fn_config_makefile dlls
/ksecdd.sys enable_ksecdd_sys
21665 wine_fn_config_makefile dlls
/ksproxy.ax enable_ksproxy_ax
21666 wine_fn_config_makefile dlls
/ksuser enable_ksuser
21667 wine_fn_config_makefile dlls
/ktmw32 enable_ktmw32
21668 wine_fn_config_makefile dlls
/l3codeca.acm enable_l3codeca_acm
21669 wine_fn_config_makefile dlls
/light.msstyles enable_light_msstyles
21670 wine_fn_config_makefile dlls
/loadperf enable_loadperf
21671 wine_fn_config_makefile dlls
/localspl enable_localspl
21672 wine_fn_config_makefile dlls
/localspl
/tests enable_tests
21673 wine_fn_config_makefile dlls
/localui enable_localui
21674 wine_fn_config_makefile dlls
/localui
/tests enable_tests
21675 wine_fn_config_makefile dlls
/lz32 enable_lz32
21676 wine_fn_config_makefile dlls
/lz32
/tests enable_tests
21677 wine_fn_config_makefile dlls
/lzexpand.dll16 enable_win16
21678 wine_fn_config_makefile dlls
/mapi32 enable_mapi32
21679 wine_fn_config_makefile dlls
/mapi32
/tests enable_tests
21680 wine_fn_config_makefile dlls
/mapistub enable_mapistub
21681 wine_fn_config_makefile dlls
/mciavi32 enable_mciavi32
21682 wine_fn_config_makefile dlls
/mcicda enable_mcicda
21683 wine_fn_config_makefile dlls
/mciqtz32 enable_mciqtz32
21684 wine_fn_config_makefile dlls
/mciseq enable_mciseq
21685 wine_fn_config_makefile dlls
/mciwave enable_mciwave
21686 wine_fn_config_makefile dlls
/mf enable_mf
21687 wine_fn_config_makefile dlls
/mf
/tests enable_tests
21688 wine_fn_config_makefile dlls
/mf3216 enable_mf3216
21689 wine_fn_config_makefile dlls
/mferror enable_mferror
21690 wine_fn_config_makefile dlls
/mfmediaengine enable_mfmediaengine
21691 wine_fn_config_makefile dlls
/mfmediaengine
/tests enable_tests
21692 wine_fn_config_makefile dlls
/mfplat enable_mfplat
21693 wine_fn_config_makefile dlls
/mfplat
/tests enable_tests
21694 wine_fn_config_makefile dlls
/mfplay enable_mfplay
21695 wine_fn_config_makefile dlls
/mfplay
/tests enable_tests
21696 wine_fn_config_makefile dlls
/mfreadwrite enable_mfreadwrite
21697 wine_fn_config_makefile dlls
/mfreadwrite
/tests enable_tests
21698 wine_fn_config_makefile dlls
/mfsrcsnk enable_mfsrcsnk
21699 wine_fn_config_makefile dlls
/mfsrcsnk
/tests enable_tests
21700 wine_fn_config_makefile dlls
/mgmtapi enable_mgmtapi
21701 wine_fn_config_makefile dlls
/midimap enable_midimap
21702 wine_fn_config_makefile dlls
/mlang enable_mlang
21703 wine_fn_config_makefile dlls
/mlang
/tests enable_tests
21704 wine_fn_config_makefile dlls
/mmcndmgr enable_mmcndmgr
21705 wine_fn_config_makefile dlls
/mmcndmgr
/tests enable_tests
21706 wine_fn_config_makefile dlls
/mmdevapi enable_mmdevapi
21707 wine_fn_config_makefile dlls
/mmdevapi
/tests enable_tests
21708 wine_fn_config_makefile dlls
/mmdevldr.vxd enable_win16
21709 wine_fn_config_makefile dlls
/mmsystem.dll16 enable_win16
21710 wine_fn_config_makefile dlls
/monodebg.vxd enable_win16
21711 wine_fn_config_makefile dlls
/mountmgr.sys enable_mountmgr_sys
21712 wine_fn_config_makefile dlls
/mouse.drv16 enable_win16
21713 wine_fn_config_makefile dlls
/mp3dmod enable_mp3dmod
21714 wine_fn_config_makefile dlls
/mp3dmod
/tests enable_tests
21715 wine_fn_config_makefile dlls
/mpr enable_mpr
21716 wine_fn_config_makefile dlls
/mpr
/tests enable_tests
21717 wine_fn_config_makefile dlls
/mprapi enable_mprapi
21718 wine_fn_config_makefile dlls
/msacm.dll16 enable_win16
21719 wine_fn_config_makefile dlls
/msacm32.drv enable_msacm32_drv
21720 wine_fn_config_makefile dlls
/msacm32 enable_msacm32
21721 wine_fn_config_makefile dlls
/msacm32
/tests enable_tests
21722 wine_fn_config_makefile dlls
/msado15 enable_msado15
21723 wine_fn_config_makefile dlls
/msado15
/tests enable_tests
21724 wine_fn_config_makefile dlls
/msadp32.acm enable_msadp32_acm
21725 wine_fn_config_makefile dlls
/msasn1 enable_msasn1
21726 wine_fn_config_makefile dlls
/msasn
1/tests enable_tests
21727 wine_fn_config_makefile dlls
/mscat32 enable_mscat32
21728 wine_fn_config_makefile dlls
/mscms enable_mscms
21729 wine_fn_config_makefile dlls
/mscms
/tests enable_tests
21730 wine_fn_config_makefile dlls
/mscoree enable_mscoree
21731 wine_fn_config_makefile dlls
/mscoree
/tests enable_tests
21732 wine_fn_config_makefile dlls
/mscorwks enable_mscorwks
21733 wine_fn_config_makefile dlls
/msctf enable_msctf
21734 wine_fn_config_makefile dlls
/msctf
/tests enable_tests
21735 wine_fn_config_makefile dlls
/msctfmonitor enable_msctfmonitor
21736 wine_fn_config_makefile dlls
/msctfp enable_msctfp
21737 wine_fn_config_makefile dlls
/msdaps enable_msdaps
21738 wine_fn_config_makefile dlls
/msdasql enable_msdasql
21739 wine_fn_config_makefile dlls
/msdasql
/tests enable_tests
21740 wine_fn_config_makefile dlls
/msdelta enable_msdelta
21741 wine_fn_config_makefile dlls
/msdmo enable_msdmo
21742 wine_fn_config_makefile dlls
/msdmo
/tests enable_tests
21743 wine_fn_config_makefile dlls
/msdrm enable_msdrm
21744 wine_fn_config_makefile dlls
/msftedit enable_msftedit
21745 wine_fn_config_makefile dlls
/msftedit
/tests enable_tests
21746 wine_fn_config_makefile dlls
/msg711.acm enable_msg711_acm
21747 wine_fn_config_makefile dlls
/msgsm32.acm enable_msgsm32_acm
21748 wine_fn_config_makefile dlls
/mshtml.tlb enable_mshtml_tlb
21749 wine_fn_config_makefile dlls
/mshtml enable_mshtml
21750 wine_fn_config_makefile dlls
/mshtml
/tests enable_tests
21751 wine_fn_config_makefile dlls
/msi enable_msi
21752 wine_fn_config_makefile dlls
/msi
/tests enable_tests
21753 wine_fn_config_makefile dlls
/msident enable_msident
21754 wine_fn_config_makefile dlls
/msimg32 enable_msimg32
21755 wine_fn_config_makefile dlls
/msimsg enable_msimsg
21756 wine_fn_config_makefile dlls
/msimtf enable_msimtf
21757 wine_fn_config_makefile dlls
/msisip enable_msisip
21758 wine_fn_config_makefile dlls
/msisys.ocx enable_msisys_ocx
21759 wine_fn_config_makefile dlls
/msls31 enable_msls31
21760 wine_fn_config_makefile dlls
/msnet32 enable_msnet32
21761 wine_fn_config_makefile dlls
/mspatcha enable_mspatcha
21762 wine_fn_config_makefile dlls
/mspatcha
/tests enable_tests
21763 wine_fn_config_makefile dlls
/msports enable_msports
21764 wine_fn_config_makefile dlls
/msrle32 enable_msrle32
21765 wine_fn_config_makefile dlls
/msrle32
/tests enable_tests
21766 wine_fn_config_makefile dlls
/msscript.ocx enable_msscript_ocx
21767 wine_fn_config_makefile dlls
/msscript.ocx
/tests enable_tests
21768 wine_fn_config_makefile dlls
/mssign32 enable_mssign32
21769 wine_fn_config_makefile dlls
/mssip32 enable_mssip32
21770 wine_fn_config_makefile dlls
/mstask enable_mstask
21771 wine_fn_config_makefile dlls
/mstask
/tests enable_tests
21772 wine_fn_config_makefile dlls
/msv1_0 enable_msv1_0
21773 wine_fn_config_makefile dlls
/msvcirt enable_msvcirt
21774 wine_fn_config_makefile dlls
/msvcirt
/tests enable_tests
21775 wine_fn_config_makefile dlls
/msvcm80 enable_msvcm80
21776 wine_fn_config_makefile dlls
/msvcm90 enable_msvcm90
21777 wine_fn_config_makefile dlls
/msvcp100 enable_msvcp100
21778 wine_fn_config_makefile dlls
/msvcp100
/tests enable_tests
21779 wine_fn_config_makefile dlls
/msvcp110 enable_msvcp110
21780 wine_fn_config_makefile dlls
/msvcp110
/tests enable_tests
21781 wine_fn_config_makefile dlls
/msvcp120 enable_msvcp120
21782 wine_fn_config_makefile dlls
/msvcp120
/tests enable_tests
21783 wine_fn_config_makefile dlls
/msvcp120_app enable_msvcp120_app
21784 wine_fn_config_makefile dlls
/msvcp140 enable_msvcp140
21785 wine_fn_config_makefile dlls
/msvcp140
/tests enable_tests
21786 wine_fn_config_makefile dlls
/msvcp140_1 enable_msvcp140_1
21787 wine_fn_config_makefile dlls
/msvcp140_
1/tests enable_tests
21788 wine_fn_config_makefile dlls
/msvcp140_2 enable_msvcp140_2
21789 wine_fn_config_makefile dlls
/msvcp140_atomic_wait enable_msvcp140_atomic_wait
21790 wine_fn_config_makefile dlls
/msvcp140_atomic_wait
/tests enable_tests
21791 wine_fn_config_makefile dlls
/msvcp60 enable_msvcp60
21792 wine_fn_config_makefile dlls
/msvcp60
/tests enable_tests
21793 wine_fn_config_makefile dlls
/msvcp70 enable_msvcp70
21794 wine_fn_config_makefile dlls
/msvcp71 enable_msvcp71
21795 wine_fn_config_makefile dlls
/msvcp80 enable_msvcp80
21796 wine_fn_config_makefile dlls
/msvcp90 enable_msvcp90
21797 wine_fn_config_makefile dlls
/msvcp90
/tests enable_tests
21798 wine_fn_config_makefile dlls
/msvcp_win enable_msvcp_win
21799 wine_fn_config_makefile dlls
/msvcr100 enable_msvcr100
21800 wine_fn_config_makefile dlls
/msvcr100
/tests enable_tests
21801 wine_fn_config_makefile dlls
/msvcr110 enable_msvcr110
21802 wine_fn_config_makefile dlls
/msvcr110
/tests enable_tests
21803 wine_fn_config_makefile dlls
/msvcr120 enable_msvcr120
21804 wine_fn_config_makefile dlls
/msvcr120
/tests enable_tests
21805 wine_fn_config_makefile dlls
/msvcr120_app enable_msvcr120_app
21806 wine_fn_config_makefile dlls
/msvcr70 enable_msvcr70
21807 wine_fn_config_makefile dlls
/msvcr70
/tests enable_tests
21808 wine_fn_config_makefile dlls
/msvcr71 enable_msvcr71
21809 wine_fn_config_makefile dlls
/msvcr71
/tests enable_tests
21810 wine_fn_config_makefile dlls
/msvcr80 enable_msvcr80
21811 wine_fn_config_makefile dlls
/msvcr80
/tests enable_tests
21812 wine_fn_config_makefile dlls
/msvcr90 enable_msvcr90
21813 wine_fn_config_makefile dlls
/msvcr90
/tests enable_tests
21814 wine_fn_config_makefile dlls
/msvcrt enable_msvcrt
21815 wine_fn_config_makefile dlls
/msvcrt
/tests enable_tests
21816 wine_fn_config_makefile dlls
/msvcrt20 enable_msvcrt20
21817 wine_fn_config_makefile dlls
/msvcrt40 enable_msvcrt40
21818 wine_fn_config_makefile dlls
/msvcrtd enable_msvcrtd
21819 wine_fn_config_makefile dlls
/msvcrtd
/tests enable_tests
21820 wine_fn_config_makefile dlls
/msvfw32 enable_msvfw32
21821 wine_fn_config_makefile dlls
/msvfw32
/tests enable_tests
21822 wine_fn_config_makefile dlls
/msvidc32 enable_msvidc32
21823 wine_fn_config_makefile dlls
/msvideo.dll16 enable_win16
21824 wine_fn_config_makefile dlls
/mswsock enable_mswsock
21825 wine_fn_config_makefile dlls
/msxml enable_msxml
21826 wine_fn_config_makefile dlls
/msxml2 enable_msxml2
21827 wine_fn_config_makefile dlls
/msxml3 enable_msxml3
21828 wine_fn_config_makefile dlls
/msxml
3/tests enable_tests
21829 wine_fn_config_makefile dlls
/msxml4 enable_msxml4
21830 wine_fn_config_makefile dlls
/msxml6 enable_msxml6
21831 wine_fn_config_makefile dlls
/mtxdm enable_mtxdm
21832 wine_fn_config_makefile dlls
/ncrypt enable_ncrypt
21833 wine_fn_config_makefile dlls
/ncrypt
/tests enable_tests
21834 wine_fn_config_makefile dlls
/nddeapi enable_nddeapi
21835 wine_fn_config_makefile dlls
/ndis.sys enable_ndis_sys
21836 wine_fn_config_makefile dlls
/ndis.sys
/tests enable_tests
21837 wine_fn_config_makefile dlls
/netapi32 enable_netapi32
21838 wine_fn_config_makefile dlls
/netapi32
/tests enable_tests
21839 wine_fn_config_makefile dlls
/netcfgx enable_netcfgx
21840 wine_fn_config_makefile dlls
/netcfgx
/tests enable_tests
21841 wine_fn_config_makefile dlls
/netio.sys enable_netio_sys
21842 wine_fn_config_makefile dlls
/netprofm enable_netprofm
21843 wine_fn_config_makefile dlls
/netprofm
/tests enable_tests
21844 wine_fn_config_makefile dlls
/netutils enable_netutils
21845 wine_fn_config_makefile dlls
/newdev enable_newdev
21846 wine_fn_config_makefile dlls
/ninput enable_ninput
21847 wine_fn_config_makefile dlls
/ninput
/tests enable_tests
21848 wine_fn_config_makefile dlls
/normaliz enable_normaliz
21849 wine_fn_config_makefile dlls
/npmshtml enable_npmshtml
21850 wine_fn_config_makefile dlls
/npptools enable_npptools
21851 wine_fn_config_makefile dlls
/nsi enable_nsi
21852 wine_fn_config_makefile dlls
/nsi
/tests enable_tests
21853 wine_fn_config_makefile dlls
/nsiproxy.sys enable_nsiproxy_sys
21854 wine_fn_config_makefile dlls
/ntdll enable_ntdll
21855 wine_fn_config_makefile dlls
/ntdll
/tests enable_tests
21856 wine_fn_config_makefile dlls
/ntdsapi enable_ntdsapi
21857 wine_fn_config_makefile dlls
/ntdsapi
/tests enable_tests
21858 wine_fn_config_makefile dlls
/ntoskrnl.exe enable_ntoskrnl_exe
21859 wine_fn_config_makefile dlls
/ntoskrnl.exe
/tests enable_tests
21860 wine_fn_config_makefile dlls
/ntprint enable_ntprint
21861 wine_fn_config_makefile dlls
/ntprint
/tests enable_tests
21862 wine_fn_config_makefile dlls
/objsel enable_objsel
21863 wine_fn_config_makefile dlls
/odbc32 enable_odbc32
21864 wine_fn_config_makefile dlls
/odbcbcp enable_odbcbcp
21865 wine_fn_config_makefile dlls
/odbccp32 enable_odbccp32
21866 wine_fn_config_makefile dlls
/odbccp32
/tests enable_tests
21867 wine_fn_config_makefile dlls
/odbccu32 enable_odbccu32
21868 wine_fn_config_makefile dlls
/ole2.dll16 enable_win16
21869 wine_fn_config_makefile dlls
/ole2conv.dll16 enable_win16
21870 wine_fn_config_makefile dlls
/ole2disp.dll16 enable_win16
21871 wine_fn_config_makefile dlls
/ole2nls.dll16 enable_win16
21872 wine_fn_config_makefile dlls
/ole2prox.dll16 enable_win16
21873 wine_fn_config_makefile dlls
/ole2thk.dll16 enable_win16
21874 wine_fn_config_makefile dlls
/ole32 enable_ole32
21875 wine_fn_config_makefile dlls
/ole32
/tests enable_tests
21876 wine_fn_config_makefile dlls
/oleacc enable_oleacc
21877 wine_fn_config_makefile dlls
/oleacc
/tests enable_tests
21878 wine_fn_config_makefile dlls
/oleaut32 enable_oleaut32
21879 wine_fn_config_makefile dlls
/oleaut32
/tests enable_tests
21880 wine_fn_config_makefile dlls
/olecli.dll16 enable_win16
21881 wine_fn_config_makefile dlls
/olecli32 enable_olecli32
21882 wine_fn_config_makefile dlls
/oledb32 enable_oledb32
21883 wine_fn_config_makefile dlls
/oledb32
/tests enable_tests
21884 wine_fn_config_makefile dlls
/oledlg enable_oledlg
21885 wine_fn_config_makefile dlls
/oledlg
/tests enable_tests
21886 wine_fn_config_makefile dlls
/olepro32 enable_olepro32
21887 wine_fn_config_makefile dlls
/olesvr.dll16 enable_win16
21888 wine_fn_config_makefile dlls
/olesvr32 enable_olesvr32
21889 wine_fn_config_makefile dlls
/olethk32 enable_olethk32
21890 wine_fn_config_makefile dlls
/opcservices enable_opcservices
21891 wine_fn_config_makefile dlls
/opcservices
/tests enable_tests
21892 wine_fn_config_makefile dlls
/openal32 enable_openal32
21893 wine_fn_config_makefile dlls
/opencl enable_opencl
21894 wine_fn_config_makefile dlls
/opengl32 enable_opengl32
21895 wine_fn_config_makefile dlls
/opengl32
/tests enable_tests
21896 wine_fn_config_makefile dlls
/packager enable_packager
21897 wine_fn_config_makefile dlls
/packager
/tests enable_tests
21898 wine_fn_config_makefile dlls
/pdh enable_pdh
21899 wine_fn_config_makefile dlls
/pdh
/tests enable_tests
21900 wine_fn_config_makefile dlls
/photometadatahandler enable_photometadatahandler
21901 wine_fn_config_makefile dlls
/pidgen enable_pidgen
21902 wine_fn_config_makefile dlls
/powrprof enable_powrprof
21903 wine_fn_config_makefile dlls
/printui enable_printui
21904 wine_fn_config_makefile dlls
/prntvpt enable_prntvpt
21905 wine_fn_config_makefile dlls
/prntvpt
/tests enable_tests
21906 wine_fn_config_makefile dlls
/propsys enable_propsys
21907 wine_fn_config_makefile dlls
/propsys
/tests enable_tests
21908 wine_fn_config_makefile dlls
/psapi enable_psapi
21909 wine_fn_config_makefile dlls
/psapi
/tests enable_tests
21910 wine_fn_config_makefile dlls
/pstorec enable_pstorec
21911 wine_fn_config_makefile dlls
/pstorec
/tests enable_tests
21912 wine_fn_config_makefile dlls
/pwrshplugin enable_pwrshplugin
21913 wine_fn_config_makefile dlls
/qasf enable_qasf
21914 wine_fn_config_makefile dlls
/qasf
/tests enable_tests
21915 wine_fn_config_makefile dlls
/qcap enable_qcap
21916 wine_fn_config_makefile dlls
/qcap
/tests enable_tests
21917 wine_fn_config_makefile dlls
/qdvd enable_qdvd
21918 wine_fn_config_makefile dlls
/qdvd
/tests enable_tests
21919 wine_fn_config_makefile dlls
/qedit enable_qedit
21920 wine_fn_config_makefile dlls
/qedit
/tests enable_tests
21921 wine_fn_config_makefile dlls
/qmgr enable_qmgr
21922 wine_fn_config_makefile dlls
/qmgr
/tests enable_tests
21923 wine_fn_config_makefile dlls
/qmgrprxy enable_qmgrprxy
21924 wine_fn_config_makefile dlls
/quartz enable_quartz
21925 wine_fn_config_makefile dlls
/quartz
/tests enable_tests
21926 wine_fn_config_makefile dlls
/query enable_query
21927 wine_fn_config_makefile dlls
/qwave enable_qwave
21928 wine_fn_config_makefile dlls
/qwave
/tests enable_tests
21929 wine_fn_config_makefile dlls
/rasapi16.dll16 enable_win16
21930 wine_fn_config_makefile dlls
/rasapi32 enable_rasapi32
21931 wine_fn_config_makefile dlls
/rasapi32
/tests enable_tests
21932 wine_fn_config_makefile dlls
/rasdlg enable_rasdlg
21933 wine_fn_config_makefile dlls
/regapi enable_regapi
21934 wine_fn_config_makefile dlls
/resutils enable_resutils
21935 wine_fn_config_makefile dlls
/riched20 enable_riched20
21936 wine_fn_config_makefile dlls
/riched20
/tests enable_tests
21937 wine_fn_config_makefile dlls
/riched32 enable_riched32
21938 wine_fn_config_makefile dlls
/riched32
/tests enable_tests
21939 wine_fn_config_makefile dlls
/rpcrt4 enable_rpcrt4
21940 wine_fn_config_makefile dlls
/rpcrt
4/tests enable_tests
21941 wine_fn_config_makefile dlls
/rsabase enable_rsabase
21942 wine_fn_config_makefile dlls
/rsaenh enable_rsaenh
21943 wine_fn_config_makefile dlls
/rsaenh
/tests enable_tests
21944 wine_fn_config_makefile dlls
/rstrtmgr enable_rstrtmgr
21945 wine_fn_config_makefile dlls
/rtutils enable_rtutils
21946 wine_fn_config_makefile dlls
/rtworkq enable_rtworkq
21947 wine_fn_config_makefile dlls
/rtworkq
/tests enable_tests
21948 wine_fn_config_makefile dlls
/samlib enable_samlib
21949 wine_fn_config_makefile dlls
/sane.ds enable_sane_ds
21950 wine_fn_config_makefile dlls
/sapi enable_sapi
21951 wine_fn_config_makefile dlls
/sapi
/tests enable_tests
21952 wine_fn_config_makefile dlls
/sas enable_sas
21953 wine_fn_config_makefile dlls
/scarddlg enable_scarddlg
21954 wine_fn_config_makefile dlls
/sccbase enable_sccbase
21955 wine_fn_config_makefile dlls
/schannel enable_schannel
21956 wine_fn_config_makefile dlls
/schannel
/tests enable_tests
21957 wine_fn_config_makefile dlls
/schedsvc enable_schedsvc
21958 wine_fn_config_makefile dlls
/schedsvc
/tests enable_tests
21959 wine_fn_config_makefile dlls
/scrobj enable_scrobj
21960 wine_fn_config_makefile dlls
/scrobj
/tests enable_tests
21961 wine_fn_config_makefile dlls
/scrrun enable_scrrun
21962 wine_fn_config_makefile dlls
/scrrun
/tests enable_tests
21963 wine_fn_config_makefile dlls
/scsiport.sys enable_scsiport_sys
21964 wine_fn_config_makefile dlls
/sechost enable_sechost
21965 wine_fn_config_makefile dlls
/secur32 enable_secur32
21966 wine_fn_config_makefile dlls
/secur32
/tests enable_tests
21967 wine_fn_config_makefile dlls
/security enable_security
21968 wine_fn_config_makefile dlls
/sensapi enable_sensapi
21969 wine_fn_config_makefile dlls
/serialui enable_serialui
21970 wine_fn_config_makefile dlls
/serialui
/tests enable_tests
21971 wine_fn_config_makefile dlls
/setupapi enable_setupapi
21972 wine_fn_config_makefile dlls
/setupapi
/tests enable_tests
21973 wine_fn_config_makefile dlls
/setupx.dll16 enable_win16
21974 wine_fn_config_makefile dlls
/sfc enable_sfc
21975 wine_fn_config_makefile dlls
/sfc_os enable_sfc_os
21976 wine_fn_config_makefile dlls
/shcore enable_shcore
21977 wine_fn_config_makefile dlls
/shcore
/tests enable_tests
21978 wine_fn_config_makefile dlls
/shdoclc enable_shdoclc
21979 wine_fn_config_makefile dlls
/shdocvw enable_shdocvw
21980 wine_fn_config_makefile dlls
/shdocvw
/tests enable_tests
21981 wine_fn_config_makefile dlls
/shell.dll16 enable_win16
21982 wine_fn_config_makefile dlls
/shell32 enable_shell32
21983 wine_fn_config_makefile dlls
/shell32
/tests enable_tests
21984 wine_fn_config_makefile dlls
/shfolder enable_shfolder
21985 wine_fn_config_makefile dlls
/shlwapi enable_shlwapi
21986 wine_fn_config_makefile dlls
/shlwapi
/tests enable_tests
21987 wine_fn_config_makefile dlls
/slbcsp enable_slbcsp
21988 wine_fn_config_makefile dlls
/slc enable_slc
21989 wine_fn_config_makefile dlls
/slc
/tests enable_tests
21990 wine_fn_config_makefile dlls
/snmpapi enable_snmpapi
21991 wine_fn_config_makefile dlls
/snmpapi
/tests enable_tests
21992 wine_fn_config_makefile dlls
/softpub enable_softpub
21993 wine_fn_config_makefile dlls
/sound.drv16 enable_win16
21994 wine_fn_config_makefile dlls
/spoolss enable_spoolss
21995 wine_fn_config_makefile dlls
/spoolss
/tests enable_tests
21996 wine_fn_config_makefile dlls
/sppc enable_sppc
21997 wine_fn_config_makefile dlls
/srclient enable_srclient
21998 wine_fn_config_makefile dlls
/srvcli enable_srvcli
21999 wine_fn_config_makefile dlls
/sspicli enable_sspicli
22000 wine_fn_config_makefile dlls
/stdole2.tlb enable_stdole2_tlb
22001 wine_fn_config_makefile dlls
/stdole32.tlb enable_stdole32_tlb
22002 wine_fn_config_makefile dlls
/sti enable_sti
22003 wine_fn_config_makefile dlls
/sti
/tests enable_tests
22004 wine_fn_config_makefile dlls
/storage.dll16 enable_win16
22005 wine_fn_config_makefile dlls
/stress.dll16 enable_win16
22006 wine_fn_config_makefile dlls
/strmdll enable_strmdll
22007 wine_fn_config_makefile dlls
/svrapi enable_svrapi
22008 wine_fn_config_makefile dlls
/sxs enable_sxs
22009 wine_fn_config_makefile dlls
/sxs
/tests enable_tests
22010 wine_fn_config_makefile dlls
/system.drv16 enable_win16
22011 wine_fn_config_makefile dlls
/t2embed enable_t2embed
22012 wine_fn_config_makefile dlls
/t2embed
/tests enable_tests
22013 wine_fn_config_makefile dlls
/tapi32 enable_tapi32
22014 wine_fn_config_makefile dlls
/tapi32
/tests enable_tests
22015 wine_fn_config_makefile dlls
/taskschd enable_taskschd
22016 wine_fn_config_makefile dlls
/taskschd
/tests enable_tests
22017 wine_fn_config_makefile dlls
/tbs enable_tbs
22018 wine_fn_config_makefile dlls
/tdh enable_tdh
22019 wine_fn_config_makefile dlls
/tdi.sys enable_tdi_sys
22020 wine_fn_config_makefile dlls
/threadpoolwinrt enable_threadpoolwinrt
22021 wine_fn_config_makefile dlls
/threadpoolwinrt
/tests enable_tests
22022 wine_fn_config_makefile dlls
/toolhelp.dll16 enable_win16
22023 wine_fn_config_makefile dlls
/traffic enable_traffic
22024 wine_fn_config_makefile dlls
/twain.dll16 enable_win16
22025 wine_fn_config_makefile dlls
/twain_32 enable_twain_32
22026 wine_fn_config_makefile dlls
/twain_32
/tests enable_tests
22027 wine_fn_config_makefile dlls
/typelib.dll16 enable_win16
22028 wine_fn_config_makefile dlls
/tzres enable_tzres
22029 wine_fn_config_makefile dlls
/ucrtbase enable_ucrtbase
22030 wine_fn_config_makefile dlls
/ucrtbase
/tests enable_tests
22031 wine_fn_config_makefile dlls
/uianimation enable_uianimation
22032 wine_fn_config_makefile dlls
/uianimation
/tests enable_tests
22033 wine_fn_config_makefile dlls
/uiautomationcore enable_uiautomationcore
22034 wine_fn_config_makefile dlls
/uiautomationcore
/tests enable_tests
22035 wine_fn_config_makefile dlls
/uiribbon enable_uiribbon
22036 wine_fn_config_makefile dlls
/unicows enable_unicows
22037 wine_fn_config_makefile dlls
/updspapi enable_updspapi
22038 wine_fn_config_makefile dlls
/url enable_url
22039 wine_fn_config_makefile dlls
/urlmon enable_urlmon
22040 wine_fn_config_makefile dlls
/urlmon
/tests enable_tests
22041 wine_fn_config_makefile dlls
/usbd.sys enable_usbd_sys
22042 wine_fn_config_makefile dlls
/user.exe16 enable_win16
22043 wine_fn_config_makefile dlls
/user32 enable_user32
22044 wine_fn_config_makefile dlls
/user32
/tests enable_tests
22045 wine_fn_config_makefile dlls
/userenv enable_userenv
22046 wine_fn_config_makefile dlls
/userenv
/tests enable_tests
22047 wine_fn_config_makefile dlls
/usp10 enable_usp10
22048 wine_fn_config_makefile dlls
/usp10
/tests enable_tests
22049 wine_fn_config_makefile dlls
/utildll enable_utildll
22050 wine_fn_config_makefile dlls
/uxtheme enable_uxtheme
22051 wine_fn_config_makefile dlls
/uxtheme
/tests enable_tests
22052 wine_fn_config_makefile dlls
/vbscript enable_vbscript
22053 wine_fn_config_makefile dlls
/vbscript
/tests enable_tests
22054 wine_fn_config_makefile dlls
/vcomp enable_vcomp
22055 wine_fn_config_makefile dlls
/vcomp
/tests enable_tests
22056 wine_fn_config_makefile dlls
/vcomp100 enable_vcomp100
22057 wine_fn_config_makefile dlls
/vcomp110 enable_vcomp110
22058 wine_fn_config_makefile dlls
/vcomp110
/tests enable_tests
22059 wine_fn_config_makefile dlls
/vcomp120 enable_vcomp120
22060 wine_fn_config_makefile dlls
/vcomp140 enable_vcomp140
22061 wine_fn_config_makefile dlls
/vcomp90 enable_vcomp90
22062 wine_fn_config_makefile dlls
/vcruntime140 enable_vcruntime140
22063 wine_fn_config_makefile dlls
/vcruntime140_1 enable_vcruntime140_1
22064 wine_fn_config_makefile dlls
/vdhcp.vxd enable_win16
22065 wine_fn_config_makefile dlls
/vdmdbg enable_vdmdbg
22066 wine_fn_config_makefile dlls
/ver.dll16 enable_win16
22067 wine_fn_config_makefile dlls
/version enable_version
22068 wine_fn_config_makefile dlls
/version
/tests enable_tests
22069 wine_fn_config_makefile dlls
/vga enable_vga
22070 wine_fn_config_makefile dlls
/virtdisk enable_virtdisk
22071 wine_fn_config_makefile dlls
/virtdisk
/tests enable_tests
22072 wine_fn_config_makefile dlls
/vmm.vxd enable_win16
22073 wine_fn_config_makefile dlls
/vnbt.vxd enable_win16
22074 wine_fn_config_makefile dlls
/vnetbios.vxd enable_win16
22075 wine_fn_config_makefile dlls
/vssapi enable_vssapi
22076 wine_fn_config_makefile dlls
/vtdapi.vxd enable_win16
22077 wine_fn_config_makefile dlls
/vulkan-1 enable_vulkan_1
22078 wine_fn_config_makefile dlls
/vulkan-
1/tests enable_tests
22079 wine_fn_config_makefile dlls
/vwin32.vxd enable_win16
22080 wine_fn_config_makefile dlls
/w32skrnl enable_win16
22081 wine_fn_config_makefile dlls
/w32sys.dll16 enable_win16
22082 wine_fn_config_makefile dlls
/wbemdisp enable_wbemdisp
22083 wine_fn_config_makefile dlls
/wbemdisp
/tests enable_tests
22084 wine_fn_config_makefile dlls
/wbemprox enable_wbemprox
22085 wine_fn_config_makefile dlls
/wbemprox
/tests enable_tests
22086 wine_fn_config_makefile dlls
/wdscore enable_wdscore
22087 wine_fn_config_makefile dlls
/webservices enable_webservices
22088 wine_fn_config_makefile dlls
/webservices
/tests enable_tests
22089 wine_fn_config_makefile dlls
/websocket enable_websocket
22090 wine_fn_config_makefile dlls
/wer enable_wer
22091 wine_fn_config_makefile dlls
/wer
/tests enable_tests
22092 wine_fn_config_makefile dlls
/wevtapi enable_wevtapi
22093 wine_fn_config_makefile dlls
/wevtapi
/tests enable_tests
22094 wine_fn_config_makefile dlls
/wevtsvc enable_wevtsvc
22095 wine_fn_config_makefile dlls
/wiaservc enable_wiaservc
22096 wine_fn_config_makefile dlls
/wiaservc
/tests enable_tests
22097 wine_fn_config_makefile dlls
/wimgapi enable_wimgapi
22098 wine_fn_config_makefile dlls
/win32s16.dll16 enable_win16
22099 wine_fn_config_makefile dlls
/win32u enable_win32u
22100 wine_fn_config_makefile dlls
/win32u
/tests enable_tests
22101 wine_fn_config_makefile dlls
/win87em.dll16 enable_win16
22102 wine_fn_config_makefile dlls
/winaspi.dll16 enable_win16
22103 wine_fn_config_makefile dlls
/windebug.dll16 enable_win16
22104 wine_fn_config_makefile dlls
/windows.devices.enumeration enable_windows_devices_enumeration
22105 wine_fn_config_makefile dlls
/windows.devices.enumeration
/tests enable_tests
22106 wine_fn_config_makefile dlls
/windows.gaming.input enable_windows_gaming_input
22107 wine_fn_config_makefile dlls
/windows.gaming.input
/tests enable_tests
22108 wine_fn_config_makefile dlls
/windows.gaming.ui.gamebar enable_windows_gaming_ui_gamebar
22109 wine_fn_config_makefile dlls
/windows.gaming.ui.gamebar
/tests enable_tests
22110 wine_fn_config_makefile dlls
/windows.globalization enable_windows_globalization
22111 wine_fn_config_makefile dlls
/windows.globalization
/tests enable_tests
22112 wine_fn_config_makefile dlls
/windows.media.devices enable_windows_media_devices
22113 wine_fn_config_makefile dlls
/windows.media.devices
/tests enable_tests
22114 wine_fn_config_makefile dlls
/windows.media.speech enable_windows_media_speech
22115 wine_fn_config_makefile dlls
/windows.media.speech
/tests enable_tests
22116 wine_fn_config_makefile dlls
/windows.networking enable_windows_networking
22117 wine_fn_config_makefile dlls
/windowscodecs enable_windowscodecs
22118 wine_fn_config_makefile dlls
/windowscodecs
/tests enable_tests
22119 wine_fn_config_makefile dlls
/windowscodecsext enable_windowscodecsext
22120 wine_fn_config_makefile dlls
/windowscodecsext
/tests enable_tests
22121 wine_fn_config_makefile dlls
/winealsa.drv enable_winealsa_drv
22122 wine_fn_config_makefile dlls
/wineandroid.drv enable_wineandroid_drv
22123 wine_fn_config_makefile dlls
/winebus.sys enable_winebus_sys
22124 wine_fn_config_makefile dlls
/winecoreaudio.drv enable_winecoreaudio_drv
22125 wine_fn_config_makefile dlls
/winecrt0 enable_winecrt0
22126 wine_fn_config_makefile dlls
/wined3d enable_wined3d
22127 wine_fn_config_makefile dlls
/winegstreamer enable_winegstreamer
22128 wine_fn_config_makefile dlls
/winehid.sys enable_winehid_sys
22129 wine_fn_config_makefile dlls
/winemac.drv enable_winemac_drv
22130 wine_fn_config_makefile dlls
/winemapi enable_winemapi
22131 wine_fn_config_makefile dlls
/wineoss.drv enable_wineoss_drv
22132 wine_fn_config_makefile dlls
/wineps.drv enable_wineps_drv
22133 wine_fn_config_makefile dlls
/wineps16.drv16 enable_win16
22134 wine_fn_config_makefile dlls
/winepulse.drv enable_winepulse_drv
22135 wine_fn_config_makefile dlls
/wineusb.sys enable_wineusb_sys
22136 wine_fn_config_makefile dlls
/winevulkan enable_winevulkan
22137 wine_fn_config_makefile dlls
/winex11.drv enable_winex11_drv
22138 wine_fn_config_makefile dlls
/winexinput.sys enable_winexinput_sys
22139 wine_fn_config_makefile dlls
/wing.dll16 enable_win16
22140 wine_fn_config_makefile dlls
/wing32 enable_wing32
22141 wine_fn_config_makefile dlls
/winhttp enable_winhttp
22142 wine_fn_config_makefile dlls
/winhttp
/tests enable_tests
22143 wine_fn_config_makefile dlls
/wininet enable_wininet
22144 wine_fn_config_makefile dlls
/wininet
/tests enable_tests
22145 wine_fn_config_makefile dlls
/winmm enable_winmm
22146 wine_fn_config_makefile dlls
/winmm
/tests enable_tests
22147 wine_fn_config_makefile dlls
/winnls.dll16 enable_win16
22148 wine_fn_config_makefile dlls
/winnls32 enable_winnls32
22149 wine_fn_config_makefile dlls
/winscard enable_winscard
22150 wine_fn_config_makefile dlls
/winsock.dll16 enable_win16
22151 wine_fn_config_makefile dlls
/winspool.drv enable_winspool_drv
22152 wine_fn_config_makefile dlls
/winspool.drv
/tests enable_tests
22153 wine_fn_config_makefile dlls
/winsta enable_winsta
22154 wine_fn_config_makefile dlls
/wintab.dll16 enable_win16
22155 wine_fn_config_makefile dlls
/wintab32 enable_wintab32
22156 wine_fn_config_makefile dlls
/wintab32
/tests enable_tests
22157 wine_fn_config_makefile dlls
/wintrust enable_wintrust
22158 wine_fn_config_makefile dlls
/wintrust
/tests enable_tests
22159 wine_fn_config_makefile dlls
/wintypes enable_wintypes
22160 wine_fn_config_makefile dlls
/wintypes
/tests enable_tests
22161 wine_fn_config_makefile dlls
/winusb enable_winusb
22162 wine_fn_config_makefile dlls
/wlanapi enable_wlanapi
22163 wine_fn_config_makefile dlls
/wlanapi
/tests enable_tests
22164 wine_fn_config_makefile dlls
/wlanui enable_wlanui
22165 wine_fn_config_makefile dlls
/wldap32 enable_wldap32
22166 wine_fn_config_makefile dlls
/wldap32
/tests enable_tests
22167 wine_fn_config_makefile dlls
/wmasf enable_wmasf
22168 wine_fn_config_makefile dlls
/wmi enable_wmi
22169 wine_fn_config_makefile dlls
/wmiutils enable_wmiutils
22170 wine_fn_config_makefile dlls
/wmiutils
/tests enable_tests
22171 wine_fn_config_makefile dlls
/wmp enable_wmp
22172 wine_fn_config_makefile dlls
/wmp
/tests enable_tests
22173 wine_fn_config_makefile dlls
/wmphoto enable_wmphoto
22174 wine_fn_config_makefile dlls
/wmvcore enable_wmvcore
22175 wine_fn_config_makefile dlls
/wmvcore
/tests enable_tests
22176 wine_fn_config_makefile dlls
/wnaspi32 enable_wnaspi32
22177 wine_fn_config_makefile dlls
/wow32 enable_win16
22178 wine_fn_config_makefile dlls
/wow64 enable_wow64
22179 wine_fn_config_makefile dlls
/wow64cpu enable_wow64cpu
22180 wine_fn_config_makefile dlls
/wow64win enable_wow64win
22181 wine_fn_config_makefile dlls
/wpc enable_wpc
22182 wine_fn_config_makefile dlls
/wpc
/tests enable_tests
22183 wine_fn_config_makefile dlls
/wpcap enable_wpcap
22184 wine_fn_config_makefile dlls
/ws2_32 enable_ws2_32
22185 wine_fn_config_makefile dlls
/ws2_32
/tests enable_tests
22186 wine_fn_config_makefile dlls
/wsdapi enable_wsdapi
22187 wine_fn_config_makefile dlls
/wsdapi
/tests enable_tests
22188 wine_fn_config_makefile dlls
/wshom.ocx enable_wshom_ocx
22189 wine_fn_config_makefile dlls
/wshom.ocx
/tests enable_tests
22190 wine_fn_config_makefile dlls
/wsnmp32 enable_wsnmp32
22191 wine_fn_config_makefile dlls
/wsnmp32
/tests enable_tests
22192 wine_fn_config_makefile dlls
/wsock32 enable_wsock32
22193 wine_fn_config_makefile dlls
/wtsapi32 enable_wtsapi32
22194 wine_fn_config_makefile dlls
/wtsapi32
/tests enable_tests
22195 wine_fn_config_makefile dlls
/wuapi enable_wuapi
22196 wine_fn_config_makefile dlls
/wuaueng enable_wuaueng
22197 wine_fn_config_makefile dlls
/x3daudio1_0 enable_x3daudio1_0
22198 wine_fn_config_makefile dlls
/x3daudio1_1 enable_x3daudio1_1
22199 wine_fn_config_makefile dlls
/x3daudio1_2 enable_x3daudio1_2
22200 wine_fn_config_makefile dlls
/x3daudio1_3 enable_x3daudio1_3
22201 wine_fn_config_makefile dlls
/x3daudio1_4 enable_x3daudio1_4
22202 wine_fn_config_makefile dlls
/x3daudio1_5 enable_x3daudio1_5
22203 wine_fn_config_makefile dlls
/x3daudio1_6 enable_x3daudio1_6
22204 wine_fn_config_makefile dlls
/x3daudio1_7 enable_x3daudio1_7
22205 wine_fn_config_makefile dlls
/xactengine2_0 enable_xactengine2_0
22206 wine_fn_config_makefile dlls
/xactengine2_4 enable_xactengine2_4
22207 wine_fn_config_makefile dlls
/xactengine2_7 enable_xactengine2_7
22208 wine_fn_config_makefile dlls
/xactengine2_9 enable_xactengine2_9
22209 wine_fn_config_makefile dlls
/xactengine3_0 enable_xactengine3_0
22210 wine_fn_config_makefile dlls
/xactengine3_1 enable_xactengine3_1
22211 wine_fn_config_makefile dlls
/xactengine3_2 enable_xactengine3_2
22212 wine_fn_config_makefile dlls
/xactengine3_3 enable_xactengine3_3
22213 wine_fn_config_makefile dlls
/xactengine3_4 enable_xactengine3_4
22214 wine_fn_config_makefile dlls
/xactengine3_5 enable_xactengine3_5
22215 wine_fn_config_makefile dlls
/xactengine3_6 enable_xactengine3_6
22216 wine_fn_config_makefile dlls
/xactengine3_7 enable_xactengine3_7
22217 wine_fn_config_makefile dlls
/xactengine3_
7/tests enable_tests
22218 wine_fn_config_makefile dlls
/xapofx1_1 enable_xapofx1_1
22219 wine_fn_config_makefile dlls
/xapofx1_2 enable_xapofx1_2
22220 wine_fn_config_makefile dlls
/xapofx1_3 enable_xapofx1_3
22221 wine_fn_config_makefile dlls
/xapofx1_4 enable_xapofx1_4
22222 wine_fn_config_makefile dlls
/xapofx1_5 enable_xapofx1_5
22223 wine_fn_config_makefile dlls
/xaudio2_0 enable_xaudio2_0
22224 wine_fn_config_makefile dlls
/xaudio2_1 enable_xaudio2_1
22225 wine_fn_config_makefile dlls
/xaudio2_2 enable_xaudio2_2
22226 wine_fn_config_makefile dlls
/xaudio2_3 enable_xaudio2_3
22227 wine_fn_config_makefile dlls
/xaudio2_4 enable_xaudio2_4
22228 wine_fn_config_makefile dlls
/xaudio2_5 enable_xaudio2_5
22229 wine_fn_config_makefile dlls
/xaudio2_6 enable_xaudio2_6
22230 wine_fn_config_makefile dlls
/xaudio2_7 enable_xaudio2_7
22231 wine_fn_config_makefile dlls
/xaudio2_
7/tests enable_tests
22232 wine_fn_config_makefile dlls
/xaudio2_8 enable_xaudio2_8
22233 wine_fn_config_makefile dlls
/xaudio2_9 enable_xaudio2_9
22234 wine_fn_config_makefile dlls
/xinput1_1 enable_xinput1_1
22235 wine_fn_config_makefile dlls
/xinput1_2 enable_xinput1_2
22236 wine_fn_config_makefile dlls
/xinput1_3 enable_xinput1_3
22237 wine_fn_config_makefile dlls
/xinput1_
3/tests enable_tests
22238 wine_fn_config_makefile dlls
/xinput1_4 enable_xinput1_4
22239 wine_fn_config_makefile dlls
/xinput9_1_0 enable_xinput9_1_0
22240 wine_fn_config_makefile dlls
/xmllite enable_xmllite
22241 wine_fn_config_makefile dlls
/xmllite
/tests enable_tests
22242 wine_fn_config_makefile dlls
/xolehlp enable_xolehlp
22243 wine_fn_config_makefile dlls
/xpsprint enable_xpsprint
22244 wine_fn_config_makefile dlls
/xpssvcs enable_xpssvcs
22245 wine_fn_config_makefile fonts enable_fonts
22246 wine_fn_config_makefile include enable_include
22247 wine_fn_config_makefile libs
/adsiid enable_adsiid
22248 wine_fn_config_makefile libs
/dmoguids enable_dmoguids
22249 wine_fn_config_makefile libs
/dxerr8 enable_dxerr8
22250 wine_fn_config_makefile libs
/dxerr9 enable_dxerr9
22251 wine_fn_config_makefile libs
/dxguid enable_dxguid
22252 wine_fn_config_makefile libs
/faudio enable_faudio
22253 wine_fn_config_makefile libs
/gsm enable_gsm
22254 wine_fn_config_makefile libs
/jpeg enable_jpeg
22255 wine_fn_config_makefile libs
/jxr enable_jxr
22256 wine_fn_config_makefile libs
/lcms2 enable_lcms2
22257 wine_fn_config_makefile libs
/mfuuid enable_mfuuid
22258 wine_fn_config_makefile libs
/mpg123 enable_mpg123
22259 wine_fn_config_makefile libs
/png enable_png
22260 wine_fn_config_makefile libs
/strmbase enable_strmbase
22261 wine_fn_config_makefile libs
/strmiids enable_strmiids
22262 wine_fn_config_makefile libs
/tiff enable_tiff
22263 wine_fn_config_makefile libs
/uuid enable_uuid
22264 wine_fn_config_makefile libs
/vkd3d enable_vkd3d
22265 wine_fn_config_makefile libs
/wbemuuid enable_wbemuuid
22266 wine_fn_config_makefile libs
/wine enable_wine
22267 wine_fn_config_makefile libs
/wmcodecdspuuid enable_wmcodecdspuuid
22268 wine_fn_config_makefile libs
/xml2 enable_xml2
22269 wine_fn_config_makefile libs
/xslt enable_xslt
22270 wine_fn_config_makefile libs
/zlib enable_zlib
22271 wine_fn_config_makefile loader enable_loader
22272 wine_fn_config_makefile nls enable_nls
22273 wine_fn_config_makefile po enable_po
22274 wine_fn_config_makefile programs
/arp enable_arp
22275 wine_fn_config_makefile programs
/aspnet_regiis enable_aspnet_regiis
22276 wine_fn_config_makefile programs
/attrib enable_attrib
22277 wine_fn_config_makefile programs
/cabarc enable_cabarc
22278 wine_fn_config_makefile programs
/cacls enable_cacls
22279 wine_fn_config_makefile programs
/certutil enable_certutil
22280 wine_fn_config_makefile programs
/chcp.com enable_chcp_com
22281 wine_fn_config_makefile programs
/clock enable_clock
22282 wine_fn_config_makefile programs
/cmd enable_cmd
22283 wine_fn_config_makefile programs
/cmd
/tests enable_tests
22284 wine_fn_config_makefile programs
/conhost enable_conhost
22285 wine_fn_config_makefile programs
/conhost
/tests enable_tests
22286 wine_fn_config_makefile programs
/control enable_control
22287 wine_fn_config_makefile programs
/cscript enable_cscript
22288 wine_fn_config_makefile programs
/dism enable_dism
22289 wine_fn_config_makefile programs
/dllhost enable_dllhost
22290 wine_fn_config_makefile programs
/dplaysvr enable_dplaysvr
22291 wine_fn_config_makefile programs
/dpnsvr enable_dpnsvr
22292 wine_fn_config_makefile programs
/dpvsetup enable_dpvsetup
22293 wine_fn_config_makefile programs
/dxdiag enable_dxdiag
22294 wine_fn_config_makefile programs
/eject enable_eject
22295 wine_fn_config_makefile programs
/expand enable_expand
22296 wine_fn_config_makefile programs
/explorer enable_explorer
22297 wine_fn_config_makefile programs
/extrac32 enable_extrac32
22298 wine_fn_config_makefile programs
/fc enable_fc
22299 wine_fn_config_makefile programs
/find enable_find
22300 wine_fn_config_makefile programs
/find
/tests enable_tests
22301 wine_fn_config_makefile programs
/findstr enable_findstr
22302 wine_fn_config_makefile programs
/fsutil enable_fsutil
22303 wine_fn_config_makefile programs
/fsutil
/tests enable_tests
22304 wine_fn_config_makefile programs
/hh enable_hh
22305 wine_fn_config_makefile programs
/hostname enable_hostname
22306 wine_fn_config_makefile programs
/icacls enable_icacls
22307 wine_fn_config_makefile programs
/icinfo enable_icinfo
22308 wine_fn_config_makefile programs
/iexplore enable_iexplore
22309 wine_fn_config_makefile programs
/ipconfig enable_ipconfig
22310 wine_fn_config_makefile programs
/lodctr enable_lodctr
22311 wine_fn_config_makefile programs
/mofcomp enable_mofcomp
22312 wine_fn_config_makefile programs
/mshta enable_mshta
22313 wine_fn_config_makefile programs
/msidb enable_msidb
22314 wine_fn_config_makefile programs
/msiexec enable_msiexec
22315 wine_fn_config_makefile programs
/msinfo32 enable_msinfo32
22316 wine_fn_config_makefile programs
/net enable_net
22317 wine_fn_config_makefile programs
/netsh enable_netsh
22318 wine_fn_config_makefile programs
/netstat enable_netstat
22319 wine_fn_config_makefile programs
/ngen enable_ngen
22320 wine_fn_config_makefile programs
/notepad enable_notepad
22321 wine_fn_config_makefile programs
/oleview enable_oleview
22322 wine_fn_config_makefile programs
/ping enable_ping
22323 wine_fn_config_makefile programs
/plugplay enable_plugplay
22324 wine_fn_config_makefile programs
/powershell enable_powershell
22325 wine_fn_config_makefile programs
/presentationfontcache enable_presentationfontcache
22326 wine_fn_config_makefile programs
/progman enable_progman
22327 wine_fn_config_makefile programs
/reg enable_reg
22328 wine_fn_config_makefile programs
/reg
/tests enable_tests
22329 wine_fn_config_makefile programs
/regasm enable_regasm
22330 wine_fn_config_makefile programs
/regedit enable_regedit
22331 wine_fn_config_makefile programs
/regedit
/tests enable_tests
22332 wine_fn_config_makefile programs
/regini enable_regini
22333 wine_fn_config_makefile programs
/regsvcs enable_regsvcs
22334 wine_fn_config_makefile programs
/regsvr32 enable_regsvr32
22335 wine_fn_config_makefile programs
/robocopy enable_robocopy
22336 wine_fn_config_makefile programs
/rpcss enable_rpcss
22337 wine_fn_config_makefile programs
/rundll.exe16 enable_win16
22338 wine_fn_config_makefile programs
/rundll32 enable_rundll32
22339 wine_fn_config_makefile programs
/sc enable_sc
22340 wine_fn_config_makefile programs
/sc
/tests enable_tests
22341 wine_fn_config_makefile programs
/schtasks enable_schtasks
22342 wine_fn_config_makefile programs
/schtasks
/tests enable_tests
22343 wine_fn_config_makefile programs
/sdbinst enable_sdbinst
22344 wine_fn_config_makefile programs
/secedit enable_secedit
22345 wine_fn_config_makefile programs
/servicemodelreg enable_servicemodelreg
22346 wine_fn_config_makefile programs
/services enable_services
22347 wine_fn_config_makefile programs
/services
/tests enable_tests
22348 wine_fn_config_makefile programs
/setx enable_setx
22349 wine_fn_config_makefile programs
/shutdown enable_shutdown
22350 wine_fn_config_makefile programs
/spoolsv enable_spoolsv
22351 wine_fn_config_makefile programs
/start enable_start
22352 wine_fn_config_makefile programs
/subst enable_subst
22353 wine_fn_config_makefile programs
/svchost enable_svchost
22354 wine_fn_config_makefile programs
/systeminfo enable_systeminfo
22355 wine_fn_config_makefile programs
/taskkill enable_taskkill
22356 wine_fn_config_makefile programs
/tasklist enable_tasklist
22357 wine_fn_config_makefile programs
/taskmgr enable_taskmgr
22358 wine_fn_config_makefile programs
/termsv enable_termsv
22359 wine_fn_config_makefile programs
/uninstaller enable_uninstaller
22360 wine_fn_config_makefile programs
/unlodctr enable_unlodctr
22361 wine_fn_config_makefile programs
/view enable_view
22362 wine_fn_config_makefile programs
/wevtutil enable_wevtutil
22363 wine_fn_config_makefile programs
/where enable_where
22364 wine_fn_config_makefile programs
/whoami enable_whoami
22365 wine_fn_config_makefile programs
/wineboot enable_wineboot
22366 wine_fn_config_makefile programs
/winebrowser enable_winebrowser
22367 wine_fn_config_makefile programs
/winecfg enable_winecfg
22368 wine_fn_config_makefile programs
/wineconsole enable_wineconsole
22369 wine_fn_config_makefile programs
/winedbg enable_winedbg
22370 wine_fn_config_makefile programs
/winedevice enable_winedevice
22371 wine_fn_config_makefile programs
/winefile enable_winefile
22372 wine_fn_config_makefile programs
/winemenubuilder enable_winemenubuilder
22373 wine_fn_config_makefile programs
/winemine enable_winemine
22374 wine_fn_config_makefile programs
/winemsibuilder enable_winemsibuilder
22375 wine_fn_config_makefile programs
/winepath enable_winepath
22376 wine_fn_config_makefile programs
/winetest enable_winetest
22377 wine_fn_config_makefile programs
/winevdm enable_win16
22378 wine_fn_config_makefile programs
/winhelp.exe16 enable_win16
22379 wine_fn_config_makefile programs
/winhlp32 enable_winhlp32
22380 wine_fn_config_makefile programs
/winmgmt enable_winmgmt
22381 wine_fn_config_makefile programs
/winoldap.mod16 enable_win16
22382 wine_fn_config_makefile programs
/winver enable_winver
22383 wine_fn_config_makefile programs
/wmic enable_wmic
22384 wine_fn_config_makefile programs
/wmplayer enable_wmplayer
22385 wine_fn_config_makefile programs
/wordpad enable_wordpad
22386 wine_fn_config_makefile programs
/write enable_write
22387 wine_fn_config_makefile programs
/wscript enable_wscript
22388 wine_fn_config_makefile programs
/wscript
/tests enable_tests
22389 wine_fn_config_makefile programs
/wuauserv enable_wuauserv
22390 wine_fn_config_makefile programs
/wusa enable_wusa
22391 wine_fn_config_makefile programs
/xcopy enable_xcopy
22392 wine_fn_config_makefile programs
/xcopy
/tests enable_tests
22393 wine_fn_config_makefile server enable_server
22394 test "x$enable_tools" = xno || wine_fn_config_makefile tools enable_tools
22395 test "x$enable_tools" = xno || wine_fn_config_makefile tools
/sfnt2fon enable_sfnt2fon
22396 test "x$enable_tools" = xno || wine_fn_config_makefile tools
/widl enable_widl
22397 test "x$enable_tools" = xno || wine_fn_config_makefile tools
/winebuild enable_winebuild
22398 test "x$enable_tools" = xno || wine_fn_config_makefile tools
/winedump enable_winedump
22399 test "x$enable_tools" = xno || wine_fn_config_makefile tools
/winegcc enable_winegcc
22400 test "x$enable_tools" = xno || wine_fn_config_makefile tools
/winemaker enable_winemaker
22401 test "x$enable_tools" = xno || wine_fn_config_makefile tools
/wmc enable_wmc
22402 test "x$enable_tools" = xno || wine_fn_config_makefile tools
/wrc enable_wrc
22405 as_fn_append CONFIGURE_TARGETS
" TAGS"
22406 as_fn_append CONFIGURE_TARGETS
" tags"
22407 as_fn_append CONFIGURE_TARGETS
" autom4te.cache"
22408 as_fn_append CONFIGURE_TARGETS
" config.log"
22409 as_fn_append CONFIGURE_TARGETS
" config.status"
22410 as_fn_append CONFIGURE_TARGETS
" include/config.h"
22411 as_fn_append CONFIGURE_TARGETS
" include/stamp-h"
22412 test "$wine_binary" = wine || as_fn_append CONFIGURE_TARGETS
" loader/wine"
22414 if test "x$enable_tools" != xno
22416 as_fn_append CONFIGURE_TARGETS
" tools/makedep$ac_exeext"
22417 ac_config_commands
="$ac_config_commands tools/makedep"
22421 ac_config_commands
="$ac_config_commands Makefile"
22428 as_fn_append wine_rules
"
22430 @echo \"Wine build complete.\"
22434 Makefile: config.status \$(MAKEDEP)
22435 @./config.status Makefile
22436 depend: \$(MAKEDEP)
22437 \$(MAKEDEP)$makedep_flags"
22440 as_fn_append wine_rules
"
22441 config.status: ${wine_srcdir}configure
22442 @./config.status --recheck
22443 include/config.h: include/stamp-h
22444 include/stamp-h: ${wine_srcdir}include/config.h.in config.status
22445 @./config.status include/config.h include/stamp-h"
22447 if test "x$enable_maintainer_mode" = xyes
22449 as_fn_append wine_rules
"
22450 configure: configure.ac aclocal.m4
22451 autoconf --warnings=all
22452 include/config.h.in: include/stamp-h.in
22453 include/stamp-h.in: configure.ac aclocal.m4
22454 autoheader --warnings=all
22455 @echo timestamp > \$@"
22458 if test "x$enable_tools" != xno
22460 as_fn_append wine_rules
"
22461 tools/makedep$ac_exeext: ${wine_srcdir}tools/makedep.c include/config.h config.status
22462 @./config.status tools/makedep
22463 Makefile: tools/makedep$ac_exeext"
22465 as_fn_append wine_rules
"
22467 @echo \"You need to run make in $toolsdir first\" && false"
22471 if test -n "$with_wine64"
22473 case "$with_wine64" in
22477 rm -f fonts server
2>/dev
/null
22478 as_fn_append wine_rules
"
22479 all: loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader
22480 loader/wine64 loader/wine64-preloader:
22481 rm -f \$@ && \$(LN_S) $reldir$with_wine64/\$@ \$@
22482 $with_wine64/loader/wine:
22483 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
22484 $with_wine64/loader/wine-preloader:
22485 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
22487 rm -f loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
22489 TOP_INSTALL_DEV
="$TOP_INSTALL_DEV include"
22490 TOP_INSTALL_LIB
="$TOP_INSTALL_LIB \
22494 programs/msidb/msidb \
22495 programs/msiexec/msiexec \
22496 programs/notepad/notepad \
22497 programs/regedit/regedit \
22498 programs/regsvr32/regsvr32 \
22499 programs/wineboot/wineboot \
22500 programs/winecfg/winecfg \
22501 programs/wineconsole/wineconsole \
22502 programs/winedbg/winedbg \
22503 programs/winefile/winefile \
22504 programs/winemine/winemine \
22505 programs/winepath/winepath \
22509 cygwin
*|mingw32
*|darwin
*|macosx
*|linux-android
*) ;;
22510 *) TOP_INSTALL_LIB
="$TOP_INSTALL_LIB loader/wine.desktop" ;;
22515 as_fn_append wine_rules
"
22517 rm -rf autom4te.cache
22519 rm -f configure include/config.h.in"
22522 as_fn_append wine_rules
"
22523 dlls/ntdll/unix/version.c: dummy
22524 @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)
22525 programs/winetest/build.rc: dummy
22526 @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)
22527 programs/winetest/build.nfo:
22529 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
22530 cd dlls/wineandroid.drv && gradle -q -Psrcdir=$srcdir assembleDebug
22531 mv dlls/wineandroid.drv/build/outputs/apk/wine-debug.apk \$@"
22534 TAGSFLAGS
="--langmap='c:+.idl.l.rh,make:(Make*.in)'"
22536 as_fn_append wine_rules
"
22539 (test -d .git && git ls-files || find -L $srcdir -name '*.[ch]' -print) | xargs etags -a \$(TAGSFLAGS)
22542 (test -d .git && git ls-files || find -L $srcdir -name '*.[ch]' -print) | xargs ctags -a \$(TAGSFLAGS)
22544 .PHONY: depend dummy install-manpages"
22546 printf "%s\n" " done" >&6
22547 cat >confcache
<<\_ACEOF
22548 # This file is a shell script that caches the results of configure
22549 # tests run on this system so they can be shared between configure
22550 # scripts and configure runs, see configure's option --config-cache.
22551 # It is not useful on other systems. If it contains results you don't
22552 # want to keep, you may remove or edit it.
22554 # config.status only pays attention to the cache file if you give it
22555 # the --recheck option to rerun configure.
22557 # `ac_cv_env_foo' variables (set or unset) will be overridden when
22558 # loading this file, other *unset* `ac_cv_foo' will be assigned the
22559 # following values.
22563 # The following way of writing the cache mishandles newlines in values,
22564 # but we know of no workaround that is simple, portable, and efficient.
22565 # So, we kill variables containing newlines.
22566 # Ultrix sh set writes to stderr and can't be redirected directly,
22567 # and sets the high bit in the cache file unless we assign to the vars.
22569 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
22570 eval ac_val
=\$
$ac_var
22574 *_cv_
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
22575 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
22578 _ | IFS | as_nl
) ;; #(
22579 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
22580 *) { eval $ac_var=; unset $ac_var;} ;;
22586 case $as_nl`(ac_space=' '; set) 2>&1` in #(
22587 *${as_nl}ac_space
=\
*)
22588 # `set' does not quote correctly, so add quotes: double-quote
22589 # substitution turns \\\\ into \\, and sed turns \\ into \.
22592 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
22595 # `set' quotes correctly as required by POSIX, so do not add quotes.
22596 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
22605 s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
22607 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
22609 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
22610 if test -w "$cache_file"; then
22611 if test "x$cache_file" != "x/dev/null"; then
22612 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
22613 printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
22614 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
22615 cat confcache
>"$cache_file"
22617 case $cache_file in #(
22619 mv -f confcache
"$cache_file"$$
&&
22620 mv -f "$cache_file"$$
"$cache_file" ;; #(
22622 mv -f confcache
"$cache_file" ;;
22627 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
22628 printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
22633 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
22634 # Let make expand exec_prefix.
22635 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
22637 DEFS
=-DHAVE_CONFIG_H
22642 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
22643 # 1. Remove the extension, and $U if already installed.
22644 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
22645 ac_i
=`printf "%s\n" "$ac_i" | sed "$ac_script"`
22646 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
22647 # will be set to the directory where LIBOBJS objects are built.
22648 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
22649 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
22651 LIBOBJS
=$ac_libobjs
22653 LTLIBOBJS
=$ac_ltlibobjs
22657 : "${CONFIG_STATUS=./config.status}"
22659 ac_clean_files_save
=$ac_clean_files
22660 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
22661 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
22662 printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
22664 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
22666 # Generated by $as_me.
22667 # Run this file to recreate the current configuration.
22668 # Compiler output produced by configure, useful for debugging
22669 # configure, is in config.log if it exists.
22672 ac_cs_recheck=false
22675 SHELL=\${CONFIG_SHELL-$SHELL}
22678 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
22679 ## -------------------- ##
22680 ## M4sh Initialization. ##
22681 ## -------------------- ##
22683 # Be more Bourne compatible
22684 DUALCASE
=1; export DUALCASE
# for MKS sh
22686 if test ${ZSH_VERSION+y} && (emulate sh
) >/dev
/null
2>&1
22690 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
22691 # is contrary to our usage. Disable this feature.
22692 alias -g '${1+"$@"}'='"$@"'
22693 setopt NO_GLOB_SUBST
22695 case `(set -o) 2>/dev/null` in #(
22705 # Reset variables that may have inherited troublesome values from
22708 # IFS needs to be set, to space, tab, and newline, in precisely that order.
22709 # (If _AS_PATH_WALK were called with IFS unset, it would have the
22710 # side effect of setting IFS to empty, thus disabling word splitting.)
22711 # Quoting is to prevent editors from complaining about space-tab.
22721 # Ensure predictable behavior from utilities with locale-dependent output.
22727 # We cannot yet rely on "unset" to work, but we need these variables
22728 # to be unset--not just set to an empty or harmless value--now, to
22729 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
22730 # also avoids known problems related to "unset" and subshell syntax
22731 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
22732 for as_var
in BASH_ENV ENV MAIL MAILPATH CDPATH
22733 do eval test \
${$as_var+y} \
22734 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
22737 # Ensure that fds 0, 1, and 2 are open.
22738 if (exec 3>&0) 2>/dev
/null
; then :; else exec 0</dev
/null
; fi
22739 if (exec 3>&1) 2>/dev
/null
; then :; else exec 1>/dev
/null
; fi
22740 if (exec 3>&2) ; then :; else exec 2>/dev
/null
; fi
22742 # The user is always right.
22743 if ${PATH_SEPARATOR+false} :; then
22745 (PATH
='/bin;/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 && {
22746 (PATH
='/bin:/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 ||
22752 # Find who we are. Look in the path if we contain no directory separator.
22755 *[\\/]* ) as_myself
=$0 ;;
22756 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22757 for as_dir
in $PATH
22760 case $as_dir in #(((
22763 *) as_dir
=$as_dir/ ;;
22765 test -r "$as_dir$0" && as_myself
=$as_dir$0 && break
22771 # We did not find ourselves, most probably we were run as `sh COMMAND'
22772 # in which case we are not to be found in the path.
22773 if test "x$as_myself" = x
; then
22776 if test ! -f "$as_myself"; then
22777 printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
22783 # as_fn_error STATUS ERROR [LINENO LOG_FD]
22784 # ----------------------------------------
22785 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
22786 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
22787 # script with STATUS, using 1 if that was 0.
22790 as_status
=$1; test $as_status -eq 0 && as_status
=1
22792 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
22793 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
22795 printf "%s\n" "$as_me: error: $2" >&2
22796 as_fn_exit
$as_status
22801 # as_fn_set_status STATUS
22802 # -----------------------
22803 # Set $? to STATUS, without forking.
22804 as_fn_set_status
()
22807 } # as_fn_set_status
22809 # as_fn_exit STATUS
22810 # -----------------
22811 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
22815 as_fn_set_status
$1
22821 # Portably unset VAR.
22824 { eval $1=; unset $1;}
22826 as_unset
=as_fn_unset
22828 # as_fn_append VAR VALUE
22829 # ----------------------
22830 # Append the text in VALUE to the end of the definition contained in VAR. Take
22831 # advantage of any shell optimizations that allow amortized linear growth over
22832 # repeated appends, instead of the typical quadratic growth present in naive
22834 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
22836 eval 'as_fn_append ()
22847 # as_fn_arith ARG...
22848 # ------------------
22849 # Perform arithmetic evaluation on the ARGs, and store the result in the
22850 # global $as_val. Take advantage of shells that can avoid forks. The arguments
22851 # must be portable across $(()) and expr.
22852 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
22854 eval 'as_fn_arith ()
22861 as_val
=`expr "$@" || test $? -eq 1`
22866 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
22867 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
22873 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
22874 as_basename
=basename
22879 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
22885 as_me
=`$as_basename -- "$0" ||
22886 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
22887 X"$0" : 'X\(//\)$' \| \
22888 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
22889 printf "%s\n" X/"$0" |
22890 sed '/^.*\/\([^/][^/]*\)\/*$/{
22904 # Avoid depending upon Character Ranges.
22905 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
22906 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
22907 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
22908 as_cr_digits
='0123456789'
22909 as_cr_alnum
=$as_cr_Letters$as_cr_digits
22912 # Determine whether it's possible to make 'echo' print without a newline.
22913 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
22914 # for compatibility with existing Makefiles.
22915 ECHO_C
= ECHO_N
= ECHO_T
=
22916 case `echo -n x` in #(((((
22918 case `echo 'xy\c'` in
22919 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
22921 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
22928 # For backward compatibility with old third-party macros, we provide
22929 # the shell variables $as_echo and $as_echo_n. New code should use
22930 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
22931 as_echo
='printf %s\n'
22932 as_echo_n
='printf %s'
22934 rm -f conf$$ conf$$.exe conf$$.
file
22935 if test -d conf$$.dir
; then
22936 rm -f conf$$.dir
/conf$$.
file
22939 mkdir conf$$.dir
2>/dev
/null
22941 if (echo >conf$$.
file) 2>/dev
/null
; then
22942 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
22944 # ... but there are two gotchas:
22945 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
22946 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
22947 # In both cases, we have to default to `cp -pR'.
22948 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
22950 elif ln conf$$.
file conf$$
2>/dev
/null
; then
22958 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
22959 rmdir conf$$.dir
2>/dev
/null
22964 # Create "$as_dir" as a directory, including parents if necessary.
22969 -*) as_dir
=.
/$as_dir;;
22971 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
22975 *\'*) as_qdir
=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
22976 *) as_qdir
=$as_dir;;
22978 as_dirs
="'$as_qdir' $as_dirs"
22979 as_dir
=`$as_dirname -- "$as_dir" ||
22980 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22981 X"$as_dir" : 'X\(//\)[^/]' \| \
22982 X"$as_dir" : 'X\(//\)$' \| \
22983 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
22984 printf "%s\n" X"$as_dir" |
22985 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22989 /^X\(\/\/\)[^/].*/{
23002 test -d "$as_dir" && break
23004 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
23005 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
23009 if mkdir
-p .
2>/dev
/null
; then
23010 as_mkdir_p
='mkdir -p "$as_dir"'
23012 test -d .
/-p && rmdir .
/-p
23017 # as_fn_executable_p FILE
23018 # -----------------------
23019 # Test if FILE is an executable regular file.
23020 as_fn_executable_p
()
23022 test -f "$1" && test -x "$1"
23023 } # as_fn_executable_p
23024 as_test_x
='test -x'
23025 as_executable_p
=as_fn_executable_p
23027 # Sed expression to map a string onto a valid CPP name.
23028 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
23030 # Sed expression to map a string onto a valid variable name.
23031 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
23035 ## ----------------------------------- ##
23036 ## Main body of $CONFIG_STATUS script. ##
23037 ## ----------------------------------- ##
23039 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
23041 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
23042 # Save the log message, to keep $0 and so on meaningful, and to
23043 # report actual input values of CONFIG_FILES etc. instead of their
23044 # values after options handling.
23046 This file was extended by Wine $as_me 7.20, which was
23047 generated by GNU Autoconf 2.71. Invocation command line was
23049 CONFIG_FILES = $CONFIG_FILES
23050 CONFIG_HEADERS = $CONFIG_HEADERS
23051 CONFIG_LINKS = $CONFIG_LINKS
23052 CONFIG_COMMANDS = $CONFIG_COMMANDS
23055 on `(hostname || uname -n) 2>/dev/null | sed 1q`
23061 case $ac_config_headers in *"
23062 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
23066 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23067 # Files that config.status was made for.
23068 config_headers="$ac_config_headers"
23069 config_links="$ac_config_links"
23070 config_commands="$ac_config_commands"
23074 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
23076 \`$as_me' instantiates files and other configuration actions
23077 from templates according to the current configuration. Unless the files
23078 and actions are specified as TAGs, all are instantiated by default.
23080 Usage: $0 [OPTION]... [TAG]...
23082 -h, --help print this help, then exit
23083 -V, --version print version number and configuration settings, then exit
23084 --config print configuration, then exit
23085 -q, --quiet, --silent
23086 do not print progress messages
23087 -d, --debug don't remove temporary files
23088 --recheck update $as_me by reconfiguring in the same conditions
23089 --header=FILE[:TEMPLATE]
23090 instantiate the configuration header FILE
23092 Configuration headers:
23095 Configuration links:
23098 Configuration commands:
23101 Report bugs to <wine-devel@winehq.org>.
23102 Wine home page: <https://www.winehq.org>."
23105 ac_cs_config
=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
23106 ac_cs_config_escaped
=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
23107 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23108 ac_cs_config='$ac_cs_config_escaped'
23110 Wine config.status 7.20
23111 configured by $0, generated by GNU Autoconf 2.71,
23112 with options \\"\$ac_cs_config\\"
23114 Copyright (C) 2021 Free Software Foundation, Inc.
23115 This config.status script is free software; the Free Software Foundation
23116 gives unlimited permission to copy, distribute and modify it."
23120 test -n "\$AWK" || AWK=awk
23123 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
23124 # The default lists apply if the user does not specify any file.
23130 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
23131 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
23135 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
23147 # Handling of the options.
23148 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
23150 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
23151 printf "%s\n" "$ac_cs_version"; exit ;;
23152 --config |
--confi |
--conf |
--con |
--co |
--c )
23153 printf "%s\n" "$ac_cs_config"; exit ;;
23154 --debug |
--debu |
--deb |
--de |
--d |
-d )
23156 --header |
--heade |
--head |
--hea )
23159 *\'*) ac_optarg
=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
23161 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
23162 ac_need_defaults
=false
;;
23164 # Conflict between --help and --header
23165 as_fn_error $?
"ambiguous option: \`$1'
23166 Try \`$0 --help' for more information.";;
23167 --help |
--hel |
-h )
23168 printf "%s\n" "$ac_cs_usage"; exit ;;
23169 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
23170 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
23173 # This is an error.
23174 -*) as_fn_error $?
"unrecognized option: \`$1'
23175 Try \`$0 --help' for more information." ;;
23177 *) as_fn_append ac_config_targets
" $1"
23178 ac_need_defaults
=false
;;
23184 ac_configure_extra_args
=
23186 if $ac_cs_silent; then
23188 ac_configure_extra_args
="$ac_configure_extra_args --silent"
23192 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23193 if \$ac_cs_recheck; then
23194 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
23196 \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
23197 CONFIG_SHELL='$SHELL'
23198 export CONFIG_SHELL
23203 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
23207 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
23208 ## Running $as_me. ##
23210 printf "%s\n" "$ac_log"
23214 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23218 wine_fn_output_makedep ()
23220 as_dir=tools; as_fn_mkdir_p
23221 $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
23223 wine_fn_output_makefile ()
23225 cat <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && "$wine_makedep"$makedep_flags && return
23226 # This Makefile understands the following targets:
23228 # all (default): build wine
23229 # clean: remove all intermediate files
23230 # distclean: also remove all files created by configure
23232 # testclean: clean test results to force running all tests again
23233 # install-lib: install libraries needed to run applications
23234 # install-dev: install development environment
23235 # install: install everything
23236 # uninstall: uninstall everything
23237 # ctags: create a tags file for vim and others.
23238 # etags: create a TAGS file for Emacs.
23241 PATH_SEPARATOR = $PATH_SEPARATOR
23242 PACKAGE_NAME = $PACKAGE_NAME
23243 PACKAGE_TARNAME = $PACKAGE_TARNAME
23244 PACKAGE_VERSION = $PACKAGE_VERSION
23245 PACKAGE_STRING = $PACKAGE_STRING
23246 PACKAGE_BUGREPORT = $PACKAGE_BUGREPORT
23247 PACKAGE_URL = $PACKAGE_URL
23248 exec_prefix = $exec_prefix
23250 program_transform_name = $program_transform_name
23253 libexecdir = $libexecdir
23254 datarootdir = $datarootdir
23256 sysconfdir = $sysconfdir
23257 sharedstatedir = $sharedstatedir
23258 localstatedir = $localstatedir
23259 runstatedir = $runstatedir
23260 includedir = $includedir
23261 oldincludedir = $oldincludedir
23269 localedir = $localedir
23276 build_alias = $build_alias
23277 host_alias = $host_alias
23278 target_alias = $target_alias
23279 system_dllpath = $system_dllpath
23281 build_cpu = $build_cpu
23282 build_vendor = $build_vendor
23283 build_os = $build_os
23285 host_cpu = $host_cpu
23286 host_vendor = $host_vendor
23292 SET_MAKE = $SET_MAKE
23296 CPPFLAGS = $CPPFLAGS
23297 ac_ct_CC = $ac_ct_CC
23301 CXXFLAGS = $CXXFLAGS
23302 ac_ct_CXX = $ac_ct_CXX
23305 TARGETFLAGS = $TARGETFLAGS
23306 toolsext = $toolsext
23307 HOST_ARCH = $HOST_ARCH
23308 aarch64_CC = $aarch64_CC
23309 aarch64_CFLAGS = $aarch64_CFLAGS
23310 aarch64_EXTRACFLAGS = $aarch64_EXTRACFLAGS
23311 aarch64_LDFLAGS = $aarch64_LDFLAGS
23312 aarch64_DEBUG = $aarch64_DEBUG
23313 aarch64_TARGET = $aarch64_TARGET
23314 aarch64_DELAYLOADFLAG = $aarch64_DELAYLOADFLAG
23315 aarch64_DISABLED_SUBDIRS = $aarch64_DISABLED_SUBDIRS
23317 arm_CFLAGS = $arm_CFLAGS
23318 arm_EXTRACFLAGS = $arm_EXTRACFLAGS
23319 arm_LDFLAGS = $arm_LDFLAGS
23320 arm_DEBUG = $arm_DEBUG
23321 arm_TARGET = $arm_TARGET
23322 arm_DELAYLOADFLAG = $arm_DELAYLOADFLAG
23323 arm_DISABLED_SUBDIRS = $arm_DISABLED_SUBDIRS
23325 i386_CFLAGS = $i386_CFLAGS
23326 i386_EXTRACFLAGS = $i386_EXTRACFLAGS
23327 i386_LDFLAGS = $i386_LDFLAGS
23328 i386_DEBUG = $i386_DEBUG
23329 i386_TARGET = $i386_TARGET
23330 i386_DELAYLOADFLAG = $i386_DELAYLOADFLAG
23331 i386_DISABLED_SUBDIRS = $i386_DISABLED_SUBDIRS
23332 x86_64_CC = $x86_64_CC
23333 x86_64_CFLAGS = $x86_64_CFLAGS
23334 x86_64_EXTRACFLAGS = $x86_64_EXTRACFLAGS
23335 x86_64_LDFLAGS = $x86_64_LDFLAGS
23336 x86_64_DEBUG = $x86_64_DEBUG
23337 x86_64_TARGET = $x86_64_TARGET
23338 x86_64_DELAYLOADFLAG = $x86_64_DELAYLOADFLAG
23339 x86_64_DISABLED_SUBDIRS = $x86_64_DISABLED_SUBDIRS
23340 toolsdir = $toolsdir
23342 RUNTESTFLAGS = $RUNTESTFLAGS
23347 ac_ct_AR = $ac_ct_AR
23353 LDCONFIG = $LDCONFIG
23355 PKG_CONFIG = $PKG_CONFIG
23356 FONTFORGE = $FONTFORGE
23360 I386_LIBS = $I386_LIBS
23361 OPENGL_LIBS = $OPENGL_LIBS
23362 DLLFLAGS = $DLLFLAGS
23363 LDDLLFLAGS = $LDDLLFLAGS
23364 LDEXECFLAGS = $LDEXECFLAGS
23365 EXTRACFLAGS = $EXTRACFLAGS
23366 UNIXDLLFLAGS = $UNIXDLLFLAGS
23367 UNIXLDFLAGS = $UNIXLDFLAGS
23368 TOP_INSTALL_LIB = $TOP_INSTALL_LIB
23369 TOP_INSTALL_DEV = $TOP_INSTALL_DEV
23370 WINELOADER_LDFLAGS = $WINELOADER_LDFLAGS
23371 WINEPRELOADER_LDFLAGS = $WINEPRELOADER_LDFLAGS
23376 DISABLED_SUBDIRS = $DISABLED_SUBDIRS
23377 CONFIGURE_TARGETS = $CONFIGURE_TARGETS
23378 WINELOADER_PROGRAMS = $WINELOADER_PROGRAMS
23380 OBJCFLAGS = $OBJCFLAGS
23381 ac_ct_OBJC = $ac_ct_OBJC
23382 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
23383 IOKIT_LIBS = $IOKIT_LIBS
23384 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
23385 CORESERVICES_LIBS = $CORESERVICES_LIBS
23386 APPKIT_LIBS = $APPKIT_LIBS
23387 SYSTEMCONFIGURATION_LIBS = $SYSTEMCONFIGURATION_LIBS
23388 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
23389 SECURITY_LIBS = $SECURITY_LIBS
23390 COREAUDIO_LIBS = $COREAUDIO_LIBS
23391 OPENAL_LIBS = $OPENAL_LIBS
23392 OPENCL_LIBS = $OPENCL_LIBS
23393 CARBON_LIBS = $CARBON_LIBS
23394 METAL_LIBS = $METAL_LIBS
23395 LIBWINE_SHAREDLIB = $LIBWINE_SHAREDLIB
23396 LIBWINE_LDFLAGS = $LIBWINE_LDFLAGS
23397 WINELOADER_DEPENDS = $WINELOADER_DEPENDS
23399 LIBWINE_DEPENDS = $LIBWINE_DEPENDS
23400 PE_ARCHS = $PE_ARCHS
23401 MINGW_PKG_CONFIG = $MINGW_PKG_CONFIG
23402 FAUDIO_PE_CFLAGS = $FAUDIO_PE_CFLAGS
23403 FAUDIO_PE_LIBS = $FAUDIO_PE_LIBS
23404 GSM_PE_CFLAGS = $GSM_PE_CFLAGS
23405 GSM_PE_LIBS = $GSM_PE_LIBS
23406 JPEG_PE_CFLAGS = $JPEG_PE_CFLAGS
23407 JPEG_PE_LIBS = $JPEG_PE_LIBS
23408 JXR_PE_CFLAGS = $JXR_PE_CFLAGS
23409 JXR_PE_LIBS = $JXR_PE_LIBS
23410 LCMS2_PE_CFLAGS = $LCMS2_PE_CFLAGS
23411 LCMS2_PE_LIBS = $LCMS2_PE_LIBS
23412 MPG123_PE_CFLAGS = $MPG123_PE_CFLAGS
23413 MPG123_PE_LIBS = $MPG123_PE_LIBS
23414 PNG_PE_CFLAGS = $PNG_PE_CFLAGS
23415 PNG_PE_LIBS = $PNG_PE_LIBS
23416 TIFF_PE_CFLAGS = $TIFF_PE_CFLAGS
23417 TIFF_PE_LIBS = $TIFF_PE_LIBS
23418 VKD3D_PE_CFLAGS = $VKD3D_PE_CFLAGS
23419 VKD3D_PE_LIBS = $VKD3D_PE_LIBS
23420 XML2_PE_CFLAGS = $XML2_PE_CFLAGS
23421 XML2_PE_LIBS = $XML2_PE_LIBS
23422 XSLT_PE_CFLAGS = $XSLT_PE_CFLAGS
23423 XSLT_PE_LIBS = $XSLT_PE_LIBS
23424 ZLIB_PE_CFLAGS = $ZLIB_PE_CFLAGS
23425 ZLIB_PE_LIBS = $ZLIB_PE_LIBS
23426 PTHREAD_LIBS = $PTHREAD_LIBS
23429 X_CFLAGS = $X_CFLAGS
23430 X_PRE_LIBS = $X_PRE_LIBS
23432 X_EXTRA_LIBS = $X_EXTRA_LIBS
23433 PCAP_LIBS = $PCAP_LIBS
23434 INOTIFY_CFLAGS = $INOTIFY_CFLAGS
23435 INOTIFY_LIBS = $INOTIFY_LIBS
23436 DBUS_CFLAGS = $DBUS_CFLAGS
23437 DBUS_LIBS = $DBUS_LIBS
23438 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
23439 GNUTLS_LIBS = $GNUTLS_LIBS
23440 SANE_CFLAGS = $SANE_CFLAGS
23441 SANE_LIBS = $SANE_LIBS
23442 USB_CFLAGS = $USB_CFLAGS
23443 USB_LIBS = $USB_LIBS
23444 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
23445 GPHOTO2_LIBS = $GPHOTO2_LIBS
23446 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
23447 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
23448 RESOLV_LIBS = $RESOLV_LIBS
23449 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
23450 FREETYPE_LIBS = $FREETYPE_LIBS
23451 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
23452 PULSE_CFLAGS = $PULSE_CFLAGS
23453 PULSE_LIBS = $PULSE_LIBS
23454 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
23455 GSTREAMER_LIBS = $GSTREAMER_LIBS
23456 ALSA_LIBS = $ALSA_LIBS
23457 OSS4_CFLAGS = $OSS4_CFLAGS
23458 OSS4_LIBS = $OSS4_LIBS
23459 UDEV_CFLAGS = $UDEV_CFLAGS
23460 UDEV_LIBS = $UDEV_LIBS
23461 UNWIND_CFLAGS = $UNWIND_CFLAGS
23462 UNWIND_LIBS = $UNWIND_LIBS
23463 SDL2_CFLAGS = $SDL2_CFLAGS
23464 SDL2_LIBS = $SDL2_LIBS
23465 CAPI20_CFLAGS = $CAPI20_CFLAGS
23466 CAPI20_LIBS = $CAPI20_LIBS
23467 CUPS_CFLAGS = $CUPS_CFLAGS
23468 CUPS_LIBS = $CUPS_LIBS
23469 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
23470 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
23471 KRB5_CFLAGS = $KRB5_CFLAGS
23472 KRB5_LIBS = $KRB5_LIBS
23473 GSSAPI_CFLAGS = $GSSAPI_CFLAGS
23474 GSSAPI_LIBS = $GSSAPI_LIBS
23475 PROCSTAT_LIBS = $PROCSTAT_LIBS
23476 NETAPI_CFLAGS = $NETAPI_CFLAGS
23477 NETAPI_LIBS = $NETAPI_LIBS
23478 MSVCRTFLAGS = $MSVCRTFLAGS
23479 DELAYLOADFLAG = $DELAYLOADFLAG
23481 LDAP_CFLAGS = $LDAP_CFLAGS
23482 LDAP_LIBS = $LDAP_LIBS
23483 TAGSFLAGS = $TAGSFLAGS
23485 LTLIBOBJS = $LTLIBOBJS
23489 as_fn_error $? "could not create Makefile" "$LINENO" 5
23494 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
23496 # Handling of arguments.
23497 for ac_config_target
in $ac_config_targets
23499 case $ac_config_target in
23500 "include/config.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/config.h" ;;
23501 "include/stamp-h") CONFIG_COMMANDS
="$CONFIG_COMMANDS include/stamp-h" ;;
23502 "wine") CONFIG_LINKS
="$CONFIG_LINKS wine:tools/winewrapper" ;;
23503 "wine64") CONFIG_LINKS
="$CONFIG_LINKS wine64:tools/winewrapper" ;;
23504 "tools/makedep") CONFIG_COMMANDS
="$CONFIG_COMMANDS tools/makedep" ;;
23505 "Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS Makefile" ;;
23507 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
23512 # If the user did not use the arguments to specify the items to instantiate,
23513 # then the envvar interface is used. Set only those that are not.
23514 # We use the long form for the default assignment because of an extremely
23515 # bizarre bug on SunOS 4.1.3.
23516 if $ac_need_defaults; then
23517 test ${CONFIG_HEADERS+y} || CONFIG_HEADERS
=$config_headers
23518 test ${CONFIG_LINKS+y} || CONFIG_LINKS
=$config_links
23519 test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS
=$config_commands
23522 # Have a temporary directory for convenience. Make it in the build tree
23523 # simply because there is no reason against having it here, and in addition,
23524 # creating and moving files from /tmp can sometimes cause problems.
23525 # Hook for its removal unless debugging.
23526 # Note that there is a small window in which the directory will not be cleaned:
23527 # after its creation but before its name has been assigned to `$tmp'.
23531 trap 'exit_status=$?
23532 : "${ac_tmp:=$tmp}"
23533 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
23535 trap 'as_fn_exit 1' 1 2 13 15
23537 # Create a (secure) tmp directory for tmp files.
23540 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
23544 tmp
=.
/conf$$
-$RANDOM
23545 (umask 077 && mkdir
"$tmp")
23546 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
23549 # Set up the scripts for CONFIG_HEADERS section.
23550 # No need to generate them if there are no CONFIG_HEADERS.
23551 # This happens for instance with `./config.status Makefile'.
23552 if test -n "$CONFIG_HEADERS"; then
23553 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
23557 # Transform confdefs.h into an awk script `defines.awk', embedded as
23558 # here-document in config.status, that substitutes the proper values into
23559 # config.h.in to produce config.h.
23561 # Create a delimiter string that does not exist in confdefs.h, to ease
23562 # handling of long lines.
23564 for ac_last_try
in false false
:; do
23565 ac_tt
=`sed -n "/$ac_delim/p" confdefs.h`
23566 if test -z "$ac_tt"; then
23568 elif $ac_last_try; then
23569 as_fn_error $?
"could not make $CONFIG_HEADERS" "$LINENO" 5
23571 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
23575 # For the awk script, D is an array of macro values keyed by name,
23576 # likewise P contains macro parameters if any. Preserve backslash
23577 # newline sequences.
23579 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
23581 s/.\{148\}/&'"$ac_delim"'/g
23584 s/^[ ]*#[ ]*define[ ][ ]*/ /
23591 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
23593 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
23597 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
23598 D["\1"]=" \3\\\\\\n"\\/p
23600 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
23605 s/.\{148\}/&'"$ac_delim"'/g
23610 s/["\\]/\\&/g; s/^/"/; s/$/"/p
23613 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
23615 ' <confdefs.h |
sed '
23616 s/'"$ac_delim"'/"\\\
23617 "/g' >>$CONFIG_STATUS || ac_write_fail
=1
23619 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23620 for (key in D) D_is_set[key] = 1
23623 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
23625 split(line, arg, " ")
23626 if (arg[1] == "#") {
23630 defundef = substr(arg[1], 2)
23633 split(mac1, mac2, "(") #)
23635 prefix = substr(line, 1, index(line, defundef) - 1)
23636 if (D_is_set[macro]) {
23637 # Preserve the white space surrounding the "#".
23638 print prefix "define", macro P[macro] D[macro]
23641 # Replace #undef with comments. This is necessary, for example,
23642 # in the case of _POSIX_SOURCE, which is predefined and required
23643 # on some systems where configure will not decide to define it.
23644 if (defundef == "undef") {
23645 print "/*", prefix defundef, macro, "*/"
23653 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
23654 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
23655 fi # test -n "$CONFIG_HEADERS"
23658 eval set X
" :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
23663 :[FHLC
]) ac_mode
=$ac_tag; continue;;
23665 case $ac_mode$ac_tag in
23667 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
23668 :[FH
]-) ac_tag
=-:-;;
23669 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
23686 -) ac_f
="$ac_tmp/stdin";;
23687 *) # Look for the file first in the build tree, then in the source tree
23688 # (if the path is not absolute). The absolute path cannot be DOS-style,
23689 # because $ac_f cannot contain `:'.
23693 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
23695 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
23697 case $ac_f in *\'*) ac_f
=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
23698 as_fn_append ac_file_inputs
" '$ac_f'"
23701 # Let's still pretend it is `configure' which instantiates (i.e., don't
23702 # use $as_me), people would be surprised to read:
23703 # /* config.h. Generated by config.status. */
23704 configure_input
='Generated from '`
23705 printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
23707 if test x
"$ac_file" != x-
; then
23708 configure_input
="$ac_file. $configure_input"
23709 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
23710 printf "%s\n" "$as_me: creating $ac_file" >&6;}
23712 # Neutralize special characters interpreted by sed in replacement strings.
23713 case $configure_input in #(
23714 *\
&* |
*\|
* |
*\\* )
23715 ac_sed_conf_input
=`printf "%s\n" "$configure_input" |
23716 sed 's/[\\\\&|]/\\\\&/g'`;; #(
23717 *) ac_sed_conf_input
=$configure_input;;
23721 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
23722 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
23727 ac_dir
=`$as_dirname -- "$ac_file" ||
23728 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23729 X"$ac_file" : 'X\(//\)[^/]' \| \
23730 X"$ac_file" : 'X\(//\)$' \| \
23731 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
23732 printf "%s\n" X"$ac_file" |
23733 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23737 /^X\(\/\/\)[^/].*/{
23750 as_dir
="$ac_dir"; as_fn_mkdir_p
23754 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
23756 ac_dir_suffix
=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
23757 # A ".." for each directory in $ac_dir_suffix.
23758 ac_top_builddir_sub
=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
23759 case $ac_top_builddir_sub in
23760 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
23761 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
23764 ac_abs_top_builddir
=$ac_pwd
23765 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
23766 # for backward compatibility:
23767 ac_top_builddir
=$ac_top_build_prefix
23770 .
) # We are building in place.
23772 ac_top_srcdir
=$ac_top_builddir_sub
23773 ac_abs_top_srcdir
=$ac_pwd ;;
23774 [\\/]* | ?
:[\\/]* ) # Absolute name.
23775 ac_srcdir
=$srcdir$ac_dir_suffix;
23776 ac_top_srcdir
=$srcdir
23777 ac_abs_top_srcdir
=$srcdir ;;
23778 *) # Relative name.
23779 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
23780 ac_top_srcdir
=$ac_top_build_prefix$srcdir
23781 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
23783 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
23792 if test x
"$ac_file" != x-
; then
23794 printf "%s\n" "/* $configure_input */" >&1 \
23795 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
23796 } >"$ac_tmp/config.h" \
23797 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5
23798 if diff "$ac_file" "$ac_tmp/config.h" >/dev
/null
2>&1; then
23799 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
23800 printf "%s\n" "$as_me: $ac_file is unchanged" >&6;}
23803 mv "$ac_tmp/config.h" "$ac_file" \
23804 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5
23807 printf "%s\n" "/* $configure_input */" >&1 \
23808 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
23809 || as_fn_error $?
"could not create -" "$LINENO" 5
23817 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
23820 # Prefer the file from the source tree if names are identical.
23821 if test "$ac_source" = "$ac_file" ||
test ! -r "$ac_source"; then
23822 ac_source
=$srcdir/$ac_source
23825 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
23826 printf "%s\n" "$as_me: linking $ac_source to $ac_file" >&6;}
23828 if test ! -r "$ac_source"; then
23829 as_fn_error $?
"$ac_source: file not found" "$LINENO" 5
23833 # Try a relative symlink, then a hard link, then a copy.
23835 [\\/$
]* | ?
:[\\/]* ) ac_rel_source
=$ac_source ;;
23836 *) ac_rel_source
=$ac_top_build_prefix$ac_source ;;
23838 ln -s "$ac_rel_source" "$ac_file" 2>/dev
/null ||
23839 ln "$ac_source" "$ac_file" 2>/dev
/null ||
23840 cp -p "$ac_source" "$ac_file" ||
23841 as_fn_error $?
"cannot link or copy $ac_source to $ac_file" "$LINENO" 5
23844 :C
) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
23845 printf "%s\n" "$as_me: executing $ac_file commands" >&6;}
23850 case $ac_file$ac_mode in
23851 "include/stamp-h":C
) echo timestamp
> include
/stamp-h
;;
23852 "tools/makedep":C
) wine_fn_output_makedep || as_fn_exit $?
;;
23853 "Makefile":C
) wine_fn_output_makefile Makefile
;;
23861 ac_clean_files
=$ac_clean_files_save
23863 test $ac_write_fail = 0 ||
23864 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
23867 # configure is writing to config.log, and then calls config.status.
23868 # config.status does its own redirection, appending to config.log.
23869 # Unfortunately, on DOS this fails, as config.log is still kept open
23870 # by configure, so config.status won't be able to write to it; its
23871 # output is simply discarded. So we exec the FD to /dev/null,
23872 # effectively closing config.log, so it can be properly (re)opened and
23873 # appended to by config.status. When coming back to configure, we
23874 # need to make the FD available again.
23875 if test "$no_create" != yes; then
23877 ac_config_status_args
=
23878 test "$silent" = yes &&
23879 ac_config_status_args
="$ac_config_status_args --quiet"
23881 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
23883 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
23884 # would make configure fail if this is the last instruction.
23885 $ac_cs_success || as_fn_exit
1
23887 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
23888 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
23889 printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
23893 if test "$no_create" = "yes"
23899 if test "x$wine_notices" != x
; then
23902 for msg
in $wine_notices; do
23908 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $msg" >&5
23909 printf "%s\n" "$as_me: $msg" >&6;}
23914 for msg
in $wine_warnings; do
23921 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
23922 printf "%s\n" "$as_me: WARNING: $msg" >&2;}
23928 $as_me: Finished. Do '${ac_make}' to compile Wine.