2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.71 for Wine 8.2.
5 # Report bugs to <wine-devel@winehq.org>.
8 # Copyright (C) 1992-1996, 1998-2017, 2020-2021 Free Software Foundation,
12 # This configure script is free software; the Free Software Foundation
13 # gives unlimited permission to copy, distribute and modify it.
14 ## -------------------- ##
15 ## M4sh Initialization. ##
16 ## -------------------- ##
18 # Be more Bourne compatible
19 DUALCASE
=1; export DUALCASE
# for MKS sh
21 if test ${ZSH_VERSION+y} && (emulate sh
) >/dev
/null
2>&1
25 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
26 # is contrary to our usage. Disable this feature.
27 alias -g '${1+"$@"}'='"$@"'
30 case `(set -o) 2>/dev/null` in #(
40 # Reset variables that may have inherited troublesome values from
43 # IFS needs to be set, to space, tab, and newline, in precisely that order.
44 # (If _AS_PATH_WALK were called with IFS unset, it would have the
45 # side effect of setting IFS to empty, thus disabling word splitting.)
46 # Quoting is to prevent editors from complaining about space-tab.
56 # Ensure predictable behavior from utilities with locale-dependent output.
62 # We cannot yet rely on "unset" to work, but we need these variables
63 # to be unset--not just set to an empty or harmless value--now, to
64 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
65 # also avoids known problems related to "unset" and subshell syntax
66 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
67 for as_var
in BASH_ENV ENV MAIL MAILPATH CDPATH
68 do eval test \
${$as_var+y} \
69 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
72 # Ensure that fds 0, 1, and 2 are open.
73 if (exec 3>&0) 2>/dev
/null
; then :; else exec 0</dev
/null
; fi
74 if (exec 3>&1) 2>/dev
/null
; then :; else exec 1>/dev
/null
; fi
75 if (exec 3>&2) ; then :; else exec 2>/dev
/null
; fi
77 # The user is always right.
78 if ${PATH_SEPARATOR+false} :; then
80 (PATH
='/bin;/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 && {
81 (PATH
='/bin:/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 ||
87 # Find who we are. Look in the path if we contain no directory separator.
90 *[\\/]* ) as_myself
=$0 ;;
91 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
100 test -r "$as_dir$0" && as_myself
=$as_dir$0 && break
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x
; then
111 if test ! -f "$as_myself"; then
112 printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
117 # Use a proper internal environment variable to ensure we don't fall
118 # into an infinite loop, continuously re-executing ourselves.
119 if test x
"${_as_can_reexec}" != xno
&& test "x$CONFIG_SHELL" != x
; then
120 _as_can_reexec
=no
; export _as_can_reexec
;
121 # We cannot yet assume a decent shell, so we have to provide a
122 # neutralization value for shells without unset; and this also
123 # works around shells that cannot unset nonexistent variables.
124 # Preserve -v and -x to the replacement shell.
127 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
129 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
134 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
135 # Admittedly, this is quite paranoid, since all the known shells bail
136 # out after a failed `exec'.
137 printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
140 # We don't want this to propagate to other subprocesses.
141 { _as_can_reexec
=; unset _as_can_reexec
;}
142 if test "x$CONFIG_SHELL" = x
; then
143 as_bourne_compatible
="as_nop=:
144 if test \${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
148 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
149 # is contrary to our usage. Disable this feature.
150 alias -g '\${1+\"\$@\"}'='\"\$@\"'
153 case \`(set -o) 2>/dev/null\` in #(
161 as_required
="as_fn_return () { (exit \$1); }
162 as_fn_success () { as_fn_return 0; }
163 as_fn_failure () { as_fn_return 1; }
164 as_fn_ret_success () { return 0; }
165 as_fn_ret_failure () { return 1; }
168 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
169 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
170 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
171 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
172 if ( set x; as_fn_ret_success y && test x = \"\$1\" )
176 exitcode=1; echo positional parameters were not saved.
178 test x\$exitcode = x0 || exit 1
179 blah=\$(echo \$(echo blah))
180 test x\"\$blah\" = xblah || exit 1
182 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
183 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
184 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
185 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
186 test \$(( 1 + 1 )) = 2 || exit 1"
187 if (eval "$as_required") 2>/dev
/null
193 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
197 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
199 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
205 *) as_dir
=$as_dir/ ;;
210 for as_base
in sh bash ksh sh5
; do
211 # Try only shells that exist, to save several forks.
212 as_shell
=$as_dir$as_base
213 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
214 as_run
=a
"$as_shell" -c "$as_bourne_compatible""$as_required" 2>/dev
/null
216 CONFIG_SHELL
=$as_shell as_have_required
=yes
217 if as_run
=a
"$as_shell" -c "$as_bourne_compatible""$as_suggested" 2>/dev
/null
231 if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
232 as_run
=a
"$SHELL" -c "$as_bourne_compatible""$as_required" 2>/dev
/null
234 CONFIG_SHELL
=$SHELL as_have_required
=yes
239 if test "x$CONFIG_SHELL" != x
242 # We cannot yet assume a decent shell, so we have to provide a
243 # neutralization value for shells without unset; and this also
244 # works around shells that cannot unset nonexistent variables.
245 # Preserve -v and -x to the replacement shell.
248 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
250 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
255 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
256 # Admittedly, this is quite paranoid, since all the known shells bail
257 # out after a failed `exec'.
258 printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
262 if test x
$as_have_required = xno
264 printf "%s\n" "$0: This script requires a shell more modern than all"
265 printf "%s\n" "$0: the shells that I found on your system."
266 if test ${ZSH_VERSION+y} ; then
267 printf "%s\n" "$0: In particular, zsh $ZSH_VERSION has bugs and should"
268 printf "%s\n" "$0: be upgraded to zsh 4.3.4 or later."
270 printf "%s\n" "$0: Please tell bug-autoconf@gnu.org and
271 $0: wine-devel@winehq.org about your system, including any
272 $0: error possibly output before this message. Then install
273 $0: a modern shell, or manually run the script under such a
274 $0: shell if you do have one."
280 SHELL
=${CONFIG_SHELL-/bin/sh}
282 # Unset more variables known to interfere with behavior of common tools.
283 CLICOLOR_FORCE
= GREP_OPTIONS
=
284 unset CLICOLOR_FORCE GREP_OPTIONS
286 ## --------------------- ##
287 ## M4sh Shell Functions. ##
288 ## --------------------- ##
291 # Portably unset VAR.
294 { eval $1=; unset $1;}
299 # as_fn_set_status STATUS
300 # -----------------------
301 # Set $? to STATUS, without forking.
309 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
318 # Do nothing but, unlike ":", preserve the value of $?.
327 # Create "$as_dir" as a directory, including parents if necessary.
332 -*) as_dir
=.
/$as_dir;;
334 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
338 *\'*) as_qdir
=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
341 as_dirs
="'$as_qdir' $as_dirs"
342 as_dir
=`$as_dirname -- "$as_dir" ||
343 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
344 X"$as_dir" : 'X\(//\)[^/]' \| \
345 X"$as_dir" : 'X\(//\)$' \| \
346 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
347 printf "%s\n" X"$as_dir" |
348 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
365 test -d "$as_dir" && break
367 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
368 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
373 # as_fn_executable_p FILE
374 # -----------------------
375 # Test if FILE is an executable regular file.
376 as_fn_executable_p
()
378 test -f "$1" && test -x "$1"
379 } # as_fn_executable_p
380 # as_fn_append VAR VALUE
381 # ----------------------
382 # Append the text in VALUE to the end of the definition contained in VAR. Take
383 # advantage of any shell optimizations that allow amortized linear growth over
384 # repeated appends, instead of the typical quadratic growth present in naive
386 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
388 eval 'as_fn_append ()
401 # Perform arithmetic evaluation on the ARGs, and store the result in the
402 # global $as_val. Take advantage of shells that can avoid forks. The arguments
403 # must be portable across $(()) and expr.
404 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
413 as_val
=`expr "$@" || test $? -eq 1`
419 # Do nothing but, unlike ":", preserve the value of $?.
426 # as_fn_error STATUS ERROR [LINENO LOG_FD]
427 # ----------------------------------------
428 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
429 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
430 # script with STATUS, using 1 if that was 0.
433 as_status
=$1; test $as_status -eq 0 && as_status
=1
435 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
436 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
438 printf "%s\n" "$as_me: error: $2" >&2
439 as_fn_exit
$as_status
442 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
443 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
449 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
455 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
461 as_me
=`$as_basename -- "$0" ||
462 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
463 X"$0" : 'X\(//\)$' \| \
464 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
465 printf "%s\n" X/"$0" |
466 sed '/^.*\/\([^/][^/]*\)\/*$/{
480 # Avoid depending upon Character Ranges.
481 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
482 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
483 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
484 as_cr_digits
='0123456789'
485 as_cr_alnum
=$as_cr_Letters$as_cr_digits
488 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
489 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
490 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
491 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
492 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
504 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
508 chmod +x
"$as_me.lineno" ||
509 { printf "%s\n" "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
511 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
512 # already done that, so ensure we don't try to do so again and fall
513 # in an infinite loop. This has already happened in practice.
514 _as_can_reexec
=no
; export _as_can_reexec
515 # Don't try to exec as it changes $[0], causing all sort of problems
516 # (the dirname of $[0] is not the place where we might find the
517 # original and so on. Autoconf is especially sensitive to this).
519 # Exit status is that of the last command.
524 # Determine whether it's possible to make 'echo' print without a newline.
525 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
526 # for compatibility with existing Makefiles.
527 ECHO_C
= ECHO_N
= ECHO_T
=
528 case `echo -n x` in #(((((
530 case `echo 'xy\c'` in
531 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
533 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
540 # For backward compatibility with old third-party macros, we provide
541 # the shell variables $as_echo and $as_echo_n. New code should use
542 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
543 as_echo
='printf %s\n'
544 as_echo_n
='printf %s'
547 rm -f conf$$ conf$$.exe conf$$.
file
548 if test -d conf$$.dir
; then
549 rm -f conf$$.dir
/conf$$.
file
552 mkdir conf$$.dir
2>/dev
/null
554 if (echo >conf$$.
file) 2>/dev
/null
; then
555 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
557 # ... but there are two gotchas:
558 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
559 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
560 # In both cases, we have to default to `cp -pR'.
561 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
563 elif ln conf$$.
file conf$$
2>/dev
/null
; then
571 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
572 rmdir conf$$.dir
2>/dev
/null
574 if mkdir
-p .
2>/dev
/null
; then
575 as_mkdir_p
='mkdir -p "$as_dir"'
577 test -d .
/-p && rmdir .
/-p
582 as_executable_p
=as_fn_executable_p
584 # Sed expression to map a string onto a valid CPP name.
585 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
587 # Sed expression to map a string onto a valid variable name.
588 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
591 test -n "$DJDIR" ||
exec 7<&0 </dev
/null
595 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
596 # so uname gets run too.
597 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
602 ac_default_prefix
=/usr
/local
604 ac_config_libobj_dir
=.
611 # Identity of this package.
613 PACKAGE_TARNAME
='wine'
614 PACKAGE_VERSION
='8.2'
615 PACKAGE_STRING
='Wine 8.2'
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
754 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
1183 enable_light_msstyles
1198 enable_mfmediaengine
1263 enable_msvcp140_atomic_wait
1329 enable_photometadatahandler
1406 enable_threadpoolwinrt
1412 enable_uiautomationcore
1432 enable_vcruntime140_1
1450 enable_windows_devices_enumeration
1451 enable_windows_gaming_input
1452 enable_windows_gaming_ui_gamebar
1453 enable_windows_globalization
1454 enable_windows_media_devices
1455 enable_windows_media_speech
1456 enable_windows_media
1457 enable_windows_networking
1458 enable_windows_system_profile_systemmanufacturers
1460 enable_windowscodecs
1461 enable_windowscodecsext
1463 enable_wineandroid_drv
1465 enable_winecoreaudio_drv
1468 enable_winegstreamer
1474 enable_winepulse_drv
1478 enable_winexinput_sys
1524 enable_xactengine2_0
1525 enable_xactengine2_4
1526 enable_xactengine2_7
1527 enable_xactengine2_9
1528 enable_xactengine3_0
1529 enable_xactengine3_1
1530 enable_xactengine3_2
1531 enable_xactengine3_3
1532 enable_xactengine3_4
1533 enable_xactengine3_5
1534 enable_xactengine3_6
1535 enable_xactengine3_7
1584 enable_wmcodecdspuuid
1592 enable_aspnet_regiis
1638 enable_presentationfontcache
1653 enable_servicemodelreg
1679 enable_winemenubuilder
1681 enable_winemsibuilder
1706 ac_precious_vars
='build_alias
1787 # Initialize some variables set by options.
1789 ac_init_version
=false
1790 ac_unrecognized_opts
=
1791 ac_unrecognized_sep
=
1792 # The variables have the same names as the options, with
1793 # dashes changed to underlines.
1794 cache_file
=/dev
/null
1801 program_transform_name
=s
,x
,x
,
1809 # Installation directory options.
1810 # These are left unexpanded so users can "make install exec_prefix=/foo"
1811 # and all the variables that are supposed to be based on exec_prefix
1812 # by default will actually change.
1813 # Use braces instead of parens because sh, perl, etc. also accept them.
1814 # (The list follows the same order as the GNU Coding Standards.)
1815 bindir
='${exec_prefix}/bin'
1816 sbindir
='${exec_prefix}/sbin'
1817 libexecdir
='${exec_prefix}/libexec'
1818 datarootdir
='${prefix}/share'
1819 datadir
='${datarootdir}'
1820 sysconfdir
='${prefix}/etc'
1821 sharedstatedir
='${prefix}/com'
1822 localstatedir
='${prefix}/var'
1823 runstatedir
='${localstatedir}/run'
1824 includedir
='${prefix}/include'
1825 oldincludedir
='/usr/include'
1826 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
1827 infodir
='${datarootdir}/info'
1832 libdir
='${exec_prefix}/lib'
1833 localedir
='${datarootdir}/locale'
1834 mandir
='${datarootdir}/man'
1840 # If the previous option needs an argument, assign it.
1841 if test -n "$ac_prev"; then
1842 eval $ac_prev=\
$ac_option
1848 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1853 case $ac_dashdash$ac_option in
1857 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
1859 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
1860 bindir
=$ac_optarg ;;
1862 -build |
--build |
--buil |
--bui |
--bu)
1863 ac_prev
=build_alias
;;
1864 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
1865 build_alias
=$ac_optarg ;;
1867 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
1868 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
1869 ac_prev
=cache_file
;;
1870 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
1871 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
1872 cache_file
=$ac_optarg ;;
1874 --config-cache |
-C)
1875 cache_file
=config.cache
;;
1877 -datadir |
--datadir |
--datadi |
--datad)
1879 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
1880 datadir
=$ac_optarg ;;
1882 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1883 |
--dataroo |
--dataro |
--datar)
1884 ac_prev
=datarootdir
;;
1885 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1886 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1887 datarootdir
=$ac_optarg ;;
1889 -disable-* |
--disable-*)
1890 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1891 # Reject names that are not valid shell variable names.
1892 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1893 as_fn_error $?
"invalid feature name: \`$ac_useropt'"
1894 ac_useropt_orig
=$ac_useropt
1895 ac_useropt
=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1896 case $ac_user_opts in
1898 "enable_
$ac_useropt"
1900 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1901 ac_unrecognized_sep
=', ';;
1903 eval enable_
$ac_useropt=no
;;
1905 -docdir |
--docdir |
--docdi |
--doc |
--do)
1907 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1908 docdir
=$ac_optarg ;;
1910 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1912 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1913 dvidir
=$ac_optarg ;;
1915 -enable-* |
--enable-*)
1916 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1917 # Reject names that are not valid shell variable names.
1918 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1919 as_fn_error $?
"invalid feature name: \`$ac_useropt'"
1920 ac_useropt_orig
=$ac_useropt
1921 ac_useropt
=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1922 case $ac_user_opts in
1924 "enable_
$ac_useropt"
1926 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1927 ac_unrecognized_sep
=', ';;
1929 eval enable_
$ac_useropt=\
$ac_optarg ;;
1931 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1932 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1933 |
--exec |
--exe |
--ex)
1934 ac_prev
=exec_prefix
;;
1935 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1936 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1937 |
--exec=* |
--exe=* |
--ex=*)
1938 exec_prefix
=$ac_optarg ;;
1940 -gas |
--gas |
--ga |
--g)
1941 # Obsolete; use --with-gas.
1944 -help |
--help |
--hel |
--he |
-h)
1945 ac_init_help
=long
;;
1946 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1947 ac_init_help
=recursive
;;
1948 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1949 ac_init_help
=short
;;
1951 -host |
--host |
--hos |
--ho)
1952 ac_prev
=host_alias
;;
1953 -host=* |
--host=* |
--hos=* |
--ho=*)
1954 host_alias
=$ac_optarg ;;
1956 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1958 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1960 htmldir
=$ac_optarg ;;
1962 -includedir |
--includedir |
--includedi |
--included |
--include \
1963 |
--includ |
--inclu |
--incl |
--inc)
1964 ac_prev
=includedir
;;
1965 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1966 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1967 includedir
=$ac_optarg ;;
1969 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1971 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1972 infodir
=$ac_optarg ;;
1974 -libdir |
--libdir |
--libdi |
--libd)
1976 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1977 libdir
=$ac_optarg ;;
1979 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1980 |
--libexe |
--libex |
--libe)
1981 ac_prev
=libexecdir
;;
1982 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1983 |
--libexe=* |
--libex=* |
--libe=*)
1984 libexecdir
=$ac_optarg ;;
1986 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1987 ac_prev
=localedir
;;
1988 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1989 localedir
=$ac_optarg ;;
1991 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1992 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1993 ac_prev
=localstatedir
;;
1994 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1995 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1996 localstatedir
=$ac_optarg ;;
1998 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
2000 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
2001 mandir
=$ac_optarg ;;
2003 -nfp |
--nfp |
--nf)
2004 # Obsolete; use --without-fp.
2007 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
2008 |
--no-cr |
--no-c |
-n)
2011 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
2012 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
2015 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
2016 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
2017 |
--oldin |
--oldi |
--old |
--ol |
--o)
2018 ac_prev
=oldincludedir
;;
2019 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
2020 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
2021 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
2022 oldincludedir
=$ac_optarg ;;
2024 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
2026 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
2027 prefix
=$ac_optarg ;;
2029 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
2030 |
--program-pre |
--program-pr |
--program-p)
2031 ac_prev
=program_prefix
;;
2032 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
2033 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
2034 program_prefix
=$ac_optarg ;;
2036 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
2037 |
--program-suf |
--program-su |
--program-s)
2038 ac_prev
=program_suffix
;;
2039 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
2040 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
2041 program_suffix
=$ac_optarg ;;
2043 -program-transform-name |
--program-transform-name \
2044 |
--program-transform-nam |
--program-transform-na \
2045 |
--program-transform-n |
--program-transform- \
2046 |
--program-transform |
--program-transfor \
2047 |
--program-transfo |
--program-transf \
2048 |
--program-trans |
--program-tran \
2049 |
--progr-tra |
--program-tr |
--program-t)
2050 ac_prev
=program_transform_name
;;
2051 -program-transform-name=* |
--program-transform-name=* \
2052 |
--program-transform-nam=* |
--program-transform-na=* \
2053 |
--program-transform-n=* |
--program-transform-=* \
2054 |
--program-transform=* |
--program-transfor=* \
2055 |
--program-transfo=* |
--program-transf=* \
2056 |
--program-trans=* |
--program-tran=* \
2057 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
2058 program_transform_name
=$ac_optarg ;;
2060 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
2062 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
2063 pdfdir
=$ac_optarg ;;
2065 -psdir |
--psdir |
--psdi |
--psd |
--ps)
2067 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
2070 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2071 |
-silent |
--silent |
--silen |
--sile |
--sil)
2074 -runstatedir |
--runstatedir |
--runstatedi |
--runstated \
2075 |
--runstate |
--runstat |
--runsta |
--runst |
--runs \
2076 |
--run |
--ru |
--r)
2077 ac_prev
=runstatedir
;;
2078 -runstatedir=* |
--runstatedir=* |
--runstatedi=* |
--runstated=* \
2079 |
--runstate=* |
--runstat=* |
--runsta=* |
--runst=* |
--runs=* \
2080 |
--run=* |
--ru=* |
--r=*)
2081 runstatedir
=$ac_optarg ;;
2083 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
2085 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
2087 sbindir
=$ac_optarg ;;
2089 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
2090 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
2091 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
2093 ac_prev
=sharedstatedir
;;
2094 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
2095 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
2096 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
2098 sharedstatedir
=$ac_optarg ;;
2100 -site |
--site |
--sit)
2102 -site=* |
--site=* |
--sit=*)
2105 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
2107 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
2108 srcdir
=$ac_optarg ;;
2110 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
2111 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
2112 ac_prev
=sysconfdir
;;
2113 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
2114 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
2115 sysconfdir
=$ac_optarg ;;
2117 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
2118 ac_prev
=target_alias
;;
2119 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
2120 target_alias
=$ac_optarg ;;
2122 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
2125 -version |
--version |
--versio |
--versi |
--vers |
-V)
2126 ac_init_version
=: ;;
2129 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2130 # Reject names that are not valid shell variable names.
2131 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
2132 as_fn_error $?
"invalid package name: \`$ac_useropt'"
2133 ac_useropt_orig
=$ac_useropt
2134 ac_useropt
=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
2135 case $ac_user_opts in
2139 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2140 ac_unrecognized_sep
=', ';;
2142 eval with_
$ac_useropt=\
$ac_optarg ;;
2144 -without-* |
--without-*)
2145 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2146 # Reject names that are not valid shell variable names.
2147 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
2148 as_fn_error $?
"invalid package name: \`$ac_useropt'"
2149 ac_useropt_orig
=$ac_useropt
2150 ac_useropt
=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
2151 case $ac_user_opts in
2155 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2156 ac_unrecognized_sep
=', ';;
2158 eval with_
$ac_useropt=no
;;
2161 # Obsolete; use --with-x.
2164 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
2165 |
--x-incl |
--x-inc |
--x-in |
--x-i)
2166 ac_prev
=x_includes
;;
2167 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
2168 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
2169 x_includes
=$ac_optarg ;;
2171 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
2172 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
2173 ac_prev
=x_libraries
;;
2174 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
2175 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
2176 x_libraries
=$ac_optarg ;;
2178 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
2179 Try \`$0 --help' for more information"
2183 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
2184 # Reject names that are not valid shell variable names.
2185 case $ac_envvar in #(
2186 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
2187 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
2189 eval $ac_envvar=\
$ac_optarg
2190 export $ac_envvar ;;
2193 # FIXME: should be removed in autoconf 3.0.
2194 printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
2195 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
2196 printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
2197 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2203 if test -n "$ac_prev"; then
2204 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
2205 as_fn_error $?
"missing argument to $ac_option"
2208 if test -n "$ac_unrecognized_opts"; then
2209 case $enable_option_checking in
2211 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
2212 *) printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2216 # Check all directory arguments for consistency.
2217 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2218 datadir sysconfdir sharedstatedir localstatedir includedir \
2219 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2220 libdir localedir mandir runstatedir
2222 eval ac_val
=\$
$ac_var
2223 # Remove trailing slashes.
2226 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2227 eval $ac_var=\
$ac_val;;
2229 # Be sure to have absolute directory names.
2231 [\\/$
]* | ?
:[\\/]* ) continue;;
2232 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
2234 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
2237 # There might be people who depend on the old broken behavior: `$host'
2238 # used to hold the argument of --host etc.
2239 # FIXME: To remove some day.
2242 target
=$target_alias
2244 # FIXME: To remove some day.
2245 if test "x$host_alias" != x
; then
2246 if test "x$build_alias" = x
; then
2247 cross_compiling
=maybe
2248 elif test "x$build_alias" != "x$host_alias"; then
2254 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
2256 test "$silent" = yes && exec 6>/dev
/null
2259 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
2260 ac_ls_di
=`ls -di .` &&
2261 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
2262 as_fn_error $?
"working directory cannot be determined"
2263 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2264 as_fn_error $?
"pwd does not report name of working directory"
2267 # Find the source files, if location was not specified.
2268 if test -z "$srcdir"; then
2269 ac_srcdir_defaulted
=yes
2270 # Try the directory containing this script, then the parent directory.
2271 ac_confdir
=`$as_dirname -- "$as_myself" ||
2272 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2273 X"$as_myself" : 'X\(//\)[^/]' \| \
2274 X"$as_myself" : 'X\(//\)$' \| \
2275 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2276 printf "%s\n" X"$as_myself" |
2277 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2295 if test ! -r "$srcdir/$ac_unique_file"; then
2299 ac_srcdir_defaulted
=no
2301 if test ! -r "$srcdir/$ac_unique_file"; then
2302 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
2303 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
2305 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
2307 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2309 # When building in place, set srcdir=.
2310 if test "$ac_abs_confdir" = "$ac_pwd"; then
2313 # Remove unnecessary trailing slashes from srcdir.
2314 # Double slashes in file names in object file debugging info
2315 # mess up M-x gdb in Emacs.
2317 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2319 for ac_var
in $ac_precious_vars; do
2320 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
2321 eval ac_env_
${ac_var}_value
=\$
${ac_var}
2322 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
2323 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
2327 # Report the --help message.
2329 if test "$ac_init_help" = "long"; then
2330 # Omit some internal or obsolete options to make the list less imposing.
2331 # This message is too long to be a string in the A/UX 3.1 sh.
2333 \`configure' configures Wine 8.2 to adapt to many kinds of systems.
2335 Usage: $0 [OPTION]... [VAR=VALUE]...
2337 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2338 VAR=VALUE. See below for descriptions of some of the useful variables.
2340 Defaults for the options are specified in brackets.
2343 -h, --help display this help and exit
2344 --help=short display options specific to this package
2345 --help=recursive display the short help of all the included packages
2346 -V, --version display version information and exit
2347 -q, --quiet, --silent do not print \`checking ...' messages
2348 --cache-file=FILE cache test results in FILE [disabled]
2349 -C, --config-cache alias for \`--cache-file=config.cache'
2350 -n, --no-create do not create output files
2351 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2353 Installation directories:
2354 --prefix=PREFIX install architecture-independent files in PREFIX
2355 [$ac_default_prefix]
2356 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2359 By default, \`make install' will install all the files in
2360 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2361 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2362 for instance \`--prefix=\$HOME'.
2364 For better control, use the options below.
2366 Fine tuning of the installation directories:
2367 --bindir=DIR user executables [EPREFIX/bin]
2368 --sbindir=DIR system admin executables [EPREFIX/sbin]
2369 --libexecdir=DIR program executables [EPREFIX/libexec]
2370 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2371 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2372 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2373 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2374 --libdir=DIR object code libraries [EPREFIX/lib]
2375 --includedir=DIR C header files [PREFIX/include]
2376 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2377 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2378 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2379 --infodir=DIR info documentation [DATAROOTDIR/info]
2380 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2381 --mandir=DIR man documentation [DATAROOTDIR/man]
2382 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2383 --htmldir=DIR html documentation [DOCDIR]
2384 --dvidir=DIR dvi documentation [DOCDIR]
2385 --pdfdir=DIR pdf documentation [DOCDIR]
2386 --psdir=DIR ps documentation [DOCDIR]
2392 --x-includes=DIR X include files are
in DIR
2393 --x-libraries=DIR X library files are
in DIR
2396 --build=BUILD configure
for building on BUILD
[guessed
]
2397 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
2401 if test -n "$ac_init_help"; then
2402 case $ac_init_help in
2403 short | recursive
) echo "Configuration of Wine 8.2:";;
2408 --disable-option-checking ignore unrecognized
--enable/--with options
2409 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
2410 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
2411 --enable-archs={i386
,x86_64
,arm
,aarch64
}
2412 enable multiple architectures
for PE compilation
2413 --disable-win16 do not include Win16 support
2414 --enable-win64 build a Win64 emulator on AMD64
(won
't run Win32
2416 --disable-tests do not build the regression tests
2417 --enable-build-id include .buildid section in output objects
2418 --enable-maintainer-mode
2419 enable maintainer-specific build rules
2420 --enable-silent-rules use silent build rules (override: "make V=1")
2421 --enable-werror treat compilation warnings as errors
2422 --disable-largefile omit support for large files
2425 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2426 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2427 --without-alsa do not use the Alsa sound support
2428 --without-capi do not use CAPI (ISDN support)
2429 --without-coreaudio do not use the CoreAudio sound support
2430 --without-cups do not use CUPS
2431 --without-dbus do not use DBus (dynamic device support)
2432 --with-float-abi=abi specify the ABI (soft|softfp|hard) for ARM platforms
2433 --without-fontconfig do not use fontconfig
2434 --without-freetype do not use the FreeType library
2435 --without-gettext do not use gettext
2436 --with-gettextpo use the GetTextPO library to rebuild po files
2437 --without-gphoto do not use gphoto (Digital Camera support)
2438 --without-gnutls do not use GnuTLS (schannel support)
2439 --without-gssapi do not use GSSAPI (Kerberos SSP support)
2440 --without-gstreamer do not use GStreamer (codecs support)
2441 --without-inotify do not use inotify (filesystem change notifications)
2442 --without-krb5 do not use krb5 (Kerberos)
2443 --without-mingw do not use the MinGW cross-compiler
2444 --without-netapi do not use the Samba NetAPI library
2445 --without-opencl do not use OpenCL
2446 --without-opengl do not use OpenGL
2447 --without-osmesa do not use the OSMesa library
2448 --without-oss do not use the OSS sound support
2449 --without-pcap do not use the Packet Capture library
2450 --without-pcsclite do not use PCSC lite
2451 --without-pthread do not use the pthread library
2452 --without-pulse do not use PulseAudio sound support
2453 --without-sane do not use SANE (scanner support)
2454 --without-sdl do not use SDL
2455 --without-udev do not use udev (plug and play support)
2456 --without-unwind do not use the libunwind library (exception
2458 --without-usb do not use the libusb library
2459 --without-v4l2 do not use v4l2 (video capture)
2460 --without-vulkan do not use Vulkan
2461 --without-xcomposite do not use the Xcomposite extension
2462 --without-xcursor do not use the Xcursor extension
2463 --without-xfixes do not use Xfixes for clipboard change notifications
2464 --without-xinerama do not use Xinerama (legacy multi-monitor support)
2465 --without-xinput do not use the Xinput extension
2466 --without-xinput2 do not use the Xinput 2 extension
2467 --without-xrandr do not use Xrandr (multi-monitor support)
2468 --without-xrender do not use the Xrender extension
2469 --without-xshape do not use the Xshape extension
2470 --without-xshm do not use XShm (shared memory extension)
2471 --without-xxf86vm do not use XFree video mode extension
2472 --with-system-dllpath=PATH
2473 load external PE dependencies from colon-separated
2475 --with-wine-tools=DIR use Wine tools from directory DIR
2476 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2477 --with-x use the X Window System
2479 Some influential environment variables:
2480 CC C compiler command
2481 CFLAGS C compiler flags
2482 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2483 nonstandard directory <lib dir>
2484 LIBS libraries to pass to the linker, e.g. -l<library>
2485 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2486 you have headers in a nonstandard directory <include dir>
2487 CXX C++ compiler command
2488 CXXFLAGS C++ compiler flags
2489 OBJC Objective C compiler command
2490 OBJCFLAGS Objective C compiler flags
2492 C compiler flags for the PE faudio, overriding the bundled
2495 Linker flags for the PE faudio, overriding the bundled version
2497 C compiler flags for the PE gsm, overriding the bundled version
2498 GSM_PE_LIBS Linker flags for the PE gsm, overriding the bundled version
2500 C compiler flags for the PE jpeg, overriding the bundled version
2502 Linker flags for the PE jpeg, overriding the bundled version
2504 C compiler flags for the PE jxr, overriding the bundled version
2505 JXR_PE_LIBS Linker flags for the PE jxr, overriding the bundled version
2507 C compiler flags for the PE lcms2, overriding the bundled
2510 Linker flags for the PE lcms2, overriding the bundled version
2512 C compiler flags for the PE ldap, overriding the bundled version
2514 Linker flags for the PE ldap, overriding the bundled version
2516 C compiler flags for the PE mpg123, overriding the bundled
2519 Linker flags for the PE mpg123, overriding the bundled version
2521 C compiler flags for the PE png, overriding the bundled version
2522 PNG_PE_LIBS Linker flags for the PE png, overriding the bundled version
2524 C compiler flags for the PE tiff, overriding the bundled version
2526 Linker flags for the PE tiff, overriding the bundled version
2528 C compiler flags for the PE vkd3d, overriding the bundled
2531 Linker flags for the PE vkd3d, overriding the bundled version
2533 C compiler flags for the PE xml2, overriding the bundled version
2535 Linker flags for the PE xml2, overriding the bundled version
2537 C compiler flags for the PE xslt, overriding the bundled version
2539 Linker flags for the PE xslt, overriding the bundled version
2541 C compiler flags for the PE zlib, overriding the bundled version
2543 Linker flags for the PE zlib, overriding the bundled version
2544 XMKMF Path to xmkmf, Makefile generator for X Window System
2547 C compiler flags for libinotify, overriding pkg-config
2549 Linker flags for libinotify, overriding pkg-config
2550 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2551 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2553 C compiler flags for gnutls, overriding pkg-config
2554 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2555 SANE_CFLAGS C compiler flags for sane-backends, overriding pkg-config
2556 SANE_LIBS Linker flags for sane-backends, overriding pkg-config
2557 USB_CFLAGS C compiler flags for libusb-1.0, overriding pkg-config
2558 USB_LIBS Linker flags for libusb-1.0, overriding pkg-config
2560 C compiler flags for libgphoto2, overriding pkg-config
2562 Linker flags for libgphoto2, overriding pkg-config
2564 C compiler flags for libgphoto2_port, overriding pkg-config
2566 Linker flags for libgphoto2_port, overriding pkg-config
2568 C compiler flags for freetype2, overriding pkg-config
2570 Linker flags for freetype2, overriding pkg-config
2572 C compiler flags for libpulse, overriding pkg-config
2573 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2575 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2576 gstreamer-audio-1.0 gstreamer-tag-1.0, overriding pkg-config
2578 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2579 gstreamer-audio-1.0 gstreamer-tag-1.0, overriding pkg-config
2580 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2581 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2583 C compiler flags for libunwind, overriding pkg-config
2584 UNWIND_LIBS Linker flags for libunwind, overriding pkg-config
2585 SDL2_CFLAGS C compiler flags for sdl2, overriding pkg-config
2586 SDL2_LIBS Linker flags for sdl2, overriding pkg-config
2588 C compiler flags for capi20, overriding pkg-config
2589 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2590 CUPS_CFLAGS C compiler flags for cups, overriding pkg-config
2591 CUPS_LIBS Linker flags for cups, overriding pkg-config
2593 C compiler flags for fontconfig, overriding pkg-config
2595 Linker flags for fontconfig, overriding pkg-config
2596 KRB5_CFLAGS C compiler flags for krb5, overriding pkg-config
2597 KRB5_LIBS Linker flags for krb5, overriding pkg-config
2599 C compiler flags for krb5-gssapi, overriding pkg-config
2600 GSSAPI_LIBS Linker flags for krb5-gssapi, overriding pkg-config
2602 C compiler flags for netapi, overriding pkg-config
2603 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2605 Use these variables to override the choices made by `configure' or to
help
2606 it to
find libraries and programs with nonstandard names
/locations.
2608 Report bugs to
<wine-devel@winehq.org
>.
2609 Wine home page
: <https
://www.winehq.org
>.
2614 if test "$ac_init_help" = "recursive"; then
2615 # If there are subdirs, report their specific --help.
2616 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
2617 test -d "$ac_dir" ||
2618 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
2623 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2625 ac_dir_suffix
=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
2626 # A ".." for each directory in $ac_dir_suffix.
2627 ac_top_builddir_sub
=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2628 case $ac_top_builddir_sub in
2629 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2630 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
2633 ac_abs_top_builddir
=$ac_pwd
2634 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
2635 # for backward compatibility:
2636 ac_top_builddir
=$ac_top_build_prefix
2639 .
) # We are building in place.
2641 ac_top_srcdir
=$ac_top_builddir_sub
2642 ac_abs_top_srcdir
=$ac_pwd ;;
2643 [\\/]* | ?
:[\\/]* ) # Absolute name.
2644 ac_srcdir
=$srcdir$ac_dir_suffix;
2645 ac_top_srcdir
=$srcdir
2646 ac_abs_top_srcdir
=$srcdir ;;
2648 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
2649 ac_top_srcdir
=$ac_top_build_prefix$srcdir
2650 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
2652 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
2654 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
2655 # Check for configure.gnu first; this name is used for a wrapper for
2656 # Metaconfig's "Configure" on case-insensitive file systems.
2657 if test -f "$ac_srcdir/configure.gnu"; then
2659 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2660 elif test -f "$ac_srcdir/configure"; then
2662 $SHELL "$ac_srcdir/configure" --help=recursive
2664 printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2666 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
2670 test -n "$ac_init_help" && exit $ac_status
2671 if $ac_init_version; then
2674 generated by GNU Autoconf
2.71
2676 Copyright
(C
) 2021 Free Software Foundation
, Inc.
2677 This configure
script is free software
; the Free Software Foundation
2678 gives unlimited permission to copy
, distribute and modify it.
2683 ## ------------------------ ##
2684 ## Autoconf initialization. ##
2685 ## ------------------------ ##
2687 # ac_fn_c_try_compile LINENO
2688 # --------------------------
2689 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2690 ac_fn_c_try_compile
()
2692 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2693 rm -f conftest.
$ac_objext conftest.beam
2694 if { { ac_try
="$ac_compile"
2696 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2697 *) ac_try_echo=$ac_try;;
2699 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2700 printf "%s\n" "$ac_try_echo"; } >&5
2701 (eval "$ac_compile") 2>conftest.err
2703 if test -s conftest.err; then
2704 grep -v '^ *+' conftest.err >conftest.er1
2705 cat conftest.er1 >&5
2706 mv -f conftest.er1 conftest.err
2708 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2709 test $ac_status = 0; } && {
2710 test -z "$ac_c_werror_flag" ||
2711 test ! -s conftest.err
2712 } && test -s conftest.$ac_objext
2716 printf "%s\n" "$as_me: failed program was:" >&5
2717 sed 's/^/| /' conftest.$ac_ext >&5
2721 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2722 as_fn_set_status $ac_retval
2724 } # ac_fn_c_try_compile
2726 # ac_fn_cxx_try_compile LINENO
2727 # ----------------------------
2728 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2729 ac_fn_cxx_try_compile ()
2731 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2732 rm -f conftest.$ac_objext conftest.beam
2733 if { { ac_try="$ac_compile"
2735 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2736 *) ac_try_echo
=$ac_try;;
2738 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2739 printf "%s\n" "$ac_try_echo"; } >&5
2740 (eval "$ac_compile") 2>conftest.err
2742 if test -s conftest.err
; then
2743 grep -v '^ *+' conftest.err
>conftest.er1
2744 cat conftest.er1
>&5
2745 mv -f conftest.er1 conftest.err
2747 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2748 test $ac_status = 0; } && {
2749 test -z "$ac_cxx_werror_flag" ||
2750 test ! -s conftest.err
2751 } && test -s conftest.
$ac_objext
2755 printf "%s\n" "$as_me: failed program was:" >&5
2756 sed 's/^/| /' conftest.
$ac_ext >&5
2760 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2761 as_fn_set_status
$ac_retval
2763 } # ac_fn_cxx_try_compile
2765 # ac_fn_c_try_link LINENO
2766 # -----------------------
2767 # Try to link conftest.$ac_ext, and return whether this succeeded.
2770 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2771 rm -f conftest.
$ac_objext conftest.beam conftest
$ac_exeext
2772 if { { ac_try
="$ac_link"
2774 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2775 *) ac_try_echo=$ac_try;;
2777 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2778 printf "%s\n" "$ac_try_echo"; } >&5
2779 (eval "$ac_link") 2>conftest.err
2781 if test -s conftest.err; then
2782 grep -v '^ *+' conftest.err >conftest.er1
2783 cat conftest.er1 >&5
2784 mv -f conftest.er1 conftest.err
2786 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2787 test $ac_status = 0; } && {
2788 test -z "$ac_c_werror_flag" ||
2789 test ! -s conftest.err
2790 } && test -s conftest$ac_exeext && {
2791 test "$cross_compiling" = yes ||
2792 test -x conftest$ac_exeext
2797 printf "%s\n" "$as_me: failed program was:" >&5
2798 sed 's/^/| /' conftest.$ac_ext >&5
2802 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2803 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2804 # interfere with the next link command; also delete a directory that is
2805 # left behind by Apple's compiler. We do this before executing the actions.
2806 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2807 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2808 as_fn_set_status $ac_retval
2810 } # ac_fn_c_try_link
2812 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2813 # -------------------------------------------------------
2814 # Tests whether HEADER exists and can be compiled using the include files in
2815 # INCLUDES, setting the cache variable VAR accordingly.
2816 ac_fn_c_check_header_compile ()
2818 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2819 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2820 printf %s "checking for $2... " >&6; }
2821 if eval test \${$3+y}
2823 printf %s "(cached) " >&6
2825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2826 /* end confdefs.h. */
2830 if ac_fn_c_try_compile "$LINENO"
2836 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2839 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2840 printf "%s\n" "$ac_res" >&6; }
2841 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2843 } # ac_fn_c_check_header_compile
2845 # ac_fn_objc_try_compile LINENO
2846 # -----------------------------
2847 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2848 ac_fn_objc_try_compile ()
2850 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2851 rm -f conftest.$ac_objext conftest.beam
2852 if { { ac_try="$ac_compile"
2854 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2855 *) ac_try_echo
=$ac_try;;
2857 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2858 printf "%s\n" "$ac_try_echo"; } >&5
2859 (eval "$ac_compile") 2>conftest.err
2861 if test -s conftest.err
; then
2862 grep -v '^ *+' conftest.err
>conftest.er1
2863 cat conftest.er1
>&5
2864 mv -f conftest.er1 conftest.err
2866 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2867 test $ac_status = 0; } && {
2868 test -z "$ac_objc_werror_flag" ||
2869 test ! -s conftest.err
2870 } && test -s conftest.
$ac_objext
2874 printf "%s\n" "$as_me: failed program was:" >&5
2875 sed 's/^/| /' conftest.
$ac_ext >&5
2879 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2880 as_fn_set_status
$ac_retval
2882 } # ac_fn_objc_try_compile
2884 # ac_fn_c_check_func LINENO FUNC VAR
2885 # ----------------------------------
2886 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2887 ac_fn_c_check_func
()
2889 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2890 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2891 printf %s
"checking for $2... " >&6; }
2892 if eval test \
${$3+y}
2894 printf %s
"(cached) " >&6
2896 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2897 /* end confdefs.h. */
2898 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2899 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2900 #define $2 innocuous_$2
2902 /* System header to define __stub macros and hopefully few prototypes,
2903 which can conflict with char $2 (); below. */
2908 /* Override any GCC internal prototype to avoid an error.
2909 Use char because int might match the return type of a GCC
2910 builtin and then its argument prototype would still apply. */
2915 /* The GNU C library defines this for functions which it implements
2916 to always fail with ENOSYS. Some functions are actually named
2917 something starting with __ and the normal name is an alias. */
2918 #if defined __stub_$2 || defined __stub___$2
2930 if ac_fn_c_try_link
"$LINENO"
2936 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
2937 conftest
$ac_exeext conftest.
$ac_ext
2940 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2941 printf "%s\n" "$ac_res" >&6; }
2942 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2944 } # ac_fn_c_check_func
2946 # ac_fn_c_try_cpp LINENO
2947 # ----------------------
2948 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2951 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2952 if { { ac_try
="$ac_cpp conftest.$ac_ext"
2954 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2955 *) ac_try_echo=$ac_try;;
2957 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2958 printf "%s\n" "$ac_try_echo"; } >&5
2959 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2961 if test -s conftest.err; then
2962 grep -v '^ *+' conftest.err >conftest.er1
2963 cat conftest.er1 >&5
2964 mv -f conftest.er1 conftest.err
2966 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2967 test $ac_status = 0; } > conftest.i && {
2968 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2969 test ! -s conftest.err
2974 printf "%s\n" "$as_me: failed program was:" >&5
2975 sed 's/^/| /' conftest.$ac_ext >&5
2979 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2980 as_fn_set_status $ac_retval
2984 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2985 # ----------------------------------------------------
2986 # Tries to find if the field MEMBER exists in type AGGR, after including
2987 # INCLUDES, setting cache variable VAR accordingly.
2988 ac_fn_c_check_member ()
2990 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2991 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2992 printf %s "checking for $2.$3... " >&6; }
2993 if eval test \${$4+y}
2995 printf %s "(cached) " >&6
2997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2998 /* end confdefs.h. */
3010 if ac_fn_c_try_compile "$LINENO"
3014 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3015 /* end confdefs.h. */
3021 if (sizeof ac_aggr.$3)
3027 if ac_fn_c_try_compile "$LINENO"
3033 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3035 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3038 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3039 printf "%s\n" "$ac_res" >&6; }
3040 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3042 } # ac_fn_c_check_member
3044 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3045 # -------------------------------------------
3046 # Tests whether TYPE exists after having included INCLUDES, setting cache
3047 # variable VAR accordingly.
3048 ac_fn_c_check_type ()
3050 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3051 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3052 printf %s "checking for $2... " >&6; }
3053 if eval test \${$3+y}
3055 printf %s "(cached) " >&6
3058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3059 /* end confdefs.h. */
3070 if ac_fn_c_try_compile "$LINENO"
3072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3073 /* end confdefs.h. */
3084 if ac_fn_c_try_compile "$LINENO"
3090 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3092 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3095 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3096 printf "%s\n" "$ac_res" >&6; }
3097 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3099 } # ac_fn_c_check_type
3100 ac_configure_args_raw=
3105 ac_arg=`printf "%s\n" "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
3107 as_fn_append ac_configure_args_raw " '$ac_arg'"
3110 case $ac_configure_args_raw in
3114 ac_unsafe_z='|&;<>()$`\\"*?[ '' ' # This string ends in space, tab.
3115 ac_unsafe_a="$ac_unsafe_z#~
"
3116 ac_safe_unquote="s
/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g
"
3117 ac_configure_args_raw=` printf "%s
\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
3120 cat >config.log <<_ACEOF
3121 This file contains any messages produced by compilers while
3122 running configure, to aid debugging if configure makes a mistake.
3124 It was created by Wine $as_me 8.2, which was
3125 generated by GNU Autoconf 2.71. Invocation command line was
3127 $ $0$ac_configure_args_raw
3137 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3138 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3139 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3140 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3141 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3143 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3144 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3146 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3147 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3148 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3149 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3150 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3151 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3152 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3156 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3160 case $as_dir in #(((
3163 *) as_dir=$as_dir/ ;;
3165 printf "%s
\n" "PATH
: $as_dir"
3181 # Keep a trace of the command line.
3182 # Strip out --no-create and --no-recursion so they do not pile up.
3183 # Strip out --silent because we don't want to record it for future runs.
3184 # Also quote any args containing shell meta-characters.
3185 # Make two passes to allow for proper duplicate-argument suppression.
3189 ac_must_keep_next=false
3195 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3196 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3197 | -silent | --silent | --silen | --sile | --sil)
3200 ac_arg=`printf "%s
\n" "$ac_arg" | sed "s
/'/'\\\\\\\\''/g
"` ;;
3203 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3205 as_fn_append ac_configure_args1 " '$ac_arg'"
3206 if test $ac_must_keep_next = true; then
3207 ac_must_keep_next=false # Got value, back to normal.
3210 *=* | --config-cache | -C | -disable-* | --disable-* \
3211 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3212 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3213 | -with-* | --with-* | -without-* | --without-* | --x)
3214 case "$ac_configure_args0 " in
3215 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3218 -* ) ac_must_keep_next=true ;;
3221 as_fn_append ac_configure_args " '$ac_arg'"
3226 { ac_configure_args0=; unset ac_configure_args0;}
3227 { ac_configure_args1=; unset ac_configure_args1;}
3229 # When interrupted or exit'd, cleanup temporary files, and complete
3230 # config.log. We remove comments because anyway the quotes in there
3231 # would cause problems or look ugly.
3232 # WARNING: Use '\'' to represent an apostrophe within the trap.
3233 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3234 trap 'exit_status=$?
3237 # Save into config.log some information that might help in debugging.
3241 printf "%s
\n" "## ---------------- ##
3242 ## Cache variables. ##
3243 ## ---------------- ##"
3245 # The following way of writing the cache mishandles newlines in values,
3247 for ac_var
in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3248 eval ac_val
=\$
$ac_var
3252 *_cv_
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3253 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3256 _ | IFS | as_nl
) ;; #(
3257 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
3258 *) { eval $ac_var=; unset $ac_var;} ;;
3263 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3264 *${as_nl}ac_space
=\
*)
3266 "s/'\''/'\''\\\\'\'''\''/g;
3267 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3270 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3277 printf "%s\n" "## ----------------- ##
3278 ## Output variables. ##
3279 ## ----------------- ##"
3281 for ac_var
in $ac_subst_vars
3283 eval ac_val
=\$
$ac_var
3285 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3287 printf "%s\n" "$ac_var='\''$ac_val'\''"
3291 if test -n "$ac_subst_files"; then
3292 printf "%s\n" "## ------------------- ##
3293 ## File substitutions. ##
3294 ## ------------------- ##"
3296 for ac_var in $ac_subst_files
3298 eval ac_val=\$$ac_var
3300 *\'\''*) ac_val
=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3302 printf "%s\n" "$ac_var='\''$ac_val'\''"
3307 if test -s confdefs.h
; then
3308 printf "%s\n" "## ----------- ##
3315 test "$ac_signal" != 0 &&
3316 printf "%s\n" "$as_me: caught signal $ac_signal"
3317 printf "%s\n" "$as_me: exit $exit_status"
3319 rm -f core
*.core core.conftest.
* &&
3320 rm -f -r conftest
* confdefs
* conf$$
* $ac_clean_files &&
3323 for ac_signal in 1 2 13 15; do
3324 trap 'ac_signal
='$ac_signal'; as_fn_exit
1' $ac_signal
3328 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3329 rm -f -r conftest* confdefs.h
3331 printf "%s\n" "/* confdefs.h */" > confdefs.h
3333 # Predefined preprocessor variables.
3335 printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
3337 printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
3339 printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
3341 printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
3343 printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
3345 printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
3348 # Let the site file select an alternate cache file if it wants to.
3349 # Prefer an explicitly selected file to automatically selected ones.
3350 if test -n "$CONFIG_SITE"; then
3351 ac_site_files="$CONFIG_SITE"
3352 elif test "x$prefix" != xNONE; then
3353 ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
3355 ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
3358 for ac_site_file in $ac_site_files
3360 case $ac_site_file in #(
3364 ac_site_file=./$ac_site_file ;;
3366 if test -f "$ac_site_file" && test -r "$ac_site_file"; then
3367 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3368 printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
3369 sed 's
/^
/|
/' "$ac_site_file" >&5
3371 || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3372 printf "%s
\n" "$as_me: error
: in \
`$ac_pwd':" >&2;}
3373 as_fn_error $? "failed to load site script $ac_site_file
3374 See \`config.log
' for more details" "$LINENO" 5; }
3378 if test -r "$cache_file"; then
3379 # Some versions of bash will fail to source /dev/null (special files
3380 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3381 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3382 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3383 printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
3385 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3386 *) . "./$cache_file";;
3390 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3391 printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
3395 # Test code for whether the C compiler supports C89 (global declarations)
3396 ac_c_conftest_c89_globals='
3397 /* Does the compiler advertise C89 conformance?
3398 Do not
test the value of __STDC__
, because some compilers
set it to
0
3399 while being otherwise adequately conformant.
*/
3400 #if !defined __STDC__
3401 # error "Compiler does not advertise C89 conformance"
3407 /* Most of the following tests are stolen from RCS
5.7 src
/conf.sh.
*/
3408 struct buf
{ int x
; };
3409 struct buf
* (*rcsopen
) (struct buf
*, struct stat
*, int
);
3410 static char
*e
(p
, i
)
3416 static char
*f
(char
* (*g
) (char
**, int
), char
**p
, ...
)
3421 s
= g
(p
, va_arg
(v
,int
));
3426 /* OSF
4.0 Compaq cc is some
sort of almost-ANSI by default. It has
3427 function prototypes and stuff
, but not \xHH hex character constants.
3428 These
do not provoke an error unfortunately
, instead are silently treated
3429 as an
"x". The following induces an error
, until -std is added to get
3430 proper ANSI mode. Curiously
\x00 != x always comes out true
, for an
3431 array size
at least. It is necessary to
write \x00 == 0 to get something
3432 that is true only with
-std.
*/
3433 int osf4_cc_array
['\''\x00'\'' == 0 ?
1 : -1];
3435 /* IBM C
6 for AIX is almost-ANSI by default
, but it replaces macro parameters
3436 inside
strings and character constants.
*/
3437 #define FOO(x) '\''x'\''
3438 int xlc6_cc_array
[FOO
(a
) == '\''x
'\'' ?
1 : -1];
3440 int
test (int i
, double x
);
3441 struct s1
{int
(*f
) (int a
);};
3442 struct s2
{int
(*f
) (double a
);};
3443 int pairnames
(int
, char
**, int
*(*)(struct buf
*, struct stat
*, int
),
3446 # Test code for whether the C compiler supports C89 (body of main).
3447 ac_c_conftest_c89_main='
3448 ok |
= (argc
== 0 || f
(e
, argv
, 0) != argv
[0] || f
(e
, argv
, 1) != argv
[1]);
3451 # Test code for whether the C compiler supports C99 (global declarations)
3452 ac_c_conftest_c99_globals='
3453 // Does the compiler advertise C99 conformance?
3454 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
3455 # error "Compiler does not advertise C99 conformance"
3458 #include <stdbool.h>
3459 extern int puts
(const char
*);
3460 extern int
printf (const char
*, ...
);
3461 extern int dprintf
(int
, const char
*, ...
);
3462 extern void
*malloc
(size_t
);
3464 // Check varargs macros. These examples are taken from C99
6.10.3.5.
3465 // dprintf is used instead of fprintf to avoid needing to
declare
3467 #define debug(...) dprintf (2, __VA_ARGS__)
3468 #define showlist(...) puts (#__VA_ARGS__)
3469 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
3471 test_varargs_macros
(void
)
3476 debug
("X = %d\n", x
);
3477 showlist
(The first
, second
, and third items.
);
3478 report
(x
>y
, "x is %d but y is %d", x
, y
);
3481 // Check long long types.
3482 #define BIG64 18446744073709551615ull
3483 #define BIG32 4294967295ul
3484 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
3486 #error "your preprocessor is broken"
3490 #error "your preprocessor is broken"
3492 static long long int bignum
= -9223372036854775807LL;
3493 static unsigned long long int ubignum
= BIG64
;
3495 struct incomplete_array
3503 const wchar_t
*name
;
3507 typedef const char
*ccp
;
3510 test_restrict
(ccp restrict text
)
3512 // See
if C
++-style comments work.
3513 // Iterate through items via the restricted pointer.
3514 // Also check
for declarations
in for loops.
3515 for (unsigned int i
= 0; *(text
+i
) != '\''\
0'\''; ++i
)
3520 // Check varargs and va_copy.
3522 test_varargs
(const char
*format
, ...
)
3525 va_start
(args
, format
);
3527 va_copy
(args_copy
, args
);
3529 const char
*str
= "";
3537 case '\''s
'\'': // string
3538 str
= va_arg
(args_copy
, const char
*);
3540 case '\''d
'\'': // int
3541 number
= va_arg
(args_copy
, int
);
3543 case '\''f
'\'': // float
3544 fnumber
= va_arg
(args_copy
, double
);
3553 return *str
&& number
&& fnumber
;
3557 # Test code for whether the C compiler supports C99 (body of main).
3558 ac_c_conftest_c99_main='
3560 _Bool success
= false
;
3561 success |
= (argc
!= 0);
3564 if (test_restrict
("String literal") == 0)
3566 char
*restrict newvar
= "Another string";
3569 success
&= test_varargs
("s, d'\'' f .", "string", 65, 34.234);
3570 test_varargs_macros
();
3572 // Check flexible array members.
3573 struct incomplete_array
*ia
=
3574 malloc
(sizeof
(struct incomplete_array
) + (sizeof
(double
) * 10));
3576 for (int i
= 0; i
< ia-
>datasize
; ++i
)
3577 ia-
>data
[i
] = i
* 1.234;
3579 // Check named initializers.
3580 struct named_init ni
= {
3582 .name
= L
"Test wide string",
3583 .average
= 543.34343,
3588 int dynamic_array
[ni.number
];
3589 dynamic_array
[0] = argv
[0][0];
3590 dynamic_array
[ni.number
- 1] = 543;
3592 // work around unused variable warnings
3593 ok |
= (!success || bignum
== 0LL || ubignum
== 0uLL || newvar
[0] == '\''x
'\''
3594 || dynamic_array
[ni.number
- 1] != 543);
3597 # Test code for whether the C compiler supports C11 (global declarations)
3598 ac_c_conftest_c11_globals='
3599 // Does the compiler advertise C11 conformance?
3600 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
3601 # error "Compiler does not advertise C11 conformance"
3605 char _Alignas
(double
) aligned_as_double
;
3606 char _Alignas
(0) no_special_alignment
;
3607 extern char aligned_as_int
;
3608 char _Alignas
(0) _Alignas
(int
) aligned_as_int
;
3613 int_alignment
= _Alignof
(int
),
3614 int_array_alignment
= _Alignof
(int
[100]),
3615 char_alignment
= _Alignof
(char
)
3617 _Static_assert
(0 < -_Alignof (int
), "_Alignof is signed");
3620 int _Noreturn does_not_return
(void
) { for (;;) continue; }
3622 // Check _Static_assert.
3623 struct test_static_assert
3626 _Static_assert
(sizeof
(int
) <= sizeof
(long int
),
3627 "_Static_assert does not work in struct");
3631 // Check UTF-8 literals.
3632 #define u8 syntax error!
3633 char const utf8_literal
[] = u8
"happens to be ASCII" "another string";
3635 // Check duplicate typedefs.
3636 typedef long
*long_ptr
;
3637 typedef long int
*long_ptr
;
3638 typedef long_ptr long_ptr
;
3640 // Anonymous structures and unions
-- taken from C11
6.7.2.1 Example
1.
3644 struct
{ int i
; int j
; };
3645 struct
{ int k
; long int l
; } w
;
3651 # Test code for whether the C compiler supports C11 (body of main).
3652 ac_c_conftest_c11_main='
3653 _Static_assert
((offsetof
(struct anonymous
, i
)
3654 == offsetof
(struct anonymous
, w.k
)),
3655 "Anonymous union alignment botch");
3661 # Test code for whether the C compiler supports C11 (complete).
3662 ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
3663 ${ac_c_conftest_c99_globals}
3664 ${ac_c_conftest_c11_globals}
3667 main (int argc, char **argv)
3670 ${ac_c_conftest_c89_main}
3671 ${ac_c_conftest_c99_main}
3672 ${ac_c_conftest_c11_main}
3677 # Test code for whether the C compiler supports C99 (complete).
3678 ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
3679 ${ac_c_conftest_c99_globals}
3682 main (int argc, char **argv)
3685 ${ac_c_conftest_c89_main}
3686 ${ac_c_conftest_c99_main}
3691 # Test code for whether the C compiler supports C89 (complete).
3692 ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
3695 main (int argc, char **argv)
3698 ${ac_c_conftest_c89_main}
3703 # Test code for whether the C++ compiler supports C++98 (global declarations)
3704 ac_cxx_conftest_cxx98_globals='
3705 // Does the compiler advertise C
++98 conformance?
3706 #if !defined __cplusplus || __cplusplus < 199711L
3707 # error "Compiler does not advertise C++98 conformance"
3710 // These inclusions are to reject old compilers that
3711 // lack the unsuffixed header files.
3713 #include <exception>
3715 // <cassert
> and
<cstring
> are
*not
* freestanding headers
in C
++98.
3716 extern void assert
(int
);
3718 extern int strcmp
(const char
*, const char
*);
3721 // Namespaces
, exceptions
, and templates were all added after
"C++ 2.0".
3722 using std
::exception
;
3727 void test_exception_syntax
()
3731 } catch
(const char
*s
) {
3732 // Extra parentheses suppress a warning when building autoconf itself
,
3733 // due to lint rules shared with
more typical C programs.
3734 assert
(!(strcmp
) (s
, "test"));
3738 template
<typename T
> struct test_template
3741 explicit test_template
(T t
) : val
(t
) {}
3742 template
<typename U
> T add
(U u
) { return static_cast
<T
>(u
) + val
; }
3745 } // anonymous namespace
3748 # Test code for whether the C++ compiler supports C++98 (body of main)
3749 ac_cxx_conftest_cxx98_main='
3753 test_exception_syntax
();
3754 test_template
<double
> tt
(2.0);
3755 assert
(tt.add
(4) == 6.0);
3756 assert
(true
&& !false
);
3760 # Test code for whether the C++ compiler supports C++11 (global declarations)
3761 ac_cxx_conftest_cxx11_globals='
3762 // Does the compiler advertise C
++ 2011 conformance?
3763 #if !defined __cplusplus || __cplusplus < 201103L
3764 # error "Compiler does not advertise C++11 conformance"
3769 constexpr int get_val
() { return 20; }
3780 delegate
(int n
) : n
(n
) {}
3781 delegate
(): delegate
(2354) {}
3783 virtual int getval
() { return this-
>n
; };
3788 class overridden
: public delegate
3791 overridden
(int n
): delegate
(n
) {}
3792 virtual int getval
() override final
{ return this-
>n
* 2; }
3798 nocopy
(int i
): i
(i
) {}
3800 nocopy
(const nocopy
&) = delete
;
3801 nocopy
& operator
=(const nocopy
&) = delete
;
3806 // for testing lambda expressions
3807 template
<typename Ret
, typename Fn
> Ret
eval(Fn f
, Ret v
)
3812 // for testing variadic templates and trailing
return types
3813 template
<typename V
> auto
sum(V first
) -> V
3817 template
<typename V
, typename... Args
> auto
sum(V first
, Args... rest
) -> V
3819 return first
+ sum(rest...
);
3824 # Test code for whether the C++ compiler supports C++11 (body of main)
3825 ac_cxx_conftest_cxx11_main='
3827 // Test auto and decltype
3829 auto a2
= 48573953.4;
3830 auto a3
= "String literal";
3833 for (auto i
= a3
; *i
; ++i
) { total
+= *i
; }
3835 decltype
(a2
) a4
= 34895.034;
3839 short sa
[cxx11test
::get_val
()] = { 0 };
3842 // Test initializer lists
3843 cxx11test
::testinit il
= { 4323, 435234.23544 };
3846 // Test range-based
for
3847 int array
[] = {9, 7, 13, 15, 4, 18, 12, 10, 5, 3,
3848 14, 19, 17, 8, 6, 20, 16, 2, 11, 1};
3849 for (auto
&x
: array
) { x
+= 23; }
3852 // Test lambda expressions
3853 using cxx11test
::eval;
3854 assert
(eval ([](int x
) { return x
*2; }, 21) == 42);
3856 assert
(eval ([&](double x
) { return d
+= x
; }, 3.0) == 5.0);
3858 assert
(eval ([=](double x
) mutable
{ return d
+= x
; }, 4.0) == 9.0);
3862 // Test use of variadic templates
3863 using cxx11test
::sum;
3866 auto c
= sum(1.0, 2.0, 3.0);
3869 // Test constructor delegation
3870 cxx11test
::delegate d1
;
3871 cxx11test
::delegate d2
();
3872 cxx11test
::delegate d3
(45);
3875 // Test override and final
3876 cxx11test
::overridden o1
(55464);
3883 // Test template brackets
3884 test_template
<::test_template
<int
>> v
(test_template
<int
>(12));
3888 char const
*utf8
= u8
"UTF-8 string \u2500";
3889 char16_t const
*utf16
= u
"UTF-8 string \u2500";
3890 char32_t const
*utf32
= U
"UTF-32 string \u2500";
3894 # Test code for whether the C compiler supports C++11 (complete).
3895 ac_cxx_conftest_cxx11_program="${ac_cxx_conftest_cxx98_globals}
3896 ${ac_cxx_conftest_cxx11_globals}
3899 main (int argc, char **argv)
3902 ${ac_cxx_conftest_cxx98_main}
3903 ${ac_cxx_conftest_cxx11_main}
3908 # Test code for whether the C compiler supports C++98 (complete).
3909 ac_cxx_conftest_cxx98_program="${ac_cxx_conftest_cxx98_globals}
3911 main (int argc, char **argv)
3914 ${ac_cxx_conftest_cxx98_main}
3919 as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H"
3920 as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H"
3921 as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H"
3922 as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H"
3923 as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H"
3924 as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H"
3925 as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
3926 as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H"
3927 as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H"
3929 # Auxiliary files required by this configure script.
3930 ac_aux_files="config.guess config.sub"
3932 # Locations in which to look for auxiliary files.
3933 ac_aux_dir_candidates="${srcdir}/tools"
3935 # Search for a directory containing all of the required auxiliary files,
3936 # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
3937 # If we don't
find one directory that contains all the files we need
,
3938 # we report the set of missing files from the *first* directory in
3939 # $ac_aux_dir_candidates and give up.
3940 ac_missing_aux_files
=""
3941 ac_first_candidate
=:
3942 printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
3943 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3945 for as_dir
in $ac_aux_dir_candidates
3948 case $as_dir in #(((
3951 *) as_dir
=$as_dir/ ;;
3955 printf "%s\n" "$as_me:${as_lineno-$LINENO}: trying $as_dir" >&5
3956 ac_aux_dir_found
=yes
3958 for ac_aux
in $ac_aux_files
3960 # As a special case, if "install-sh" is required, that requirement
3961 # can be satisfied by any of "install-sh", "install.sh", or "shtool",
3962 # and $ac_install_sh is set appropriately for whichever one is found.
3963 if test x
"$ac_aux" = x
"install-sh"
3965 if test -f "${as_dir}install-sh"; then
3966 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install-sh found" >&5
3967 ac_install_sh
="${as_dir}install-sh -c"
3968 elif test -f "${as_dir}install.sh"; then
3969 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install.sh found" >&5
3970 ac_install_sh
="${as_dir}install.sh -c"
3971 elif test -f "${as_dir}shtool"; then
3972 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}shtool found" >&5
3973 ac_install_sh
="${as_dir}shtool install -c"
3976 if $ac_first_candidate; then
3977 ac_missing_aux_files
="${ac_missing_aux_files} install-sh"
3983 if test -f "${as_dir}${ac_aux}"; then
3984 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}${ac_aux} found" >&5
3987 if $ac_first_candidate; then
3988 ac_missing_aux_files
="${ac_missing_aux_files} ${ac_aux}"
3995 if test "$ac_aux_dir_found" = yes; then
3996 ac_aux_dir
="$as_dir"
3999 ac_first_candidate
=false
4008 as_fn_error $?
"cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5
4012 # These three variables are undocumented and unsupported,
4013 # and are intended to be withdrawn in a future Autoconf release.
4014 # They can cause serious problems if a builder's source tree is in a directory
4015 # whose full name contains unusual characters.
4016 if test -f "${ac_aux_dir}config.guess"; then
4017 ac_config_guess
="$SHELL ${ac_aux_dir}config.guess"
4019 if test -f "${ac_aux_dir}config.sub"; then
4020 ac_config_sub
="$SHELL ${ac_aux_dir}config.sub"
4022 if test -f "$ac_aux_dir/configure"; then
4023 ac_configure
="$SHELL ${ac_aux_dir}configure"
4026 # Check that the precious variables saved in the cache have kept the same
4028 ac_cache_corrupted
=false
4029 for ac_var
in $ac_precious_vars; do
4030 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
4031 eval ac_new_set
=\
$ac_env_${ac_var}_set
4032 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
4033 eval ac_new_val
=\
$ac_env_${ac_var}_value
4034 case $ac_old_set,$ac_new_set in
4036 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
4037 printf "%s\n" "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
4038 ac_cache_corrupted
=: ;;
4040 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
4041 printf "%s\n" "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
4042 ac_cache_corrupted
=: ;;
4045 if test "x$ac_old_val" != "x$ac_new_val"; then
4046 # differences in whitespace do not lead to failure.
4047 ac_old_val_w
=`echo x $ac_old_val`
4048 ac_new_val_w
=`echo x $ac_new_val`
4049 if test "$ac_old_val_w" != "$ac_new_val_w"; then
4050 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
4051 printf "%s\n" "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
4052 ac_cache_corrupted
=:
4054 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
4055 printf "%s\n" "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
4056 eval $ac_var=\
$ac_old_val
4058 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
4059 printf "%s\n" "$as_me: former value: \`$ac_old_val'" >&2;}
4060 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
4061 printf "%s\n" "$as_me: current value: \`$ac_new_val'" >&2;}
4064 # Pass precious variables to config.status.
4065 if test "$ac_new_set" = set; then
4067 *\'*) ac_arg
=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
4068 *) ac_arg
=$ac_var=$ac_new_val ;;
4070 case " $ac_configure_args " in
4071 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
4072 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
4076 if $ac_cache_corrupted; then
4077 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4078 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
4079 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
4080 printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
4081 as_fn_error $?
"run \`${MAKE-make} distclean' and/or \`rm $cache_file'
4082 and start over" "$LINENO" 5
4084 ## -------------------- ##
4085 ## Main body of script. ##
4086 ## -------------------- ##
4089 ac_cpp
='$CPP $CPPFLAGS'
4090 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4091 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4092 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4096 ac_config_headers
="$ac_config_headers include/config.h"
4100 libwine_version
="1.0"
4103 # Check whether --enable-archs was given.
4104 if test ${enable_archs+y}
4106 enableval
=$enable_archs;
4109 # Check whether --enable-win16 was given.
4110 if test ${enable_win16+y}
4112 enableval
=$enable_win16;
4115 # Check whether --enable-win64 was given.
4116 if test ${enable_win64+y}
4118 enableval
=$enable_win64;
4121 # Check whether --enable-tests was given.
4122 if test ${enable_tests+y}
4124 enableval
=$enable_tests;
4127 # Check whether --enable-build-id was given.
4128 if test ${enable_build_id+y}
4130 enableval
=$enable_build_id;
4133 # Check whether --enable-maintainer-mode was given.
4134 if test ${enable_maintainer_mode+y}
4136 enableval
=$enable_maintainer_mode;
4139 # Check whether --enable-silent-rules was given.
4140 if test ${enable_silent_rules+y}
4142 enableval
=$enable_silent_rules;
4145 # Check whether --enable-werror was given.
4146 if test ${enable_werror+y}
4148 enableval
=$enable_werror;
4153 # Check whether --with-alsa was given.
4154 if test ${with_alsa+y}
4160 # Check whether --with-capi was given.
4161 if test ${with_capi+y}
4167 # Check whether --with-coreaudio was given.
4168 if test ${with_coreaudio+y}
4170 withval
=$with_coreaudio;
4174 # Check whether --with-cups was given.
4175 if test ${with_cups+y}
4181 # Check whether --with-dbus was given.
4182 if test ${with_dbus+y}
4188 # Check whether --with-float-abi was given.
4189 if test ${with_float_abi+y}
4191 withval
=$with_float_abi;
4195 # Check whether --with-fontconfig was given.
4196 if test ${with_fontconfig+y}
4198 withval
=$with_fontconfig;
4202 # Check whether --with-freetype was given.
4203 if test ${with_freetype+y}
4205 withval
=$with_freetype;
4209 # Check whether --with-gettext was given.
4210 if test ${with_gettext+y}
4212 withval
=$with_gettext;
4216 # Check whether --with-gettextpo was given.
4217 if test ${with_gettextpo+y}
4219 withval
=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h
=no
; fi
4223 # Check whether --with-gphoto was given.
4224 if test ${with_gphoto+y}
4226 withval
=$with_gphoto;
4230 # Check whether --with-gnutls was given.
4231 if test ${with_gnutls+y}
4233 withval
=$with_gnutls;
4237 # Check whether --with-gssapi was given.
4238 if test ${with_gssapi+y}
4240 withval
=$with_gssapi;
4244 # Check whether --with-gstreamer was given.
4245 if test ${with_gstreamer+y}
4247 withval
=$with_gstreamer;
4251 # Check whether --with-inotify was given.
4252 if test ${with_inotify+y}
4254 withval
=$with_inotify;
4258 # Check whether --with-krb5 was given.
4259 if test ${with_krb5+y}
4265 # Check whether --with-mingw was given.
4266 if test ${with_mingw+y}
4268 withval
=$with_mingw;
4272 # Check whether --with-netapi was given.
4273 if test ${with_netapi+y}
4275 withval
=$with_netapi;
4279 # Check whether --with-opencl was given.
4280 if test ${with_opencl+y}
4282 withval
=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h
=no
; ac_cv_header_OpenCL_opencl_h
=no
; fi
4286 # Check whether --with-opengl was given.
4287 if test ${with_opengl+y}
4289 withval
=$with_opengl;
4293 # Check whether --with-osmesa was given.
4294 if test ${with_osmesa+y}
4296 withval
=$with_osmesa;
4300 # Check whether --with-oss was given.
4301 if test ${with_oss+y}
4307 # Check whether --with-pcap was given.
4308 if test ${with_pcap+y}
4310 withval
=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h
=no
; fi
4314 # Check whether --with-pcsclite was given.
4315 if test ${with_pcsclite+y}
4317 withval
=$with_pcsclite;
4321 # Check whether --with-pthread was given.
4322 if test ${with_pthread+y}
4324 withval
=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h
=no
; fi
4328 # Check whether --with-pulse was given.
4329 if test ${with_pulse+y}
4331 withval
=$with_pulse;
4335 # Check whether --with-sane was given.
4336 if test ${with_sane+y}
4342 # Check whether --with-sdl was given.
4343 if test ${with_sdl+y}
4349 # Check whether --with-udev was given.
4350 if test ${with_udev+y}
4356 # Check whether --with-unwind was given.
4357 if test ${with_unwind+y}
4359 withval
=$with_unwind;
4363 # Check whether --with-usb was given.
4364 if test ${with_usb+y}
4370 # Check whether --with-v4l2 was given.
4371 if test ${with_v4l2+y}
4377 # Check whether --with-vulkan was given.
4378 if test ${with_vulkan+y}
4380 withval
=$with_vulkan;
4384 # Check whether --with-xcomposite was given.
4385 if test ${with_xcomposite+y}
4387 withval
=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h
=no
; fi
4391 # Check whether --with-xcursor was given.
4392 if test ${with_xcursor+y}
4394 withval
=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h
=no
; fi
4398 # Check whether --with-xfixes was given.
4399 if test ${with_xfixes+y}
4401 withval
=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h
=no
; fi
4405 # Check whether --with-xinerama was given.
4406 if test ${with_xinerama+y}
4408 withval
=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h
=no
; fi
4412 # Check whether --with-xinput was given.
4413 if test ${with_xinput+y}
4415 withval
=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h
=no
; fi
4419 # Check whether --with-xinput2 was given.
4420 if test ${with_xinput2+y}
4422 withval
=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h
=no
; fi
4426 # Check whether --with-xrandr was given.
4427 if test ${with_xrandr+y}
4429 withval
=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h
=no
; fi
4433 # Check whether --with-xrender was given.
4434 if test ${with_xrender+y}
4436 withval
=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h
=no
; fi
4440 # Check whether --with-xshape was given.
4441 if test ${with_xshape+y}
4443 withval
=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h
=no
; fi
4447 # Check whether --with-xshm was given.
4448 if test ${with_xshm+y}
4450 withval
=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h
=no
; fi
4454 # Check whether --with-xxf86vm was given.
4455 if test ${with_xxf86vm+y}
4457 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
4462 # Check whether --with-system-dllpath was given.
4463 if test ${with_system_dllpath+y}
4465 withval
=$with_system_dllpath; system_dllpath
=$withval
4470 # Check whether --with-wine-tools was given.
4471 if test ${with_wine_tools+y}
4473 withval
=$with_wine_tools;
4477 # Check whether --with-wine64 was given.
4478 if test ${with_wine64+y}
4480 withval
=$with_wine64;
4487 # Make sure we can run config.sub.
4488 $SHELL "${ac_aux_dir}config.sub" sun4
>/dev
/null
2>&1 ||
4489 as_fn_error $?
"cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
4491 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4492 printf %s
"checking build system type... " >&6; }
4493 if test ${ac_cv_build+y}
4495 printf %s
"(cached) " >&6
4497 ac_build_alias
=$build_alias
4498 test "x$ac_build_alias" = x
&&
4499 ac_build_alias
=`$SHELL "${ac_aux_dir}config.guess"`
4500 test "x$ac_build_alias" = x
&&
4501 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
4502 ac_cv_build
=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
4503 as_fn_error $?
"$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
4506 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4507 printf "%s\n" "$ac_cv_build" >&6; }
4508 case $ac_cv_build in
4510 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
4513 ac_save_IFS
=$IFS; IFS
='-'
4519 # Remember, the first character of IFS is used to create $*,
4520 # except with old shells:
4523 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
4526 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4527 printf %s
"checking host system type... " >&6; }
4528 if test ${ac_cv_host+y}
4530 printf %s
"(cached) " >&6
4532 if test "x$host_alias" = x
; then
4533 ac_cv_host
=$ac_cv_build
4535 ac_cv_host
=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
4536 as_fn_error $?
"$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
4540 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4541 printf "%s\n" "$ac_cv_host" >&6; }
4544 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
4547 ac_save_IFS
=$IFS; IFS
='-'
4553 # Remember, the first character of IFS is used to create $*,
4554 # except with old shells:
4557 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
4561 dlldir
=\
${libdir}/wine
4563 fontdir
=\
${datadir}/wine
/fonts
4565 nlsdir
=\
${datadir}/wine
/nls
4570 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4571 printf %s
"checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4573 ac_make
=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4574 if eval test \
${ac_cv_prog_make_${ac_make}_set+y}
4576 printf %s
"(cached) " >&6
4578 cat >conftest.
make <<\_ACEOF
4581 @
echo '@@@%%%=$(MAKE)=@@@%%%'
4583 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4584 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4586 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
4588 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
4592 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
4593 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4594 printf "%s\n" "yes" >&6; }
4597 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4598 printf "%s\n" "no" >&6; }
4599 SET_MAKE
="MAKE=${MAKE-make}"
4612 ac_cpp
='$CPP $CPPFLAGS'
4613 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4614 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4615 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4616 if test -n "$ac_tool_prefix"; then
4617 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4618 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
4619 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4620 printf %s
"checking for $ac_word... " >&6; }
4621 if test ${ac_cv_prog_CC+y}
4623 printf %s
"(cached) " >&6
4625 if test -n "$CC"; then
4626 ac_cv_prog_CC
="$CC" # Let the user override the test.
4628 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4632 case $as_dir in #(((
4635 *) as_dir
=$as_dir/ ;;
4637 for ac_exec_ext
in '' $ac_executable_extensions; do
4638 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
4639 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
4640 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4650 if test -n "$CC"; then
4651 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4652 printf "%s\n" "$CC" >&6; }
4654 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4655 printf "%s\n" "no" >&6; }
4660 if test -z "$ac_cv_prog_CC"; then
4662 # Extract the first word of "gcc", so it can be a program name with args.
4663 set dummy gcc
; ac_word
=$2
4664 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4665 printf %s
"checking for $ac_word... " >&6; }
4666 if test ${ac_cv_prog_ac_ct_CC+y}
4668 printf %s
"(cached) " >&6
4670 if test -n "$ac_ct_CC"; then
4671 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4673 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4677 case $as_dir in #(((
4680 *) as_dir
=$as_dir/ ;;
4682 for ac_exec_ext
in '' $ac_executable_extensions; do
4683 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
4684 ac_cv_prog_ac_ct_CC
="gcc"
4685 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4694 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4695 if test -n "$ac_ct_CC"; then
4696 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4697 printf "%s\n" "$ac_ct_CC" >&6; }
4699 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4700 printf "%s\n" "no" >&6; }
4703 if test "x$ac_ct_CC" = x
; then
4706 case $cross_compiling:$ac_tool_warned in
4708 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4709 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4710 ac_tool_warned
=yes ;;
4718 if test -z "$CC"; then
4719 if test -n "$ac_tool_prefix"; then
4720 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4721 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
4722 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4723 printf %s
"checking for $ac_word... " >&6; }
4724 if test ${ac_cv_prog_CC+y}
4726 printf %s
"(cached) " >&6
4728 if test -n "$CC"; then
4729 ac_cv_prog_CC
="$CC" # Let the user override the test.
4731 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4735 case $as_dir in #(((
4738 *) as_dir
=$as_dir/ ;;
4740 for ac_exec_ext
in '' $ac_executable_extensions; do
4741 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
4742 ac_cv_prog_CC
="${ac_tool_prefix}cc"
4743 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4753 if test -n "$CC"; then
4754 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4755 printf "%s\n" "$CC" >&6; }
4757 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4758 printf "%s\n" "no" >&6; }
4764 if test -z "$CC"; then
4765 # Extract the first word of "cc", so it can be a program name with args.
4766 set dummy cc
; ac_word
=$2
4767 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4768 printf %s
"checking for $ac_word... " >&6; }
4769 if test ${ac_cv_prog_CC+y}
4771 printf %s
"(cached) " >&6
4773 if test -n "$CC"; then
4774 ac_cv_prog_CC
="$CC" # Let the user override the test.
4777 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4781 case $as_dir in #(((
4784 *) as_dir
=$as_dir/ ;;
4786 for ac_exec_ext
in '' $ac_executable_extensions; do
4787 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
4788 if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4789 ac_prog_rejected
=yes
4793 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4800 if test $ac_prog_rejected = yes; then
4801 # We found a bogon in the path, so make sure we never use it.
4802 set dummy
$ac_cv_prog_CC
4804 if test $# != 0; then
4805 # We chose a different compiler from the bogus one.
4806 # However, it has the same basename, so the bogon will be chosen
4807 # first if we set CC to just the basename; use the full file name.
4809 ac_cv_prog_CC
="$as_dir$ac_word${1+' '}$@"
4815 if test -n "$CC"; then
4816 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4817 printf "%s\n" "$CC" >&6; }
4819 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4820 printf "%s\n" "no" >&6; }
4825 if test -z "$CC"; then
4826 if test -n "$ac_tool_prefix"; then
4827 for ac_prog
in cl.exe
4829 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4830 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4831 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4832 printf %s
"checking for $ac_word... " >&6; }
4833 if test ${ac_cv_prog_CC+y}
4835 printf %s
"(cached) " >&6
4837 if test -n "$CC"; then
4838 ac_cv_prog_CC
="$CC" # Let the user override the test.
4840 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4844 case $as_dir in #(((
4847 *) as_dir
=$as_dir/ ;;
4849 for ac_exec_ext
in '' $ac_executable_extensions; do
4850 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
4851 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
4852 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4862 if test -n "$CC"; then
4863 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4864 printf "%s\n" "$CC" >&6; }
4866 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4867 printf "%s\n" "no" >&6; }
4871 test -n "$CC" && break
4874 if test -z "$CC"; then
4876 for ac_prog
in cl.exe
4878 # Extract the first word of "$ac_prog", so it can be a program name with args.
4879 set dummy
$ac_prog; ac_word
=$2
4880 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4881 printf %s
"checking for $ac_word... " >&6; }
4882 if test ${ac_cv_prog_ac_ct_CC+y}
4884 printf %s
"(cached) " >&6
4886 if test -n "$ac_ct_CC"; then
4887 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4889 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4893 case $as_dir in #(((
4896 *) as_dir
=$as_dir/ ;;
4898 for ac_exec_ext
in '' $ac_executable_extensions; do
4899 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
4900 ac_cv_prog_ac_ct_CC
="$ac_prog"
4901 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4910 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4911 if test -n "$ac_ct_CC"; then
4912 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4913 printf "%s\n" "$ac_ct_CC" >&6; }
4915 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4916 printf "%s\n" "no" >&6; }
4920 test -n "$ac_ct_CC" && break
4923 if test "x$ac_ct_CC" = x
; then
4926 case $cross_compiling:$ac_tool_warned in
4928 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4929 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4930 ac_tool_warned
=yes ;;
4937 if test -z "$CC"; then
4938 if test -n "$ac_tool_prefix"; then
4939 # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
4940 set dummy
${ac_tool_prefix}clang
; ac_word
=$2
4941 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4942 printf %s
"checking for $ac_word... " >&6; }
4943 if test ${ac_cv_prog_CC+y}
4945 printf %s
"(cached) " >&6
4947 if test -n "$CC"; then
4948 ac_cv_prog_CC
="$CC" # Let the user override the test.
4950 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4954 case $as_dir in #(((
4957 *) as_dir
=$as_dir/ ;;
4959 for ac_exec_ext
in '' $ac_executable_extensions; do
4960 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
4961 ac_cv_prog_CC
="${ac_tool_prefix}clang"
4962 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4972 if test -n "$CC"; then
4973 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4974 printf "%s\n" "$CC" >&6; }
4976 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4977 printf "%s\n" "no" >&6; }
4982 if test -z "$ac_cv_prog_CC"; then
4984 # Extract the first word of "clang", so it can be a program name with args.
4985 set dummy clang
; ac_word
=$2
4986 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4987 printf %s
"checking for $ac_word... " >&6; }
4988 if test ${ac_cv_prog_ac_ct_CC+y}
4990 printf %s
"(cached) " >&6
4992 if test -n "$ac_ct_CC"; then
4993 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4995 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4999 case $as_dir in #(((
5002 *) as_dir
=$as_dir/ ;;
5004 for ac_exec_ext
in '' $ac_executable_extensions; do
5005 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
5006 ac_cv_prog_ac_ct_CC
="clang"
5007 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5016 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
5017 if test -n "$ac_ct_CC"; then
5018 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5019 printf "%s\n" "$ac_ct_CC" >&6; }
5021 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5022 printf "%s\n" "no" >&6; }
5025 if test "x$ac_ct_CC" = x
; then
5028 case $cross_compiling:$ac_tool_warned in
5030 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5031 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5032 ac_tool_warned
=yes ;;
5043 test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5044 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5045 as_fn_error $?
"no acceptable C compiler found in \$PATH
5046 See \`config.log' for more details" "$LINENO" 5; }
5048 # Provide some information about the compiler.
5049 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
5052 for ac_option
in --version -v -V -qversion -version; do
5053 { { ac_try
="$ac_compiler $ac_option >&5"
5055 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5056 *) ac_try_echo=$ac_try;;
5058 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5059 printf "%s\n" "$ac_try_echo"; } >&5
5060 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5062 if test -s conftest.err; then
5064 ... rest of stderr output deleted ...
5065 10q' conftest.err >conftest.er1
5066 cat conftest.er1 >&5
5068 rm -f conftest.er1 conftest.err
5069 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5070 test $ac_status = 0; }
5073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5074 /* end confdefs.h. */
5084 ac_clean_files_save=$ac_clean_files
5085 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
5086 # Try to create an executable without -o first, disregard a.out.
5087 # It will help us diagnose broken compilers, and finding out an intuition
5089 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
5090 printf %s "checking whether the C compiler works... " >&6; }
5091 ac_link_default=`printf "%s\n" "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
5093 # The possible output files:
5094 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
5097 for ac_file in $ac_files
5100 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
5101 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
5106 if { { ac_try="$ac_link_default"
5108 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5109 *) ac_try_echo
=$ac_try;;
5111 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5112 printf "%s\n" "$ac_try_echo"; } >&5
5113 (eval "$ac_link_default") 2>&5
5115 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5116 test $ac_status = 0; }
5118 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
5119 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
5120 # in a Makefile. We should not override ac_cv_exeext if it was cached,
5121 # so that the user can short-circuit this test for compilers unknown to
5123 for ac_file
in $ac_files ''
5125 test -f "$ac_file" ||
continue
5127 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
5130 # We found the default executable, but exeext='' is most
5134 if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no
;
5136 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
5138 # We set ac_cv_exeext here because the later test for it is not
5139 # safe: cross compilers may not add the suffix if given an `-o'
5140 # argument, so we may need to know it at that point already.
5141 # Even if this section looks crufty: it has the advantage of
5148 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
5153 if test -z "$ac_file"
5155 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5156 printf "%s\n" "no" >&6; }
5157 printf "%s\n" "$as_me: failed program was:" >&5
5158 sed 's/^/| /' conftest.
$ac_ext >&5
5160 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5161 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5162 as_fn_error
77 "C compiler cannot create executables
5163 See \`config.log' for more details" "$LINENO" 5; }
5165 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5166 printf "%s\n" "yes" >&6; }
5168 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
5169 printf %s
"checking for C compiler default output file name... " >&6; }
5170 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
5171 printf "%s\n" "$ac_file" >&6; }
5172 ac_exeext
=$ac_cv_exeext
5174 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
5175 ac_clean_files
=$ac_clean_files_save
5176 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
5177 printf %s
"checking for suffix of executables... " >&6; }
5178 if { { ac_try
="$ac_link"
5180 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5181 *) ac_try_echo=$ac_try;;
5183 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5184 printf "%s\n" "$ac_try_echo"; } >&5
5185 (eval "$ac_link") 2>&5
5187 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5188 test $ac_status = 0; }
5190 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
5191 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
5192 # work properly (i.e., refer to `conftest.exe'), while it won't with
5194 for ac_file
in conftest.exe conftest conftest.
*; do
5195 test -f "$ac_file" ||
continue
5197 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
5198 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
5204 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5205 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5206 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
5207 See \`config.log' for more details" "$LINENO" 5; }
5209 rm -f conftest conftest
$ac_cv_exeext
5210 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
5211 printf "%s\n" "$ac_cv_exeext" >&6; }
5213 rm -f conftest.
$ac_ext
5214 EXEEXT
=$ac_cv_exeext
5216 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5217 /* end confdefs.h. */
5222 FILE *f = fopen ("conftest.out", "w");
5223 return ferror (f) || fclose (f) != 0;
5229 ac_clean_files
="$ac_clean_files conftest.out"
5230 # Check that the compiler produces executables we can run. If not, either
5231 # the compiler is broken, or we cross compile.
5232 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
5233 printf %s
"checking whether we are cross compiling... " >&6; }
5234 if test "$cross_compiling" != yes; then
5235 { { ac_try
="$ac_link"
5237 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5238 *) ac_try_echo=$ac_try;;
5240 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5241 printf "%s\n" "$ac_try_echo"; } >&5
5242 (eval "$ac_link") 2>&5
5244 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5245 test $ac_status = 0; }
5246 if { ac_try='./conftest$ac_cv_exeext'
5247 { { case "(($ac_try" in
5248 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5249 *) ac_try_echo
=$ac_try;;
5251 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5252 printf "%s\n" "$ac_try_echo"; } >&5
5253 (eval "$ac_try") 2>&5
5255 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5256 test $ac_status = 0; }; }; then
5259 if test "$cross_compiling" = maybe
; then
5262 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5263 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5264 as_fn_error
77 "cannot run C compiled programs.
5265 If you meant to cross compile, use \`--host'.
5266 See \`config.log' for more details" "$LINENO" 5; }
5270 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
5271 printf "%s\n" "$cross_compiling" >&6; }
5273 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
5274 ac_clean_files
=$ac_clean_files_save
5275 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
5276 printf %s
"checking for suffix of object files... " >&6; }
5277 if test ${ac_cv_objext+y}
5279 printf %s
"(cached) " >&6
5281 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5282 /* end confdefs.h. */
5292 rm -f conftest.o conftest.obj
5293 if { { ac_try
="$ac_compile"
5295 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5296 *) ac_try_echo=$ac_try;;
5298 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5299 printf "%s\n" "$ac_try_echo"; } >&5
5300 (eval "$ac_compile") 2>&5
5302 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5303 test $ac_status = 0; }
5305 for ac_file in conftest.o conftest.obj conftest.*; do
5306 test -f "$ac_file" || continue;
5308 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
5309 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
5314 printf "%s\n" "$as_me: failed program was:" >&5
5315 sed 's/^/| /' conftest.$ac_ext >&5
5317 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5318 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5319 as_fn_error $? "cannot compute suffix of object files
: cannot compile
5320 See \
`config.log' for more details" "$LINENO" 5; }
5322 rm -f conftest.$ac_cv_objext conftest.$ac_ext
5324 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
5325 printf "%s\n" "$ac_cv_objext" >&6; }
5326 OBJEXT=$ac_cv_objext
5328 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
5329 printf %s "checking whether the compiler supports GNU C... " >&6; }
5330 if test ${ac_cv_c_compiler_gnu+y}
5332 printf %s "(cached) " >&6
5334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5335 /* end confdefs.h. */
5348 if ac_fn_c_try_compile "$LINENO"
5354 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5355 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5358 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5359 printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
5360 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5362 if test $ac_compiler_gnu = yes; then
5367 ac_test_CFLAGS=${CFLAGS+y}
5368 ac_save_CFLAGS=$CFLAGS
5369 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5370 printf %s "checking whether $CC accepts -g... " >&6; }
5371 if test ${ac_cv_prog_cc_g+y}
5373 printf %s "(cached) " >&6
5375 ac_save_c_werror_flag=$ac_c_werror_flag
5376 ac_c_werror_flag=yes
5379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5380 /* end confdefs.h. */
5390 if ac_fn_c_try_compile "$LINENO"
5395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5396 /* end confdefs.h. */
5406 if ac_fn_c_try_compile "$LINENO"
5410 ac_c_werror_flag=$ac_save_c_werror_flag
5412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5413 /* end confdefs.h. */
5423 if ac_fn_c_try_compile "$LINENO"
5427 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5429 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5431 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5432 ac_c_werror_flag=$ac_save_c_werror_flag
5434 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5435 printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
5436 if test $ac_test_CFLAGS; then
5437 CFLAGS=$ac_save_CFLAGS
5438 elif test $ac_cv_prog_cc_g = yes; then
5439 if test "$GCC" = yes; then
5445 if test "$GCC" = yes; then
5452 if test x$ac_prog_cc_stdc = xno
5454 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
5455 printf %s "checking for $CC option to enable C11 features... " >&6; }
5456 if test ${ac_cv_prog_cc_c11+y}
5458 printf %s "(cached) " >&6
5460 ac_cv_prog_cc_c11=no
5462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5463 /* end confdefs.h. */
5464 $ac_c_conftest_c11_program
5466 for ac_arg in '' -std=gnu11
5468 CC="$ac_save_CC $ac_arg"
5469 if ac_fn_c_try_compile "$LINENO"
5471 ac_cv_prog_cc_c11=$ac_arg
5473 rm -f core conftest.err conftest.$ac_objext conftest.beam
5474 test "x$ac_cv_prog_cc_c11" != "xno" && break
5476 rm -f conftest.$ac_ext
5480 if test "x$ac_cv_prog_cc_c11" = xno
5482 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5483 printf "%s\n" "unsupported" >&6; }
5485 if test "x$ac_cv_prog_cc_c11" = x
5487 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5488 printf "%s\n" "none needed" >&6; }
5490 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
5491 printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
5492 CC="$CC $ac_cv_prog_cc_c11"
5494 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
5498 if test x$ac_prog_cc_stdc = xno
5500 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
5501 printf %s "checking for $CC option to enable C99 features... " >&6; }
5502 if test ${ac_cv_prog_cc_c99+y}
5504 printf %s "(cached) " >&6
5506 ac_cv_prog_cc_c99=no
5508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5509 /* end confdefs.h. */
5510 $ac_c_conftest_c99_program
5512 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
5514 CC="$ac_save_CC $ac_arg"
5515 if ac_fn_c_try_compile "$LINENO"
5517 ac_cv_prog_cc_c99=$ac_arg
5519 rm -f core conftest.err conftest.$ac_objext conftest.beam
5520 test "x$ac_cv_prog_cc_c99" != "xno" && break
5522 rm -f conftest.$ac_ext
5526 if test "x$ac_cv_prog_cc_c99" = xno
5528 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5529 printf "%s\n" "unsupported" >&6; }
5531 if test "x$ac_cv_prog_cc_c99" = x
5533 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5534 printf "%s\n" "none needed" >&6; }
5536 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
5537 printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
5538 CC="$CC $ac_cv_prog_cc_c99"
5540 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
5544 if test x$ac_prog_cc_stdc = xno
5546 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
5547 printf %s "checking for $CC option to enable C89 features... " >&6; }
5548 if test ${ac_cv_prog_cc_c89+y}
5550 printf %s "(cached) " >&6
5552 ac_cv_prog_cc_c89=no
5554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5555 /* end confdefs.h. */
5556 $ac_c_conftest_c89_program
5558 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5560 CC="$ac_save_CC $ac_arg"
5561 if ac_fn_c_try_compile "$LINENO"
5563 ac_cv_prog_cc_c89=$ac_arg
5565 rm -f core conftest.err conftest.$ac_objext conftest.beam
5566 test "x$ac_cv_prog_cc_c89" != "xno" && break
5568 rm -f conftest.$ac_ext
5572 if test "x$ac_cv_prog_cc_c89" = xno
5574 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5575 printf "%s\n" "unsupported" >&6; }
5577 if test "x$ac_cv_prog_cc_c89" = x
5579 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5580 printf "%s\n" "none needed" >&6; }
5582 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5583 printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
5584 CC="$CC $ac_cv_prog_cc_c89"
5586 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
5592 ac_cpp='$CPP $CPPFLAGS'
5593 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5594 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5595 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5604 ac_cpp='$CXXCPP $CPPFLAGS'
5605 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5606 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5607 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5608 if test -z "$CXX"; then
5609 if test -n "$CCC"; then
5612 if test -n "$ac_tool_prefix"; then
5613 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC clang++
5615 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5616 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5617 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5618 printf %s "checking for $ac_word... " >&6; }
5619 if test ${ac_cv_prog_CXX+y}
5621 printf %s "(cached) " >&6
5623 if test -n "$CXX"; then
5624 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5626 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5630 case $as_dir in #(((
5633 *) as_dir=$as_dir/ ;;
5635 for ac_exec_ext in '' $ac_executable_extensions; do
5636 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5637 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5638 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5648 if test -n "$CXX"; then
5649 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5650 printf "%s\n" "$CXX" >&6; }
5652 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5653 printf "%s\n" "no" >&6; }
5657 test -n "$CXX" && break
5660 if test -z "$CXX"; then
5662 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC clang++
5664 # Extract the first word of "$ac_prog", so it can be a program name with args.
5665 set dummy $ac_prog; ac_word=$2
5666 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5667 printf %s "checking for $ac_word... " >&6; }
5668 if test ${ac_cv_prog_ac_ct_CXX+y}
5670 printf %s "(cached) " >&6
5672 if test -n "$ac_ct_CXX"; then
5673 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5675 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5679 case $as_dir in #(((
5682 *) as_dir=$as_dir/ ;;
5684 for ac_exec_ext in '' $ac_executable_extensions; do
5685 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5686 ac_cv_prog_ac_ct_CXX="$ac_prog"
5687 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5696 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5697 if test -n "$ac_ct_CXX"; then
5698 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5699 printf "%s\n" "$ac_ct_CXX" >&6; }
5701 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5702 printf "%s\n" "no" >&6; }
5706 test -n "$ac_ct_CXX" && break
5709 if test "x$ac_ct_CXX" = x; then
5712 case $cross_compiling:$ac_tool_warned in
5714 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5715 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5716 ac_tool_warned=yes ;;
5724 # Provide some information about the compiler.
5725 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5728 for ac_option in --version -v -V -qversion; do
5729 { { ac_try="$ac_compiler $ac_option >&5"
5731 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5732 *) ac_try_echo
=$ac_try;;
5734 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5735 printf "%s\n" "$ac_try_echo"; } >&5
5736 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5738 if test -s conftest.err
; then
5740 ... rest of stderr output deleted ...
5741 10q' conftest.err
>conftest.er1
5742 cat conftest.er1
>&5
5744 rm -f conftest.er1 conftest.err
5745 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5746 test $ac_status = 0; }
5749 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C++" >&5
5750 printf %s
"checking whether the compiler supports GNU C++... " >&6; }
5751 if test ${ac_cv_cxx_compiler_gnu+y}
5753 printf %s
"(cached) " >&6
5755 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5756 /* end confdefs.h. */
5769 if ac_fn_cxx_try_compile
"$LINENO"
5775 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5776 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
5779 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5780 printf "%s\n" "$ac_cv_cxx_compiler_gnu" >&6; }
5781 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5783 if test $ac_compiler_gnu = yes; then
5788 ac_test_CXXFLAGS
=${CXXFLAGS+y}
5789 ac_save_CXXFLAGS
=$CXXFLAGS
5790 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5791 printf %s
"checking whether $CXX accepts -g... " >&6; }
5792 if test ${ac_cv_prog_cxx_g+y}
5794 printf %s
"(cached) " >&6
5796 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
5797 ac_cxx_werror_flag
=yes
5800 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5801 /* end confdefs.h. */
5811 if ac_fn_cxx_try_compile
"$LINENO"
5813 ac_cv_prog_cxx_g
=yes
5816 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5817 /* end confdefs.h. */
5827 if ac_fn_cxx_try_compile
"$LINENO"
5831 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
5833 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5834 /* end confdefs.h. */
5844 if ac_fn_cxx_try_compile
"$LINENO"
5846 ac_cv_prog_cxx_g
=yes
5848 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5850 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5852 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5853 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
5855 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5856 printf "%s\n" "$ac_cv_prog_cxx_g" >&6; }
5857 if test $ac_test_CXXFLAGS; then
5858 CXXFLAGS
=$ac_save_CXXFLAGS
5859 elif test $ac_cv_prog_cxx_g = yes; then
5860 if test "$GXX" = yes; then
5866 if test "$GXX" = yes; then
5872 ac_prog_cxx_stdcxx
=no
5873 if test x
$ac_prog_cxx_stdcxx = xno
5875 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++11 features" >&5
5876 printf %s
"checking for $CXX option to enable C++11 features... " >&6; }
5877 if test ${ac_cv_prog_cxx_cxx11+y}
5879 printf %s
"(cached) " >&6
5881 ac_cv_prog_cxx_cxx11
=no
5883 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5884 /* end confdefs.h. */
5885 $ac_cxx_conftest_cxx11_program
5887 for ac_arg
in '' -std=gnu
++11 -std=gnu
++0x
-std=c
++11 -std=c
++0x
-qlanglvl=extended0x
-AA
5889 CXX
="$ac_save_CXX $ac_arg"
5890 if ac_fn_cxx_try_compile
"$LINENO"
5892 ac_cv_prog_cxx_cxx11
=$ac_arg
5894 rm -f core conftest.err conftest.
$ac_objext conftest.beam
5895 test "x$ac_cv_prog_cxx_cxx11" != "xno" && break
5897 rm -f conftest.
$ac_ext
5901 if test "x$ac_cv_prog_cxx_cxx11" = xno
5903 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5904 printf "%s\n" "unsupported" >&6; }
5906 if test "x$ac_cv_prog_cxx_cxx11" = x
5908 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5909 printf "%s\n" "none needed" >&6; }
5911 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx11" >&5
5912 printf "%s\n" "$ac_cv_prog_cxx_cxx11" >&6; }
5913 CXX
="$CXX $ac_cv_prog_cxx_cxx11"
5915 ac_cv_prog_cxx_stdcxx
=$ac_cv_prog_cxx_cxx11
5916 ac_prog_cxx_stdcxx
=cxx11
5919 if test x
$ac_prog_cxx_stdcxx = xno
5921 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++98 features" >&5
5922 printf %s
"checking for $CXX option to enable C++98 features... " >&6; }
5923 if test ${ac_cv_prog_cxx_cxx98+y}
5925 printf %s
"(cached) " >&6
5927 ac_cv_prog_cxx_cxx98
=no
5929 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5930 /* end confdefs.h. */
5931 $ac_cxx_conftest_cxx98_program
5933 for ac_arg
in '' -std=gnu
++98 -std=c
++98 -qlanglvl=extended
-AA
5935 CXX
="$ac_save_CXX $ac_arg"
5936 if ac_fn_cxx_try_compile
"$LINENO"
5938 ac_cv_prog_cxx_cxx98
=$ac_arg
5940 rm -f core conftest.err conftest.
$ac_objext conftest.beam
5941 test "x$ac_cv_prog_cxx_cxx98" != "xno" && break
5943 rm -f conftest.
$ac_ext
5947 if test "x$ac_cv_prog_cxx_cxx98" = xno
5949 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5950 printf "%s\n" "unsupported" >&6; }
5952 if test "x$ac_cv_prog_cxx_cxx98" = x
5954 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5955 printf "%s\n" "none needed" >&6; }
5957 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx98" >&5
5958 printf "%s\n" "$ac_cv_prog_cxx_cxx98" >&6; }
5959 CXX
="$CXX $ac_cv_prog_cxx_cxx98"
5961 ac_cv_prog_cxx_stdcxx
=$ac_cv_prog_cxx_cxx98
5962 ac_prog_cxx_stdcxx
=cxx98
5967 ac_cpp
='$CPP $CPPFLAGS'
5968 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5969 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5970 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5972 if test -n "$ac_tool_prefix"; then
5973 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
5974 set dummy
${ac_tool_prefix}cpp
; ac_word
=$2
5975 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5976 printf %s
"checking for $ac_word... " >&6; }
5977 if test ${ac_cv_prog_CPPBIN+y}
5979 printf %s
"(cached) " >&6
5981 if test -n "$CPPBIN"; then
5982 ac_cv_prog_CPPBIN
="$CPPBIN" # Let the user override the test.
5984 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5988 case $as_dir in #(((
5991 *) as_dir
=$as_dir/ ;;
5993 for ac_exec_ext
in '' $ac_executable_extensions; do
5994 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
5995 ac_cv_prog_CPPBIN
="${ac_tool_prefix}cpp"
5996 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6005 CPPBIN
=$ac_cv_prog_CPPBIN
6006 if test -n "$CPPBIN"; then
6007 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
6008 printf "%s\n" "$CPPBIN" >&6; }
6010 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6011 printf "%s\n" "no" >&6; }
6016 if test -z "$ac_cv_prog_CPPBIN"; then
6017 ac_ct_CPPBIN
=$CPPBIN
6018 # Extract the first word of "cpp", so it can be a program name with args.
6019 set dummy cpp
; ac_word
=$2
6020 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6021 printf %s
"checking for $ac_word... " >&6; }
6022 if test ${ac_cv_prog_ac_ct_CPPBIN+y}
6024 printf %s
"(cached) " >&6
6026 if test -n "$ac_ct_CPPBIN"; then
6027 ac_cv_prog_ac_ct_CPPBIN
="$ac_ct_CPPBIN" # Let the user override the test.
6029 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6033 case $as_dir in #(((
6036 *) as_dir
=$as_dir/ ;;
6038 for ac_exec_ext
in '' $ac_executable_extensions; do
6039 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6040 ac_cv_prog_ac_ct_CPPBIN
="cpp"
6041 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6050 ac_ct_CPPBIN
=$ac_cv_prog_ac_ct_CPPBIN
6051 if test -n "$ac_ct_CPPBIN"; then
6052 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
6053 printf "%s\n" "$ac_ct_CPPBIN" >&6; }
6055 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6056 printf "%s\n" "no" >&6; }
6059 if test "x$ac_ct_CPPBIN" = x
; then
6062 case $cross_compiling:$ac_tool_warned in
6064 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6065 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6066 ac_tool_warned
=yes ;;
6068 CPPBIN
=$ac_ct_CPPBIN
6071 CPPBIN
="$ac_cv_prog_CPPBIN"
6075 printf "%s\n" "#define EXEEXT \"$ac_exeext\"" >>confdefs.h
6077 if test -n "$ac_tool_prefix"; then
6078 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
6079 set dummy
${ac_tool_prefix}ld
; ac_word
=$2
6080 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6081 printf %s
"checking for $ac_word... " >&6; }
6082 if test ${ac_cv_prog_LD+y}
6084 printf %s
"(cached) " >&6
6086 if test -n "$LD"; then
6087 ac_cv_prog_LD
="$LD" # Let the user override the test.
6089 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6093 case $as_dir in #(((
6096 *) as_dir
=$as_dir/ ;;
6098 for ac_exec_ext
in '' $ac_executable_extensions; do
6099 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6100 ac_cv_prog_LD
="${ac_tool_prefix}ld"
6101 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6111 if test -n "$LD"; then
6112 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6113 printf "%s\n" "$LD" >&6; }
6115 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6116 printf "%s\n" "no" >&6; }
6121 if test -z "$ac_cv_prog_LD"; then
6123 # Extract the first word of "ld", so it can be a program name with args.
6124 set dummy ld
; ac_word
=$2
6125 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6126 printf %s
"checking for $ac_word... " >&6; }
6127 if test ${ac_cv_prog_ac_ct_LD+y}
6129 printf %s
"(cached) " >&6
6131 if test -n "$ac_ct_LD"; then
6132 ac_cv_prog_ac_ct_LD
="$ac_ct_LD" # Let the user override the test.
6134 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6138 case $as_dir in #(((
6141 *) as_dir
=$as_dir/ ;;
6143 for ac_exec_ext
in '' $ac_executable_extensions; do
6144 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6145 ac_cv_prog_ac_ct_LD
="ld"
6146 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6155 ac_ct_LD
=$ac_cv_prog_ac_ct_LD
6156 if test -n "$ac_ct_LD"; then
6157 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
6158 printf "%s\n" "$ac_ct_LD" >&6; }
6160 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6161 printf "%s\n" "no" >&6; }
6164 if test "x$ac_ct_LD" = x
; then
6167 case $cross_compiling:$ac_tool_warned in
6169 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6170 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6171 ac_tool_warned
=yes ;;
6182 with_fontconfig
=${with_fontconfig:-no}
6184 *-mingw32*|
*-cygwin*)
6185 enable_win16
=${enable_win16:-no}
6186 with_mingw
=${with_mingw:-no}
6193 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes" -a x
"$enable_archs" = x
6198 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
6199 printf %s
"checking whether $CC works... " >&6; }
6200 if test ${wine_cv_cc_m32+y}
6202 printf %s
"(cached) " >&6
6204 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6205 /* end confdefs.h. */
6215 if ac_fn_c_try_link
"$LINENO"
6221 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
6222 conftest
$ac_exeext conftest.
$ac_ext
6224 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_cc_m32" >&5
6225 printf "%s\n" "$wine_cv_cc_m32" >&6; }
6226 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
6228 notice_platform
="32-bit "
6229 TARGETFLAGS
="$TARGETFLAGS -m32"
6230 PKG_CONFIG_LIBDIR
=${PKG_CONFIG_LIBDIR:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib32/pkgconfig:/usr/lib/pkgconfig}
6231 export PKG_CONFIG_LIBDIR
6232 with_unwind
=${with_unwind:-no}
6234 if test "x${GCC}" = "xyes"
6236 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
6237 printf %s
"checking whether $CC supports __builtin_ms_va_list... " >&6; }
6238 if test ${wine_cv_builtin_ms_va_list+y}
6240 printf %s
"(cached) " >&6
6242 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6243 /* end confdefs.h. */
6248 void func(__builtin_ms_va_list *args);
6253 if ac_fn_c_try_compile
"$LINENO"
6255 wine_cv_builtin_ms_va_list
=yes
6257 wine_cv_builtin_ms_va_list
=no
6259 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6261 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_builtin_ms_va_list" >&5
6262 printf "%s\n" "$wine_cv_builtin_ms_va_list" >&6; }
6263 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
6268 notice_platform
="64-bit "
6269 TARGETFLAGS
="$TARGETFLAGS -m64"
6273 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb-2" >&5
6274 printf %s
"checking whether $CC supports Thumb-2... " >&6; }
6275 if test ${wine_cv_thumb2+y}
6277 printf %s
"(cached) " >&6
6279 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6280 /* end confdefs.h. */
6285 asm(".syntax unified\n\t.thumb\n\tldm r0,{r0-r8}");
6290 if ac_fn_c_try_link
"$LINENO"
6296 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
6297 conftest
$ac_exeext conftest.
$ac_ext
6299 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_thumb2" >&5
6300 printf "%s\n" "$wine_cv_thumb2" >&6; }
6301 if test x
"$wine_cv_thumb2" = xyes
6303 CFLAGS
="$CFLAGS -mthumb"
6304 TARGETFLAGS
="$TARGETFLAGS -mthumb"
6306 CFLAGS
="$CFLAGS -marm"
6307 TARGETFLAGS
="$TARGETFLAGS -marm"
6309 case $with_float_abi in
6311 float_abi
=$with_float_abi ;;
6318 saved_CFLAGS
=$CFLAGS
6319 CFLAGS
="$CFLAGS -mfloat-abi=$float_abi"
6320 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mfloat-abi=$float_abi" >&5
6321 printf %s
"checking whether $CC supports -mfloat-abi=$float_abi... " >&6; }
6322 if test ${wine_cv_float_abi+y}
6324 printf %s
"(cached) " >&6
6326 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6327 /* end confdefs.h. */
6332 asm("vmrs r2,fpscr");
6337 if ac_fn_c_try_link
"$LINENO"
6339 wine_cv_float_abi
=yes
6341 wine_cv_float_abi
=no
6343 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
6344 conftest
$ac_exeext conftest.
$ac_ext
6346 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_float_abi" >&5
6347 printf "%s\n" "$wine_cv_float_abi" >&6; }
6348 if test $wine_cv_float_abi = no
6351 as_fn_append wine_warnings
"|Floating point is not supported for this target. The resulting build won't be compatible with Windows ARM binaries."
6353 CFLAGS
=$saved_CFLAGS
6357 CFLAGS
="$CFLAGS -mfloat-abi=$float_abi"
6358 TARGETFLAGS
="$TARGETFLAGS -mfloat-abi=$float_abi"
6361 with_unwind
=${with_unwind:-no}
6365 enable_win16
=${enable_win16:-i386}
6366 enable_win64
=${enable_win64:-no}
6367 enable_wow64
=${enable_wow64:-aarch64,x86_64}
6368 enable_wow64win
=${enable_wow64win:-aarch64,x86_64}
6369 enable_wow64cpu
=${enable_wow64cpu:-x86_64}
6371 enable_winetest
=${enable_winetest:-$enable_tests}
6373 if test "x$enable_win64" = "xyes"
6375 test -z "$with_wine64" || as_fn_error $?
"--enable-win64 and --with-wine64 are mutually exclusive.
6376 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
6380 cygwin
*|mingw32
*) toolsext
=".exe"
6388 aarch64
*) HOST_ARCH
=aarch64
;;
6389 arm
*) HOST_ARCH
=arm
;;
6390 i
[3456789]86*) HOST_ARCH
=i386
;;
6391 x86_64
) HOST_ARCH
=x86_64
;;
6395 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
6396 printf %s
"checking for the directory containing the Wine tools... " >&6; }
6397 if test ${wine_cv_toolsdir+y}
6399 printf %s
"(cached) " >&6
6401 wine_cv_toolsdir
="$with_wine_tools"
6402 if test -z "$with_wine_tools"; then
6403 if test "$cross_compiling" = "yes"; then
6404 as_fn_error $?
"you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
6405 elif test -n "$with_wine64"; then
6406 wine_cv_toolsdir
="$with_wine64"
6410 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
6411 printf "%s\n" "$wine_cv_toolsdir" >&6; }
6412 if test -z "$wine_cv_toolsdir"; then
6413 wine_makedep
=tools
/makedep
$toolsext
6414 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
6415 wine_makedep
=$wine_cv_toolsdir/tools
/makedep
$toolsext
6416 enable_tools
=${enable_tools:-no}
6417 test -f "$wine_makedep" || as_fn_error $?
"the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
6419 as_fn_error $?
"could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
6421 toolsdir
=$wine_cv_toolsdir
6423 MAKEDEP
=$wine_makedep
6425 RUNTESTFLAGS
="-q -P wine"
6427 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'"
6430 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
6432 TARGETFLAGS
="-b $host_alias $TARGETFLAGS"
6437 # Extract the first word of "$ac_prog", so it can be a program name with args.
6438 set dummy
$ac_prog; ac_word
=$2
6439 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6440 printf %s
"checking for $ac_word... " >&6; }
6441 if test ${ac_cv_prog_FLEX+y}
6443 printf %s
"(cached) " >&6
6445 if test -n "$FLEX"; then
6446 ac_cv_prog_FLEX
="$FLEX" # Let the user override the test.
6448 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6452 case $as_dir in #(((
6455 *) as_dir
=$as_dir/ ;;
6457 for ac_exec_ext
in '' $ac_executable_extensions; do
6458 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6459 ac_cv_prog_FLEX
="$ac_prog"
6460 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6469 FLEX
=$ac_cv_prog_FLEX
6470 if test -n "$FLEX"; then
6471 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
6472 printf "%s\n" "$FLEX" >&6; }
6474 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6475 printf "%s\n" "no" >&6; }
6479 test -n "$FLEX" && break
6481 test -n "$FLEX" || FLEX
="none"
6483 if test "$FLEX" = "none"
6485 as_fn_error $?
"no suitable flex found. Please install the 'flex' package." "$LINENO" 5
6487 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
6488 printf %s
"checking whether flex is recent enough... " >&6; }
6489 if test ${wine_cv_recent_flex+y}
6491 printf %s
"(cached) " >&6
6493 cat >conftest.l
<<EOF
6495 #include "prediluvian.h"
6499 if $FLEX -t conftest.l
>/dev
/null
2>&5
6501 wine_cv_recent_flex
=yes
6503 wine_cv_recent_flex
=no
6506 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_flex" >&5
6507 printf "%s\n" "$wine_cv_recent_flex" >&6; }
6508 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
6510 for ac_prog
in bison
6512 # Extract the first word of "$ac_prog", so it can be a program name with args.
6513 set dummy
$ac_prog; ac_word
=$2
6514 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6515 printf %s
"checking for $ac_word... " >&6; }
6516 if test ${ac_cv_prog_BISON+y}
6518 printf %s
"(cached) " >&6
6520 if test -n "$BISON"; then
6521 ac_cv_prog_BISON
="$BISON" # Let the user override the test.
6523 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6527 case $as_dir in #(((
6530 *) as_dir
=$as_dir/ ;;
6532 for ac_exec_ext
in '' $ac_executable_extensions; do
6533 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6534 ac_cv_prog_BISON
="$ac_prog"
6535 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6544 BISON
=$ac_cv_prog_BISON
6545 if test -n "$BISON"; then
6546 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
6547 printf "%s\n" "$BISON" >&6; }
6549 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6550 printf "%s\n" "no" >&6; }
6554 test -n "$BISON" && break
6556 test -n "$BISON" || BISON
="none"
6558 if test "$BISON" = "none"
6560 as_fn_error $?
"no suitable bison found. Please install the 'bison' package." "$LINENO" 5
6562 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether bison is recent enough" >&5
6563 printf %s
"checking whether bison is recent enough... " >&6; }
6564 if test ${wine_cv_recent_bison+y}
6566 printf %s
"(cached) " >&6
6568 cat >conftest.y
<<EOF
6569 %define parse.error verbose
6573 if $BISON conftest.y
>/dev
/null
2>&5
6575 wine_cv_recent_bison
=yes
6577 wine_cv_recent_bison
=no
6580 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_bison" >&5
6581 printf "%s\n" "$wine_cv_recent_bison" >&6; }
6582 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
6584 if test -n "$ac_tool_prefix"; then
6585 for ac_prog
in ar gar
6587 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6588 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
6589 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6590 printf %s
"checking for $ac_word... " >&6; }
6591 if test ${ac_cv_prog_AR+y}
6593 printf %s
"(cached) " >&6
6595 if test -n "$AR"; then
6596 ac_cv_prog_AR
="$AR" # Let the user override the test.
6598 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6602 case $as_dir in #(((
6605 *) as_dir
=$as_dir/ ;;
6607 for ac_exec_ext
in '' $ac_executable_extensions; do
6608 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6609 ac_cv_prog_AR
="$ac_tool_prefix$ac_prog"
6610 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6620 if test -n "$AR"; then
6621 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6622 printf "%s\n" "$AR" >&6; }
6624 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6625 printf "%s\n" "no" >&6; }
6629 test -n "$AR" && break
6632 if test -z "$AR"; then
6634 for ac_prog
in ar gar
6636 # Extract the first word of "$ac_prog", so it can be a program name with args.
6637 set dummy
$ac_prog; ac_word
=$2
6638 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6639 printf %s
"checking for $ac_word... " >&6; }
6640 if test ${ac_cv_prog_ac_ct_AR+y}
6642 printf %s
"(cached) " >&6
6644 if test -n "$ac_ct_AR"; then
6645 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
6647 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6651 case $as_dir in #(((
6654 *) as_dir
=$as_dir/ ;;
6656 for ac_exec_ext
in '' $ac_executable_extensions; do
6657 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6658 ac_cv_prog_ac_ct_AR
="$ac_prog"
6659 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6668 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
6669 if test -n "$ac_ct_AR"; then
6670 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6671 printf "%s\n" "$ac_ct_AR" >&6; }
6673 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6674 printf "%s\n" "no" >&6; }
6678 test -n "$ac_ct_AR" && break
6681 if test "x$ac_ct_AR" = x
; then
6684 case $cross_compiling:$ac_tool_warned in
6686 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6687 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6688 ac_tool_warned
=yes ;;
6694 if test -n "$ac_tool_prefix"; then
6695 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6696 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
6697 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6698 printf %s
"checking for $ac_word... " >&6; }
6699 if test ${ac_cv_prog_STRIP+y}
6701 printf %s
"(cached) " >&6
6703 if test -n "$STRIP"; then
6704 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
6706 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6710 case $as_dir in #(((
6713 *) as_dir
=$as_dir/ ;;
6715 for ac_exec_ext
in '' $ac_executable_extensions; do
6716 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6717 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
6718 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6727 STRIP
=$ac_cv_prog_STRIP
6728 if test -n "$STRIP"; then
6729 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6730 printf "%s\n" "$STRIP" >&6; }
6732 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6733 printf "%s\n" "no" >&6; }
6738 if test -z "$ac_cv_prog_STRIP"; then
6740 # Extract the first word of "strip", so it can be a program name with args.
6741 set dummy strip
; ac_word
=$2
6742 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6743 printf %s
"checking for $ac_word... " >&6; }
6744 if test ${ac_cv_prog_ac_ct_STRIP+y}
6746 printf %s
"(cached) " >&6
6748 if test -n "$ac_ct_STRIP"; then
6749 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
6751 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6755 case $as_dir in #(((
6758 *) as_dir
=$as_dir/ ;;
6760 for ac_exec_ext
in '' $ac_executable_extensions; do
6761 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6762 ac_cv_prog_ac_ct_STRIP
="strip"
6763 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6772 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
6773 if test -n "$ac_ct_STRIP"; then
6774 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6775 printf "%s\n" "$ac_ct_STRIP" >&6; }
6777 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6778 printf "%s\n" "no" >&6; }
6781 if test "x$ac_ct_STRIP" = x
; then
6784 case $cross_compiling:$ac_tool_warned in
6786 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6787 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6788 ac_tool_warned
=yes ;;
6793 STRIP
="$ac_cv_prog_STRIP"
6796 if test -n "$ac_tool_prefix"; then
6797 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6798 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
6799 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6800 printf %s
"checking for $ac_word... " >&6; }
6801 if test ${ac_cv_prog_RANLIB+y}
6803 printf %s
"(cached) " >&6
6805 if test -n "$RANLIB"; then
6806 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
6808 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6812 case $as_dir in #(((
6815 *) as_dir
=$as_dir/ ;;
6817 for ac_exec_ext
in '' $ac_executable_extensions; do
6818 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6819 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
6820 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6829 RANLIB
=$ac_cv_prog_RANLIB
6830 if test -n "$RANLIB"; then
6831 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6832 printf "%s\n" "$RANLIB" >&6; }
6834 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6835 printf "%s\n" "no" >&6; }
6840 if test -z "$ac_cv_prog_RANLIB"; then
6841 ac_ct_RANLIB
=$RANLIB
6842 # Extract the first word of "ranlib", so it can be a program name with args.
6843 set dummy ranlib
; ac_word
=$2
6844 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6845 printf %s
"checking for $ac_word... " >&6; }
6846 if test ${ac_cv_prog_ac_ct_RANLIB+y}
6848 printf %s
"(cached) " >&6
6850 if test -n "$ac_ct_RANLIB"; then
6851 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
6853 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6857 case $as_dir in #(((
6860 *) as_dir
=$as_dir/ ;;
6862 for ac_exec_ext
in '' $ac_executable_extensions; do
6863 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6864 ac_cv_prog_ac_ct_RANLIB
="ranlib"
6865 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6874 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
6875 if test -n "$ac_ct_RANLIB"; then
6876 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6877 printf "%s\n" "$ac_ct_RANLIB" >&6; }
6879 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6880 printf "%s\n" "no" >&6; }
6883 if test "x$ac_ct_RANLIB" = x
; then
6886 case $cross_compiling:$ac_tool_warned in
6888 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6889 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6890 ac_tool_warned
=yes ;;
6892 RANLIB
=$ac_ct_RANLIB
6895 RANLIB
="$ac_cv_prog_RANLIB"
6898 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6899 printf %s
"checking whether ln -s works... " >&6; }
6901 if test "$LN_S" = "ln -s"; then
6902 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6903 printf "%s\n" "yes" >&6; }
6905 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6906 printf "%s\n" "no, using $LN_S" >&6; }
6909 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
6910 printf %s
"checking for grep that handles long lines and -e... " >&6; }
6911 if test ${ac_cv_path_GREP+y}
6913 printf %s
"(cached) " >&6
6915 if test -z "$GREP"; then
6916 ac_path_GREP_found
=false
6917 # Loop through the user's path and test for each of PROGNAME-LIST
6918 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6919 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
6922 case $as_dir in #(((
6925 *) as_dir
=$as_dir/ ;;
6927 for ac_prog
in grep ggrep
6929 for ac_exec_ext
in '' $ac_executable_extensions; do
6930 ac_path_GREP
="$as_dir$ac_prog$ac_exec_ext"
6931 as_fn_executable_p
"$ac_path_GREP" ||
continue
6932 # Check for GNU ac_path_GREP and select it if it is found.
6933 # Check for GNU $ac_path_GREP
6934 case `"$ac_path_GREP" --version 2>&1` in
6936 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
6939 printf %s
0123456789 >"conftest.in"
6942 cat "conftest.in" "conftest.in" >"conftest.tmp"
6943 mv "conftest.tmp" "conftest.in"
6944 cp "conftest.in" "conftest.nl"
6945 printf "%s\n" 'GREP' >> "conftest.nl"
6946 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
6947 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
6948 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
6949 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6950 # Best one so far, save it but keep looking for a better one
6951 ac_cv_path_GREP
="$ac_path_GREP"
6952 ac_path_GREP_max
=$ac_count
6954 # 10*(2^10) chars as input seems more than enough
6955 test $ac_count -gt 10 && break
6957 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
6960 $ac_path_GREP_found && break 3
6965 if test -z "$ac_cv_path_GREP"; then
6966 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6969 ac_cv_path_GREP
=$GREP
6973 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
6974 printf "%s\n" "$ac_cv_path_GREP" >&6; }
6975 GREP
="$ac_cv_path_GREP"
6978 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
6979 printf %s
"checking for egrep... " >&6; }
6980 if test ${ac_cv_path_EGREP+y}
6982 printf %s
"(cached) " >&6
6984 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
6985 then ac_cv_path_EGREP
="$GREP -E"
6987 if test -z "$EGREP"; then
6988 ac_path_EGREP_found
=false
6989 # Loop through the user's path and test for each of PROGNAME-LIST
6990 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6991 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
6994 case $as_dir in #(((
6997 *) as_dir
=$as_dir/ ;;
6999 for ac_prog
in egrep
7001 for ac_exec_ext
in '' $ac_executable_extensions; do
7002 ac_path_EGREP
="$as_dir$ac_prog$ac_exec_ext"
7003 as_fn_executable_p
"$ac_path_EGREP" ||
continue
7004 # Check for GNU ac_path_EGREP and select it if it is found.
7005 # Check for GNU $ac_path_EGREP
7006 case `"$ac_path_EGREP" --version 2>&1` in
7008 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
7011 printf %s
0123456789 >"conftest.in"
7014 cat "conftest.in" "conftest.in" >"conftest.tmp"
7015 mv "conftest.tmp" "conftest.in"
7016 cp "conftest.in" "conftest.nl"
7017 printf "%s\n" 'EGREP' >> "conftest.nl"
7018 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
7019 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
7020 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
7021 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
7022 # Best one so far, save it but keep looking for a better one
7023 ac_cv_path_EGREP
="$ac_path_EGREP"
7024 ac_path_EGREP_max
=$ac_count
7026 # 10*(2^10) chars as input seems more than enough
7027 test $ac_count -gt 10 && break
7029 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
7032 $ac_path_EGREP_found && break 3
7037 if test -z "$ac_cv_path_EGREP"; then
7038 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
7041 ac_cv_path_EGREP
=$EGREP
7046 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
7047 printf "%s\n" "$ac_cv_path_EGREP" >&6; }
7048 EGREP
="$ac_cv_path_EGREP"
7051 # Extract the first word of "ldconfig", so it can be a program name with args.
7052 set dummy ldconfig
; ac_word
=$2
7053 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7054 printf %s
"checking for $ac_word... " >&6; }
7055 if test ${ac_cv_path_LDCONFIG+y}
7057 printf %s
"(cached) " >&6
7061 ac_cv_path_LDCONFIG
="$LDCONFIG" # Let the user override the test with a path.
7064 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7065 for as_dir
in /sbin
/usr
/sbin
$PATH
7068 case $as_dir in #(((
7071 *) as_dir
=$as_dir/ ;;
7073 for ac_exec_ext
in '' $ac_executable_extensions; do
7074 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
7075 ac_cv_path_LDCONFIG
="$as_dir$ac_word$ac_exec_ext"
7076 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7083 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG
="true"
7087 LDCONFIG
=$ac_cv_path_LDCONFIG
7088 if test -n "$LDCONFIG"; then
7089 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
7090 printf "%s\n" "$LDCONFIG" >&6; }
7092 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7093 printf "%s\n" "no" >&6; }
7097 for ac_prog
in msgfmt
7099 # Extract the first word of "$ac_prog", so it can be a program name with args.
7100 set dummy
$ac_prog; ac_word
=$2
7101 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7102 printf %s
"checking for $ac_word... " >&6; }
7103 if test ${ac_cv_prog_MSGFMT+y}
7105 printf %s
"(cached) " >&6
7107 if test -n "$MSGFMT"; then
7108 ac_cv_prog_MSGFMT
="$MSGFMT" # Let the user override the test.
7110 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7114 case $as_dir in #(((
7117 *) as_dir
=$as_dir/ ;;
7119 for ac_exec_ext
in '' $ac_executable_extensions; do
7120 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
7121 ac_cv_prog_MSGFMT
="$ac_prog"
7122 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7131 MSGFMT
=$ac_cv_prog_MSGFMT
7132 if test -n "$MSGFMT"; then
7133 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
7134 printf "%s\n" "$MSGFMT" >&6; }
7136 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7137 printf "%s\n" "no" >&6; }
7141 test -n "$MSGFMT" && break
7143 test -n "$MSGFMT" || MSGFMT
="false"
7145 if test ${ac_tool_prefix+y}
7147 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
7148 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
7149 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7150 printf %s
"checking for $ac_word... " >&6; }
7151 if test ${ac_cv_prog_PKG_CONFIG+y}
7153 printf %s
"(cached) " >&6
7155 if test -n "$PKG_CONFIG"; then
7156 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
7158 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7162 case $as_dir in #(((
7165 *) as_dir
=$as_dir/ ;;
7167 for ac_exec_ext
in '' $ac_executable_extensions; do
7168 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
7169 ac_cv_prog_PKG_CONFIG
="${ac_tool_prefix}pkg-config"
7170 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7179 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
7180 if test -n "$PKG_CONFIG"; then
7181 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
7182 printf "%s\n" "$PKG_CONFIG" >&6; }
7184 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7185 printf "%s\n" "no" >&6; }
7190 if ${ac_cv_prog_PKG_CONFIG:+false} :
7192 if test "x$cross_compiling" = xyes
7196 { ac_cv_prog_PKG_CONFIG
=; unset ac_cv_prog_PKG_CONFIG
;}
7197 # Extract the first word of "pkg-config", so it can be a program name with args.
7198 set dummy pkg-config
; ac_word
=$2
7199 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7200 printf %s
"checking for $ac_word... " >&6; }
7201 if test ${ac_cv_prog_PKG_CONFIG+y}
7203 printf %s
"(cached) " >&6
7205 if test -n "$PKG_CONFIG"; then
7206 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
7208 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7212 case $as_dir in #(((
7215 *) as_dir
=$as_dir/ ;;
7217 for ac_exec_ext
in '' $ac_executable_extensions; do
7218 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
7219 ac_cv_prog_PKG_CONFIG
="pkg-config"
7220 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7229 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
7230 if test -n "$PKG_CONFIG"; then
7231 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
7232 printf "%s\n" "$PKG_CONFIG" >&6; }
7234 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7235 printf "%s\n" "no" >&6; }
7241 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
7244 if test "x$enable_maintainer_mode" != "xyes"
7251 test "$srcdir" = . || as_fn_error $?
"Maintainer mode cannot work out of tree." "$LINENO" 5
7252 for ac_prog
in fontforge
7254 # Extract the first word of "$ac_prog", so it can be a program name with args.
7255 set dummy
$ac_prog; ac_word
=$2
7256 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7257 printf %s
"checking for $ac_word... " >&6; }
7258 if test ${ac_cv_prog_FONTFORGE+y}
7260 printf %s
"(cached) " >&6
7262 if test -n "$FONTFORGE"; then
7263 ac_cv_prog_FONTFORGE
="$FONTFORGE" # Let the user override the test.
7265 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7269 case $as_dir in #(((
7272 *) as_dir
=$as_dir/ ;;
7274 for ac_exec_ext
in '' $ac_executable_extensions; do
7275 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
7276 ac_cv_prog_FONTFORGE
="$ac_prog"
7277 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7286 FONTFORGE
=$ac_cv_prog_FONTFORGE
7287 if test -n "$FONTFORGE"; then
7288 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
7289 printf "%s\n" "$FONTFORGE" >&6; }
7291 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7292 printf "%s\n" "no" >&6; }
7296 test -n "$FONTFORGE" && break
7298 test -n "$FONTFORGE" || FONTFORGE
="false"
7300 for ac_prog
in rsvg-convert rsvg
7302 # Extract the first word of "$ac_prog", so it can be a program name with args.
7303 set dummy
$ac_prog; ac_word
=$2
7304 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7305 printf %s
"checking for $ac_word... " >&6; }
7306 if test ${ac_cv_prog_RSVG+y}
7308 printf %s
"(cached) " >&6
7310 if test -n "$RSVG"; then
7311 ac_cv_prog_RSVG
="$RSVG" # Let the user override the test.
7313 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7317 case $as_dir in #(((
7320 *) as_dir
=$as_dir/ ;;
7322 for ac_exec_ext
in '' $ac_executable_extensions; do
7323 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
7324 ac_cv_prog_RSVG
="$ac_prog"
7325 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7334 RSVG
=$ac_cv_prog_RSVG
7335 if test -n "$RSVG"; then
7336 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
7337 printf "%s\n" "$RSVG" >&6; }
7339 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7340 printf "%s\n" "no" >&6; }
7344 test -n "$RSVG" && break
7346 test -n "$RSVG" || RSVG
="false"
7348 for ac_prog
in convert
7350 # Extract the first word of "$ac_prog", so it can be a program name with args.
7351 set dummy
$ac_prog; ac_word
=$2
7352 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7353 printf %s
"checking for $ac_word... " >&6; }
7354 if test ${ac_cv_prog_CONVERT+y}
7356 printf %s
"(cached) " >&6
7358 if test -n "$CONVERT"; then
7359 ac_cv_prog_CONVERT
="$CONVERT" # Let the user override the test.
7361 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7365 case $as_dir in #(((
7368 *) as_dir
=$as_dir/ ;;
7370 for ac_exec_ext
in '' $ac_executable_extensions; do
7371 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
7372 ac_cv_prog_CONVERT
="$ac_prog"
7373 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7382 CONVERT
=$ac_cv_prog_CONVERT
7383 if test -n "$CONVERT"; then
7384 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
7385 printf "%s\n" "$CONVERT" >&6; }
7387 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7388 printf "%s\n" "no" >&6; }
7392 test -n "$CONVERT" && break
7394 test -n "$CONVERT" || CONVERT
="false"
7396 for ac_prog
in icotool
7398 # Extract the first word of "$ac_prog", so it can be a program name with args.
7399 set dummy
$ac_prog; ac_word
=$2
7400 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7401 printf %s
"checking for $ac_word... " >&6; }
7402 if test ${ac_cv_prog_ICOTOOL+y}
7404 printf %s
"(cached) " >&6
7406 if test -n "$ICOTOOL"; then
7407 ac_cv_prog_ICOTOOL
="$ICOTOOL" # Let the user override the test.
7409 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7413 case $as_dir in #(((
7416 *) as_dir
=$as_dir/ ;;
7418 for ac_exec_ext
in '' $ac_executable_extensions; do
7419 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
7420 ac_cv_prog_ICOTOOL
="$ac_prog"
7421 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7430 ICOTOOL
=$ac_cv_prog_ICOTOOL
7431 if test -n "$ICOTOOL"; then
7432 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
7433 printf "%s\n" "$ICOTOOL" >&6; }
7435 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7436 printf "%s\n" "no" >&6; }
7440 test -n "$ICOTOOL" && break
7442 test -n "$ICOTOOL" || ICOTOOL
="false"
7444 test "$FONTFORGE" != "false" || as_fn_error $?
"You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
7445 test "$RSVG" != "false" || as_fn_error $?
"You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
7447 if test "$CONVERT" = false
7449 as_fn_error $?
"You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
7451 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
7452 printf %s
"checking for recent enough imagemagick... " >&6; }
7453 convert_version
=`convert --version | head -n1`
7454 if test "x$convert_version" != "x"
7456 convert_version_major
=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
7457 convert_version_minor
=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
7458 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
7463 if test "$CONVERT" = false
7465 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
7466 printf "%s\n" "no ($convert_version_major.$convert_version_minor)" >&6; }
7467 as_fn_error $?
"You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
7469 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
7470 printf "%s\n" "yes ($convert_version_major.$convert_version_minor)" >&6; }
7474 if test "$ICOTOOL" = false
7476 as_fn_error $?
"You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
7478 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
7479 printf %s
"checking for recent enough icotool... " >&6; }
7480 icotool_version
=`icotool --version | head -n1`
7481 if test "x$icotool_version" != "x"
7483 icotool_version_major
=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
7484 icotool_version_minor
=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
7485 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
7488 as_fn_append wine_warnings
"|icotool version 0.29.0 or newer is needed to rebuild icons."
7491 if test "$ICOTOOL" = false
7493 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
7494 printf "%s\n" "no ($icotool_version_major.$icotool_version_minor)" >&6; }
7495 as_fn_error $?
"You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
7497 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
7498 printf "%s\n" "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
7508 test "x$with_gettext" != xno || MSGFMT
=false
7509 if test "$MSGFMT" != "false"
7511 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
7512 printf %s
"checking whether msgfmt supports contexts... " >&6; }
7513 if test ${wine_cv_msgfmt_contexts+y}
7515 printf %s
"(cached) " >&6
7517 cat >conftest.po
<<EOF
7523 if $MSGFMT -o /dev
/null conftest.po
2>&5
7525 wine_cv_msgfmt_contexts
=yes
7527 wine_cv_msgfmt_contexts
=no
7530 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_msgfmt_contexts" >&5
7531 printf "%s\n" "$wine_cv_msgfmt_contexts" >&6; }
7532 test $wine_cv_msgfmt_contexts != no || MSGFMT
=false
7534 if test "$MSGFMT" = false
7536 case "x$with_gettext" in
7537 x
) as_fn_append wine_warnings
"|gettext tools not found (or too old), translations won't be built." ;;
7539 *) as_fn_error $?
"gettext tools not found (or too old), translations won't be built.
7540 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
7542 enable_po
=${enable_po:-no}
7546 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
7547 printf %s
"checking for i386_set_ldt in -li386... " >&6; }
7548 if test ${ac_cv_lib_i386_i386_set_ldt+y}
7550 printf %s
"(cached) " >&6
7552 ac_check_lib_save_LIBS
=$LIBS
7554 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7555 /* end confdefs.h. */
7557 /* Override any GCC internal prototype to avoid an error.
7558 Use char because int might match the return type of a GCC
7559 builtin and then its argument prototype would still apply. */
7560 char i386_set_ldt ();
7564 return i386_set_ldt ();
7569 if ac_fn_c_try_link
"$LINENO"
7571 ac_cv_lib_i386_i386_set_ldt
=yes
7573 ac_cv_lib_i386_i386_set_ldt
=no
7575 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
7576 conftest
$ac_exeext conftest.
$ac_ext
7577 LIBS
=$ac_check_lib_save_LIBS
7579 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
7580 printf "%s\n" "$ac_cv_lib_i386_i386_set_ldt" >&6; }
7581 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes
7592 # Check whether --enable-largefile was given.
7593 if test ${enable_largefile+y}
7595 enableval
=$enable_largefile;
7598 if test "$enable_largefile" != no
; then
7600 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
7601 printf %s
"checking for special C compiler options needed for large files... " >&6; }
7602 if test ${ac_cv_sys_largefile_CC+y}
7604 printf %s
"(cached) " >&6
7606 ac_cv_sys_largefile_CC
=no
7607 if test "$GCC" != yes; then
7610 # IRIX 6.2 and later do not support large files by default,
7611 # so use the C compiler's -n32 option if that helps.
7612 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7613 /* end confdefs.h. */
7614 #include <sys/types.h>
7615 /* Check that off_t can represent 2**63 - 1 correctly.
7616 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7617 since some C++ compilers masquerading as C compilers
7618 incorrectly reject 9223372036854775807. */
7619 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7620 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7621 && LARGE_OFF_T % 2147483647 == 1)
7631 if ac_fn_c_try_compile
"$LINENO"
7635 rm -f core conftest.err conftest.
$ac_objext conftest.beam
7637 if ac_fn_c_try_compile
"$LINENO"
7639 ac_cv_sys_largefile_CC
=' -n32'; break
7641 rm -f core conftest.err conftest.
$ac_objext conftest.beam
7645 rm -f conftest.
$ac_ext
7648 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
7649 printf "%s\n" "$ac_cv_sys_largefile_CC" >&6; }
7650 if test "$ac_cv_sys_largefile_CC" != no
; then
7651 CC
=$CC$ac_cv_sys_largefile_CC
7654 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
7655 printf %s
"checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
7656 if test ${ac_cv_sys_file_offset_bits+y}
7658 printf %s
"(cached) " >&6
7661 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7662 /* end confdefs.h. */
7663 #include <sys/types.h>
7664 /* Check that off_t can represent 2**63 - 1 correctly.
7665 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7666 since some C++ compilers masquerading as C compilers
7667 incorrectly reject 9223372036854775807. */
7668 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7669 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7670 && LARGE_OFF_T % 2147483647 == 1)
7680 if ac_fn_c_try_compile
"$LINENO"
7682 ac_cv_sys_file_offset_bits
=no
; break
7684 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
7685 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7686 /* end confdefs.h. */
7687 #define _FILE_OFFSET_BITS 64
7688 #include <sys/types.h>
7689 /* Check that off_t can represent 2**63 - 1 correctly.
7690 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7691 since some C++ compilers masquerading as C compilers
7692 incorrectly reject 9223372036854775807. */
7693 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7694 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7695 && LARGE_OFF_T % 2147483647 == 1)
7705 if ac_fn_c_try_compile
"$LINENO"
7707 ac_cv_sys_file_offset_bits
=64; break
7709 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
7710 ac_cv_sys_file_offset_bits
=unknown
7714 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
7715 printf "%s\n" "$ac_cv_sys_file_offset_bits" >&6; }
7716 case $ac_cv_sys_file_offset_bits in #(
7719 printf "%s\n" "#define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits" >>confdefs.h
7723 if test $ac_cv_sys_file_offset_bits = unknown
; then
7724 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
7725 printf %s
"checking for _LARGE_FILES value needed for large files... " >&6; }
7726 if test ${ac_cv_sys_large_files+y}
7728 printf %s
"(cached) " >&6
7731 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7732 /* end confdefs.h. */
7733 #include <sys/types.h>
7734 /* Check that off_t can represent 2**63 - 1 correctly.
7735 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7736 since some C++ compilers masquerading as C compilers
7737 incorrectly reject 9223372036854775807. */
7738 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7739 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7740 && LARGE_OFF_T % 2147483647 == 1)
7750 if ac_fn_c_try_compile
"$LINENO"
7752 ac_cv_sys_large_files
=no
; break
7754 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
7755 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7756 /* end confdefs.h. */
7757 #define _LARGE_FILES 1
7758 #include <sys/types.h>
7759 /* Check that off_t can represent 2**63 - 1 correctly.
7760 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7761 since some C++ compilers masquerading as C compilers
7762 incorrectly reject 9223372036854775807. */
7763 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7764 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7765 && LARGE_OFF_T % 2147483647 == 1)
7775 if ac_fn_c_try_compile
"$LINENO"
7777 ac_cv_sys_large_files
=1; break
7779 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
7780 ac_cv_sys_large_files
=unknown
7784 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
7785 printf "%s\n" "$ac_cv_sys_large_files" >&6; }
7786 case $ac_cv_sys_large_files in #(
7789 printf "%s\n" "#define _LARGE_FILES $ac_cv_sys_large_files" >>confdefs.h
7797 ac_header
= ac_cache
=
7798 for ac_item
in $ac_header_c_list
7800 if test $ac_cache; then
7801 ac_fn_c_check_header_compile
"$LINENO" $ac_header ac_cv_header_
$ac_cache "$ac_includes_default"
7802 if eval test \"x\
$ac_cv_header_$ac_cache\" = xyes
; then
7803 printf "%s\n" "#define $ac_item 1" >> confdefs.h
7805 ac_header
= ac_cache
=
7806 elif test $ac_header; then
7820 if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes
7823 printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h
7826 ac_fn_c_check_header_compile
"$LINENO" "CL/cl.h" "ac_cv_header_CL_cl_h" "$ac_includes_default"
7827 if test "x$ac_cv_header_CL_cl_h" = xyes
7829 printf "%s\n" "#define HAVE_CL_CL_H 1" >>confdefs.h
7832 ac_fn_c_check_header_compile
"$LINENO" "EGL/egl.h" "ac_cv_header_EGL_egl_h" "$ac_includes_default"
7833 if test "x$ac_cv_header_EGL_egl_h" = xyes
7835 printf "%s\n" "#define HAVE_EGL_EGL_H 1" >>confdefs.h
7838 ac_fn_c_check_header_compile
"$LINENO" "OpenCL/opencl.h" "ac_cv_header_OpenCL_opencl_h" "$ac_includes_default"
7839 if test "x$ac_cv_header_OpenCL_opencl_h" = xyes
7841 printf "%s\n" "#define HAVE_OPENCL_OPENCL_H 1" >>confdefs.h
7844 ac_fn_c_check_header_compile
"$LINENO" "arpa/inet.h" "ac_cv_header_arpa_inet_h" "$ac_includes_default"
7845 if test "x$ac_cv_header_arpa_inet_h" = xyes
7847 printf "%s\n" "#define HAVE_ARPA_INET_H 1" >>confdefs.h
7850 ac_fn_c_check_header_compile
"$LINENO" "arpa/nameser.h" "ac_cv_header_arpa_nameser_h" "$ac_includes_default"
7851 if test "x$ac_cv_header_arpa_nameser_h" = xyes
7853 printf "%s\n" "#define HAVE_ARPA_NAMESER_H 1" >>confdefs.h
7856 ac_fn_c_check_header_compile
"$LINENO" "asm/types.h" "ac_cv_header_asm_types_h" "$ac_includes_default"
7857 if test "x$ac_cv_header_asm_types_h" = xyes
7859 printf "%s\n" "#define HAVE_ASM_TYPES_H 1" >>confdefs.h
7862 ac_fn_c_check_header_compile
"$LINENO" "asm/user.h" "ac_cv_header_asm_user_h" "$ac_includes_default"
7863 if test "x$ac_cv_header_asm_user_h" = xyes
7865 printf "%s\n" "#define HAVE_ASM_USER_H 1" >>confdefs.h
7868 ac_fn_c_check_header_compile
"$LINENO" "elf.h" "ac_cv_header_elf_h" "$ac_includes_default"
7869 if test "x$ac_cv_header_elf_h" = xyes
7871 printf "%s\n" "#define HAVE_ELF_H 1" >>confdefs.h
7874 ac_fn_c_check_header_compile
"$LINENO" "float.h" "ac_cv_header_float_h" "$ac_includes_default"
7875 if test "x$ac_cv_header_float_h" = xyes
7877 printf "%s\n" "#define HAVE_FLOAT_H 1" >>confdefs.h
7880 ac_fn_c_check_header_compile
"$LINENO" "gettext-po.h" "ac_cv_header_gettext_po_h" "$ac_includes_default"
7881 if test "x$ac_cv_header_gettext_po_h" = xyes
7883 printf "%s\n" "#define HAVE_GETTEXT_PO_H 1" >>confdefs.h
7886 ac_fn_c_check_header_compile
"$LINENO" "libproc.h" "ac_cv_header_libproc_h" "$ac_includes_default"
7887 if test "x$ac_cv_header_libproc_h" = xyes
7889 printf "%s\n" "#define HAVE_LIBPROC_H 1" >>confdefs.h
7892 ac_fn_c_check_header_compile
"$LINENO" "link.h" "ac_cv_header_link_h" "$ac_includes_default"
7893 if test "x$ac_cv_header_link_h" = xyes
7895 printf "%s\n" "#define HAVE_LINK_H 1" >>confdefs.h
7898 ac_fn_c_check_header_compile
"$LINENO" "linux/cdrom.h" "ac_cv_header_linux_cdrom_h" "$ac_includes_default"
7899 if test "x$ac_cv_header_linux_cdrom_h" = xyes
7901 printf "%s\n" "#define HAVE_LINUX_CDROM_H 1" >>confdefs.h
7904 ac_fn_c_check_header_compile
"$LINENO" "linux/filter.h" "ac_cv_header_linux_filter_h" "$ac_includes_default"
7905 if test "x$ac_cv_header_linux_filter_h" = xyes
7907 printf "%s\n" "#define HAVE_LINUX_FILTER_H 1" >>confdefs.h
7910 ac_fn_c_check_header_compile
"$LINENO" "linux/hdreg.h" "ac_cv_header_linux_hdreg_h" "$ac_includes_default"
7911 if test "x$ac_cv_header_linux_hdreg_h" = xyes
7913 printf "%s\n" "#define HAVE_LINUX_HDREG_H 1" >>confdefs.h
7916 ac_fn_c_check_header_compile
"$LINENO" "linux/hidraw.h" "ac_cv_header_linux_hidraw_h" "$ac_includes_default"
7917 if test "x$ac_cv_header_linux_hidraw_h" = xyes
7919 printf "%s\n" "#define HAVE_LINUX_HIDRAW_H 1" >>confdefs.h
7922 ac_fn_c_check_header_compile
"$LINENO" "linux/input.h" "ac_cv_header_linux_input_h" "$ac_includes_default"
7923 if test "x$ac_cv_header_linux_input_h" = xyes
7925 printf "%s\n" "#define HAVE_LINUX_INPUT_H 1" >>confdefs.h
7928 ac_fn_c_check_header_compile
"$LINENO" "linux/ioctl.h" "ac_cv_header_linux_ioctl_h" "$ac_includes_default"
7929 if test "x$ac_cv_header_linux_ioctl_h" = xyes
7931 printf "%s\n" "#define HAVE_LINUX_IOCTL_H 1" >>confdefs.h
7934 ac_fn_c_check_header_compile
"$LINENO" "linux/major.h" "ac_cv_header_linux_major_h" "$ac_includes_default"
7935 if test "x$ac_cv_header_linux_major_h" = xyes
7937 printf "%s\n" "#define HAVE_LINUX_MAJOR_H 1" >>confdefs.h
7940 ac_fn_c_check_header_compile
"$LINENO" "linux/param.h" "ac_cv_header_linux_param_h" "$ac_includes_default"
7941 if test "x$ac_cv_header_linux_param_h" = xyes
7943 printf "%s\n" "#define HAVE_LINUX_PARAM_H 1" >>confdefs.h
7946 ac_fn_c_check_header_compile
"$LINENO" "linux/serial.h" "ac_cv_header_linux_serial_h" "$ac_includes_default"
7947 if test "x$ac_cv_header_linux_serial_h" = xyes
7949 printf "%s\n" "#define HAVE_LINUX_SERIAL_H 1" >>confdefs.h
7952 ac_fn_c_check_header_compile
"$LINENO" "linux/types.h" "ac_cv_header_linux_types_h" "$ac_includes_default"
7953 if test "x$ac_cv_header_linux_types_h" = xyes
7955 printf "%s\n" "#define HAVE_LINUX_TYPES_H 1" >>confdefs.h
7958 ac_fn_c_check_header_compile
"$LINENO" "linux/ucdrom.h" "ac_cv_header_linux_ucdrom_h" "$ac_includes_default"
7959 if test "x$ac_cv_header_linux_ucdrom_h" = xyes
7961 printf "%s\n" "#define HAVE_LINUX_UCDROM_H 1" >>confdefs.h
7964 ac_fn_c_check_header_compile
"$LINENO" "lwp.h" "ac_cv_header_lwp_h" "$ac_includes_default"
7965 if test "x$ac_cv_header_lwp_h" = xyes
7967 printf "%s\n" "#define HAVE_LWP_H 1" >>confdefs.h
7970 ac_fn_c_check_header_compile
"$LINENO" "mach-o/loader.h" "ac_cv_header_mach_o_loader_h" "$ac_includes_default"
7971 if test "x$ac_cv_header_mach_o_loader_h" = xyes
7973 printf "%s\n" "#define HAVE_MACH_O_LOADER_H 1" >>confdefs.h
7976 ac_fn_c_check_header_compile
"$LINENO" "mach/mach.h" "ac_cv_header_mach_mach_h" "$ac_includes_default"
7977 if test "x$ac_cv_header_mach_mach_h" = xyes
7979 printf "%s\n" "#define HAVE_MACH_MACH_H 1" >>confdefs.h
7982 ac_fn_c_check_header_compile
"$LINENO" "machine/cpu.h" "ac_cv_header_machine_cpu_h" "$ac_includes_default"
7983 if test "x$ac_cv_header_machine_cpu_h" = xyes
7985 printf "%s\n" "#define HAVE_MACHINE_CPU_H 1" >>confdefs.h
7988 ac_fn_c_check_header_compile
"$LINENO" "machine/sysarch.h" "ac_cv_header_machine_sysarch_h" "$ac_includes_default"
7989 if test "x$ac_cv_header_machine_sysarch_h" = xyes
7991 printf "%s\n" "#define HAVE_MACHINE_SYSARCH_H 1" >>confdefs.h
7994 ac_fn_c_check_header_compile
"$LINENO" "mntent.h" "ac_cv_header_mntent_h" "$ac_includes_default"
7995 if test "x$ac_cv_header_mntent_h" = xyes
7997 printf "%s\n" "#define HAVE_MNTENT_H 1" >>confdefs.h
8000 ac_fn_c_check_header_compile
"$LINENO" "netdb.h" "ac_cv_header_netdb_h" "$ac_includes_default"
8001 if test "x$ac_cv_header_netdb_h" = xyes
8003 printf "%s\n" "#define HAVE_NETDB_H 1" >>confdefs.h
8006 ac_fn_c_check_header_compile
"$LINENO" "netinet/in.h" "ac_cv_header_netinet_in_h" "$ac_includes_default"
8007 if test "x$ac_cv_header_netinet_in_h" = xyes
8009 printf "%s\n" "#define HAVE_NETINET_IN_H 1" >>confdefs.h
8012 ac_fn_c_check_header_compile
"$LINENO" "netinet/in_systm.h" "ac_cv_header_netinet_in_systm_h" "$ac_includes_default"
8013 if test "x$ac_cv_header_netinet_in_systm_h" = xyes
8015 printf "%s\n" "#define HAVE_NETINET_IN_SYSTM_H 1" >>confdefs.h
8018 ac_fn_c_check_header_compile
"$LINENO" "netinet/tcp.h" "ac_cv_header_netinet_tcp_h" "$ac_includes_default"
8019 if test "x$ac_cv_header_netinet_tcp_h" = xyes
8021 printf "%s\n" "#define HAVE_NETINET_TCP_H 1" >>confdefs.h
8024 ac_fn_c_check_header_compile
"$LINENO" "netinet/tcp_fsm.h" "ac_cv_header_netinet_tcp_fsm_h" "$ac_includes_default"
8025 if test "x$ac_cv_header_netinet_tcp_fsm_h" = xyes
8027 printf "%s\n" "#define HAVE_NETINET_TCP_FSM_H 1" >>confdefs.h
8030 ac_fn_c_check_header_compile
"$LINENO" "pcap/pcap.h" "ac_cv_header_pcap_pcap_h" "$ac_includes_default"
8031 if test "x$ac_cv_header_pcap_pcap_h" = xyes
8033 printf "%s\n" "#define HAVE_PCAP_PCAP_H 1" >>confdefs.h
8036 ac_fn_c_check_header_compile
"$LINENO" "port.h" "ac_cv_header_port_h" "$ac_includes_default"
8037 if test "x$ac_cv_header_port_h" = xyes
8039 printf "%s\n" "#define HAVE_PORT_H 1" >>confdefs.h
8042 ac_fn_c_check_header_compile
"$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default"
8043 if test "x$ac_cv_header_pthread_h" = xyes
8045 printf "%s\n" "#define HAVE_PTHREAD_H 1" >>confdefs.h
8048 ac_fn_c_check_header_compile
"$LINENO" "pwd.h" "ac_cv_header_pwd_h" "$ac_includes_default"
8049 if test "x$ac_cv_header_pwd_h" = xyes
8051 printf "%s\n" "#define HAVE_PWD_H 1" >>confdefs.h
8054 ac_fn_c_check_header_compile
"$LINENO" "sched.h" "ac_cv_header_sched_h" "$ac_includes_default"
8055 if test "x$ac_cv_header_sched_h" = xyes
8057 printf "%s\n" "#define HAVE_SCHED_H 1" >>confdefs.h
8060 ac_fn_c_check_header_compile
"$LINENO" "scsi/scsi.h" "ac_cv_header_scsi_scsi_h" "$ac_includes_default"
8061 if test "x$ac_cv_header_scsi_scsi_h" = xyes
8063 printf "%s\n" "#define HAVE_SCSI_SCSI_H 1" >>confdefs.h
8066 ac_fn_c_check_header_compile
"$LINENO" "scsi/scsi_ioctl.h" "ac_cv_header_scsi_scsi_ioctl_h" "$ac_includes_default"
8067 if test "x$ac_cv_header_scsi_scsi_ioctl_h" = xyes
8069 printf "%s\n" "#define HAVE_SCSI_SCSI_IOCTL_H 1" >>confdefs.h
8072 ac_fn_c_check_header_compile
"$LINENO" "scsi/sg.h" "ac_cv_header_scsi_sg_h" "$ac_includes_default"
8073 if test "x$ac_cv_header_scsi_sg_h" = xyes
8075 printf "%s\n" "#define HAVE_SCSI_SG_H 1" >>confdefs.h
8078 ac_fn_c_check_header_compile
"$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default"
8079 if test "x$ac_cv_header_stdint_h" = xyes
8081 printf "%s\n" "#define HAVE_STDINT_H 1" >>confdefs.h
8084 ac_fn_c_check_header_compile
"$LINENO" "sys/attr.h" "ac_cv_header_sys_attr_h" "$ac_includes_default"
8085 if test "x$ac_cv_header_sys_attr_h" = xyes
8087 printf "%s\n" "#define HAVE_SYS_ATTR_H 1" >>confdefs.h
8090 ac_fn_c_check_header_compile
"$LINENO" "sys/auxv.h" "ac_cv_header_sys_auxv_h" "$ac_includes_default"
8091 if test "x$ac_cv_header_sys_auxv_h" = xyes
8093 printf "%s\n" "#define HAVE_SYS_AUXV_H 1" >>confdefs.h
8096 ac_fn_c_check_header_compile
"$LINENO" "sys/cdio.h" "ac_cv_header_sys_cdio_h" "$ac_includes_default"
8097 if test "x$ac_cv_header_sys_cdio_h" = xyes
8099 printf "%s\n" "#define HAVE_SYS_CDIO_H 1" >>confdefs.h
8102 ac_fn_c_check_header_compile
"$LINENO" "sys/epoll.h" "ac_cv_header_sys_epoll_h" "$ac_includes_default"
8103 if test "x$ac_cv_header_sys_epoll_h" = xyes
8105 printf "%s\n" "#define HAVE_SYS_EPOLL_H 1" >>confdefs.h
8108 ac_fn_c_check_header_compile
"$LINENO" "sys/event.h" "ac_cv_header_sys_event_h" "$ac_includes_default"
8109 if test "x$ac_cv_header_sys_event_h" = xyes
8111 printf "%s\n" "#define HAVE_SYS_EVENT_H 1" >>confdefs.h
8114 ac_fn_c_check_header_compile
"$LINENO" "sys/extattr.h" "ac_cv_header_sys_extattr_h" "$ac_includes_default"
8115 if test "x$ac_cv_header_sys_extattr_h" = xyes
8117 printf "%s\n" "#define HAVE_SYS_EXTATTR_H 1" >>confdefs.h
8120 ac_fn_c_check_header_compile
"$LINENO" "sys/filio.h" "ac_cv_header_sys_filio_h" "$ac_includes_default"
8121 if test "x$ac_cv_header_sys_filio_h" = xyes
8123 printf "%s\n" "#define HAVE_SYS_FILIO_H 1" >>confdefs.h
8126 ac_fn_c_check_header_compile
"$LINENO" "sys/ipc.h" "ac_cv_header_sys_ipc_h" "$ac_includes_default"
8127 if test "x$ac_cv_header_sys_ipc_h" = xyes
8129 printf "%s\n" "#define HAVE_SYS_IPC_H 1" >>confdefs.h
8132 ac_fn_c_check_header_compile
"$LINENO" "sys/link.h" "ac_cv_header_sys_link_h" "$ac_includes_default"
8133 if test "x$ac_cv_header_sys_link_h" = xyes
8135 printf "%s\n" "#define HAVE_SYS_LINK_H 1" >>confdefs.h
8138 ac_fn_c_check_header_compile
"$LINENO" "sys/modem.h" "ac_cv_header_sys_modem_h" "$ac_includes_default"
8139 if test "x$ac_cv_header_sys_modem_h" = xyes
8141 printf "%s\n" "#define HAVE_SYS_MODEM_H 1" >>confdefs.h
8144 ac_fn_c_check_header_compile
"$LINENO" "sys/mtio.h" "ac_cv_header_sys_mtio_h" "$ac_includes_default"
8145 if test "x$ac_cv_header_sys_mtio_h" = xyes
8147 printf "%s\n" "#define HAVE_SYS_MTIO_H 1" >>confdefs.h
8150 ac_fn_c_check_header_compile
"$LINENO" "sys/param.h" "ac_cv_header_sys_param_h" "$ac_includes_default"
8151 if test "x$ac_cv_header_sys_param_h" = xyes
8153 printf "%s\n" "#define HAVE_SYS_PARAM_H 1" >>confdefs.h
8156 ac_fn_c_check_header_compile
"$LINENO" "sys/prctl.h" "ac_cv_header_sys_prctl_h" "$ac_includes_default"
8157 if test "x$ac_cv_header_sys_prctl_h" = xyes
8159 printf "%s\n" "#define HAVE_SYS_PRCTL_H 1" >>confdefs.h
8162 ac_fn_c_check_header_compile
"$LINENO" "sys/ptrace.h" "ac_cv_header_sys_ptrace_h" "$ac_includes_default"
8163 if test "x$ac_cv_header_sys_ptrace_h" = xyes
8165 printf "%s\n" "#define HAVE_SYS_PTRACE_H 1" >>confdefs.h
8168 ac_fn_c_check_header_compile
"$LINENO" "sys/queue.h" "ac_cv_header_sys_queue_h" "$ac_includes_default"
8169 if test "x$ac_cv_header_sys_queue_h" = xyes
8171 printf "%s\n" "#define HAVE_SYS_QUEUE_H 1" >>confdefs.h
8174 ac_fn_c_check_header_compile
"$LINENO" "sys/random.h" "ac_cv_header_sys_random_h" "$ac_includes_default"
8175 if test "x$ac_cv_header_sys_random_h" = xyes
8177 printf "%s\n" "#define HAVE_SYS_RANDOM_H 1" >>confdefs.h
8180 ac_fn_c_check_header_compile
"$LINENO" "sys/resource.h" "ac_cv_header_sys_resource_h" "$ac_includes_default"
8181 if test "x$ac_cv_header_sys_resource_h" = xyes
8183 printf "%s\n" "#define HAVE_SYS_RESOURCE_H 1" >>confdefs.h
8186 ac_fn_c_check_header_compile
"$LINENO" "sys/scsiio.h" "ac_cv_header_sys_scsiio_h" "$ac_includes_default"
8187 if test "x$ac_cv_header_sys_scsiio_h" = xyes
8189 printf "%s\n" "#define HAVE_SYS_SCSIIO_H 1" >>confdefs.h
8192 ac_fn_c_check_header_compile
"$LINENO" "sys/shm.h" "ac_cv_header_sys_shm_h" "$ac_includes_default"
8193 if test "x$ac_cv_header_sys_shm_h" = xyes
8195 printf "%s\n" "#define HAVE_SYS_SHM_H 1" >>confdefs.h
8198 ac_fn_c_check_header_compile
"$LINENO" "sys/signal.h" "ac_cv_header_sys_signal_h" "$ac_includes_default"
8199 if test "x$ac_cv_header_sys_signal_h" = xyes
8201 printf "%s\n" "#define HAVE_SYS_SIGNAL_H 1" >>confdefs.h
8204 ac_fn_c_check_header_compile
"$LINENO" "sys/socketvar.h" "ac_cv_header_sys_socketvar_h" "$ac_includes_default"
8205 if test "x$ac_cv_header_sys_socketvar_h" = xyes
8207 printf "%s\n" "#define HAVE_SYS_SOCKETVAR_H 1" >>confdefs.h
8210 ac_fn_c_check_header_compile
"$LINENO" "sys/sockio.h" "ac_cv_header_sys_sockio_h" "$ac_includes_default"
8211 if test "x$ac_cv_header_sys_sockio_h" = xyes
8213 printf "%s\n" "#define HAVE_SYS_SOCKIO_H 1" >>confdefs.h
8216 ac_fn_c_check_header_compile
"$LINENO" "sys/statvfs.h" "ac_cv_header_sys_statvfs_h" "$ac_includes_default"
8217 if test "x$ac_cv_header_sys_statvfs_h" = xyes
8219 printf "%s\n" "#define HAVE_SYS_STATVFS_H 1" >>confdefs.h
8222 ac_fn_c_check_header_compile
"$LINENO" "sys/strtio.h" "ac_cv_header_sys_strtio_h" "$ac_includes_default"
8223 if test "x$ac_cv_header_sys_strtio_h" = xyes
8225 printf "%s\n" "#define HAVE_SYS_STRTIO_H 1" >>confdefs.h
8228 ac_fn_c_check_header_compile
"$LINENO" "sys/syscall.h" "ac_cv_header_sys_syscall_h" "$ac_includes_default"
8229 if test "x$ac_cv_header_sys_syscall_h" = xyes
8231 printf "%s\n" "#define HAVE_SYS_SYSCALL_H 1" >>confdefs.h
8234 ac_fn_c_check_header_compile
"$LINENO" "sys/sysinfo.h" "ac_cv_header_sys_sysinfo_h" "$ac_includes_default"
8235 if test "x$ac_cv_header_sys_sysinfo_h" = xyes
8237 printf "%s\n" "#define HAVE_SYS_SYSINFO_H 1" >>confdefs.h
8240 ac_fn_c_check_header_compile
"$LINENO" "sys/times.h" "ac_cv_header_sys_times_h" "$ac_includes_default"
8241 if test "x$ac_cv_header_sys_times_h" = xyes
8243 printf "%s\n" "#define HAVE_SYS_TIMES_H 1" >>confdefs.h
8246 ac_fn_c_check_header_compile
"$LINENO" "sys/uio.h" "ac_cv_header_sys_uio_h" "$ac_includes_default"
8247 if test "x$ac_cv_header_sys_uio_h" = xyes
8249 printf "%s\n" "#define HAVE_SYS_UIO_H 1" >>confdefs.h
8252 ac_fn_c_check_header_compile
"$LINENO" "sys/user.h" "ac_cv_header_sys_user_h" "$ac_includes_default"
8253 if test "x$ac_cv_header_sys_user_h" = xyes
8255 printf "%s\n" "#define HAVE_SYS_USER_H 1" >>confdefs.h
8258 ac_fn_c_check_header_compile
"$LINENO" "sys/utsname.h" "ac_cv_header_sys_utsname_h" "$ac_includes_default"
8259 if test "x$ac_cv_header_sys_utsname_h" = xyes
8261 printf "%s\n" "#define HAVE_SYS_UTSNAME_H 1" >>confdefs.h
8264 ac_fn_c_check_header_compile
"$LINENO" "sys/vnode.h" "ac_cv_header_sys_vnode_h" "$ac_includes_default"
8265 if test "x$ac_cv_header_sys_vnode_h" = xyes
8267 printf "%s\n" "#define HAVE_SYS_VNODE_H 1" >>confdefs.h
8270 ac_fn_c_check_header_compile
"$LINENO" "sys/xattr.h" "ac_cv_header_sys_xattr_h" "$ac_includes_default"
8271 if test "x$ac_cv_header_sys_xattr_h" = xyes
8273 printf "%s\n" "#define HAVE_SYS_XATTR_H 1" >>confdefs.h
8276 ac_fn_c_check_header_compile
"$LINENO" "syscall.h" "ac_cv_header_syscall_h" "$ac_includes_default"
8277 if test "x$ac_cv_header_syscall_h" = xyes
8279 printf "%s\n" "#define HAVE_SYSCALL_H 1" >>confdefs.h
8282 ac_fn_c_check_header_compile
"$LINENO" "utime.h" "ac_cv_header_utime_h" "$ac_includes_default"
8283 if test "x$ac_cv_header_utime_h" = xyes
8285 printf "%s\n" "#define HAVE_UTIME_H 1" >>confdefs.h
8288 ac_fn_c_check_header_compile
"$LINENO" "valgrind/memcheck.h" "ac_cv_header_valgrind_memcheck_h" "$ac_includes_default"
8289 if test "x$ac_cv_header_valgrind_memcheck_h" = xyes
8291 printf "%s\n" "#define HAVE_VALGRIND_MEMCHECK_H 1" >>confdefs.h
8294 ac_fn_c_check_header_compile
"$LINENO" "valgrind/valgrind.h" "ac_cv_header_valgrind_valgrind_h" "$ac_includes_default"
8295 if test "x$ac_cv_header_valgrind_valgrind_h" = xyes
8297 printf "%s\n" "#define HAVE_VALGRIND_VALGRIND_H 1" >>confdefs.h
8301 ac_fn_c_check_header_compile
"$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
8302 if test "x$ac_cv_header_sys_mkdev_h" = xyes
8305 printf "%s\n" "#define MAJOR_IN_MKDEV 1" >>confdefs.h
8309 if test $ac_cv_header_sys_mkdev_h = no
; then
8310 ac_fn_c_check_header_compile
"$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
8311 if test "x$ac_cv_header_sys_sysmacros_h" = xyes
8314 printf "%s\n" "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
8319 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
8320 printf %s
"checking whether stat file-mode macros are broken... " >&6; }
8321 if test ${ac_cv_header_stat_broken+y}
8323 printf %s
"(cached) " >&6
8325 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8326 /* end confdefs.h. */
8327 #include <sys/types.h>
8328 #include <sys/stat.h>
8330 #if defined S_ISBLK && defined S_IFDIR
8331 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
8334 #if defined S_ISBLK && defined S_IFCHR
8335 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
8338 #if defined S_ISLNK && defined S_IFREG
8339 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
8342 #if defined S_ISSOCK && defined S_IFREG
8343 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
8347 if ac_fn_c_try_compile
"$LINENO"
8349 ac_cv_header_stat_broken
=no
8351 ac_cv_header_stat_broken
=yes
8353 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
8355 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
8356 printf "%s\n" "$ac_cv_header_stat_broken" >&6; }
8357 if test $ac_cv_header_stat_broken = yes; then
8359 printf "%s\n" "#define STAT_MACROS_BROKEN 1" >>confdefs.h
8365 ac_fn_c_check_header_compile
"$LINENO" "sys/conf.h" "ac_cv_header_sys_conf_h" "#include <sys/types.h>
8366 #ifdef HAVE_SYS_PARAM_H
8367 # include <sys/param.h>
8370 if test "x$ac_cv_header_sys_conf_h" = xyes
8372 printf "%s\n" "#define HAVE_SYS_CONF_H 1" >>confdefs.h
8375 ac_fn_c_check_header_compile
"$LINENO" "sys/mount.h" "ac_cv_header_sys_mount_h" "#include <sys/types.h>
8376 #ifdef HAVE_SYS_PARAM_H
8377 # include <sys/param.h>
8380 if test "x$ac_cv_header_sys_mount_h" = xyes
8382 printf "%s\n" "#define HAVE_SYS_MOUNT_H 1" >>confdefs.h
8385 ac_fn_c_check_header_compile
"$LINENO" "sys/statfs.h" "ac_cv_header_sys_statfs_h" "#include <sys/types.h>
8386 #ifdef HAVE_SYS_PARAM_H
8387 # include <sys/param.h>
8390 if test "x$ac_cv_header_sys_statfs_h" = xyes
8392 printf "%s\n" "#define HAVE_SYS_STATFS_H 1" >>confdefs.h
8395 ac_fn_c_check_header_compile
"$LINENO" "sys/user.h" "ac_cv_header_sys_user_h" "#include <sys/types.h>
8396 #ifdef HAVE_SYS_PARAM_H
8397 # include <sys/param.h>
8400 if test "x$ac_cv_header_sys_user_h" = xyes
8402 printf "%s\n" "#define HAVE_SYS_USER_H 1" >>confdefs.h
8405 ac_fn_c_check_header_compile
"$LINENO" "sys/vfs.h" "ac_cv_header_sys_vfs_h" "#include <sys/types.h>
8406 #ifdef HAVE_SYS_PARAM_H
8407 # include <sys/param.h>
8410 if test "x$ac_cv_header_sys_vfs_h" = xyes
8412 printf "%s\n" "#define HAVE_SYS_VFS_H 1" >>confdefs.h
8417 saved_sysctl_h_CFLAGS
=$CFLAGS
8418 test "x${GCC}" != xyes || CFLAGS
="$CFLAGS -Werror"
8419 ac_fn_c_check_header_compile
"$LINENO" "sys/sysctl.h" "ac_cv_header_sys_sysctl_h" "#include <sys/types.h>
8420 #ifdef HAVE_SYS_PARAM_H
8421 # include <sys/param.h>
8424 if test "x$ac_cv_header_sys_sysctl_h" = xyes
8426 printf "%s\n" "#define HAVE_SYS_SYSCTL_H 1" >>confdefs.h
8430 CFLAGS
=$saved_sysctl_h_CFLAGS
8432 ac_fn_c_check_header_compile
"$LINENO" "netinet/ip.h" "ac_cv_header_netinet_ip_h" "#include <sys/types.h>
8433 #include <sys/socket.h>
8434 #ifdef HAVE_SYS_SOCKETVAR_H
8435 # include <sys/socketvar.h>
8437 #ifdef HAVE_NET_ROUTE_H
8438 # include <net/route.h>
8440 #ifdef HAVE_NETINET_IN_H
8441 # include <netinet/in.h>
8443 #ifdef HAVE_NETINET_IN_SYSTM_H
8444 # include <netinet/in_systm.h>
8446 #ifdef HAVE_NET_IF_H
8447 # include <net/if.h>
8449 #ifdef HAVE_NETINET_IP_H
8450 # include <netinet/ip.h>
8453 if test "x$ac_cv_header_netinet_ip_h" = xyes
8455 printf "%s\n" "#define HAVE_NETINET_IP_H 1" >>confdefs.h
8458 ac_fn_c_check_header_compile
"$LINENO" "net/if.h" "ac_cv_header_net_if_h" "#include <sys/types.h>
8459 #include <sys/socket.h>
8460 #ifdef HAVE_SYS_SOCKETVAR_H
8461 # include <sys/socketvar.h>
8463 #ifdef HAVE_NET_ROUTE_H
8464 # include <net/route.h>
8466 #ifdef HAVE_NETINET_IN_H
8467 # include <netinet/in.h>
8469 #ifdef HAVE_NETINET_IN_SYSTM_H
8470 # include <netinet/in_systm.h>
8472 #ifdef HAVE_NET_IF_H
8473 # include <net/if.h>
8475 #ifdef HAVE_NETINET_IP_H
8476 # include <netinet/ip.h>
8479 if test "x$ac_cv_header_net_if_h" = xyes
8481 printf "%s\n" "#define HAVE_NET_IF_H 1" >>confdefs.h
8484 ac_fn_c_check_header_compile
"$LINENO" "net/if_arp.h" "ac_cv_header_net_if_arp_h" "#include <sys/types.h>
8485 #include <sys/socket.h>
8486 #ifdef HAVE_SYS_SOCKETVAR_H
8487 # include <sys/socketvar.h>
8489 #ifdef HAVE_NET_ROUTE_H
8490 # include <net/route.h>
8492 #ifdef HAVE_NETINET_IN_H
8493 # include <netinet/in.h>
8495 #ifdef HAVE_NETINET_IN_SYSTM_H
8496 # include <netinet/in_systm.h>
8498 #ifdef HAVE_NET_IF_H
8499 # include <net/if.h>
8501 #ifdef HAVE_NETINET_IP_H
8502 # include <netinet/ip.h>
8505 if test "x$ac_cv_header_net_if_arp_h" = xyes
8507 printf "%s\n" "#define HAVE_NET_IF_ARP_H 1" >>confdefs.h
8510 ac_fn_c_check_header_compile
"$LINENO" "net/if_dl.h" "ac_cv_header_net_if_dl_h" "#include <sys/types.h>
8511 #include <sys/socket.h>
8512 #ifdef HAVE_SYS_SOCKETVAR_H
8513 # include <sys/socketvar.h>
8515 #ifdef HAVE_NET_ROUTE_H
8516 # include <net/route.h>
8518 #ifdef HAVE_NETINET_IN_H
8519 # include <netinet/in.h>
8521 #ifdef HAVE_NETINET_IN_SYSTM_H
8522 # include <netinet/in_systm.h>
8524 #ifdef HAVE_NET_IF_H
8525 # include <net/if.h>
8527 #ifdef HAVE_NETINET_IP_H
8528 # include <netinet/ip.h>
8531 if test "x$ac_cv_header_net_if_dl_h" = xyes
8533 printf "%s\n" "#define HAVE_NET_IF_DL_H 1" >>confdefs.h
8536 ac_fn_c_check_header_compile
"$LINENO" "net/if_types.h" "ac_cv_header_net_if_types_h" "#include <sys/types.h>
8537 #include <sys/socket.h>
8538 #ifdef HAVE_SYS_SOCKETVAR_H
8539 # include <sys/socketvar.h>
8541 #ifdef HAVE_NET_ROUTE_H
8542 # include <net/route.h>
8544 #ifdef HAVE_NETINET_IN_H
8545 # include <netinet/in.h>
8547 #ifdef HAVE_NETINET_IN_SYSTM_H
8548 # include <netinet/in_systm.h>
8550 #ifdef HAVE_NET_IF_H
8551 # include <net/if.h>
8553 #ifdef HAVE_NETINET_IP_H
8554 # include <netinet/ip.h>
8557 if test "x$ac_cv_header_net_if_types_h" = xyes
8559 printf "%s\n" "#define HAVE_NET_IF_TYPES_H 1" >>confdefs.h
8562 ac_fn_c_check_header_compile
"$LINENO" "net/route.h" "ac_cv_header_net_route_h" "#include <sys/types.h>
8563 #include <sys/socket.h>
8564 #ifdef HAVE_SYS_SOCKETVAR_H
8565 # include <sys/socketvar.h>
8567 #ifdef HAVE_NET_ROUTE_H
8568 # include <net/route.h>
8570 #ifdef HAVE_NETINET_IN_H
8571 # include <netinet/in.h>
8573 #ifdef HAVE_NETINET_IN_SYSTM_H
8574 # include <netinet/in_systm.h>
8576 #ifdef HAVE_NET_IF_H
8577 # include <net/if.h>
8579 #ifdef HAVE_NETINET_IP_H
8580 # include <netinet/ip.h>
8583 if test "x$ac_cv_header_net_route_h" = xyes
8585 printf "%s\n" "#define HAVE_NET_ROUTE_H 1" >>confdefs.h
8588 ac_fn_c_check_header_compile
"$LINENO" "netinet/if_ether.h" "ac_cv_header_netinet_if_ether_h" "#include <sys/types.h>
8589 #include <sys/socket.h>
8590 #ifdef HAVE_SYS_SOCKETVAR_H
8591 # include <sys/socketvar.h>
8593 #ifdef HAVE_NET_ROUTE_H
8594 # include <net/route.h>
8596 #ifdef HAVE_NETINET_IN_H
8597 # include <netinet/in.h>
8599 #ifdef HAVE_NETINET_IN_SYSTM_H
8600 # include <netinet/in_systm.h>
8602 #ifdef HAVE_NET_IF_H
8603 # include <net/if.h>
8605 #ifdef HAVE_NETINET_IP_H
8606 # include <netinet/ip.h>
8609 if test "x$ac_cv_header_netinet_if_ether_h" = xyes
8611 printf "%s\n" "#define HAVE_NETINET_IF_ETHER_H 1" >>confdefs.h
8614 ac_fn_c_check_header_compile
"$LINENO" "netinet/in_pcb.h" "ac_cv_header_netinet_in_pcb_h" "#include <sys/types.h>
8615 #include <sys/socket.h>
8616 #ifdef HAVE_SYS_SOCKETVAR_H
8617 # include <sys/socketvar.h>
8619 #ifdef HAVE_NET_ROUTE_H
8620 # include <net/route.h>
8622 #ifdef HAVE_NETINET_IN_H
8623 # include <netinet/in.h>
8625 #ifdef HAVE_NETINET_IN_SYSTM_H
8626 # include <netinet/in_systm.h>
8628 #ifdef HAVE_NET_IF_H
8629 # include <net/if.h>
8631 #ifdef HAVE_NETINET_IP_H
8632 # include <netinet/ip.h>
8635 if test "x$ac_cv_header_netinet_in_pcb_h" = xyes
8637 printf "%s\n" "#define HAVE_NETINET_IN_PCB_H 1" >>confdefs.h
8640 ac_fn_c_check_header_compile
"$LINENO" "netinet/ip_icmp.h" "ac_cv_header_netinet_ip_icmp_h" "#include <sys/types.h>
8641 #include <sys/socket.h>
8642 #ifdef HAVE_SYS_SOCKETVAR_H
8643 # include <sys/socketvar.h>
8645 #ifdef HAVE_NET_ROUTE_H
8646 # include <net/route.h>
8648 #ifdef HAVE_NETINET_IN_H
8649 # include <netinet/in.h>
8651 #ifdef HAVE_NETINET_IN_SYSTM_H
8652 # include <netinet/in_systm.h>
8654 #ifdef HAVE_NET_IF_H
8655 # include <net/if.h>
8657 #ifdef HAVE_NETINET_IP_H
8658 # include <netinet/ip.h>
8661 if test "x$ac_cv_header_netinet_ip_icmp_h" = xyes
8663 printf "%s\n" "#define HAVE_NETINET_IP_ICMP_H 1" >>confdefs.h
8666 ac_fn_c_check_header_compile
"$LINENO" "netinet/ip_var.h" "ac_cv_header_netinet_ip_var_h" "#include <sys/types.h>
8667 #include <sys/socket.h>
8668 #ifdef HAVE_SYS_SOCKETVAR_H
8669 # include <sys/socketvar.h>
8671 #ifdef HAVE_NET_ROUTE_H
8672 # include <net/route.h>
8674 #ifdef HAVE_NETINET_IN_H
8675 # include <netinet/in.h>
8677 #ifdef HAVE_NETINET_IN_SYSTM_H
8678 # include <netinet/in_systm.h>
8680 #ifdef HAVE_NET_IF_H
8681 # include <net/if.h>
8683 #ifdef HAVE_NETINET_IP_H
8684 # include <netinet/ip.h>
8687 if test "x$ac_cv_header_netinet_ip_var_h" = xyes
8689 printf "%s\n" "#define HAVE_NETINET_IP_VAR_H 1" >>confdefs.h
8692 ac_fn_c_check_header_compile
"$LINENO" "netinet/udp.h" "ac_cv_header_netinet_udp_h" "#include <sys/types.h>
8693 #include <sys/socket.h>
8694 #ifdef HAVE_SYS_SOCKETVAR_H
8695 # include <sys/socketvar.h>
8697 #ifdef HAVE_NET_ROUTE_H
8698 # include <net/route.h>
8700 #ifdef HAVE_NETINET_IN_H
8701 # include <netinet/in.h>
8703 #ifdef HAVE_NETINET_IN_SYSTM_H
8704 # include <netinet/in_systm.h>
8706 #ifdef HAVE_NET_IF_H
8707 # include <net/if.h>
8709 #ifdef HAVE_NETINET_IP_H
8710 # include <netinet/ip.h>
8713 if test "x$ac_cv_header_netinet_udp_h" = xyes
8715 printf "%s\n" "#define HAVE_NETINET_UDP_H 1" >>confdefs.h
8718 ac_fn_c_check_header_compile
"$LINENO" "netinet6/ip6_var.h" "ac_cv_header_netinet6_ip6_var_h" "#include <sys/types.h>
8719 #include <sys/socket.h>
8720 #ifdef HAVE_SYS_SOCKETVAR_H
8721 # include <sys/socketvar.h>
8723 #ifdef HAVE_NET_ROUTE_H
8724 # include <net/route.h>
8726 #ifdef HAVE_NETINET_IN_H
8727 # include <netinet/in.h>
8729 #ifdef HAVE_NETINET_IN_SYSTM_H
8730 # include <netinet/in_systm.h>
8732 #ifdef HAVE_NET_IF_H
8733 # include <net/if.h>
8735 #ifdef HAVE_NETINET_IP_H
8736 # include <netinet/ip.h>
8739 if test "x$ac_cv_header_netinet6_ip6_var_h" = xyes
8741 printf "%s\n" "#define HAVE_NETINET6_IP6_VAR_H 1" >>confdefs.h
8744 ac_fn_c_check_header_compile
"$LINENO" "netipx/ipx.h" "ac_cv_header_netipx_ipx_h" "#include <sys/types.h>
8745 #include <sys/socket.h>
8746 #ifdef HAVE_SYS_SOCKETVAR_H
8747 # include <sys/socketvar.h>
8749 #ifdef HAVE_NET_ROUTE_H
8750 # include <net/route.h>
8752 #ifdef HAVE_NETINET_IN_H
8753 # include <netinet/in.h>
8755 #ifdef HAVE_NETINET_IN_SYSTM_H
8756 # include <netinet/in_systm.h>
8758 #ifdef HAVE_NET_IF_H
8759 # include <net/if.h>
8761 #ifdef HAVE_NETINET_IP_H
8762 # include <netinet/ip.h>
8765 if test "x$ac_cv_header_netipx_ipx_h" = xyes
8767 printf "%s\n" "#define HAVE_NETIPX_IPX_H 1" >>confdefs.h
8770 ac_fn_c_check_header_compile
"$LINENO" "sys/un.h" "ac_cv_header_sys_un_h" "#include <sys/types.h>
8771 #include <sys/socket.h>
8772 #ifdef HAVE_SYS_SOCKETVAR_H
8773 # include <sys/socketvar.h>
8775 #ifdef HAVE_NET_ROUTE_H
8776 # include <net/route.h>
8778 #ifdef HAVE_NETINET_IN_H
8779 # include <netinet/in.h>
8781 #ifdef HAVE_NETINET_IN_SYSTM_H
8782 # include <netinet/in_systm.h>
8784 #ifdef HAVE_NET_IF_H
8785 # include <net/if.h>
8787 #ifdef HAVE_NETINET_IP_H
8788 # include <netinet/ip.h>
8791 if test "x$ac_cv_header_sys_un_h" = xyes
8793 printf "%s\n" "#define HAVE_SYS_UN_H 1" >>confdefs.h
8798 ac_fn_c_check_header_compile
"$LINENO" "netinet/udp_var.h" "ac_cv_header_netinet_udp_var_h" "#include <sys/types.h>
8799 #include <sys/socket.h>
8800 #ifdef HAVE_SYS_SOCKETVAR_H
8801 # include <sys/socketvar.h>
8803 #ifdef HAVE_NETINET_IN_H
8804 # include <netinet/in.h>
8806 #ifdef HAVE_NETINET_IN_SYSTM_H
8807 # include <netinet/in_systm.h>
8809 #ifdef HAVE_NETINET_IP_H
8810 # include <netinet/ip.h>
8812 #ifdef HAVE_NETINET_IP_VAR_H
8813 # include <netinet/ip_var.h>
8815 #ifdef HAVE_NETINET_IP_ICMP_H
8816 # include <netinet/ip_icmp.h>
8818 #ifdef HAVE_NETINET_UDP_H
8819 # include <netinet/udp.h>
8821 #ifdef HAVE_NETINET_TCP_H
8822 # include <netinet/tcp.h>
8825 if test "x$ac_cv_header_netinet_udp_var_h" = xyes
8827 printf "%s\n" "#define HAVE_NETINET_UDP_VAR_H 1" >>confdefs.h
8830 ac_fn_c_check_header_compile
"$LINENO" "netinet/icmp_var.h" "ac_cv_header_netinet_icmp_var_h" "#include <sys/types.h>
8831 #include <sys/socket.h>
8832 #ifdef HAVE_SYS_SOCKETVAR_H
8833 # include <sys/socketvar.h>
8835 #ifdef HAVE_NETINET_IN_H
8836 # include <netinet/in.h>
8838 #ifdef HAVE_NETINET_IN_SYSTM_H
8839 # include <netinet/in_systm.h>
8841 #ifdef HAVE_NETINET_IP_H
8842 # include <netinet/ip.h>
8844 #ifdef HAVE_NETINET_IP_VAR_H
8845 # include <netinet/ip_var.h>
8847 #ifdef HAVE_NETINET_IP_ICMP_H
8848 # include <netinet/ip_icmp.h>
8850 #ifdef HAVE_NETINET_UDP_H
8851 # include <netinet/udp.h>
8853 #ifdef HAVE_NETINET_TCP_H
8854 # include <netinet/tcp.h>
8857 if test "x$ac_cv_header_netinet_icmp_var_h" = xyes
8859 printf "%s\n" "#define HAVE_NETINET_ICMP_VAR_H 1" >>confdefs.h
8862 ac_fn_c_check_header_compile
"$LINENO" "netinet/icmp6.h" "ac_cv_header_netinet_icmp6_h" "#include <sys/types.h>
8863 #include <sys/socket.h>
8864 #ifdef HAVE_SYS_SOCKETVAR_H
8865 # include <sys/socketvar.h>
8867 #ifdef HAVE_NETINET_IN_H
8868 # include <netinet/in.h>
8870 #ifdef HAVE_NETINET_IN_SYSTM_H
8871 # include <netinet/in_systm.h>
8873 #ifdef HAVE_NETINET_IP_H
8874 # include <netinet/ip.h>
8876 #ifdef HAVE_NETINET_IP_VAR_H
8877 # include <netinet/ip_var.h>
8879 #ifdef HAVE_NETINET_IP_ICMP_H
8880 # include <netinet/ip_icmp.h>
8882 #ifdef HAVE_NETINET_UDP_H
8883 # include <netinet/udp.h>
8885 #ifdef HAVE_NETINET_TCP_H
8886 # include <netinet/tcp.h>
8889 if test "x$ac_cv_header_netinet_icmp6_h" = xyes
8891 printf "%s\n" "#define HAVE_NETINET_ICMP6_H 1" >>confdefs.h
8894 ac_fn_c_check_header_compile
"$LINENO" "netinet/tcp_var.h" "ac_cv_header_netinet_tcp_var_h" "#include <sys/types.h>
8895 #include <sys/socket.h>
8896 #ifdef HAVE_SYS_SOCKETVAR_H
8897 # include <sys/socketvar.h>
8899 #ifdef HAVE_NETINET_IN_H
8900 # include <netinet/in.h>
8902 #ifdef HAVE_NETINET_IN_SYSTM_H
8903 # include <netinet/in_systm.h>
8905 #ifdef HAVE_NETINET_IP_H
8906 # include <netinet/ip.h>
8908 #ifdef HAVE_NETINET_IP_VAR_H
8909 # include <netinet/ip_var.h>
8911 #ifdef HAVE_NETINET_IP_ICMP_H
8912 # include <netinet/ip_icmp.h>
8914 #ifdef HAVE_NETINET_UDP_H
8915 # include <netinet/udp.h>
8917 #ifdef HAVE_NETINET_TCP_H
8918 # include <netinet/tcp.h>
8921 if test "x$ac_cv_header_netinet_tcp_var_h" = xyes
8923 printf "%s\n" "#define HAVE_NETINET_TCP_VAR_H 1" >>confdefs.h
8928 ac_fn_c_check_header_compile
"$LINENO" "linux/ipx.h" "ac_cv_header_linux_ipx_h" "#include <sys/types.h>
8929 #include <sys/socket.h>
8930 #ifdef HAVE_ASM_TYPES_H
8931 # include <asm/types.h>
8933 #ifdef HAVE_LINUX_TYPES_H
8934 # include <linux/types.h>
8937 if test "x$ac_cv_header_linux_ipx_h" = xyes
8939 printf "%s\n" "#define HAVE_LINUX_IPX_H 1" >>confdefs.h
8942 ac_fn_c_check_header_compile
"$LINENO" "linux/irda.h" "ac_cv_header_linux_irda_h" "#include <sys/types.h>
8943 #include <sys/socket.h>
8944 #ifdef HAVE_ASM_TYPES_H
8945 # include <asm/types.h>
8947 #ifdef HAVE_LINUX_TYPES_H
8948 # include <linux/types.h>
8951 if test "x$ac_cv_header_linux_irda_h" = xyes
8953 printf "%s\n" "#define HAVE_LINUX_IRDA_H 1" >>confdefs.h
8956 ac_fn_c_check_header_compile
"$LINENO" "linux/rtnetlink.h" "ac_cv_header_linux_rtnetlink_h" "#include <sys/types.h>
8957 #include <sys/socket.h>
8958 #ifdef HAVE_ASM_TYPES_H
8959 # include <asm/types.h>
8961 #ifdef HAVE_LINUX_TYPES_H
8962 # include <linux/types.h>
8965 if test "x$ac_cv_header_linux_rtnetlink_h" = xyes
8967 printf "%s\n" "#define HAVE_LINUX_RTNETLINK_H 1" >>confdefs.h
8972 ac_fn_c_check_header_compile
"$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
8973 #include <sys/socket.h>
8974 #ifdef HAVE_NETINET_IN_H
8975 # include <netinet/in.h>
8977 #ifdef HAVE_ARPA_NAMESER_H
8978 # include <arpa/nameser.h>
8981 if test "x$ac_cv_header_resolv_h" = xyes
8983 printf "%s\n" "#define HAVE_RESOLV_H 1" >>confdefs.h
8988 ac_fn_c_check_header_compile
"$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
8990 if test "x$ac_cv_header_ifaddrs_h" = xyes
8992 printf "%s\n" "#define HAVE_IFADDRS_H 1" >>confdefs.h
8997 ac_fn_c_check_header_compile
"$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
8999 if test "x$ac_cv_header_sys_ucontext_h" = xyes
9001 printf "%s\n" "#define HAVE_SYS_UCONTEXT_H 1" >>confdefs.h
9006 ac_fn_c_check_header_compile
"$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
9007 #ifdef HAVE_SYS_UCONTEXT_H
9008 #include <sys/ucontext.h>
9011 if test "x$ac_cv_header_sys_thr_h" = xyes
9013 printf "%s\n" "#define HAVE_SYS_THR_H 1" >>confdefs.h
9018 ac_fn_c_check_header_compile
"$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
9019 #include <pthread.h>
9022 if test "x$ac_cv_header_pthread_np_h" = xyes
9024 printf "%s\n" "#define HAVE_PTHREAD_NP_H 1" >>confdefs.h
9029 ac_fn_c_check_header_compile
"$LINENO" "linux/videodev2.h" "ac_cv_header_linux_videodev2_h" "#include <sys/time.h>
9030 #include <sys/types.h>
9031 #ifdef HAVE_ASM_TYPES_H
9032 #include <asm/types.h>
9035 if test "x$ac_cv_header_linux_videodev2_h" = xyes
9037 printf "%s\n" "#define HAVE_LINUX_VIDEODEV2_H 1" >>confdefs.h
9042 ac_fn_c_check_header_compile
"$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
9043 #include <sys/param.h>
9045 #include <sys/socket.h>
9046 #ifdef HAVE_SYS_QUEUE_H
9047 #include <sys/queue.h>
9050 if test "x$ac_cv_header_libprocstat_h" = xyes
9052 printf "%s\n" "#define HAVE_LIBPROCSTAT_H 1" >>confdefs.h
9057 if test "x$ac_cv_header_sys_xattr_h" = xyes
9059 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether getxattr takes additional arguments" >&5
9060 printf %s
"checking whether getxattr takes additional arguments... " >&6; }
9061 if test ${wine_cv_xattr_extra_args+y}
9063 printf %s
"(cached) " >&6
9065 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9066 /* end confdefs.h. */
9067 #include <sys/xattr.h>
9071 getxattr("", "", "", 0, 0, 0);
9076 if ac_fn_c_try_compile
"$LINENO"
9078 wine_cv_xattr_extra_args
=yes
9080 wine_cv_xattr_extra_args
=no
9082 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
9084 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_xattr_extra_args" >&5
9085 printf "%s\n" "$wine_cv_xattr_extra_args" >&6; }
9086 test $wine_cv_xattr_extra_args != yes ||
9087 printf "%s\n" "#define XATTR_ADDITIONAL_OPTIONS 1" >>confdefs.h
9100 UNIXDLLFLAGS
="-fPIC"
9102 UNIXLDFLAGS
="-shared -Wl,-Bsymbolic -Wl,-soname,\$(UNIXLIB)"
9108 WINELOADER_LDFLAGS
=""
9110 WINEPRELOADER_LDFLAGS
=""
9113 # Extract the first word of "ldd", so it can be a program name with args.
9114 set dummy ldd
; ac_word
=$2
9115 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9116 printf %s
"checking for $ac_word... " >&6; }
9117 if test ${ac_cv_path_LDD+y}
9119 printf %s
"(cached) " >&6
9123 ac_cv_path_LDD
="$LDD" # Let the user override the test with a path.
9126 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9127 as_dummy
="/sbin:/usr/sbin:$PATH"
9128 for as_dir
in $as_dummy
9131 case $as_dir in #(((
9134 *) as_dir
=$as_dir/ ;;
9136 for ac_exec_ext
in '' $ac_executable_extensions; do
9137 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
9138 ac_cv_path_LDD
="$as_dir$ac_word$ac_exec_ext"
9139 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9146 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD
="true"
9151 if test -n "$LDD"; then
9152 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
9153 printf "%s\n" "$LDD" >&6; }
9155 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9156 printf "%s\n" "no" >&6; }
9160 if test -n "$ac_tool_prefix"; then
9161 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
9162 set dummy
${ac_tool_prefix}otool
; ac_word
=$2
9163 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9164 printf %s
"checking for $ac_word... " >&6; }
9165 if test ${ac_cv_prog_OTOOL+y}
9167 printf %s
"(cached) " >&6
9169 if test -n "$OTOOL"; then
9170 ac_cv_prog_OTOOL
="$OTOOL" # Let the user override the test.
9172 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9176 case $as_dir in #(((
9179 *) as_dir
=$as_dir/ ;;
9181 for ac_exec_ext
in '' $ac_executable_extensions; do
9182 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
9183 ac_cv_prog_OTOOL
="${ac_tool_prefix}otool"
9184 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9193 OTOOL
=$ac_cv_prog_OTOOL
9194 if test -n "$OTOOL"; then
9195 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
9196 printf "%s\n" "$OTOOL" >&6; }
9198 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9199 printf "%s\n" "no" >&6; }
9204 if test -z "$ac_cv_prog_OTOOL"; then
9206 # Extract the first word of "otool", so it can be a program name with args.
9207 set dummy otool
; ac_word
=$2
9208 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9209 printf %s
"checking for $ac_word... " >&6; }
9210 if test ${ac_cv_prog_ac_ct_OTOOL+y}
9212 printf %s
"(cached) " >&6
9214 if test -n "$ac_ct_OTOOL"; then
9215 ac_cv_prog_ac_ct_OTOOL
="$ac_ct_OTOOL" # Let the user override the test.
9217 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9221 case $as_dir in #(((
9224 *) as_dir
=$as_dir/ ;;
9226 for ac_exec_ext
in '' $ac_executable_extensions; do
9227 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
9228 ac_cv_prog_ac_ct_OTOOL
="otool"
9229 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9238 ac_ct_OTOOL
=$ac_cv_prog_ac_ct_OTOOL
9239 if test -n "$ac_ct_OTOOL"; then
9240 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
9241 printf "%s\n" "$ac_ct_OTOOL" >&6; }
9243 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9244 printf "%s\n" "no" >&6; }
9247 if test "x$ac_ct_OTOOL" = x
; then
9250 case $cross_compiling:$ac_tool_warned in
9252 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9253 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9254 ac_tool_warned
=yes ;;
9259 OTOOL
="$ac_cv_prog_OTOOL"
9262 if test -n "$ac_tool_prefix"; then
9263 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
9264 set dummy
${ac_tool_prefix}readelf
; ac_word
=$2
9265 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9266 printf %s
"checking for $ac_word... " >&6; }
9267 if test ${ac_cv_prog_READELF+y}
9269 printf %s
"(cached) " >&6
9271 if test -n "$READELF"; then
9272 ac_cv_prog_READELF
="$READELF" # Let the user override the test.
9274 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9278 case $as_dir in #(((
9281 *) as_dir
=$as_dir/ ;;
9283 for ac_exec_ext
in '' $ac_executable_extensions; do
9284 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
9285 ac_cv_prog_READELF
="${ac_tool_prefix}readelf"
9286 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9295 READELF
=$ac_cv_prog_READELF
9296 if test -n "$READELF"; then
9297 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
9298 printf "%s\n" "$READELF" >&6; }
9300 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9301 printf "%s\n" "no" >&6; }
9306 if test -z "$ac_cv_prog_READELF"; then
9307 ac_ct_READELF
=$READELF
9308 # Extract the first word of "readelf", so it can be a program name with args.
9309 set dummy readelf
; ac_word
=$2
9310 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9311 printf %s
"checking for $ac_word... " >&6; }
9312 if test ${ac_cv_prog_ac_ct_READELF+y}
9314 printf %s
"(cached) " >&6
9316 if test -n "$ac_ct_READELF"; then
9317 ac_cv_prog_ac_ct_READELF
="$ac_ct_READELF" # Let the user override the test.
9319 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9323 case $as_dir in #(((
9326 *) as_dir
=$as_dir/ ;;
9328 for ac_exec_ext
in '' $ac_executable_extensions; do
9329 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
9330 ac_cv_prog_ac_ct_READELF
="readelf"
9331 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9340 ac_ct_READELF
=$ac_cv_prog_ac_ct_READELF
9341 if test -n "$ac_ct_READELF"; then
9342 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
9343 printf "%s\n" "$ac_ct_READELF" >&6; }
9345 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9346 printf "%s\n" "no" >&6; }
9349 if test "x$ac_ct_READELF" = x
; then
9352 case $cross_compiling:$ac_tool_warned in
9354 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9355 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9356 ac_tool_warned
=yes ;;
9358 READELF
=$ac_ct_READELF
9361 READELF
="$ac_cv_prog_READELF"
9369 CONFIGURE_TARGETS
=""
9372 wine_fn_config_makefile
()
9374 as_fn_append SUBDIRS
" \\$as_nl $1"
9377 no
) as_fn_append DISABLED_SUBDIRS
" $1" ;;
9378 *aarch64
*|
*arm
*|
*i386
*|
*x86_64
*)
9379 if test -n "$PE_ARCHS"
9383 test $
(expr ",$enable," : ".*,$i,") -gt 0 || as_fn_append
${i}_DISABLED_SUBDIRS
" $1"
9386 test $
(expr ",$enable," : ".*,$HOST_ARCH,") -gt 0 || as_fn_append DISABLED_SUBDIRS
" $1"
9391 wine_fn_config_symlink
()
9394 as_fn_append wine_rules
"
9396 @./config.status \$@"
9397 for f
in $ac_links; do as_fn_append CONFIGURE_TARGETS
" $f"; done
9400 libwine_soversion
=`expr $libwine_version : '\([0-9]*\)\..*'`
9405 EXTRACFLAGS
="-D__WINE_PE_BUILD"
9407 *i
[3456]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--disable-stdcall-fixup" >&5
9408 printf %s
"checking whether the compiler supports -Wl,--disable-stdcall-fixup... " >&6; }
9409 if test ${ac_cv_cflags__Wl___disable_stdcall_fixup+y}
9411 printf %s
"(cached) " >&6
9413 ac_wine_try_cflags_saved
=$CFLAGS
9414 CFLAGS
="$CFLAGS -Wl,--disable-stdcall-fixup"
9415 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9416 /* end confdefs.h. */
9417 int main(int argc, char **argv) { return 0; }
9419 if ac_fn_c_try_link
"$LINENO"
9421 ac_cv_cflags__Wl___disable_stdcall_fixup
=yes
9423 ac_cv_cflags__Wl___disable_stdcall_fixup
=no
9425 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
9426 conftest
$ac_exeext conftest.
$ac_ext
9427 CFLAGS
=$ac_wine_try_cflags_saved
9429 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___disable_stdcall_fixup" >&5
9430 printf "%s\n" "$ac_cv_cflags__Wl___disable_stdcall_fixup" >&6; }
9431 if test "x$ac_cv_cflags__Wl___disable_stdcall_fixup" = xyes
9433 LDDLLFLAGS
="-Wl,--disable-stdcall-fixup"
9436 enable_loader
=${enable_loader:-no}
9437 enable_server
=${enable_server:-no}
9438 with_x
=${with_x:-no}
9439 with_pthread
=${with_pthread:-no}
9444 DLLFLAGS
="$DLLFLAGS -fPIC"
9446 enable_winemac_drv
=${enable_winemac_drv:-yes}
9447 CARBON_LIBS
="-framework Carbon"
9449 COREFOUNDATION_LIBS
="-framework CoreFoundation"
9451 DISKARBITRATION_LIBS
="-framework DiskArbitration -framework CoreFoundation"
9453 IOKIT_LIBS
="-framework IOKit -framework CoreFoundation"
9455 METAL_LIBS
="-framework Metal"
9457 APPLICATIONSERVICES_LIBS
="-framework ApplicationServices"
9459 CORESERVICES_LIBS
="-framework CoreServices"
9461 APPKIT_LIBS
="-framework AppKit"
9463 SECURITY_LIBS
="-framework Security -framework CoreFoundation"
9465 SYSTEMCONFIGURATION_LIBS
="-framework SystemConfiguration"
9468 WINELOADER_LDFLAGS
="-Wl,-pie,-segalign,0x1000,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,loader/wine_info.plist"
9470 wine_can_build_preloader
=yes
9471 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"
9472 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main" >&5
9473 printf %s
"checking whether the compiler supports -Wl,-no_new_main -e _main... " >&6; }
9474 if test ${ac_cv_cflags__Wl__no_new_main__e__main+y}
9476 printf %s
"(cached) " >&6
9478 ac_wine_try_cflags_saved
=$CFLAGS
9479 CFLAGS
="$CFLAGS -Wl,-no_new_main -e _main"
9480 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9481 /* end confdefs.h. */
9482 int main(int argc, char **argv) { return 0; }
9484 if ac_fn_c_try_link
"$LINENO"
9486 ac_cv_cflags__Wl__no_new_main__e__main
=yes
9488 ac_cv_cflags__Wl__no_new_main__e__main
=no
9490 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
9491 conftest
$ac_exeext conftest.
$ac_ext
9492 CFLAGS
=$ac_wine_try_cflags_saved
9494 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main" >&5
9495 printf "%s\n" "$ac_cv_cflags__Wl__no_new_main__e__main" >&6; }
9496 if test "x$ac_cv_cflags__Wl__no_new_main__e__main" = xyes
9498 WINEPRELOADER_LDFLAGS
="-Wl,-no_new_main $WINEPRELOADER_LDFLAGS"
9499 { 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
9500 printf %s
"checking whether the compiler supports -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
9501 if test ${ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+y}
9503 printf %s
"(cached) " >&6
9505 ac_wine_try_cflags_saved
=$CFLAGS
9506 CFLAGS
="$CFLAGS -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
9507 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9508 /* end confdefs.h. */
9509 int main(int argc, char **argv) { return 0; }
9511 if ac_fn_c_try_link
"$LINENO"
9513 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs
=yes
9515 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs
=no
9517 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
9518 conftest
$ac_exeext conftest.
$ac_ext
9519 CFLAGS
=$ac_wine_try_cflags_saved
9521 { 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
9522 printf "%s\n" "$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
9523 if test "x$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes
9525 WINEPRELOADER_LDFLAGS
="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
9527 wine_can_build_preloader
=no
9530 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs" >&5
9531 printf %s
"checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
9532 if test ${ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+y}
9534 printf %s
"(cached) " >&6
9536 ac_wine_try_cflags_saved
=$CFLAGS
9537 CFLAGS
="$CFLAGS -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
9538 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9539 /* end confdefs.h. */
9540 int main(int argc, char **argv) { return 0; }
9542 if ac_fn_c_try_link
"$LINENO"
9544 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs
=yes
9546 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs
=no
9548 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
9549 conftest
$ac_exeext conftest.
$ac_ext
9550 CFLAGS
=$ac_wine_try_cflags_saved
9552 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&5
9553 printf "%s\n" "$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
9554 if test "x$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes
9556 WINEPRELOADER_LDFLAGS
="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
9558 wine_can_build_preloader
=no
9561 if test "$wine_can_build_preloader" = "yes"
9563 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
9564 printf %s
"checking whether the compiler supports -Wl,-no_pie... " >&6; }
9565 if test ${ac_cv_cflags__Wl__no_pie+y}
9567 printf %s
"(cached) " >&6
9569 ac_wine_try_cflags_saved
=$CFLAGS
9570 CFLAGS
="$CFLAGS -Wl,-no_pie"
9571 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9572 /* end confdefs.h. */
9573 int main(int argc, char **argv) { return 0; }
9575 if ac_fn_c_try_link
"$LINENO"
9577 ac_cv_cflags__Wl__no_pie
=yes
9579 ac_cv_cflags__Wl__no_pie
=no
9581 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
9582 conftest
$ac_exeext conftest.
$ac_ext
9583 CFLAGS
=$ac_wine_try_cflags_saved
9585 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
9586 printf "%s\n" "$ac_cv_cflags__Wl__no_pie" >&6; }
9587 if test "x$ac_cv_cflags__Wl__no_pie" = xyes
9589 WINEPRELOADER_LDFLAGS
="-Wl,-no_pie $WINEPRELOADER_LDFLAGS"
9591 WINELOADER_LDFLAGS
="$WINELOADER_LDFLAGS -mmacosx-version-min=10.7"
9593 as_fn_append wine_warnings
"|can't build Wine preloader; many programs won't work"
9596 if test "x$with_coreaudio" != "xno";
9598 COREAUDIO_LIBS
="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
9600 enable_winecoreaudio_drv
=${enable_winecoreaudio_drv:-yes}
9602 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
9604 OPENCL_LIBS
="-framework OpenCL"
9606 ac_cv_lib_OpenCL_clGetPlatformInfo
=yes
9609 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether MTLDevice protocol supports registryID property" >&5
9610 printf %s
"checking whether MTLDevice protocol supports registryID property... " >&6; }
9612 ac_cpp
='$OBJCPP $CPPFLAGS'
9613 ac_compile
='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9614 ac_link
='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9615 ac_compiler_gnu
=$ac_cv_objc_compiler_gnu
9618 ac_cpp
='$OBJCPP $CPPFLAGS'
9619 ac_compile
='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9620 ac_link
='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9621 ac_compiler_gnu
=$ac_cv_objc_compiler_gnu
9622 if test -n "$ac_tool_prefix"; then
9623 for ac_prog
in gcc objcc objc cc CC clang
9625 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
9626 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
9627 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9628 printf %s
"checking for $ac_word... " >&6; }
9629 if test ${ac_cv_prog_OBJC+y}
9631 printf %s
"(cached) " >&6
9633 if test -n "$OBJC"; then
9634 ac_cv_prog_OBJC
="$OBJC" # Let the user override the test.
9636 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9640 case $as_dir in #(((
9643 *) as_dir
=$as_dir/ ;;
9645 for ac_exec_ext
in '' $ac_executable_extensions; do
9646 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
9647 ac_cv_prog_OBJC
="$ac_tool_prefix$ac_prog"
9648 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9657 OBJC
=$ac_cv_prog_OBJC
9658 if test -n "$OBJC"; then
9659 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OBJC" >&5
9660 printf "%s\n" "$OBJC" >&6; }
9662 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9663 printf "%s\n" "no" >&6; }
9667 test -n "$OBJC" && break
9670 if test -z "$OBJC"; then
9672 for ac_prog
in gcc objcc objc cc CC clang
9674 # Extract the first word of "$ac_prog", so it can be a program name with args.
9675 set dummy
$ac_prog; ac_word
=$2
9676 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9677 printf %s
"checking for $ac_word... " >&6; }
9678 if test ${ac_cv_prog_ac_ct_OBJC+y}
9680 printf %s
"(cached) " >&6
9682 if test -n "$ac_ct_OBJC"; then
9683 ac_cv_prog_ac_ct_OBJC
="$ac_ct_OBJC" # Let the user override the test.
9685 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9689 case $as_dir in #(((
9692 *) as_dir
=$as_dir/ ;;
9694 for ac_exec_ext
in '' $ac_executable_extensions; do
9695 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
9696 ac_cv_prog_ac_ct_OBJC
="$ac_prog"
9697 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9706 ac_ct_OBJC
=$ac_cv_prog_ac_ct_OBJC
9707 if test -n "$ac_ct_OBJC"; then
9708 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJC" >&5
9709 printf "%s\n" "$ac_ct_OBJC" >&6; }
9711 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9712 printf "%s\n" "no" >&6; }
9716 test -n "$ac_ct_OBJC" && break
9719 if test "x$ac_ct_OBJC" = x
; then
9722 case $cross_compiling:$ac_tool_warned in
9724 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9725 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9726 ac_tool_warned
=yes ;;
9732 # Provide some information about the compiler.
9733 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for Objective C compiler version" >&5
9736 for ac_option
in --version -v -V -qversion; do
9737 { { ac_try
="$ac_compiler $ac_option >&5"
9739 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9740 *) ac_try_echo=$ac_try;;
9742 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
9743 printf "%s\n" "$ac_try_echo"; } >&5
9744 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
9746 if test -s conftest.err; then
9748 ... rest of stderr output deleted ...
9749 10q' conftest.err >conftest.er1
9750 cat conftest.er1 >&5
9752 rm -f conftest.er1 conftest.err
9753 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9754 test $ac_status = 0; }
9757 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU Objective C" >&5
9758 printf %s "checking whether the compiler supports GNU Objective C... " >&6; }
9759 if test ${ac_cv_objc_compiler_gnu+y}
9761 printf %s "(cached) " >&6
9763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9764 /* end confdefs.h. */
9777 if ac_fn_objc_try_compile "$LINENO"
9783 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9784 ac_cv_objc_compiler_gnu=$ac_compiler_gnu
9787 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objc_compiler_gnu" >&5
9788 printf "%s\n" "$ac_cv_objc_compiler_gnu" >&6; }
9789 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9791 if test $ac_compiler_gnu = yes; then
9796 ac_test_OBJCFLAGS=${OBJCFLAGS+y}
9797 ac_save_OBJCFLAGS=$OBJCFLAGS
9798 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $OBJC accepts -g" >&5
9799 printf %s "checking whether $OBJC accepts -g... " >&6; }
9800 if test ${ac_cv_prog_objc_g+y}
9802 printf %s "(cached) " >&6
9804 ac_save_objc_werror_flag=$ac_objc_werror_flag
9805 ac_objc_werror_flag=yes
9806 ac_cv_prog_objc_g=no
9808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9809 /* end confdefs.h. */
9819 if ac_fn_objc_try_compile "$LINENO"
9821 ac_cv_prog_objc_g=yes
9824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9825 /* end confdefs.h. */
9835 if ac_fn_objc_try_compile "$LINENO"
9839 ac_objc_werror_flag=$ac_save_objc_werror_flag
9841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9842 /* end confdefs.h. */
9852 if ac_fn_objc_try_compile "$LINENO"
9854 ac_cv_prog_objc_g=yes
9856 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9858 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9860 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9861 ac_objc_werror_flag=$ac_save_objc_werror_flag
9863 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objc_g" >&5
9864 printf "%s\n" "$ac_cv_prog_objc_g" >&6; }
9865 if test $ac_test_OBJCFLAGS; then
9866 OBJCFLAGS=$ac_save_OBJCFLAGS
9867 elif test $ac_cv_prog_objc_g = yes; then
9868 if test "$GOBJC" = yes; then
9874 if test "$GOBJC" = yes; then
9881 ac_cpp='$OBJCPP $CPPFLAGS'
9882 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9883 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9884 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9888 /* end confdefs.h. */
9889 #include <Metal/Metal.h>
9893 id<MTLDevice> device; device.registryID;
9898 if ac_fn_objc_try_compile "$LINENO"
9900 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9901 printf "%s\n" "yes" >&6; }
9903 printf "%s\n" "#define HAVE_MTLDEVICE_REGISTRYID 1" >>confdefs.h
9906 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9907 printf "%s\n" "no" >&6; }
9909 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9911 ac_cpp='$CPP $CPPFLAGS'
9912 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9913 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9914 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9917 UNIXLDFLAGS="-dynamiclib -install_name @rpath/\$(UNIXLIB) -Wl,-rpath,@loader_path\/"
9918 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
9920 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
9922 WINELOADER_DEPENDS="wine_info.plist"
9924 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.$libwine_version.dylib libs/wine/libwine.$libwine_soversion.dylib"
9929 printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h
9931 DLLFLAGS="$DLLFLAGS -fPIC"
9933 LDEXECFLAGS="-Wl,-pie"
9934 enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
9935 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,defs" >&5
9936 printf %s "checking whether the compiler supports -Wl,-z,defs... " >&6; }
9937 if test ${ac_cv_cflags__Wl__z_defs+y}
9939 printf %s "(cached) " >&6
9941 ac_wine_try_cflags_saved=$CFLAGS
9942 CFLAGS="$CFLAGS -Wl,-z,defs"
9943 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9944 /* end confdefs.h. */
9945 int main(int argc, char **argv) { return 0; }
9947 if ac_fn_c_try_link "$LINENO"
9949 ac_cv_cflags__Wl__z_defs=yes
9951 ac_cv_cflags__Wl__z_defs=no
9953 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9954 conftest$ac_exeext conftest.$ac_ext
9955 CFLAGS=$ac_wine_try_cflags_saved
9957 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_defs" >&5
9958 printf "%s\n" "$ac_cv_cflags__Wl__z_defs" >&6; }
9959 if test "x$ac_cv_cflags__Wl__z_defs" = xyes
9961 UNIXLDFLAGS="$UNIXLDFLAGS -Wl,-z,defs"
9963 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
9964 printf %s "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
9965 if test ${ac_cv_cflags__fPIC__Wl___export_dynamic+y}
9967 printf %s "(cached) " >&6
9969 ac_wine_try_cflags_saved=$CFLAGS
9970 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
9971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9972 /* end confdefs.h. */
9973 int main(int argc, char **argv) { return 0; }
9975 if ac_fn_c_try_link "$LINENO"
9977 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
9979 ac_cv_cflags__fPIC__Wl___export_dynamic=no
9981 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9982 conftest$ac_exeext conftest.$ac_ext
9983 CFLAGS=$ac_wine_try_cflags_saved
9985 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
9986 printf "%s\n" "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
9987 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes
9989 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
9991 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
9993 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
9994 printf %s "checking for -lEGL... " >&6; }
9995 if test ${ac_cv_lib_soname_EGL+y}
9997 printf %s "(cached) " >&6
9999 ac_check_soname_save_LIBS=$LIBS
10001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10002 /* end confdefs.h. */
10004 /* Override any GCC internal prototype to avoid an error.
10005 Use char because int might match the return type of a GCC
10006 builtin and then its argument prototype would still apply. */
10007 char eglGetProcAddress ();
10011 return eglGetProcAddress ();
10016 if ac_fn_c_try_link "$LINENO"
10019 dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe |
grep "EGL" |
sed -e "s/dll.*/dll/"';2,$d'` ;;
10020 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'` ;;
10021 *) ac_cv_lib_soname_EGL=`$READELF -d conftest
$ac_exeext |
grep "NEEDED.*libEGL\\.$LIBEXT" |
sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10022 if ${ac_cv_lib_soname_EGL:+false} :
10024 ac_cv_lib_soname_EGL=`$LDD conftest
$ac_exeext |
grep "libEGL\\.$LIBEXT" |
sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10028 ac_cv_lib_soname_EGL=
10030 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10031 conftest$ac_exeext conftest.$ac_ext
10032 LIBS=$ac_check_soname_save_LIBS
10034 if ${ac_cv_lib_soname_EGL:+false} :
10036 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10037 printf "%s\n" "not found" >&6; }
10040 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
10041 printf "%s\n" "$ac_cv_lib_soname_EGL" >&6; }
10043 printf "%s\n" "#define SONAME_LIBEGL \"$ac_cv_lib_soname_EGL\"" >>confdefs.h
10047 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
10048 printf %s "checking for -lGLESv2... " >&6; }
10049 if test ${ac_cv_lib_soname_GLESv2+y}
10051 printf %s "(cached) " >&6
10053 ac_check_soname_save_LIBS=$LIBS
10054 LIBS="-lGLESv2 $LIBS"
10055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10056 /* end confdefs.h. */
10058 /* Override any GCC internal prototype to avoid an error.
10059 Use char because int might match the return type of a GCC
10060 builtin and then its argument prototype would still apply. */
10070 if ac_fn_c_try_link "$LINENO"
10073 dll) ac_cv_lib_soname_GLESv2=`$ac_cv_path_LDD conftest.exe |
grep "GLESv2" |
sed -e "s/dll.*/dll/"';2,$d'` ;;
10074 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'` ;;
10075 *) ac_cv_lib_soname_GLESv2=`$READELF -d conftest
$ac_exeext |
grep "NEEDED.*libGLESv2\\.$LIBEXT" |
sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10076 if ${ac_cv_lib_soname_GLESv2:+false} :
10078 ac_cv_lib_soname_GLESv2=`$LDD conftest
$ac_exeext |
grep "libGLESv2\\.$LIBEXT" |
sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10082 ac_cv_lib_soname_GLESv2=
10084 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10085 conftest$ac_exeext conftest.$ac_ext
10086 LIBS=$ac_check_soname_save_LIBS
10088 if ${ac_cv_lib_soname_GLESv2:+false} :
10090 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10091 printf "%s\n" "not found" >&6; }
10094 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
10095 printf "%s\n" "$ac_cv_lib_soname_GLESv2" >&6; }
10097 printf "%s\n" "#define SONAME_LIBGLESV2 \"$ac_cv_lib_soname_GLESv2\"" >>confdefs.h
10102 if test "x$exec_prefix" = xNONE
10105 *i[3456]86*) exec_prefix='${prefix}/x86' ;;
10106 *x86_64*) exec_prefix='${prefix}/x86_64' ;;
10107 *arm*) exec_prefix='${prefix}/armeabi-v7a' ;;
10108 *aarch64*) exec_prefix='${prefix}/arm64-v8a' ;;
10115 printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h
10117 test "$ac_cv_sys_file_offset_bits" = 64 &&
10118 printf "%s\n" "#define _TIME_BITS 64" >>confdefs.h
10122 DLLFLAGS="$DLLFLAGS -fno-PIC"
10123 LDDLLFLAGS="-fno-PIC"
10124 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-PIC -Wl,-z,notext" >&5
10125 printf %s "checking whether the compiler supports -fno-PIC -Wl,-z,notext... " >&6; }
10126 if test ${ac_cv_cflags__fno_PIC__Wl__z_notext+y}
10128 printf %s "(cached) " >&6
10130 ac_wine_try_cflags_saved=$CFLAGS
10131 CFLAGS="$CFLAGS -fno-PIC -Wl,-z,notext"
10132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10133 /* end confdefs.h. */
10134 int main(int argc, char **argv) { return 0; }
10136 if ac_fn_c_try_link "$LINENO"
10138 ac_cv_cflags__fno_PIC__Wl__z_notext=yes
10140 ac_cv_cflags__fno_PIC__Wl__z_notext=no
10142 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10143 conftest$ac_exeext conftest.$ac_ext
10144 CFLAGS=$ac_wine_try_cflags_saved
10146 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_PIC__Wl__z_notext" >&5
10147 printf "%s\n" "$ac_cv_cflags__fno_PIC__Wl__z_notext" >&6; }
10148 if test "x$ac_cv_cflags__fno_PIC__Wl__z_notext" = xyes
10150 LDDLLFLAGS="$LDDLLFLAGS -Wl,-z,notext"
10154 DLLFLAGS="$DLLFLAGS -fPIC"
10155 LDDLLFLAGS="-fPIC" ;;
10157 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
10159 echo '{ global: *; };' >conftest.map
10160 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,--version-script=conftest.map" >&5
10161 printf %s "checking whether the compiler supports -shared -Wl,--version-script=conftest.map... " >&6; }
10162 if test ${ac_cv_cflags__shared__Wl___version_script_conftest_map+y}
10164 printf %s "(cached) " >&6
10166 ac_wine_try_cflags_saved=$CFLAGS
10167 CFLAGS="$CFLAGS -shared -Wl,--version-script=conftest.map"
10168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10169 /* end confdefs.h. */
10170 int main(int argc, char **argv) { return 0; }
10172 if ac_fn_c_try_link "$LINENO"
10174 ac_cv_cflags__shared__Wl___version_script_conftest_map=yes
10176 ac_cv_cflags__shared__Wl___version_script_conftest_map=no
10178 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10179 conftest$ac_exeext conftest.$ac_ext
10180 CFLAGS=$ac_wine_try_cflags_saved
10182 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl___version_script_conftest_map" >&5
10183 printf "%s\n" "$ac_cv_cflags__shared__Wl___version_script_conftest_map" >&6; }
10184 if test "x$ac_cv_cflags__shared__Wl___version_script_conftest_map" = xyes
10186 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
10190 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,defs" >&5
10191 printf %s "checking whether the compiler supports -Wl,-z,defs... " >&6; }
10192 if test ${ac_cv_cflags__Wl__z_defs+y}
10194 printf %s "(cached) " >&6
10196 ac_wine_try_cflags_saved=$CFLAGS
10197 CFLAGS="$CFLAGS -Wl,-z,defs"
10198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10199 /* end confdefs.h. */
10200 int main(int argc, char **argv) { return 0; }
10202 if ac_fn_c_try_link "$LINENO"
10204 ac_cv_cflags__Wl__z_defs=yes
10206 ac_cv_cflags__Wl__z_defs=no
10208 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10209 conftest$ac_exeext conftest.$ac_ext
10210 CFLAGS=$ac_wine_try_cflags_saved
10212 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_defs" >&5
10213 printf "%s\n" "$ac_cv_cflags__Wl__z_defs" >&6; }
10214 if test "x$ac_cv_cflags__Wl__z_defs" = xyes
10216 UNIXLDFLAGS="$UNIXLDFLAGS -Wl,-z,defs"
10218 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--export-dynamic" >&5
10219 printf %s "checking whether the compiler supports -Wl,--export-dynamic... " >&6; }
10220 if test ${ac_cv_cflags__Wl___export_dynamic+y}
10222 printf %s "(cached) " >&6
10224 ac_wine_try_cflags_saved=$CFLAGS
10225 CFLAGS="$CFLAGS -Wl,--export-dynamic"
10226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10227 /* end confdefs.h. */
10228 int main(int argc, char **argv) { return 0; }
10230 if ac_fn_c_try_link "$LINENO"
10232 ac_cv_cflags__Wl___export_dynamic=yes
10234 ac_cv_cflags__Wl___export_dynamic=no
10236 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10237 conftest$ac_exeext conftest.$ac_ext
10238 CFLAGS=$ac_wine_try_cflags_saved
10240 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___export_dynamic" >&5
10241 printf "%s\n" "$ac_cv_cflags__Wl___export_dynamic" >&6; }
10242 if test "x$ac_cv_cflags__Wl___export_dynamic" = xyes
10244 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
10246 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
10249 *i[3456789]86* | x86_64 | *aarch64* | arm*)
10250 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
10251 printf %s "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
10252 if test ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+y}
10254 printf %s "(cached) " >&6
10256 ac_wine_try_cflags_saved=$CFLAGS
10257 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
10258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10259 /* end confdefs.h. */
10260 int main(int argc, char **argv) { return 0; }
10262 if ac_fn_c_try_link "$LINENO"
10264 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
10266 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
10268 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10269 conftest$ac_exeext conftest.$ac_ext
10270 CFLAGS=$ac_wine_try_cflags_saved
10272 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
10273 printf "%s\n" "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
10274 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes
10277 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x60000000" ;;
10278 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x7d000000" ;;
10281 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7d000400" >&5
10282 printf %s "checking whether the compiler supports -Wl,--section-start,.interp=0x7d000400... " >&6; }
10283 if test ${ac_cv_cflags__Wl___section_start__interp_0x7d000400+y}
10285 printf %s "(cached) " >&6
10287 ac_wine_try_cflags_saved=$CFLAGS
10288 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7d000400"
10289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10290 /* end confdefs.h. */
10291 int main(int argc, char **argv) { return 0; }
10293 if ac_fn_c_try_link "$LINENO"
10295 ac_cv_cflags__Wl___section_start__interp_0x7d000400=yes
10297 ac_cv_cflags__Wl___section_start__interp_0x7d000400=no
10299 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10300 conftest$ac_exeext conftest.$ac_ext
10301 CFLAGS=$ac_wine_try_cflags_saved
10303 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7d000400" >&5
10304 printf "%s\n" "$ac_cv_cflags__Wl___section_start__interp_0x7d000400" >&6; }
10305 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7d000400" = xyes
10308 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x60000400" ;;
10309 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x7d000400" ;;
10312 # Extract the first word of "prelink", so it can be a program name with args.
10313 set dummy prelink; ac_word=$2
10314 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10315 printf %s "checking for $ac_word... " >&6; }
10316 if test ${ac_cv_path_PRELINK+y}
10318 printf %s "(cached) " >&6
10322 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
10325 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10326 for as_dir in /sbin /usr/sbin $PATH
10329 case $as_dir in #(((
10332 *) as_dir=$as_dir/ ;;
10334 for ac_exec_ext in '' $ac_executable_extensions; do
10335 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10336 ac_cv_path_PRELINK="$as_dir$ac_word$ac_exec_ext"
10337 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10344 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
10348 PRELINK=$ac_cv_path_PRELINK
10349 if test -n "$PRELINK"; then
10350 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
10351 printf "%s\n" "$PRELINK" >&6; }
10353 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10354 printf "%s\n" "no" >&6; }
10358 if test "x$PRELINK" = xfalse
10360 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
10363 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
10364 printf %s "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
10365 if test ${ac_cv_cflags__Wl__z_max_page_size_0x1000+y}
10367 printf %s "(cached) " >&6
10369 ac_wine_try_cflags_saved=$CFLAGS
10370 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
10371 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10372 /* end confdefs.h. */
10373 int main(int argc, char **argv) { return 0; }
10375 if ac_fn_c_try_link "$LINENO"
10377 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
10379 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
10381 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10382 conftest$ac_exeext conftest.$ac_ext
10383 CFLAGS=$ac_wine_try_cflags_saved
10385 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
10386 printf "%s\n" "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
10387 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes
10389 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-z,max-page-size=0x1000"
10393 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
10395 LIBWINE_DEPENDS="wine.map"
10397 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.so.$libwine_version libs/wine/libwine.so.$libwine_soversion"
10401 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
10402 enable_wineandroid_drv=${enable_wineandroid_drv:-no}
10403 enable_winemac_drv=${enable_winemac_drv:-no}
10408 if test ${enable_archs+y}
10410 test "x$with_system_dllpath" = "x" || as_fn_error $? "\"The --with-system-dllpath option is not compatible with --enable-archs\"" "$LINENO" 5
10413 set x $enable_archs
10419 i386|x86_64|arm|aarch64) cross_archs="$cross_archs $arch" ;;
10420 *) as_fn_error $? "Unknown cross-compilation architecture '$arch'" "$LINENO" 5 ;;
10424 if test "x$with_mingw" != xno
10426 test $HOST_ARCH = unknown || cross_archs=$HOST_ARCH
10427 case "x$with_mingw" in
10429 *) eval "${cross_archs}_CC=\$with_mingw" ;;
10434 for wine_arch in $cross_archs
10436 if eval \${${wine_arch}_CC:+false} :
10440 for ac_prog in aarch64-w64-mingw32-clang aarch64-w64-mingw32-gcc clang
10442 # Extract the first word of "$ac_prog", so it can be a program name with args.
10443 set dummy $ac_prog; ac_word=$2
10444 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10445 printf %s "checking for $ac_word... " >&6; }
10446 if test ${ac_cv_prog_aarch64_CC+y}
10448 printf %s "(cached) " >&6
10450 if test -n "$aarch64_CC"; then
10451 ac_cv_prog_aarch64_CC="$aarch64_CC" # Let the user override the test.
10453 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10454 for as_dir in $PATH
10457 case $as_dir in #(((
10460 *) as_dir=$as_dir/ ;;
10462 for ac_exec_ext in '' $ac_executable_extensions; do
10463 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10464 ac_cv_prog_aarch64_CC="$ac_prog"
10465 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10474 aarch64_CC=$ac_cv_prog_aarch64_CC
10475 if test -n "$aarch64_CC"; then
10476 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $aarch64_CC" >&5
10477 printf "%s\n" "$aarch64_CC" >&6; }
10479 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10480 printf "%s\n" "no" >&6; }
10484 test -n "$aarch64_CC" && break
10486 test -n "$aarch64_CC" || aarch64_CC="false"
10490 for ac_prog in armv7-w64-mingw32-clang armv7-w64-mingw32-gcc clang
10492 # Extract the first word of "$ac_prog", so it can be a program name with args.
10493 set dummy $ac_prog; ac_word=$2
10494 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10495 printf %s "checking for $ac_word... " >&6; }
10496 if test ${ac_cv_prog_arm_CC+y}
10498 printf %s "(cached) " >&6
10500 if test -n "$arm_CC"; then
10501 ac_cv_prog_arm_CC="$arm_CC" # Let the user override the test.
10503 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10504 for as_dir in $PATH
10507 case $as_dir in #(((
10510 *) as_dir=$as_dir/ ;;
10512 for ac_exec_ext in '' $ac_executable_extensions; do
10513 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10514 ac_cv_prog_arm_CC="$ac_prog"
10515 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10524 arm_CC=$ac_cv_prog_arm_CC
10525 if test -n "$arm_CC"; then
10526 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $arm_CC" >&5
10527 printf "%s\n" "$arm_CC" >&6; }
10529 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10530 printf "%s\n" "no" >&6; }
10534 test -n "$arm_CC" && break
10536 test -n "$arm_CC" || arm_CC="false"
10540 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 "
10541 for ac_prog in $ac_prefix_list clang
10543 # Extract the first word of "$ac_prog", so it can be a program name with args.
10544 set dummy $ac_prog; ac_word=$2
10545 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10546 printf %s "checking for $ac_word... " >&6; }
10547 if test ${ac_cv_prog_i386_CC+y}
10549 printf %s "(cached) " >&6
10551 if test -n "$i386_CC"; then
10552 ac_cv_prog_i386_CC="$i386_CC" # Let the user override the test.
10554 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10555 for as_dir in $PATH
10558 case $as_dir in #(((
10561 *) as_dir=$as_dir/ ;;
10563 for ac_exec_ext in '' $ac_executable_extensions; do
10564 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10565 ac_cv_prog_i386_CC="$ac_prog"
10566 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10575 i386_CC=$ac_cv_prog_i386_CC
10576 if test -n "$i386_CC"; then
10577 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $i386_CC" >&5
10578 printf "%s\n" "$i386_CC" >&6; }
10580 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10581 printf "%s\n" "no" >&6; }
10585 test -n "$i386_CC" && break
10587 test -n "$i386_CC" || i386_CC="false"
10591 ac_prefix_list="x86_64-w64-mingw32-gcc amd64-w64-mingw32-gcc x86_64-w64-mingw32-clang amd64-w64-mingw32-clang "
10592 for ac_prog in $ac_prefix_list clang
10594 # Extract the first word of "$ac_prog", so it can be a program name with args.
10595 set dummy $ac_prog; ac_word=$2
10596 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10597 printf %s "checking for $ac_word... " >&6; }
10598 if test ${ac_cv_prog_x86_64_CC+y}
10600 printf %s "(cached) " >&6
10602 if test -n "$x86_64_CC"; then
10603 ac_cv_prog_x86_64_CC="$x86_64_CC" # Let the user override the test.
10605 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10606 for as_dir in $PATH
10609 case $as_dir in #(((
10612 *) as_dir=$as_dir/ ;;
10614 for ac_exec_ext in '' $ac_executable_extensions; do
10615 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10616 ac_cv_prog_x86_64_CC="$ac_prog"
10617 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10626 x86_64_CC=$ac_cv_prog_x86_64_CC
10627 if test -n "$x86_64_CC"; then
10628 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $x86_64_CC" >&5
10629 printf "%s\n" "$x86_64_CC" >&6; }
10631 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10632 printf "%s\n" "no" >&6; }
10636 test -n "$x86_64_CC" && break
10638 test -n "$x86_64_CC" || x86_64_CC="false"
10644 if eval test \"x\$"${wine_arch}_CC"\" = x"false"
10650 saved_CFLAGS=$CFLAGS
10652 CFLAGS=${CROSSCFLAGS:-"-g -O2"}
10653 eval CC=\$${wine_arch}_CC
10654 eval ${wine_arch}_CFLAGS=\$CFLAGS
10655 eval ${wine_arch}_LDFLAGS=\$CROSSLDFLAGS
10656 eval "${wine_arch}_EXTRACFLAGS=\"-D__WINE_PE_BUILD -Wall\""
10659 as_wine_cv_crosscc=`printf "%s\n" "ac_cv_${wine_arch}_crosscc" |
$as_tr_sh`
10661 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
10662 printf %s "checking whether $CC works... " >&6; }
10663 if eval test \${$as_wine_cv_crosscc+y}
10665 printf %s "(cached) " >&6
10667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10668 /* end confdefs.h. */
10678 if ac_fn_c_try_compile "$LINENO"
10680 eval "$as_wine_cv_crosscc=yes"
10682 eval "$as_wine_cv_crosscc=no"
10684 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10686 eval ac_res=\$$as_wine_cv_crosscc
10687 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10688 printf "%s\n" "$ac_res" >&6; }
10689 if eval test \"x\$"$as_wine_cv_crosscc"\" = x"yes"
10693 while test $# -ge 1
10696 *-gcc) target=`expr "$1" : '\(.*\)-gcc'` ;;
10697 *-clang) target=`expr "$1" : '\(.*\)-clang'` ;;
10702 llvm_target=$target
10703 if test -z "$llvm_target"
10706 i386) llvm_target=i686-windows ;;
10707 arm) llvm_target=armv7-windows ;;
10708 *) llvm_target=$wine_arch-windows ;;
10711 llvm_extra_cflags="-target $llvm_target -fuse-ld=lld"
10712 case $llvm_target in
10713 *windows) llvm_cflags="-Wl,-subsystem:console -Wl,-WX" ;;
10715 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_$llvm_extra_cflags $llvm_cflags" |
$as_tr_sh`
10716 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports $llvm_extra_cflags $llvm_cflags" >&5
10717 printf %s "checking whether $CC supports $llvm_extra_cflags $llvm_cflags... " >&6; }
10718 if eval test \${$as_ac_var+y}
10720 printf %s "(cached) " >&6
10722 ac_wine_try_cflags_saved=$CFLAGS
10723 ac_wine_try_cflags_saved_exeext=$ac_exeext
10724 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs $llvm_extra_cflags $llvm_cflags"
10726 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10727 /* end confdefs.h. */
10728 int __cdecl mainCRTStartup(void) { return 0; }
10730 if ac_fn_c_try_link "$LINENO"
10732 eval "$as_ac_var=yes"
10734 eval "$as_ac_var=no"
10736 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10737 conftest$ac_exeext conftest.$ac_ext
10738 CFLAGS=$ac_wine_try_cflags_saved
10739 ac_exeext=$ac_wine_try_cflags_saved_exeext
10741 eval ac_res=\$$as_ac_var
10742 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10743 printf "%s\n" "$ac_res" >&6; }
10744 if eval test \"x\$"$as_ac_var"\" = x"yes"
10746 target=$llvm_target
10747 eval "${wine_arch}_DELAYLOADFLAG=\"-Wl,-delayload,\""
10748 as_fn_append ${wine_arch}_EXTRACFLAGS " $llvm_extra_cflags"
10749 CFLAGS="$llvm_extra_cflags $llvm_cflags"
10751 eval "${wine_arch}_TARGET=\$target"
10755 if test -z "$target"
10758 CFLAGS=$saved_CFLAGS
10761 as_fn_append PE_ARCHS " $wine_arch"
10763 as_wine_cv_crosscc_c99=`printf "%s\n" "ac_cv_${wine_arch}_crosscc_c99" |
$as_tr_sh`
10765 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
10766 printf %s "checking for $CC option to enable C99 features... " >&6; }
10767 if eval test \${$as_wine_cv_crosscc_c99+y}
10769 printf %s "(cached) " >&6
10771 eval "$as_wine_cv_crosscc_c99=no"
10772 for arg in '' '-std=gnu99'
10774 test -z "$arg" || CC="$CC $arg"
10775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10776 /* end confdefs.h. */
10777 $ac_c_conftest_c99_program
10779 if ac_fn_c_try_compile "$LINENO"
10781 eval "$as_wine_cv_crosscc_c99=\$arg"
10783 eval "$as_wine_cv_crosscc_c99=no"
10785 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10786 eval CC=\$${wine_arch}_CC
10787 if eval test \"x\$"$as_wine_cv_crosscc_c99"\" = x"no"
10796 eval res=\$$as_wine_cv_crosscc_c99
10798 x) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
10799 printf "%s\n" "none needed" >&6; } ;;
10800 xno) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
10801 printf "%s\n" "unsupported" >&6; } ;;
10802 x*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $res" >&5
10803 printf "%s\n" "$res" >&6; }
10804 as_fn_append ${wine_arch}_CC " $res" ;;
10808 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-fno-strict-aliasing" |
$as_tr_sh`
10809 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -fno-strict-aliasing" >&5
10810 printf %s "checking whether $CC supports -fno-strict-aliasing... " >&6; }
10811 if eval test \${$as_ac_var+y}
10813 printf %s "(cached) " >&6
10815 ac_wine_try_cflags_saved=$CFLAGS
10816 ac_wine_try_cflags_saved_exeext=$ac_exeext
10817 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -fno-strict-aliasing"
10819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10820 /* end confdefs.h. */
10821 int __cdecl mainCRTStartup(void) { return 0; }
10823 if ac_fn_c_try_link "$LINENO"
10825 eval "$as_ac_var=yes"
10827 eval "$as_ac_var=no"
10829 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10830 conftest$ac_exeext conftest.$ac_ext
10831 CFLAGS=$ac_wine_try_cflags_saved
10832 ac_exeext=$ac_wine_try_cflags_saved_exeext
10834 eval ac_res=\$$as_ac_var
10835 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10836 printf "%s\n" "$ac_res" >&6; }
10837 if eval test \"x\$"$as_ac_var"\" = x"yes"
10839 as_fn_append ${wine_arch}_EXTRACFLAGS " -fno-strict-aliasing"
10841 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Werror=unknown-warning-option" |
$as_tr_sh`
10842 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Werror=unknown-warning-option" >&5
10843 printf %s "checking whether $CC supports -Werror=unknown-warning-option... " >&6; }
10844 if eval test \${$as_ac_var+y}
10846 printf %s "(cached) " >&6
10848 ac_wine_try_cflags_saved=$CFLAGS
10849 ac_wine_try_cflags_saved_exeext=$ac_exeext
10850 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Werror=unknown-warning-option"
10852 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10853 /* end confdefs.h. */
10854 int __cdecl mainCRTStartup(void) { return 0; }
10856 if ac_fn_c_try_link "$LINENO"
10858 eval "$as_ac_var=yes"
10860 eval "$as_ac_var=no"
10862 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10863 conftest$ac_exeext conftest.$ac_ext
10864 CFLAGS=$ac_wine_try_cflags_saved
10865 ac_exeext=$ac_wine_try_cflags_saved_exeext
10867 eval ac_res=\$$as_ac_var
10868 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10869 printf "%s\n" "$ac_res" >&6; }
10870 if eval test \"x\$"$as_ac_var"\" = x"yes"
10872 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
10874 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Werror=ignored-optimization-argument" |
$as_tr_sh`
10875 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Werror=ignored-optimization-argument" >&5
10876 printf %s "checking whether $CC supports -Werror=ignored-optimization-argument... " >&6; }
10877 if eval test \${$as_ac_var+y}
10879 printf %s "(cached) " >&6
10881 ac_wine_try_cflags_saved=$CFLAGS
10882 ac_wine_try_cflags_saved_exeext=$ac_exeext
10883 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Werror=ignored-optimization-argument"
10885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10886 /* end confdefs.h. */
10887 int __cdecl mainCRTStartup(void) { return 0; }
10889 if ac_fn_c_try_link "$LINENO"
10891 eval "$as_ac_var=yes"
10893 eval "$as_ac_var=no"
10895 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10896 conftest$ac_exeext conftest.$ac_ext
10897 CFLAGS=$ac_wine_try_cflags_saved
10898 ac_exeext=$ac_wine_try_cflags_saved_exeext
10900 eval ac_res=\$$as_ac_var
10901 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10902 printf "%s\n" "$ac_res" >&6; }
10903 if eval test \"x\$"$as_ac_var"\" = x"yes"
10905 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
10907 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wdeclaration-after-statement" |
$as_tr_sh`
10908 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wdeclaration-after-statement" >&5
10909 printf %s "checking whether $CC supports -Wdeclaration-after-statement... " >&6; }
10910 if eval test \${$as_ac_var+y}
10912 printf %s "(cached) " >&6
10914 ac_wine_try_cflags_saved=$CFLAGS
10915 ac_wine_try_cflags_saved_exeext=$ac_exeext
10916 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wdeclaration-after-statement"
10918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10919 /* end confdefs.h. */
10920 int __cdecl mainCRTStartup(void) { return 0; }
10922 if ac_fn_c_try_link "$LINENO"
10924 eval "$as_ac_var=yes"
10926 eval "$as_ac_var=no"
10928 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10929 conftest$ac_exeext conftest.$ac_ext
10930 CFLAGS=$ac_wine_try_cflags_saved
10931 ac_exeext=$ac_wine_try_cflags_saved_exeext
10933 eval ac_res=\$$as_ac_var
10934 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10935 printf "%s\n" "$ac_res" >&6; }
10936 if eval test \"x\$"$as_ac_var"\" = x"yes"
10938 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wdeclaration-after-statement"
10940 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wempty-body" |
$as_tr_sh`
10941 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wempty-body" >&5
10942 printf %s "checking whether $CC supports -Wempty-body... " >&6; }
10943 if eval test \${$as_ac_var+y}
10945 printf %s "(cached) " >&6
10947 ac_wine_try_cflags_saved=$CFLAGS
10948 ac_wine_try_cflags_saved_exeext=$ac_exeext
10949 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wempty-body"
10951 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10952 /* end confdefs.h. */
10953 int __cdecl mainCRTStartup(void) { return 0; }
10955 if ac_fn_c_try_link "$LINENO"
10957 eval "$as_ac_var=yes"
10959 eval "$as_ac_var=no"
10961 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10962 conftest$ac_exeext conftest.$ac_ext
10963 CFLAGS=$ac_wine_try_cflags_saved
10964 ac_exeext=$ac_wine_try_cflags_saved_exeext
10966 eval ac_res=\$$as_ac_var
10967 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10968 printf "%s\n" "$ac_res" >&6; }
10969 if eval test \"x\$"$as_ac_var"\" = x"yes"
10971 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wempty-body"
10973 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wignored-qualifiers" |
$as_tr_sh`
10974 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wignored-qualifiers" >&5
10975 printf %s "checking whether $CC supports -Wignored-qualifiers... " >&6; }
10976 if eval test \${$as_ac_var+y}
10978 printf %s "(cached) " >&6
10980 ac_wine_try_cflags_saved=$CFLAGS
10981 ac_wine_try_cflags_saved_exeext=$ac_exeext
10982 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wignored-qualifiers"
10984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10985 /* end confdefs.h. */
10986 int __cdecl mainCRTStartup(void) { return 0; }
10988 if ac_fn_c_try_link "$LINENO"
10990 eval "$as_ac_var=yes"
10992 eval "$as_ac_var=no"
10994 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10995 conftest$ac_exeext conftest.$ac_ext
10996 CFLAGS=$ac_wine_try_cflags_saved
10997 ac_exeext=$ac_wine_try_cflags_saved_exeext
10999 eval ac_res=\$$as_ac_var
11000 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11001 printf "%s\n" "$ac_res" >&6; }
11002 if eval test \"x\$"$as_ac_var"\" = x"yes"
11004 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wignored-qualifiers"
11006 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Winit-self" |
$as_tr_sh`
11007 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Winit-self" >&5
11008 printf %s "checking whether $CC supports -Winit-self... " >&6; }
11009 if eval test \${$as_ac_var+y}
11011 printf %s "(cached) " >&6
11013 ac_wine_try_cflags_saved=$CFLAGS
11014 ac_wine_try_cflags_saved_exeext=$ac_exeext
11015 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Winit-self"
11017 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11018 /* end confdefs.h. */
11019 int __cdecl mainCRTStartup(void) { return 0; }
11021 if ac_fn_c_try_link "$LINENO"
11023 eval "$as_ac_var=yes"
11025 eval "$as_ac_var=no"
11027 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11028 conftest$ac_exeext conftest.$ac_ext
11029 CFLAGS=$ac_wine_try_cflags_saved
11030 ac_exeext=$ac_wine_try_cflags_saved_exeext
11032 eval ac_res=\$$as_ac_var
11033 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11034 printf "%s\n" "$ac_res" >&6; }
11035 if eval test \"x\$"$as_ac_var"\" = x"yes"
11037 as_fn_append ${wine_arch}_EXTRACFLAGS " -Winit-self"
11039 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wpacked-not-aligned" |
$as_tr_sh`
11040 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wpacked-not-aligned" >&5
11041 printf %s "checking whether $CC supports -Wpacked-not-aligned... " >&6; }
11042 if eval test \${$as_ac_var+y}
11044 printf %s "(cached) " >&6
11046 ac_wine_try_cflags_saved=$CFLAGS
11047 ac_wine_try_cflags_saved_exeext=$ac_exeext
11048 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wpacked-not-aligned"
11050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11051 /* end confdefs.h. */
11052 int __cdecl mainCRTStartup(void) { return 0; }
11054 if ac_fn_c_try_link "$LINENO"
11056 eval "$as_ac_var=yes"
11058 eval "$as_ac_var=no"
11060 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11061 conftest$ac_exeext conftest.$ac_ext
11062 CFLAGS=$ac_wine_try_cflags_saved
11063 ac_exeext=$ac_wine_try_cflags_saved_exeext
11065 eval ac_res=\$$as_ac_var
11066 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11067 printf "%s\n" "$ac_res" >&6; }
11068 if eval test \"x\$"$as_ac_var"\" = x"yes"
11070 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wno-packed-not-aligned"
11072 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wpragma-pack" |
$as_tr_sh`
11073 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wpragma-pack" >&5
11074 printf %s "checking whether $CC supports -Wpragma-pack... " >&6; }
11075 if eval test \${$as_ac_var+y}
11077 printf %s "(cached) " >&6
11079 ac_wine_try_cflags_saved=$CFLAGS
11080 ac_wine_try_cflags_saved_exeext=$ac_exeext
11081 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wpragma-pack"
11083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11084 /* end confdefs.h. */
11085 int __cdecl mainCRTStartup(void) { return 0; }
11087 if ac_fn_c_try_link "$LINENO"
11089 eval "$as_ac_var=yes"
11091 eval "$as_ac_var=no"
11093 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11094 conftest$ac_exeext conftest.$ac_ext
11095 CFLAGS=$ac_wine_try_cflags_saved
11096 ac_exeext=$ac_wine_try_cflags_saved_exeext
11098 eval ac_res=\$$as_ac_var
11099 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11100 printf "%s\n" "$ac_res" >&6; }
11101 if eval test \"x\$"$as_ac_var"\" = x"yes"
11103 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wno-pragma-pack"
11105 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wshift-overflow=2" |
$as_tr_sh`
11106 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wshift-overflow=2" >&5
11107 printf %s "checking whether $CC supports -Wshift-overflow=2... " >&6; }
11108 if eval test \${$as_ac_var+y}
11110 printf %s "(cached) " >&6
11112 ac_wine_try_cflags_saved=$CFLAGS
11113 ac_wine_try_cflags_saved_exeext=$ac_exeext
11114 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wshift-overflow=2"
11116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11117 /* end confdefs.h. */
11118 int __cdecl mainCRTStartup(void) { return 0; }
11120 if ac_fn_c_try_link "$LINENO"
11122 eval "$as_ac_var=yes"
11124 eval "$as_ac_var=no"
11126 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11127 conftest$ac_exeext conftest.$ac_ext
11128 CFLAGS=$ac_wine_try_cflags_saved
11129 ac_exeext=$ac_wine_try_cflags_saved_exeext
11131 eval ac_res=\$$as_ac_var
11132 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11133 printf "%s\n" "$ac_res" >&6; }
11134 if eval test \"x\$"$as_ac_var"\" = x"yes"
11136 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wshift-overflow=2"
11138 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wstrict-prototypes" |
$as_tr_sh`
11139 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wstrict-prototypes" >&5
11140 printf %s "checking whether $CC supports -Wstrict-prototypes... " >&6; }
11141 if eval test \${$as_ac_var+y}
11143 printf %s "(cached) " >&6
11145 ac_wine_try_cflags_saved=$CFLAGS
11146 ac_wine_try_cflags_saved_exeext=$ac_exeext
11147 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wstrict-prototypes"
11149 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11150 /* end confdefs.h. */
11151 int __cdecl mainCRTStartup(void) { return 0; }
11153 if ac_fn_c_try_link "$LINENO"
11155 eval "$as_ac_var=yes"
11157 eval "$as_ac_var=no"
11159 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11160 conftest$ac_exeext conftest.$ac_ext
11161 CFLAGS=$ac_wine_try_cflags_saved
11162 ac_exeext=$ac_wine_try_cflags_saved_exeext
11164 eval ac_res=\$$as_ac_var
11165 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11166 printf "%s\n" "$ac_res" >&6; }
11167 if eval test \"x\$"$as_ac_var"\" = x"yes"
11169 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wstrict-prototypes"
11171 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wtype-limits" |
$as_tr_sh`
11172 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wtype-limits" >&5
11173 printf %s "checking whether $CC supports -Wtype-limits... " >&6; }
11174 if eval test \${$as_ac_var+y}
11176 printf %s "(cached) " >&6
11178 ac_wine_try_cflags_saved=$CFLAGS
11179 ac_wine_try_cflags_saved_exeext=$ac_exeext
11180 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wtype-limits"
11182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11183 /* end confdefs.h. */
11184 int __cdecl mainCRTStartup(void) { return 0; }
11186 if ac_fn_c_try_link "$LINENO"
11188 eval "$as_ac_var=yes"
11190 eval "$as_ac_var=no"
11192 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11193 conftest$ac_exeext conftest.$ac_ext
11194 CFLAGS=$ac_wine_try_cflags_saved
11195 ac_exeext=$ac_wine_try_cflags_saved_exeext
11197 eval ac_res=\$$as_ac_var
11198 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11199 printf "%s\n" "$ac_res" >&6; }
11200 if eval test \"x\$"$as_ac_var"\" = x"yes"
11202 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wtype-limits"
11204 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wunused-but-set-parameter" |
$as_tr_sh`
11205 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wunused-but-set-parameter" >&5
11206 printf %s "checking whether $CC supports -Wunused-but-set-parameter... " >&6; }
11207 if eval test \${$as_ac_var+y}
11209 printf %s "(cached) " >&6
11211 ac_wine_try_cflags_saved=$CFLAGS
11212 ac_wine_try_cflags_saved_exeext=$ac_exeext
11213 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wunused-but-set-parameter"
11215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11216 /* end confdefs.h. */
11217 int __cdecl mainCRTStartup(void) { return 0; }
11219 if ac_fn_c_try_link "$LINENO"
11221 eval "$as_ac_var=yes"
11223 eval "$as_ac_var=no"
11225 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11226 conftest$ac_exeext conftest.$ac_ext
11227 CFLAGS=$ac_wine_try_cflags_saved
11228 ac_exeext=$ac_wine_try_cflags_saved_exeext
11230 eval ac_res=\$$as_ac_var
11231 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11232 printf "%s\n" "$ac_res" >&6; }
11233 if eval test \"x\$"$as_ac_var"\" = x"yes"
11235 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wunused-but-set-parameter"
11237 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wvla" |
$as_tr_sh`
11238 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wvla" >&5
11239 printf %s "checking whether $CC supports -Wvla... " >&6; }
11240 if eval test \${$as_ac_var+y}
11242 printf %s "(cached) " >&6
11244 ac_wine_try_cflags_saved=$CFLAGS
11245 ac_wine_try_cflags_saved_exeext=$ac_exeext
11246 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wvla"
11248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11249 /* end confdefs.h. */
11250 int __cdecl mainCRTStartup(void) { return 0; }
11252 if ac_fn_c_try_link "$LINENO"
11254 eval "$as_ac_var=yes"
11256 eval "$as_ac_var=no"
11258 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11259 conftest$ac_exeext conftest.$ac_ext
11260 CFLAGS=$ac_wine_try_cflags_saved
11261 ac_exeext=$ac_wine_try_cflags_saved_exeext
11263 eval ac_res=\$$as_ac_var
11264 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11265 printf "%s\n" "$ac_res" >&6; }
11266 if eval test \"x\$"$as_ac_var"\" = x"yes"
11268 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wvla"
11270 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wwrite-strings" |
$as_tr_sh`
11271 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wwrite-strings" >&5
11272 printf %s "checking whether $CC supports -Wwrite-strings... " >&6; }
11273 if eval test \${$as_ac_var+y}
11275 printf %s "(cached) " >&6
11277 ac_wine_try_cflags_saved=$CFLAGS
11278 ac_wine_try_cflags_saved_exeext=$ac_exeext
11279 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wwrite-strings"
11281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11282 /* end confdefs.h. */
11283 int __cdecl mainCRTStartup(void) { return 0; }
11285 if ac_fn_c_try_link "$LINENO"
11287 eval "$as_ac_var=yes"
11289 eval "$as_ac_var=no"
11291 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11292 conftest$ac_exeext conftest.$ac_ext
11293 CFLAGS=$ac_wine_try_cflags_saved
11294 ac_exeext=$ac_wine_try_cflags_saved_exeext
11296 eval ac_res=\$$as_ac_var
11297 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11298 printf "%s\n" "$ac_res" >&6; }
11299 if eval test \"x\$"$as_ac_var"\" = x"yes"
11301 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wwrite-strings"
11303 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wpointer-arith" |
$as_tr_sh`
11304 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wpointer-arith" >&5
11305 printf %s "checking whether $CC supports -Wpointer-arith... " >&6; }
11306 if eval test \${$as_ac_var+y}
11308 printf %s "(cached) " >&6
11310 ac_wine_try_cflags_saved=$CFLAGS
11311 ac_wine_try_cflags_saved_exeext=$ac_exeext
11312 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wpointer-arith"
11314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11315 /* end confdefs.h. */
11316 int __cdecl mainCRTStartup(void) { return 0; }
11318 if ac_fn_c_try_link "$LINENO"
11320 eval "$as_ac_var=yes"
11322 eval "$as_ac_var=no"
11324 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11325 conftest$ac_exeext conftest.$ac_ext
11326 CFLAGS=$ac_wine_try_cflags_saved
11327 ac_exeext=$ac_wine_try_cflags_saved_exeext
11329 eval ac_res=\$$as_ac_var
11330 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11331 printf "%s\n" "$ac_res" >&6; }
11332 if eval test \"x\$"$as_ac_var"\" = x"yes"
11334 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wpointer-arith"
11336 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wlogical-op" |
$as_tr_sh`
11337 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wlogical-op" >&5
11338 printf %s "checking whether $CC supports -Wlogical-op... " >&6; }
11339 if eval test \${$as_ac_var+y}
11341 printf %s "(cached) " >&6
11343 ac_wine_try_cflags_saved=$CFLAGS
11344 ac_wine_try_cflags_saved_exeext=$ac_exeext
11345 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wlogical-op"
11347 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11348 /* end confdefs.h. */
11349 int __cdecl mainCRTStartup(void) { return 0; }
11351 if ac_fn_c_try_link "$LINENO"
11353 eval "$as_ac_var=yes"
11355 eval "$as_ac_var=no"
11357 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11358 conftest$ac_exeext conftest.$ac_ext
11359 CFLAGS=$ac_wine_try_cflags_saved
11360 ac_exeext=$ac_wine_try_cflags_saved_exeext
11362 eval ac_res=\$$as_ac_var
11363 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11364 printf "%s\n" "$ac_res" >&6; }
11365 if eval test \"x\$"$as_ac_var"\" = x"yes"
11367 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wlogical-op"
11369 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wabsolute-value" |
$as_tr_sh`
11370 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wabsolute-value" >&5
11371 printf %s "checking whether $CC supports -Wabsolute-value... " >&6; }
11372 if eval test \${$as_ac_var+y}
11374 printf %s "(cached) " >&6
11376 ac_wine_try_cflags_saved=$CFLAGS
11377 ac_wine_try_cflags_saved_exeext=$ac_exeext
11378 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wabsolute-value"
11380 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11381 /* end confdefs.h. */
11382 int __cdecl mainCRTStartup(void) { return 0; }
11384 if ac_fn_c_try_link "$LINENO"
11386 eval "$as_ac_var=yes"
11388 eval "$as_ac_var=no"
11390 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11391 conftest$ac_exeext conftest.$ac_ext
11392 CFLAGS=$ac_wine_try_cflags_saved
11393 ac_exeext=$ac_wine_try_cflags_saved_exeext
11395 eval ac_res=\$$as_ac_var
11396 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11397 printf "%s\n" "$ac_res" >&6; }
11398 if eval test \"x\$"$as_ac_var"\" = x"yes"
11400 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wabsolute-value"
11404 i386) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-fno-omit-frame-pointer" |
$as_tr_sh`
11405 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -fno-omit-frame-pointer" >&5
11406 printf %s "checking whether $CC supports -fno-omit-frame-pointer... " >&6; }
11407 if eval test \${$as_ac_var+y}
11409 printf %s "(cached) " >&6
11411 ac_wine_try_cflags_saved=$CFLAGS
11412 ac_wine_try_cflags_saved_exeext=$ac_exeext
11413 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -fno-omit-frame-pointer"
11415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11416 /* end confdefs.h. */
11417 int __cdecl mainCRTStartup(void) { return 0; }
11419 if ac_fn_c_try_link "$LINENO"
11421 eval "$as_ac_var=yes"
11423 eval "$as_ac_var=no"
11425 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11426 conftest$ac_exeext conftest.$ac_ext
11427 CFLAGS=$ac_wine_try_cflags_saved
11428 ac_exeext=$ac_wine_try_cflags_saved_exeext
11430 eval ac_res=\$$as_ac_var
11431 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11432 printf "%s\n" "$ac_res" >&6; }
11433 if eval test \"x\$"$as_ac_var"\" = x"yes"
11435 as_fn_append ${wine_arch}_EXTRACFLAGS " -fno-omit-frame-pointer"
11437 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wl,--disable-stdcall-fixup" |
$as_tr_sh`
11438 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wl,--disable-stdcall-fixup" >&5
11439 printf %s "checking whether $CC supports -Wl,--disable-stdcall-fixup... " >&6; }
11440 if eval test \${$as_ac_var+y}
11442 printf %s "(cached) " >&6
11444 ac_wine_try_cflags_saved=$CFLAGS
11445 ac_wine_try_cflags_saved_exeext=$ac_exeext
11446 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wl,--disable-stdcall-fixup"
11448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11449 /* end confdefs.h. */
11450 int __cdecl mainCRTStartup(void) { return 0; }
11452 if ac_fn_c_try_link "$LINENO"
11454 eval "$as_ac_var=yes"
11456 eval "$as_ac_var=no"
11458 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11459 conftest$ac_exeext conftest.$ac_ext
11460 CFLAGS=$ac_wine_try_cflags_saved
11461 ac_exeext=$ac_wine_try_cflags_saved_exeext
11463 eval ac_res=\$$as_ac_var
11464 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11465 printf "%s\n" "$ac_res" >&6; }
11466 if eval test \"x\$"$as_ac_var"\" = x"yes"
11468 as_fn_append ${wine_arch}_LDFLAGS " -Wl,--disable-stdcall-fixup"
11470 x86_64) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wformat-overflow" |
$as_tr_sh`
11471 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wformat-overflow" >&5
11472 printf %s "checking whether $CC supports -Wformat-overflow... " >&6; }
11473 if eval test \${$as_ac_var+y}
11475 printf %s "(cached) " >&6
11477 ac_wine_try_cflags_saved=$CFLAGS
11478 ac_wine_try_cflags_saved_exeext=$ac_exeext
11479 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wformat-overflow"
11481 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11482 /* end confdefs.h. */
11483 int __cdecl mainCRTStartup(void) { return 0; }
11485 if ac_fn_c_try_link "$LINENO"
11487 eval "$as_ac_var=yes"
11489 eval "$as_ac_var=no"
11491 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11492 conftest$ac_exeext conftest.$ac_ext
11493 CFLAGS=$ac_wine_try_cflags_saved
11494 ac_exeext=$ac_wine_try_cflags_saved_exeext
11496 eval ac_res=\$$as_ac_var
11497 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11498 printf "%s\n" "$ac_res" >&6; }
11499 if eval test \"x\$"$as_ac_var"\" = x"yes"
11501 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wformat-overflow"
11503 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wnonnull" |
$as_tr_sh`
11504 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wnonnull" >&5
11505 printf %s "checking whether $CC supports -Wnonnull... " >&6; }
11506 if eval test \${$as_ac_var+y}
11508 printf %s "(cached) " >&6
11510 ac_wine_try_cflags_saved=$CFLAGS
11511 ac_wine_try_cflags_saved_exeext=$ac_exeext
11512 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wnonnull"
11514 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11515 /* end confdefs.h. */
11516 int __cdecl mainCRTStartup(void) { return 0; }
11518 if ac_fn_c_try_link "$LINENO"
11520 eval "$as_ac_var=yes"
11522 eval "$as_ac_var=no"
11524 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11525 conftest$ac_exeext conftest.$ac_ext
11526 CFLAGS=$ac_wine_try_cflags_saved
11527 ac_exeext=$ac_wine_try_cflags_saved_exeext
11529 eval ac_res=\$$as_ac_var
11530 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11531 printf "%s\n" "$ac_res" >&6; }
11532 if eval test \"x\$"$as_ac_var"\" = x"yes"
11534 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wnonnull"
11536 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-mcx16" |
$as_tr_sh`
11537 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mcx16" >&5
11538 printf %s "checking whether $CC supports -mcx16... " >&6; }
11539 if eval test \${$as_ac_var+y}
11541 printf %s "(cached) " >&6
11543 ac_wine_try_cflags_saved=$CFLAGS
11544 ac_wine_try_cflags_saved_exeext=$ac_exeext
11545 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -mcx16"
11547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11548 /* end confdefs.h. */
11549 int __cdecl mainCRTStartup(void) { return 0; }
11551 if ac_fn_c_try_link "$LINENO"
11553 eval "$as_ac_var=yes"
11555 eval "$as_ac_var=no"
11557 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11558 conftest$ac_exeext conftest.$ac_ext
11559 CFLAGS=$ac_wine_try_cflags_saved
11560 ac_exeext=$ac_wine_try_cflags_saved_exeext
11562 eval ac_res=\$$as_ac_var
11563 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11564 printf "%s\n" "$ac_res" >&6; }
11565 if eval test \"x\$"$as_ac_var"\" = x"yes"
11567 as_fn_append ${wine_arch}_EXTRACFLAGS " -mcx16"
11571 wine_crossdebug=$CROSSDEBUG
11572 if test -z "$wine_crossdebug"
11574 for ac_flag in $CFLAGS; do
11576 -gdwarf*) wine_crossdebug=dwarf ;;
11577 -gcodeview) wine_crossdebug=pdb ;;
11578 -g) wine_crossdebug=${wine_crossdebug:-dwarf} ;;
11583 ac_debug_format_seen=""
11584 for ac_flag in $CFLAGS; do
11586 -gdwarf*|-gcodeview) ac_debug_format_seen=$ac_flag ;;
11589 if test "x$ac_debug_format_seen" = x
11591 case $wine_crossdebug in
11592 *dwarf) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-gdwarf-4" |
$as_tr_sh`
11593 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -gdwarf-4" >&5
11594 printf %s "checking whether $CC supports -gdwarf-4... " >&6; }
11595 if eval test \${$as_ac_var+y}
11597 printf %s "(cached) " >&6
11599 ac_wine_try_cflags_saved=$CFLAGS
11600 ac_wine_try_cflags_saved_exeext=$ac_exeext
11601 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -gdwarf-4"
11603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11604 /* end confdefs.h. */
11605 int __cdecl mainCRTStartup(void) { return 0; }
11607 if ac_fn_c_try_link "$LINENO"
11609 eval "$as_ac_var=yes"
11611 eval "$as_ac_var=no"
11613 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11614 conftest$ac_exeext conftest.$ac_ext
11615 CFLAGS=$ac_wine_try_cflags_saved
11616 ac_exeext=$ac_wine_try_cflags_saved_exeext
11618 eval ac_res=\$$as_ac_var
11619 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11620 printf "%s\n" "$ac_res" >&6; }
11621 if eval test \"x\$"$as_ac_var"\" = x"yes"
11623 as_fn_append ${wine_arch}_EXTRACFLAGS " -gdwarf-4"
11625 pdb) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-gcodeview" |
$as_tr_sh`
11626 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -gcodeview" >&5
11627 printf %s "checking whether $CC supports -gcodeview... " >&6; }
11628 if eval test \${$as_ac_var+y}
11630 printf %s "(cached) " >&6
11632 ac_wine_try_cflags_saved=$CFLAGS
11633 ac_wine_try_cflags_saved_exeext=$ac_exeext
11634 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -gcodeview"
11636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11637 /* end confdefs.h. */
11638 int __cdecl mainCRTStartup(void) { return 0; }
11640 if ac_fn_c_try_link "$LINENO"
11642 eval "$as_ac_var=yes"
11644 eval "$as_ac_var=no"
11646 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11647 conftest$ac_exeext conftest.$ac_ext
11648 CFLAGS=$ac_wine_try_cflags_saved
11649 ac_exeext=$ac_wine_try_cflags_saved_exeext
11651 eval ac_res=\$$as_ac_var
11652 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11653 printf "%s\n" "$ac_res" >&6; }
11654 if eval test \"x\$"$as_ac_var"\" = x"yes"
11656 as_fn_append ${wine_arch}_EXTRACFLAGS " -gcodeview"
11660 eval "${wine_arch}_DEBUG=\$wine_crossdebug"
11662 test "x$enable_werror" != xyes || { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Werror" |
$as_tr_sh`
11663 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Werror" >&5
11664 printf %s "checking whether $CC supports -Werror... " >&6; }
11665 if eval test \${$as_ac_var+y}
11667 printf %s "(cached) " >&6
11669 ac_wine_try_cflags_saved=$CFLAGS
11670 ac_wine_try_cflags_saved_exeext=$ac_exeext
11671 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Werror"
11673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11674 /* end confdefs.h. */
11675 int __cdecl mainCRTStartup(void) { return 0; }
11677 if ac_fn_c_try_link "$LINENO"
11679 eval "$as_ac_var=yes"
11681 eval "$as_ac_var=no"
11683 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11684 conftest$ac_exeext conftest.$ac_ext
11685 CFLAGS=$ac_wine_try_cflags_saved
11686 ac_exeext=$ac_wine_try_cflags_saved_exeext
11688 eval ac_res=\$$as_ac_var
11689 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11690 printf "%s\n" "$ac_res" >&6; }
11691 if eval test \"x\$"$as_ac_var"\" = x"yes"
11693 as_fn_append ${wine_arch}_EXTRACFLAGS " -Werror"
11695 test "x$enable_build_id" != xyes || { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wl,--build-id" |
$as_tr_sh`
11696 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wl,--build-id" >&5
11697 printf %s "checking whether $CC supports -Wl,--build-id... " >&6; }
11698 if eval test \${$as_ac_var+y}
11700 printf %s "(cached) " >&6
11702 ac_wine_try_cflags_saved=$CFLAGS
11703 ac_wine_try_cflags_saved_exeext=$ac_exeext
11704 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wl,--build-id"
11706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11707 /* end confdefs.h. */
11708 int __cdecl mainCRTStartup(void) { return 0; }
11710 if ac_fn_c_try_link "$LINENO"
11712 eval "$as_ac_var=yes"
11714 eval "$as_ac_var=no"
11716 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11717 conftest$ac_exeext conftest.$ac_ext
11718 CFLAGS=$ac_wine_try_cflags_saved
11719 ac_exeext=$ac_wine_try_cflags_saved_exeext
11721 eval ac_res=\$$as_ac_var
11722 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11723 printf "%s\n" "$ac_res" >&6; }
11724 if eval test \"x\$"$as_ac_var"\" = x"yes"
11726 as_fn_append ${wine_arch}_CFLAGS " -Wl,--build-id"
11727 as_fn_append ${wine_arch}_LDFLAGS " -Wl,--build-id"
11731 CFLAGS=$saved_CFLAGS
11734 if test $HOST_ARCH = aarch64 -a "x$PE_ARCHS" = x
11736 as_fn_error $? "PE cross-compilation is required for ARM64, please install clang/llvm-dlltool/lld, or llvm-mingw." "$LINENO" 5
11739 if test "x$PE_ARCHS" = "x"
11741 case "x$with_mingw" in
11742 x) as_fn_append wine_notices "|MinGW compiler not found, cross-compiling PE files won't be supported." ;;
11744 *) as_fn_error $? "MinGW compiler not found, cross-compiling PE files won't be supported.
11745 This is an error since --with-mingw was requested." "$LINENO" 5 ;;
11751 if test "x$with_system_dllpath" != "x" -a -n "$PE_ARCHS"
11753 case "$host_cpu" in
11755 ac_prefix_list="i686-w64-mingw32-pkg-config i586-w64-mingw32-pkg-config i486-w64-mingw32-pkg-config i386-w64-mingw32-pkg-config " ;;
11757 ac_prefix_list="$host_cpu-w64-mingw32-pkg-config" ;;
11759 for ac_prog in $ac_prefix_list
11761 # Extract the first word of "$ac_prog", so it can be a program name with args.
11762 set dummy $ac_prog; ac_word=$2
11763 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11764 printf %s "checking for $ac_word... " >&6; }
11765 if test ${ac_cv_prog_MINGW_PKG_CONFIG+y}
11767 printf %s "(cached) " >&6
11769 if test -n "$MINGW_PKG_CONFIG"; then
11770 ac_cv_prog_MINGW_PKG_CONFIG="$MINGW_PKG_CONFIG" # Let the user override the test.
11772 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11773 for as_dir in $PATH
11776 case $as_dir in #(((
11779 *) as_dir=$as_dir/ ;;
11781 for ac_exec_ext in '' $ac_executable_extensions; do
11782 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
11783 ac_cv_prog_MINGW_PKG_CONFIG="$ac_prog"
11784 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
11793 MINGW_PKG_CONFIG=$ac_cv_prog_MINGW_PKG_CONFIG
11794 if test -n "$MINGW_PKG_CONFIG"; then
11795 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MINGW_PKG_CONFIG" >&5
11796 printf "%s\n" "$MINGW_PKG_CONFIG" >&6; }
11798 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
11799 printf "%s\n" "no" >&6; }
11803 test -n "$MINGW_PKG_CONFIG" && break
11805 test -n "$MINGW_PKG_CONFIG" || MINGW_PKG_CONFIG="false"
11807 if ${FAUDIO_PE_CFLAGS:+false} :
11809 if test ${MINGW_PKG_CONFIG+y}
11811 FAUDIO_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags FAudio
2>/dev
/null
`
11814 if ${FAUDIO_PE_LIBS:+false} :
11816 if test ${MINGW_PKG_CONFIG+y}
11818 FAUDIO_PE_LIBS=`$MINGW_PKG_CONFIG --libs FAudio
2>/dev
/null
`
11821 FAUDIO_PE_LIBS=${FAUDIO_PE_LIBS:-"-lFAudio"}
11822 ac_save_CPPFLAGS=$CPPFLAGS
11823 CPPFLAGS="$CPPFLAGS $FAUDIO_PE_CFLAGS"
11824 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW FAudio.h" >&5
11825 printf %s "checking for MinGW FAudio.h... " >&6; }
11826 if test ${ac_cv_mingw_header_FAudio_h+y}
11828 printf %s "(cached) " >&6
11830 ac_wine_check_headers_saved_cc=$CC
11831 ac_wine_check_headers_saved_exeext=$ac_exeext
11832 eval CC=\$${wine_arch}_CC
11834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11835 /* end confdefs.h. */
11837 #include <FAudio.h>
11846 if ac_fn_c_try_compile "$LINENO"
11848 ac_cv_mingw_header_FAudio_h=yes
11850 ac_cv_mingw_header_FAudio_h=no
11852 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
11853 CC=$ac_wine_check_headers_saved_cc
11854 ac_exeext=$ac_wine_check_headers_saved_exeext
11856 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_FAudio_h" >&5
11857 printf "%s\n" "$ac_cv_mingw_header_FAudio_h" >&6; }
11858 if test "x$ac_cv_mingw_header_FAudio_h" = xyes
11860 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for FAudio_CommitOperationSet in MinGW -lFAudio" >&5
11861 printf %s "checking for FAudio_CommitOperationSet in MinGW -lFAudio... " >&6; }
11862 if test ${ac_cv_mingw_lib_FAudio+y}
11864 printf %s "(cached) " >&6
11866 ac_wine_check_headers_saved_cc=$CC
11867 ac_wine_check_headers_saved_exeext=$ac_exeext
11868 ac_wine_check_headers_saved_libs=$LIBS
11869 eval CC=\$${wine_arch}_CC
11871 LIBS="-lFAudio $FAUDIO_PE_LIBS $LIBS"
11872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11873 /* end confdefs.h. */
11875 /* Override any GCC internal prototype to avoid an error.
11876 Use char because int might match the return type of a GCC
11877 builtin and then its argument prototype would still apply. */
11878 char FAudio_CommitOperationSet ();
11882 return FAudio_CommitOperationSet ();
11887 if ac_fn_c_try_link "$LINENO"
11889 ac_cv_mingw_lib_FAudio=yes
11891 ac_cv_mingw_lib_FAudio=no
11893 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11894 conftest$ac_exeext conftest.$ac_ext
11895 CC=$ac_wine_check_headers_saved_cc
11896 ac_exeext=$ac_wine_check_headers_saved_exeext
11897 LIBS=$ac_wine_check_headers_saved_libs
11899 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_FAudio" >&5
11900 printf "%s\n" "$ac_cv_mingw_lib_FAudio" >&6; }
11901 if test "x$ac_cv_mingw_lib_FAudio" = xyes
11905 FAUDIO_PE_CFLAGS=""; FAUDIO_PE_LIBS=""
11908 FAUDIO_PE_CFLAGS=""; FAUDIO_PE_LIBS=""
11910 CPPFLAGS=$ac_save_CPPFLAGS
11912 if test "x$FAUDIO_PE_LIBS" = "x"
11914 as_fn_append wine_notices "|FAudio ${notice_platform}MinGW development files not found (or too old); using bundled version."
11917 if ${JPEG_PE_CFLAGS:+false} :
11919 if test ${MINGW_PKG_CONFIG+y}
11921 JPEG_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libjpeg
2>/dev
/null
`
11924 if ${JPEG_PE_LIBS:+false} :
11926 if test ${MINGW_PKG_CONFIG+y}
11928 JPEG_PE_LIBS=`$MINGW_PKG_CONFIG --libs libjpeg
2>/dev
/null
`
11932 ac_save_CPPFLAGS=$CPPFLAGS
11933 CPPFLAGS="$CPPFLAGS $JPEG_PE_CFLAGS"
11934 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW jpeglib.h" >&5
11935 printf %s "checking for MinGW jpeglib.h... " >&6; }
11936 if test ${ac_cv_mingw_header_jpeglib_h+y}
11938 printf %s "(cached) " >&6
11940 ac_wine_check_headers_saved_cc=$CC
11941 ac_wine_check_headers_saved_exeext=$ac_exeext
11942 eval CC=\$${wine_arch}_CC
11944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11945 /* end confdefs.h. */
11946 #include <stddef.h>
11948 #include <jpeglib.h>
11957 if ac_fn_c_try_compile "$LINENO"
11959 ac_cv_mingw_header_jpeglib_h=yes
11961 ac_cv_mingw_header_jpeglib_h=no
11963 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
11964 CC=$ac_wine_check_headers_saved_cc
11965 ac_exeext=$ac_wine_check_headers_saved_exeext
11967 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_jpeglib_h" >&5
11968 printf "%s\n" "$ac_cv_mingw_header_jpeglib_h" >&6; }
11969 if test "x$ac_cv_mingw_header_jpeglib_h" = xyes
11971 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for jpeg_start_decompress in MinGW -ljpeg" >&5
11972 printf %s "checking for jpeg_start_decompress in MinGW -ljpeg... " >&6; }
11973 if test ${ac_cv_mingw_lib_jpeg+y}
11975 printf %s "(cached) " >&6
11977 ac_wine_check_headers_saved_cc=$CC
11978 ac_wine_check_headers_saved_exeext=$ac_exeext
11979 ac_wine_check_headers_saved_libs=$LIBS
11980 eval CC=\$${wine_arch}_CC
11982 LIBS="-ljpeg $JPEG_PE_LIBS $LIBS"
11983 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11984 /* end confdefs.h. */
11986 /* Override any GCC internal prototype to avoid an error.
11987 Use char because int might match the return type of a GCC
11988 builtin and then its argument prototype would still apply. */
11989 char jpeg_start_decompress ();
11993 return jpeg_start_decompress ();
11998 if ac_fn_c_try_link "$LINENO"
12000 ac_cv_mingw_lib_jpeg=yes
12002 ac_cv_mingw_lib_jpeg=no
12004 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12005 conftest$ac_exeext conftest.$ac_ext
12006 CC=$ac_wine_check_headers_saved_cc
12007 ac_exeext=$ac_wine_check_headers_saved_exeext
12008 LIBS=$ac_wine_check_headers_saved_libs
12010 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_jpeg" >&5
12011 printf "%s\n" "$ac_cv_mingw_lib_jpeg" >&6; }
12012 if test "x$ac_cv_mingw_lib_jpeg" = xyes
12016 JPEG_PE_CFLAGS=""; JPEG_PE_LIBS=""
12019 JPEG_PE_CFLAGS=""; JPEG_PE_LIBS=""
12021 CPPFLAGS=$ac_save_CPPFLAGS
12023 if test "x$JPEG_PE_LIBS" = "x"
12025 as_fn_append wine_notices "|libjpeg ${notice_platform}MinGW development files not found; using bundled version."
12028 if ${LCMS2_PE_CFLAGS:+false} :
12030 if test ${MINGW_PKG_CONFIG+y}
12032 LCMS2_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags lcms2
2>/dev
/null
`
12035 if ${LCMS2_PE_LIBS:+false} :
12037 if test ${MINGW_PKG_CONFIG+y}
12039 LCMS2_PE_LIBS=`$MINGW_PKG_CONFIG --libs lcms2
2>/dev
/null
`
12042 LCMS2_PE_LIBS=${LCMS2_PE_LIBS:-"-llcms2"}
12043 ac_save_CPPFLAGS=$CPPFLAGS
12044 CPPFLAGS="$CPPFLAGS $LCMS2_PE_CFLAGS"
12045 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW lcms2.h" >&5
12046 printf %s "checking for MinGW lcms2.h... " >&6; }
12047 if test ${ac_cv_mingw_header_lcms2_h+y}
12049 printf %s "(cached) " >&6
12051 ac_wine_check_headers_saved_cc=$CC
12052 ac_wine_check_headers_saved_exeext=$ac_exeext
12053 eval CC=\$${wine_arch}_CC
12055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12056 /* end confdefs.h. */
12067 if ac_fn_c_try_compile "$LINENO"
12069 ac_cv_mingw_header_lcms2_h=yes
12071 ac_cv_mingw_header_lcms2_h=no
12073 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12074 CC=$ac_wine_check_headers_saved_cc
12075 ac_exeext=$ac_wine_check_headers_saved_exeext
12077 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_lcms2_h" >&5
12078 printf "%s\n" "$ac_cv_mingw_header_lcms2_h" >&6; }
12079 if test "x$ac_cv_mingw_header_lcms2_h" = xyes
12081 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in MinGW -llcms2" >&5
12082 printf %s "checking for cmsOpenProfileFromFile in MinGW -llcms2... " >&6; }
12083 if test ${ac_cv_mingw_lib_lcms2+y}
12085 printf %s "(cached) " >&6
12087 ac_wine_check_headers_saved_cc=$CC
12088 ac_wine_check_headers_saved_exeext=$ac_exeext
12089 ac_wine_check_headers_saved_libs=$LIBS
12090 eval CC=\$${wine_arch}_CC
12092 LIBS="-llcms2 $LCMS2_PE_LIBS $LIBS"
12093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12094 /* end confdefs.h. */
12096 /* Override any GCC internal prototype to avoid an error.
12097 Use char because int might match the return type of a GCC
12098 builtin and then its argument prototype would still apply. */
12099 char cmsOpenProfileFromFile ();
12103 return cmsOpenProfileFromFile ();
12108 if ac_fn_c_try_link "$LINENO"
12110 ac_cv_mingw_lib_lcms2=yes
12112 ac_cv_mingw_lib_lcms2=no
12114 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12115 conftest$ac_exeext conftest.$ac_ext
12116 CC=$ac_wine_check_headers_saved_cc
12117 ac_exeext=$ac_wine_check_headers_saved_exeext
12118 LIBS=$ac_wine_check_headers_saved_libs
12120 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_lcms2" >&5
12121 printf "%s\n" "$ac_cv_mingw_lib_lcms2" >&6; }
12122 if test "x$ac_cv_mingw_lib_lcms2" = xyes
12126 LCMS2_PE_CFLAGS=""; LCMS2_PE_LIBS=""
12129 LCMS2_PE_CFLAGS=""; LCMS2_PE_LIBS=""
12131 CPPFLAGS=$ac_save_CPPFLAGS
12133 if test "x$LCMS2_PE_LIBS" = "x"
12135 as_fn_append wine_notices "|liblcms2 ${notice_platform}MinGW development files not found; using bundled version."
12138 if ${MPG123_PE_CFLAGS:+false} :
12140 if test ${MINGW_PKG_CONFIG+y}
12142 MPG123_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libmpg123
2>/dev
/null
`
12145 if ${MPG123_PE_LIBS:+false} :
12147 if test ${MINGW_PKG_CONFIG+y}
12149 MPG123_PE_LIBS=`$MINGW_PKG_CONFIG --libs libmpg123
2>/dev
/null
`
12152 MPG123_PE_LIBS=${MPG123_PE_LIBS:-"-lmpg123"}
12153 ac_save_CPPFLAGS=$CPPFLAGS
12154 CPPFLAGS="$CPPFLAGS $MPG123_PE_CFLAGS"
12155 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW mpg123.h" >&5
12156 printf %s "checking for MinGW mpg123.h... " >&6; }
12157 if test ${ac_cv_mingw_header_mpg123_h+y}
12159 printf %s "(cached) " >&6
12161 ac_wine_check_headers_saved_cc=$CC
12162 ac_wine_check_headers_saved_exeext=$ac_exeext
12163 eval CC=\$${wine_arch}_CC
12165 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12166 /* end confdefs.h. */
12168 #include <mpg123.h>
12177 if ac_fn_c_try_compile "$LINENO"
12179 ac_cv_mingw_header_mpg123_h=yes
12181 ac_cv_mingw_header_mpg123_h=no
12183 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12184 CC=$ac_wine_check_headers_saved_cc
12185 ac_exeext=$ac_wine_check_headers_saved_exeext
12187 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_mpg123_h" >&5
12188 printf "%s\n" "$ac_cv_mingw_header_mpg123_h" >&6; }
12189 if test "x$ac_cv_mingw_header_mpg123_h" = xyes
12191 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in MinGW -lmpg123" >&5
12192 printf %s "checking for mpg123_feed in MinGW -lmpg123... " >&6; }
12193 if test ${ac_cv_mingw_lib_mpg123+y}
12195 printf %s "(cached) " >&6
12197 ac_wine_check_headers_saved_cc=$CC
12198 ac_wine_check_headers_saved_exeext=$ac_exeext
12199 ac_wine_check_headers_saved_libs=$LIBS
12200 eval CC=\$${wine_arch}_CC
12202 LIBS="-lmpg123 $MPG123_PE_LIBS $LIBS"
12203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12204 /* end confdefs.h. */
12206 /* Override any GCC internal prototype to avoid an error.
12207 Use char because int might match the return type of a GCC
12208 builtin and then its argument prototype would still apply. */
12209 char mpg123_feed ();
12213 return mpg123_feed ();
12218 if ac_fn_c_try_link "$LINENO"
12220 ac_cv_mingw_lib_mpg123=yes
12222 ac_cv_mingw_lib_mpg123=no
12224 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12225 conftest$ac_exeext conftest.$ac_ext
12226 CC=$ac_wine_check_headers_saved_cc
12227 ac_exeext=$ac_wine_check_headers_saved_exeext
12228 LIBS=$ac_wine_check_headers_saved_libs
12230 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_mpg123" >&5
12231 printf "%s\n" "$ac_cv_mingw_lib_mpg123" >&6; }
12232 if test "x$ac_cv_mingw_lib_mpg123" = xyes
12236 MPG123_PE_CFLAGS=""; MPG123_PE_LIBS=""
12239 MPG123_PE_CFLAGS=""; MPG123_PE_LIBS=""
12241 CPPFLAGS=$ac_save_CPPFLAGS
12243 if test "x$MPG123_PE_LIBS" = "x"
12245 as_fn_append wine_notices "|libmpg123 ${notice_platform}MinGW development files not found (or too old); using bundled version."
12248 if ${PNG_PE_CFLAGS:+false} :
12250 if test ${MINGW_PKG_CONFIG+y}
12252 PNG_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libpng
2>/dev
/null
`
12255 if ${PNG_PE_LIBS:+false} :
12257 if test ${MINGW_PKG_CONFIG+y}
12259 PNG_PE_LIBS=`$MINGW_PKG_CONFIG --libs libpng
2>/dev
/null
`
12263 ac_save_CPPFLAGS=$CPPFLAGS
12264 CPPFLAGS="$CPPFLAGS $PNG_PE_CFLAGS"
12265 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW png.h" >&5
12266 printf %s "checking for MinGW png.h... " >&6; }
12267 if test ${ac_cv_mingw_header_png_h+y}
12269 printf %s "(cached) " >&6
12271 ac_wine_check_headers_saved_cc=$CC
12272 ac_wine_check_headers_saved_exeext=$ac_exeext
12273 eval CC=\$${wine_arch}_CC
12275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12276 /* end confdefs.h. */
12287 if ac_fn_c_try_compile "$LINENO"
12289 ac_cv_mingw_header_png_h=yes
12291 ac_cv_mingw_header_png_h=no
12293 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12294 CC=$ac_wine_check_headers_saved_cc
12295 ac_exeext=$ac_wine_check_headers_saved_exeext
12297 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_png_h" >&5
12298 printf "%s\n" "$ac_cv_mingw_header_png_h" >&6; }
12299 if test "x$ac_cv_mingw_header_png_h" = xyes
12301 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for png_create_read_struct in MinGW -lpng" >&5
12302 printf %s "checking for png_create_read_struct in MinGW -lpng... " >&6; }
12303 if test ${ac_cv_mingw_lib_png+y}
12305 printf %s "(cached) " >&6
12307 ac_wine_check_headers_saved_cc=$CC
12308 ac_wine_check_headers_saved_exeext=$ac_exeext
12309 ac_wine_check_headers_saved_libs=$LIBS
12310 eval CC=\$${wine_arch}_CC
12312 LIBS="-lpng $PNG_PE_LIBS $LIBS"
12313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12314 /* end confdefs.h. */
12316 /* Override any GCC internal prototype to avoid an error.
12317 Use char because int might match the return type of a GCC
12318 builtin and then its argument prototype would still apply. */
12319 char png_create_read_struct ();
12323 return png_create_read_struct ();
12328 if ac_fn_c_try_link "$LINENO"
12330 ac_cv_mingw_lib_png=yes
12332 ac_cv_mingw_lib_png=no
12334 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12335 conftest$ac_exeext conftest.$ac_ext
12336 CC=$ac_wine_check_headers_saved_cc
12337 ac_exeext=$ac_wine_check_headers_saved_exeext
12338 LIBS=$ac_wine_check_headers_saved_libs
12340 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_png" >&5
12341 printf "%s\n" "$ac_cv_mingw_lib_png" >&6; }
12342 if test "x$ac_cv_mingw_lib_png" = xyes
12346 PNG_PE_CFLAGS=""; PNG_PE_LIBS=""
12349 PNG_PE_CFLAGS=""; PNG_PE_LIBS=""
12351 CPPFLAGS=$ac_save_CPPFLAGS
12353 if test "x$PNG_PE_LIBS" = "x"
12355 as_fn_append wine_notices "|libpng ${notice_platform}MinGW development files not found; using bundled version."
12358 if ${TIFF_PE_CFLAGS:+false} :
12360 if test ${MINGW_PKG_CONFIG+y}
12362 TIFF_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libtiff-4
2>/dev
/null
`
12365 if ${TIFF_PE_LIBS:+false} :
12367 if test ${MINGW_PKG_CONFIG+y}
12369 TIFF_PE_LIBS=`$MINGW_PKG_CONFIG --libs libtiff-4
2>/dev
/null
`
12373 ac_save_CPPFLAGS=$CPPFLAGS
12374 CPPFLAGS="$CPPFLAGS $TIFF_PE_CFLAGS"
12375 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW tiffio.h" >&5
12376 printf %s "checking for MinGW tiffio.h... " >&6; }
12377 if test ${ac_cv_mingw_header_tiffio_h+y}
12379 printf %s "(cached) " >&6
12381 ac_wine_check_headers_saved_cc=$CC
12382 ac_wine_check_headers_saved_exeext=$ac_exeext
12383 eval CC=\$${wine_arch}_CC
12385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12386 /* end confdefs.h. */
12388 #include <tiffio.h>
12397 if ac_fn_c_try_compile "$LINENO"
12399 ac_cv_mingw_header_tiffio_h=yes
12401 ac_cv_mingw_header_tiffio_h=no
12403 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12404 CC=$ac_wine_check_headers_saved_cc
12405 ac_exeext=$ac_wine_check_headers_saved_exeext
12407 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_tiffio_h" >&5
12408 printf "%s\n" "$ac_cv_mingw_header_tiffio_h" >&6; }
12409 if test "x$ac_cv_mingw_header_tiffio_h" = xyes
12411 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for TIFFClientOpen in MinGW -ltiff" >&5
12412 printf %s "checking for TIFFClientOpen in MinGW -ltiff... " >&6; }
12413 if test ${ac_cv_mingw_lib_tiff+y}
12415 printf %s "(cached) " >&6
12417 ac_wine_check_headers_saved_cc=$CC
12418 ac_wine_check_headers_saved_exeext=$ac_exeext
12419 ac_wine_check_headers_saved_libs=$LIBS
12420 eval CC=\$${wine_arch}_CC
12422 LIBS="-ltiff $TIFF_PE_LIBS $LIBS"
12423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12424 /* end confdefs.h. */
12426 /* Override any GCC internal prototype to avoid an error.
12427 Use char because int might match the return type of a GCC
12428 builtin and then its argument prototype would still apply. */
12429 char TIFFClientOpen ();
12433 return TIFFClientOpen ();
12438 if ac_fn_c_try_link "$LINENO"
12440 ac_cv_mingw_lib_tiff=yes
12442 ac_cv_mingw_lib_tiff=no
12444 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12445 conftest$ac_exeext conftest.$ac_ext
12446 CC=$ac_wine_check_headers_saved_cc
12447 ac_exeext=$ac_wine_check_headers_saved_exeext
12448 LIBS=$ac_wine_check_headers_saved_libs
12450 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_tiff" >&5
12451 printf "%s\n" "$ac_cv_mingw_lib_tiff" >&6; }
12452 if test "x$ac_cv_mingw_lib_tiff" = xyes
12456 TIFF_PE_CFLAGS=""; TIFF_PE_LIBS=""
12459 TIFF_PE_CFLAGS=""; TIFF_PE_LIBS=""
12461 CPPFLAGS=$ac_save_CPPFLAGS
12463 if test "x$TIFF_PE_LIBS" = "x"
12465 as_fn_append wine_notices "|libtiff ${notice_platform}MinGW development files not found; using bundled version."
12468 if ${XML2_PE_CFLAGS:+false} :
12470 if test ${MINGW_PKG_CONFIG+y}
12472 XML2_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libxml-2.0
2>/dev
/null
`
12475 if ${XML2_PE_LIBS:+false} :
12477 if test ${MINGW_PKG_CONFIG+y}
12479 XML2_PE_LIBS=`$MINGW_PKG_CONFIG --libs libxml-2.0
2>/dev
/null
`
12482 XML2_PE_LIBS=${XML2_PE_LIBS:-"-lxml2"}
12483 ac_save_CPPFLAGS=$CPPFLAGS
12484 CPPFLAGS="$CPPFLAGS $XML2_PE_CFLAGS"
12485 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/parser.h" >&5
12486 printf %s "checking for MinGW libxml/parser.h... " >&6; }
12487 if test ${ac_cv_mingw_header_libxml_parser_h+y}
12489 printf %s "(cached) " >&6
12491 ac_wine_check_headers_saved_cc=$CC
12492 ac_wine_check_headers_saved_exeext=$ac_exeext
12493 eval CC=\$${wine_arch}_CC
12495 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12496 /* end confdefs.h. */
12498 #include <libxml/parser.h>
12507 if ac_fn_c_try_compile "$LINENO"
12509 ac_cv_mingw_header_libxml_parser_h=yes
12511 ac_cv_mingw_header_libxml_parser_h=no
12513 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12514 CC=$ac_wine_check_headers_saved_cc
12515 ac_exeext=$ac_wine_check_headers_saved_exeext
12517 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_parser_h" >&5
12518 printf "%s\n" "$ac_cv_mingw_header_libxml_parser_h" >&6; }
12519 if test "x$ac_cv_mingw_header_libxml_parser_h" = xyes
12523 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/xmlsave.h" >&5
12524 printf %s "checking for MinGW libxml/xmlsave.h... " >&6; }
12525 if test ${ac_cv_mingw_header_libxml_xmlsave_h+y}
12527 printf %s "(cached) " >&6
12529 ac_wine_check_headers_saved_cc=$CC
12530 ac_wine_check_headers_saved_exeext=$ac_exeext
12531 eval CC=\$${wine_arch}_CC
12533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12534 /* end confdefs.h. */
12536 #include <libxml/xmlsave.h>
12545 if ac_fn_c_try_compile "$LINENO"
12547 ac_cv_mingw_header_libxml_xmlsave_h=yes
12549 ac_cv_mingw_header_libxml_xmlsave_h=no
12551 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12552 CC=$ac_wine_check_headers_saved_cc
12553 ac_exeext=$ac_wine_check_headers_saved_exeext
12555 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_xmlsave_h" >&5
12556 printf "%s\n" "$ac_cv_mingw_header_libxml_xmlsave_h" >&6; }
12557 if test "x$ac_cv_mingw_header_libxml_xmlsave_h" = xyes
12561 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/SAX2.h" >&5
12562 printf %s "checking for MinGW libxml/SAX2.h... " >&6; }
12563 if test ${ac_cv_mingw_header_libxml_SAX2_h+y}
12565 printf %s "(cached) " >&6
12567 ac_wine_check_headers_saved_cc=$CC
12568 ac_wine_check_headers_saved_exeext=$ac_exeext
12569 eval CC=\$${wine_arch}_CC
12571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12572 /* end confdefs.h. */
12574 #include <libxml/SAX2.h>
12583 if ac_fn_c_try_compile "$LINENO"
12585 ac_cv_mingw_header_libxml_SAX2_h=yes
12587 ac_cv_mingw_header_libxml_SAX2_h=no
12589 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12590 CC=$ac_wine_check_headers_saved_cc
12591 ac_exeext=$ac_wine_check_headers_saved_exeext
12593 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_SAX2_h" >&5
12594 printf "%s\n" "$ac_cv_mingw_header_libxml_SAX2_h" >&6; }
12595 if test "x$ac_cv_mingw_header_libxml_SAX2_h" = xyes
12599 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"
12601 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in MinGW -lxml2" >&5
12602 printf %s "checking for xmlFirstElementChild in MinGW -lxml2... " >&6; }
12603 if test ${ac_cv_mingw_lib_xml2+y}
12605 printf %s "(cached) " >&6
12607 ac_wine_check_headers_saved_cc=$CC
12608 ac_wine_check_headers_saved_exeext=$ac_exeext
12609 ac_wine_check_headers_saved_libs=$LIBS
12610 eval CC=\$${wine_arch}_CC
12612 LIBS="-lxml2 $XML2_PE_LIBS $LIBS"
12613 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12614 /* end confdefs.h. */
12616 /* Override any GCC internal prototype to avoid an error.
12617 Use char because int might match the return type of a GCC
12618 builtin and then its argument prototype would still apply. */
12619 char xmlFirstElementChild ();
12623 return xmlFirstElementChild ();
12628 if ac_fn_c_try_link "$LINENO"
12630 ac_cv_mingw_lib_xml2=yes
12632 ac_cv_mingw_lib_xml2=no
12634 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12635 conftest$ac_exeext conftest.$ac_ext
12636 CC=$ac_wine_check_headers_saved_cc
12637 ac_exeext=$ac_wine_check_headers_saved_exeext
12638 LIBS=$ac_wine_check_headers_saved_libs
12640 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_xml2" >&5
12641 printf "%s\n" "$ac_cv_mingw_lib_xml2" >&6; }
12642 if test "x$ac_cv_mingw_lib_xml2" = xyes
12646 XML2_PE_CFLAGS=""; XML2_PE_LIBS=""
12652 CPPFLAGS=$ac_save_CPPFLAGS
12654 if test "x$XML2_PE_LIBS" = "x"
12656 as_fn_append wine_notices "|libxml2 ${notice_platform}MinGW development files not found (or too old); using bundled version."
12659 if ${XSLT_PE_CFLAGS:+false} :
12661 if test ${MINGW_PKG_CONFIG+y}
12663 XSLT_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libxslt
2>/dev
/null
`
12666 if ${XSLT_PE_LIBS:+false} :
12668 if test ${MINGW_PKG_CONFIG+y}
12670 XSLT_PE_LIBS=`$MINGW_PKG_CONFIG --libs libxslt
2>/dev
/null
`
12673 XSLT_PE_LIBS=${XSLT_PE_LIBS:-"-lxslt"}
12674 ac_save_CPPFLAGS=$CPPFLAGS
12675 CPPFLAGS="$CPPFLAGS $XSLT_PE_CFLAGS"
12676 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxslt/pattern.h" >&5
12677 printf %s "checking for MinGW libxslt/pattern.h... " >&6; }
12678 if test ${ac_cv_mingw_header_libxslt_pattern_h+y}
12680 printf %s "(cached) " >&6
12682 ac_wine_check_headers_saved_cc=$CC
12683 ac_wine_check_headers_saved_exeext=$ac_exeext
12684 eval CC=\$${wine_arch}_CC
12686 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12687 /* end confdefs.h. */
12689 #include <libxslt/pattern.h>
12698 if ac_fn_c_try_compile "$LINENO"
12700 ac_cv_mingw_header_libxslt_pattern_h=yes
12702 ac_cv_mingw_header_libxslt_pattern_h=no
12704 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12705 CC=$ac_wine_check_headers_saved_cc
12706 ac_exeext=$ac_wine_check_headers_saved_exeext
12708 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxslt_pattern_h" >&5
12709 printf "%s\n" "$ac_cv_mingw_header_libxslt_pattern_h" >&6; }
12710 if test "x$ac_cv_mingw_header_libxslt_pattern_h" = xyes
12714 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxslt/transform.h" >&5
12715 printf %s "checking for MinGW libxslt/transform.h... " >&6; }
12716 if test ${ac_cv_mingw_header_libxslt_transform_h+y}
12718 printf %s "(cached) " >&6
12720 ac_wine_check_headers_saved_cc=$CC
12721 ac_wine_check_headers_saved_exeext=$ac_exeext
12722 eval CC=\$${wine_arch}_CC
12724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12725 /* end confdefs.h. */
12727 #include <libxslt/transform.h>
12736 if ac_fn_c_try_compile "$LINENO"
12738 ac_cv_mingw_header_libxslt_transform_h=yes
12740 ac_cv_mingw_header_libxslt_transform_h=no
12742 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12743 CC=$ac_wine_check_headers_saved_cc
12744 ac_exeext=$ac_wine_check_headers_saved_exeext
12746 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxslt_transform_h" >&5
12747 printf "%s\n" "$ac_cv_mingw_header_libxslt_transform_h" >&6; }
12748 if test "x$ac_cv_mingw_header_libxslt_transform_h" = xyes
12752 if test "$ac_cv_mingw_header_libxslt_pattern_h" = "yes" -a "$ac_cv_mingw_header_libxslt_transform_h" = "yes"
12754 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for xsltCompilePattern in MinGW -lxslt" >&5
12755 printf %s "checking for xsltCompilePattern in MinGW -lxslt... " >&6; }
12756 if test ${ac_cv_mingw_lib_xslt+y}
12758 printf %s "(cached) " >&6
12760 ac_wine_check_headers_saved_cc=$CC
12761 ac_wine_check_headers_saved_exeext=$ac_exeext
12762 ac_wine_check_headers_saved_libs=$LIBS
12763 eval CC=\$${wine_arch}_CC
12765 LIBS="-lxslt $XSLT_PE_LIBS $LIBS"
12766 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12767 /* end confdefs.h. */
12769 /* Override any GCC internal prototype to avoid an error.
12770 Use char because int might match the return type of a GCC
12771 builtin and then its argument prototype would still apply. */
12772 char xsltCompilePattern ();
12776 return xsltCompilePattern ();
12781 if ac_fn_c_try_link "$LINENO"
12783 ac_cv_mingw_lib_xslt=yes
12785 ac_cv_mingw_lib_xslt=no
12787 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12788 conftest$ac_exeext conftest.$ac_ext
12789 CC=$ac_wine_check_headers_saved_cc
12790 ac_exeext=$ac_wine_check_headers_saved_exeext
12791 LIBS=$ac_wine_check_headers_saved_libs
12793 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_xslt" >&5
12794 printf "%s\n" "$ac_cv_mingw_lib_xslt" >&6; }
12795 if test "x$ac_cv_mingw_lib_xslt" = xyes
12799 XSLT_PE_CFLAGS=""; XSLT_PE_LIBS=""
12805 CPPFLAGS=$ac_save_CPPFLAGS
12807 if test "x$XSLT_PE_LIBS" = "x"
12809 as_fn_append wine_notices "|libxslt ${notice_platform}MinGW development files not found; using bundled version."
12812 if ${VKD3D_PE_CFLAGS:+false} :
12814 if test ${MINGW_PKG_CONFIG+y}
12816 VKD3D_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libvkd3d libvkd3d-shader
2>/dev
/null
`
12819 if ${VKD3D_PE_LIBS:+false} :
12821 if test ${MINGW_PKG_CONFIG+y}
12823 VKD3D_PE_LIBS=`$MINGW_PKG_CONFIG --libs libvkd3d libvkd3d-shader
2>/dev
/null
`
12826 VKD3D_PE_LIBS=${VKD3D_PE_LIBS:-"-lvkd3d -lvkd3d-shader"}
12827 ac_save_CPPFLAGS=$CPPFLAGS
12828 CPPFLAGS="$CPPFLAGS $VKD3D_PE_CFLAGS"
12829 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW vkd3d.h" >&5
12830 printf %s "checking for MinGW vkd3d.h... " >&6; }
12831 if test ${ac_cv_mingw_header_vkd3d_h+y}
12833 printf %s "(cached) " >&6
12835 ac_wine_check_headers_saved_cc=$CC
12836 ac_wine_check_headers_saved_exeext=$ac_exeext
12837 eval CC=\$${wine_arch}_CC
12839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12840 /* end confdefs.h. */
12851 if ac_fn_c_try_compile "$LINENO"
12853 ac_cv_mingw_header_vkd3d_h=yes
12855 ac_cv_mingw_header_vkd3d_h=no
12857 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12858 CC=$ac_wine_check_headers_saved_cc
12859 ac_exeext=$ac_wine_check_headers_saved_exeext
12861 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_vkd3d_h" >&5
12862 printf "%s\n" "$ac_cv_mingw_header_vkd3d_h" >&6; }
12863 if test "x$ac_cv_mingw_header_vkd3d_h" = xyes
12867 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW vkd3d_shader.h" >&5
12868 printf %s "checking for MinGW vkd3d_shader.h... " >&6; }
12869 if test ${ac_cv_mingw_header_vkd3d_shader_h+y}
12871 printf %s "(cached) " >&6
12873 ac_wine_check_headers_saved_cc=$CC
12874 ac_wine_check_headers_saved_exeext=$ac_exeext
12875 eval CC=\$${wine_arch}_CC
12877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12878 /* end confdefs.h. */
12880 #include <vkd3d_shader.h>
12889 if ac_fn_c_try_compile "$LINENO"
12891 ac_cv_mingw_header_vkd3d_shader_h=yes
12893 ac_cv_mingw_header_vkd3d_shader_h=no
12895 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12896 CC=$ac_wine_check_headers_saved_cc
12897 ac_exeext=$ac_wine_check_headers_saved_exeext
12899 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_vkd3d_shader_h" >&5
12900 printf "%s\n" "$ac_cv_mingw_header_vkd3d_shader_h" >&6; }
12901 if test "x$ac_cv_mingw_header_vkd3d_shader_h" = xyes
12905 if test "$ac_cv_mingw_header_vkd3d_h" = "yes" -a "$ac_cv_mingw_header_vkd3d_shader_h" = "yes"
12907 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for vkd3d_set_log_callback in MinGW -lvkd3d" >&5
12908 printf %s "checking for vkd3d_set_log_callback in MinGW -lvkd3d... " >&6; }
12909 if test ${ac_cv_mingw_lib_vkd3d+y}
12911 printf %s "(cached) " >&6
12913 ac_wine_check_headers_saved_cc=$CC
12914 ac_wine_check_headers_saved_exeext=$ac_exeext
12915 ac_wine_check_headers_saved_libs=$LIBS
12916 eval CC=\$${wine_arch}_CC
12918 LIBS="-lvkd3d $VKD3D_PE_LIBS $LIBS"
12919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12920 /* end confdefs.h. */
12922 /* Override any GCC internal prototype to avoid an error.
12923 Use char because int might match the return type of a GCC
12924 builtin and then its argument prototype would still apply. */
12925 char vkd3d_set_log_callback ();
12929 return vkd3d_set_log_callback ();
12934 if ac_fn_c_try_link "$LINENO"
12936 ac_cv_mingw_lib_vkd3d=yes
12938 ac_cv_mingw_lib_vkd3d=no
12940 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12941 conftest$ac_exeext conftest.$ac_ext
12942 CC=$ac_wine_check_headers_saved_cc
12943 ac_exeext=$ac_wine_check_headers_saved_exeext
12944 LIBS=$ac_wine_check_headers_saved_libs
12946 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_vkd3d" >&5
12947 printf "%s\n" "$ac_cv_mingw_lib_vkd3d" >&6; }
12948 if test "x$ac_cv_mingw_lib_vkd3d" = xyes
12954 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for vkd3d_shader_compile in MinGW -lvkd3d-shader" >&5
12955 printf %s "checking for vkd3d_shader_compile in MinGW -lvkd3d-shader... " >&6; }
12956 if test ${ac_cv_mingw_lib_vkd3d_shader+y}
12958 printf %s "(cached) " >&6
12960 ac_wine_check_headers_saved_cc=$CC
12961 ac_wine_check_headers_saved_exeext=$ac_exeext
12962 ac_wine_check_headers_saved_libs=$LIBS
12963 eval CC=\$${wine_arch}_CC
12965 LIBS="-lvkd3d-shader $VKD3D_PE_LIBS $LIBS"
12966 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12967 /* end confdefs.h. */
12969 /* Override any GCC internal prototype to avoid an error.
12970 Use char because int might match the return type of a GCC
12971 builtin and then its argument prototype would still apply. */
12972 char vkd3d_shader_compile ();
12976 return vkd3d_shader_compile ();
12981 if ac_fn_c_try_link "$LINENO"
12983 ac_cv_mingw_lib_vkd3d_shader=yes
12985 ac_cv_mingw_lib_vkd3d_shader=no
12987 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12988 conftest$ac_exeext conftest.$ac_ext
12989 CC=$ac_wine_check_headers_saved_cc
12990 ac_exeext=$ac_wine_check_headers_saved_exeext
12991 LIBS=$ac_wine_check_headers_saved_libs
12993 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_vkd3d_shader" >&5
12994 printf "%s\n" "$ac_cv_mingw_lib_vkd3d_shader" >&6; }
12995 if test "x$ac_cv_mingw_lib_vkd3d_shader" = xyes
13001 if test "$ac_cv_mingw_lib_vkd3d" = "no" -o "$ac_cv_mingw_lib_vkd3d_shader" = "no"
13010 CPPFLAGS=$ac_save_CPPFLAGS
13012 if test "x$VKD3D_PE_LIBS" = "x"
13014 as_fn_append wine_notices "|libvkd3d ${notice_platform}MinGW development files not found (or too old); using bundled version."
13017 if ${ZLIB_PE_CFLAGS:+false} :
13019 if test ${MINGW_PKG_CONFIG+y}
13021 ZLIB_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags zlib
2>/dev
/null
`
13024 if ${ZLIB_PE_LIBS:+false} :
13026 if test ${MINGW_PKG_CONFIG+y}
13028 ZLIB_PE_LIBS=`$MINGW_PKG_CONFIG --libs zlib
2>/dev
/null
`
13031 ZLIB_PE_LIBS=${ZLIB_PE_LIBS:-"-lz"}
13032 ac_save_CPPFLAGS=$CPPFLAGS
13033 CPPFLAGS="$CPPFLAGS $ZLIB_PE_CFLAGS"
13034 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW zlib.h" >&5
13035 printf %s "checking for MinGW zlib.h... " >&6; }
13036 if test ${ac_cv_mingw_header_zlib_h+y}
13038 printf %s "(cached) " >&6
13040 ac_wine_check_headers_saved_cc=$CC
13041 ac_wine_check_headers_saved_exeext=$ac_exeext
13042 eval CC=\$${wine_arch}_CC
13044 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13045 /* end confdefs.h. */
13056 if ac_fn_c_try_compile "$LINENO"
13058 ac_cv_mingw_header_zlib_h=yes
13060 ac_cv_mingw_header_zlib_h=no
13062 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
13063 CC=$ac_wine_check_headers_saved_cc
13064 ac_exeext=$ac_wine_check_headers_saved_exeext
13066 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_zlib_h" >&5
13067 printf "%s\n" "$ac_cv_mingw_header_zlib_h" >&6; }
13068 if test "x$ac_cv_mingw_header_zlib_h" = xyes
13070 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inflate in MinGW -lz" >&5
13071 printf %s "checking for inflate in MinGW -lz... " >&6; }
13072 if test ${ac_cv_mingw_lib_z+y}
13074 printf %s "(cached) " >&6
13076 ac_wine_check_headers_saved_cc=$CC
13077 ac_wine_check_headers_saved_exeext=$ac_exeext
13078 ac_wine_check_headers_saved_libs=$LIBS
13079 eval CC=\$${wine_arch}_CC
13081 LIBS="-lz $ZLIB_PE_LIBS $LIBS"
13082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13083 /* end confdefs.h. */
13085 /* Override any GCC internal prototype to avoid an error.
13086 Use char because int might match the return type of a GCC
13087 builtin and then its argument prototype would still apply. */
13097 if ac_fn_c_try_link "$LINENO"
13099 ac_cv_mingw_lib_z=yes
13101 ac_cv_mingw_lib_z=no
13103 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13104 conftest$ac_exeext conftest.$ac_ext
13105 CC=$ac_wine_check_headers_saved_cc
13106 ac_exeext=$ac_wine_check_headers_saved_exeext
13107 LIBS=$ac_wine_check_headers_saved_libs
13109 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_z" >&5
13110 printf "%s\n" "$ac_cv_mingw_lib_z" >&6; }
13111 if test "x$ac_cv_mingw_lib_z" = xyes
13115 ZLIB_PE_CFLAGS=""; ZLIB_PE_LIBS=""
13118 ZLIB_PE_CFLAGS=""; ZLIB_PE_LIBS=""
13120 CPPFLAGS=$ac_save_CPPFLAGS
13122 if test "x$ZLIB_PE_LIBS" = "x"
13124 as_fn_append wine_notices "|zlib ${notice_platform}MinGW development files not found; using bundled version."
13128 if ${FAUDIO_PE_LIBS:+false} :
13130 FAUDIO_PE_LIBS="faudio mfplat mfreadwrite mfuuid propsys"
13131 if ${FAUDIO_PE_CFLAGS:+false} :
13133 FAUDIO_PE_CFLAGS="-I\$(top_srcdir)/libs/faudio/include"
13140 printf "%s\n" "$as_me:${as_lineno-$LINENO}: faudio cflags: $FAUDIO_PE_CFLAGS" >&5
13141 printf "%s\n" "$as_me:${as_lineno-$LINENO}: faudio libs: $FAUDIO_PE_LIBS" >&5
13143 if ${GSM_PE_LIBS:+false} :
13146 if ${GSM_PE_CFLAGS:+false} :
13148 GSM_PE_CFLAGS="-I\$(top_srcdir)/libs/gsm/inc"
13155 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gsm cflags: $GSM_PE_CFLAGS" >&5
13156 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gsm libs: $GSM_PE_LIBS" >&5
13158 if ${JPEG_PE_LIBS:+false} :
13161 if ${JPEG_PE_CFLAGS:+false} :
13163 JPEG_PE_CFLAGS="-I\$(top_srcdir)/libs/jpeg"
13170 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jpeg cflags: $JPEG_PE_CFLAGS" >&5
13171 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jpeg libs: $JPEG_PE_LIBS" >&5
13173 if ${JXR_PE_LIBS:+false} :
13176 if ${JXR_PE_CFLAGS:+false} :
13178 JXR_PE_CFLAGS="-I\$(top_srcdir)/libs/jxr/jxrgluelib -I\$(top_srcdir)/libs/jxr/image/sys"
13185 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jxr cflags: $JXR_PE_CFLAGS" >&5
13186 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jxr libs: $JXR_PE_LIBS" >&5
13188 if ${LCMS2_PE_LIBS:+false} :
13190 LCMS2_PE_LIBS=lcms2
13191 if ${LCMS2_PE_CFLAGS:+false} :
13193 LCMS2_PE_CFLAGS="-I\$(top_srcdir)/libs/lcms2/include"
13200 printf "%s\n" "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_PE_CFLAGS" >&5
13201 printf "%s\n" "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_PE_LIBS" >&5
13203 if ${LDAP_PE_LIBS:+false} :
13206 if ${LDAP_PE_CFLAGS:+false} :
13208 LDAP_PE_CFLAGS="-I\$(top_srcdir)/libs/ldap/include"
13215 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ldap cflags: $LDAP_PE_CFLAGS" >&5
13216 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ldap libs: $LDAP_PE_LIBS" >&5
13218 if ${MPG123_PE_LIBS:+false} :
13220 MPG123_PE_LIBS=mpg123
13221 if ${MPG123_PE_CFLAGS:+false} :
13223 MPG123_PE_CFLAGS="-I\$(top_srcdir)/libs/mpg123/src/libmpg123"
13230 printf "%s\n" "$as_me:${as_lineno-$LINENO}: mpg123 cflags: $MPG123_PE_CFLAGS" >&5
13231 printf "%s\n" "$as_me:${as_lineno-$LINENO}: mpg123 libs: $MPG123_PE_LIBS" >&5
13233 if ${PNG_PE_LIBS:+false} :
13235 PNG_PE_LIBS="png \$(ZLIB_PE_LIBS)"
13236 if ${PNG_PE_CFLAGS:+false} :
13238 PNG_PE_CFLAGS="-I\$(top_srcdir)/libs/png"
13245 printf "%s\n" "$as_me:${as_lineno-$LINENO}: png cflags: $PNG_PE_CFLAGS" >&5
13246 printf "%s\n" "$as_me:${as_lineno-$LINENO}: png libs: $PNG_PE_LIBS" >&5
13248 if ${TIFF_PE_LIBS:+false} :
13250 TIFF_PE_LIBS="tiff \$(ZLIB_PE_LIBS)"
13251 if ${TIFF_PE_CFLAGS:+false} :
13253 TIFF_PE_CFLAGS="-I\$(top_srcdir)/libs/tiff/libtiff"
13260 printf "%s\n" "$as_me:${as_lineno-$LINENO}: tiff cflags: $TIFF_PE_CFLAGS" >&5
13261 printf "%s\n" "$as_me:${as_lineno-$LINENO}: tiff libs: $TIFF_PE_LIBS" >&5
13263 if ${VKD3D_PE_LIBS:+false} :
13265 VKD3D_PE_LIBS=vkd3d
13266 if ${VKD3D_PE_CFLAGS:+false} :
13268 VKD3D_PE_CFLAGS="-I\$(top_srcdir)/libs/vkd3d/include"
13275 printf "%s\n" "$as_me:${as_lineno-$LINENO}: vkd3d cflags: $VKD3D_PE_CFLAGS" >&5
13276 printf "%s\n" "$as_me:${as_lineno-$LINENO}: vkd3d libs: $VKD3D_PE_LIBS" >&5
13278 if ${XML2_PE_LIBS:+false} :
13281 if ${XML2_PE_CFLAGS:+false} :
13283 XML2_PE_CFLAGS="-I\$(top_srcdir)/libs/xml2/include -DLIBXML_STATIC"
13290 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xml2 cflags: $XML2_PE_CFLAGS" >&5
13291 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xml2 libs: $XML2_PE_LIBS" >&5
13293 if ${XSLT_PE_LIBS:+false} :
13296 if ${XSLT_PE_CFLAGS:+false} :
13298 XSLT_PE_CFLAGS="-I\$(top_srcdir)/libs/xslt/libxslt -I\$(top_srcdir)/libs/xslt -DLIBXSLT_STATIC"
13305 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xslt cflags: $XSLT_PE_CFLAGS" >&5
13306 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xslt libs: $XSLT_PE_LIBS" >&5
13308 if ${ZLIB_PE_LIBS:+false} :
13311 if ${ZLIB_PE_CFLAGS:+false} :
13313 ZLIB_PE_CFLAGS="-I\$(top_srcdir)/libs/zlib -DFAR= -DZ_SOLO"
13320 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zlib cflags: $ZLIB_PE_CFLAGS" >&5
13321 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zlib libs: $ZLIB_PE_LIBS" >&5
13325 if test "$ac_cv_header_pthread_h" = "yes"
13327 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
13328 if test "x$ac_cv_func_pthread_create" = xyes
13332 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
13333 printf %s "checking for pthread_create in -lpthread... " >&6; }
13334 if test ${ac_cv_lib_pthread_pthread_create+y}
13336 printf %s "(cached) " >&6
13338 ac_check_lib_save_LIBS=$LIBS
13339 LIBS="-lpthread $LIBS"
13340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13341 /* end confdefs.h. */
13343 /* Override any GCC internal prototype to avoid an error.
13344 Use char because int might match the return type of a GCC
13345 builtin and then its argument prototype would still apply. */
13346 char pthread_create ();
13350 return pthread_create ();
13355 if ac_fn_c_try_link "$LINENO"
13357 ac_cv_lib_pthread_pthread_create=yes
13359 ac_cv_lib_pthread_pthread_create=no
13361 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13362 conftest$ac_exeext conftest.$ac_ext
13363 LIBS=$ac_check_lib_save_LIBS
13365 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
13366 printf "%s\n" "$ac_cv_lib_pthread_pthread_create" >&6; }
13367 if test "x$ac_cv_lib_pthread_pthread_create" = xyes
13369 PTHREAD_LIBS="-lpthread"
13376 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x
13378 case "x$with_pthread" in
13380 *) as_fn_error $? "pthread ${notice_platform}development files not found.
13381 Wine cannot support threads without libpthread.
13382 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
13389 ac_cpp='$CPP $CPPFLAGS'
13390 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13391 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13392 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13393 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
13394 printf %s "checking how to run the C preprocessor... " >&6; }
13395 # On Suns, sometimes $CPP names a directory.
13396 if test -n "$CPP" && test -d "$CPP"; then
13399 if test -z "$CPP"; then
13400 if test ${ac_cv_prog_CPP+y}
13402 printf %s "(cached) " >&6
13404 # Double quotes because $CC needs to be expanded
13405 for CPP in "$CC -E" "$CC -E -traditional-cpp" cpp /lib/cpp
13407 ac_preproc_ok=false
13408 for ac_c_preproc_warn_flag in '' yes
13410 # Use a header file that comes with gcc, so configuring glibc
13411 # with a fresh cross-compiler works.
13412 # On the NeXT, cc -E runs the code through the compiler's parser,
13413 # not just through cpp. "Syntax error" is here to catch this case.
13414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13415 /* end confdefs.h. */
13416 #include <limits.h>
13419 if ac_fn_c_try_cpp "$LINENO"
13423 # Broken: fails on valid input.
13426 rm -f conftest.err conftest.i conftest.$ac_ext
13428 # OK, works on sane cases. Now check whether nonexistent headers
13429 # can be detected and how.
13430 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13431 /* end confdefs.h. */
13432 #include <ac_nonexistent.h>
13434 if ac_fn_c_try_cpp "$LINENO"
13436 # Broken: success on invalid input.
13439 # Passes both tests.
13443 rm -f conftest.err conftest.i conftest.$ac_ext
13446 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13447 rm -f conftest.i conftest.err conftest.
$ac_ext
13454 ac_cv_prog_CPP
=$CPP
13457 CPP
=$ac_cv_prog_CPP
13459 ac_cv_prog_CPP
=$CPP
13461 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
13462 printf "%s\n" "$CPP" >&6; }
13463 ac_preproc_ok
=false
13464 for ac_c_preproc_warn_flag
in '' yes
13466 # Use a header file that comes with gcc, so configuring glibc
13467 # with a fresh cross-compiler works.
13468 # On the NeXT, cc -E runs the code through the compiler's parser,
13469 # not just through cpp. "Syntax error" is here to catch this case.
13470 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13471 /* end confdefs.h. */
13472 #include <limits.h>
13475 if ac_fn_c_try_cpp
"$LINENO"
13479 # Broken: fails on valid input.
13482 rm -f conftest.err conftest.i conftest.
$ac_ext
13484 # OK, works on sane cases. Now check whether nonexistent headers
13485 # can be detected and how.
13486 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13487 /* end confdefs.h. */
13488 #include <ac_nonexistent.h>
13490 if ac_fn_c_try_cpp
"$LINENO"
13492 # Broken: success on invalid input.
13495 # Passes both tests.
13499 rm -f conftest.err conftest.i conftest.
$ac_ext
13502 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13503 rm -f conftest.i conftest.err conftest.
$ac_ext
13508 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13509 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
13510 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
13511 See \`config.log' for more details" "$LINENO" 5; }
13515 ac_cpp
='$CPP $CPPFLAGS'
13516 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13517 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13518 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13521 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for X" >&5
13522 printf %s
"checking for X... " >&6; }
13525 # Check whether --with-x was given.
13526 if test ${with_x+y}
13531 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
13532 if test "x$with_x" = xno
; then
13533 # The user explicitly disabled X.
13536 case $x_includes,$x_libraries in #(
13537 *\'*) as_fn_error $?
"cannot use X directory names containing '" "$LINENO" 5;; #(
13538 *,NONE | NONE
,*) if test ${ac_cv_have_x+y}
13540 printf %s
"(cached) " >&6
13542 # One or both of the vars are not set, and there is no cached value.
13545 # Do we need to do anything special at all?
13548 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13549 /* end confdefs.h. */
13550 #include <X11/Xlib.h>
13559 if ac_fn_c_try_link
"$LINENO"
13561 # We can compile and link X programs with no special options.
13565 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
13566 conftest
$ac_exeext conftest.
$ac_ext
13567 LIBS
="$ac_save_LIBS"
13568 # If that didn't work, only try xmkmf and file system searches
13569 # for native compilation.
13570 if test x
"$ac_x_includes" = xno
&& test "$cross_compiling" = no
13572 rm -f -r conftest.dir
13573 if mkdir conftest.dir
; then
13575 cat >Imakefile
<<'_ACEOF'
13577 @echo incroot='${INCROOT}'
13579 @echo usrlibdir='${USRLIBDIR}'
13581 @echo libdir='${LIBDIR}'
13583 if (export CC
; ${XMKMF-xmkmf}) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
13584 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
13585 for ac_var
in incroot usrlibdir libdir
; do
13586 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
13588 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
13589 for ac_extension
in a so sl dylib la dll
; do
13590 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
13591 test -f "$ac_im_libdir/libX11.$ac_extension"; then
13592 ac_im_usrlibdir
=$ac_im_libdir; break
13595 # Screen out bogus values from the imake configuration. They are
13596 # bogus both because they are the default anyway, and because
13597 # using them would break gcc on systems where it needs fixed includes.
13598 case $ac_im_incroot in
13599 /usr
/include
) ac_x_includes
= ;;
13600 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
13602 case $ac_im_usrlibdir in
13603 /usr
/lib |
/usr
/lib64 |
/lib |
/lib64
) ;;
13604 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
13608 rm -f -r conftest.dir
13611 # Standard set of common directories for X headers.
13612 # Check X11 before X11Rn because it is often a symlink to the current release.
13626 /usr/local/X11/include
13627 /usr/local/X11R7/include
13628 /usr/local/X11R6/include
13629 /usr/local/X11R5/include
13630 /usr/local/X11R4/include
13632 /usr/local/include/X11
13633 /usr/local/include/X11R7
13634 /usr/local/include/X11R6
13635 /usr/local/include/X11R5
13636 /usr/local/include/X11R4
13642 /usr/XFree86/include/X11
13646 /usr/unsupported/include
13647 /usr/athena/include
13648 /usr/local/x11r5/include
13649 /usr/lpp/Xamples/include
13651 /usr/openwin/include
13652 /usr/openwin/share/include'
13654 if test "$ac_x_includes" = no
; then
13655 # Guess where to find include files, by looking for Xlib.h.
13656 # First, try using that file with no special directory specified.
13657 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13658 /* end confdefs.h. */
13659 #include <X11/Xlib.h>
13661 if ac_fn_c_try_cpp
"$LINENO"
13663 # We can compile using X headers with no special include directory.
13666 for ac_dir
in $ac_x_header_dirs; do
13667 if test -r "$ac_dir/X11/Xlib.h"; then
13668 ac_x_includes
=$ac_dir
13673 rm -f conftest.err conftest.i conftest.
$ac_ext
13674 fi # $ac_x_includes = no
13676 if test "$ac_x_libraries" = no
; then
13677 # Check for the libraries.
13678 # See if we find them without any special options.
13679 # Don't add to $LIBS permanently.
13682 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13683 /* end confdefs.h. */
13684 #include <X11/Xlib.h>
13693 if ac_fn_c_try_link
"$LINENO"
13696 # We can link X programs with no special library path.
13700 for ac_dir
in `printf "%s\n" "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
13702 # Don't even attempt the hair of trying to link an X program!
13703 for ac_extension
in a so sl dylib la dll
; do
13704 if test -r "$ac_dir/libX11.$ac_extension"; then
13705 ac_x_libraries
=$ac_dir
13711 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
13712 conftest
$ac_exeext conftest.
$ac_ext
13713 fi # $ac_x_libraries = no
13716 # Record the results.
13717 case $ac_x_includes,$ac_x_libraries in #(
13718 no
,* |
*,no |
*\'*) :
13719 # Didn't find X, or a directory has "'" in its name.
13720 ac_cv_have_x
="have_x=no" ;; #(
13722 # Record where we found X for the cache.
13723 ac_cv_have_x
="have_x=yes\
13724 ac_x_includes='$ac_x_includes'\
13725 ac_x_libraries='$ac_x_libraries'" ;;
13731 eval "$ac_cv_have_x"
13734 if test "$have_x" != yes; then
13735 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
13736 printf "%s\n" "$have_x" >&6; }
13739 # If each of the values was on the command line, it overrides each guess.
13740 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
13741 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
13742 # Update the cache value to reflect the command line values.
13743 ac_cv_have_x
="have_x=yes\
13744 ac_x_includes='$x_includes'\
13745 ac_x_libraries='$x_libraries'"
13746 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
13747 printf "%s\n" "libraries $x_libraries, headers $x_includes" >&6; }
13750 if test "$no_x" = yes; then
13751 # Not all programs may use this symbol, but it does not hurt to define it.
13753 printf "%s\n" "#define X_DISPLAY_MISSING 1" >>confdefs.h
13755 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
13757 if test -n "$x_includes"; then
13758 X_CFLAGS
="$X_CFLAGS -I$x_includes"
13761 # It would also be nice to do this for all -L options, not just this one.
13762 if test -n "$x_libraries"; then
13763 X_LIBS
="$X_LIBS -L$x_libraries"
13764 # For Solaris; some versions of Sun CC require a space after -R and
13765 # others require no space. Words are not sufficient . . . .
13766 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
13767 printf %s
"checking whether -R must be followed by a space... " >&6; }
13768 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
13769 ac_xsave_c_werror_flag
=$ac_c_werror_flag
13770 ac_c_werror_flag
=yes
13771 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13772 /* end confdefs.h. */
13782 if ac_fn_c_try_link
"$LINENO"
13784 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
13785 printf "%s\n" "no" >&6; }
13786 X_LIBS
="$X_LIBS -R$x_libraries"
13788 LIBS
="$ac_xsave_LIBS -R $x_libraries"
13789 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13790 /* end confdefs.h. */
13800 if ac_fn_c_try_link
"$LINENO"
13802 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13803 printf "%s\n" "yes" >&6; }
13804 X_LIBS
="$X_LIBS -R $x_libraries"
13806 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
13807 printf "%s\n" "neither works" >&6; }
13809 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
13810 conftest
$ac_exeext conftest.
$ac_ext
13812 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
13813 conftest
$ac_exeext conftest.
$ac_ext
13814 ac_c_werror_flag
=$ac_xsave_c_werror_flag
13815 LIBS
=$ac_xsave_LIBS
13818 # Check for system-dependent libraries X programs must link with.
13819 # Do this before checking for the system-independent R6 libraries
13820 # (-lICE), since we may need -lsocket or whatever for X linking.
13822 if test "$ISC" = yes; then
13823 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
13825 # Martyn Johnson says this is needed for Ultrix, if the X
13826 # libraries were built with DECnet support. And Karl Berry says
13827 # the Alpha needs dnet_stub (dnet does not exist).
13828 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
13829 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13830 /* end confdefs.h. */
13832 /* Override any GCC internal prototype to avoid an error.
13833 Use char because int might match the return type of a GCC
13834 builtin and then its argument prototype would still apply. */
13835 char XOpenDisplay ();
13839 return XOpenDisplay ();
13844 if ac_fn_c_try_link
"$LINENO"
13848 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
13849 printf %s
"checking for dnet_ntoa in -ldnet... " >&6; }
13850 if test ${ac_cv_lib_dnet_dnet_ntoa+y}
13852 printf %s
"(cached) " >&6
13854 ac_check_lib_save_LIBS
=$LIBS
13855 LIBS
="-ldnet $LIBS"
13856 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13857 /* end confdefs.h. */
13859 /* Override any GCC internal prototype to avoid an error.
13860 Use char because int might match the return type of a GCC
13861 builtin and then its argument prototype would still apply. */
13866 return dnet_ntoa ();
13871 if ac_fn_c_try_link
"$LINENO"
13873 ac_cv_lib_dnet_dnet_ntoa
=yes
13875 ac_cv_lib_dnet_dnet_ntoa
=no
13877 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
13878 conftest
$ac_exeext conftest.
$ac_ext
13879 LIBS
=$ac_check_lib_save_LIBS
13881 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
13882 printf "%s\n" "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
13883 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes
13885 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
13888 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
13889 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
13890 printf %s
"checking for dnet_ntoa in -ldnet_stub... " >&6; }
13891 if test ${ac_cv_lib_dnet_stub_dnet_ntoa+y}
13893 printf %s
"(cached) " >&6
13895 ac_check_lib_save_LIBS
=$LIBS
13896 LIBS
="-ldnet_stub $LIBS"
13897 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13898 /* end confdefs.h. */
13900 /* Override any GCC internal prototype to avoid an error.
13901 Use char because int might match the return type of a GCC
13902 builtin and then its argument prototype would still apply. */
13907 return dnet_ntoa ();
13912 if ac_fn_c_try_link
"$LINENO"
13914 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
13916 ac_cv_lib_dnet_stub_dnet_ntoa
=no
13918 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
13919 conftest
$ac_exeext conftest.
$ac_ext
13920 LIBS
=$ac_check_lib_save_LIBS
13922 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
13923 printf "%s\n" "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
13924 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes
13926 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
13931 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
13932 conftest
$ac_exeext conftest.
$ac_ext
13933 LIBS
="$ac_xsave_LIBS"
13935 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
13936 # to get the SysV transport functions.
13937 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
13939 # The nsl library prevents programs from opening the X display
13940 # on Irix 5.2, according to T.E. Dickey.
13941 # The functions gethostbyname, getservbyname, and inet_addr are
13942 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
13943 ac_fn_c_check_func
"$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
13944 if test "x$ac_cv_func_gethostbyname" = xyes
13949 if test $ac_cv_func_gethostbyname = no
; then
13950 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
13951 printf %s
"checking for gethostbyname in -lnsl... " >&6; }
13952 if test ${ac_cv_lib_nsl_gethostbyname+y}
13954 printf %s
"(cached) " >&6
13956 ac_check_lib_save_LIBS
=$LIBS
13958 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13959 /* end confdefs.h. */
13961 /* Override any GCC internal prototype to avoid an error.
13962 Use char because int might match the return type of a GCC
13963 builtin and then its argument prototype would still apply. */
13964 char gethostbyname ();
13968 return gethostbyname ();
13973 if ac_fn_c_try_link
"$LINENO"
13975 ac_cv_lib_nsl_gethostbyname
=yes
13977 ac_cv_lib_nsl_gethostbyname
=no
13979 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
13980 conftest
$ac_exeext conftest.
$ac_ext
13981 LIBS
=$ac_check_lib_save_LIBS
13983 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
13984 printf "%s\n" "$ac_cv_lib_nsl_gethostbyname" >&6; }
13985 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes
13987 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
13990 if test $ac_cv_lib_nsl_gethostbyname = no
; then
13991 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
13992 printf %s
"checking for gethostbyname in -lbsd... " >&6; }
13993 if test ${ac_cv_lib_bsd_gethostbyname+y}
13995 printf %s
"(cached) " >&6
13997 ac_check_lib_save_LIBS
=$LIBS
13999 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14000 /* end confdefs.h. */
14002 /* Override any GCC internal prototype to avoid an error.
14003 Use char because int might match the return type of a GCC
14004 builtin and then its argument prototype would still apply. */
14005 char gethostbyname ();
14009 return gethostbyname ();
14014 if ac_fn_c_try_link
"$LINENO"
14016 ac_cv_lib_bsd_gethostbyname
=yes
14018 ac_cv_lib_bsd_gethostbyname
=no
14020 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14021 conftest
$ac_exeext conftest.
$ac_ext
14022 LIBS
=$ac_check_lib_save_LIBS
14024 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
14025 printf "%s\n" "$ac_cv_lib_bsd_gethostbyname" >&6; }
14026 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes
14028 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
14034 # lieder@skyler.mavd.honeywell.com says without -lsocket,
14035 # socket/setsockopt and other routines are undefined under SCO ODT
14036 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
14037 # on later versions), says Simon Leinen: it contains gethostby*
14038 # variants that don't use the name server (or something). -lsocket
14039 # must be given before -lnsl if both are needed. We assume that
14040 # if connect needs -lnsl, so does gethostbyname.
14041 ac_fn_c_check_func
"$LINENO" "connect" "ac_cv_func_connect"
14042 if test "x$ac_cv_func_connect" = xyes
14047 if test $ac_cv_func_connect = no
; then
14048 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
14049 printf %s
"checking for connect in -lsocket... " >&6; }
14050 if test ${ac_cv_lib_socket_connect+y}
14052 printf %s
"(cached) " >&6
14054 ac_check_lib_save_LIBS
=$LIBS
14055 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
14056 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14057 /* end confdefs.h. */
14059 /* Override any GCC internal prototype to avoid an error.
14060 Use char because int might match the return type of a GCC
14061 builtin and then its argument prototype would still apply. */
14071 if ac_fn_c_try_link
"$LINENO"
14073 ac_cv_lib_socket_connect
=yes
14075 ac_cv_lib_socket_connect
=no
14077 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14078 conftest
$ac_exeext conftest.
$ac_ext
14079 LIBS
=$ac_check_lib_save_LIBS
14081 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
14082 printf "%s\n" "$ac_cv_lib_socket_connect" >&6; }
14083 if test "x$ac_cv_lib_socket_connect" = xyes
14085 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
14090 # Guillermo Gomez says -lposix is necessary on A/UX.
14091 ac_fn_c_check_func
"$LINENO" "remove" "ac_cv_func_remove"
14092 if test "x$ac_cv_func_remove" = xyes
14097 if test $ac_cv_func_remove = no
; then
14098 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
14099 printf %s
"checking for remove in -lposix... " >&6; }
14100 if test ${ac_cv_lib_posix_remove+y}
14102 printf %s
"(cached) " >&6
14104 ac_check_lib_save_LIBS
=$LIBS
14105 LIBS
="-lposix $LIBS"
14106 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14107 /* end confdefs.h. */
14109 /* Override any GCC internal prototype to avoid an error.
14110 Use char because int might match the return type of a GCC
14111 builtin and then its argument prototype would still apply. */
14121 if ac_fn_c_try_link
"$LINENO"
14123 ac_cv_lib_posix_remove
=yes
14125 ac_cv_lib_posix_remove
=no
14127 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14128 conftest
$ac_exeext conftest.
$ac_ext
14129 LIBS
=$ac_check_lib_save_LIBS
14131 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
14132 printf "%s\n" "$ac_cv_lib_posix_remove" >&6; }
14133 if test "x$ac_cv_lib_posix_remove" = xyes
14135 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
14140 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
14141 ac_fn_c_check_func
"$LINENO" "shmat" "ac_cv_func_shmat"
14142 if test "x$ac_cv_func_shmat" = xyes
14147 if test $ac_cv_func_shmat = no
; then
14148 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
14149 printf %s
"checking for shmat in -lipc... " >&6; }
14150 if test ${ac_cv_lib_ipc_shmat+y}
14152 printf %s
"(cached) " >&6
14154 ac_check_lib_save_LIBS
=$LIBS
14156 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14157 /* end confdefs.h. */
14159 /* Override any GCC internal prototype to avoid an error.
14160 Use char because int might match the return type of a GCC
14161 builtin and then its argument prototype would still apply. */
14171 if ac_fn_c_try_link
"$LINENO"
14173 ac_cv_lib_ipc_shmat
=yes
14175 ac_cv_lib_ipc_shmat
=no
14177 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14178 conftest
$ac_exeext conftest.
$ac_ext
14179 LIBS
=$ac_check_lib_save_LIBS
14181 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
14182 printf "%s\n" "$ac_cv_lib_ipc_shmat" >&6; }
14183 if test "x$ac_cv_lib_ipc_shmat" = xyes
14185 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
14191 # Check for libraries that X11R6 Xt/Xaw programs need.
14192 ac_save_LDFLAGS
=$LDFLAGS
14193 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
14194 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
14195 # check for ICE first), but we must link in the order -lSM -lICE or
14196 # we get undefined symbols. So assume we have SM if we have ICE.
14197 # These have to be linked with before -lX11, unlike the other
14198 # libraries we check for below, so use a different variable.
14199 # John Interrante, Karl Berry
14200 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
14201 printf %s
"checking for IceConnectionNumber in -lICE... " >&6; }
14202 if test ${ac_cv_lib_ICE_IceConnectionNumber+y}
14204 printf %s
"(cached) " >&6
14206 ac_check_lib_save_LIBS
=$LIBS
14207 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
14208 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14209 /* end confdefs.h. */
14211 /* Override any GCC internal prototype to avoid an error.
14212 Use char because int might match the return type of a GCC
14213 builtin and then its argument prototype would still apply. */
14214 char IceConnectionNumber ();
14218 return IceConnectionNumber ();
14223 if ac_fn_c_try_link
"$LINENO"
14225 ac_cv_lib_ICE_IceConnectionNumber
=yes
14227 ac_cv_lib_ICE_IceConnectionNumber
=no
14229 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14230 conftest
$ac_exeext conftest.
$ac_ext
14231 LIBS
=$ac_check_lib_save_LIBS
14233 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
14234 printf "%s\n" "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
14235 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes
14237 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
14240 LDFLAGS
=$ac_save_LDFLAGS
14245 if test "$have_x" = "yes"
14247 ac_save_CPPFLAGS
="$CPPFLAGS"
14248 CPPFLAGS
="$CPPFLAGS $X_CFLAGS"
14250 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
14251 printf %s
"checking for -lX11... " >&6; }
14252 if test ${ac_cv_lib_soname_X11+y}
14254 printf %s
"(cached) " >&6
14256 ac_check_soname_save_LIBS
=$LIBS
14257 LIBS
="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
14258 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14259 /* end confdefs.h. */
14261 /* Override any GCC internal prototype to avoid an error.
14262 Use char because int might match the return type of a GCC
14263 builtin and then its argument prototype would still apply. */
14264 char XCreateWindow ();
14268 return XCreateWindow ();
14273 if ac_fn_c_try_link
"$LINENO"
14276 dll
) ac_cv_lib_soname_X11
=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14277 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'` ;;
14278 *) ac_cv_lib_soname_X11
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14279 if ${ac_cv_lib_soname_X11:+false} :
14281 ac_cv_lib_soname_X11
=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14285 ac_cv_lib_soname_X11
=
14287 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14288 conftest
$ac_exeext conftest.
$ac_ext
14289 LIBS
=$ac_check_soname_save_LIBS
14291 if ${ac_cv_lib_soname_X11:+false} :
14293 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14294 printf "%s\n" "not found" >&6; }
14297 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
14298 printf "%s\n" "$ac_cv_lib_soname_X11" >&6; }
14300 printf "%s\n" "#define SONAME_LIBX11 \"$ac_cv_lib_soname_X11\"" >>confdefs.h
14304 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
14305 printf %s
"checking for -lXext... " >&6; }
14306 if test ${ac_cv_lib_soname_Xext+y}
14308 printf %s
"(cached) " >&6
14310 ac_check_soname_save_LIBS
=$LIBS
14311 LIBS
="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
14312 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14313 /* end confdefs.h. */
14315 /* Override any GCC internal prototype to avoid an error.
14316 Use char because int might match the return type of a GCC
14317 builtin and then its argument prototype would still apply. */
14318 char XextCreateExtension ();
14322 return XextCreateExtension ();
14327 if ac_fn_c_try_link
"$LINENO"
14330 dll
) ac_cv_lib_soname_Xext
=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14331 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'` ;;
14332 *) ac_cv_lib_soname_Xext
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14333 if ${ac_cv_lib_soname_Xext:+false} :
14335 ac_cv_lib_soname_Xext
=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14339 ac_cv_lib_soname_Xext
=
14341 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14342 conftest
$ac_exeext conftest.
$ac_ext
14343 LIBS
=$ac_check_soname_save_LIBS
14345 if ${ac_cv_lib_soname_Xext:+false} :
14347 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14348 printf "%s\n" "not found" >&6; }
14351 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
14352 printf "%s\n" "$ac_cv_lib_soname_Xext" >&6; }
14354 printf "%s\n" "#define SONAME_LIBXEXT \"$ac_cv_lib_soname_Xext\"" >>confdefs.h
14356 X_LIBS
="$X_LIBS -lXext"
14358 X_LIBS
="$X_LIBS -lX11"
14360 ac_fn_c_check_header_compile
"$LINENO" "X11/Xlib.h" "ac_cv_header_X11_Xlib_h" "#ifdef HAVE_X11_XLIB_H
14361 # include <X11/Xlib.h>
14363 #ifdef HAVE_X11_XUTIL_H
14364 # include <X11/Xutil.h>
14367 if test "x$ac_cv_header_X11_Xlib_h" = xyes
14369 printf "%s\n" "#define HAVE_X11_XLIB_H 1" >>confdefs.h
14372 ac_fn_c_check_header_compile
"$LINENO" "X11/XKBlib.h" "ac_cv_header_X11_XKBlib_h" "#ifdef HAVE_X11_XLIB_H
14373 # include <X11/Xlib.h>
14375 #ifdef HAVE_X11_XUTIL_H
14376 # include <X11/Xutil.h>
14379 if test "x$ac_cv_header_X11_XKBlib_h" = xyes
14381 printf "%s\n" "#define HAVE_X11_XKBLIB_H 1" >>confdefs.h
14384 ac_fn_c_check_header_compile
"$LINENO" "X11/Xutil.h" "ac_cv_header_X11_Xutil_h" "#ifdef HAVE_X11_XLIB_H
14385 # include <X11/Xlib.h>
14387 #ifdef HAVE_X11_XUTIL_H
14388 # include <X11/Xutil.h>
14391 if test "x$ac_cv_header_X11_Xutil_h" = xyes
14393 printf "%s\n" "#define HAVE_X11_XUTIL_H 1" >>confdefs.h
14396 ac_fn_c_check_header_compile
"$LINENO" "X11/Xcursor/Xcursor.h" "ac_cv_header_X11_Xcursor_Xcursor_h" "#ifdef HAVE_X11_XLIB_H
14397 # include <X11/Xlib.h>
14399 #ifdef HAVE_X11_XUTIL_H
14400 # include <X11/Xutil.h>
14403 if test "x$ac_cv_header_X11_Xcursor_Xcursor_h" = xyes
14405 printf "%s\n" "#define HAVE_X11_XCURSOR_XCURSOR_H 1" >>confdefs.h
14408 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/shape.h" "ac_cv_header_X11_extensions_shape_h" "#ifdef HAVE_X11_XLIB_H
14409 # include <X11/Xlib.h>
14411 #ifdef HAVE_X11_XUTIL_H
14412 # include <X11/Xutil.h>
14415 if test "x$ac_cv_header_X11_extensions_shape_h" = xyes
14417 printf "%s\n" "#define HAVE_X11_EXTENSIONS_SHAPE_H 1" >>confdefs.h
14420 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/XInput.h" "ac_cv_header_X11_extensions_XInput_h" "#ifdef HAVE_X11_XLIB_H
14421 # include <X11/Xlib.h>
14423 #ifdef HAVE_X11_XUTIL_H
14424 # include <X11/Xutil.h>
14427 if test "x$ac_cv_header_X11_extensions_XInput_h" = xyes
14429 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINPUT_H 1" >>confdefs.h
14432 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/XInput2.h" "ac_cv_header_X11_extensions_XInput2_h" "#ifdef HAVE_X11_XLIB_H
14433 # include <X11/Xlib.h>
14435 #ifdef HAVE_X11_XUTIL_H
14436 # include <X11/Xutil.h>
14439 if test "x$ac_cv_header_X11_extensions_XInput2_h" = xyes
14441 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINPUT2_H 1" >>confdefs.h
14444 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/XShm.h" "ac_cv_header_X11_extensions_XShm_h" "#ifdef HAVE_X11_XLIB_H
14445 # include <X11/Xlib.h>
14447 #ifdef HAVE_X11_XUTIL_H
14448 # include <X11/Xutil.h>
14451 if test "x$ac_cv_header_X11_extensions_XShm_h" = xyes
14453 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XSHM_H 1" >>confdefs.h
14456 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/Xcomposite.h" "ac_cv_header_X11_extensions_Xcomposite_h" "#ifdef HAVE_X11_XLIB_H
14457 # include <X11/Xlib.h>
14459 #ifdef HAVE_X11_XUTIL_H
14460 # include <X11/Xutil.h>
14463 if test "x$ac_cv_header_X11_extensions_Xcomposite_h" = xyes
14465 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XCOMPOSITE_H 1" >>confdefs.h
14468 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/Xfixes.h" "ac_cv_header_X11_extensions_Xfixes_h" "#ifdef HAVE_X11_XLIB_H
14469 # include <X11/Xlib.h>
14471 #ifdef HAVE_X11_XUTIL_H
14472 # include <X11/Xutil.h>
14475 if test "x$ac_cv_header_X11_extensions_Xfixes_h" = xyes
14477 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XFIXES_H 1" >>confdefs.h
14480 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/Xinerama.h" "ac_cv_header_X11_extensions_Xinerama_h" "#ifdef HAVE_X11_XLIB_H
14481 # include <X11/Xlib.h>
14483 #ifdef HAVE_X11_XUTIL_H
14484 # include <X11/Xutil.h>
14487 if test "x$ac_cv_header_X11_extensions_Xinerama_h" = xyes
14489 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINERAMA_H 1" >>confdefs.h
14492 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/Xrandr.h" "ac_cv_header_X11_extensions_Xrandr_h" "#ifdef HAVE_X11_XLIB_H
14493 # include <X11/Xlib.h>
14495 #ifdef HAVE_X11_XUTIL_H
14496 # include <X11/Xutil.h>
14499 if test "x$ac_cv_header_X11_extensions_Xrandr_h" = xyes
14501 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XRANDR_H 1" >>confdefs.h
14504 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/Xrender.h" "ac_cv_header_X11_extensions_Xrender_h" "#ifdef HAVE_X11_XLIB_H
14505 # include <X11/Xlib.h>
14507 #ifdef HAVE_X11_XUTIL_H
14508 # include <X11/Xutil.h>
14511 if test "x$ac_cv_header_X11_extensions_Xrender_h" = xyes
14513 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XRENDER_H 1" >>confdefs.h
14516 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/xf86vmode.h" "ac_cv_header_X11_extensions_xf86vmode_h" "#ifdef HAVE_X11_XLIB_H
14517 # include <X11/Xlib.h>
14519 #ifdef HAVE_X11_XUTIL_H
14520 # include <X11/Xutil.h>
14523 if test "x$ac_cv_header_X11_extensions_xf86vmode_h" = xyes
14525 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XF86VMODE_H 1" >>confdefs.h
14528 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/xf86vmproto.h" "ac_cv_header_X11_extensions_xf86vmproto_h" "#ifdef HAVE_X11_XLIB_H
14529 # include <X11/Xlib.h>
14531 #ifdef HAVE_X11_XUTIL_H
14532 # include <X11/Xutil.h>
14535 if test "x$ac_cv_header_X11_extensions_xf86vmproto_h" = xyes
14537 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XF86VMPROTO_H 1" >>confdefs.h
14542 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
14544 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
14545 printf %s
"checking for XkbQueryExtension in -lX11... " >&6; }
14546 if test ${ac_cv_lib_X11_XkbQueryExtension+y}
14548 printf %s
"(cached) " >&6
14550 ac_check_lib_save_LIBS
=$LIBS
14551 LIBS
="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
14552 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14553 /* end confdefs.h. */
14555 /* Override any GCC internal prototype to avoid an error.
14556 Use char because int might match the return type of a GCC
14557 builtin and then its argument prototype would still apply. */
14558 char XkbQueryExtension ();
14562 return XkbQueryExtension ();
14567 if ac_fn_c_try_link
"$LINENO"
14569 ac_cv_lib_X11_XkbQueryExtension
=yes
14571 ac_cv_lib_X11_XkbQueryExtension
=no
14573 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14574 conftest
$ac_exeext conftest.
$ac_ext
14575 LIBS
=$ac_check_lib_save_LIBS
14577 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
14578 printf "%s\n" "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
14579 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes
14582 printf "%s\n" "#define HAVE_XKB 1" >>confdefs.h
14588 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
14590 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
14591 printf %s
"checking for -lXcursor... " >&6; }
14592 if test ${ac_cv_lib_soname_Xcursor+y}
14594 printf %s
"(cached) " >&6
14596 ac_check_soname_save_LIBS
=$LIBS
14597 LIBS
="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
14598 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14599 /* end confdefs.h. */
14601 /* Override any GCC internal prototype to avoid an error.
14602 Use char because int might match the return type of a GCC
14603 builtin and then its argument prototype would still apply. */
14604 char XcursorImageLoadCursor ();
14608 return XcursorImageLoadCursor ();
14613 if ac_fn_c_try_link
"$LINENO"
14616 dll
) ac_cv_lib_soname_Xcursor
=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14617 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'` ;;
14618 *) ac_cv_lib_soname_Xcursor
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14619 if ${ac_cv_lib_soname_Xcursor:+false} :
14621 ac_cv_lib_soname_Xcursor
=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14625 ac_cv_lib_soname_Xcursor
=
14627 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14628 conftest
$ac_exeext conftest.
$ac_ext
14629 LIBS
=$ac_check_soname_save_LIBS
14631 if ${ac_cv_lib_soname_Xcursor:+false} :
14633 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14634 printf "%s\n" "not found" >&6; }
14637 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
14638 printf "%s\n" "$ac_cv_lib_soname_Xcursor" >&6; }
14640 printf "%s\n" "#define SONAME_LIBXCURSOR \"$ac_cv_lib_soname_Xcursor\"" >>confdefs.h
14645 if test "x$ac_cv_lib_soname_Xcursor" = "x"
14647 case "x$with_xcursor" in
14648 x
) as_fn_append wine_notices
"|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
14650 *) as_fn_error $?
"libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
14651 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
14656 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
14658 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
14659 printf %s
"checking for -lXi... " >&6; }
14660 if test ${ac_cv_lib_soname_Xi+y}
14662 printf %s
"(cached) " >&6
14664 ac_check_soname_save_LIBS
=$LIBS
14665 LIBS
="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
14666 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14667 /* end confdefs.h. */
14669 /* Override any GCC internal prototype to avoid an error.
14670 Use char because int might match the return type of a GCC
14671 builtin and then its argument prototype would still apply. */
14672 char XOpenDevice ();
14676 return XOpenDevice ();
14681 if ac_fn_c_try_link
"$LINENO"
14684 dll
) ac_cv_lib_soname_Xi
=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14685 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'` ;;
14686 *) ac_cv_lib_soname_Xi
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14687 if ${ac_cv_lib_soname_Xi:+false} :
14689 ac_cv_lib_soname_Xi
=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14693 ac_cv_lib_soname_Xi
=
14695 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14696 conftest
$ac_exeext conftest.
$ac_ext
14697 LIBS
=$ac_check_soname_save_LIBS
14699 if ${ac_cv_lib_soname_Xi:+false} :
14701 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14702 printf "%s\n" "not found" >&6; }
14705 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
14706 printf "%s\n" "$ac_cv_lib_soname_Xi" >&6; }
14708 printf "%s\n" "#define SONAME_LIBXI \"$ac_cv_lib_soname_Xi\"" >>confdefs.h
14713 if test "x$ac_cv_lib_soname_Xi" = "x"
14715 case "x$with_xinput" in
14716 x
) as_fn_append wine_notices
"|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
14718 *) as_fn_error $?
"libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
14719 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
14724 if test "x$ac_cv_lib_soname_Xi" != x
14726 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"
14728 case "x$with_xinput2" in
14729 x
) as_fn_append wine_notices
"|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
14731 *) as_fn_error $?
"XInput2 headers not found, the XInput 2 extension won't be supported.
14732 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
14738 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
14740 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
14741 printf %s
"checking for XShmQueryExtension in -lXext... " >&6; }
14742 if test ${ac_cv_lib_Xext_XShmQueryExtension+y}
14744 printf %s
"(cached) " >&6
14746 ac_check_lib_save_LIBS
=$LIBS
14747 LIBS
="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
14748 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14749 /* end confdefs.h. */
14751 /* Override any GCC internal prototype to avoid an error.
14752 Use char because int might match the return type of a GCC
14753 builtin and then its argument prototype would still apply. */
14754 char XShmQueryExtension ();
14758 return XShmQueryExtension ();
14763 if ac_fn_c_try_link
"$LINENO"
14765 ac_cv_lib_Xext_XShmQueryExtension
=yes
14767 ac_cv_lib_Xext_XShmQueryExtension
=no
14769 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14770 conftest
$ac_exeext conftest.
$ac_ext
14771 LIBS
=$ac_check_lib_save_LIBS
14773 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
14774 printf "%s\n" "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
14775 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes
14778 printf "%s\n" "#define HAVE_LIBXXSHM 1" >>confdefs.h
14783 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"
14785 case "x$with_xshm" in
14786 x
) as_fn_append wine_notices
"|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
14788 *) as_fn_error $?
"XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
14789 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
14794 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
14796 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
14797 printf %s
"checking for XShapeQueryExtension in -lXext... " >&6; }
14798 if test ${ac_cv_lib_Xext_XShapeQueryExtension+y}
14800 printf %s
"(cached) " >&6
14802 ac_check_lib_save_LIBS
=$LIBS
14803 LIBS
="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
14804 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14805 /* end confdefs.h. */
14807 /* Override any GCC internal prototype to avoid an error.
14808 Use char because int might match the return type of a GCC
14809 builtin and then its argument prototype would still apply. */
14810 char XShapeQueryExtension ();
14814 return XShapeQueryExtension ();
14819 if ac_fn_c_try_link
"$LINENO"
14821 ac_cv_lib_Xext_XShapeQueryExtension
=yes
14823 ac_cv_lib_Xext_XShapeQueryExtension
=no
14825 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14826 conftest
$ac_exeext conftest.
$ac_ext
14827 LIBS
=$ac_check_lib_save_LIBS
14829 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
14830 printf "%s\n" "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
14831 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes
14834 printf "%s\n" "#define HAVE_LIBXSHAPE 1" >>confdefs.h
14839 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"
14841 case "x$with_xshape" in
14842 x
) as_fn_append wine_notices
"|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
14844 *) as_fn_error $?
"XShape ${notice_platform}development files not found, XShape won't be supported.
14845 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
14850 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
14852 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
14853 printf %s
"checking for -lXxf86vm... " >&6; }
14854 if test ${ac_cv_lib_soname_Xxf86vm+y}
14856 printf %s
"(cached) " >&6
14858 ac_check_soname_save_LIBS
=$LIBS
14859 LIBS
="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
14860 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14861 /* end confdefs.h. */
14863 /* Override any GCC internal prototype to avoid an error.
14864 Use char because int might match the return type of a GCC
14865 builtin and then its argument prototype would still apply. */
14866 char XF86VidModeQueryExtension ();
14870 return XF86VidModeQueryExtension ();
14875 if ac_fn_c_try_link
"$LINENO"
14878 dll
) ac_cv_lib_soname_Xxf86vm
=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14879 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'` ;;
14880 *) ac_cv_lib_soname_Xxf86vm
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14881 if ${ac_cv_lib_soname_Xxf86vm:+false} :
14883 ac_cv_lib_soname_Xxf86vm
=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14887 ac_cv_lib_soname_Xxf86vm
=
14889 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14890 conftest
$ac_exeext conftest.
$ac_ext
14891 LIBS
=$ac_check_soname_save_LIBS
14893 if ${ac_cv_lib_soname_Xxf86vm:+false} :
14895 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14896 printf "%s\n" "not found" >&6; }
14899 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
14900 printf "%s\n" "$ac_cv_lib_soname_Xxf86vm" >&6; }
14902 printf "%s\n" "#define SONAME_LIBXXF86VM \"$ac_cv_lib_soname_Xxf86vm\"" >>confdefs.h
14907 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"
14909 case "x$with_xxf86vm" in
14910 x
) as_fn_append wine_notices
"|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
14912 *) as_fn_error $?
"libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
14913 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
14918 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
14920 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
14921 printf %s
"checking for -lXrender... " >&6; }
14922 if test ${ac_cv_lib_soname_Xrender+y}
14924 printf %s
"(cached) " >&6
14926 ac_check_soname_save_LIBS
=$LIBS
14927 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
14928 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14929 /* end confdefs.h. */
14931 /* Override any GCC internal prototype to avoid an error.
14932 Use char because int might match the return type of a GCC
14933 builtin and then its argument prototype would still apply. */
14934 char XRenderQueryExtension ();
14938 return XRenderQueryExtension ();
14943 if ac_fn_c_try_link
"$LINENO"
14946 dll
) ac_cv_lib_soname_Xrender
=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14947 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'` ;;
14948 *) ac_cv_lib_soname_Xrender
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14949 if ${ac_cv_lib_soname_Xrender:+false} :
14951 ac_cv_lib_soname_Xrender
=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14955 ac_cv_lib_soname_Xrender
=
14957 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14958 conftest
$ac_exeext conftest.
$ac_ext
14959 LIBS
=$ac_check_soname_save_LIBS
14961 if ${ac_cv_lib_soname_Xrender:+false} :
14963 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14964 printf "%s\n" "not found" >&6; }
14967 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
14968 printf "%s\n" "$ac_cv_lib_soname_Xrender" >&6; }
14970 printf "%s\n" "#define SONAME_LIBXRENDER \"$ac_cv_lib_soname_Xrender\"" >>confdefs.h
14972 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
14973 printf %s
"checking for XRenderSetPictureTransform in -lXrender... " >&6; }
14974 if test ${ac_cv_lib_Xrender_XRenderSetPictureTransform+y}
14976 printf %s
"(cached) " >&6
14978 ac_check_lib_save_LIBS
=$LIBS
14979 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
14980 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14981 /* end confdefs.h. */
14983 /* Override any GCC internal prototype to avoid an error.
14984 Use char because int might match the return type of a GCC
14985 builtin and then its argument prototype would still apply. */
14986 char XRenderSetPictureTransform ();
14990 return XRenderSetPictureTransform ();
14995 if ac_fn_c_try_link
"$LINENO"
14997 ac_cv_lib_Xrender_XRenderSetPictureTransform
=yes
14999 ac_cv_lib_Xrender_XRenderSetPictureTransform
=no
15001 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15002 conftest
$ac_exeext conftest.
$ac_ext
15003 LIBS
=$ac_check_lib_save_LIBS
15005 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
15006 printf "%s\n" "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
15007 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes
15010 printf "%s\n" "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
15014 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
15015 printf %s
"checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
15016 if test ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+y}
15018 printf %s
"(cached) " >&6
15020 ac_check_lib_save_LIBS
=$LIBS
15021 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
15022 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15023 /* end confdefs.h. */
15025 /* Override any GCC internal prototype to avoid an error.
15026 Use char because int might match the return type of a GCC
15027 builtin and then its argument prototype would still apply. */
15028 char XRenderCreateLinearGradient ();
15032 return XRenderCreateLinearGradient ();
15037 if ac_fn_c_try_link
"$LINENO"
15039 ac_cv_lib_Xrender_XRenderCreateLinearGradient
=yes
15041 ac_cv_lib_Xrender_XRenderCreateLinearGradient
=no
15043 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15044 conftest
$ac_exeext conftest.
$ac_ext
15045 LIBS
=$ac_check_lib_save_LIBS
15047 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
15048 printf "%s\n" "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
15049 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes
15052 printf "%s\n" "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
15059 if test "x$ac_cv_lib_soname_Xrender" = "x"
15061 case "x$with_xrender" in
15062 x
) as_fn_append wine_warnings
"|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
15064 *) as_fn_error $?
"libxrender ${notice_platform}development files not found, XRender won't be supported.
15065 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
15070 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
15072 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15073 /* end confdefs.h. */
15074 #include <X11/Xlib.h>
15075 #include <X11/extensions/Xrandr.h>
15079 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
15084 if ac_fn_c_try_compile
"$LINENO"
15086 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
15087 printf %s
"checking for -lXrandr... " >&6; }
15088 if test ${ac_cv_lib_soname_Xrandr+y}
15090 printf %s
"(cached) " >&6
15092 ac_check_soname_save_LIBS
=$LIBS
15093 LIBS
="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
15094 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15095 /* end confdefs.h. */
15097 /* Override any GCC internal prototype to avoid an error.
15098 Use char because int might match the return type of a GCC
15099 builtin and then its argument prototype would still apply. */
15100 char XRRQueryExtension ();
15104 return XRRQueryExtension ();
15109 if ac_fn_c_try_link
"$LINENO"
15112 dll
) ac_cv_lib_soname_Xrandr
=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15113 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'` ;;
15114 *) ac_cv_lib_soname_Xrandr
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15115 if ${ac_cv_lib_soname_Xrandr:+false} :
15117 ac_cv_lib_soname_Xrandr
=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15121 ac_cv_lib_soname_Xrandr
=
15123 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15124 conftest
$ac_exeext conftest.
$ac_ext
15125 LIBS
=$ac_check_soname_save_LIBS
15127 if ${ac_cv_lib_soname_Xrandr:+false} :
15129 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15130 printf "%s\n" "not found" >&6; }
15133 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
15134 printf "%s\n" "$ac_cv_lib_soname_Xrandr" >&6; }
15136 printf "%s\n" "#define SONAME_LIBXRANDR \"$ac_cv_lib_soname_Xrandr\"" >>confdefs.h
15138 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15139 /* end confdefs.h. */
15140 #include <X11/Xlib.h>
15141 #include <X11/extensions/Xrandr.h>
15145 static typeof(XRRGetProviderResources) *f; if (f) return 0;
15150 if ac_fn_c_try_compile
"$LINENO"
15153 printf "%s\n" "#define HAVE_XRRGETPROVIDERRESOURCES 1" >>confdefs.h
15156 as_fn_append wine_notices
"|libxrandr ${notice_platform}development files too old, XRandR display device handler won't be supported."
15158 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
15161 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
15163 if test "x$ac_cv_lib_soname_Xrandr" = "x"
15165 case "x$with_xrandr" in
15166 x
) as_fn_append wine_notices
"|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
15168 *) as_fn_error $?
"libxrandr ${notice_platform}development files not found, XRandr won't be supported.
15169 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
15174 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
15176 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15177 /* end confdefs.h. */
15178 #include <X11/Xlib.h>
15179 #include <X11/extensions/Xfixes.h>
15183 static typeof(XFixesQueryVersion) * func; if (func) return 0;
15188 if ac_fn_c_try_compile
"$LINENO"
15190 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
15191 printf %s
"checking for -lXfixes... " >&6; }
15192 if test ${ac_cv_lib_soname_Xfixes+y}
15194 printf %s
"(cached) " >&6
15196 ac_check_soname_save_LIBS
=$LIBS
15197 LIBS
="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
15198 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15199 /* end confdefs.h. */
15201 /* Override any GCC internal prototype to avoid an error.
15202 Use char because int might match the return type of a GCC
15203 builtin and then its argument prototype would still apply. */
15204 char XFixesQueryVersion ();
15208 return XFixesQueryVersion ();
15213 if ac_fn_c_try_link
"$LINENO"
15216 dll
) ac_cv_lib_soname_Xfixes
=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15217 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'` ;;
15218 *) ac_cv_lib_soname_Xfixes
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15219 if ${ac_cv_lib_soname_Xfixes:+false} :
15221 ac_cv_lib_soname_Xfixes
=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15225 ac_cv_lib_soname_Xfixes
=
15227 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15228 conftest
$ac_exeext conftest.
$ac_ext
15229 LIBS
=$ac_check_soname_save_LIBS
15231 if ${ac_cv_lib_soname_Xfixes:+false} :
15233 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15234 printf "%s\n" "not found" >&6; }
15237 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
15238 printf "%s\n" "$ac_cv_lib_soname_Xfixes" >&6; }
15240 printf "%s\n" "#define SONAME_LIBXFIXES \"$ac_cv_lib_soname_Xfixes\"" >>confdefs.h
15245 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
15247 if test "x$ac_cv_lib_soname_Xfixes" = "x"
15249 case "x$with_xfixes" in
15250 x
) as_fn_append wine_notices
"|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
15252 *) as_fn_error $?
"libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
15253 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
15258 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
15260 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15261 /* end confdefs.h. */
15262 #include <X11/Xlib.h>
15263 #include <X11/extensions/Xinerama.h>
15267 static typeof(XineramaQueryScreens) * func; if (func) return 0;
15272 if ac_fn_c_try_compile
"$LINENO"
15274 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
15275 printf %s
"checking for -lXinerama... " >&6; }
15276 if test ${ac_cv_lib_soname_Xinerama+y}
15278 printf %s
"(cached) " >&6
15280 ac_check_soname_save_LIBS
=$LIBS
15281 LIBS
="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
15282 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15283 /* end confdefs.h. */
15285 /* Override any GCC internal prototype to avoid an error.
15286 Use char because int might match the return type of a GCC
15287 builtin and then its argument prototype would still apply. */
15288 char XineramaQueryScreens ();
15292 return XineramaQueryScreens ();
15297 if ac_fn_c_try_link
"$LINENO"
15300 dll
) ac_cv_lib_soname_Xinerama
=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15301 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'` ;;
15302 *) ac_cv_lib_soname_Xinerama
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15303 if ${ac_cv_lib_soname_Xinerama:+false} :
15305 ac_cv_lib_soname_Xinerama
=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15309 ac_cv_lib_soname_Xinerama
=
15311 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15312 conftest
$ac_exeext conftest.
$ac_ext
15313 LIBS
=$ac_check_soname_save_LIBS
15315 if ${ac_cv_lib_soname_Xinerama:+false} :
15317 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15318 printf "%s\n" "not found" >&6; }
15321 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
15322 printf "%s\n" "$ac_cv_lib_soname_Xinerama" >&6; }
15324 printf "%s\n" "#define SONAME_LIBXINERAMA \"$ac_cv_lib_soname_Xinerama\"" >>confdefs.h
15329 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
15331 if test "x$ac_cv_lib_soname_Xinerama" = "x"
15333 case "x$with_xinerama" in
15334 x
) as_fn_append wine_notices
"|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
15336 *) as_fn_error $?
"libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
15337 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
15342 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
15344 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
15345 printf %s
"checking for -lXcomposite... " >&6; }
15346 if test ${ac_cv_lib_soname_Xcomposite+y}
15348 printf %s
"(cached) " >&6
15350 ac_check_soname_save_LIBS
=$LIBS
15351 LIBS
="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
15352 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15353 /* end confdefs.h. */
15355 /* Override any GCC internal prototype to avoid an error.
15356 Use char because int might match the return type of a GCC
15357 builtin and then its argument prototype would still apply. */
15358 char XCompositeRedirectWindow ();
15362 return XCompositeRedirectWindow ();
15367 if ac_fn_c_try_link
"$LINENO"
15370 dll
) ac_cv_lib_soname_Xcomposite
=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15371 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'` ;;
15372 *) ac_cv_lib_soname_Xcomposite
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15373 if ${ac_cv_lib_soname_Xcomposite:+false} :
15375 ac_cv_lib_soname_Xcomposite
=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15379 ac_cv_lib_soname_Xcomposite
=
15381 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15382 conftest
$ac_exeext conftest.
$ac_ext
15383 LIBS
=$ac_check_soname_save_LIBS
15385 if ${ac_cv_lib_soname_Xcomposite:+false} :
15387 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15388 printf "%s\n" "not found" >&6; }
15391 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
15392 printf "%s\n" "$ac_cv_lib_soname_Xcomposite" >&6; }
15394 printf "%s\n" "#define SONAME_LIBXCOMPOSITE \"$ac_cv_lib_soname_Xcomposite\"" >>confdefs.h
15399 if test "x$ac_cv_lib_soname_Xcomposite" = "x"
15401 case "x$with_xcomposite" in
15402 x
) as_fn_append wine_notices
"|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
15404 *) as_fn_error $?
"libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
15405 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
15410 ac_fn_c_check_member
"$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
15411 #include <X11/Xlib.h>
15414 if test "x$ac_cv_member_XICCallback_callback" = xyes
15417 printf "%s\n" "#define HAVE_XICCALLBACK_CALLBACK 1" >>confdefs.h
15421 ac_fn_c_check_member
"$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
15422 #include <X11/Xlib.h>
15425 if test "x$ac_cv_member_XEvent_xcookie" = xyes
15428 printf "%s\n" "#define HAVE_XEVENT_XCOOKIE 1" >>confdefs.h
15436 if test "x$with_opengl" != "xno"
15438 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
15439 printf %s
"checking for -lGL... " >&6; }
15440 if test ${ac_cv_lib_soname_GL+y}
15442 printf %s
"(cached) " >&6
15444 ac_check_soname_save_LIBS
=$LIBS
15445 LIBS
="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
15446 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15447 /* end confdefs.h. */
15449 /* Override any GCC internal prototype to avoid an error.
15450 Use char because int might match the return type of a GCC
15451 builtin and then its argument prototype would still apply. */
15452 char glXCreateContext ();
15456 return glXCreateContext ();
15461 if ac_fn_c_try_link
"$LINENO"
15464 dll
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15465 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'` ;;
15466 *) ac_cv_lib_soname_GL
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15467 if ${ac_cv_lib_soname_GL:+false} :
15469 ac_cv_lib_soname_GL
=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15473 ac_cv_lib_soname_GL
=
15475 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15476 conftest
$ac_exeext conftest.
$ac_ext
15477 LIBS
=$ac_check_soname_save_LIBS
15479 if ${ac_cv_lib_soname_GL:+false} :
15481 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15482 printf "%s\n" "not found" >&6; }
15483 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
15484 printf %s
"checking for -lGL... " >&6; }
15485 if test ${ac_cv_lib_soname_GL+y}
15487 printf %s
"(cached) " >&6
15489 ac_check_soname_save_LIBS
=$LIBS
15490 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"
15491 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15492 /* end confdefs.h. */
15494 /* Override any GCC internal prototype to avoid an error.
15495 Use char because int might match the return type of a GCC
15496 builtin and then its argument prototype would still apply. */
15497 char glXCreateContext ();
15501 return glXCreateContext ();
15506 if ac_fn_c_try_link
"$LINENO"
15509 dll
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15510 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'` ;;
15511 *) ac_cv_lib_soname_GL
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15512 if ${ac_cv_lib_soname_GL:+false} :
15514 ac_cv_lib_soname_GL
=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15518 ac_cv_lib_soname_GL
=
15520 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15521 conftest
$ac_exeext conftest.
$ac_ext
15522 LIBS
=$ac_check_soname_save_LIBS
15524 if ${ac_cv_lib_soname_GL:+false} :
15526 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15527 printf "%s\n" "not found" >&6; }
15528 if test -f /usr
/X11R
6/lib
/libGL.a
15530 opengl_msg
="/usr/X11R6/lib/libGL.a is present on your system.
15531 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
15533 opengl_msg
="No OpenGL library found on this system."
15536 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
15537 printf "%s\n" "$ac_cv_lib_soname_GL" >&6; }
15539 printf "%s\n" "#define SONAME_LIBGL \"$ac_cv_lib_soname_GL\"" >>confdefs.h
15541 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"
15544 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
15545 printf "%s\n" "$ac_cv_lib_soname_GL" >&6; }
15547 printf "%s\n" "#define SONAME_LIBGL \"$ac_cv_lib_soname_GL\"" >>confdefs.h
15551 if test "x$with_osmesa" != "xno"
15553 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
15554 printf %s
"checking for -lOSMesa... " >&6; }
15555 if test ${ac_cv_lib_soname_OSMesa+y}
15557 printf %s
"(cached) " >&6
15559 ac_check_soname_save_LIBS
=$LIBS
15560 LIBS
="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
15561 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15562 /* end confdefs.h. */
15564 /* Override any GCC internal prototype to avoid an error.
15565 Use char because int might match the return type of a GCC
15566 builtin and then its argument prototype would still apply. */
15567 char OSMesaGetProcAddress ();
15571 return OSMesaGetProcAddress ();
15576 if ac_fn_c_try_link
"$LINENO"
15579 dll
) ac_cv_lib_soname_OSMesa
=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15580 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'` ;;
15581 *) ac_cv_lib_soname_OSMesa
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15582 if ${ac_cv_lib_soname_OSMesa:+false} :
15584 ac_cv_lib_soname_OSMesa
=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15588 ac_cv_lib_soname_OSMesa
=
15590 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15591 conftest
$ac_exeext conftest.
$ac_ext
15592 LIBS
=$ac_check_soname_save_LIBS
15594 if ${ac_cv_lib_soname_OSMesa:+false} :
15596 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15597 printf "%s\n" "not found" >&6; }
15600 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
15601 printf "%s\n" "$ac_cv_lib_soname_OSMesa" >&6; }
15603 printf "%s\n" "#define SONAME_LIBOSMESA \"$ac_cv_lib_soname_OSMesa\"" >>confdefs.h
15607 if test "x$ac_cv_lib_soname_OSMesa" = "x"
15609 case "x$with_osmesa" in
15610 x
) as_fn_append wine_notices
"|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
15612 *) as_fn_error $?
"libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
15613 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
15619 if test -n "$opengl_msg"
15621 case "x$with_opengl" in
15622 x
) as_fn_append wine_warnings
"|$opengl_msg
15623 OpenGL and Direct3D won't be supported." ;;
15625 *) as_fn_error $?
"$opengl_msg
15626 OpenGL and Direct3D won't be supported.
15627 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
15632 CPPFLAGS
="$ac_save_CPPFLAGS"
15638 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
15640 if test "x$X_LIBS" = "x"
15644 *) as_fn_error $?
"X ${notice_platform}development files not found. Wine will be built
15645 without X support, which probably isn't what you want. You will need
15646 to install ${notice_platform}development packages of Xlib at the very least.
15647 Use the --without-x option if you really want this." "$LINENO" 5 ;;
15649 enable_winex11_drv
=${enable_winex11_drv:-no}
15652 if test "x$X_LIBS" = "x"
15655 x
) as_fn_append wine_notices
"|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
15657 *) as_fn_error $?
"X ${notice_platform}development files not found, the X11 driver won't be supported.
15658 This is an error since --with-x was requested." "$LINENO" 5 ;;
15660 enable_winex11_drv
=${enable_winex11_drv:-no}
15664 if test "$ac_cv_header_CL_cl_h" = "yes"
15666 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
15667 printf %s
"checking for clGetPlatformInfo in -lOpenCL... " >&6; }
15668 if test ${ac_cv_lib_OpenCL_clGetPlatformInfo+y}
15670 printf %s
"(cached) " >&6
15672 ac_check_lib_save_LIBS
=$LIBS
15673 LIBS
="-lOpenCL $LIBS"
15674 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15675 /* end confdefs.h. */
15677 /* Override any GCC internal prototype to avoid an error.
15678 Use char because int might match the return type of a GCC
15679 builtin and then its argument prototype would still apply. */
15680 char clGetPlatformInfo ();
15684 return clGetPlatformInfo ();
15689 if ac_fn_c_try_link
"$LINENO"
15691 ac_cv_lib_OpenCL_clGetPlatformInfo
=yes
15693 ac_cv_lib_OpenCL_clGetPlatformInfo
=no
15695 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15696 conftest
$ac_exeext conftest.
$ac_ext
15697 LIBS
=$ac_check_lib_save_LIBS
15699 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
15700 printf "%s\n" "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
15701 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes
15703 OPENCL_LIBS
="-lOpenCL"
15708 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
15710 case "x$with_opencl" in
15711 x
) as_fn_append wine_notices
"|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
15713 *) as_fn_error $?
"OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
15714 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
15716 enable_opencl
=${enable_opencl:-no}
15719 if test "$ac_cv_header_pcap_pcap_h" = "yes"
15721 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pcap_init in -lpcap" >&5
15722 printf %s
"checking for pcap_init in -lpcap... " >&6; }
15723 if test ${ac_cv_lib_pcap_pcap_init+y}
15725 printf %s
"(cached) " >&6
15727 ac_check_lib_save_LIBS
=$LIBS
15728 LIBS
="-lpcap $LIBS"
15729 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15730 /* end confdefs.h. */
15732 /* Override any GCC internal prototype to avoid an error.
15733 Use char because int might match the return type of a GCC
15734 builtin and then its argument prototype would still apply. */
15739 return pcap_init ();
15744 if ac_fn_c_try_link
"$LINENO"
15746 ac_cv_lib_pcap_pcap_init
=yes
15748 ac_cv_lib_pcap_pcap_init
=no
15750 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15751 conftest
$ac_exeext conftest.
$ac_ext
15752 LIBS
=$ac_check_lib_save_LIBS
15754 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_init" >&5
15755 printf "%s\n" "$ac_cv_lib_pcap_pcap_init" >&6; }
15756 if test "x$ac_cv_lib_pcap_pcap_init" = xyes
15763 if test "x$ac_cv_lib_pcap_pcap_init" != xyes
15765 case "x$with_pcap" in
15766 x
) as_fn_append wine_notices
"|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
15768 *) as_fn_error $?
"pcap ${notice_platform}development files not found, wpcap won't be supported.
15769 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
15771 enable_wpcap
=${enable_wpcap:-no}
15774 if test "x$with_pcsclite" != "xno"
15776 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for SCardEstablishContext in -lpcsclite" >&5
15777 printf %s
"checking for SCardEstablishContext in -lpcsclite... " >&6; }
15778 if test ${ac_cv_lib_pcsclite_SCardEstablishContext+y}
15780 printf %s
"(cached) " >&6
15782 ac_check_lib_save_LIBS
=$LIBS
15783 LIBS
="-lpcsclite $LIBS"
15784 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15785 /* end confdefs.h. */
15787 /* Override any GCC internal prototype to avoid an error.
15788 Use char because int might match the return type of a GCC
15789 builtin and then its argument prototype would still apply. */
15790 char SCardEstablishContext ();
15794 return SCardEstablishContext ();
15799 if ac_fn_c_try_link
"$LINENO"
15801 ac_cv_lib_pcsclite_SCardEstablishContext
=yes
15803 ac_cv_lib_pcsclite_SCardEstablishContext
=no
15805 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15806 conftest
$ac_exeext conftest.
$ac_ext
15807 LIBS
=$ac_check_lib_save_LIBS
15809 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcsclite_SCardEstablishContext" >&5
15810 printf "%s\n" "$ac_cv_lib_pcsclite_SCardEstablishContext" >&6; }
15811 if test "x$ac_cv_lib_pcsclite_SCardEstablishContext" = xyes
15813 PCSCLITE_LIBS
="-lpcsclite"
15818 if test "x$ac_cv_lib_pcsclite_SCardEstablishContext" != xyes
15820 case "x$with_pcsclite" in
15821 x
) as_fn_append wine_notices
"|libpcsclite not found, smart cards won't be supported." ;;
15823 *) as_fn_error $?
"libpcsclite not found, smart cards won't be supported.
15824 This is an error since --with-pcsclite was requested." "$LINENO" 5 ;;
15826 enable_winscard
=${enable_winscard:-no}
15829 if test "x$with_inotify" != "xno"
15832 if ${INOTIFY_CFLAGS:+false} :
15834 if test ${PKG_CONFIG+y}
15836 INOTIFY_CFLAGS
=`$PKG_CONFIG --cflags libinotify 2>conftest.err`
15840 if ${INOTIFY_LIBS:+false} :
15842 if test ${PKG_CONFIG+y}
15844 INOTIFY_LIBS
=`$PKG_CONFIG --libs libinotify 2>/dev/null`
15849 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libinotify cflags: $INOTIFY_CFLAGS" >&5
15850 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libinotify libs: $INOTIFY_LIBS" >&5
15851 if test -s conftest.err
; then
15852 printf %s
"$as_me:${as_lineno-$LINENO}: libinotify errors: " >&5
15853 cat conftest.err
>&5
15856 ac_save_CPPFLAGS
=$CPPFLAGS
15857 CPPFLAGS
="$CPPFLAGS $INOTIFY_CFLAGS"
15858 ac_fn_c_check_header_compile
"$LINENO" "sys/inotify.h" "ac_cv_header_sys_inotify_h" "$ac_includes_default"
15859 if test "x$ac_cv_header_sys_inotify_h" = xyes
15861 printf "%s\n" "#define HAVE_SYS_INOTIFY_H 1" >>confdefs.h
15865 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inotify_add_watch in -linotify" >&5
15866 printf %s
"checking for inotify_add_watch in -linotify... " >&6; }
15867 if test ${ac_cv_lib_inotify_inotify_add_watch+y}
15869 printf %s
"(cached) " >&6
15871 ac_check_lib_save_LIBS
=$LIBS
15872 LIBS
="-linotify $INOTIFY_LIBS $LIBS"
15873 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15874 /* end confdefs.h. */
15876 /* Override any GCC internal prototype to avoid an error.
15877 Use char because int might match the return type of a GCC
15878 builtin and then its argument prototype would still apply. */
15879 char inotify_add_watch ();
15883 return inotify_add_watch ();
15888 if ac_fn_c_try_link
"$LINENO"
15890 ac_cv_lib_inotify_inotify_add_watch
=yes
15892 ac_cv_lib_inotify_inotify_add_watch
=no
15894 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15895 conftest
$ac_exeext conftest.
$ac_ext
15896 LIBS
=$ac_check_lib_save_LIBS
15898 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_inotify_inotify_add_watch" >&5
15899 printf "%s\n" "$ac_cv_lib_inotify_inotify_add_watch" >&6; }
15900 if test "x$ac_cv_lib_inotify_inotify_add_watch" = xyes
15907 CPPFLAGS
=$ac_save_CPPFLAGS
15910 if test "$ac_cv_header_sys_inotify_h" != "yes"
15912 case "x$with_inotify" in
15913 x
) as_fn_append wine_notices
"|libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported." ;;
15915 *) as_fn_error $?
"libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported.
15916 This is an error since --with-inotify was requested." "$LINENO" 5 ;;
15921 if test "x$with_dbus" != "xno"
15924 if ${DBUS_CFLAGS:+false} :
15926 if test ${PKG_CONFIG+y}
15928 DBUS_CFLAGS
=`$PKG_CONFIG --cflags dbus-1 2>conftest.err`
15932 if ${DBUS_LIBS:+false} :
15934 if test ${PKG_CONFIG+y}
15936 DBUS_LIBS
=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
15941 printf "%s\n" "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
15942 printf "%s\n" "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
15943 if test -s conftest.err
; then
15944 printf %s
"$as_me:${as_lineno-$LINENO}: dbus-1 errors: " >&5
15945 cat conftest.err
>&5
15948 ac_save_CPPFLAGS
=$CPPFLAGS
15949 CPPFLAGS
="$CPPFLAGS $DBUS_CFLAGS"
15950 ac_fn_c_check_header_compile
"$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
15951 if test "x$ac_cv_header_dbus_dbus_h" = xyes
15953 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
15954 printf %s
"checking for -ldbus-1... " >&6; }
15955 if test ${ac_cv_lib_soname_dbus_1+y}
15957 printf %s
"(cached) " >&6
15959 ac_check_soname_save_LIBS
=$LIBS
15960 LIBS
="-ldbus-1 $DBUS_LIBS $LIBS"
15961 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15962 /* end confdefs.h. */
15964 /* Override any GCC internal prototype to avoid an error.
15965 Use char because int might match the return type of a GCC
15966 builtin and then its argument prototype would still apply. */
15967 char dbus_connection_close ();
15971 return dbus_connection_close ();
15976 if ac_fn_c_try_link
"$LINENO"
15979 dll
) ac_cv_lib_soname_dbus_1
=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15980 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'` ;;
15981 *) 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'`
15982 if ${ac_cv_lib_soname_dbus_1:+false} :
15984 ac_cv_lib_soname_dbus_1
=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15988 ac_cv_lib_soname_dbus_1
=
15990 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15991 conftest
$ac_exeext conftest.
$ac_ext
15992 LIBS
=$ac_check_soname_save_LIBS
15994 if ${ac_cv_lib_soname_dbus_1:+false} :
15996 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15997 printf "%s\n" "not found" >&6; }
16000 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
16001 printf "%s\n" "$ac_cv_lib_soname_dbus_1" >&6; }
16003 printf "%s\n" "#define SONAME_LIBDBUS_1 \"$ac_cv_lib_soname_dbus_1\"" >>confdefs.h
16011 CPPFLAGS
=$ac_save_CPPFLAGS
16015 darwin
*|macosx
*) ;;
16016 *) if test "x$ac_cv_lib_soname_dbus_1" = "x"
16018 case "x$with_dbus" in
16019 x
) as_fn_append wine_notices
"|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
16021 *) as_fn_error $?
"libdbus ${notice_platform}development files not found, no dynamic device support.
16022 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
16028 if test "x$with_gnutls" != "xno"
16031 if ${GNUTLS_CFLAGS:+false} :
16033 if test ${PKG_CONFIG+y}
16035 GNUTLS_CFLAGS
=`$PKG_CONFIG --cflags gnutls 2>conftest.err`
16039 if ${GNUTLS_LIBS:+false} :
16041 if test ${PKG_CONFIG+y}
16043 GNUTLS_LIBS
=`$PKG_CONFIG --libs gnutls 2>/dev/null`
16047 GNUTLS_LIBS
=${GNUTLS_LIBS:-"-lgnutls"}
16048 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
16049 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
16050 if test -s conftest.err
; then
16051 printf %s
"$as_me:${as_lineno-$LINENO}: gnutls errors: " >&5
16052 cat conftest.err
>&5
16055 ac_save_CPPFLAGS
=$CPPFLAGS
16056 CPPFLAGS
="$CPPFLAGS $GNUTLS_CFLAGS"
16057 ac_fn_c_check_header_compile
"$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
16058 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes
16060 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16061 /* end confdefs.h. */
16062 #include <gnutls/gnutls.h>
16063 #include <gnutls/crypto.h>
16067 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
16072 if ac_fn_c_try_compile
"$LINENO"
16074 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
16075 printf %s
"checking for -lgnutls... " >&6; }
16076 if test ${ac_cv_lib_soname_gnutls+y}
16078 printf %s
"(cached) " >&6
16080 ac_check_soname_save_LIBS
=$LIBS
16081 LIBS
="-lgnutls $GNUTLS_LIBS $LIBS"
16082 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16083 /* end confdefs.h. */
16085 /* Override any GCC internal prototype to avoid an error.
16086 Use char because int might match the return type of a GCC
16087 builtin and then its argument prototype would still apply. */
16088 char gnutls_global_init ();
16092 return gnutls_global_init ();
16097 if ac_fn_c_try_link
"$LINENO"
16100 dll
) ac_cv_lib_soname_gnutls
=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16101 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'` ;;
16102 *) 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'`
16103 if ${ac_cv_lib_soname_gnutls:+false} :
16105 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'`
16109 ac_cv_lib_soname_gnutls
=
16111 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16112 conftest
$ac_exeext conftest.
$ac_ext
16113 LIBS
=$ac_check_soname_save_LIBS
16115 if ${ac_cv_lib_soname_gnutls:+false} :
16117 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16118 printf "%s\n" "not found" >&6; }
16121 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
16122 printf "%s\n" "$ac_cv_lib_soname_gnutls" >&6; }
16124 printf "%s\n" "#define SONAME_LIBGNUTLS \"$ac_cv_lib_soname_gnutls\"" >>confdefs.h
16128 ac_wine_check_funcs_save_LIBS
="$LIBS"
16129 LIBS
="$LIBS $GNUTLS_LIBS"
16131 for ac_func
in gnutls_cipher_init
16133 ac_fn_c_check_func
"$LINENO" "gnutls_cipher_init" "ac_cv_func_gnutls_cipher_init"
16134 if test "x$ac_cv_func_gnutls_cipher_init" = xyes
16136 printf "%s\n" "#define HAVE_GNUTLS_CIPHER_INIT 1" >>confdefs.h
16139 as_fn_append wine_notices
"|libgnutls ${notice_platform}development files too old, bcrypt encryption won't be supported."
16143 LIBS
="$ac_wine_check_funcs_save_LIBS"
16145 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
16150 CPPFLAGS
=$ac_save_CPPFLAGS
16153 if test "x$ac_cv_lib_soname_gnutls" = "x"
16155 case "x$with_gnutls" in
16156 x
) as_fn_append wine_warnings
"|libgnutls ${notice_platform}development files not found, no schannel support." ;;
16158 *) as_fn_error $?
"libgnutls ${notice_platform}development files not found, no schannel support.
16159 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
16164 if test "x$with_sane" != "xno"
16167 if ${SANE_CFLAGS:+false} :
16169 if test ${PKG_CONFIG+y}
16171 SANE_CFLAGS
=`$PKG_CONFIG --cflags sane-backends 2>conftest.err`
16174 test "$cross_compiling" = yes || SANE_CFLAGS
=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
16175 if ${SANE_LIBS:+false} :
16177 if test ${PKG_CONFIG+y}
16179 SANE_LIBS
=`$PKG_CONFIG --libs sane-backends 2>/dev/null`
16182 test "$cross_compiling" = yes || SANE_LIBS
=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
16184 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sane-backends cflags: $SANE_CFLAGS" >&5
16185 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sane-backends libs: $SANE_LIBS" >&5
16186 if test -s conftest.err
; then
16187 printf %s
"$as_me:${as_lineno-$LINENO}: sane-backends errors: " >&5
16188 cat conftest.err
>&5
16191 ac_save_CPPFLAGS
=$CPPFLAGS
16192 CPPFLAGS
="$CPPFLAGS $SANE_CFLAGS"
16193 ac_fn_c_check_header_compile
"$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
16194 if test "x$ac_cv_header_sane_sane_h" = xyes
16196 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sane_init in -lsane" >&5
16197 printf %s
"checking for sane_init in -lsane... " >&6; }
16198 if test ${ac_cv_lib_sane_sane_init+y}
16200 printf %s
"(cached) " >&6
16202 ac_check_lib_save_LIBS
=$LIBS
16203 LIBS
="-lsane $SANE_LIBS $LIBS"
16204 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16205 /* end confdefs.h. */
16207 /* Override any GCC internal prototype to avoid an error.
16208 Use char because int might match the return type of a GCC
16209 builtin and then its argument prototype would still apply. */
16214 return sane_init ();
16219 if ac_fn_c_try_link
"$LINENO"
16221 ac_cv_lib_sane_sane_init
=yes
16223 ac_cv_lib_sane_sane_init
=no
16225 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16226 conftest
$ac_exeext conftest.
$ac_ext
16227 LIBS
=$ac_check_lib_save_LIBS
16229 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sane_sane_init" >&5
16230 printf "%s\n" "$ac_cv_lib_sane_sane_init" >&6; }
16231 if test "x$ac_cv_lib_sane_sane_init" = xyes
16238 CPPFLAGS
=$ac_save_CPPFLAGS
16241 if test "$ac_cv_lib_sane_sane_init" != "yes"
16243 case "x$with_sane" in
16244 x
) as_fn_append wine_notices
"|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
16246 *) as_fn_error $?
"libsane ${notice_platform}development files not found, scanners won't be supported.
16247 This is an error since --with-sane was requested." "$LINENO" 5 ;;
16249 enable_sane_ds
=${enable_sane_ds:-no}
16252 if test "x$with_usb" != "xno"
16255 if ${USB_CFLAGS:+false} :
16257 if test ${PKG_CONFIG+y}
16259 USB_CFLAGS
=`$PKG_CONFIG --cflags libusb-1.0 2>conftest.err`
16263 if ${USB_LIBS:+false} :
16265 if test ${PKG_CONFIG+y}
16267 USB_LIBS
=`$PKG_CONFIG --libs libusb-1.0 2>/dev/null`
16271 USB_LIBS
=${USB_LIBS:-"-lusb-1.0"}
16272 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libusb-1.0 cflags: $USB_CFLAGS" >&5
16273 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libusb-1.0 libs: $USB_LIBS" >&5
16274 if test -s conftest.err
; then
16275 printf %s
"$as_me:${as_lineno-$LINENO}: libusb-1.0 errors: " >&5
16276 cat conftest.err
>&5
16279 ac_save_CPPFLAGS
=$CPPFLAGS
16280 CPPFLAGS
="$CPPFLAGS $USB_CFLAGS"
16281 ac_fn_c_check_header_compile
"$LINENO" "libusb.h" "ac_cv_header_libusb_h" "$ac_includes_default"
16282 if test "x$ac_cv_header_libusb_h" = xyes
16284 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libusb_interrupt_event_handler in -lusb-1.0" >&5
16285 printf %s
"checking for libusb_interrupt_event_handler in -lusb-1.0... " >&6; }
16286 if test ${ac_cv_lib_usb_1_0_libusb_interrupt_event_handler+y}
16288 printf %s
"(cached) " >&6
16290 ac_check_lib_save_LIBS
=$LIBS
16291 LIBS
="-lusb-1.0 $USB_LIBS $LIBS"
16292 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16293 /* end confdefs.h. */
16295 /* Override any GCC internal prototype to avoid an error.
16296 Use char because int might match the return type of a GCC
16297 builtin and then its argument prototype would still apply. */
16298 char libusb_interrupt_event_handler ();
16302 return libusb_interrupt_event_handler ();
16307 if ac_fn_c_try_link
"$LINENO"
16309 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler
=yes
16311 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler
=no
16313 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16314 conftest
$ac_exeext conftest.
$ac_ext
16315 LIBS
=$ac_check_lib_save_LIBS
16317 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&5
16318 printf "%s\n" "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&6; }
16319 if test "x$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" = xyes
16330 CPPFLAGS
=$ac_save_CPPFLAGS
16333 if test "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" != "yes"
16335 case "x$with_usb" in
16336 x
) as_fn_append wine_notices
"|libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported." ;;
16338 *) as_fn_error $?
"libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported.
16339 This is an error since --with-usb was requested." "$LINENO" 5 ;;
16341 enable_wineusb_sys
=${enable_wineusb_sys:-no}
16344 if test "x$with_v4l2" != "xno"
16346 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lv4l2" >&5
16347 printf %s
"checking for -lv4l2... " >&6; }
16348 if test ${ac_cv_lib_soname_v4l2+y}
16350 printf %s
"(cached) " >&6
16352 ac_check_soname_save_LIBS
=$LIBS
16353 LIBS
="-lv4l2 $LIBS"
16354 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16355 /* end confdefs.h. */
16357 /* Override any GCC internal prototype to avoid an error.
16358 Use char because int might match the return type of a GCC
16359 builtin and then its argument prototype would still apply. */
16364 return v4l2_open ();
16369 if ac_fn_c_try_link
"$LINENO"
16372 dll
) ac_cv_lib_soname_v4l2
=`$ac_cv_path_LDD conftest.exe | grep "v4l2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16373 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'` ;;
16374 *) ac_cv_lib_soname_v4l2
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16375 if ${ac_cv_lib_soname_v4l2:+false} :
16377 ac_cv_lib_soname_v4l2
=`$LDD conftest$ac_exeext | grep "libv4l2\\.$LIBEXT" | sed -e "s/^.*\(libv4l2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16381 ac_cv_lib_soname_v4l2
=
16383 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16384 conftest
$ac_exeext conftest.
$ac_ext
16385 LIBS
=$ac_check_soname_save_LIBS
16387 if ${ac_cv_lib_soname_v4l2:+false} :
16389 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16390 printf "%s\n" "not found" >&6; }
16393 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l2" >&5
16394 printf "%s\n" "$ac_cv_lib_soname_v4l2" >&6; }
16396 printf "%s\n" "#define SONAME_LIBV4L2 \"$ac_cv_lib_soname_v4l2\"" >>confdefs.h
16401 if test "x$ac_cv_lib_soname_v4l2" = "x"
16403 case "x$with_v4l2" in
16404 x
) as_fn_append wine_notices
"|libv4l2 ${notice_platform}development files not found." ;;
16406 *) as_fn_error $?
"libv4l2 ${notice_platform}development files not found.
16407 This is an error since --with-v4l2 was requested." "$LINENO" 5 ;;
16412 if test "x$with_gphoto" != "xno"
16415 if ${GPHOTO2_CFLAGS:+false} :
16417 if test ${PKG_CONFIG+y}
16419 GPHOTO2_CFLAGS
=`$PKG_CONFIG --cflags libgphoto2 2>conftest.err`
16422 test "$cross_compiling" = yes || GPHOTO2_CFLAGS
=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
16423 if ${GPHOTO2_LIBS:+false} :
16425 if test ${PKG_CONFIG+y}
16427 GPHOTO2_LIBS
=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
16430 test "$cross_compiling" = yes || GPHOTO2_LIBS
=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
16431 GPHOTO2_LIBS
=${GPHOTO2_LIBS:-"-lgphoto2"}
16432 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
16433 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
16434 if test -s conftest.err
; then
16435 printf %s
"$as_me:${as_lineno-$LINENO}: libgphoto2 errors: " >&5
16436 cat conftest.err
>&5
16439 ac_save_CPPFLAGS
=$CPPFLAGS
16440 CPPFLAGS
="$CPPFLAGS $GPHOTO2_CFLAGS"
16441 ac_fn_c_check_header_compile
"$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
16442 if test "x$ac_cv_header_gphoto2_camera_h" = xyes
16444 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
16445 printf %s
"checking for gp_camera_new in -lgphoto2... " >&6; }
16446 if test ${ac_cv_lib_gphoto2_gp_camera_new+y}
16448 printf %s
"(cached) " >&6
16450 ac_check_lib_save_LIBS
=$LIBS
16451 LIBS
="-lgphoto2 $GPHOTO2_LIBS $LIBS"
16452 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16453 /* end confdefs.h. */
16455 /* Override any GCC internal prototype to avoid an error.
16456 Use char because int might match the return type of a GCC
16457 builtin and then its argument prototype would still apply. */
16458 char gp_camera_new ();
16462 return gp_camera_new ();
16467 if ac_fn_c_try_link
"$LINENO"
16469 ac_cv_lib_gphoto2_gp_camera_new
=yes
16471 ac_cv_lib_gphoto2_gp_camera_new
=no
16473 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16474 conftest
$ac_exeext conftest.
$ac_ext
16475 LIBS
=$ac_check_lib_save_LIBS
16477 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
16478 printf "%s\n" "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
16479 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes
16486 CPPFLAGS
=$ac_save_CPPFLAGS
16489 if ${GPHOTO2_PORT_CFLAGS:+false} :
16491 if test ${PKG_CONFIG+y}
16493 GPHOTO2_PORT_CFLAGS
=`$PKG_CONFIG --cflags libgphoto2_port 2>conftest.err`
16496 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS
=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
16497 if ${GPHOTO2_PORT_LIBS:+false} :
16499 if test ${PKG_CONFIG+y}
16501 GPHOTO2_PORT_LIBS
=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
16504 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS
=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
16505 GPHOTO2_PORT_LIBS
=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
16506 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
16507 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
16508 if test -s conftest.err
; then
16509 printf %s
"$as_me:${as_lineno-$LINENO}: libgphoto2_port errors: " >&5
16510 cat conftest.err
>&5
16513 ac_save_CPPFLAGS
=$CPPFLAGS
16514 CPPFLAGS
="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
16515 ac_fn_c_check_header_compile
"$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
16516 if test "x$ac_cv_header_gphoto2_port_h" = xyes
16518 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
16519 printf %s
"checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
16520 if test ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+y}
16522 printf %s
"(cached) " >&6
16524 ac_check_lib_save_LIBS
=$LIBS
16525 LIBS
="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
16526 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16527 /* end confdefs.h. */
16529 /* Override any GCC internal prototype to avoid an error.
16530 Use char because int might match the return type of a GCC
16531 builtin and then its argument prototype would still apply. */
16532 char gp_port_info_list_new ();
16536 return gp_port_info_list_new ();
16541 if ac_fn_c_try_link
"$LINENO"
16543 ac_cv_lib_gphoto2_port_gp_port_info_list_new
=yes
16545 ac_cv_lib_gphoto2_port_gp_port_info_list_new
=no
16547 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16548 conftest
$ac_exeext conftest.
$ac_ext
16549 LIBS
=$ac_check_lib_save_LIBS
16551 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
16552 printf "%s\n" "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
16553 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes
16556 printf "%s\n" "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
16559 GPHOTO2_PORT_LIBS
=""; GPHOTO2_PORT_CFLAGS
=""
16563 GPHOTO2_PORT_LIBS
=""; GPHOTO2_PORT_CFLAGS
=""
16566 CPPFLAGS
=$ac_save_CPPFLAGS
16569 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"
16571 case "x$with_gphoto" in
16572 x
) as_fn_append wine_notices
"|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
16574 *) as_fn_error $?
"libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
16575 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
16577 enable_gphoto2_ds
=${enable_gphoto2_ds:-no}
16579 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"
16581 case "x$with_gphoto" in
16582 x
) as_fn_append wine_notices
"|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
16584 *) as_fn_error $?
"libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
16585 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
16591 if test "$ac_cv_header_resolv_h" = "yes"
16593 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
16594 printf %s
"checking for resolver library... " >&6; }
16595 if test ${ac_cv_have_resolv+y}
16597 printf %s
"(cached) " >&6
16599 ac_save_LIBS
="$LIBS"
16600 for lib
in '' -lresolv
16602 LIBS
="$lib $ac_save_LIBS"
16603 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16604 /* end confdefs.h. */
16605 #ifdef HAVE_NETINET_IN_H
16606 #include <netinet/in.h>
16608 #include <resolv.h>
16612 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0); ns_initparse(0,0,0)
16617 if ac_fn_c_try_link
"$LINENO"
16619 ac_cv_have_resolv
=${lib:-"none required"}
16621 ac_cv_have_resolv
="not found"
16623 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16624 conftest
$ac_exeext conftest.
$ac_ext
16625 test "x$ac_cv_have_resolv" = "xnot found" ||
break
16627 LIBS
="$ac_save_LIBS"
16629 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
16630 printf "%s\n" "$ac_cv_have_resolv" >&6; }
16632 case "$ac_cv_have_resolv" in
16636 printf "%s\n" "#define HAVE_RESOLV 1" >>confdefs.h
16639 printf "%s\n" "#define HAVE_RESOLV 1" >>confdefs.h
16641 RESOLV_LIBS
=$ac_cv_have_resolv
16645 if test "x$ac_cv_have_resolv" != "xnot found"
16647 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for res_getservers" >&5
16648 printf %s
"checking for res_getservers... " >&6; }
16649 if test ${ac_cv_have_res_getservers+y}
16651 printf %s
"(cached) " >&6
16653 ac_save_LIBS
="$LIBS"
16654 LIBS
="$RESOLV_LIBS $LIBS"
16655 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16656 /* end confdefs.h. */
16657 #include <resolv.h>
16661 res_getservers(NULL, NULL, 0);
16666 if ac_fn_c_try_link
"$LINENO"
16668 ac_cv_have_res_getservers
=yes
16670 ac_cv_have_res_getservers
=no
16672 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16673 conftest
$ac_exeext conftest.
$ac_ext
16674 LIBS
="$ac_save_LIBS"
16676 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_res_getservers" >&5
16677 printf "%s\n" "$ac_cv_have_res_getservers" >&6; }
16678 if test "$ac_cv_have_res_getservers" = "yes"
16681 printf "%s\n" "#define HAVE_RES_GETSERVERS 1" >>confdefs.h
16687 if test "x$with_freetype" != "xno"
16690 if ${FREETYPE_CFLAGS:+false} :
16692 if test ${PKG_CONFIG+y}
16694 FREETYPE_CFLAGS
=`$PKG_CONFIG --cflags freetype2 2>conftest.err`
16697 test "$cross_compiling" = yes || FREETYPE_CFLAGS
=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
16698 if ${FREETYPE_LIBS:+false} :
16700 if test ${PKG_CONFIG+y}
16702 FREETYPE_LIBS
=`$PKG_CONFIG --libs freetype2 2>/dev/null`
16705 test "$cross_compiling" = yes || FREETYPE_LIBS
=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
16706 FREETYPE_LIBS
=${FREETYPE_LIBS:-"-lfreetype"}
16707 printf "%s\n" "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
16708 printf "%s\n" "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
16709 if test -s conftest.err
; then
16710 printf %s
"$as_me:${as_lineno-$LINENO}: freetype2 errors: " >&5
16711 cat conftest.err
>&5
16714 ac_save_CPPFLAGS
=$CPPFLAGS
16715 CPPFLAGS
="$CPPFLAGS $FREETYPE_CFLAGS"
16716 ac_fn_c_check_header_compile
"$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
16717 if test "x$ac_cv_header_ft2build_h" = xyes
16719 printf "%s\n" "#define HAVE_FT2BUILD_H 1" >>confdefs.h
16723 if test "$ac_cv_header_ft2build_h" = "yes"
16725 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
16726 printf %s
"checking for -lfreetype... " >&6; }
16727 if test ${ac_cv_lib_soname_freetype+y}
16729 printf %s
"(cached) " >&6
16731 ac_check_soname_save_LIBS
=$LIBS
16732 LIBS
="-lfreetype $FREETYPE_LIBS $LIBS"
16733 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16734 /* end confdefs.h. */
16736 /* Override any GCC internal prototype to avoid an error.
16737 Use char because int might match the return type of a GCC
16738 builtin and then its argument prototype would still apply. */
16739 char FT_Init_FreeType ();
16743 return FT_Init_FreeType ();
16748 if ac_fn_c_try_link
"$LINENO"
16751 dll
) ac_cv_lib_soname_freetype
=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16752 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'` ;;
16753 *) ac_cv_lib_soname_freetype
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16754 if ${ac_cv_lib_soname_freetype:+false} :
16756 ac_cv_lib_soname_freetype
=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16760 ac_cv_lib_soname_freetype
=
16762 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16763 conftest
$ac_exeext conftest.
$ac_ext
16764 LIBS
=$ac_check_soname_save_LIBS
16766 if ${ac_cv_lib_soname_freetype:+false} :
16768 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16769 printf "%s\n" "not found" >&6; }
16772 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
16773 printf "%s\n" "$ac_cv_lib_soname_freetype" >&6; }
16775 printf "%s\n" "#define SONAME_LIBFREETYPE \"$ac_cv_lib_soname_freetype\"" >>confdefs.h
16778 printf "%s\n" "#define HAVE_FREETYPE 1" >>confdefs.h
16780 ac_fn_c_check_type
"$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
16781 #include FT_MODULE_H
16783 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes
16786 printf "%s\n" "#define HAVE_FT_TRUETYPEENGINETYPE 1" >>confdefs.h
16796 CPPFLAGS
=$ac_save_CPPFLAGS
16799 if test "x$ac_cv_lib_soname_freetype" = x
16801 case "x$with_freetype" in
16803 *) as_fn_error $?
"FreeType ${notice_platform}development files not found. Fonts will not be built.
16804 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
16806 enable_fonts
=${enable_fonts:-no}
16809 ac_wine_check_funcs_save_LIBS
="$LIBS"
16810 LIBS
="$LIBS $PTHREAD_LIBS"
16811 ac_fn_c_check_func
"$LINENO" "pthread_getthreadid_np" "ac_cv_func_pthread_getthreadid_np"
16812 if test "x$ac_cv_func_pthread_getthreadid_np" = xyes
16814 printf "%s\n" "#define HAVE_PTHREAD_GETTHREADID_NP 1" >>confdefs.h
16818 LIBS
="$ac_wine_check_funcs_save_LIBS"
16820 if test "x$enable_tools" != xno
-a "x$with_gettextpo" = xyes
16822 if test "$ac_cv_header_gettext_po_h" = "yes"
16824 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
16825 printf %s
"checking for po_message_msgctxt in -lgettextpo... " >&6; }
16826 if test ${ac_cv_lib_gettextpo_po_message_msgctxt+y}
16828 printf %s
"(cached) " >&6
16830 ac_check_lib_save_LIBS
=$LIBS
16831 LIBS
="-lgettextpo $LIBS"
16832 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16833 /* end confdefs.h. */
16835 /* Override any GCC internal prototype to avoid an error.
16836 Use char because int might match the return type of a GCC
16837 builtin and then its argument prototype would still apply. */
16838 char po_message_msgctxt ();
16842 return po_message_msgctxt ();
16847 if ac_fn_c_try_link
"$LINENO"
16849 ac_cv_lib_gettextpo_po_message_msgctxt
=yes
16851 ac_cv_lib_gettextpo_po_message_msgctxt
=no
16853 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16854 conftest
$ac_exeext conftest.
$ac_ext
16855 LIBS
=$ac_check_lib_save_LIBS
16857 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
16858 printf "%s\n" "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
16859 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes
16862 printf "%s\n" "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
16864 GETTEXTPO_LIBS
="-lgettextpo"
16869 if test "x$GETTEXTPO_LIBS" = "x"
16871 case "x$with_gettextpo" in
16872 x
) as_fn_append wine_notices
"|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
16874 *) as_fn_error $?
"GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
16875 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
16879 if test "$srcdir" != .
16881 case "x$with_gettextpo" in
16882 x
) as_fn_append wine_notices
"|Rebuilding po files is not supported for out of tree builds." ;;
16884 *) as_fn_error $?
"Rebuilding po files is not supported for out of tree builds.
16885 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
16891 if test "x$with_pulse" != "xno";
16894 if ${PULSE_CFLAGS:+false} :
16896 if test ${PKG_CONFIG+y}
16898 PULSE_CFLAGS
=`$PKG_CONFIG --cflags libpulse 2>conftest.err`
16902 if ${PULSE_LIBS:+false} :
16904 if test ${PKG_CONFIG+y}
16906 PULSE_LIBS
=`$PKG_CONFIG --libs libpulse 2>/dev/null`
16911 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
16912 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
16913 if test -s conftest.err
; then
16914 printf %s
"$as_me:${as_lineno-$LINENO}: libpulse errors: " >&5
16915 cat conftest.err
>&5
16918 ac_save_CPPFLAGS
=$CPPFLAGS
16919 CPPFLAGS
="$CPPFLAGS $PULSE_CFLAGS"
16920 for ac_header
in pulse
/pulseaudio.h
16922 ac_fn_c_check_header_compile
"$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
16923 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes
16925 printf "%s\n" "#define HAVE_PULSE_PULSEAUDIO_H 1" >>confdefs.h
16926 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
16927 printf %s
"checking for pa_stream_is_corked in -lpulse... " >&6; }
16928 if test ${ac_cv_lib_pulse_pa_stream_is_corked+y}
16930 printf %s
"(cached) " >&6
16932 ac_check_lib_save_LIBS
=$LIBS
16933 LIBS
="-lpulse $PULSE_LIBS $LIBS"
16934 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16935 /* end confdefs.h. */
16937 /* Override any GCC internal prototype to avoid an error.
16938 Use char because int might match the return type of a GCC
16939 builtin and then its argument prototype would still apply. */
16940 char pa_stream_is_corked ();
16944 return pa_stream_is_corked ();
16949 if ac_fn_c_try_link
"$LINENO"
16951 ac_cv_lib_pulse_pa_stream_is_corked
=yes
16953 ac_cv_lib_pulse_pa_stream_is_corked
=no
16955 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16956 conftest
$ac_exeext conftest.
$ac_ext
16957 LIBS
=$ac_check_lib_save_LIBS
16959 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
16960 printf "%s\n" "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
16961 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes
16973 CPPFLAGS
=$ac_save_CPPFLAGS
16976 if test -z "$PULSE_LIBS"
16978 case "x$with_pulse" in
16979 x
) as_fn_append wine_notices
"|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
16981 *) as_fn_error $?
"libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
16982 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
16984 enable_winepulse_drv
=${enable_winepulse_drv:-no}
16987 if test "x$with_gstreamer" != "xno"
16990 if ${GSTREAMER_CFLAGS:+false} :
16992 if test ${PKG_CONFIG+y}
16994 GSTREAMER_CFLAGS
=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 gstreamer-tag-1.0 2>conftest.err`
16998 if ${GSTREAMER_LIBS:+false} :
17000 if test ${PKG_CONFIG+y}
17002 GSTREAMER_LIBS
=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 gstreamer-tag-1.0 2>/dev/null`
17007 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 gstreamer-tag-1.0 cflags: $GSTREAMER_CFLAGS" >&5
17008 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 gstreamer-tag-1.0 libs: $GSTREAMER_LIBS" >&5
17009 if test -s conftest.err
; then
17010 printf %s
"$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 gstreamer-tag-1.0 errors: " >&5
17011 cat conftest.err
>&5
17014 ac_save_CPPFLAGS
=$CPPFLAGS
17015 CPPFLAGS
="$CPPFLAGS $GSTREAMER_CFLAGS"
17016 ac_fn_c_check_header_compile
"$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
17017 if test "x$ac_cv_header_gst_gst_h" = xyes
17019 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
17020 printf %s
"checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
17021 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17022 /* end confdefs.h. */
17023 #include <gst/gst.h>
17027 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
17032 if ac_fn_c_try_compile
"$LINENO"
17034 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17035 printf "%s\n" "yes" >&6; }
17036 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
17037 printf %s
"checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
17038 if test ${ac_cv_lib_gstreamer_1_0_gst_pad_new+y}
17040 printf %s
"(cached) " >&6
17042 ac_check_lib_save_LIBS
=$LIBS
17043 LIBS
="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
17044 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17045 /* end confdefs.h. */
17047 /* Override any GCC internal prototype to avoid an error.
17048 Use char because int might match the return type of a GCC
17049 builtin and then its argument prototype would still apply. */
17050 char gst_pad_new ();
17054 return gst_pad_new ();
17059 if ac_fn_c_try_link
"$LINENO"
17061 ac_cv_lib_gstreamer_1_0_gst_pad_new
=yes
17063 ac_cv_lib_gstreamer_1_0_gst_pad_new
=no
17065 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17066 conftest
$ac_exeext conftest.
$ac_ext
17067 LIBS
=$ac_check_lib_save_LIBS
17069 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
17070 printf "%s\n" "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
17071 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes
17077 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
17078 printf "%s\n" "no" >&6; }
17079 ac_glib2_broken
=yes
17080 as_fn_append wine_notices
"|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
17082 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
17085 CPPFLAGS
=$ac_save_CPPFLAGS
17088 if test "x$ac_glib2_broken" != xyes
-a "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" != xyes
17090 case "x$with_gstreamer" in
17091 x
) as_fn_append wine_notices
"|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
17093 *) as_fn_error $?
"gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
17094 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
17096 enable_winegstreamer
=${enable_winegstreamer:-no}
17101 if test "x$with_alsa" != "xno"
17103 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
17104 printf %s
"checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
17105 if test ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+y}
17107 printf %s
"(cached) " >&6
17109 ac_check_lib_save_LIBS
=$LIBS
17110 LIBS
="-lasound $LIBS"
17111 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17112 /* end confdefs.h. */
17114 /* Override any GCC internal prototype to avoid an error.
17115 Use char because int might match the return type of a GCC
17116 builtin and then its argument prototype would still apply. */
17117 char snd_pcm_hw_params_get_access_mask ();
17121 return snd_pcm_hw_params_get_access_mask ();
17126 if ac_fn_c_try_link
"$LINENO"
17128 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask
=yes
17130 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask
=no
17132 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17133 conftest
$ac_exeext conftest.
$ac_ext
17134 LIBS
=$ac_check_lib_save_LIBS
17136 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
17137 printf "%s\n" "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
17138 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes
17140 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17141 /* end confdefs.h. */
17142 #include <alsa/asoundlib.h>
17146 snd_pcm_hw_params_get_access_mask(NULL, NULL)
17151 if ac_fn_c_try_compile
"$LINENO"
17153 ALSA_LIBS
="-lasound"
17155 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
17159 test -n "$ALSA_LIBS" || enable_winealsa_drv
=${enable_winealsa_drv:-no}
17161 if test "x$with_oss" != xno
17163 ac_save_CPPFLAGS
="$CPPFLAGS"
17164 if test -f /etc
/oss.conf
17168 ac_oss_incl
="-I${OSSLIBDIR:-/usr/lib/oss}/include"
17169 CPPFLAGS
="$CPPFLAGS $ac_oss_incl"
17170 ac_fn_c_check_header_compile
"$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
17171 if test "x$ac_cv_header_sys_soundcard_h" = xyes
17173 ac_fn_c_check_member
"$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
17175 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes
17178 printf "%s\n" "#define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1" >>confdefs.h
17180 OSS4_CFLAGS
="$ac_oss_incl"
17182 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
17183 printf %s
"checking for _oss_ioctl in -lossaudio... " >&6; }
17184 if test ${ac_cv_lib_ossaudio__oss_ioctl+y}
17186 printf %s
"(cached) " >&6
17188 ac_check_lib_save_LIBS
=$LIBS
17189 LIBS
="-lossaudio $LIBS"
17190 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17191 /* end confdefs.h. */
17193 /* Override any GCC internal prototype to avoid an error.
17194 Use char because int might match the return type of a GCC
17195 builtin and then its argument prototype would still apply. */
17196 char _oss_ioctl ();
17200 return _oss_ioctl ();
17205 if ac_fn_c_try_link
"$LINENO"
17207 ac_cv_lib_ossaudio__oss_ioctl
=yes
17209 ac_cv_lib_ossaudio__oss_ioctl
=no
17211 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17212 conftest
$ac_exeext conftest.
$ac_ext
17213 LIBS
=$ac_check_lib_save_LIBS
17215 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
17216 printf "%s\n" "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
17217 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes
17219 OSS4_LIBS
="-lossaudio"
17227 CPPFLAGS
="$ac_save_CPPFLAGS"
17229 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
17231 case "x$with_oss" in
17232 x
) as_fn_append wine_notices
"|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
17234 *) as_fn_error $?
"OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
17235 This is an error since --with-oss was requested." "$LINENO" 5 ;;
17237 enable_wineoss_drv
=${enable_wineoss_drv:-no}
17240 if test "x$with_udev" != "xno"
17243 if ${UDEV_CFLAGS:+false} :
17245 if test ${PKG_CONFIG+y}
17247 UDEV_CFLAGS
=`$PKG_CONFIG --cflags libudev 2>conftest.err`
17251 if ${UDEV_LIBS:+false} :
17253 if test ${PKG_CONFIG+y}
17255 UDEV_LIBS
=`$PKG_CONFIG --libs libudev 2>/dev/null`
17259 UDEV_LIBS
=${UDEV_LIBS:-"-ludev"}
17260 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
17261 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
17262 if test -s conftest.err
; then
17263 printf %s
"$as_me:${as_lineno-$LINENO}: libudev errors: " >&5
17264 cat conftest.err
>&5
17267 ac_save_CPPFLAGS
=$CPPFLAGS
17268 CPPFLAGS
="$CPPFLAGS $UDEV_CFLAGS"
17269 for ac_header
in libudev.h
17271 ac_fn_c_check_header_compile
"$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
17272 if test "x$ac_cv_header_libudev_h" = xyes
17274 printf "%s\n" "#define HAVE_LIBUDEV_H 1" >>confdefs.h
17275 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
17276 printf %s
"checking for udev_new in -ludev... " >&6; }
17277 if test ${ac_cv_lib_udev_udev_new+y}
17279 printf %s
"(cached) " >&6
17281 ac_check_lib_save_LIBS
=$LIBS
17282 LIBS
="-ludev $UDEV_LIBS $LIBS"
17283 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17284 /* end confdefs.h. */
17286 /* Override any GCC internal prototype to avoid an error.
17287 Use char because int might match the return type of a GCC
17288 builtin and then its argument prototype would still apply. */
17293 return udev_new ();
17298 if ac_fn_c_try_link
"$LINENO"
17300 ac_cv_lib_udev_udev_new
=yes
17302 ac_cv_lib_udev_udev_new
=no
17304 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17305 conftest
$ac_exeext conftest.
$ac_ext
17306 LIBS
=$ac_check_lib_save_LIBS
17308 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
17309 printf "%s\n" "$ac_cv_lib_udev_udev_new" >&6; }
17310 if test "x$ac_cv_lib_udev_udev_new" = xyes
17313 printf "%s\n" "#define HAVE_UDEV 1" >>confdefs.h
17324 CPPFLAGS
=$ac_save_CPPFLAGS
17327 if test "x$UDEV_LIBS" = "x"
17329 case "x$with_udev" in
17330 x
) as_fn_append wine_notices
"|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
17332 *) as_fn_error $?
"libudev ${notice_platform}development files not found, plug and play won't be supported.
17333 This is an error since --with-udev was requested." "$LINENO" 5 ;;
17338 if test "x$with_unwind" != xno
17341 if ${UNWIND_CFLAGS:+false} :
17343 if test ${PKG_CONFIG+y}
17345 UNWIND_CFLAGS
=`$PKG_CONFIG --cflags libunwind 2>conftest.err`
17349 if ${UNWIND_LIBS:+false} :
17351 if test ${PKG_CONFIG+y}
17353 UNWIND_LIBS
=`$PKG_CONFIG --libs libunwind 2>/dev/null`
17357 UNWIND_LIBS
=${UNWIND_LIBS:-"-lunwind"}
17358 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libunwind cflags: $UNWIND_CFLAGS" >&5
17359 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libunwind libs: $UNWIND_LIBS" >&5
17360 if test -s conftest.err
; then
17361 printf %s
"$as_me:${as_lineno-$LINENO}: libunwind errors: " >&5
17362 cat conftest.err
>&5
17365 ac_save_CPPFLAGS
=$CPPFLAGS
17366 CPPFLAGS
="$CPPFLAGS $UNWIND_CFLAGS"
17367 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for unw_step" >&5
17368 printf %s
"checking for unw_step... " >&6; }
17369 if test ${wine_cv_have_unw_step+y}
17371 printf %s
"(cached) " >&6
17373 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17374 /* end confdefs.h. */
17375 #define UNW_LOCAL_ONLY
17376 #include <libunwind.h>
17380 unw_cursor_t cursor; unw_step( &cursor );
17385 if ac_fn_c_try_link
"$LINENO"
17387 wine_cv_have_unw_step
="yes"
17389 wine_cv_have_unw_step
="no"
17391 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17392 conftest
$ac_exeext conftest.
$ac_ext
17394 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_unw_step" >&5
17395 printf "%s\n" "$wine_cv_have_unw_step" >&6; }
17396 if test "$wine_cv_have_unw_step" = no
-a -n "$UNWIND_LIBS"
17399 UNWIND_LIBS
="-static-libgcc $UNWIND_LIBS"
17400 LIBS
="$UNWIND_LIBS $LIBS"
17401 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for unw_step in libunwind" >&5
17402 printf %s
"checking for unw_step in libunwind... " >&6; }
17403 if test ${wine_cv_have_libunwind_unw_step+y}
17405 printf %s
"(cached) " >&6
17407 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17408 /* end confdefs.h. */
17409 #define UNW_LOCAL_ONLY
17410 #include <libunwind.h>
17414 unw_cursor_t cursor; unw_step( &cursor );
17419 if ac_fn_c_try_link
"$LINENO"
17421 wine_cv_have_libunwind_unw_step
="yes"
17423 wine_cv_have_libunwind_unw_step
="no"
17425 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17426 conftest
$ac_exeext conftest.
$ac_ext
17428 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_libunwind_unw_step" >&5
17429 printf "%s\n" "$wine_cv_have_libunwind_unw_step" >&6; }
17432 test "$wine_cv_have_libunwind_unw_step" = yes || UNWIND_LIBS
=""
17433 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" != xnono
17436 printf "%s\n" "#define HAVE_LIBUNWIND 1" >>confdefs.h
17439 CPPFLAGS
=$ac_save_CPPFLAGS
17443 aarch64
*|
*-darwin*)
17444 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" = xnono
17446 case "x$with_unwind" in
17447 x
) as_fn_append wine_notices
"|libunwind ${notice_platform}development files not found, stack unwinding won't work." ;;
17449 *) as_fn_error $?
"libunwind ${notice_platform}development files not found, stack unwinding won't work.
17450 This is an error since --with-unwind was requested." "$LINENO" 5 ;;
17456 if test "x$with_sdl" != "xno"
17459 if ${SDL2_CFLAGS:+false} :
17461 if test ${PKG_CONFIG+y}
17463 SDL2_CFLAGS
=`$PKG_CONFIG --cflags sdl2 2>conftest.err`
17467 if ${SDL2_LIBS:+false} :
17469 if test ${PKG_CONFIG+y}
17471 SDL2_LIBS
=`$PKG_CONFIG --libs sdl2 2>/dev/null`
17475 SDL2_LIBS
=${SDL2_LIBS:-"-lSDL2"}
17476 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sdl2 cflags: $SDL2_CFLAGS" >&5
17477 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sdl2 libs: $SDL2_LIBS" >&5
17478 if test -s conftest.err
; then
17479 printf %s
"$as_me:${as_lineno-$LINENO}: sdl2 errors: " >&5
17480 cat conftest.err
>&5
17483 ac_save_CPPFLAGS
=$CPPFLAGS
17484 CPPFLAGS
="$CPPFLAGS $SDL2_CFLAGS"
17485 for ac_header
in SDL.h
17487 ac_fn_c_check_header_compile
"$LINENO" "SDL.h" "ac_cv_header_SDL_h" "$ac_includes_default"
17488 if test "x$ac_cv_header_SDL_h" = xyes
17490 printf "%s\n" "#define HAVE_SDL_H 1" >>confdefs.h
17491 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lSDL2" >&5
17492 printf %s
"checking for -lSDL2... " >&6; }
17493 if test ${ac_cv_lib_soname_SDL2+y}
17495 printf %s
"(cached) " >&6
17497 ac_check_soname_save_LIBS
=$LIBS
17498 LIBS
="-lSDL2 $SDL2_LIBS $LIBS"
17499 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17500 /* end confdefs.h. */
17502 /* Override any GCC internal prototype to avoid an error.
17503 Use char because int might match the return type of a GCC
17504 builtin and then its argument prototype would still apply. */
17509 return SDL_Init ();
17514 if ac_fn_c_try_link
"$LINENO"
17517 dll
) ac_cv_lib_soname_SDL2
=`$ac_cv_path_LDD conftest.exe | grep "SDL2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17518 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'` ;;
17519 *) 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'`
17520 if ${ac_cv_lib_soname_SDL2:+false} :
17522 ac_cv_lib_soname_SDL2
=`$LDD conftest$ac_exeext | grep "libSDL2-2.0*\\.$LIBEXT" | sed -e "s/^.*\(libSDL2-2.0*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17526 ac_cv_lib_soname_SDL2
=
17528 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17529 conftest
$ac_exeext conftest.
$ac_ext
17530 LIBS
=$ac_check_soname_save_LIBS
17532 if ${ac_cv_lib_soname_SDL2:+false} :
17534 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17535 printf "%s\n" "not found" >&6; }
17538 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_SDL2" >&5
17539 printf "%s\n" "$ac_cv_lib_soname_SDL2" >&6; }
17541 printf "%s\n" "#define SONAME_LIBSDL2 \"$ac_cv_lib_soname_SDL2\"" >>confdefs.h
17548 CPPFLAGS
=$ac_save_CPPFLAGS
17551 if test "x$ac_cv_lib_soname_SDL2" = "x"
17553 case "x$with_sdl" in
17554 x
) as_fn_append wine_notices
"|libSDL2 ${notice_platform}development files not found, SDL2 won't be supported." ;;
17556 *) as_fn_error $?
"libSDL2 ${notice_platform}development files not found, SDL2 won't be supported.
17557 This is an error since --with-sdl was requested." "$LINENO" 5 ;;
17562 if test "x$with_capi" != "xno"
17565 if ${CAPI20_CFLAGS:+false} :
17567 if test ${PKG_CONFIG+y}
17569 CAPI20_CFLAGS
=`$PKG_CONFIG --cflags capi20 2>conftest.err`
17573 if ${CAPI20_LIBS:+false} :
17575 if test ${PKG_CONFIG+y}
17577 CAPI20_LIBS
=`$PKG_CONFIG --libs capi20 2>/dev/null`
17582 printf "%s\n" "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
17583 printf "%s\n" "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
17584 if test -s conftest.err
; then
17585 printf %s
"$as_me:${as_lineno-$LINENO}: capi20 errors: " >&5
17586 cat conftest.err
>&5
17589 ac_save_CPPFLAGS
=$CPPFLAGS
17590 CPPFLAGS
="$CPPFLAGS $CAPI20_CFLAGS"
17591 ac_fn_c_check_header_compile
"$LINENO" "capi20.h" "ac_cv_header_capi20_h" "#define __user
17593 if test "x$ac_cv_header_capi20_h" = xyes
17595 printf "%s\n" "#define HAVE_CAPI20_H 1" >>confdefs.h
17598 ac_fn_c_check_header_compile
"$LINENO" "linux/capi.h" "ac_cv_header_linux_capi_h" "#define __user
17600 if test "x$ac_cv_header_linux_capi_h" = xyes
17602 printf "%s\n" "#define HAVE_LINUX_CAPI_H 1" >>confdefs.h
17606 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
17608 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for capi20_register in -lcapi20" >&5
17609 printf %s
"checking for capi20_register in -lcapi20... " >&6; }
17610 if test ${ac_cv_lib_capi20_capi20_register+y}
17612 printf %s
"(cached) " >&6
17614 ac_check_lib_save_LIBS
=$LIBS
17615 LIBS
="-lcapi20 $CAPI20_LIBS $LIBS"
17616 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17617 /* end confdefs.h. */
17619 /* Override any GCC internal prototype to avoid an error.
17620 Use char because int might match the return type of a GCC
17621 builtin and then its argument prototype would still apply. */
17622 char capi20_register ();
17626 return capi20_register ();
17631 if ac_fn_c_try_link
"$LINENO"
17633 ac_cv_lib_capi20_capi20_register
=yes
17635 ac_cv_lib_capi20_capi20_register
=no
17637 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17638 conftest
$ac_exeext conftest.
$ac_ext
17639 LIBS
=$ac_check_lib_save_LIBS
17641 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_capi20_capi20_register" >&5
17642 printf "%s\n" "$ac_cv_lib_capi20_capi20_register" >&6; }
17643 if test "x$ac_cv_lib_capi20_capi20_register" = xyes
17651 CPPFLAGS
=$ac_save_CPPFLAGS
17654 if test "x$ac_cv_lib_capi20_capi20_register" != xyes
17656 case "x$with_capi" in
17657 x
) as_fn_append wine_notices
"|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
17659 *) as_fn_error $?
"libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
17660 This is an error since --with-capi was requested." "$LINENO" 5 ;;
17662 enable_capi2032
=${enable_capi2032:-no}
17665 if test "x$with_cups" != "xno"
17668 if ${CUPS_CFLAGS:+false} :
17670 if test ${PKG_CONFIG+y}
17672 CUPS_CFLAGS
=`$PKG_CONFIG --cflags cups 2>conftest.err`
17675 test "$cross_compiling" = yes || CUPS_CFLAGS
=${CUPS_CFLAGS:-`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`}
17676 if ${CUPS_LIBS:+false} :
17678 if test ${PKG_CONFIG+y}
17680 CUPS_LIBS
=`$PKG_CONFIG --libs cups 2>/dev/null`
17683 test "$cross_compiling" = yes || CUPS_LIBS
=${CUPS_LIBS:-`${CUPS_CONFIG:-cups-config} --libs 2>/dev/null`}
17684 CUPS_LIBS
=${CUPS_LIBS:-"-lcups"}
17685 printf "%s\n" "$as_me:${as_lineno-$LINENO}: cups cflags: $CUPS_CFLAGS" >&5
17686 printf "%s\n" "$as_me:${as_lineno-$LINENO}: cups libs: $CUPS_LIBS" >&5
17687 if test -s conftest.err
; then
17688 printf %s
"$as_me:${as_lineno-$LINENO}: cups errors: " >&5
17689 cat conftest.err
>&5
17692 ac_save_CPPFLAGS
=$CPPFLAGS
17693 CPPFLAGS
="$CPPFLAGS $CUPS_CFLAGS"
17694 ac_fn_c_check_header_compile
"$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
17695 if test "x$ac_cv_header_cups_cups_h" = xyes
17697 printf "%s\n" "#define HAVE_CUPS_CUPS_H 1" >>confdefs.h
17700 ac_fn_c_check_header_compile
"$LINENO" "cups/ppd.h" "ac_cv_header_cups_ppd_h" "$ac_includes_default"
17701 if test "x$ac_cv_header_cups_ppd_h" = xyes
17703 printf "%s\n" "#define HAVE_CUPS_PPD_H 1" >>confdefs.h
17707 if test "$ac_cv_header_cups_cups_h" = "yes"
17709 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
17710 printf %s
"checking for -lcups... " >&6; }
17711 if test ${ac_cv_lib_soname_cups+y}
17713 printf %s
"(cached) " >&6
17715 ac_check_soname_save_LIBS
=$LIBS
17716 LIBS
="-lcups $CUPS_LIBS $LIBS"
17717 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17718 /* end confdefs.h. */
17720 /* Override any GCC internal prototype to avoid an error.
17721 Use char because int might match the return type of a GCC
17722 builtin and then its argument prototype would still apply. */
17723 char cupsGetDefault ();
17727 return cupsGetDefault ();
17732 if ac_fn_c_try_link
"$LINENO"
17735 dll
) ac_cv_lib_soname_cups
=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17736 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'` ;;
17737 *) ac_cv_lib_soname_cups
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17738 if ${ac_cv_lib_soname_cups:+false} :
17740 ac_cv_lib_soname_cups
=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17744 ac_cv_lib_soname_cups
=
17746 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17747 conftest
$ac_exeext conftest.
$ac_ext
17748 LIBS
=$ac_check_soname_save_LIBS
17750 if ${ac_cv_lib_soname_cups:+false} :
17752 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17753 printf "%s\n" "not found" >&6; }
17756 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
17757 printf "%s\n" "$ac_cv_lib_soname_cups" >&6; }
17759 printf "%s\n" "#define SONAME_LIBCUPS \"$ac_cv_lib_soname_cups\"" >>confdefs.h
17767 CPPFLAGS
=$ac_save_CPPFLAGS
17770 if test "x$ac_cv_lib_soname_cups" = "x"
17772 case "x$with_cups" in
17773 x
) as_fn_append wine_notices
"|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
17775 *) as_fn_error $?
"libcups ${notice_platform}development files not found, CUPS won't be supported.
17776 This is an error since --with-cups was requested." "$LINENO" 5 ;;
17781 if test "x$with_fontconfig" != "xno"
17784 if ${FONTCONFIG_CFLAGS:+false} :
17786 if test ${PKG_CONFIG+y}
17788 FONTCONFIG_CFLAGS
=`$PKG_CONFIG --cflags fontconfig 2>conftest.err`
17791 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS
=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
17792 if ${FONTCONFIG_LIBS:+false} :
17794 if test ${PKG_CONFIG+y}
17796 FONTCONFIG_LIBS
=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
17799 test "$cross_compiling" = yes || FONTCONFIG_LIBS
=${FONTCONFIG_LIBS:-$X_LIBS}
17801 printf "%s\n" "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
17802 printf "%s\n" "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
17803 if test -s conftest.err
; then
17804 printf %s
"$as_me:${as_lineno-$LINENO}: fontconfig errors: " >&5
17805 cat conftest.err
>&5
17808 ac_save_CPPFLAGS
=$CPPFLAGS
17809 CPPFLAGS
="$CPPFLAGS $FONTCONFIG_CFLAGS"
17810 ac_fn_c_check_header_compile
"$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
17811 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes
17813 printf "%s\n" "#define HAVE_FONTCONFIG_FONTCONFIG_H 1" >>confdefs.h
17817 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
17819 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
17820 printf %s
"checking for -lfontconfig... " >&6; }
17821 if test ${ac_cv_lib_soname_fontconfig+y}
17823 printf %s
"(cached) " >&6
17825 ac_check_soname_save_LIBS
=$LIBS
17826 LIBS
="-lfontconfig $FONTCONFIG_LIBS $LIBS"
17827 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17828 /* end confdefs.h. */
17830 /* Override any GCC internal prototype to avoid an error.
17831 Use char because int might match the return type of a GCC
17832 builtin and then its argument prototype would still apply. */
17842 if ac_fn_c_try_link
"$LINENO"
17845 dll
) ac_cv_lib_soname_fontconfig
=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17846 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'` ;;
17847 *) ac_cv_lib_soname_fontconfig
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17848 if ${ac_cv_lib_soname_fontconfig:+false} :
17850 ac_cv_lib_soname_fontconfig
=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17854 ac_cv_lib_soname_fontconfig
=
17856 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17857 conftest
$ac_exeext conftest.
$ac_ext
17858 LIBS
=$ac_check_soname_save_LIBS
17860 if ${ac_cv_lib_soname_fontconfig:+false} :
17862 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17863 printf "%s\n" "not found" >&6; }
17864 FONTCONFIG_CFLAGS
=""
17866 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
17867 printf "%s\n" "$ac_cv_lib_soname_fontconfig" >&6; }
17869 printf "%s\n" "#define SONAME_LIBFONTCONFIG \"$ac_cv_lib_soname_fontconfig\"" >>confdefs.h
17874 FONTCONFIG_CFLAGS
=""
17876 CPPFLAGS
=$ac_save_CPPFLAGS
17879 if test "x$ac_cv_lib_soname_fontconfig" = "x"
17881 case "x$with_fontconfig" in
17882 x
) as_fn_append wine_notices
"|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
17884 *) as_fn_error $?
"fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
17885 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
17890 if test "x$with_krb5" != "xno"
17893 if ${KRB5_CFLAGS:+false} :
17895 if test ${PKG_CONFIG+y}
17897 KRB5_CFLAGS
=`$PKG_CONFIG --cflags krb5 2>conftest.err`
17900 test "$cross_compiling" = yes || KRB5_CFLAGS
=${KRB5_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags 2>/dev/null`}
17901 if ${KRB5_LIBS:+false} :
17903 if test ${PKG_CONFIG+y}
17905 KRB5_LIBS
=`$PKG_CONFIG --libs krb5 2>/dev/null`
17908 test "$cross_compiling" = yes || KRB5_LIBS
=${KRB5_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs 2>/dev/null`}
17910 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5 cflags: $KRB5_CFLAGS" >&5
17911 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5 libs: $KRB5_LIBS" >&5
17912 if test -s conftest.err
; then
17913 printf %s
"$as_me:${as_lineno-$LINENO}: krb5 errors: " >&5
17914 cat conftest.err
>&5
17917 ac_save_CPPFLAGS
=$CPPFLAGS
17918 CPPFLAGS
="$CPPFLAGS $KRB5_CFLAGS"
17919 ac_fn_c_check_header_compile
"$LINENO" "krb5/krb5.h" "ac_cv_header_krb5_krb5_h" "$ac_includes_default"
17920 if test "x$ac_cv_header_krb5_krb5_h" = xyes
17922 printf "%s\n" "#define HAVE_KRB5_KRB5_H 1" >>confdefs.h
17926 if test "$ac_cv_header_krb5_krb5_h" = "yes"
17928 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lkrb5" >&5
17929 printf %s
"checking for -lkrb5... " >&6; }
17930 if test ${ac_cv_lib_soname_krb5+y}
17932 printf %s
"(cached) " >&6
17934 ac_check_soname_save_LIBS
=$LIBS
17935 LIBS
="-lkrb5 $KRB5_LIBS $LIBS"
17936 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17937 /* end confdefs.h. */
17939 /* Override any GCC internal prototype to avoid an error.
17940 Use char because int might match the return type of a GCC
17941 builtin and then its argument prototype would still apply. */
17942 char krb5_is_config_principal ();
17946 return krb5_is_config_principal ();
17951 if ac_fn_c_try_link
"$LINENO"
17954 dll
) ac_cv_lib_soname_krb5
=`$ac_cv_path_LDD conftest.exe | grep "krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17955 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'` ;;
17956 *) ac_cv_lib_soname_krb5
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libkrb5\\.$LIBEXT" | sed -e "s/^.*\\[\\(libkrb5\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17957 if ${ac_cv_lib_soname_krb5:+false} :
17959 ac_cv_lib_soname_krb5
=`$LDD conftest$ac_exeext | grep "libkrb5\\.$LIBEXT" | sed -e "s/^.*\(libkrb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17963 ac_cv_lib_soname_krb5
=
17965 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17966 conftest
$ac_exeext conftest.
$ac_ext
17967 LIBS
=$ac_check_soname_save_LIBS
17969 if ${ac_cv_lib_soname_krb5:+false} :
17971 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17972 printf "%s\n" "not found" >&6; }
17975 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_krb5" >&5
17976 printf "%s\n" "$ac_cv_lib_soname_krb5" >&6; }
17978 printf "%s\n" "#define SONAME_LIBKRB5 \"$ac_cv_lib_soname_krb5\"" >>confdefs.h
17985 CPPFLAGS
=$ac_save_CPPFLAGS
17988 if test "x$ac_cv_lib_soname_krb5" = "x"
17990 case "x$with_krb5" in
17991 x
) as_fn_append wine_notices
"|libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported." ;;
17993 *) as_fn_error $?
"libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported.
17994 This is an error since --with-krb5 was requested." "$LINENO" 5 ;;
17998 test "x$ac_cv_lib_soname_krb5" != "x" || with_gssapi
=${with_gssapi:-no}
18000 if test "x$with_gssapi" != "xno"
18003 if ${GSSAPI_CFLAGS:+false} :
18005 if test ${PKG_CONFIG+y}
18007 GSSAPI_CFLAGS
=`$PKG_CONFIG --cflags krb5-gssapi 2>conftest.err`
18010 test "$cross_compiling" = yes || GSSAPI_CFLAGS
=${GSSAPI_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags gssapi 2>/dev/null`}
18011 if ${GSSAPI_LIBS:+false} :
18013 if test ${PKG_CONFIG+y}
18015 GSSAPI_LIBS
=`$PKG_CONFIG --libs krb5-gssapi 2>/dev/null`
18018 test "$cross_compiling" = yes || GSSAPI_LIBS
=${GSSAPI_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs gssapi 2>/dev/null`}
18020 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5-gssapi cflags: $GSSAPI_CFLAGS" >&5
18021 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5-gssapi libs: $GSSAPI_LIBS" >&5
18022 if test -s conftest.err
; then
18023 printf %s
"$as_me:${as_lineno-$LINENO}: krb5-gssapi errors: " >&5
18024 cat conftest.err
>&5
18027 ac_save_CPPFLAGS
=$CPPFLAGS
18028 CPPFLAGS
="$CPPFLAGS $GSSAPI_CFLAGS"
18029 ac_fn_c_check_header_compile
"$LINENO" "gssapi/gssapi.h" "ac_cv_header_gssapi_gssapi_h" "$ac_includes_default"
18030 if test "x$ac_cv_header_gssapi_gssapi_h" = xyes
18032 printf "%s\n" "#define HAVE_GSSAPI_GSSAPI_H 1" >>confdefs.h
18035 ac_fn_c_check_header_compile
"$LINENO" "gssapi/gssapi_ext.h" "ac_cv_header_gssapi_gssapi_ext_h" "$ac_includes_default"
18036 if test "x$ac_cv_header_gssapi_gssapi_ext_h" = xyes
18038 printf "%s\n" "#define HAVE_GSSAPI_GSSAPI_EXT_H 1" >>confdefs.h
18042 if test "$ac_cv_header_gssapi_gssapi_h" = "yes" -a "$ac_cv_header_gssapi_gssapi_ext_h" = "yes"
18044 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lgssapi_krb5" >&5
18045 printf %s
"checking for -lgssapi_krb5... " >&6; }
18046 if test ${ac_cv_lib_soname_gssapi_krb5+y}
18048 printf %s
"(cached) " >&6
18050 ac_check_soname_save_LIBS
=$LIBS
18051 LIBS
="-lgssapi_krb5 $GSSAPI_LIBS $LIBS"
18052 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18053 /* end confdefs.h. */
18055 /* Override any GCC internal prototype to avoid an error.
18056 Use char because int might match the return type of a GCC
18057 builtin and then its argument prototype would still apply. */
18058 char gss_init_sec_context ();
18062 return gss_init_sec_context ();
18067 if ac_fn_c_try_link
"$LINENO"
18070 dll
) ac_cv_lib_soname_gssapi_krb5
=`$ac_cv_path_LDD conftest.exe | grep "gssapi_krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18071 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'` ;;
18072 *) 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'`
18073 if ${ac_cv_lib_soname_gssapi_krb5:+false} :
18075 ac_cv_lib_soname_gssapi_krb5
=`$LDD conftest$ac_exeext | grep "libgssapi_krb5\\.$LIBEXT" | sed -e "s/^.*\(libgssapi_krb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18079 ac_cv_lib_soname_gssapi_krb5
=
18081 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18082 conftest
$ac_exeext conftest.
$ac_ext
18083 LIBS
=$ac_check_soname_save_LIBS
18085 if ${ac_cv_lib_soname_gssapi_krb5:+false} :
18087 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18088 printf "%s\n" "not found" >&6; }
18091 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gssapi_krb5" >&5
18092 printf "%s\n" "$ac_cv_lib_soname_gssapi_krb5" >&6; }
18094 printf "%s\n" "#define SONAME_LIBGSSAPI_KRB5 \"$ac_cv_lib_soname_gssapi_krb5\"" >>confdefs.h
18101 CPPFLAGS
=$ac_save_CPPFLAGS
18104 if test "x$ac_cv_lib_soname_gssapi_krb5" = "x"
18106 case "x$with_gssapi" in
18107 x
) as_fn_append wine_notices
"|libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support." ;;
18109 *) as_fn_error $?
"libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support.
18110 This is an error since --with-gssapi was requested." "$LINENO" 5 ;;
18115 if test "$ac_cv_header_libprocstat_h" = "yes"
18117 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
18118 printf %s
"checking for procstat_open_sysctl in -lprocstat... " >&6; }
18119 if test ${ac_cv_lib_procstat_procstat_open_sysctl+y}
18121 printf %s
"(cached) " >&6
18123 ac_check_lib_save_LIBS
=$LIBS
18124 LIBS
="-lprocstat $LIBS"
18125 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18126 /* end confdefs.h. */
18128 /* Override any GCC internal prototype to avoid an error.
18129 Use char because int might match the return type of a GCC
18130 builtin and then its argument prototype would still apply. */
18131 char procstat_open_sysctl ();
18135 return procstat_open_sysctl ();
18140 if ac_fn_c_try_link
"$LINENO"
18142 ac_cv_lib_procstat_procstat_open_sysctl
=yes
18144 ac_cv_lib_procstat_procstat_open_sysctl
=no
18146 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18147 conftest
$ac_exeext conftest.
$ac_ext
18148 LIBS
=$ac_check_lib_save_LIBS
18150 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
18151 printf "%s\n" "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
18152 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes
18155 printf "%s\n" "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
18157 PROCSTAT_LIBS
="-lprocstat"
18163 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
18164 printf %s
"checking for -lodbc... " >&6; }
18165 if test ${ac_cv_lib_soname_odbc+y}
18167 printf %s
"(cached) " >&6
18169 ac_check_soname_save_LIBS
=$LIBS
18170 LIBS
="-lodbc $LIBS"
18171 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18172 /* end confdefs.h. */
18174 /* Override any GCC internal prototype to avoid an error.
18175 Use char because int might match the return type of a GCC
18176 builtin and then its argument prototype would still apply. */
18177 char SQLConnect ();
18181 return SQLConnect ();
18186 if ac_fn_c_try_link
"$LINENO"
18189 dll
) ac_cv_lib_soname_odbc
=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18190 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'` ;;
18191 *) ac_cv_lib_soname_odbc
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18192 if ${ac_cv_lib_soname_odbc:+false} :
18194 ac_cv_lib_soname_odbc
=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18198 ac_cv_lib_soname_odbc
=
18200 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18201 conftest
$ac_exeext conftest.
$ac_ext
18202 LIBS
=$ac_check_soname_save_LIBS
18204 if ${ac_cv_lib_soname_odbc:+false} :
18206 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18207 printf "%s\n" "not found" >&6; }
18208 printf "%s\n" "#define SONAME_LIBODBC \"libodbc.$LIBEXT\"" >>confdefs.h
18211 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
18212 printf "%s\n" "$ac_cv_lib_soname_odbc" >&6; }
18214 printf "%s\n" "#define SONAME_LIBODBC \"$ac_cv_lib_soname_odbc\"" >>confdefs.h
18219 if test "x$with_netapi" != "xno"
18222 if ${NETAPI_CFLAGS:+false} :
18224 if test ${PKG_CONFIG+y}
18226 NETAPI_CFLAGS
=`$PKG_CONFIG --cflags netapi 2>conftest.err`
18230 if ${NETAPI_LIBS:+false} :
18232 if test ${PKG_CONFIG+y}
18234 NETAPI_LIBS
=`$PKG_CONFIG --libs netapi 2>/dev/null`
18239 printf "%s\n" "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
18240 printf "%s\n" "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
18241 if test -s conftest.err
; then
18242 printf %s
"$as_me:${as_lineno-$LINENO}: netapi errors: " >&5
18243 cat conftest.err
>&5
18246 ac_save_CPPFLAGS
=$CPPFLAGS
18247 CPPFLAGS
="$CPPFLAGS $NETAPI_CFLAGS"
18248 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
18249 printf %s
"checking for -lnetapi... " >&6; }
18250 if test ${ac_cv_lib_soname_netapi+y}
18252 printf %s
"(cached) " >&6
18254 ac_check_soname_save_LIBS
=$LIBS
18255 LIBS
="-lnetapi $NETAPI_LIBS $LIBS"
18256 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18257 /* end confdefs.h. */
18259 /* Override any GCC internal prototype to avoid an error.
18260 Use char because int might match the return type of a GCC
18261 builtin and then its argument prototype would still apply. */
18262 char libnetapi_init ();
18266 return libnetapi_init ();
18271 if ac_fn_c_try_link
"$LINENO"
18274 dll
) ac_cv_lib_soname_netapi
=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18275 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'` ;;
18276 *) ac_cv_lib_soname_netapi
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18277 if ${ac_cv_lib_soname_netapi:+false} :
18279 ac_cv_lib_soname_netapi
=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18283 ac_cv_lib_soname_netapi
=
18285 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18286 conftest
$ac_exeext conftest.
$ac_ext
18287 LIBS
=$ac_check_soname_save_LIBS
18289 if ${ac_cv_lib_soname_netapi:+false} :
18291 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18292 printf "%s\n" "not found" >&6; }
18293 printf "%s\n" "#define SONAME_LIBNETAPI \"libnetapi.$LIBEXT\"" >>confdefs.h
18296 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
18297 printf "%s\n" "$ac_cv_lib_soname_netapi" >&6; }
18299 printf "%s\n" "#define SONAME_LIBNETAPI \"$ac_cv_lib_soname_netapi\"" >>confdefs.h
18303 CPPFLAGS
=$ac_save_CPPFLAGS
18306 if test "x$ac_cv_lib_soname_netapi" = "x"
18308 case "x$with_netapi" in
18309 x
) as_fn_append wine_notices
"|libnetapi not found, Samba NetAPI won't be supported." ;;
18311 *) as_fn_error $?
"libnetapi not found, Samba NetAPI won't be supported.
18312 This is an error since --with-netapi was requested." "$LINENO" 5 ;;
18314 enable_netapi
=${enable_netapi:-no}
18318 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono
-a \
18319 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
18321 as_fn_append wine_warnings
"|No sound system was found. Windows applications will be silent."
18324 if test "x$with_vulkan" != "xno"
18326 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lvulkan" >&5
18327 printf %s
"checking for -lvulkan... " >&6; }
18328 if test ${ac_cv_lib_soname_vulkan+y}
18330 printf %s
"(cached) " >&6
18332 ac_check_soname_save_LIBS
=$LIBS
18333 LIBS
="-lvulkan $LIBS"
18334 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18335 /* end confdefs.h. */
18337 /* Override any GCC internal prototype to avoid an error.
18338 Use char because int might match the return type of a GCC
18339 builtin and then its argument prototype would still apply. */
18340 char vkGetInstanceProcAddr ();
18344 return vkGetInstanceProcAddr ();
18349 if ac_fn_c_try_link
"$LINENO"
18352 dll
) ac_cv_lib_soname_vulkan
=`$ac_cv_path_LDD conftest.exe | grep "vulkan" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18353 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'` ;;
18354 *) ac_cv_lib_soname_vulkan
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvulkan\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvulkan\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18355 if ${ac_cv_lib_soname_vulkan:+false} :
18357 ac_cv_lib_soname_vulkan
=`$LDD conftest$ac_exeext | grep "libvulkan\\.$LIBEXT" | sed -e "s/^.*\(libvulkan\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18361 ac_cv_lib_soname_vulkan
=
18363 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18364 conftest
$ac_exeext conftest.
$ac_ext
18365 LIBS
=$ac_check_soname_save_LIBS
18367 if ${ac_cv_lib_soname_vulkan:+false} :
18369 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18370 printf "%s\n" "not found" >&6; }
18373 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vulkan" >&5
18374 printf "%s\n" "$ac_cv_lib_soname_vulkan" >&6; }
18376 printf "%s\n" "#define SONAME_LIBVULKAN \"$ac_cv_lib_soname_vulkan\"" >>confdefs.h
18380 if test "x$ac_cv_lib_soname_vulkan" = "x"
18382 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lMoltenVK" >&5
18383 printf %s
"checking for -lMoltenVK... " >&6; }
18384 if test ${ac_cv_lib_soname_MoltenVK+y}
18386 printf %s
"(cached) " >&6
18388 ac_check_soname_save_LIBS
=$LIBS
18389 LIBS
="-lMoltenVK $LIBS"
18390 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18391 /* end confdefs.h. */
18393 /* Override any GCC internal prototype to avoid an error.
18394 Use char because int might match the return type of a GCC
18395 builtin and then its argument prototype would still apply. */
18396 char vkGetInstanceProcAddr ();
18400 return vkGetInstanceProcAddr ();
18405 if ac_fn_c_try_link
"$LINENO"
18408 dll
) ac_cv_lib_soname_MoltenVK
=`$ac_cv_path_LDD conftest.exe | grep "MoltenVK" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18409 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'` ;;
18410 *) ac_cv_lib_soname_MoltenVK
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\\[\\(libMoltenVK\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18411 if ${ac_cv_lib_soname_MoltenVK:+false} :
18413 ac_cv_lib_soname_MoltenVK
=`$LDD conftest$ac_exeext | grep "libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\(libMoltenVK\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18417 ac_cv_lib_soname_MoltenVK
=
18419 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18420 conftest
$ac_exeext conftest.
$ac_ext
18421 LIBS
=$ac_check_soname_save_LIBS
18423 if ${ac_cv_lib_soname_MoltenVK:+false} :
18425 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18426 printf "%s\n" "not found" >&6; }
18429 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_MoltenVK" >&5
18430 printf "%s\n" "$ac_cv_lib_soname_MoltenVK" >&6; }
18432 printf "%s\n" "#define SONAME_LIBMOLTENVK \"$ac_cv_lib_soname_MoltenVK\"" >>confdefs.h
18438 if test "x$ac_cv_lib_soname_vulkan" = "x" -a "x$ac_cv_lib_soname_MoltenVK" = "x"
18440 case "x$with_vulkan" in
18441 x
) as_fn_append wine_notices
"|libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported." ;;
18443 *) as_fn_error $?
"libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported.
18444 This is an error since --with-vulkan was requested." "$LINENO" 5 ;;
18450 if test "x${GCC}" = "xyes"
18452 EXTRACFLAGS
="$EXTRACFLAGS -Wall -pipe"
18454 saved_CFLAGS
=$CFLAGS
18455 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
18456 printf %s
"checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
18457 if test ${ac_cv_cflags__Werror_unknown_warning_option+y}
18459 printf %s
"(cached) " >&6
18461 ac_wine_try_cflags_saved
=$CFLAGS
18462 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
18463 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18464 /* end confdefs.h. */
18465 int main(int argc, char **argv) { return 0; }
18467 if ac_fn_c_try_link
"$LINENO"
18469 ac_cv_cflags__Werror_unknown_warning_option
=yes
18471 ac_cv_cflags__Werror_unknown_warning_option
=no
18473 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18474 conftest
$ac_exeext conftest.
$ac_ext
18475 CFLAGS
=$ac_wine_try_cflags_saved
18477 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
18478 printf "%s\n" "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
18479 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes
18481 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
18483 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unused-command-line-argument" >&5
18484 printf %s
"checking whether the compiler supports -Werror=unused-command-line-argument... " >&6; }
18485 if test ${ac_cv_cflags__Werror_unused_command_line_argument+y}
18487 printf %s
"(cached) " >&6
18489 ac_wine_try_cflags_saved
=$CFLAGS
18490 CFLAGS
="$CFLAGS -Werror=unused-command-line-argument"
18491 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18492 /* end confdefs.h. */
18493 int main(int argc, char **argv) { return 0; }
18495 if ac_fn_c_try_link
"$LINENO"
18497 ac_cv_cflags__Werror_unused_command_line_argument
=yes
18499 ac_cv_cflags__Werror_unused_command_line_argument
=no
18501 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18502 conftest
$ac_exeext conftest.
$ac_ext
18503 CFLAGS
=$ac_wine_try_cflags_saved
18505 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unused_command_line_argument" >&5
18506 printf "%s\n" "$ac_cv_cflags__Werror_unused_command_line_argument" >&6; }
18507 if test "x$ac_cv_cflags__Werror_unused_command_line_argument" = xyes
18509 CFLAGS
="$CFLAGS -Werror=unused-command-line-argument"
18511 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=ignored-optimization-argument" >&5
18512 printf %s
"checking whether the compiler supports -Werror=ignored-optimization-argument... " >&6; }
18513 if test ${ac_cv_cflags__Werror_ignored_optimization_argument+y}
18515 printf %s
"(cached) " >&6
18517 ac_wine_try_cflags_saved
=$CFLAGS
18518 CFLAGS
="$CFLAGS -Werror=ignored-optimization-argument"
18519 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18520 /* end confdefs.h. */
18521 int main(int argc, char **argv) { return 0; }
18523 if ac_fn_c_try_link
"$LINENO"
18525 ac_cv_cflags__Werror_ignored_optimization_argument
=yes
18527 ac_cv_cflags__Werror_ignored_optimization_argument
=no
18529 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18530 conftest
$ac_exeext conftest.
$ac_ext
18531 CFLAGS
=$ac_wine_try_cflags_saved
18533 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_ignored_optimization_argument" >&5
18534 printf "%s\n" "$ac_cv_cflags__Werror_ignored_optimization_argument" >&6; }
18535 if test "x$ac_cv_cflags__Werror_ignored_optimization_argument" = xyes
18537 CFLAGS
="$CFLAGS -Werror=ignored-optimization-argument"
18539 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fcf-protection=none" >&5
18540 printf %s
"checking whether the compiler supports -fcf-protection=none... " >&6; }
18541 if test ${ac_cv_cflags__fcf_protection_none+y}
18543 printf %s
"(cached) " >&6
18545 ac_wine_try_cflags_saved
=$CFLAGS
18546 CFLAGS
="$CFLAGS -fcf-protection=none"
18547 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18548 /* end confdefs.h. */
18549 int main(int argc, char **argv) { return 0; }
18551 if ac_fn_c_try_link
"$LINENO"
18553 ac_cv_cflags__fcf_protection_none
=yes
18555 ac_cv_cflags__fcf_protection_none
=no
18557 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18558 conftest
$ac_exeext conftest.
$ac_ext
18559 CFLAGS
=$ac_wine_try_cflags_saved
18561 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fcf_protection_none" >&5
18562 printf "%s\n" "$ac_cv_cflags__fcf_protection_none" >&6; }
18563 if test "x$ac_cv_cflags__fcf_protection_none" = xyes
18565 EXTRACFLAGS
="$EXTRACFLAGS -fcf-protection=none"
18567 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-stack-protector" >&5
18568 printf %s
"checking whether the compiler supports -fno-stack-protector... " >&6; }
18569 if test ${ac_cv_cflags__fno_stack_protector+y}
18571 printf %s
"(cached) " >&6
18573 ac_wine_try_cflags_saved
=$CFLAGS
18574 CFLAGS
="$CFLAGS -fno-stack-protector"
18575 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18576 /* end confdefs.h. */
18577 int main(int argc, char **argv) { return 0; }
18579 if ac_fn_c_try_link
"$LINENO"
18581 ac_cv_cflags__fno_stack_protector
=yes
18583 ac_cv_cflags__fno_stack_protector
=no
18585 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18586 conftest
$ac_exeext conftest.
$ac_ext
18587 CFLAGS
=$ac_wine_try_cflags_saved
18589 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_stack_protector" >&5
18590 printf "%s\n" "$ac_cv_cflags__fno_stack_protector" >&6; }
18591 if test "x$ac_cv_cflags__fno_stack_protector" = xyes
18593 EXTRACFLAGS
="$EXTRACFLAGS -fno-stack-protector"
18595 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
18596 printf %s
"checking whether the compiler supports -fno-strict-aliasing... " >&6; }
18597 if test ${ac_cv_cflags__fno_strict_aliasing+y}
18599 printf %s
"(cached) " >&6
18601 ac_wine_try_cflags_saved
=$CFLAGS
18602 CFLAGS
="$CFLAGS -fno-strict-aliasing"
18603 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18604 /* end confdefs.h. */
18605 int main(int argc, char **argv) { return 0; }
18607 if ac_fn_c_try_link
"$LINENO"
18609 ac_cv_cflags__fno_strict_aliasing
=yes
18611 ac_cv_cflags__fno_strict_aliasing
=no
18613 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18614 conftest
$ac_exeext conftest.
$ac_ext
18615 CFLAGS
=$ac_wine_try_cflags_saved
18617 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
18618 printf "%s\n" "$ac_cv_cflags__fno_strict_aliasing" >&6; }
18619 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes
18621 EXTRACFLAGS
="$EXTRACFLAGS -fno-strict-aliasing"
18623 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
18624 printf %s
"checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
18625 if test ${ac_cv_cflags__Wdeclaration_after_statement+y}
18627 printf %s
"(cached) " >&6
18629 ac_wine_try_cflags_saved
=$CFLAGS
18630 CFLAGS
="$CFLAGS -Wdeclaration-after-statement"
18631 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18632 /* end confdefs.h. */
18633 int main(int argc, char **argv) { return 0; }
18635 if ac_fn_c_try_link
"$LINENO"
18637 ac_cv_cflags__Wdeclaration_after_statement
=yes
18639 ac_cv_cflags__Wdeclaration_after_statement
=no
18641 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18642 conftest
$ac_exeext conftest.
$ac_ext
18643 CFLAGS
=$ac_wine_try_cflags_saved
18645 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
18646 printf "%s\n" "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
18647 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes
18649 EXTRACFLAGS
="$EXTRACFLAGS -Wdeclaration-after-statement"
18651 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
18652 printf %s
"checking whether the compiler supports -Wempty-body... " >&6; }
18653 if test ${ac_cv_cflags__Wempty_body+y}
18655 printf %s
"(cached) " >&6
18657 ac_wine_try_cflags_saved
=$CFLAGS
18658 CFLAGS
="$CFLAGS -Wempty-body"
18659 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18660 /* end confdefs.h. */
18661 int main(int argc, char **argv) { return 0; }
18663 if ac_fn_c_try_link
"$LINENO"
18665 ac_cv_cflags__Wempty_body
=yes
18667 ac_cv_cflags__Wempty_body
=no
18669 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18670 conftest
$ac_exeext conftest.
$ac_ext
18671 CFLAGS
=$ac_wine_try_cflags_saved
18673 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
18674 printf "%s\n" "$ac_cv_cflags__Wempty_body" >&6; }
18675 if test "x$ac_cv_cflags__Wempty_body" = xyes
18677 EXTRACFLAGS
="$EXTRACFLAGS -Wempty-body"
18679 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
18680 printf %s
"checking whether the compiler supports -Wignored-qualifiers... " >&6; }
18681 if test ${ac_cv_cflags__Wignored_qualifiers+y}
18683 printf %s
"(cached) " >&6
18685 ac_wine_try_cflags_saved
=$CFLAGS
18686 CFLAGS
="$CFLAGS -Wignored-qualifiers"
18687 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18688 /* end confdefs.h. */
18689 int main(int argc, char **argv) { return 0; }
18691 if ac_fn_c_try_link
"$LINENO"
18693 ac_cv_cflags__Wignored_qualifiers
=yes
18695 ac_cv_cflags__Wignored_qualifiers
=no
18697 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18698 conftest
$ac_exeext conftest.
$ac_ext
18699 CFLAGS
=$ac_wine_try_cflags_saved
18701 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
18702 printf "%s\n" "$ac_cv_cflags__Wignored_qualifiers" >&6; }
18703 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes
18705 EXTRACFLAGS
="$EXTRACFLAGS -Wignored-qualifiers"
18707 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Winit-self" >&5
18708 printf %s
"checking whether the compiler supports -Winit-self... " >&6; }
18709 if test ${ac_cv_cflags__Winit_self+y}
18711 printf %s
"(cached) " >&6
18713 ac_wine_try_cflags_saved
=$CFLAGS
18714 CFLAGS
="$CFLAGS -Winit-self"
18715 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18716 /* end confdefs.h. */
18717 int main(int argc, char **argv) { return 0; }
18719 if ac_fn_c_try_link
"$LINENO"
18721 ac_cv_cflags__Winit_self
=yes
18723 ac_cv_cflags__Winit_self
=no
18725 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18726 conftest
$ac_exeext conftest.
$ac_ext
18727 CFLAGS
=$ac_wine_try_cflags_saved
18729 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Winit_self" >&5
18730 printf "%s\n" "$ac_cv_cflags__Winit_self" >&6; }
18731 if test "x$ac_cv_cflags__Winit_self" = xyes
18733 EXTRACFLAGS
="$EXTRACFLAGS -Winit-self"
18735 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpacked-not-aligned" >&5
18736 printf %s
"checking whether the compiler supports -Wpacked-not-aligned... " >&6; }
18737 if test ${ac_cv_cflags__Wpacked_not_aligned+y}
18739 printf %s
"(cached) " >&6
18741 ac_wine_try_cflags_saved
=$CFLAGS
18742 CFLAGS
="$CFLAGS -Wpacked-not-aligned"
18743 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18744 /* end confdefs.h. */
18745 int main(int argc, char **argv) { return 0; }
18747 if ac_fn_c_try_link
"$LINENO"
18749 ac_cv_cflags__Wpacked_not_aligned
=yes
18751 ac_cv_cflags__Wpacked_not_aligned
=no
18753 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18754 conftest
$ac_exeext conftest.
$ac_ext
18755 CFLAGS
=$ac_wine_try_cflags_saved
18757 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpacked_not_aligned" >&5
18758 printf "%s\n" "$ac_cv_cflags__Wpacked_not_aligned" >&6; }
18759 if test "x$ac_cv_cflags__Wpacked_not_aligned" = xyes
18761 EXTRACFLAGS
="$EXTRACFLAGS -Wno-packed-not-aligned"
18763 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpragma-pack" >&5
18764 printf %s
"checking whether the compiler supports -Wpragma-pack... " >&6; }
18765 if test ${ac_cv_cflags__Wpragma_pack+y}
18767 printf %s
"(cached) " >&6
18769 ac_wine_try_cflags_saved
=$CFLAGS
18770 CFLAGS
="$CFLAGS -Wpragma-pack"
18771 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18772 /* end confdefs.h. */
18773 int main(int argc, char **argv) { return 0; }
18775 if ac_fn_c_try_link
"$LINENO"
18777 ac_cv_cflags__Wpragma_pack
=yes
18779 ac_cv_cflags__Wpragma_pack
=no
18781 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18782 conftest
$ac_exeext conftest.
$ac_ext
18783 CFLAGS
=$ac_wine_try_cflags_saved
18785 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpragma_pack" >&5
18786 printf "%s\n" "$ac_cv_cflags__Wpragma_pack" >&6; }
18787 if test "x$ac_cv_cflags__Wpragma_pack" = xyes
18789 EXTRACFLAGS
="$EXTRACFLAGS -Wno-pragma-pack"
18791 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
18792 printf %s
"checking whether the compiler supports -Wshift-overflow=2... " >&6; }
18793 if test ${ac_cv_cflags__Wshift_overflow_2+y}
18795 printf %s
"(cached) " >&6
18797 ac_wine_try_cflags_saved
=$CFLAGS
18798 CFLAGS
="$CFLAGS -Wshift-overflow=2"
18799 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18800 /* end confdefs.h. */
18801 int main(int argc, char **argv) { return 0; }
18803 if ac_fn_c_try_link
"$LINENO"
18805 ac_cv_cflags__Wshift_overflow_2
=yes
18807 ac_cv_cflags__Wshift_overflow_2
=no
18809 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18810 conftest
$ac_exeext conftest.
$ac_ext
18811 CFLAGS
=$ac_wine_try_cflags_saved
18813 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
18814 printf "%s\n" "$ac_cv_cflags__Wshift_overflow_2" >&6; }
18815 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes
18817 EXTRACFLAGS
="$EXTRACFLAGS -Wshift-overflow=2"
18819 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
18820 printf %s
"checking whether the compiler supports -Wstrict-prototypes... " >&6; }
18821 if test ${ac_cv_cflags__Wstrict_prototypes+y}
18823 printf %s
"(cached) " >&6
18825 ac_wine_try_cflags_saved
=$CFLAGS
18826 CFLAGS
="$CFLAGS -Wstrict-prototypes"
18827 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18828 /* end confdefs.h. */
18829 int main(int argc, char **argv) { return 0; }
18831 if ac_fn_c_try_link
"$LINENO"
18833 ac_cv_cflags__Wstrict_prototypes
=yes
18835 ac_cv_cflags__Wstrict_prototypes
=no
18837 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18838 conftest
$ac_exeext conftest.
$ac_ext
18839 CFLAGS
=$ac_wine_try_cflags_saved
18841 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
18842 printf "%s\n" "$ac_cv_cflags__Wstrict_prototypes" >&6; }
18843 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes
18845 EXTRACFLAGS
="$EXTRACFLAGS -Wstrict-prototypes"
18847 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
18848 printf %s
"checking whether the compiler supports -Wtype-limits... " >&6; }
18849 if test ${ac_cv_cflags__Wtype_limits+y}
18851 printf %s
"(cached) " >&6
18853 ac_wine_try_cflags_saved
=$CFLAGS
18854 CFLAGS
="$CFLAGS -Wtype-limits"
18855 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18856 /* end confdefs.h. */
18857 int main(int argc, char **argv) { return 0; }
18859 if ac_fn_c_try_link
"$LINENO"
18861 ac_cv_cflags__Wtype_limits
=yes
18863 ac_cv_cflags__Wtype_limits
=no
18865 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18866 conftest
$ac_exeext conftest.
$ac_ext
18867 CFLAGS
=$ac_wine_try_cflags_saved
18869 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
18870 printf "%s\n" "$ac_cv_cflags__Wtype_limits" >&6; }
18871 if test "x$ac_cv_cflags__Wtype_limits" = xyes
18873 EXTRACFLAGS
="$EXTRACFLAGS -Wtype-limits"
18875 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
18876 printf %s
"checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
18877 if test ${ac_cv_cflags__Wunused_but_set_parameter+y}
18879 printf %s
"(cached) " >&6
18881 ac_wine_try_cflags_saved
=$CFLAGS
18882 CFLAGS
="$CFLAGS -Wunused-but-set-parameter"
18883 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18884 /* end confdefs.h. */
18885 int main(int argc, char **argv) { return 0; }
18887 if ac_fn_c_try_link
"$LINENO"
18889 ac_cv_cflags__Wunused_but_set_parameter
=yes
18891 ac_cv_cflags__Wunused_but_set_parameter
=no
18893 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18894 conftest
$ac_exeext conftest.
$ac_ext
18895 CFLAGS
=$ac_wine_try_cflags_saved
18897 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
18898 printf "%s\n" "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
18899 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes
18901 EXTRACFLAGS
="$EXTRACFLAGS -Wunused-but-set-parameter"
18903 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
18904 printf %s
"checking whether the compiler supports -Wvla... " >&6; }
18905 if test ${ac_cv_cflags__Wvla+y}
18907 printf %s
"(cached) " >&6
18909 ac_wine_try_cflags_saved
=$CFLAGS
18910 CFLAGS
="$CFLAGS -Wvla"
18911 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18912 /* end confdefs.h. */
18913 int main(int argc, char **argv) { return 0; }
18915 if ac_fn_c_try_link
"$LINENO"
18917 ac_cv_cflags__Wvla
=yes
18919 ac_cv_cflags__Wvla
=no
18921 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18922 conftest
$ac_exeext conftest.
$ac_ext
18923 CFLAGS
=$ac_wine_try_cflags_saved
18925 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
18926 printf "%s\n" "$ac_cv_cflags__Wvla" >&6; }
18927 if test "x$ac_cv_cflags__Wvla" = xyes
18929 EXTRACFLAGS
="$EXTRACFLAGS -Wvla"
18931 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
18932 printf %s
"checking whether the compiler supports -Wwrite-strings... " >&6; }
18933 if test ${ac_cv_cflags__Wwrite_strings+y}
18935 printf %s
"(cached) " >&6
18937 ac_wine_try_cflags_saved
=$CFLAGS
18938 CFLAGS
="$CFLAGS -Wwrite-strings"
18939 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18940 /* end confdefs.h. */
18941 int main(int argc, char **argv) { return 0; }
18943 if ac_fn_c_try_link
"$LINENO"
18945 ac_cv_cflags__Wwrite_strings
=yes
18947 ac_cv_cflags__Wwrite_strings
=no
18949 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18950 conftest
$ac_exeext conftest.
$ac_ext
18951 CFLAGS
=$ac_wine_try_cflags_saved
18953 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
18954 printf "%s\n" "$ac_cv_cflags__Wwrite_strings" >&6; }
18955 if test "x$ac_cv_cflags__Wwrite_strings" = xyes
18957 EXTRACFLAGS
="$EXTRACFLAGS -Wwrite-strings"
18960 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
18961 printf %s
"checking whether the compiler supports -Wpointer-arith... " >&6; }
18962 if test ${ac_cv_cflags__Wpointer_arith+y}
18964 printf %s
"(cached) " >&6
18966 ac_wine_try_cflags_saved
=$CFLAGS
18967 CFLAGS
="$CFLAGS -Wpointer-arith"
18968 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18969 /* end confdefs.h. */
18970 int main(int argc, char **argv) { return 0; }
18972 if ac_fn_c_try_link
"$LINENO"
18974 ac_cv_cflags__Wpointer_arith
=yes
18976 ac_cv_cflags__Wpointer_arith
=no
18978 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18979 conftest
$ac_exeext conftest.
$ac_ext
18980 CFLAGS
=$ac_wine_try_cflags_saved
18982 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
18983 printf "%s\n" "$ac_cv_cflags__Wpointer_arith" >&6; }
18984 if test "x$ac_cv_cflags__Wpointer_arith" = xyes
18986 saved_string_h_CFLAGS
=$CFLAGS
18987 CFLAGS
="$CFLAGS -Wpointer-arith -Werror"
18988 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
18989 printf %s
"checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
18990 if test ${ac_cv_c_string_h_warnings+y}
18992 printf %s
"(cached) " >&6
18994 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18995 /* end confdefs.h. */
18996 #include <string.h>
19005 if ac_fn_c_try_compile
"$LINENO"
19007 ac_cv_c_string_h_warnings
=no
19009 ac_cv_c_string_h_warnings
=yes
19011 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
19013 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
19014 printf "%s\n" "$ac_cv_c_string_h_warnings" >&6; }
19015 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS
="$EXTRACFLAGS -Wpointer-arith"
19016 CFLAGS
=$saved_string_h_CFLAGS
19019 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
19020 printf %s
"checking whether the compiler supports -Wlogical-op... " >&6; }
19021 if test ${ac_cv_cflags__Wlogical_op+y}
19023 printf %s
"(cached) " >&6
19025 ac_wine_try_cflags_saved
=$CFLAGS
19026 CFLAGS
="$CFLAGS -Wlogical-op"
19027 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19028 /* end confdefs.h. */
19029 int main(int argc, char **argv) { return 0; }
19031 if ac_fn_c_try_link
"$LINENO"
19033 ac_cv_cflags__Wlogical_op
=yes
19035 ac_cv_cflags__Wlogical_op
=no
19037 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19038 conftest
$ac_exeext conftest.
$ac_ext
19039 CFLAGS
=$ac_wine_try_cflags_saved
19041 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
19042 printf "%s\n" "$ac_cv_cflags__Wlogical_op" >&6; }
19043 if test "x$ac_cv_cflags__Wlogical_op" = xyes
19045 saved_string_h_CFLAGS
=$CFLAGS
19046 CFLAGS
="$CFLAGS -Wlogical-op -Werror"
19047 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
19048 printf %s
"checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
19049 if test ${ac_cv_c_logicalop_noisy+y}
19051 printf %s
"(cached) " >&6
19053 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19054 /* end confdefs.h. */
19055 #include <string.h>
19056 char*f(const char *h,char n) {return strchr(h,n);}
19065 if ac_fn_c_try_compile
"$LINENO"
19067 ac_cv_c_logicalop_noisy
=no
19069 ac_cv_c_logicalop_noisy
=yes
19071 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
19073 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
19074 printf "%s\n" "$ac_cv_c_logicalop_noisy" >&6; }
19075 CFLAGS
=$saved_string_h_CFLAGS
19076 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS
="$EXTRACFLAGS -Wlogical-op"
19079 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for flags needed for 64-bit compare-and-swap support" >&5
19080 printf %s
"checking for flags needed for 64-bit compare-and-swap support... " >&6; }
19081 if test ${wine_cv_64bit_compare_swap+y}
19083 printf %s
"(cached) " >&6
19085 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19086 /* end confdefs.h. */
19087 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
19098 if ac_fn_c_try_compile
"$LINENO"
19100 wine_cv_64bit_compare_swap
="none needed"
19103 *i
[3456]86*) wine_cv_64bit_compare_swap
="-march=i586" ;;
19104 *arm
*) wine_cv_64bit_compare_swap
="-march=armv7-a" ;;
19105 *) wine_cv_64bit_compare_swap
="unknown" ;;
19107 if test "x$wine_cv_64bit_compare_swap" != xunknown
19109 CFLAGS
="$CFLAGS $wine_cv_64bit_compare_swap"
19110 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19111 /* end confdefs.h. */
19112 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
19123 if ac_fn_c_try_compile
"$LINENO"
19127 wine_cv_64bit_compare_swap
="unknown"
19129 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
19130 CFLAGS
=$saved_CFLAGS
19133 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
19135 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_64bit_compare_swap" >&5
19136 printf "%s\n" "$wine_cv_64bit_compare_swap" >&6; }
19137 case "$wine_cv_64bit_compare_swap" in
19138 unknown
) as_fn_error $?
"gcc doesn't support 64-bit compare-and-swap on this platform" "$LINENO" 5 ;;
19140 *) EXTRACFLAGS
="$EXTRACFLAGS $wine_cv_64bit_compare_swap" ;;
19143 ac_debug_format_seen
=""
19144 for ac_flag
in $CFLAGS; do
19146 -gdwarf*) ac_debug_format_seen
=yes ;;
19147 -g) ac_debug_format_seen
=${ac_debug_format_seen:-default} ;;
19150 if test "x$ac_debug_format_seen" = xdefault
19152 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-4" >&5
19153 printf %s
"checking whether the compiler supports -gdwarf-4... " >&6; }
19154 if test ${ac_cv_cflags__gdwarf_4+y}
19156 printf %s
"(cached) " >&6
19158 ac_wine_try_cflags_saved
=$CFLAGS
19159 CFLAGS
="$CFLAGS -gdwarf-4"
19160 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19161 /* end confdefs.h. */
19162 int main(int argc, char **argv) { return 0; }
19164 if ac_fn_c_try_link
"$LINENO"
19166 ac_cv_cflags__gdwarf_4
=yes
19168 ac_cv_cflags__gdwarf_4
=no
19170 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19171 conftest
$ac_exeext conftest.
$ac_ext
19172 CFLAGS
=$ac_wine_try_cflags_saved
19174 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_4" >&5
19175 printf "%s\n" "$ac_cv_cflags__gdwarf_4" >&6; }
19176 if test "x$ac_cv_cflags__gdwarf_4" = xyes
19178 EXTRACFLAGS
="$EXTRACFLAGS -gdwarf-4"
19185 mingw32
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-delayload,autoconftest.dll" >&5
19186 printf %s
"checking whether the compiler supports -Wl,-delayload,autoconftest.dll... " >&6; }
19187 if test ${ac_cv_cflags__Wl__delayload_autoconftest_dll+y}
19189 printf %s
"(cached) " >&6
19191 ac_wine_try_cflags_saved
=$CFLAGS
19192 CFLAGS
="$CFLAGS -Wl,-delayload,autoconftest.dll"
19193 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19194 /* end confdefs.h. */
19195 int main(int argc, char **argv) { return 0; }
19197 if ac_fn_c_try_link
"$LINENO"
19199 ac_cv_cflags__Wl__delayload_autoconftest_dll
=yes
19201 ac_cv_cflags__Wl__delayload_autoconftest_dll
=no
19203 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19204 conftest
$ac_exeext conftest.
$ac_ext
19205 CFLAGS
=$ac_wine_try_cflags_saved
19207 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__delayload_autoconftest_dll" >&5
19208 printf "%s\n" "$ac_cv_cflags__Wl__delayload_autoconftest_dll" >&6; }
19209 if test "x$ac_cv_cflags__Wl__delayload_autoconftest_dll" = xyes
19211 DELAYLOADFLAG
="-Wl,-delayload,"
19214 *) MSVCRTFLAGS
="-D_WIN32"
19215 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
19216 printf %s
"checking whether the compiler supports -fno-builtin... " >&6; }
19217 if test ${ac_cv_cflags__fno_builtin+y}
19219 printf %s
"(cached) " >&6
19221 ac_wine_try_cflags_saved
=$CFLAGS
19222 CFLAGS
="$CFLAGS -fno-builtin"
19223 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19224 /* end confdefs.h. */
19225 int main(int argc, char **argv) { return 0; }
19227 if ac_fn_c_try_link
"$LINENO"
19229 ac_cv_cflags__fno_builtin
=yes
19231 ac_cv_cflags__fno_builtin
=no
19233 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19234 conftest
$ac_exeext conftest.
$ac_ext
19235 CFLAGS
=$ac_wine_try_cflags_saved
19237 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
19238 printf "%s\n" "$ac_cv_cflags__fno_builtin" >&6; }
19239 if test "x$ac_cv_cflags__fno_builtin" = xyes
19241 MSVCRTFLAGS
="$MSVCRTFLAGS -fno-builtin"
19243 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fshort-wchar" >&5
19244 printf %s
"checking whether the compiler supports -fshort-wchar... " >&6; }
19245 if test ${ac_cv_cflags__fshort_wchar+y}
19247 printf %s
"(cached) " >&6
19249 ac_wine_try_cflags_saved
=$CFLAGS
19250 CFLAGS
="$CFLAGS -fshort-wchar"
19251 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19252 /* end confdefs.h. */
19253 int main(int argc, char **argv) { return 0; }
19255 if ac_fn_c_try_link
"$LINENO"
19257 ac_cv_cflags__fshort_wchar
=yes
19259 ac_cv_cflags__fshort_wchar
=no
19261 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19262 conftest
$ac_exeext conftest.
$ac_ext
19263 CFLAGS
=$ac_wine_try_cflags_saved
19265 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fshort_wchar" >&5
19266 printf "%s\n" "$ac_cv_cflags__fshort_wchar" >&6; }
19267 if test "x$ac_cv_cflags__fshort_wchar" = xyes
19269 MSVCRTFLAGS
="$MSVCRTFLAGS -fshort-wchar"
19271 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
19272 printf %s
"checking whether the compiler supports -Wno-format... " >&6; }
19273 if test ${ac_cv_cflags__Wno_format+y}
19275 printf %s
"(cached) " >&6
19277 ac_wine_try_cflags_saved
=$CFLAGS
19278 CFLAGS
="$CFLAGS -Wno-format"
19279 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19280 /* end confdefs.h. */
19281 int main(int argc, char **argv) { return 0; }
19283 if ac_fn_c_try_link
"$LINENO"
19285 ac_cv_cflags__Wno_format
=yes
19287 ac_cv_cflags__Wno_format
=no
19289 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19290 conftest
$ac_exeext conftest.
$ac_ext
19291 CFLAGS
=$ac_wine_try_cflags_saved
19293 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
19294 printf "%s\n" "$ac_cv_cflags__Wno_format" >&6; }
19295 if test "x$ac_cv_cflags__Wno_format" = xyes
19297 MSVCRTFLAGS
="$MSVCRTFLAGS -Wno-format"
19302 *i
[3456789]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
19303 printf %s
"checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
19304 if test ${ac_cv_cflags__fno_omit_frame_pointer+y}
19306 printf %s
"(cached) " >&6
19308 ac_wine_try_cflags_saved
=$CFLAGS
19309 CFLAGS
="$CFLAGS -fno-omit-frame-pointer"
19310 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19311 /* end confdefs.h. */
19312 int main(int argc, char **argv) { return 0; }
19314 if ac_fn_c_try_link
"$LINENO"
19316 ac_cv_cflags__fno_omit_frame_pointer
=yes
19318 ac_cv_cflags__fno_omit_frame_pointer
=no
19320 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19321 conftest
$ac_exeext conftest.
$ac_ext
19322 CFLAGS
=$ac_wine_try_cflags_saved
19324 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
19325 printf "%s\n" "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
19326 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes
19328 MSVCRTFLAGS
="$MSVCRTFLAGS -fno-omit-frame-pointer"
19332 cygwin
*|mingw32
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
19333 printf %s
"checking whether the compiler supports -Wno-format... " >&6; }
19334 if test ${ac_cv_cflags__Wno_format+y}
19336 printf %s
"(cached) " >&6
19338 ac_wine_try_cflags_saved
=$CFLAGS
19339 CFLAGS
="$CFLAGS -Wno-format"
19340 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19341 /* end confdefs.h. */
19342 int main(int argc, char **argv) { return 0; }
19344 if ac_fn_c_try_link
"$LINENO"
19346 ac_cv_cflags__Wno_format
=yes
19348 ac_cv_cflags__Wno_format
=no
19350 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19351 conftest
$ac_exeext conftest.
$ac_ext
19352 CFLAGS
=$ac_wine_try_cflags_saved
19354 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
19355 printf "%s\n" "$ac_cv_cflags__Wno_format" >&6; }
19356 if test "x$ac_cv_cflags__Wno_format" = xyes
19358 EXTRACFLAGS
="$EXTRACFLAGS -Wno-format"
19360 *) if test -z "$PE_ARCHS"
19362 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for working -mabi=ms" >&5
19363 printf %s
"checking for working -mabi=ms... " >&6; }
19364 if test ${ac_cv_mabi_ms+y}
19366 printf %s
"(cached) " >&6
19368 CFLAGS
="$CFLAGS -mabi=ms"
19369 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19370 /* end confdefs.h. */
19371 #include <stdarg.h>
19372 int a(int b, ...) { __builtin_ms_va_list list; __builtin_ms_va_start(list,b); }
19381 if ac_fn_c_try_compile
"$LINENO"
19387 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
19388 CFLAGS
=$saved_CFLAGS
19390 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mabi_ms" >&5
19391 printf "%s\n" "$ac_cv_mabi_ms" >&6; }
19392 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
19394 MSVCRTFLAGS
="$MSVCRTFLAGS -mabi=ms" ;;
19397 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wincompatible-function-pointer-types" >&5
19398 printf %s
"checking whether the compiler supports -Wincompatible-function-pointer-types... " >&6; }
19399 if test ${ac_cv_cflags__Wincompatible_function_pointer_types+y}
19401 printf %s
"(cached) " >&6
19403 ac_wine_try_cflags_saved
=$CFLAGS
19404 CFLAGS
="$CFLAGS -Wincompatible-function-pointer-types"
19405 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19406 /* end confdefs.h. */
19407 int main(int argc, char **argv) { return 0; }
19409 if ac_fn_c_try_link
"$LINENO"
19411 ac_cv_cflags__Wincompatible_function_pointer_types
=yes
19413 ac_cv_cflags__Wincompatible_function_pointer_types
=no
19415 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19416 conftest
$ac_exeext conftest.
$ac_ext
19417 CFLAGS
=$ac_wine_try_cflags_saved
19419 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wincompatible_function_pointer_types" >&5
19420 printf "%s\n" "$ac_cv_cflags__Wincompatible_function_pointer_types" >&6; }
19421 if test "x$ac_cv_cflags__Wincompatible_function_pointer_types" = xyes
19423 EXTRACFLAGS
="$EXTRACFLAGS -Wno-error=incompatible-function-pointer-types"
19427 CFLAGS
=$saved_CFLAGS
19429 if test "x$enable_werror" = "xyes"
19431 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
19432 printf %s
"checking whether the compiler supports -Werror... " >&6; }
19433 if test ${ac_cv_cflags__Werror+y}
19435 printf %s
"(cached) " >&6
19437 ac_wine_try_cflags_saved
=$CFLAGS
19438 CFLAGS
="$CFLAGS -Werror"
19439 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19440 /* end confdefs.h. */
19441 int main(int argc, char **argv) { return 0; }
19443 if ac_fn_c_try_link
"$LINENO"
19445 ac_cv_cflags__Werror
=yes
19447 ac_cv_cflags__Werror
=no
19449 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19450 conftest
$ac_exeext conftest.
$ac_ext
19451 CFLAGS
=$ac_wine_try_cflags_saved
19453 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
19454 printf "%s\n" "$ac_cv_cflags__Werror" >&6; }
19455 if test "x$ac_cv_cflags__Werror" = xyes
19457 EXTRACFLAGS
="$EXTRACFLAGS -Werror"
19460 if test "x$enable_build_id" = "xyes"
19462 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--build-id" >&5
19463 printf %s
"checking whether the compiler supports -Wl,--build-id... " >&6; }
19464 if test ${ac_cv_cflags__Wl___build_id+y}
19466 printf %s
"(cached) " >&6
19468 ac_wine_try_cflags_saved
=$CFLAGS
19469 CFLAGS
="$CFLAGS -Wl,--build-id"
19470 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19471 /* end confdefs.h. */
19472 int main(int argc, char **argv) { return 0; }
19474 if ac_fn_c_try_link
"$LINENO"
19476 ac_cv_cflags__Wl___build_id
=yes
19478 ac_cv_cflags__Wl___build_id
=no
19480 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19481 conftest
$ac_exeext conftest.
$ac_ext
19482 CFLAGS
=$ac_wine_try_cflags_saved
19484 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___build_id" >&5
19485 printf "%s\n" "$ac_cv_cflags__Wl___build_id" >&6; }
19486 if test "x$ac_cv_cflags__Wl___build_id" = xyes
19488 CFLAGS
="$CFLAGS -Wl,--build-id"
19489 LDFLAGS
="$LDFLAGS -Wl,--build-id"
19495 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
19496 printf %s
"checking for the need to disable Fortify... " >&6; }
19497 if test ${ac_cv_c_fortify_enabled+y}
19499 printf %s
"(cached) " >&6
19501 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19502 /* end confdefs.h. */
19503 #include <string.h>
19507 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
19508 #error Fortify enabled
19514 if ac_fn_c_try_compile
"$LINENO"
19516 ac_cv_c_fortify_enabled
=no
19518 ac_cv_c_fortify_enabled
=yes
19520 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
19522 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
19523 printf "%s\n" "$ac_cv_c_fortify_enabled" >&6; }
19524 if test "$ac_cv_c_fortify_enabled" = yes
19526 CFLAGS
="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
19530 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
19531 printf %s
"checking whether CFI directives are supported in assembly code... " >&6; }
19532 if test ${ac_cv_c_cfi_support+y}
19534 printf %s
"(cached) " >&6
19536 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19537 /* end confdefs.h. */
19538 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
19547 if ac_fn_c_try_compile
"$LINENO"
19549 ac_cv_c_cfi_support
="yes"
19551 ac_cv_c_cfi_support
="no"
19553 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
19555 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
19556 printf "%s\n" "$ac_cv_c_cfi_support" >&6; }
19557 if test "$ac_cv_c_cfi_support" = "yes"
19559 DLLFLAGS
="$DLLFLAGS -fasynchronous-unwind-tables"
19560 LDDLLFLAGS
="$LDDLLFLAGS -fasynchronous-unwind-tables"
19561 UNIXDLLFLAGS
="$UNIXDLLFLAGS -fasynchronous-unwind-tables"
19562 elif test $HOST_ARCH = x86_64
19564 as_fn_append wine_warnings
"|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
19568 case "$HOST_ARCH,$PE_ARCHS" in
19569 x86_64
,*i386
*) wine_binary
="wine" ;;
19570 x86_64
,*) wine_binary
="wine64" ;;
19571 *) wine_binary
="wine" ;;
19573 WINELOADER_PROGRAMS
="$wine_binary"
19579 *i
[3456789]86*|x86_64
*|
*aarch64
*|arm
*)
19580 test "$wine_binary" = wine || as_fn_append CONFIGURE_TARGETS
" loader/wine-preloader"
19581 WINELOADER_PROGRAMS
="$WINELOADER_PROGRAMS $wine_binary-preloader"
19586 if test "$wine_can_build_preloader" = "yes"
19588 test "$wine_binary" = wine || as_fn_append CONFIGURE_TARGETS
" loader/wine-preloader"
19589 WINELOADER_PROGRAMS
="$WINELOADER_PROGRAMS $wine_binary-preloader"
19595 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
19596 printf %s
"checking for library containing dlopen... " >&6; }
19597 if test ${ac_cv_search_dlopen+y}
19599 printf %s
"(cached) " >&6
19601 ac_func_search_save_LIBS
=$LIBS
19602 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19603 /* end confdefs.h. */
19605 /* Override any GCC internal prototype to avoid an error.
19606 Use char because int might match the return type of a GCC
19607 builtin and then its argument prototype would still apply. */
19617 for ac_lib
in '' dl
19619 if test -z "$ac_lib"; then
19620 ac_res
="none required"
19623 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
19625 if ac_fn_c_try_link
"$LINENO"
19627 ac_cv_search_dlopen
=$ac_res
19629 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19631 if test ${ac_cv_search_dlopen+y}
19636 if test ${ac_cv_search_dlopen+y}
19640 ac_cv_search_dlopen
=no
19642 rm conftest.
$ac_ext
19643 LIBS
=$ac_func_search_save_LIBS
19645 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
19646 printf "%s\n" "$ac_cv_search_dlopen" >&6; }
19647 ac_res
=$ac_cv_search_dlopen
19648 if test "$ac_res" != no
19650 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
19655 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
19656 printf %s
"checking for library containing gethostbyname... " >&6; }
19657 if test ${ac_cv_search_gethostbyname+y}
19659 printf %s
"(cached) " >&6
19661 ac_func_search_save_LIBS
=$LIBS
19662 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19663 /* end confdefs.h. */
19665 /* Override any GCC internal prototype to avoid an error.
19666 Use char because int might match the return type of a GCC
19667 builtin and then its argument prototype would still apply. */
19668 char gethostbyname ();
19672 return gethostbyname ();
19677 for ac_lib
in '' nsl
19679 if test -z "$ac_lib"; then
19680 ac_res
="none required"
19683 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
19685 if ac_fn_c_try_link
"$LINENO"
19687 ac_cv_search_gethostbyname
=$ac_res
19689 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19691 if test ${ac_cv_search_gethostbyname+y}
19696 if test ${ac_cv_search_gethostbyname+y}
19700 ac_cv_search_gethostbyname
=no
19702 rm conftest.
$ac_ext
19703 LIBS
=$ac_func_search_save_LIBS
19705 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
19706 printf "%s\n" "$ac_cv_search_gethostbyname" >&6; }
19707 ac_res
=$ac_cv_search_gethostbyname
19708 if test "$ac_res" != no
19710 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
19715 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
19716 printf %s
"checking for library containing connect... " >&6; }
19717 if test ${ac_cv_search_connect+y}
19719 printf %s
"(cached) " >&6
19721 ac_func_search_save_LIBS
=$LIBS
19722 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19723 /* end confdefs.h. */
19725 /* Override any GCC internal prototype to avoid an error.
19726 Use char because int might match the return type of a GCC
19727 builtin and then its argument prototype would still apply. */
19737 for ac_lib
in '' socket
19739 if test -z "$ac_lib"; then
19740 ac_res
="none required"
19743 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
19745 if ac_fn_c_try_link
"$LINENO"
19747 ac_cv_search_connect
=$ac_res
19749 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19751 if test ${ac_cv_search_connect+y}
19756 if test ${ac_cv_search_connect+y}
19760 ac_cv_search_connect
=no
19762 rm conftest.
$ac_ext
19763 LIBS
=$ac_func_search_save_LIBS
19765 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
19766 printf "%s\n" "$ac_cv_search_connect" >&6; }
19767 ac_res
=$ac_cv_search_connect
19768 if test "$ac_res" != no
19770 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
19775 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
19776 printf %s
"checking for library containing inet_aton... " >&6; }
19777 if test ${ac_cv_search_inet_aton+y}
19779 printf %s
"(cached) " >&6
19781 ac_func_search_save_LIBS
=$LIBS
19782 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19783 /* end confdefs.h. */
19785 /* Override any GCC internal prototype to avoid an error.
19786 Use char because int might match the return type of a GCC
19787 builtin and then its argument prototype would still apply. */
19792 return inet_aton ();
19797 for ac_lib
in '' resolv
19799 if test -z "$ac_lib"; then
19800 ac_res
="none required"
19803 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
19805 if ac_fn_c_try_link
"$LINENO"
19807 ac_cv_search_inet_aton
=$ac_res
19809 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19811 if test ${ac_cv_search_inet_aton+y}
19816 if test ${ac_cv_search_inet_aton+y}
19820 ac_cv_search_inet_aton
=no
19822 rm conftest.
$ac_ext
19823 LIBS
=$ac_func_search_save_LIBS
19825 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
19826 printf "%s\n" "$ac_cv_search_inet_aton" >&6; }
19827 ac_res
=$ac_cv_search_inet_aton
19828 if test "$ac_res" != no
19830 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
19835 ac_save_CFLAGS
="$CFLAGS"
19836 CFLAGS
="$CFLAGS $BUILTINFLAG"
19837 ac_fn_c_check_func
"$LINENO" "dladdr1" "ac_cv_func_dladdr1"
19838 if test "x$ac_cv_func_dladdr1" = xyes
19840 printf "%s\n" "#define HAVE_DLADDR1 1" >>confdefs.h
19843 ac_fn_c_check_func
"$LINENO" "dlinfo" "ac_cv_func_dlinfo"
19844 if test "x$ac_cv_func_dlinfo" = xyes
19846 printf "%s\n" "#define HAVE_DLINFO 1" >>confdefs.h
19849 ac_fn_c_check_func
"$LINENO" "epoll_create" "ac_cv_func_epoll_create"
19850 if test "x$ac_cv_func_epoll_create" = xyes
19852 printf "%s\n" "#define HAVE_EPOLL_CREATE 1" >>confdefs.h
19855 ac_fn_c_check_func
"$LINENO" "fstatfs" "ac_cv_func_fstatfs"
19856 if test "x$ac_cv_func_fstatfs" = xyes
19858 printf "%s\n" "#define HAVE_FSTATFS 1" >>confdefs.h
19861 ac_fn_c_check_func
"$LINENO" "futimens" "ac_cv_func_futimens"
19862 if test "x$ac_cv_func_futimens" = xyes
19864 printf "%s\n" "#define HAVE_FUTIMENS 1" >>confdefs.h
19867 ac_fn_c_check_func
"$LINENO" "futimes" "ac_cv_func_futimes"
19868 if test "x$ac_cv_func_futimes" = xyes
19870 printf "%s\n" "#define HAVE_FUTIMES 1" >>confdefs.h
19873 ac_fn_c_check_func
"$LINENO" "futimesat" "ac_cv_func_futimesat"
19874 if test "x$ac_cv_func_futimesat" = xyes
19876 printf "%s\n" "#define HAVE_FUTIMESAT 1" >>confdefs.h
19879 ac_fn_c_check_func
"$LINENO" "getaddrinfo" "ac_cv_func_getaddrinfo"
19880 if test "x$ac_cv_func_getaddrinfo" = xyes
19882 printf "%s\n" "#define HAVE_GETADDRINFO 1" >>confdefs.h
19885 ac_fn_c_check_func
"$LINENO" "getattrlist" "ac_cv_func_getattrlist"
19886 if test "x$ac_cv_func_getattrlist" = xyes
19888 printf "%s\n" "#define HAVE_GETATTRLIST 1" >>confdefs.h
19891 ac_fn_c_check_func
"$LINENO" "getauxval" "ac_cv_func_getauxval"
19892 if test "x$ac_cv_func_getauxval" = xyes
19894 printf "%s\n" "#define HAVE_GETAUXVAL 1" >>confdefs.h
19897 ac_fn_c_check_func
"$LINENO" "getifaddrs" "ac_cv_func_getifaddrs"
19898 if test "x$ac_cv_func_getifaddrs" = xyes
19900 printf "%s\n" "#define HAVE_GETIFADDRS 1" >>confdefs.h
19903 ac_fn_c_check_func
"$LINENO" "getrandom" "ac_cv_func_getrandom"
19904 if test "x$ac_cv_func_getrandom" = xyes
19906 printf "%s\n" "#define HAVE_GETRANDOM 1" >>confdefs.h
19909 ac_fn_c_check_func
"$LINENO" "kqueue" "ac_cv_func_kqueue"
19910 if test "x$ac_cv_func_kqueue" = xyes
19912 printf "%s\n" "#define HAVE_KQUEUE 1" >>confdefs.h
19915 ac_fn_c_check_func
"$LINENO" "mach_continuous_time" "ac_cv_func_mach_continuous_time"
19916 if test "x$ac_cv_func_mach_continuous_time" = xyes
19918 printf "%s\n" "#define HAVE_MACH_CONTINUOUS_TIME 1" >>confdefs.h
19921 ac_fn_c_check_func
"$LINENO" "pipe2" "ac_cv_func_pipe2"
19922 if test "x$ac_cv_func_pipe2" = xyes
19924 printf "%s\n" "#define HAVE_PIPE2 1" >>confdefs.h
19927 ac_fn_c_check_func
"$LINENO" "port_create" "ac_cv_func_port_create"
19928 if test "x$ac_cv_func_port_create" = xyes
19930 printf "%s\n" "#define HAVE_PORT_CREATE 1" >>confdefs.h
19933 ac_fn_c_check_func
"$LINENO" "posix_fadvise" "ac_cv_func_posix_fadvise"
19934 if test "x$ac_cv_func_posix_fadvise" = xyes
19936 printf "%s\n" "#define HAVE_POSIX_FADVISE 1" >>confdefs.h
19939 ac_fn_c_check_func
"$LINENO" "posix_fallocate" "ac_cv_func_posix_fallocate"
19940 if test "x$ac_cv_func_posix_fallocate" = xyes
19942 printf "%s\n" "#define HAVE_POSIX_FALLOCATE 1" >>confdefs.h
19945 ac_fn_c_check_func
"$LINENO" "prctl" "ac_cv_func_prctl"
19946 if test "x$ac_cv_func_prctl" = xyes
19948 printf "%s\n" "#define HAVE_PRCTL 1" >>confdefs.h
19951 ac_fn_c_check_func
"$LINENO" "proc_pidinfo" "ac_cv_func_proc_pidinfo"
19952 if test "x$ac_cv_func_proc_pidinfo" = xyes
19954 printf "%s\n" "#define HAVE_PROC_PIDINFO 1" >>confdefs.h
19957 ac_fn_c_check_func
"$LINENO" "sched_yield" "ac_cv_func_sched_yield"
19958 if test "x$ac_cv_func_sched_yield" = xyes
19960 printf "%s\n" "#define HAVE_SCHED_YIELD 1" >>confdefs.h
19963 ac_fn_c_check_func
"$LINENO" "setproctitle" "ac_cv_func_setproctitle"
19964 if test "x$ac_cv_func_setproctitle" = xyes
19966 printf "%s\n" "#define HAVE_SETPROCTITLE 1" >>confdefs.h
19969 ac_fn_c_check_func
"$LINENO" "setprogname" "ac_cv_func_setprogname"
19970 if test "x$ac_cv_func_setprogname" = xyes
19972 printf "%s\n" "#define HAVE_SETPROGNAME 1" >>confdefs.h
19975 ac_fn_c_check_func
"$LINENO" "sigprocmask" "ac_cv_func_sigprocmask"
19976 if test "x$ac_cv_func_sigprocmask" = xyes
19978 printf "%s\n" "#define HAVE_SIGPROCMASK 1" >>confdefs.h
19981 ac_fn_c_check_func
"$LINENO" "sysinfo" "ac_cv_func_sysinfo"
19982 if test "x$ac_cv_func_sysinfo" = xyes
19984 printf "%s\n" "#define HAVE_SYSINFO 1" >>confdefs.h
19987 ac_fn_c_check_func
"$LINENO" "tcdrain" "ac_cv_func_tcdrain"
19988 if test "x$ac_cv_func_tcdrain" = xyes
19990 printf "%s\n" "#define HAVE_TCDRAIN 1" >>confdefs.h
19993 ac_fn_c_check_func
"$LINENO" "thr_kill2" "ac_cv_func_thr_kill2"
19994 if test "x$ac_cv_func_thr_kill2" = xyes
19996 printf "%s\n" "#define HAVE_THR_KILL2 1" >>confdefs.h
20000 CFLAGS
="$ac_save_CFLAGS"
20003 darwin
*|macosx
*) ;;
20004 *) ac_save_LIBS
=$LIBS
20005 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
20006 printf %s
"checking for library containing clock_gettime... " >&6; }
20007 if test ${ac_cv_search_clock_gettime+y}
20009 printf %s
"(cached) " >&6
20011 ac_func_search_save_LIBS
=$LIBS
20012 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20013 /* end confdefs.h. */
20015 /* Override any GCC internal prototype to avoid an error.
20016 Use char because int might match the return type of a GCC
20017 builtin and then its argument prototype would still apply. */
20018 char clock_gettime ();
20022 return clock_gettime ();
20027 for ac_lib
in '' rt
20029 if test -z "$ac_lib"; then
20030 ac_res
="none required"
20033 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
20035 if ac_fn_c_try_link
"$LINENO"
20037 ac_cv_search_clock_gettime
=$ac_res
20039 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
20041 if test ${ac_cv_search_clock_gettime+y}
20046 if test ${ac_cv_search_clock_gettime+y}
20050 ac_cv_search_clock_gettime
=no
20052 rm conftest.
$ac_ext
20053 LIBS
=$ac_func_search_save_LIBS
20055 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
20056 printf "%s\n" "$ac_cv_search_clock_gettime" >&6; }
20057 ac_res
=$ac_cv_search_clock_gettime
20058 if test "$ac_res" != no
20060 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
20062 printf "%s\n" "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
20064 test "$ac_res" = "none required" || RT_LIBS
="$ac_res"
20072 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
20073 printf %s
"checking for sched_setaffinity... " >&6; }
20074 if test ${wine_cv_have_sched_setaffinity+y}
20076 printf %s
"(cached) " >&6
20078 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20079 /* end confdefs.h. */
20084 sched_setaffinity(0, 0, 0);
20089 if ac_fn_c_try_link
"$LINENO"
20091 wine_cv_have_sched_setaffinity
=yes
20093 wine_cv_have_sched_setaffinity
=no
20095 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
20096 conftest
$ac_exeext conftest.
$ac_ext
20098 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
20099 printf "%s\n" "$wine_cv_have_sched_setaffinity" >&6; }
20100 if test "$wine_cv_have_sched_setaffinity" = "yes"
20103 printf "%s\n" "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
20108 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
20109 printf %s
"checking for inline... " >&6; }
20110 if test ${ac_cv_c_inline+y}
20112 printf %s
"(cached) " >&6
20115 for ac_kw
in inline __inline__ __inline
; do
20116 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20117 /* end confdefs.h. */
20118 #ifndef __cplusplus
20120 static $ac_kw foo_t static_foo (void) {return 0; }
20121 $ac_kw foo_t foo (void) {return 0; }
20125 if ac_fn_c_try_compile
"$LINENO"
20127 ac_cv_c_inline
=$ac_kw
20129 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
20130 test "$ac_cv_c_inline" != no
&& break
20134 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
20135 printf "%s\n" "$ac_cv_c_inline" >&6; }
20137 case $ac_cv_c_inline in
20140 case $ac_cv_c_inline in
20142 *) ac_val
=$ac_cv_c_inline;;
20144 cat >>confdefs.h
<<_ACEOF
20145 #ifndef __cplusplus
20146 #define inline $ac_val
20152 ac_fn_c_check_type
"$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
20154 if test "x$ac_cv_type_request_sense" = xyes
20157 printf "%s\n" "#define HAVE_REQUEST_SENSE 1" >>confdefs.h
20163 ac_fn_c_check_type
"$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
20164 #include <sys/socket.h>
20165 #ifdef HAVE_SYS_SOCKETVAR_H
20166 #include <sys/socketvar.h>
20168 #ifdef HAVE_NET_ROUTE_H
20169 #include <net/route.h>
20171 #ifdef HAVE_NETINET_IN_H
20172 #include <netinet/in.h>
20174 #ifdef HAVE_NETINET_IN_SYSTM_H
20175 #include <netinet/in_systm.h>
20177 #ifdef HAVE_NETINET_IP_H
20178 #include <netinet/ip.h>
20180 #ifdef HAVE_NETINET_IN_PCB_H
20181 #include <netinet/in_pcb.h>
20184 if test "x$ac_cv_type_struct_xinpgen" = xyes
20187 printf "%s\n" "#define HAVE_STRUCT_XINPGEN 1" >>confdefs.h
20193 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
20194 printf %s
"checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
20195 if test ${wine_cv_linux_gethostbyname_r_6+y}
20197 printf %s
"(cached) " >&6
20199 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20200 /* end confdefs.h. */
20208 struct hostent *result;
20215 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
20216 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
20222 if ac_fn_c_try_link
"$LINENO"
20224 wine_cv_linux_gethostbyname_r_6
=yes
20226 wine_cv_linux_gethostbyname_r_6
=no
20229 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
20230 conftest
$ac_exeext conftest.
$ac_ext
20233 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
20234 printf "%s\n" "$wine_cv_linux_gethostbyname_r_6" >&6; }
20235 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
20238 printf "%s\n" "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
20242 ac_fn_c_check_member
"$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
20243 #include <sys/socket.h>
20244 #ifdef HAVE_SYS_UN_H
20245 # include <sys/un.h>
20248 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes
20251 printf "%s\n" "#define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1" >>confdefs.h
20255 ac_fn_c_check_member
"$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
20256 #include <sys/socket.h>
20257 #ifdef HAVE_SYS_UN_H
20258 # include <sys/un.h>
20261 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes
20264 printf "%s\n" "#define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1" >>confdefs.h
20270 ac_fn_c_check_member
"$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
20271 #ifdef HAVE_SCSI_SG_H
20272 #include <scsi/sg.h>
20275 if test "x$ac_cv_member_scsireq_t_cmd" = xyes
20278 printf "%s\n" "#define HAVE_SCSIREQ_T_CMD 1" >>confdefs.h
20282 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>
20283 #ifdef HAVE_SCSI_SG_H
20284 #include <scsi/sg.h>
20287 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes
20290 printf "%s\n" "#define HAVE_SG_IO_HDR_T_INTERFACE_ID 1" >>confdefs.h
20296 ac_fn_c_check_member
"$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
20298 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes
20301 printf "%s\n" "#define HAVE_SIGINFO_T_SI_FD 1" >>confdefs.h
20307 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
20308 #ifdef HAVE_SYS_MTIO_H
20309 #include <sys/mtio.h>
20312 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes
20315 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_BLKSIZ 1" >>confdefs.h
20319 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
20320 #ifdef HAVE_SYS_MTIO_H
20321 #include <sys/mtio.h>
20324 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes
20327 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_GSTAT 1" >>confdefs.h
20331 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
20332 #ifdef HAVE_SYS_MTIO_H
20333 #include <sys/mtio.h>
20336 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes
20339 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_BLKNO 1" >>confdefs.h
20345 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
20346 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes
20349 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_MTIM 1" >>confdefs.h
20353 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
20354 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes
20357 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_MTIMESPEC 1" >>confdefs.h
20361 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
20362 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes
20365 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_CTIM 1" >>confdefs.h
20369 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
20370 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes
20373 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_CTIMESPEC 1" >>confdefs.h
20377 ac_fn_c_check_member
"$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
20378 if test "x$ac_cv_member_struct_stat_st_atim" = xyes
20381 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_ATIM 1" >>confdefs.h
20385 ac_fn_c_check_member
"$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
20386 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes
20389 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_ATIMESPEC 1" >>confdefs.h
20393 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
20394 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes
20397 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIME 1" >>confdefs.h
20401 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
20402 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes
20405 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIM 1" >>confdefs.h
20409 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
20410 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes
20413 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1" >>confdefs.h
20417 ac_fn_c_check_member
"$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
20418 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes
20421 printf "%s\n" "#define HAVE_STRUCT_STAT___ST_BIRTHTIME 1" >>confdefs.h
20425 ac_fn_c_check_member
"$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
20426 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes
20429 printf "%s\n" "#define HAVE_STRUCT_STAT___ST_BIRTHTIM 1" >>confdefs.h
20435 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>
20436 #ifdef HAVE_NETINET_IN_H
20437 #include <netinet/in.h>
20440 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes
20443 printf "%s\n" "#define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1" >>confdefs.h
20449 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
20450 #include <resolv.h>
20453 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes
20456 printf "%s\n" "#define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1" >>confdefs.h
20462 ac_fn_c_check_member
"$LINENO" "struct in6_pktinfo" "ipi6_addr" "ac_cv_member_struct_in6_pktinfo_ipi6_addr" "#ifdef HAVE_NETINET_IN_H
20463 #include <netinet/in.h>
20466 if test "x$ac_cv_member_struct_in6_pktinfo_ipi6_addr" = xyes
20469 printf "%s\n" "#define HAVE_STRUCT_IN6_PKTINFO_IPI6_ADDR 1" >>confdefs.h
20475 ac_fn_c_check_member
"$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#include <sys/types.h>
20476 #ifdef HAVE_SYS_SOCKETVAR_H
20477 #include <sys/socketvar.h>
20479 #ifdef HAVE_NETINET_IN_H
20480 #include <netinet/in.h>
20482 #ifdef HAVE_NETINET_IP_VAR_H
20483 #include <netinet/ip_var.h>
20486 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes
20489 printf "%s\n" "#define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1" >>confdefs.h
20495 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
20496 #include <netinet/ip_var.h>
20499 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes
20502 printf "%s\n" "#define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1" >>confdefs.h
20508 ac_fn_c_check_member
"$LINENO" "struct ip6stat" "ip6s_total" "ac_cv_member_struct_ip6stat_ip6s_total" "#include <sys/types.h>
20509 #ifdef HAVE_SYS_SOCKETVAR_H
20510 #include <sys/socketvar.h>
20512 #ifdef HAVE_NETINET_IN_H
20513 #include <netinet/in.h>
20515 #ifdef HAVE_NETINET6_IP6_VAR_H
20516 #include <netinet6/ip6_var.h>
20519 if test "x$ac_cv_member_struct_ip6stat_ip6s_total" = xyes
20522 printf "%s\n" "#define HAVE_STRUCT_IP6STAT_IP6S_TOTAL 1" >>confdefs.h
20528 ac_fn_c_check_member
"$LINENO" "struct icmpstat" "icps_error" "ac_cv_member_struct_icmpstat_icps_error" "#include <sys/types.h>
20529 #ifdef HAVE_SYS_SOCKETVAR_H
20530 #include <sys/socketvar.h>
20532 #ifdef HAVE_NETINET_IN_H
20533 #include <netinet/in.h>
20535 #ifdef HAVE_NETINET_IP_H
20536 #include <netinet/ip.h>
20538 #ifdef HAVE_NETINET_IP_ICMP_H
20539 #include <netinet/ip_icmp.h>
20541 #ifdef HAVE_NETINET_ICMP_VAR_H
20542 #include <netinet/icmp_var.h>
20545 if test "x$ac_cv_member_struct_icmpstat_icps_error" = xyes
20548 printf "%s\n" "#define HAVE_STRUCT_ICMPSTAT_ICPS_ERROR 1" >>confdefs.h
20554 ac_fn_c_check_member
"$LINENO" "struct icmp6stat" "icp6s_error" "ac_cv_member_struct_icmp6stat_icp6s_error" "#include <sys/types.h>
20555 #ifdef HAVE_SYS_SOCKETVAR_H
20556 #include <sys/socketvar.h>
20558 #ifdef HAVE_NETINET_IN_H
20559 #include <netinet/in.h>
20561 #ifdef HAVE_NETINET_ICMP6_H
20562 #include <netinet/icmp6.h>
20565 if test "x$ac_cv_member_struct_icmp6stat_icp6s_error" = xyes
20568 printf "%s\n" "#define HAVE_STRUCT_ICMP6STAT_ICP6S_ERROR 1" >>confdefs.h
20574 ac_fn_c_check_member
"$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#include <sys/types.h>
20575 #ifdef HAVE_SYS_SOCKETVAR_H
20576 #include <sys/socketvar.h>
20578 #ifdef HAVE_NETINET_IN_H
20579 #include <netinet/in.h>
20581 #ifdef HAVE_NETINET_TCP_H
20582 #include <netinet/tcp.h>
20584 #ifdef HAVE_NETINET_TCP_VAR_H
20585 #include <netinet/tcp_var.h>
20588 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes
20591 printf "%s\n" "#define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1" >>confdefs.h
20597 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
20598 #include <netinet/tcp_var.h>
20601 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes
20604 printf "%s\n" "#define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1" >>confdefs.h
20610 ac_fn_c_check_member
"$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#include <sys/types.h>
20611 #ifdef HAVE_NETINET_IN_H
20612 #include <netinet/in.h>
20614 #ifdef HAVE_NETINET_IP_VAR_H
20615 #include <netinet/ip_var.h>
20617 #ifdef HAVE_NETINET_UDP_H
20618 #include <netinet/udp.h>
20620 #ifdef HAVE_NETINET_UDP_VAR_H
20621 #include <netinet/udp_var.h>
20624 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes
20627 printf "%s\n" "#define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1" >>confdefs.h
20633 ac_fn_c_check_member
"$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#include <sys/types.h>
20634 #ifdef HAVE_NET_IF_H
20635 # include <net/if.h>
20638 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes
20641 printf "%s\n" "#define HAVE_STRUCT_IFREQ_IFR_HWADDR 1" >>confdefs.h
20647 ac_fn_c_check_member
"$LINENO" "struct sysinfo" "totalram" "ac_cv_member_struct_sysinfo_totalram" "#ifdef HAVE_SYS_SYSINFO_H
20648 # include <sys/sysinfo.h>
20651 if test "x$ac_cv_member_struct_sysinfo_totalram" = xyes
20654 printf "%s\n" "#define HAVE_STRUCT_SYSINFO_TOTALRAM 1" >>confdefs.h
20658 ac_fn_c_check_member
"$LINENO" "struct sysinfo" "mem_unit" "ac_cv_member_struct_sysinfo_mem_unit" "#ifdef HAVE_SYS_SYSINFO_H
20659 # include <sys/sysinfo.h>
20662 if test "x$ac_cv_member_struct_sysinfo_mem_unit" = xyes
20665 printf "%s\n" "#define HAVE_STRUCT_SYSINFO_MEM_UNIT 1" >>confdefs.h
20671 LIBS
="$ac_save_LIBS"
20673 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
20674 printf %s
"checking for __builtin_popcount... " >&6; }
20675 if test ${ac_cv_have___builtin_popcount+y}
20677 printf %s
"(cached) " >&6
20679 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20680 /* end confdefs.h. */
20685 return __builtin_popcount(1)
20690 if ac_fn_c_try_link
"$LINENO"
20692 ac_cv_have___builtin_popcount
="yes"
20694 ac_cv_have___builtin_popcount
="no"
20696 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
20697 conftest
$ac_exeext conftest.
$ac_ext
20699 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
20700 printf "%s\n" "$ac_cv_have___builtin_popcount" >&6; }
20701 if test "$ac_cv_have___builtin_popcount" = "yes"
20704 printf "%s\n" "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
20708 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __clear_cache" >&5
20709 printf %s
"checking for __clear_cache... " >&6; }
20710 if test ${ac_cv_have___clear_cache+y}
20712 printf %s
"(cached) " >&6
20714 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20715 /* end confdefs.h. */
20720 __clear_cache((void*)0, (void*)0); return 0;
20725 if ac_fn_c_try_link
"$LINENO"
20727 ac_cv_have___clear_cache
="yes"
20729 ac_cv_have___clear_cache
="no"
20731 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
20732 conftest
$ac_exeext conftest.
$ac_ext
20734 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___clear_cache" >&5
20735 printf "%s\n" "$ac_cv_have___clear_cache" >&6; }
20736 if test "$ac_cv_have___clear_cache" = "yes"
20739 printf "%s\n" "#define HAVE___CLEAR_CACHE 1" >>confdefs.h
20745 *i
[3456789]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
20746 printf %s
"checking whether we need to define __i386__... " >&6; }
20747 if test ${ac_cv_cpp_def___i386__+y}
20749 printf %s
"(cached) " >&6
20751 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20752 /* end confdefs.h. */
20757 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20758 $EGREP "yes" >/dev
/null
2>&1
20760 ac_cv_cpp_def___i386__
=yes
20762 ac_cv_cpp_def___i386__
=no
20767 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
20768 printf "%s\n" "$ac_cv_cpp_def___i386__" >&6; }
20769 if test "x$ac_cv_cpp_def___i386__" = xyes
20771 CFLAGS
="$CFLAGS -D__i386__"
20772 LINTFLAGS
="$LINTFLAGS -D__i386__"
20774 *x86_64
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
20775 printf %s
"checking whether we need to define __x86_64__... " >&6; }
20776 if test ${ac_cv_cpp_def___x86_64__+y}
20778 printf %s
"(cached) " >&6
20780 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20781 /* end confdefs.h. */
20786 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20787 $EGREP "yes" >/dev
/null
2>&1
20789 ac_cv_cpp_def___x86_64__
=yes
20791 ac_cv_cpp_def___x86_64__
=no
20796 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
20797 printf "%s\n" "$ac_cv_cpp_def___x86_64__" >&6; }
20798 if test "x$ac_cv_cpp_def___x86_64__" = xyes
20800 CFLAGS
="$CFLAGS -D__x86_64__"
20801 LINTFLAGS
="$LINTFLAGS -D__x86_64__"
20803 *sparc64
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
20804 printf %s
"checking whether we need to define __sparc64__... " >&6; }
20805 if test ${ac_cv_cpp_def___sparc64__+y}
20807 printf %s
"(cached) " >&6
20809 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20810 /* end confdefs.h. */
20811 #ifndef __sparc64__
20815 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20816 $EGREP "yes" >/dev
/null
2>&1
20818 ac_cv_cpp_def___sparc64__
=yes
20820 ac_cv_cpp_def___sparc64__
=no
20825 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
20826 printf "%s\n" "$ac_cv_cpp_def___sparc64__" >&6; }
20827 if test "x$ac_cv_cpp_def___sparc64__" = xyes
20829 CFLAGS
="$CFLAGS -D__sparc64__"
20830 LINTFLAGS
="$LINTFLAGS -D__sparc64__"
20832 *sparc
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
20833 printf %s
"checking whether we need to define __sparc__... " >&6; }
20834 if test ${ac_cv_cpp_def___sparc__+y}
20836 printf %s
"(cached) " >&6
20838 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20839 /* end confdefs.h. */
20844 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20845 $EGREP "yes" >/dev
/null
2>&1
20847 ac_cv_cpp_def___sparc__
=yes
20849 ac_cv_cpp_def___sparc__
=no
20854 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
20855 printf "%s\n" "$ac_cv_cpp_def___sparc__" >&6; }
20856 if test "x$ac_cv_cpp_def___sparc__" = xyes
20858 CFLAGS
="$CFLAGS -D__sparc__"
20859 LINTFLAGS
="$LINTFLAGS -D__sparc__"
20861 *powerpc64
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
20862 printf %s
"checking whether we need to define __powerpc64__... " >&6; }
20863 if test ${ac_cv_cpp_def___powerpc64__+y}
20865 printf %s
"(cached) " >&6
20867 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20868 /* end confdefs.h. */
20869 #ifndef __powerpc64__
20873 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20874 $EGREP "yes" >/dev
/null
2>&1
20876 ac_cv_cpp_def___powerpc64__
=yes
20878 ac_cv_cpp_def___powerpc64__
=no
20883 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
20884 printf "%s\n" "$ac_cv_cpp_def___powerpc64__" >&6; }
20885 if test "x$ac_cv_cpp_def___powerpc64__" = xyes
20887 CFLAGS
="$CFLAGS -D__powerpc64__"
20888 LINTFLAGS
="$LINTFLAGS -D__powerpc64__"
20890 *powerpc
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
20891 printf %s
"checking whether we need to define __powerpc__... " >&6; }
20892 if test ${ac_cv_cpp_def___powerpc__+y}
20894 printf %s
"(cached) " >&6
20896 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20897 /* end confdefs.h. */
20898 #ifndef __powerpc__
20902 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20903 $EGREP "yes" >/dev
/null
2>&1
20905 ac_cv_cpp_def___powerpc__
=yes
20907 ac_cv_cpp_def___powerpc__
=no
20912 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
20913 printf "%s\n" "$ac_cv_cpp_def___powerpc__" >&6; }
20914 if test "x$ac_cv_cpp_def___powerpc__" = xyes
20916 CFLAGS
="$CFLAGS -D__powerpc__"
20917 LINTFLAGS
="$LINTFLAGS -D__powerpc__"
20919 *aarch64
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
20920 printf %s
"checking whether we need to define __aarch64__... " >&6; }
20921 if test ${ac_cv_cpp_def___aarch64__+y}
20923 printf %s
"(cached) " >&6
20925 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20926 /* end confdefs.h. */
20927 #ifndef __aarch64__
20931 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20932 $EGREP "yes" >/dev
/null
2>&1
20934 ac_cv_cpp_def___aarch64__
=yes
20936 ac_cv_cpp_def___aarch64__
=no
20941 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
20942 printf "%s\n" "$ac_cv_cpp_def___aarch64__" >&6; }
20943 if test "x$ac_cv_cpp_def___aarch64__" = xyes
20945 CFLAGS
="$CFLAGS -D__aarch64__"
20946 LINTFLAGS
="$LINTFLAGS -D__aarch64__"
20948 *arm
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
20949 printf %s
"checking whether we need to define __arm__... " >&6; }
20950 if test ${ac_cv_cpp_def___arm__+y}
20952 printf %s
"(cached) " >&6
20954 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20955 /* end confdefs.h. */
20960 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20961 $EGREP "yes" >/dev
/null
2>&1
20963 ac_cv_cpp_def___arm__
=yes
20965 ac_cv_cpp_def___arm__
=no
20970 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
20971 printf "%s\n" "$ac_cv_cpp_def___arm__" >&6; }
20972 if test "x$ac_cv_cpp_def___arm__" = xyes
20974 CFLAGS
="$CFLAGS -D__arm__"
20975 LINTFLAGS
="$LINTFLAGS -D__arm__"
20979 case $host_vendor in
20980 *sun
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
20981 printf %s
"checking whether we need to define __sun__... " >&6; }
20982 if test ${ac_cv_cpp_def___sun__+y}
20984 printf %s
"(cached) " >&6
20986 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20987 /* end confdefs.h. */
20992 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20993 $EGREP "yes" >/dev
/null
2>&1
20995 ac_cv_cpp_def___sun__
=yes
20997 ac_cv_cpp_def___sun__
=no
21002 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
21003 printf "%s\n" "$ac_cv_cpp_def___sun__" >&6; }
21004 if test "x$ac_cv_cpp_def___sun__" = xyes
21006 CFLAGS
="$CFLAGS -D__sun__"
21007 LINTFLAGS
="$LINTFLAGS -D__sun__"
21015 ac_config_commands
="$ac_config_commands include/stamp-h"
21017 printf %s
"creating Makefile rules..." >&6
21020 test "x$enable_silent_rules" = xyes
&& makedep_flags
="$makedep_flags -S"
21023 test "$srcdir" = . || wine_srcdir
="$srcdir/"
21025 ac_config_links
="$ac_config_links wine:tools/winewrapper"
21026 wine_fn_config_symlink wine
21027 if test "$HOST_ARCH" = x86_64
-o -n "$with_wine64"; then
21028 ac_config_links
="$ac_config_links wine64:tools/winewrapper"
21029 wine_fn_config_symlink wine64
21032 wine_fn_config_makefile dlls
/acledit enable_acledit
21033 wine_fn_config_makefile dlls
/aclui enable_aclui
21034 wine_fn_config_makefile dlls
/activeds.tlb enable_activeds_tlb
21035 wine_fn_config_makefile dlls
/activeds enable_activeds
21036 wine_fn_config_makefile dlls
/activeds
/tests enable_tests
21037 wine_fn_config_makefile dlls
/actxprxy enable_actxprxy
21038 wine_fn_config_makefile dlls
/adsldp enable_adsldp
21039 wine_fn_config_makefile dlls
/adsldp
/tests enable_tests
21040 wine_fn_config_makefile dlls
/adsldpc enable_adsldpc
21041 wine_fn_config_makefile dlls
/advapi32 enable_advapi32
21042 wine_fn_config_makefile dlls
/advapi32
/tests enable_tests
21043 wine_fn_config_makefile dlls
/advpack enable_advpack
21044 wine_fn_config_makefile dlls
/advpack
/tests enable_tests
21045 wine_fn_config_makefile dlls
/amsi enable_amsi
21046 wine_fn_config_makefile dlls
/amstream enable_amstream
21047 wine_fn_config_makefile dlls
/amstream
/tests enable_tests
21048 wine_fn_config_makefile dlls
/apisetschema enable_apisetschema
21049 wine_fn_config_makefile dlls
/apphelp enable_apphelp
21050 wine_fn_config_makefile dlls
/apphelp
/tests enable_tests
21051 wine_fn_config_makefile dlls
/appwiz.cpl enable_appwiz_cpl
21052 wine_fn_config_makefile dlls
/atl enable_atl
21053 wine_fn_config_makefile dlls
/atl
/tests enable_tests
21054 wine_fn_config_makefile dlls
/atl100 enable_atl100
21055 wine_fn_config_makefile dlls
/atl100
/tests enable_tests
21056 wine_fn_config_makefile dlls
/atl110 enable_atl110
21057 wine_fn_config_makefile dlls
/atl110
/tests enable_tests
21058 wine_fn_config_makefile dlls
/atl80 enable_atl80
21059 wine_fn_config_makefile dlls
/atl80
/tests enable_tests
21060 wine_fn_config_makefile dlls
/atl90 enable_atl90
21061 wine_fn_config_makefile dlls
/atlthunk enable_atlthunk
21062 wine_fn_config_makefile dlls
/atlthunk
/tests enable_tests
21063 wine_fn_config_makefile dlls
/atmlib enable_atmlib
21064 wine_fn_config_makefile dlls
/authz enable_authz
21065 wine_fn_config_makefile dlls
/avicap32 enable_avicap32
21066 wine_fn_config_makefile dlls
/avifil32 enable_avifil32
21067 wine_fn_config_makefile dlls
/avifil32
/tests enable_tests
21068 wine_fn_config_makefile dlls
/avifile.dll16 enable_win16
21069 wine_fn_config_makefile dlls
/avrt enable_avrt
21070 wine_fn_config_makefile dlls
/bcrypt enable_bcrypt
21071 wine_fn_config_makefile dlls
/bcrypt
/tests enable_tests
21072 wine_fn_config_makefile dlls
/bluetoothapis enable_bluetoothapis
21073 wine_fn_config_makefile dlls
/browseui enable_browseui
21074 wine_fn_config_makefile dlls
/browseui
/tests enable_tests
21075 wine_fn_config_makefile dlls
/bthprops.cpl enable_bthprops_cpl
21076 wine_fn_config_makefile dlls
/cabinet enable_cabinet
21077 wine_fn_config_makefile dlls
/cabinet
/tests enable_tests
21078 wine_fn_config_makefile dlls
/capi2032 enable_capi2032
21079 wine_fn_config_makefile dlls
/cards enable_cards
21080 wine_fn_config_makefile dlls
/cdosys enable_cdosys
21081 wine_fn_config_makefile dlls
/cfgmgr32 enable_cfgmgr32
21082 wine_fn_config_makefile dlls
/clusapi enable_clusapi
21083 wine_fn_config_makefile dlls
/cng.sys enable_cng_sys
21084 wine_fn_config_makefile dlls
/combase enable_combase
21085 wine_fn_config_makefile dlls
/combase
/tests enable_tests
21086 wine_fn_config_makefile dlls
/comcat enable_comcat
21087 wine_fn_config_makefile dlls
/comcat
/tests enable_tests
21088 wine_fn_config_makefile dlls
/comctl32 enable_comctl32
21089 wine_fn_config_makefile dlls
/comctl32
/tests enable_tests
21090 wine_fn_config_makefile dlls
/comdlg32 enable_comdlg32
21091 wine_fn_config_makefile dlls
/comdlg32
/tests enable_tests
21092 wine_fn_config_makefile dlls
/comm.drv16 enable_win16
21093 wine_fn_config_makefile dlls
/commdlg.dll16 enable_win16
21094 wine_fn_config_makefile dlls
/compobj.dll16 enable_win16
21095 wine_fn_config_makefile dlls
/compstui enable_compstui
21096 wine_fn_config_makefile dlls
/compstui
/tests enable_tests
21097 wine_fn_config_makefile dlls
/comsvcs enable_comsvcs
21098 wine_fn_config_makefile dlls
/comsvcs
/tests enable_tests
21099 wine_fn_config_makefile dlls
/concrt140 enable_concrt140
21100 wine_fn_config_makefile dlls
/concrt140
/tests enable_tests
21101 wine_fn_config_makefile dlls
/connect enable_connect
21102 wine_fn_config_makefile dlls
/credui enable_credui
21103 wine_fn_config_makefile dlls
/credui
/tests enable_tests
21104 wine_fn_config_makefile dlls
/crtdll enable_crtdll
21105 wine_fn_config_makefile dlls
/crypt32 enable_crypt32
21106 wine_fn_config_makefile dlls
/crypt32
/tests enable_tests
21107 wine_fn_config_makefile dlls
/cryptdlg enable_cryptdlg
21108 wine_fn_config_makefile dlls
/cryptdll enable_cryptdll
21109 wine_fn_config_makefile dlls
/cryptext enable_cryptext
21110 wine_fn_config_makefile dlls
/cryptnet enable_cryptnet
21111 wine_fn_config_makefile dlls
/cryptnet
/tests enable_tests
21112 wine_fn_config_makefile dlls
/cryptowinrt enable_cryptowinrt
21113 wine_fn_config_makefile dlls
/cryptsp enable_cryptsp
21114 wine_fn_config_makefile dlls
/cryptui enable_cryptui
21115 wine_fn_config_makefile dlls
/cryptui
/tests enable_tests
21116 wine_fn_config_makefile dlls
/ctapi32 enable_ctapi32
21117 wine_fn_config_makefile dlls
/ctl3d.dll16 enable_win16
21118 wine_fn_config_makefile dlls
/ctl3d32 enable_ctl3d32
21119 wine_fn_config_makefile dlls
/ctl3dv2.dll16 enable_win16
21120 wine_fn_config_makefile dlls
/d2d1 enable_d2d1
21121 wine_fn_config_makefile dlls
/d2d
1/tests enable_tests
21122 wine_fn_config_makefile dlls
/d3d10 enable_d3d10
21123 wine_fn_config_makefile dlls
/d3d10
/tests enable_tests
21124 wine_fn_config_makefile dlls
/d3d10_1 enable_d3d10_1
21125 wine_fn_config_makefile dlls
/d3d10_
1/tests enable_tests
21126 wine_fn_config_makefile dlls
/d3d10core enable_d3d10core
21127 wine_fn_config_makefile dlls
/d3d10core
/tests enable_tests
21128 wine_fn_config_makefile dlls
/d3d11 enable_d3d11
21129 wine_fn_config_makefile dlls
/d3d11
/tests enable_tests
21130 wine_fn_config_makefile dlls
/d3d12 enable_d3d12
21131 wine_fn_config_makefile dlls
/d3d12
/tests enable_tests
21132 wine_fn_config_makefile dlls
/d3d12core enable_d3d12core
21133 wine_fn_config_makefile dlls
/d3d8 enable_d3d8
21134 wine_fn_config_makefile dlls
/d3d
8/tests enable_tests
21135 wine_fn_config_makefile dlls
/d3d8thk enable_d3d8thk
21136 wine_fn_config_makefile dlls
/d3d9 enable_d3d9
21137 wine_fn_config_makefile dlls
/d3d
9/tests enable_tests
21138 wine_fn_config_makefile dlls
/d3dcompiler_33 enable_d3dcompiler_33
21139 wine_fn_config_makefile dlls
/d3dcompiler_34 enable_d3dcompiler_34
21140 wine_fn_config_makefile dlls
/d3dcompiler_35 enable_d3dcompiler_35
21141 wine_fn_config_makefile dlls
/d3dcompiler_36 enable_d3dcompiler_36
21142 wine_fn_config_makefile dlls
/d3dcompiler_37 enable_d3dcompiler_37
21143 wine_fn_config_makefile dlls
/d3dcompiler_38 enable_d3dcompiler_38
21144 wine_fn_config_makefile dlls
/d3dcompiler_39 enable_d3dcompiler_39
21145 wine_fn_config_makefile dlls
/d3dcompiler_40 enable_d3dcompiler_40
21146 wine_fn_config_makefile dlls
/d3dcompiler_41 enable_d3dcompiler_41
21147 wine_fn_config_makefile dlls
/d3dcompiler_42 enable_d3dcompiler_42
21148 wine_fn_config_makefile dlls
/d3dcompiler_43 enable_d3dcompiler_43
21149 wine_fn_config_makefile dlls
/d3dcompiler_43
/tests enable_tests
21150 wine_fn_config_makefile dlls
/d3dcompiler_46 enable_d3dcompiler_46
21151 wine_fn_config_makefile dlls
/d3dcompiler_46
/tests enable_tests
21152 wine_fn_config_makefile dlls
/d3dcompiler_47 enable_d3dcompiler_47
21153 wine_fn_config_makefile dlls
/d3dcompiler_47
/tests enable_tests
21154 wine_fn_config_makefile dlls
/d3dim enable_d3dim
21155 wine_fn_config_makefile dlls
/d3dim700 enable_d3dim700
21156 wine_fn_config_makefile dlls
/d3drm enable_d3drm
21157 wine_fn_config_makefile dlls
/d3drm
/tests enable_tests
21158 wine_fn_config_makefile dlls
/d3dx10_33 enable_d3dx10_33
21159 wine_fn_config_makefile dlls
/d3dx10_34 enable_d3dx10_34
21160 wine_fn_config_makefile dlls
/d3dx10_34
/tests enable_tests
21161 wine_fn_config_makefile dlls
/d3dx10_35 enable_d3dx10_35
21162 wine_fn_config_makefile dlls
/d3dx10_35
/tests enable_tests
21163 wine_fn_config_makefile dlls
/d3dx10_36 enable_d3dx10_36
21164 wine_fn_config_makefile dlls
/d3dx10_36
/tests enable_tests
21165 wine_fn_config_makefile dlls
/d3dx10_37 enable_d3dx10_37
21166 wine_fn_config_makefile dlls
/d3dx10_37
/tests enable_tests
21167 wine_fn_config_makefile dlls
/d3dx10_38 enable_d3dx10_38
21168 wine_fn_config_makefile dlls
/d3dx10_38
/tests enable_tests
21169 wine_fn_config_makefile dlls
/d3dx10_39 enable_d3dx10_39
21170 wine_fn_config_makefile dlls
/d3dx10_39
/tests enable_tests
21171 wine_fn_config_makefile dlls
/d3dx10_40 enable_d3dx10_40
21172 wine_fn_config_makefile dlls
/d3dx10_40
/tests enable_tests
21173 wine_fn_config_makefile dlls
/d3dx10_41 enable_d3dx10_41
21174 wine_fn_config_makefile dlls
/d3dx10_41
/tests enable_tests
21175 wine_fn_config_makefile dlls
/d3dx10_42 enable_d3dx10_42
21176 wine_fn_config_makefile dlls
/d3dx10_42
/tests enable_tests
21177 wine_fn_config_makefile dlls
/d3dx10_43 enable_d3dx10_43
21178 wine_fn_config_makefile dlls
/d3dx10_43
/tests enable_tests
21179 wine_fn_config_makefile dlls
/d3dx11_42 enable_d3dx11_42
21180 wine_fn_config_makefile dlls
/d3dx11_42
/tests enable_tests
21181 wine_fn_config_makefile dlls
/d3dx11_43 enable_d3dx11_43
21182 wine_fn_config_makefile dlls
/d3dx11_43
/tests enable_tests
21183 wine_fn_config_makefile dlls
/d3dx9_24 enable_d3dx9_24
21184 wine_fn_config_makefile dlls
/d3dx9_25 enable_d3dx9_25
21185 wine_fn_config_makefile dlls
/d3dx9_26 enable_d3dx9_26
21186 wine_fn_config_makefile dlls
/d3dx9_27 enable_d3dx9_27
21187 wine_fn_config_makefile dlls
/d3dx9_28 enable_d3dx9_28
21188 wine_fn_config_makefile dlls
/d3dx9_29 enable_d3dx9_29
21189 wine_fn_config_makefile dlls
/d3dx9_30 enable_d3dx9_30
21190 wine_fn_config_makefile dlls
/d3dx9_31 enable_d3dx9_31
21191 wine_fn_config_makefile dlls
/d3dx9_32 enable_d3dx9_32
21192 wine_fn_config_makefile dlls
/d3dx9_33 enable_d3dx9_33
21193 wine_fn_config_makefile dlls
/d3dx9_34 enable_d3dx9_34
21194 wine_fn_config_makefile dlls
/d3dx9_35 enable_d3dx9_35
21195 wine_fn_config_makefile dlls
/d3dx9_36 enable_d3dx9_36
21196 wine_fn_config_makefile dlls
/d3dx9_36
/tests enable_tests
21197 wine_fn_config_makefile dlls
/d3dx9_37 enable_d3dx9_37
21198 wine_fn_config_makefile dlls
/d3dx9_38 enable_d3dx9_38
21199 wine_fn_config_makefile dlls
/d3dx9_39 enable_d3dx9_39
21200 wine_fn_config_makefile dlls
/d3dx9_40 enable_d3dx9_40
21201 wine_fn_config_makefile dlls
/d3dx9_41 enable_d3dx9_41
21202 wine_fn_config_makefile dlls
/d3dx9_42 enable_d3dx9_42
21203 wine_fn_config_makefile dlls
/d3dx9_43 enable_d3dx9_43
21204 wine_fn_config_makefile dlls
/d3dxof enable_d3dxof
21205 wine_fn_config_makefile dlls
/d3dxof
/tests enable_tests
21206 wine_fn_config_makefile dlls
/davclnt enable_davclnt
21207 wine_fn_config_makefile dlls
/dbgeng enable_dbgeng
21208 wine_fn_config_makefile dlls
/dbgeng
/tests enable_tests
21209 wine_fn_config_makefile dlls
/dbghelp enable_dbghelp
21210 wine_fn_config_makefile dlls
/dbghelp
/tests enable_tests
21211 wine_fn_config_makefile dlls
/dciman32 enable_dciman32
21212 wine_fn_config_makefile dlls
/dcomp enable_dcomp
21213 wine_fn_config_makefile dlls
/ddeml.dll16 enable_win16
21214 wine_fn_config_makefile dlls
/ddraw enable_ddraw
21215 wine_fn_config_makefile dlls
/ddraw
/tests enable_tests
21216 wine_fn_config_makefile dlls
/ddrawex enable_ddrawex
21217 wine_fn_config_makefile dlls
/ddrawex
/tests enable_tests
21218 wine_fn_config_makefile dlls
/devenum enable_devenum
21219 wine_fn_config_makefile dlls
/devenum
/tests enable_tests
21220 wine_fn_config_makefile dlls
/dhcpcsvc enable_dhcpcsvc
21221 wine_fn_config_makefile dlls
/dhcpcsvc
/tests enable_tests
21222 wine_fn_config_makefile dlls
/dhcpcsvc6 enable_dhcpcsvc6
21223 wine_fn_config_makefile dlls
/dhtmled.ocx enable_dhtmled_ocx
21224 wine_fn_config_makefile dlls
/diasymreader enable_diasymreader
21225 wine_fn_config_makefile dlls
/difxapi enable_difxapi
21226 wine_fn_config_makefile dlls
/dinput enable_dinput
21227 wine_fn_config_makefile dlls
/dinput
/tests enable_tests
21228 wine_fn_config_makefile dlls
/dinput8 enable_dinput8
21229 wine_fn_config_makefile dlls
/directmanipulation enable_directmanipulation
21230 wine_fn_config_makefile dlls
/directmanipulation
/tests enable_tests
21231 wine_fn_config_makefile dlls
/dispdib.dll16 enable_win16
21232 wine_fn_config_makefile dlls
/dispex enable_dispex
21233 wine_fn_config_makefile dlls
/dispex
/tests enable_tests
21234 wine_fn_config_makefile dlls
/display.drv16 enable_win16
21235 wine_fn_config_makefile dlls
/dmband enable_dmband
21236 wine_fn_config_makefile dlls
/dmband
/tests enable_tests
21237 wine_fn_config_makefile dlls
/dmcompos enable_dmcompos
21238 wine_fn_config_makefile dlls
/dmcompos
/tests enable_tests
21239 wine_fn_config_makefile dlls
/dmime enable_dmime
21240 wine_fn_config_makefile dlls
/dmime
/tests enable_tests
21241 wine_fn_config_makefile dlls
/dmloader enable_dmloader
21242 wine_fn_config_makefile dlls
/dmloader
/tests enable_tests
21243 wine_fn_config_makefile dlls
/dmscript enable_dmscript
21244 wine_fn_config_makefile dlls
/dmscript
/tests enable_tests
21245 wine_fn_config_makefile dlls
/dmstyle enable_dmstyle
21246 wine_fn_config_makefile dlls
/dmstyle
/tests enable_tests
21247 wine_fn_config_makefile dlls
/dmsynth enable_dmsynth
21248 wine_fn_config_makefile dlls
/dmsynth
/tests enable_tests
21249 wine_fn_config_makefile dlls
/dmusic enable_dmusic
21250 wine_fn_config_makefile dlls
/dmusic
/tests enable_tests
21251 wine_fn_config_makefile dlls
/dmusic32 enable_dmusic32
21252 wine_fn_config_makefile dlls
/dnsapi enable_dnsapi
21253 wine_fn_config_makefile dlls
/dnsapi
/tests enable_tests
21254 wine_fn_config_makefile dlls
/dplay enable_dplay
21255 wine_fn_config_makefile dlls
/dplayx enable_dplayx
21256 wine_fn_config_makefile dlls
/dplayx
/tests enable_tests
21257 wine_fn_config_makefile dlls
/dpnaddr enable_dpnaddr
21258 wine_fn_config_makefile dlls
/dpnet enable_dpnet
21259 wine_fn_config_makefile dlls
/dpnet
/tests enable_tests
21260 wine_fn_config_makefile dlls
/dpnhpast enable_dpnhpast
21261 wine_fn_config_makefile dlls
/dpnhupnp enable_dpnhupnp
21262 wine_fn_config_makefile dlls
/dpnlobby enable_dpnlobby
21263 wine_fn_config_makefile dlls
/dpvoice enable_dpvoice
21264 wine_fn_config_makefile dlls
/dpvoice
/tests enable_tests
21265 wine_fn_config_makefile dlls
/dpwsockx enable_dpwsockx
21266 wine_fn_config_makefile dlls
/drmclien enable_drmclien
21267 wine_fn_config_makefile dlls
/dsdmo enable_dsdmo
21268 wine_fn_config_makefile dlls
/dsdmo
/tests enable_tests
21269 wine_fn_config_makefile dlls
/dsound enable_dsound
21270 wine_fn_config_makefile dlls
/dsound
/tests enable_tests
21271 wine_fn_config_makefile dlls
/dsquery enable_dsquery
21272 wine_fn_config_makefile dlls
/dssenh enable_dssenh
21273 wine_fn_config_makefile dlls
/dssenh
/tests enable_tests
21274 wine_fn_config_makefile dlls
/dsuiext enable_dsuiext
21275 wine_fn_config_makefile dlls
/dswave enable_dswave
21276 wine_fn_config_makefile dlls
/dswave
/tests enable_tests
21277 wine_fn_config_makefile dlls
/dwmapi enable_dwmapi
21278 wine_fn_config_makefile dlls
/dwmapi
/tests enable_tests
21279 wine_fn_config_makefile dlls
/dwrite enable_dwrite
21280 wine_fn_config_makefile dlls
/dwrite
/tests enable_tests
21281 wine_fn_config_makefile dlls
/dx8vb enable_dx8vb
21282 wine_fn_config_makefile dlls
/dxdiagn enable_dxdiagn
21283 wine_fn_config_makefile dlls
/dxdiagn
/tests enable_tests
21284 wine_fn_config_makefile dlls
/dxgi enable_dxgi
21285 wine_fn_config_makefile dlls
/dxgi
/tests enable_tests
21286 wine_fn_config_makefile dlls
/dxtrans enable_dxtrans
21287 wine_fn_config_makefile dlls
/dxva2 enable_dxva2
21288 wine_fn_config_makefile dlls
/dxva
2/tests enable_tests
21289 wine_fn_config_makefile dlls
/esent enable_esent
21290 wine_fn_config_makefile dlls
/evr enable_evr
21291 wine_fn_config_makefile dlls
/evr
/tests enable_tests
21292 wine_fn_config_makefile dlls
/explorerframe enable_explorerframe
21293 wine_fn_config_makefile dlls
/explorerframe
/tests enable_tests
21294 wine_fn_config_makefile dlls
/faultrep enable_faultrep
21295 wine_fn_config_makefile dlls
/faultrep
/tests enable_tests
21296 wine_fn_config_makefile dlls
/feclient enable_feclient
21297 wine_fn_config_makefile dlls
/fltlib enable_fltlib
21298 wine_fn_config_makefile dlls
/fltmgr.sys enable_fltmgr_sys
21299 wine_fn_config_makefile dlls
/fntcache enable_fntcache
21300 wine_fn_config_makefile dlls
/fontsub enable_fontsub
21301 wine_fn_config_makefile dlls
/fusion enable_fusion
21302 wine_fn_config_makefile dlls
/fusion
/tests enable_tests
21303 wine_fn_config_makefile dlls
/fwpuclnt enable_fwpuclnt
21304 wine_fn_config_makefile dlls
/gameux enable_gameux
21305 wine_fn_config_makefile dlls
/gameux
/tests enable_tests
21306 wine_fn_config_makefile dlls
/gamingtcui enable_gamingtcui
21307 wine_fn_config_makefile dlls
/gdi.exe16 enable_win16
21308 wine_fn_config_makefile dlls
/gdi32 enable_gdi32
21309 wine_fn_config_makefile dlls
/gdi32
/tests enable_tests
21310 wine_fn_config_makefile dlls
/gdiplus enable_gdiplus
21311 wine_fn_config_makefile dlls
/gdiplus
/tests enable_tests
21312 wine_fn_config_makefile dlls
/glu32 enable_glu32
21313 wine_fn_config_makefile dlls
/gphoto2.ds enable_gphoto2_ds
21314 wine_fn_config_makefile dlls
/gpkcsp enable_gpkcsp
21315 wine_fn_config_makefile dlls
/hal enable_hal
21316 wine_fn_config_makefile dlls
/hhctrl.ocx enable_hhctrl_ocx
21317 wine_fn_config_makefile dlls
/hid enable_hid
21318 wine_fn_config_makefile dlls
/hid
/tests enable_tests
21319 wine_fn_config_makefile dlls
/hidclass.sys enable_hidclass_sys
21320 wine_fn_config_makefile dlls
/hidparse.sys enable_hidparse_sys
21321 wine_fn_config_makefile dlls
/hlink enable_hlink
21322 wine_fn_config_makefile dlls
/hlink
/tests enable_tests
21323 wine_fn_config_makefile dlls
/hnetcfg enable_hnetcfg
21324 wine_fn_config_makefile dlls
/hnetcfg
/tests enable_tests
21325 wine_fn_config_makefile dlls
/http.sys enable_http_sys
21326 wine_fn_config_makefile dlls
/httpapi enable_httpapi
21327 wine_fn_config_makefile dlls
/httpapi
/tests enable_tests
21328 wine_fn_config_makefile dlls
/ia2comproxy enable_ia2comproxy
21329 wine_fn_config_makefile dlls
/iccvid enable_iccvid
21330 wine_fn_config_makefile dlls
/icmp enable_icmp
21331 wine_fn_config_makefile dlls
/ieframe enable_ieframe
21332 wine_fn_config_makefile dlls
/ieframe
/tests enable_tests
21333 wine_fn_config_makefile dlls
/ieproxy enable_ieproxy
21334 wine_fn_config_makefile dlls
/ifsmgr.vxd enable_win16
21335 wine_fn_config_makefile dlls
/imaadp32.acm enable_imaadp32_acm
21336 wine_fn_config_makefile dlls
/imagehlp enable_imagehlp
21337 wine_fn_config_makefile dlls
/imagehlp
/tests enable_tests
21338 wine_fn_config_makefile dlls
/imm.dll16 enable_win16
21339 wine_fn_config_makefile dlls
/imm32 enable_imm32
21340 wine_fn_config_makefile dlls
/imm32
/tests enable_tests
21341 wine_fn_config_makefile dlls
/inetcomm enable_inetcomm
21342 wine_fn_config_makefile dlls
/inetcomm
/tests enable_tests
21343 wine_fn_config_makefile dlls
/inetcpl.cpl enable_inetcpl_cpl
21344 wine_fn_config_makefile dlls
/inetmib1 enable_inetmib1
21345 wine_fn_config_makefile dlls
/inetmib
1/tests enable_tests
21346 wine_fn_config_makefile dlls
/infosoft enable_infosoft
21347 wine_fn_config_makefile dlls
/infosoft
/tests enable_tests
21348 wine_fn_config_makefile dlls
/initpki enable_initpki
21349 wine_fn_config_makefile dlls
/inkobj enable_inkobj
21350 wine_fn_config_makefile dlls
/inseng enable_inseng
21351 wine_fn_config_makefile dlls
/iphlpapi enable_iphlpapi
21352 wine_fn_config_makefile dlls
/iphlpapi
/tests enable_tests
21353 wine_fn_config_makefile dlls
/iprop enable_iprop
21354 wine_fn_config_makefile dlls
/ir50_32 enable_ir50_32
21355 wine_fn_config_makefile dlls
/irprops.cpl enable_irprops_cpl
21356 wine_fn_config_makefile dlls
/itircl enable_itircl
21357 wine_fn_config_makefile dlls
/itss enable_itss
21358 wine_fn_config_makefile dlls
/itss
/tests enable_tests
21359 wine_fn_config_makefile dlls
/joy.cpl enable_joy_cpl
21360 wine_fn_config_makefile dlls
/jscript enable_jscript
21361 wine_fn_config_makefile dlls
/jscript
/tests enable_tests
21362 wine_fn_config_makefile dlls
/jsproxy enable_jsproxy
21363 wine_fn_config_makefile dlls
/jsproxy
/tests enable_tests
21364 wine_fn_config_makefile dlls
/kerberos enable_kerberos
21365 wine_fn_config_makefile dlls
/kernel32 enable_kernel32
21366 wine_fn_config_makefile dlls
/kernel32
/tests enable_tests
21367 wine_fn_config_makefile dlls
/kernelbase enable_kernelbase
21368 wine_fn_config_makefile dlls
/kernelbase
/tests enable_tests
21369 wine_fn_config_makefile dlls
/keyboard.drv16 enable_win16
21370 wine_fn_config_makefile dlls
/krnl386.exe16 enable_win16
21371 wine_fn_config_makefile dlls
/ksecdd.sys enable_ksecdd_sys
21372 wine_fn_config_makefile dlls
/ksproxy.ax enable_ksproxy_ax
21373 wine_fn_config_makefile dlls
/ksuser enable_ksuser
21374 wine_fn_config_makefile dlls
/ktmw32 enable_ktmw32
21375 wine_fn_config_makefile dlls
/l3codeca.acm enable_l3codeca_acm
21376 wine_fn_config_makefile dlls
/light.msstyles enable_light_msstyles
21377 wine_fn_config_makefile dlls
/loadperf enable_loadperf
21378 wine_fn_config_makefile dlls
/localspl enable_localspl
21379 wine_fn_config_makefile dlls
/localspl
/tests enable_tests
21380 wine_fn_config_makefile dlls
/localui enable_localui
21381 wine_fn_config_makefile dlls
/localui
/tests enable_tests
21382 wine_fn_config_makefile dlls
/lz32 enable_lz32
21383 wine_fn_config_makefile dlls
/lz32
/tests enable_tests
21384 wine_fn_config_makefile dlls
/lzexpand.dll16 enable_win16
21385 wine_fn_config_makefile dlls
/mapi32 enable_mapi32
21386 wine_fn_config_makefile dlls
/mapi32
/tests enable_tests
21387 wine_fn_config_makefile dlls
/mapistub enable_mapistub
21388 wine_fn_config_makefile dlls
/mciavi32 enable_mciavi32
21389 wine_fn_config_makefile dlls
/mcicda enable_mcicda
21390 wine_fn_config_makefile dlls
/mciqtz32 enable_mciqtz32
21391 wine_fn_config_makefile dlls
/mciseq enable_mciseq
21392 wine_fn_config_makefile dlls
/mciwave enable_mciwave
21393 wine_fn_config_makefile dlls
/mf enable_mf
21394 wine_fn_config_makefile dlls
/mf
/tests enable_tests
21395 wine_fn_config_makefile dlls
/mf3216 enable_mf3216
21396 wine_fn_config_makefile dlls
/mferror enable_mferror
21397 wine_fn_config_makefile dlls
/mfmediaengine enable_mfmediaengine
21398 wine_fn_config_makefile dlls
/mfmediaengine
/tests enable_tests
21399 wine_fn_config_makefile dlls
/mfplat enable_mfplat
21400 wine_fn_config_makefile dlls
/mfplat
/tests enable_tests
21401 wine_fn_config_makefile dlls
/mfplay enable_mfplay
21402 wine_fn_config_makefile dlls
/mfplay
/tests enable_tests
21403 wine_fn_config_makefile dlls
/mfreadwrite enable_mfreadwrite
21404 wine_fn_config_makefile dlls
/mfreadwrite
/tests enable_tests
21405 wine_fn_config_makefile dlls
/mfsrcsnk enable_mfsrcsnk
21406 wine_fn_config_makefile dlls
/mfsrcsnk
/tests enable_tests
21407 wine_fn_config_makefile dlls
/mgmtapi enable_mgmtapi
21408 wine_fn_config_makefile dlls
/midimap enable_midimap
21409 wine_fn_config_makefile dlls
/mlang enable_mlang
21410 wine_fn_config_makefile dlls
/mlang
/tests enable_tests
21411 wine_fn_config_makefile dlls
/mmcndmgr enable_mmcndmgr
21412 wine_fn_config_makefile dlls
/mmcndmgr
/tests enable_tests
21413 wine_fn_config_makefile dlls
/mmdevapi enable_mmdevapi
21414 wine_fn_config_makefile dlls
/mmdevapi
/tests enable_tests
21415 wine_fn_config_makefile dlls
/mmdevldr.vxd enable_win16
21416 wine_fn_config_makefile dlls
/mmsystem.dll16 enable_win16
21417 wine_fn_config_makefile dlls
/monodebg.vxd enable_win16
21418 wine_fn_config_makefile dlls
/mountmgr.sys enable_mountmgr_sys
21419 wine_fn_config_makefile dlls
/mouse.drv16 enable_win16
21420 wine_fn_config_makefile dlls
/mp3dmod enable_mp3dmod
21421 wine_fn_config_makefile dlls
/mp3dmod
/tests enable_tests
21422 wine_fn_config_makefile dlls
/mpr enable_mpr
21423 wine_fn_config_makefile dlls
/mpr
/tests enable_tests
21424 wine_fn_config_makefile dlls
/mprapi enable_mprapi
21425 wine_fn_config_makefile dlls
/msacm.dll16 enable_win16
21426 wine_fn_config_makefile dlls
/msacm32.drv enable_msacm32_drv
21427 wine_fn_config_makefile dlls
/msacm32 enable_msacm32
21428 wine_fn_config_makefile dlls
/msacm32
/tests enable_tests
21429 wine_fn_config_makefile dlls
/msado15 enable_msado15
21430 wine_fn_config_makefile dlls
/msado15
/tests enable_tests
21431 wine_fn_config_makefile dlls
/msadp32.acm enable_msadp32_acm
21432 wine_fn_config_makefile dlls
/msasn1 enable_msasn1
21433 wine_fn_config_makefile dlls
/msasn
1/tests enable_tests
21434 wine_fn_config_makefile dlls
/msauddecmft enable_msauddecmft
21435 wine_fn_config_makefile dlls
/mscat32 enable_mscat32
21436 wine_fn_config_makefile dlls
/mscms enable_mscms
21437 wine_fn_config_makefile dlls
/mscms
/tests enable_tests
21438 wine_fn_config_makefile dlls
/mscoree enable_mscoree
21439 wine_fn_config_makefile dlls
/mscoree
/tests enable_tests
21440 wine_fn_config_makefile dlls
/mscorwks enable_mscorwks
21441 wine_fn_config_makefile dlls
/msctf enable_msctf
21442 wine_fn_config_makefile dlls
/msctf
/tests enable_tests
21443 wine_fn_config_makefile dlls
/msctfmonitor enable_msctfmonitor
21444 wine_fn_config_makefile dlls
/msctfp enable_msctfp
21445 wine_fn_config_makefile dlls
/msdaps enable_msdaps
21446 wine_fn_config_makefile dlls
/msdasql enable_msdasql
21447 wine_fn_config_makefile dlls
/msdasql
/tests enable_tests
21448 wine_fn_config_makefile dlls
/msdelta enable_msdelta
21449 wine_fn_config_makefile dlls
/msdmo enable_msdmo
21450 wine_fn_config_makefile dlls
/msdmo
/tests enable_tests
21451 wine_fn_config_makefile dlls
/msdrm enable_msdrm
21452 wine_fn_config_makefile dlls
/msftedit enable_msftedit
21453 wine_fn_config_makefile dlls
/msftedit
/tests enable_tests
21454 wine_fn_config_makefile dlls
/msg711.acm enable_msg711_acm
21455 wine_fn_config_makefile dlls
/msgsm32.acm enable_msgsm32_acm
21456 wine_fn_config_makefile dlls
/mshtml.tlb enable_mshtml_tlb
21457 wine_fn_config_makefile dlls
/mshtml enable_mshtml
21458 wine_fn_config_makefile dlls
/mshtml
/tests enable_tests
21459 wine_fn_config_makefile dlls
/msi enable_msi
21460 wine_fn_config_makefile dlls
/msi
/tests enable_tests
21461 wine_fn_config_makefile dlls
/msident enable_msident
21462 wine_fn_config_makefile dlls
/msimg32 enable_msimg32
21463 wine_fn_config_makefile dlls
/msimsg enable_msimsg
21464 wine_fn_config_makefile dlls
/msimtf enable_msimtf
21465 wine_fn_config_makefile dlls
/msisip enable_msisip
21466 wine_fn_config_makefile dlls
/msisys.ocx enable_msisys_ocx
21467 wine_fn_config_makefile dlls
/msls31 enable_msls31
21468 wine_fn_config_makefile dlls
/msmpeg2vdec enable_msmpeg2vdec
21469 wine_fn_config_makefile dlls
/msnet32 enable_msnet32
21470 wine_fn_config_makefile dlls
/mspatcha enable_mspatcha
21471 wine_fn_config_makefile dlls
/mspatcha
/tests enable_tests
21472 wine_fn_config_makefile dlls
/msports enable_msports
21473 wine_fn_config_makefile dlls
/msrle32 enable_msrle32
21474 wine_fn_config_makefile dlls
/msrle32
/tests enable_tests
21475 wine_fn_config_makefile dlls
/msscript.ocx enable_msscript_ocx
21476 wine_fn_config_makefile dlls
/msscript.ocx
/tests enable_tests
21477 wine_fn_config_makefile dlls
/mssign32 enable_mssign32
21478 wine_fn_config_makefile dlls
/mssip32 enable_mssip32
21479 wine_fn_config_makefile dlls
/mstask enable_mstask
21480 wine_fn_config_makefile dlls
/mstask
/tests enable_tests
21481 wine_fn_config_makefile dlls
/msv1_0 enable_msv1_0
21482 wine_fn_config_makefile dlls
/msvcirt enable_msvcirt
21483 wine_fn_config_makefile dlls
/msvcirt
/tests enable_tests
21484 wine_fn_config_makefile dlls
/msvcm80 enable_msvcm80
21485 wine_fn_config_makefile dlls
/msvcm90 enable_msvcm90
21486 wine_fn_config_makefile dlls
/msvcp100 enable_msvcp100
21487 wine_fn_config_makefile dlls
/msvcp100
/tests enable_tests
21488 wine_fn_config_makefile dlls
/msvcp110 enable_msvcp110
21489 wine_fn_config_makefile dlls
/msvcp110
/tests enable_tests
21490 wine_fn_config_makefile dlls
/msvcp120 enable_msvcp120
21491 wine_fn_config_makefile dlls
/msvcp120
/tests enable_tests
21492 wine_fn_config_makefile dlls
/msvcp120_app enable_msvcp120_app
21493 wine_fn_config_makefile dlls
/msvcp140 enable_msvcp140
21494 wine_fn_config_makefile dlls
/msvcp140
/tests enable_tests
21495 wine_fn_config_makefile dlls
/msvcp140_1 enable_msvcp140_1
21496 wine_fn_config_makefile dlls
/msvcp140_
1/tests enable_tests
21497 wine_fn_config_makefile dlls
/msvcp140_2 enable_msvcp140_2
21498 wine_fn_config_makefile dlls
/msvcp140_atomic_wait enable_msvcp140_atomic_wait
21499 wine_fn_config_makefile dlls
/msvcp140_atomic_wait
/tests enable_tests
21500 wine_fn_config_makefile dlls
/msvcp60 enable_msvcp60
21501 wine_fn_config_makefile dlls
/msvcp60
/tests enable_tests
21502 wine_fn_config_makefile dlls
/msvcp70 enable_msvcp70
21503 wine_fn_config_makefile dlls
/msvcp71 enable_msvcp71
21504 wine_fn_config_makefile dlls
/msvcp80 enable_msvcp80
21505 wine_fn_config_makefile dlls
/msvcp90 enable_msvcp90
21506 wine_fn_config_makefile dlls
/msvcp90
/tests enable_tests
21507 wine_fn_config_makefile dlls
/msvcp_win enable_msvcp_win
21508 wine_fn_config_makefile dlls
/msvcr100 enable_msvcr100
21509 wine_fn_config_makefile dlls
/msvcr100
/tests enable_tests
21510 wine_fn_config_makefile dlls
/msvcr110 enable_msvcr110
21511 wine_fn_config_makefile dlls
/msvcr110
/tests enable_tests
21512 wine_fn_config_makefile dlls
/msvcr120 enable_msvcr120
21513 wine_fn_config_makefile dlls
/msvcr120
/tests enable_tests
21514 wine_fn_config_makefile dlls
/msvcr120_app enable_msvcr120_app
21515 wine_fn_config_makefile dlls
/msvcr70 enable_msvcr70
21516 wine_fn_config_makefile dlls
/msvcr70
/tests enable_tests
21517 wine_fn_config_makefile dlls
/msvcr71 enable_msvcr71
21518 wine_fn_config_makefile dlls
/msvcr71
/tests enable_tests
21519 wine_fn_config_makefile dlls
/msvcr80 enable_msvcr80
21520 wine_fn_config_makefile dlls
/msvcr80
/tests enable_tests
21521 wine_fn_config_makefile dlls
/msvcr90 enable_msvcr90
21522 wine_fn_config_makefile dlls
/msvcr90
/tests enable_tests
21523 wine_fn_config_makefile dlls
/msvcrt enable_msvcrt
21524 wine_fn_config_makefile dlls
/msvcrt
/tests enable_tests
21525 wine_fn_config_makefile dlls
/msvcrt20 enable_msvcrt20
21526 wine_fn_config_makefile dlls
/msvcrt40 enable_msvcrt40
21527 wine_fn_config_makefile dlls
/msvcrtd enable_msvcrtd
21528 wine_fn_config_makefile dlls
/msvcrtd
/tests enable_tests
21529 wine_fn_config_makefile dlls
/msvfw32 enable_msvfw32
21530 wine_fn_config_makefile dlls
/msvfw32
/tests enable_tests
21531 wine_fn_config_makefile dlls
/msvidc32 enable_msvidc32
21532 wine_fn_config_makefile dlls
/msvideo.dll16 enable_win16
21533 wine_fn_config_makefile dlls
/mswsock enable_mswsock
21534 wine_fn_config_makefile dlls
/msxml enable_msxml
21535 wine_fn_config_makefile dlls
/msxml2 enable_msxml2
21536 wine_fn_config_makefile dlls
/msxml3 enable_msxml3
21537 wine_fn_config_makefile dlls
/msxml
3/tests enable_tests
21538 wine_fn_config_makefile dlls
/msxml4 enable_msxml4
21539 wine_fn_config_makefile dlls
/msxml6 enable_msxml6
21540 wine_fn_config_makefile dlls
/mtxdm enable_mtxdm
21541 wine_fn_config_makefile dlls
/ncrypt enable_ncrypt
21542 wine_fn_config_makefile dlls
/ncrypt
/tests enable_tests
21543 wine_fn_config_makefile dlls
/nddeapi enable_nddeapi
21544 wine_fn_config_makefile dlls
/ndis.sys enable_ndis_sys
21545 wine_fn_config_makefile dlls
/ndis.sys
/tests enable_tests
21546 wine_fn_config_makefile dlls
/netapi32 enable_netapi32
21547 wine_fn_config_makefile dlls
/netapi32
/tests enable_tests
21548 wine_fn_config_makefile dlls
/netcfgx enable_netcfgx
21549 wine_fn_config_makefile dlls
/netcfgx
/tests enable_tests
21550 wine_fn_config_makefile dlls
/netio.sys enable_netio_sys
21551 wine_fn_config_makefile dlls
/netprofm enable_netprofm
21552 wine_fn_config_makefile dlls
/netprofm
/tests enable_tests
21553 wine_fn_config_makefile dlls
/netutils enable_netutils
21554 wine_fn_config_makefile dlls
/newdev enable_newdev
21555 wine_fn_config_makefile dlls
/ninput enable_ninput
21556 wine_fn_config_makefile dlls
/ninput
/tests enable_tests
21557 wine_fn_config_makefile dlls
/normaliz enable_normaliz
21558 wine_fn_config_makefile dlls
/npmshtml enable_npmshtml
21559 wine_fn_config_makefile dlls
/npptools enable_npptools
21560 wine_fn_config_makefile dlls
/nsi enable_nsi
21561 wine_fn_config_makefile dlls
/nsi
/tests enable_tests
21562 wine_fn_config_makefile dlls
/nsiproxy.sys enable_nsiproxy_sys
21563 wine_fn_config_makefile dlls
/ntdll enable_ntdll
21564 wine_fn_config_makefile dlls
/ntdll
/tests enable_tests
21565 wine_fn_config_makefile dlls
/ntdsapi enable_ntdsapi
21566 wine_fn_config_makefile dlls
/ntdsapi
/tests enable_tests
21567 wine_fn_config_makefile dlls
/ntoskrnl.exe enable_ntoskrnl_exe
21568 wine_fn_config_makefile dlls
/ntoskrnl.exe
/tests enable_tests
21569 wine_fn_config_makefile dlls
/ntprint enable_ntprint
21570 wine_fn_config_makefile dlls
/ntprint
/tests enable_tests
21571 wine_fn_config_makefile dlls
/objsel enable_objsel
21572 wine_fn_config_makefile dlls
/odbc32 enable_odbc32
21573 wine_fn_config_makefile dlls
/odbcbcp enable_odbcbcp
21574 wine_fn_config_makefile dlls
/odbccp32 enable_odbccp32
21575 wine_fn_config_makefile dlls
/odbccp32
/tests enable_tests
21576 wine_fn_config_makefile dlls
/odbccu32 enable_odbccu32
21577 wine_fn_config_makefile dlls
/ole2.dll16 enable_win16
21578 wine_fn_config_makefile dlls
/ole2conv.dll16 enable_win16
21579 wine_fn_config_makefile dlls
/ole2disp.dll16 enable_win16
21580 wine_fn_config_makefile dlls
/ole2nls.dll16 enable_win16
21581 wine_fn_config_makefile dlls
/ole2prox.dll16 enable_win16
21582 wine_fn_config_makefile dlls
/ole2thk.dll16 enable_win16
21583 wine_fn_config_makefile dlls
/ole32 enable_ole32
21584 wine_fn_config_makefile dlls
/ole32
/tests enable_tests
21585 wine_fn_config_makefile dlls
/oleacc enable_oleacc
21586 wine_fn_config_makefile dlls
/oleacc
/tests enable_tests
21587 wine_fn_config_makefile dlls
/oleaut32 enable_oleaut32
21588 wine_fn_config_makefile dlls
/oleaut32
/tests enable_tests
21589 wine_fn_config_makefile dlls
/olecli.dll16 enable_win16
21590 wine_fn_config_makefile dlls
/olecli32 enable_olecli32
21591 wine_fn_config_makefile dlls
/oledb32 enable_oledb32
21592 wine_fn_config_makefile dlls
/oledb32
/tests enable_tests
21593 wine_fn_config_makefile dlls
/oledlg enable_oledlg
21594 wine_fn_config_makefile dlls
/oledlg
/tests enable_tests
21595 wine_fn_config_makefile dlls
/olepro32 enable_olepro32
21596 wine_fn_config_makefile dlls
/olesvr.dll16 enable_win16
21597 wine_fn_config_makefile dlls
/olesvr32 enable_olesvr32
21598 wine_fn_config_makefile dlls
/olethk32 enable_olethk32
21599 wine_fn_config_makefile dlls
/opcservices enable_opcservices
21600 wine_fn_config_makefile dlls
/opcservices
/tests enable_tests
21601 wine_fn_config_makefile dlls
/opencl enable_opencl
21602 wine_fn_config_makefile dlls
/opengl32 enable_opengl32
21603 wine_fn_config_makefile dlls
/opengl32
/tests enable_tests
21604 wine_fn_config_makefile dlls
/packager enable_packager
21605 wine_fn_config_makefile dlls
/packager
/tests enable_tests
21606 wine_fn_config_makefile dlls
/pdh enable_pdh
21607 wine_fn_config_makefile dlls
/pdh
/tests enable_tests
21608 wine_fn_config_makefile dlls
/photometadatahandler enable_photometadatahandler
21609 wine_fn_config_makefile dlls
/pidgen enable_pidgen
21610 wine_fn_config_makefile dlls
/powrprof enable_powrprof
21611 wine_fn_config_makefile dlls
/printui enable_printui
21612 wine_fn_config_makefile dlls
/prntvpt enable_prntvpt
21613 wine_fn_config_makefile dlls
/prntvpt
/tests enable_tests
21614 wine_fn_config_makefile dlls
/propsys enable_propsys
21615 wine_fn_config_makefile dlls
/propsys
/tests enable_tests
21616 wine_fn_config_makefile dlls
/psapi enable_psapi
21617 wine_fn_config_makefile dlls
/psapi
/tests enable_tests
21618 wine_fn_config_makefile dlls
/pstorec enable_pstorec
21619 wine_fn_config_makefile dlls
/pstorec
/tests enable_tests
21620 wine_fn_config_makefile dlls
/pwrshplugin enable_pwrshplugin
21621 wine_fn_config_makefile dlls
/qasf enable_qasf
21622 wine_fn_config_makefile dlls
/qasf
/tests enable_tests
21623 wine_fn_config_makefile dlls
/qcap enable_qcap
21624 wine_fn_config_makefile dlls
/qcap
/tests enable_tests
21625 wine_fn_config_makefile dlls
/qdvd enable_qdvd
21626 wine_fn_config_makefile dlls
/qdvd
/tests enable_tests
21627 wine_fn_config_makefile dlls
/qedit enable_qedit
21628 wine_fn_config_makefile dlls
/qedit
/tests enable_tests
21629 wine_fn_config_makefile dlls
/qmgr enable_qmgr
21630 wine_fn_config_makefile dlls
/qmgr
/tests enable_tests
21631 wine_fn_config_makefile dlls
/qmgrprxy enable_qmgrprxy
21632 wine_fn_config_makefile dlls
/quartz enable_quartz
21633 wine_fn_config_makefile dlls
/quartz
/tests enable_tests
21634 wine_fn_config_makefile dlls
/query enable_query
21635 wine_fn_config_makefile dlls
/qwave enable_qwave
21636 wine_fn_config_makefile dlls
/qwave
/tests enable_tests
21637 wine_fn_config_makefile dlls
/rasapi16.dll16 enable_win16
21638 wine_fn_config_makefile dlls
/rasapi32 enable_rasapi32
21639 wine_fn_config_makefile dlls
/rasapi32
/tests enable_tests
21640 wine_fn_config_makefile dlls
/rasdlg enable_rasdlg
21641 wine_fn_config_makefile dlls
/regapi enable_regapi
21642 wine_fn_config_makefile dlls
/resutils enable_resutils
21643 wine_fn_config_makefile dlls
/riched20 enable_riched20
21644 wine_fn_config_makefile dlls
/riched20
/tests enable_tests
21645 wine_fn_config_makefile dlls
/riched32 enable_riched32
21646 wine_fn_config_makefile dlls
/riched32
/tests enable_tests
21647 wine_fn_config_makefile dlls
/rpcrt4 enable_rpcrt4
21648 wine_fn_config_makefile dlls
/rpcrt
4/tests enable_tests
21649 wine_fn_config_makefile dlls
/rsabase enable_rsabase
21650 wine_fn_config_makefile dlls
/rsaenh enable_rsaenh
21651 wine_fn_config_makefile dlls
/rsaenh
/tests enable_tests
21652 wine_fn_config_makefile dlls
/rstrtmgr enable_rstrtmgr
21653 wine_fn_config_makefile dlls
/rtutils enable_rtutils
21654 wine_fn_config_makefile dlls
/rtworkq enable_rtworkq
21655 wine_fn_config_makefile dlls
/rtworkq
/tests enable_tests
21656 wine_fn_config_makefile dlls
/samlib enable_samlib
21657 wine_fn_config_makefile dlls
/sane.ds enable_sane_ds
21658 wine_fn_config_makefile dlls
/sapi enable_sapi
21659 wine_fn_config_makefile dlls
/sapi
/tests enable_tests
21660 wine_fn_config_makefile dlls
/sas enable_sas
21661 wine_fn_config_makefile dlls
/scarddlg enable_scarddlg
21662 wine_fn_config_makefile dlls
/scardsvr enable_scardsvr
21663 wine_fn_config_makefile dlls
/sccbase enable_sccbase
21664 wine_fn_config_makefile dlls
/schannel enable_schannel
21665 wine_fn_config_makefile dlls
/schannel
/tests enable_tests
21666 wine_fn_config_makefile dlls
/schedsvc enable_schedsvc
21667 wine_fn_config_makefile dlls
/schedsvc
/tests enable_tests
21668 wine_fn_config_makefile dlls
/scrobj enable_scrobj
21669 wine_fn_config_makefile dlls
/scrobj
/tests enable_tests
21670 wine_fn_config_makefile dlls
/scrrun enable_scrrun
21671 wine_fn_config_makefile dlls
/scrrun
/tests enable_tests
21672 wine_fn_config_makefile dlls
/scsiport.sys enable_scsiport_sys
21673 wine_fn_config_makefile dlls
/sechost enable_sechost
21674 wine_fn_config_makefile dlls
/secur32 enable_secur32
21675 wine_fn_config_makefile dlls
/secur32
/tests enable_tests
21676 wine_fn_config_makefile dlls
/security enable_security
21677 wine_fn_config_makefile dlls
/sensapi enable_sensapi
21678 wine_fn_config_makefile dlls
/serialui enable_serialui
21679 wine_fn_config_makefile dlls
/serialui
/tests enable_tests
21680 wine_fn_config_makefile dlls
/setupapi enable_setupapi
21681 wine_fn_config_makefile dlls
/setupapi
/tests enable_tests
21682 wine_fn_config_makefile dlls
/setupx.dll16 enable_win16
21683 wine_fn_config_makefile dlls
/sfc enable_sfc
21684 wine_fn_config_makefile dlls
/sfc_os enable_sfc_os
21685 wine_fn_config_makefile dlls
/shcore enable_shcore
21686 wine_fn_config_makefile dlls
/shcore
/tests enable_tests
21687 wine_fn_config_makefile dlls
/shdoclc enable_shdoclc
21688 wine_fn_config_makefile dlls
/shdocvw enable_shdocvw
21689 wine_fn_config_makefile dlls
/shdocvw
/tests enable_tests
21690 wine_fn_config_makefile dlls
/shell.dll16 enable_win16
21691 wine_fn_config_makefile dlls
/shell32 enable_shell32
21692 wine_fn_config_makefile dlls
/shell32
/tests enable_tests
21693 wine_fn_config_makefile dlls
/shfolder enable_shfolder
21694 wine_fn_config_makefile dlls
/shlwapi enable_shlwapi
21695 wine_fn_config_makefile dlls
/shlwapi
/tests enable_tests
21696 wine_fn_config_makefile dlls
/slbcsp enable_slbcsp
21697 wine_fn_config_makefile dlls
/slc enable_slc
21698 wine_fn_config_makefile dlls
/slc
/tests enable_tests
21699 wine_fn_config_makefile dlls
/snmpapi enable_snmpapi
21700 wine_fn_config_makefile dlls
/snmpapi
/tests enable_tests
21701 wine_fn_config_makefile dlls
/softpub enable_softpub
21702 wine_fn_config_makefile dlls
/sound.drv16 enable_win16
21703 wine_fn_config_makefile dlls
/spoolss enable_spoolss
21704 wine_fn_config_makefile dlls
/spoolss
/tests enable_tests
21705 wine_fn_config_makefile dlls
/sppc enable_sppc
21706 wine_fn_config_makefile dlls
/srclient enable_srclient
21707 wine_fn_config_makefile dlls
/srvcli enable_srvcli
21708 wine_fn_config_makefile dlls
/sspicli enable_sspicli
21709 wine_fn_config_makefile dlls
/stdole2.tlb enable_stdole2_tlb
21710 wine_fn_config_makefile dlls
/stdole32.tlb enable_stdole32_tlb
21711 wine_fn_config_makefile dlls
/sti enable_sti
21712 wine_fn_config_makefile dlls
/sti
/tests enable_tests
21713 wine_fn_config_makefile dlls
/storage.dll16 enable_win16
21714 wine_fn_config_makefile dlls
/stress.dll16 enable_win16
21715 wine_fn_config_makefile dlls
/strmdll enable_strmdll
21716 wine_fn_config_makefile dlls
/svrapi enable_svrapi
21717 wine_fn_config_makefile dlls
/sxs enable_sxs
21718 wine_fn_config_makefile dlls
/sxs
/tests enable_tests
21719 wine_fn_config_makefile dlls
/system.drv16 enable_win16
21720 wine_fn_config_makefile dlls
/t2embed enable_t2embed
21721 wine_fn_config_makefile dlls
/t2embed
/tests enable_tests
21722 wine_fn_config_makefile dlls
/tapi32 enable_tapi32
21723 wine_fn_config_makefile dlls
/tapi32
/tests enable_tests
21724 wine_fn_config_makefile dlls
/taskschd enable_taskschd
21725 wine_fn_config_makefile dlls
/taskschd
/tests enable_tests
21726 wine_fn_config_makefile dlls
/tbs enable_tbs
21727 wine_fn_config_makefile dlls
/tdh enable_tdh
21728 wine_fn_config_makefile dlls
/tdi.sys enable_tdi_sys
21729 wine_fn_config_makefile dlls
/threadpoolwinrt enable_threadpoolwinrt
21730 wine_fn_config_makefile dlls
/threadpoolwinrt
/tests enable_tests
21731 wine_fn_config_makefile dlls
/toolhelp.dll16 enable_win16
21732 wine_fn_config_makefile dlls
/traffic enable_traffic
21733 wine_fn_config_makefile dlls
/twain.dll16 enable_win16
21734 wine_fn_config_makefile dlls
/twain_32 enable_twain_32
21735 wine_fn_config_makefile dlls
/twain_32
/tests enable_tests
21736 wine_fn_config_makefile dlls
/typelib.dll16 enable_win16
21737 wine_fn_config_makefile dlls
/tzres enable_tzres
21738 wine_fn_config_makefile dlls
/ucrtbase enable_ucrtbase
21739 wine_fn_config_makefile dlls
/ucrtbase
/tests enable_tests
21740 wine_fn_config_makefile dlls
/uianimation enable_uianimation
21741 wine_fn_config_makefile dlls
/uianimation
/tests enable_tests
21742 wine_fn_config_makefile dlls
/uiautomationcore enable_uiautomationcore
21743 wine_fn_config_makefile dlls
/uiautomationcore
/tests enable_tests
21744 wine_fn_config_makefile dlls
/uiribbon enable_uiribbon
21745 wine_fn_config_makefile dlls
/unicows enable_unicows
21746 wine_fn_config_makefile dlls
/updspapi enable_updspapi
21747 wine_fn_config_makefile dlls
/url enable_url
21748 wine_fn_config_makefile dlls
/urlmon enable_urlmon
21749 wine_fn_config_makefile dlls
/urlmon
/tests enable_tests
21750 wine_fn_config_makefile dlls
/usbd.sys enable_usbd_sys
21751 wine_fn_config_makefile dlls
/user.exe16 enable_win16
21752 wine_fn_config_makefile dlls
/user32 enable_user32
21753 wine_fn_config_makefile dlls
/user32
/tests enable_tests
21754 wine_fn_config_makefile dlls
/userenv enable_userenv
21755 wine_fn_config_makefile dlls
/userenv
/tests enable_tests
21756 wine_fn_config_makefile dlls
/usp10 enable_usp10
21757 wine_fn_config_makefile dlls
/usp10
/tests enable_tests
21758 wine_fn_config_makefile dlls
/utildll enable_utildll
21759 wine_fn_config_makefile dlls
/uxtheme enable_uxtheme
21760 wine_fn_config_makefile dlls
/uxtheme
/tests enable_tests
21761 wine_fn_config_makefile dlls
/vbscript enable_vbscript
21762 wine_fn_config_makefile dlls
/vbscript
/tests enable_tests
21763 wine_fn_config_makefile dlls
/vcomp enable_vcomp
21764 wine_fn_config_makefile dlls
/vcomp
/tests enable_tests
21765 wine_fn_config_makefile dlls
/vcomp100 enable_vcomp100
21766 wine_fn_config_makefile dlls
/vcomp110 enable_vcomp110
21767 wine_fn_config_makefile dlls
/vcomp110
/tests enable_tests
21768 wine_fn_config_makefile dlls
/vcomp120 enable_vcomp120
21769 wine_fn_config_makefile dlls
/vcomp140 enable_vcomp140
21770 wine_fn_config_makefile dlls
/vcomp90 enable_vcomp90
21771 wine_fn_config_makefile dlls
/vcruntime140 enable_vcruntime140
21772 wine_fn_config_makefile dlls
/vcruntime140_1 enable_vcruntime140_1
21773 wine_fn_config_makefile dlls
/vdhcp.vxd enable_win16
21774 wine_fn_config_makefile dlls
/vdmdbg enable_vdmdbg
21775 wine_fn_config_makefile dlls
/ver.dll16 enable_win16
21776 wine_fn_config_makefile dlls
/version enable_version
21777 wine_fn_config_makefile dlls
/version
/tests enable_tests
21778 wine_fn_config_makefile dlls
/vga enable_vga
21779 wine_fn_config_makefile dlls
/virtdisk enable_virtdisk
21780 wine_fn_config_makefile dlls
/virtdisk
/tests enable_tests
21781 wine_fn_config_makefile dlls
/vmm.vxd enable_win16
21782 wine_fn_config_makefile dlls
/vnbt.vxd enable_win16
21783 wine_fn_config_makefile dlls
/vnetbios.vxd enable_win16
21784 wine_fn_config_makefile dlls
/vssapi enable_vssapi
21785 wine_fn_config_makefile dlls
/vtdapi.vxd enable_win16
21786 wine_fn_config_makefile dlls
/vulkan-1 enable_vulkan_1
21787 wine_fn_config_makefile dlls
/vulkan-
1/tests enable_tests
21788 wine_fn_config_makefile dlls
/vwin32.vxd enable_win16
21789 wine_fn_config_makefile dlls
/w32skrnl enable_win16
21790 wine_fn_config_makefile dlls
/w32sys.dll16 enable_win16
21791 wine_fn_config_makefile dlls
/wbemdisp enable_wbemdisp
21792 wine_fn_config_makefile dlls
/wbemdisp
/tests enable_tests
21793 wine_fn_config_makefile dlls
/wbemprox enable_wbemprox
21794 wine_fn_config_makefile dlls
/wbemprox
/tests enable_tests
21795 wine_fn_config_makefile dlls
/wdscore enable_wdscore
21796 wine_fn_config_makefile dlls
/webservices enable_webservices
21797 wine_fn_config_makefile dlls
/webservices
/tests enable_tests
21798 wine_fn_config_makefile dlls
/websocket enable_websocket
21799 wine_fn_config_makefile dlls
/wer enable_wer
21800 wine_fn_config_makefile dlls
/wer
/tests enable_tests
21801 wine_fn_config_makefile dlls
/wevtapi enable_wevtapi
21802 wine_fn_config_makefile dlls
/wevtapi
/tests enable_tests
21803 wine_fn_config_makefile dlls
/wevtsvc enable_wevtsvc
21804 wine_fn_config_makefile dlls
/wiaservc enable_wiaservc
21805 wine_fn_config_makefile dlls
/wiaservc
/tests enable_tests
21806 wine_fn_config_makefile dlls
/wimgapi enable_wimgapi
21807 wine_fn_config_makefile dlls
/win32s16.dll16 enable_win16
21808 wine_fn_config_makefile dlls
/win32u enable_win32u
21809 wine_fn_config_makefile dlls
/win32u
/tests enable_tests
21810 wine_fn_config_makefile dlls
/win87em.dll16 enable_win16
21811 wine_fn_config_makefile dlls
/winaspi.dll16 enable_win16
21812 wine_fn_config_makefile dlls
/windebug.dll16 enable_win16
21813 wine_fn_config_makefile dlls
/windows.devices.enumeration enable_windows_devices_enumeration
21814 wine_fn_config_makefile dlls
/windows.devices.enumeration
/tests enable_tests
21815 wine_fn_config_makefile dlls
/windows.gaming.input enable_windows_gaming_input
21816 wine_fn_config_makefile dlls
/windows.gaming.input
/tests enable_tests
21817 wine_fn_config_makefile dlls
/windows.gaming.ui.gamebar enable_windows_gaming_ui_gamebar
21818 wine_fn_config_makefile dlls
/windows.gaming.ui.gamebar
/tests enable_tests
21819 wine_fn_config_makefile dlls
/windows.globalization enable_windows_globalization
21820 wine_fn_config_makefile dlls
/windows.globalization
/tests enable_tests
21821 wine_fn_config_makefile dlls
/windows.media.devices enable_windows_media_devices
21822 wine_fn_config_makefile dlls
/windows.media.devices
/tests enable_tests
21823 wine_fn_config_makefile dlls
/windows.media.speech enable_windows_media_speech
21824 wine_fn_config_makefile dlls
/windows.media.speech
/tests enable_tests
21825 wine_fn_config_makefile dlls
/windows.media enable_windows_media
21826 wine_fn_config_makefile dlls
/windows.media
/tests enable_tests
21827 wine_fn_config_makefile dlls
/windows.networking enable_windows_networking
21828 wine_fn_config_makefile dlls
/windows.system.profile.systemmanufacturers enable_windows_system_profile_systemmanufacturers
21829 wine_fn_config_makefile dlls
/windows.system.profile.systemmanufacturers
/tests enable_tests
21830 wine_fn_config_makefile dlls
/windows.ui enable_windows_ui
21831 wine_fn_config_makefile dlls
/windows.ui
/tests enable_tests
21832 wine_fn_config_makefile dlls
/windowscodecs enable_windowscodecs
21833 wine_fn_config_makefile dlls
/windowscodecs
/tests enable_tests
21834 wine_fn_config_makefile dlls
/windowscodecsext enable_windowscodecsext
21835 wine_fn_config_makefile dlls
/windowscodecsext
/tests enable_tests
21836 wine_fn_config_makefile dlls
/winealsa.drv enable_winealsa_drv
21837 wine_fn_config_makefile dlls
/wineandroid.drv enable_wineandroid_drv
21838 wine_fn_config_makefile dlls
/winebus.sys enable_winebus_sys
21839 wine_fn_config_makefile dlls
/winecoreaudio.drv enable_winecoreaudio_drv
21840 wine_fn_config_makefile dlls
/winecrt0 enable_winecrt0
21841 wine_fn_config_makefile dlls
/wined3d enable_wined3d
21842 wine_fn_config_makefile dlls
/winegstreamer enable_winegstreamer
21843 wine_fn_config_makefile dlls
/winehid.sys enable_winehid_sys
21844 wine_fn_config_makefile dlls
/winemac.drv enable_winemac_drv
21845 wine_fn_config_makefile dlls
/winemapi enable_winemapi
21846 wine_fn_config_makefile dlls
/wineoss.drv enable_wineoss_drv
21847 wine_fn_config_makefile dlls
/wineps.drv enable_wineps_drv
21848 wine_fn_config_makefile dlls
/wineps16.drv16 enable_win16
21849 wine_fn_config_makefile dlls
/winepulse.drv enable_winepulse_drv
21850 wine_fn_config_makefile dlls
/wineusb.sys enable_wineusb_sys
21851 wine_fn_config_makefile dlls
/winevulkan enable_winevulkan
21852 wine_fn_config_makefile dlls
/winex11.drv enable_winex11_drv
21853 wine_fn_config_makefile dlls
/winexinput.sys enable_winexinput_sys
21854 wine_fn_config_makefile dlls
/wing.dll16 enable_win16
21855 wine_fn_config_makefile dlls
/wing32 enable_wing32
21856 wine_fn_config_makefile dlls
/winhttp enable_winhttp
21857 wine_fn_config_makefile dlls
/winhttp
/tests enable_tests
21858 wine_fn_config_makefile dlls
/wininet enable_wininet
21859 wine_fn_config_makefile dlls
/wininet
/tests enable_tests
21860 wine_fn_config_makefile dlls
/winmm enable_winmm
21861 wine_fn_config_makefile dlls
/winmm
/tests enable_tests
21862 wine_fn_config_makefile dlls
/winnls.dll16 enable_win16
21863 wine_fn_config_makefile dlls
/winnls32 enable_winnls32
21864 wine_fn_config_makefile dlls
/winprint enable_winprint
21865 wine_fn_config_makefile dlls
/winscard enable_winscard
21866 wine_fn_config_makefile dlls
/winscard
/tests enable_tests
21867 wine_fn_config_makefile dlls
/winsock.dll16 enable_win16
21868 wine_fn_config_makefile dlls
/winspool.drv enable_winspool_drv
21869 wine_fn_config_makefile dlls
/winspool.drv
/tests enable_tests
21870 wine_fn_config_makefile dlls
/winsta enable_winsta
21871 wine_fn_config_makefile dlls
/wintab.dll16 enable_win16
21872 wine_fn_config_makefile dlls
/wintab32 enable_wintab32
21873 wine_fn_config_makefile dlls
/wintab32
/tests enable_tests
21874 wine_fn_config_makefile dlls
/wintrust enable_wintrust
21875 wine_fn_config_makefile dlls
/wintrust
/tests enable_tests
21876 wine_fn_config_makefile dlls
/wintypes enable_wintypes
21877 wine_fn_config_makefile dlls
/wintypes
/tests enable_tests
21878 wine_fn_config_makefile dlls
/winusb enable_winusb
21879 wine_fn_config_makefile dlls
/wlanapi enable_wlanapi
21880 wine_fn_config_makefile dlls
/wlanapi
/tests enable_tests
21881 wine_fn_config_makefile dlls
/wlanui enable_wlanui
21882 wine_fn_config_makefile dlls
/wldap32 enable_wldap32
21883 wine_fn_config_makefile dlls
/wldap32
/tests enable_tests
21884 wine_fn_config_makefile dlls
/wmasf enable_wmasf
21885 wine_fn_config_makefile dlls
/wmi enable_wmi
21886 wine_fn_config_makefile dlls
/wmiutils enable_wmiutils
21887 wine_fn_config_makefile dlls
/wmiutils
/tests enable_tests
21888 wine_fn_config_makefile dlls
/wmp enable_wmp
21889 wine_fn_config_makefile dlls
/wmp
/tests enable_tests
21890 wine_fn_config_makefile dlls
/wmphoto enable_wmphoto
21891 wine_fn_config_makefile dlls
/wmvcore enable_wmvcore
21892 wine_fn_config_makefile dlls
/wmvcore
/tests enable_tests
21893 wine_fn_config_makefile dlls
/wnaspi32 enable_wnaspi32
21894 wine_fn_config_makefile dlls
/wofutil enable_wofutil
21895 wine_fn_config_makefile dlls
/wow32 enable_win16
21896 wine_fn_config_makefile dlls
/wow64 enable_wow64
21897 wine_fn_config_makefile dlls
/wow64cpu enable_wow64cpu
21898 wine_fn_config_makefile dlls
/wow64win enable_wow64win
21899 wine_fn_config_makefile dlls
/wpc enable_wpc
21900 wine_fn_config_makefile dlls
/wpc
/tests enable_tests
21901 wine_fn_config_makefile dlls
/wpcap enable_wpcap
21902 wine_fn_config_makefile dlls
/wpcap
/tests enable_tests
21903 wine_fn_config_makefile dlls
/ws2_32 enable_ws2_32
21904 wine_fn_config_makefile dlls
/ws2_32
/tests enable_tests
21905 wine_fn_config_makefile dlls
/wsdapi enable_wsdapi
21906 wine_fn_config_makefile dlls
/wsdapi
/tests enable_tests
21907 wine_fn_config_makefile dlls
/wshom.ocx enable_wshom_ocx
21908 wine_fn_config_makefile dlls
/wshom.ocx
/tests enable_tests
21909 wine_fn_config_makefile dlls
/wsnmp32 enable_wsnmp32
21910 wine_fn_config_makefile dlls
/wsnmp32
/tests enable_tests
21911 wine_fn_config_makefile dlls
/wsock32 enable_wsock32
21912 wine_fn_config_makefile dlls
/wtsapi32 enable_wtsapi32
21913 wine_fn_config_makefile dlls
/wtsapi32
/tests enable_tests
21914 wine_fn_config_makefile dlls
/wuapi enable_wuapi
21915 wine_fn_config_makefile dlls
/wuaueng enable_wuaueng
21916 wine_fn_config_makefile dlls
/x3daudio1_0 enable_x3daudio1_0
21917 wine_fn_config_makefile dlls
/x3daudio1_1 enable_x3daudio1_1
21918 wine_fn_config_makefile dlls
/x3daudio1_2 enable_x3daudio1_2
21919 wine_fn_config_makefile dlls
/x3daudio1_3 enable_x3daudio1_3
21920 wine_fn_config_makefile dlls
/x3daudio1_4 enable_x3daudio1_4
21921 wine_fn_config_makefile dlls
/x3daudio1_5 enable_x3daudio1_5
21922 wine_fn_config_makefile dlls
/x3daudio1_6 enable_x3daudio1_6
21923 wine_fn_config_makefile dlls
/x3daudio1_7 enable_x3daudio1_7
21924 wine_fn_config_makefile dlls
/xactengine2_0 enable_xactengine2_0
21925 wine_fn_config_makefile dlls
/xactengine2_4 enable_xactengine2_4
21926 wine_fn_config_makefile dlls
/xactengine2_7 enable_xactengine2_7
21927 wine_fn_config_makefile dlls
/xactengine2_9 enable_xactengine2_9
21928 wine_fn_config_makefile dlls
/xactengine3_0 enable_xactengine3_0
21929 wine_fn_config_makefile dlls
/xactengine3_1 enable_xactengine3_1
21930 wine_fn_config_makefile dlls
/xactengine3_2 enable_xactengine3_2
21931 wine_fn_config_makefile dlls
/xactengine3_3 enable_xactengine3_3
21932 wine_fn_config_makefile dlls
/xactengine3_4 enable_xactengine3_4
21933 wine_fn_config_makefile dlls
/xactengine3_5 enable_xactengine3_5
21934 wine_fn_config_makefile dlls
/xactengine3_6 enable_xactengine3_6
21935 wine_fn_config_makefile dlls
/xactengine3_7 enable_xactengine3_7
21936 wine_fn_config_makefile dlls
/xactengine3_
7/tests enable_tests
21937 wine_fn_config_makefile dlls
/xapofx1_1 enable_xapofx1_1
21938 wine_fn_config_makefile dlls
/xapofx1_2 enable_xapofx1_2
21939 wine_fn_config_makefile dlls
/xapofx1_3 enable_xapofx1_3
21940 wine_fn_config_makefile dlls
/xapofx1_4 enable_xapofx1_4
21941 wine_fn_config_makefile dlls
/xapofx1_5 enable_xapofx1_5
21942 wine_fn_config_makefile dlls
/xaudio2_0 enable_xaudio2_0
21943 wine_fn_config_makefile dlls
/xaudio2_1 enable_xaudio2_1
21944 wine_fn_config_makefile dlls
/xaudio2_2 enable_xaudio2_2
21945 wine_fn_config_makefile dlls
/xaudio2_3 enable_xaudio2_3
21946 wine_fn_config_makefile dlls
/xaudio2_4 enable_xaudio2_4
21947 wine_fn_config_makefile dlls
/xaudio2_5 enable_xaudio2_5
21948 wine_fn_config_makefile dlls
/xaudio2_6 enable_xaudio2_6
21949 wine_fn_config_makefile dlls
/xaudio2_7 enable_xaudio2_7
21950 wine_fn_config_makefile dlls
/xaudio2_
7/tests enable_tests
21951 wine_fn_config_makefile dlls
/xaudio2_8 enable_xaudio2_8
21952 wine_fn_config_makefile dlls
/xaudio2_9 enable_xaudio2_9
21953 wine_fn_config_makefile dlls
/xinput1_1 enable_xinput1_1
21954 wine_fn_config_makefile dlls
/xinput1_2 enable_xinput1_2
21955 wine_fn_config_makefile dlls
/xinput1_3 enable_xinput1_3
21956 wine_fn_config_makefile dlls
/xinput1_
3/tests enable_tests
21957 wine_fn_config_makefile dlls
/xinput1_4 enable_xinput1_4
21958 wine_fn_config_makefile dlls
/xinput9_1_0 enable_xinput9_1_0
21959 wine_fn_config_makefile dlls
/xinputuap enable_xinputuap
21960 wine_fn_config_makefile dlls
/xmllite enable_xmllite
21961 wine_fn_config_makefile dlls
/xmllite
/tests enable_tests
21962 wine_fn_config_makefile dlls
/xolehlp enable_xolehlp
21963 wine_fn_config_makefile dlls
/xpsprint enable_xpsprint
21964 wine_fn_config_makefile dlls
/xpssvcs enable_xpssvcs
21965 wine_fn_config_makefile fonts enable_fonts
21966 wine_fn_config_makefile include enable_include
21967 wine_fn_config_makefile libs
/adsiid enable_adsiid
21968 wine_fn_config_makefile libs
/dmoguids enable_dmoguids
21969 wine_fn_config_makefile libs
/dxerr8 enable_dxerr8
21970 wine_fn_config_makefile libs
/dxerr9 enable_dxerr9
21971 wine_fn_config_makefile libs
/dxguid enable_dxguid
21972 wine_fn_config_makefile libs
/faudio enable_faudio
21973 wine_fn_config_makefile libs
/gsm enable_gsm
21974 wine_fn_config_makefile libs
/jpeg enable_jpeg
21975 wine_fn_config_makefile libs
/jxr enable_jxr
21976 wine_fn_config_makefile libs
/lcms2 enable_lcms2
21977 wine_fn_config_makefile libs
/ldap enable_ldap
21978 wine_fn_config_makefile libs
/mfuuid enable_mfuuid
21979 wine_fn_config_makefile libs
/mpg123 enable_mpg123
21980 wine_fn_config_makefile libs
/png enable_png
21981 wine_fn_config_makefile libs
/strmbase enable_strmbase
21982 wine_fn_config_makefile libs
/strmiids enable_strmiids
21983 wine_fn_config_makefile libs
/tiff enable_tiff
21984 wine_fn_config_makefile libs
/uuid enable_uuid
21985 wine_fn_config_makefile libs
/vkd3d enable_vkd3d
21986 wine_fn_config_makefile libs
/wbemuuid enable_wbemuuid
21987 wine_fn_config_makefile libs
/wine enable_wine
21988 wine_fn_config_makefile libs
/wmcodecdspuuid enable_wmcodecdspuuid
21989 wine_fn_config_makefile libs
/xml2 enable_xml2
21990 wine_fn_config_makefile libs
/xslt enable_xslt
21991 wine_fn_config_makefile libs
/zlib enable_zlib
21992 wine_fn_config_makefile loader enable_loader
21993 wine_fn_config_makefile nls enable_nls
21994 wine_fn_config_makefile po enable_po
21995 wine_fn_config_makefile programs
/arp enable_arp
21996 wine_fn_config_makefile programs
/aspnet_regiis enable_aspnet_regiis
21997 wine_fn_config_makefile programs
/attrib enable_attrib
21998 wine_fn_config_makefile programs
/cabarc enable_cabarc
21999 wine_fn_config_makefile programs
/cacls enable_cacls
22000 wine_fn_config_makefile programs
/certutil enable_certutil
22001 wine_fn_config_makefile programs
/chcp.com enable_chcp_com
22002 wine_fn_config_makefile programs
/clock enable_clock
22003 wine_fn_config_makefile programs
/cmd enable_cmd
22004 wine_fn_config_makefile programs
/cmd
/tests enable_tests
22005 wine_fn_config_makefile programs
/conhost enable_conhost
22006 wine_fn_config_makefile programs
/conhost
/tests enable_tests
22007 wine_fn_config_makefile programs
/control enable_control
22008 wine_fn_config_makefile programs
/cscript enable_cscript
22009 wine_fn_config_makefile programs
/dism enable_dism
22010 wine_fn_config_makefile programs
/dllhost enable_dllhost
22011 wine_fn_config_makefile programs
/dplaysvr enable_dplaysvr
22012 wine_fn_config_makefile programs
/dpnsvr enable_dpnsvr
22013 wine_fn_config_makefile programs
/dpvsetup enable_dpvsetup
22014 wine_fn_config_makefile programs
/dxdiag enable_dxdiag
22015 wine_fn_config_makefile programs
/eject enable_eject
22016 wine_fn_config_makefile programs
/expand enable_expand
22017 wine_fn_config_makefile programs
/explorer enable_explorer
22018 wine_fn_config_makefile programs
/explorer
/tests enable_tests
22019 wine_fn_config_makefile programs
/extrac32 enable_extrac32
22020 wine_fn_config_makefile programs
/fc enable_fc
22021 wine_fn_config_makefile programs
/find enable_find
22022 wine_fn_config_makefile programs
/find
/tests enable_tests
22023 wine_fn_config_makefile programs
/findstr enable_findstr
22024 wine_fn_config_makefile programs
/fsutil enable_fsutil
22025 wine_fn_config_makefile programs
/fsutil
/tests enable_tests
22026 wine_fn_config_makefile programs
/hh enable_hh
22027 wine_fn_config_makefile programs
/hostname enable_hostname
22028 wine_fn_config_makefile programs
/icacls enable_icacls
22029 wine_fn_config_makefile programs
/icinfo enable_icinfo
22030 wine_fn_config_makefile programs
/iexplore enable_iexplore
22031 wine_fn_config_makefile programs
/ipconfig enable_ipconfig
22032 wine_fn_config_makefile programs
/lodctr enable_lodctr
22033 wine_fn_config_makefile programs
/mofcomp enable_mofcomp
22034 wine_fn_config_makefile programs
/mshta enable_mshta
22035 wine_fn_config_makefile programs
/msidb enable_msidb
22036 wine_fn_config_makefile programs
/msiexec enable_msiexec
22037 wine_fn_config_makefile programs
/msinfo32 enable_msinfo32
22038 wine_fn_config_makefile programs
/net enable_net
22039 wine_fn_config_makefile programs
/netsh enable_netsh
22040 wine_fn_config_makefile programs
/netstat enable_netstat
22041 wine_fn_config_makefile programs
/ngen enable_ngen
22042 wine_fn_config_makefile programs
/notepad enable_notepad
22043 wine_fn_config_makefile programs
/oleview enable_oleview
22044 wine_fn_config_makefile programs
/ping enable_ping
22045 wine_fn_config_makefile programs
/plugplay enable_plugplay
22046 wine_fn_config_makefile programs
/powershell enable_powershell
22047 wine_fn_config_makefile programs
/presentationfontcache enable_presentationfontcache
22048 wine_fn_config_makefile programs
/progman enable_progman
22049 wine_fn_config_makefile programs
/reg enable_reg
22050 wine_fn_config_makefile programs
/reg
/tests enable_tests
22051 wine_fn_config_makefile programs
/regasm enable_regasm
22052 wine_fn_config_makefile programs
/regedit enable_regedit
22053 wine_fn_config_makefile programs
/regedit
/tests enable_tests
22054 wine_fn_config_makefile programs
/regini enable_regini
22055 wine_fn_config_makefile programs
/regsvcs enable_regsvcs
22056 wine_fn_config_makefile programs
/regsvr32 enable_regsvr32
22057 wine_fn_config_makefile programs
/robocopy enable_robocopy
22058 wine_fn_config_makefile programs
/rpcss enable_rpcss
22059 wine_fn_config_makefile programs
/rundll.exe16 enable_win16
22060 wine_fn_config_makefile programs
/rundll32 enable_rundll32
22061 wine_fn_config_makefile programs
/sc enable_sc
22062 wine_fn_config_makefile programs
/sc
/tests enable_tests
22063 wine_fn_config_makefile programs
/schtasks enable_schtasks
22064 wine_fn_config_makefile programs
/schtasks
/tests enable_tests
22065 wine_fn_config_makefile programs
/sdbinst enable_sdbinst
22066 wine_fn_config_makefile programs
/secedit enable_secedit
22067 wine_fn_config_makefile programs
/servicemodelreg enable_servicemodelreg
22068 wine_fn_config_makefile programs
/services enable_services
22069 wine_fn_config_makefile programs
/services
/tests enable_tests
22070 wine_fn_config_makefile programs
/setx enable_setx
22071 wine_fn_config_makefile programs
/shutdown enable_shutdown
22072 wine_fn_config_makefile programs
/spoolsv enable_spoolsv
22073 wine_fn_config_makefile programs
/start enable_start
22074 wine_fn_config_makefile programs
/subst enable_subst
22075 wine_fn_config_makefile programs
/svchost enable_svchost
22076 wine_fn_config_makefile programs
/systeminfo enable_systeminfo
22077 wine_fn_config_makefile programs
/taskkill enable_taskkill
22078 wine_fn_config_makefile programs
/tasklist enable_tasklist
22079 wine_fn_config_makefile programs
/taskmgr enable_taskmgr
22080 wine_fn_config_makefile programs
/termsv enable_termsv
22081 wine_fn_config_makefile programs
/uninstaller enable_uninstaller
22082 wine_fn_config_makefile programs
/unlodctr enable_unlodctr
22083 wine_fn_config_makefile programs
/view enable_view
22084 wine_fn_config_makefile programs
/wevtutil enable_wevtutil
22085 wine_fn_config_makefile programs
/where enable_where
22086 wine_fn_config_makefile programs
/whoami enable_whoami
22087 wine_fn_config_makefile programs
/wineboot enable_wineboot
22088 wine_fn_config_makefile programs
/winebrowser enable_winebrowser
22089 wine_fn_config_makefile programs
/winecfg enable_winecfg
22090 wine_fn_config_makefile programs
/wineconsole enable_wineconsole
22091 wine_fn_config_makefile programs
/winedbg enable_winedbg
22092 wine_fn_config_makefile programs
/winedevice enable_winedevice
22093 wine_fn_config_makefile programs
/winefile enable_winefile
22094 wine_fn_config_makefile programs
/winemenubuilder enable_winemenubuilder
22095 wine_fn_config_makefile programs
/winemine enable_winemine
22096 wine_fn_config_makefile programs
/winemsibuilder enable_winemsibuilder
22097 wine_fn_config_makefile programs
/winepath enable_winepath
22098 wine_fn_config_makefile programs
/winetest enable_winetest
22099 wine_fn_config_makefile programs
/winevdm enable_win16
22100 wine_fn_config_makefile programs
/winhelp.exe16 enable_win16
22101 wine_fn_config_makefile programs
/winhlp32 enable_winhlp32
22102 wine_fn_config_makefile programs
/winmgmt enable_winmgmt
22103 wine_fn_config_makefile programs
/winoldap.mod16 enable_win16
22104 wine_fn_config_makefile programs
/winver enable_winver
22105 wine_fn_config_makefile programs
/wmic enable_wmic
22106 wine_fn_config_makefile programs
/wmplayer enable_wmplayer
22107 wine_fn_config_makefile programs
/wordpad enable_wordpad
22108 wine_fn_config_makefile programs
/write enable_write
22109 wine_fn_config_makefile programs
/wscript enable_wscript
22110 wine_fn_config_makefile programs
/wscript
/tests enable_tests
22111 wine_fn_config_makefile programs
/wuauserv enable_wuauserv
22112 wine_fn_config_makefile programs
/wusa enable_wusa
22113 wine_fn_config_makefile programs
/xcopy enable_xcopy
22114 wine_fn_config_makefile programs
/xcopy
/tests enable_tests
22115 wine_fn_config_makefile server enable_server
22116 test "x$enable_tools" = xno || wine_fn_config_makefile tools enable_tools
22117 test "x$enable_tools" = xno || wine_fn_config_makefile tools
/sfnt2fon enable_sfnt2fon
22118 test "x$enable_tools" = xno || wine_fn_config_makefile tools
/widl enable_widl
22119 test "x$enable_tools" = xno || wine_fn_config_makefile tools
/winebuild enable_winebuild
22120 test "x$enable_tools" = xno || wine_fn_config_makefile tools
/winedump enable_winedump
22121 test "x$enable_tools" = xno || wine_fn_config_makefile tools
/winegcc enable_winegcc
22122 test "x$enable_tools" = xno || wine_fn_config_makefile tools
/winemaker enable_winemaker
22123 test "x$enable_tools" = xno || wine_fn_config_makefile tools
/wmc enable_wmc
22124 test "x$enable_tools" = xno || wine_fn_config_makefile tools
/wrc enable_wrc
22127 as_fn_append CONFIGURE_TARGETS
" TAGS"
22128 as_fn_append CONFIGURE_TARGETS
" tags"
22129 as_fn_append CONFIGURE_TARGETS
" autom4te.cache"
22130 as_fn_append CONFIGURE_TARGETS
" config.log"
22131 as_fn_append CONFIGURE_TARGETS
" config.status"
22132 as_fn_append CONFIGURE_TARGETS
" include/config.h"
22133 as_fn_append CONFIGURE_TARGETS
" include/stamp-h"
22134 test "$wine_binary" = wine || as_fn_append CONFIGURE_TARGETS
" loader/wine"
22136 if test "x$enable_tools" != xno
22138 as_fn_append CONFIGURE_TARGETS
" tools/makedep$ac_exeext"
22139 ac_config_commands
="$ac_config_commands tools/makedep"
22143 ac_config_commands
="$ac_config_commands Makefile"
22150 as_fn_append wine_rules
"
22152 @echo \"Wine build complete.\"
22156 Makefile: config.status \$(MAKEDEP)
22157 @./config.status Makefile
22158 depend: \$(MAKEDEP)
22159 \$(MAKEDEP)$makedep_flags"
22162 as_fn_append wine_rules
"
22163 config.status: ${wine_srcdir}configure
22164 @./config.status --recheck
22165 include/config.h: include/stamp-h
22166 include/stamp-h: ${wine_srcdir}include/config.h.in config.status
22167 @./config.status include/config.h include/stamp-h"
22169 if test "x$enable_maintainer_mode" = xyes
22171 as_fn_append wine_rules
"
22172 configure: configure.ac aclocal.m4
22173 autoconf --warnings=all
22174 include/config.h.in: include/stamp-h.in
22175 include/stamp-h.in: configure.ac aclocal.m4
22176 autoheader --warnings=all
22177 @echo timestamp > \$@"
22180 if test "x$enable_tools" != xno
22182 as_fn_append wine_rules
"
22183 tools/makedep$ac_exeext: ${wine_srcdir}tools/makedep.c include/config.h config.status
22184 @./config.status tools/makedep
22185 Makefile: tools/makedep$ac_exeext"
22187 as_fn_append wine_rules
"
22189 @echo \"You need to run make in $toolsdir first\" && false"
22193 if test -n "$with_wine64"
22195 case "$with_wine64" in
22199 rm -f fonts server
2>/dev
/null
22200 as_fn_append wine_rules
"
22201 all: loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader
22202 loader/wine64 loader/wine64-preloader:
22203 rm -f \$@ && \$(LN_S) $reldir$with_wine64/\$@ \$@
22204 $with_wine64/loader/wine:
22205 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
22206 $with_wine64/loader/wine-preloader:
22207 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
22209 rm -f loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
22211 TOP_INSTALL_DEV
="$TOP_INSTALL_DEV include"
22212 TOP_INSTALL_LIB
="$TOP_INSTALL_LIB \
22216 programs/msidb/msidb \
22217 programs/msiexec/msiexec \
22218 programs/notepad/notepad \
22219 programs/regedit/regedit \
22220 programs/regsvr32/regsvr32 \
22221 programs/wineboot/wineboot \
22222 programs/winecfg/winecfg \
22223 programs/wineconsole/wineconsole \
22224 programs/winedbg/winedbg \
22225 programs/winefile/winefile \
22226 programs/winemine/winemine \
22227 programs/winepath/winepath \
22231 cygwin
*|mingw32
*|darwin
*|macosx
*|linux-android
*) ;;
22232 *) TOP_INSTALL_LIB
="$TOP_INSTALL_LIB loader/wine.desktop" ;;
22237 as_fn_append wine_rules
"
22239 rm -rf autom4te.cache
22241 rm -f configure include/config.h.in"
22244 as_fn_append wine_rules
"
22245 dlls/ntdll/unix/version.c: dummy
22246 @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)
22247 programs/winetest/build.rc: dummy
22248 @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)
22249 programs/winetest/build.nfo:
22251 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
22252 cd dlls/wineandroid.drv && gradle -q -Psrcdir=$srcdir assembleDebug
22253 mv dlls/wineandroid.drv/build/outputs/apk/wine-debug.apk \$@"
22256 TAGSFLAGS
="--langmap='c:+.idl.l.rh,make:(Make*.in)'"
22258 as_fn_append wine_rules
"
22261 (test -d .git && git ls-files || find -L $srcdir -name '*.[ch]' -print) | xargs etags -a \$(TAGSFLAGS)
22264 (test -d .git && git ls-files || find -L $srcdir -name '*.[ch]' -print) | xargs ctags -a \$(TAGSFLAGS)
22266 .PHONY: depend dummy install-manpages"
22268 printf "%s\n" " done" >&6
22269 cat >confcache
<<\_ACEOF
22270 # This file is a shell script that caches the results of configure
22271 # tests run on this system so they can be shared between configure
22272 # scripts and configure runs, see configure's option --config-cache.
22273 # It is not useful on other systems. If it contains results you don't
22274 # want to keep, you may remove or edit it.
22276 # config.status only pays attention to the cache file if you give it
22277 # the --recheck option to rerun configure.
22279 # `ac_cv_env_foo' variables (set or unset) will be overridden when
22280 # loading this file, other *unset* `ac_cv_foo' will be assigned the
22281 # following values.
22285 # The following way of writing the cache mishandles newlines in values,
22286 # but we know of no workaround that is simple, portable, and efficient.
22287 # So, we kill variables containing newlines.
22288 # Ultrix sh set writes to stderr and can't be redirected directly,
22289 # and sets the high bit in the cache file unless we assign to the vars.
22291 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
22292 eval ac_val
=\$
$ac_var
22296 *_cv_
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
22297 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
22300 _ | IFS | as_nl
) ;; #(
22301 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
22302 *) { eval $ac_var=; unset $ac_var;} ;;
22308 case $as_nl`(ac_space=' '; set) 2>&1` in #(
22309 *${as_nl}ac_space
=\
*)
22310 # `set' does not quote correctly, so add quotes: double-quote
22311 # substitution turns \\\\ into \\, and sed turns \\ into \.
22314 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
22317 # `set' quotes correctly as required by POSIX, so do not add quotes.
22318 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
22327 s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
22329 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
22331 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
22332 if test -w "$cache_file"; then
22333 if test "x$cache_file" != "x/dev/null"; then
22334 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
22335 printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
22336 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
22337 cat confcache
>"$cache_file"
22339 case $cache_file in #(
22341 mv -f confcache
"$cache_file"$$
&&
22342 mv -f "$cache_file"$$
"$cache_file" ;; #(
22344 mv -f confcache
"$cache_file" ;;
22349 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
22350 printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
22355 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
22356 # Let make expand exec_prefix.
22357 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
22359 DEFS
=-DHAVE_CONFIG_H
22364 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
22365 # 1. Remove the extension, and $U if already installed.
22366 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
22367 ac_i
=`printf "%s\n" "$ac_i" | sed "$ac_script"`
22368 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
22369 # will be set to the directory where LIBOBJS objects are built.
22370 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
22371 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
22373 LIBOBJS
=$ac_libobjs
22375 LTLIBOBJS
=$ac_ltlibobjs
22379 : "${CONFIG_STATUS=./config.status}"
22381 ac_clean_files_save
=$ac_clean_files
22382 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
22383 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
22384 printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
22386 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
22388 # Generated by $as_me.
22389 # Run this file to recreate the current configuration.
22390 # Compiler output produced by configure, useful for debugging
22391 # configure, is in config.log if it exists.
22394 ac_cs_recheck=false
22397 SHELL=\${CONFIG_SHELL-$SHELL}
22400 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
22401 ## -------------------- ##
22402 ## M4sh Initialization. ##
22403 ## -------------------- ##
22405 # Be more Bourne compatible
22406 DUALCASE
=1; export DUALCASE
# for MKS sh
22408 if test ${ZSH_VERSION+y} && (emulate sh
) >/dev
/null
2>&1
22412 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
22413 # is contrary to our usage. Disable this feature.
22414 alias -g '${1+"$@"}'='"$@"'
22415 setopt NO_GLOB_SUBST
22417 case `(set -o) 2>/dev/null` in #(
22427 # Reset variables that may have inherited troublesome values from
22430 # IFS needs to be set, to space, tab, and newline, in precisely that order.
22431 # (If _AS_PATH_WALK were called with IFS unset, it would have the
22432 # side effect of setting IFS to empty, thus disabling word splitting.)
22433 # Quoting is to prevent editors from complaining about space-tab.
22443 # Ensure predictable behavior from utilities with locale-dependent output.
22449 # We cannot yet rely on "unset" to work, but we need these variables
22450 # to be unset--not just set to an empty or harmless value--now, to
22451 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
22452 # also avoids known problems related to "unset" and subshell syntax
22453 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
22454 for as_var
in BASH_ENV ENV MAIL MAILPATH CDPATH
22455 do eval test \
${$as_var+y} \
22456 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
22459 # Ensure that fds 0, 1, and 2 are open.
22460 if (exec 3>&0) 2>/dev
/null
; then :; else exec 0</dev
/null
; fi
22461 if (exec 3>&1) 2>/dev
/null
; then :; else exec 1>/dev
/null
; fi
22462 if (exec 3>&2) ; then :; else exec 2>/dev
/null
; fi
22464 # The user is always right.
22465 if ${PATH_SEPARATOR+false} :; then
22467 (PATH
='/bin;/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 && {
22468 (PATH
='/bin:/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 ||
22474 # Find who we are. Look in the path if we contain no directory separator.
22477 *[\\/]* ) as_myself
=$0 ;;
22478 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22479 for as_dir
in $PATH
22482 case $as_dir in #(((
22485 *) as_dir
=$as_dir/ ;;
22487 test -r "$as_dir$0" && as_myself
=$as_dir$0 && break
22493 # We did not find ourselves, most probably we were run as `sh COMMAND'
22494 # in which case we are not to be found in the path.
22495 if test "x$as_myself" = x
; then
22498 if test ! -f "$as_myself"; then
22499 printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
22505 # as_fn_error STATUS ERROR [LINENO LOG_FD]
22506 # ----------------------------------------
22507 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
22508 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
22509 # script with STATUS, using 1 if that was 0.
22512 as_status
=$1; test $as_status -eq 0 && as_status
=1
22514 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
22515 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
22517 printf "%s\n" "$as_me: error: $2" >&2
22518 as_fn_exit
$as_status
22523 # as_fn_set_status STATUS
22524 # -----------------------
22525 # Set $? to STATUS, without forking.
22526 as_fn_set_status
()
22529 } # as_fn_set_status
22531 # as_fn_exit STATUS
22532 # -----------------
22533 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
22537 as_fn_set_status
$1
22543 # Portably unset VAR.
22546 { eval $1=; unset $1;}
22548 as_unset
=as_fn_unset
22550 # as_fn_append VAR VALUE
22551 # ----------------------
22552 # Append the text in VALUE to the end of the definition contained in VAR. Take
22553 # advantage of any shell optimizations that allow amortized linear growth over
22554 # repeated appends, instead of the typical quadratic growth present in naive
22556 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
22558 eval 'as_fn_append ()
22569 # as_fn_arith ARG...
22570 # ------------------
22571 # Perform arithmetic evaluation on the ARGs, and store the result in the
22572 # global $as_val. Take advantage of shells that can avoid forks. The arguments
22573 # must be portable across $(()) and expr.
22574 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
22576 eval 'as_fn_arith ()
22583 as_val
=`expr "$@" || test $? -eq 1`
22588 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
22589 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
22595 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
22596 as_basename
=basename
22601 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
22607 as_me
=`$as_basename -- "$0" ||
22608 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
22609 X"$0" : 'X\(//\)$' \| \
22610 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
22611 printf "%s\n" X/"$0" |
22612 sed '/^.*\/\([^/][^/]*\)\/*$/{
22626 # Avoid depending upon Character Ranges.
22627 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
22628 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
22629 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
22630 as_cr_digits
='0123456789'
22631 as_cr_alnum
=$as_cr_Letters$as_cr_digits
22634 # Determine whether it's possible to make 'echo' print without a newline.
22635 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
22636 # for compatibility with existing Makefiles.
22637 ECHO_C
= ECHO_N
= ECHO_T
=
22638 case `echo -n x` in #(((((
22640 case `echo 'xy\c'` in
22641 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
22643 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
22650 # For backward compatibility with old third-party macros, we provide
22651 # the shell variables $as_echo and $as_echo_n. New code should use
22652 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
22653 as_echo
='printf %s\n'
22654 as_echo_n
='printf %s'
22656 rm -f conf$$ conf$$.exe conf$$.
file
22657 if test -d conf$$.dir
; then
22658 rm -f conf$$.dir
/conf$$.
file
22661 mkdir conf$$.dir
2>/dev
/null
22663 if (echo >conf$$.
file) 2>/dev
/null
; then
22664 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
22666 # ... but there are two gotchas:
22667 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
22668 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
22669 # In both cases, we have to default to `cp -pR'.
22670 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
22672 elif ln conf$$.
file conf$$
2>/dev
/null
; then
22680 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
22681 rmdir conf$$.dir
2>/dev
/null
22686 # Create "$as_dir" as a directory, including parents if necessary.
22691 -*) as_dir
=.
/$as_dir;;
22693 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
22697 *\'*) as_qdir
=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
22698 *) as_qdir
=$as_dir;;
22700 as_dirs
="'$as_qdir' $as_dirs"
22701 as_dir
=`$as_dirname -- "$as_dir" ||
22702 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22703 X"$as_dir" : 'X\(//\)[^/]' \| \
22704 X"$as_dir" : 'X\(//\)$' \| \
22705 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
22706 printf "%s\n" X"$as_dir" |
22707 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22711 /^X\(\/\/\)[^/].*/{
22724 test -d "$as_dir" && break
22726 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
22727 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
22731 if mkdir
-p .
2>/dev
/null
; then
22732 as_mkdir_p
='mkdir -p "$as_dir"'
22734 test -d .
/-p && rmdir .
/-p
22739 # as_fn_executable_p FILE
22740 # -----------------------
22741 # Test if FILE is an executable regular file.
22742 as_fn_executable_p
()
22744 test -f "$1" && test -x "$1"
22745 } # as_fn_executable_p
22746 as_test_x
='test -x'
22747 as_executable_p
=as_fn_executable_p
22749 # Sed expression to map a string onto a valid CPP name.
22750 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
22752 # Sed expression to map a string onto a valid variable name.
22753 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
22757 ## ----------------------------------- ##
22758 ## Main body of $CONFIG_STATUS script. ##
22759 ## ----------------------------------- ##
22761 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
22763 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
22764 # Save the log message, to keep $0 and so on meaningful, and to
22765 # report actual input values of CONFIG_FILES etc. instead of their
22766 # values after options handling.
22768 This file was extended by Wine $as_me 8.2, which was
22769 generated by GNU Autoconf 2.71. Invocation command line was
22771 CONFIG_FILES = $CONFIG_FILES
22772 CONFIG_HEADERS = $CONFIG_HEADERS
22773 CONFIG_LINKS = $CONFIG_LINKS
22774 CONFIG_COMMANDS = $CONFIG_COMMANDS
22777 on `(hostname || uname -n) 2>/dev/null | sed 1q`
22783 case $ac_config_headers in *"
22784 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
22788 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22789 # Files that config.status was made for.
22790 config_headers="$ac_config_headers"
22791 config_links="$ac_config_links"
22792 config_commands="$ac_config_commands"
22796 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
22798 \`$as_me' instantiates files and other configuration actions
22799 from templates according to the current configuration. Unless the files
22800 and actions are specified as TAGs, all are instantiated by default.
22802 Usage: $0 [OPTION]... [TAG]...
22804 -h, --help print this help, then exit
22805 -V, --version print version number and configuration settings, then exit
22806 --config print configuration, then exit
22807 -q, --quiet, --silent
22808 do not print progress messages
22809 -d, --debug don't remove temporary files
22810 --recheck update $as_me by reconfiguring in the same conditions
22811 --header=FILE[:TEMPLATE]
22812 instantiate the configuration header FILE
22814 Configuration headers:
22817 Configuration links:
22820 Configuration commands:
22823 Report bugs to <wine-devel@winehq.org>.
22824 Wine home page: <https://www.winehq.org>."
22827 ac_cs_config
=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
22828 ac_cs_config_escaped
=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
22829 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22830 ac_cs_config='$ac_cs_config_escaped'
22832 Wine config.status 8.2
22833 configured by $0, generated by GNU Autoconf 2.71,
22834 with options \\"\$ac_cs_config\\"
22836 Copyright (C) 2021 Free Software Foundation, Inc.
22837 This config.status script is free software; the Free Software Foundation
22838 gives unlimited permission to copy, distribute and modify it."
22842 test -n "\$AWK" || AWK=awk
22845 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
22846 # The default lists apply if the user does not specify any file.
22852 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
22853 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
22857 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
22869 # Handling of the options.
22870 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
22872 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
22873 printf "%s\n" "$ac_cs_version"; exit ;;
22874 --config |
--confi |
--conf |
--con |
--co |
--c )
22875 printf "%s\n" "$ac_cs_config"; exit ;;
22876 --debug |
--debu |
--deb |
--de |
--d |
-d )
22878 --header |
--heade |
--head |
--hea )
22881 *\'*) ac_optarg
=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
22883 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
22884 ac_need_defaults
=false
;;
22886 # Conflict between --help and --header
22887 as_fn_error $?
"ambiguous option: \`$1'
22888 Try \`$0 --help' for more information.";;
22889 --help |
--hel |
-h )
22890 printf "%s\n" "$ac_cs_usage"; exit ;;
22891 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
22892 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
22895 # This is an error.
22896 -*) as_fn_error $?
"unrecognized option: \`$1'
22897 Try \`$0 --help' for more information." ;;
22899 *) as_fn_append ac_config_targets
" $1"
22900 ac_need_defaults
=false
;;
22906 ac_configure_extra_args
=
22908 if $ac_cs_silent; then
22910 ac_configure_extra_args
="$ac_configure_extra_args --silent"
22914 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22915 if \$ac_cs_recheck; then
22916 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
22918 \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
22919 CONFIG_SHELL='$SHELL'
22920 export CONFIG_SHELL
22925 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
22929 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
22930 ## Running $as_me. ##
22932 printf "%s\n" "$ac_log"
22936 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22940 wine_fn_output_makedep ()
22942 as_dir=tools; as_fn_mkdir_p
22943 $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
22945 wine_fn_output_makefile ()
22947 cat <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && "$wine_makedep"$makedep_flags && return
22948 # This Makefile understands the following targets:
22950 # all (default): build wine
22951 # clean: remove all intermediate files
22952 # distclean: also remove all files created by configure
22954 # testclean: clean test results to force running all tests again
22955 # install-lib: install libraries needed to run applications
22956 # install-dev: install development environment
22957 # install: install everything
22958 # uninstall: uninstall everything
22959 # ctags: create a tags file for vim and others.
22960 # etags: create a TAGS file for Emacs.
22963 PATH_SEPARATOR = $PATH_SEPARATOR
22964 PACKAGE_NAME = $PACKAGE_NAME
22965 PACKAGE_TARNAME = $PACKAGE_TARNAME
22966 PACKAGE_VERSION = $PACKAGE_VERSION
22967 PACKAGE_STRING = $PACKAGE_STRING
22968 PACKAGE_BUGREPORT = $PACKAGE_BUGREPORT
22969 PACKAGE_URL = $PACKAGE_URL
22970 exec_prefix = $exec_prefix
22972 program_transform_name = $program_transform_name
22975 libexecdir = $libexecdir
22976 datarootdir = $datarootdir
22978 sysconfdir = $sysconfdir
22979 sharedstatedir = $sharedstatedir
22980 localstatedir = $localstatedir
22981 runstatedir = $runstatedir
22982 includedir = $includedir
22983 oldincludedir = $oldincludedir
22991 localedir = $localedir
22998 build_alias = $build_alias
22999 host_alias = $host_alias
23000 target_alias = $target_alias
23001 system_dllpath = $system_dllpath
23003 build_cpu = $build_cpu
23004 build_vendor = $build_vendor
23005 build_os = $build_os
23007 host_cpu = $host_cpu
23008 host_vendor = $host_vendor
23014 SET_MAKE = $SET_MAKE
23018 CPPFLAGS = $CPPFLAGS
23019 ac_ct_CC = $ac_ct_CC
23023 CXXFLAGS = $CXXFLAGS
23024 ac_ct_CXX = $ac_ct_CXX
23027 TARGETFLAGS = $TARGETFLAGS
23028 toolsext = $toolsext
23029 HOST_ARCH = $HOST_ARCH
23030 aarch64_CC = $aarch64_CC
23031 aarch64_CFLAGS = $aarch64_CFLAGS
23032 aarch64_EXTRACFLAGS = $aarch64_EXTRACFLAGS
23033 aarch64_LDFLAGS = $aarch64_LDFLAGS
23034 aarch64_DEBUG = $aarch64_DEBUG
23035 aarch64_TARGET = $aarch64_TARGET
23036 aarch64_DELAYLOADFLAG = $aarch64_DELAYLOADFLAG
23037 aarch64_DISABLED_SUBDIRS = $aarch64_DISABLED_SUBDIRS
23039 arm_CFLAGS = $arm_CFLAGS
23040 arm_EXTRACFLAGS = $arm_EXTRACFLAGS
23041 arm_LDFLAGS = $arm_LDFLAGS
23042 arm_DEBUG = $arm_DEBUG
23043 arm_TARGET = $arm_TARGET
23044 arm_DELAYLOADFLAG = $arm_DELAYLOADFLAG
23045 arm_DISABLED_SUBDIRS = $arm_DISABLED_SUBDIRS
23047 i386_CFLAGS = $i386_CFLAGS
23048 i386_EXTRACFLAGS = $i386_EXTRACFLAGS
23049 i386_LDFLAGS = $i386_LDFLAGS
23050 i386_DEBUG = $i386_DEBUG
23051 i386_TARGET = $i386_TARGET
23052 i386_DELAYLOADFLAG = $i386_DELAYLOADFLAG
23053 i386_DISABLED_SUBDIRS = $i386_DISABLED_SUBDIRS
23054 x86_64_CC = $x86_64_CC
23055 x86_64_CFLAGS = $x86_64_CFLAGS
23056 x86_64_EXTRACFLAGS = $x86_64_EXTRACFLAGS
23057 x86_64_LDFLAGS = $x86_64_LDFLAGS
23058 x86_64_DEBUG = $x86_64_DEBUG
23059 x86_64_TARGET = $x86_64_TARGET
23060 x86_64_DELAYLOADFLAG = $x86_64_DELAYLOADFLAG
23061 x86_64_DISABLED_SUBDIRS = $x86_64_DISABLED_SUBDIRS
23062 toolsdir = $toolsdir
23064 RUNTESTFLAGS = $RUNTESTFLAGS
23069 ac_ct_AR = $ac_ct_AR
23075 LDCONFIG = $LDCONFIG
23077 PKG_CONFIG = $PKG_CONFIG
23078 FONTFORGE = $FONTFORGE
23082 I386_LIBS = $I386_LIBS
23083 OPENGL_LIBS = $OPENGL_LIBS
23084 DLLFLAGS = $DLLFLAGS
23085 LDDLLFLAGS = $LDDLLFLAGS
23086 LDEXECFLAGS = $LDEXECFLAGS
23087 EXTRACFLAGS = $EXTRACFLAGS
23088 UNIXDLLFLAGS = $UNIXDLLFLAGS
23089 UNIXLDFLAGS = $UNIXLDFLAGS
23090 TOP_INSTALL_LIB = $TOP_INSTALL_LIB
23091 TOP_INSTALL_DEV = $TOP_INSTALL_DEV
23092 WINELOADER_LDFLAGS = $WINELOADER_LDFLAGS
23093 WINEPRELOADER_LDFLAGS = $WINEPRELOADER_LDFLAGS
23098 DISABLED_SUBDIRS = $DISABLED_SUBDIRS
23099 CONFIGURE_TARGETS = $CONFIGURE_TARGETS
23100 CARBON_LIBS = $CARBON_LIBS
23101 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
23102 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
23103 IOKIT_LIBS = $IOKIT_LIBS
23104 METAL_LIBS = $METAL_LIBS
23105 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
23106 CORESERVICES_LIBS = $CORESERVICES_LIBS
23107 APPKIT_LIBS = $APPKIT_LIBS
23108 SECURITY_LIBS = $SECURITY_LIBS
23109 SYSTEMCONFIGURATION_LIBS = $SYSTEMCONFIGURATION_LIBS
23110 COREAUDIO_LIBS = $COREAUDIO_LIBS
23111 OPENCL_LIBS = $OPENCL_LIBS
23113 OBJCFLAGS = $OBJCFLAGS
23114 ac_ct_OBJC = $ac_ct_OBJC
23115 LIBWINE_SHAREDLIB = $LIBWINE_SHAREDLIB
23116 LIBWINE_LDFLAGS = $LIBWINE_LDFLAGS
23117 WINELOADER_DEPENDS = $WINELOADER_DEPENDS
23119 LIBWINE_DEPENDS = $LIBWINE_DEPENDS
23120 PE_ARCHS = $PE_ARCHS
23121 MINGW_PKG_CONFIG = $MINGW_PKG_CONFIG
23122 FAUDIO_PE_CFLAGS = $FAUDIO_PE_CFLAGS
23123 FAUDIO_PE_LIBS = $FAUDIO_PE_LIBS
23124 GSM_PE_CFLAGS = $GSM_PE_CFLAGS
23125 GSM_PE_LIBS = $GSM_PE_LIBS
23126 JPEG_PE_CFLAGS = $JPEG_PE_CFLAGS
23127 JPEG_PE_LIBS = $JPEG_PE_LIBS
23128 JXR_PE_CFLAGS = $JXR_PE_CFLAGS
23129 JXR_PE_LIBS = $JXR_PE_LIBS
23130 LCMS2_PE_CFLAGS = $LCMS2_PE_CFLAGS
23131 LCMS2_PE_LIBS = $LCMS2_PE_LIBS
23132 LDAP_PE_CFLAGS = $LDAP_PE_CFLAGS
23133 LDAP_PE_LIBS = $LDAP_PE_LIBS
23134 MPG123_PE_CFLAGS = $MPG123_PE_CFLAGS
23135 MPG123_PE_LIBS = $MPG123_PE_LIBS
23136 PNG_PE_CFLAGS = $PNG_PE_CFLAGS
23137 PNG_PE_LIBS = $PNG_PE_LIBS
23138 TIFF_PE_CFLAGS = $TIFF_PE_CFLAGS
23139 TIFF_PE_LIBS = $TIFF_PE_LIBS
23140 VKD3D_PE_CFLAGS = $VKD3D_PE_CFLAGS
23141 VKD3D_PE_LIBS = $VKD3D_PE_LIBS
23142 XML2_PE_CFLAGS = $XML2_PE_CFLAGS
23143 XML2_PE_LIBS = $XML2_PE_LIBS
23144 XSLT_PE_CFLAGS = $XSLT_PE_CFLAGS
23145 XSLT_PE_LIBS = $XSLT_PE_LIBS
23146 ZLIB_PE_CFLAGS = $ZLIB_PE_CFLAGS
23147 ZLIB_PE_LIBS = $ZLIB_PE_LIBS
23148 PTHREAD_LIBS = $PTHREAD_LIBS
23151 X_CFLAGS = $X_CFLAGS
23152 X_PRE_LIBS = $X_PRE_LIBS
23154 X_EXTRA_LIBS = $X_EXTRA_LIBS
23155 PCAP_LIBS = $PCAP_LIBS
23156 PCSCLITE_LIBS = $PCSCLITE_LIBS
23157 INOTIFY_CFLAGS = $INOTIFY_CFLAGS
23158 INOTIFY_LIBS = $INOTIFY_LIBS
23159 DBUS_CFLAGS = $DBUS_CFLAGS
23160 DBUS_LIBS = $DBUS_LIBS
23161 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
23162 GNUTLS_LIBS = $GNUTLS_LIBS
23163 SANE_CFLAGS = $SANE_CFLAGS
23164 SANE_LIBS = $SANE_LIBS
23165 USB_CFLAGS = $USB_CFLAGS
23166 USB_LIBS = $USB_LIBS
23167 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
23168 GPHOTO2_LIBS = $GPHOTO2_LIBS
23169 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
23170 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
23171 RESOLV_LIBS = $RESOLV_LIBS
23172 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
23173 FREETYPE_LIBS = $FREETYPE_LIBS
23174 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
23175 PULSE_CFLAGS = $PULSE_CFLAGS
23176 PULSE_LIBS = $PULSE_LIBS
23177 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
23178 GSTREAMER_LIBS = $GSTREAMER_LIBS
23179 ALSA_LIBS = $ALSA_LIBS
23180 OSS4_CFLAGS = $OSS4_CFLAGS
23181 OSS4_LIBS = $OSS4_LIBS
23182 UDEV_CFLAGS = $UDEV_CFLAGS
23183 UDEV_LIBS = $UDEV_LIBS
23184 UNWIND_CFLAGS = $UNWIND_CFLAGS
23185 UNWIND_LIBS = $UNWIND_LIBS
23186 SDL2_CFLAGS = $SDL2_CFLAGS
23187 SDL2_LIBS = $SDL2_LIBS
23188 CAPI20_CFLAGS = $CAPI20_CFLAGS
23189 CAPI20_LIBS = $CAPI20_LIBS
23190 CUPS_CFLAGS = $CUPS_CFLAGS
23191 CUPS_LIBS = $CUPS_LIBS
23192 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
23193 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
23194 KRB5_CFLAGS = $KRB5_CFLAGS
23195 KRB5_LIBS = $KRB5_LIBS
23196 GSSAPI_CFLAGS = $GSSAPI_CFLAGS
23197 GSSAPI_LIBS = $GSSAPI_LIBS
23198 PROCSTAT_LIBS = $PROCSTAT_LIBS
23199 NETAPI_CFLAGS = $NETAPI_CFLAGS
23200 NETAPI_LIBS = $NETAPI_LIBS
23201 MSVCRTFLAGS = $MSVCRTFLAGS
23202 DELAYLOADFLAG = $DELAYLOADFLAG
23203 WINELOADER_PROGRAMS = $WINELOADER_PROGRAMS
23205 TAGSFLAGS = $TAGSFLAGS
23207 LTLIBOBJS = $LTLIBOBJS
23211 as_fn_error $? "could not create Makefile" "$LINENO" 5
23216 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
23218 # Handling of arguments.
23219 for ac_config_target
in $ac_config_targets
23221 case $ac_config_target in
23222 "include/config.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/config.h" ;;
23223 "include/stamp-h") CONFIG_COMMANDS
="$CONFIG_COMMANDS include/stamp-h" ;;
23224 "wine") CONFIG_LINKS
="$CONFIG_LINKS wine:tools/winewrapper" ;;
23225 "wine64") CONFIG_LINKS
="$CONFIG_LINKS wine64:tools/winewrapper" ;;
23226 "tools/makedep") CONFIG_COMMANDS
="$CONFIG_COMMANDS tools/makedep" ;;
23227 "Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS Makefile" ;;
23229 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
23234 # If the user did not use the arguments to specify the items to instantiate,
23235 # then the envvar interface is used. Set only those that are not.
23236 # We use the long form for the default assignment because of an extremely
23237 # bizarre bug on SunOS 4.1.3.
23238 if $ac_need_defaults; then
23239 test ${CONFIG_HEADERS+y} || CONFIG_HEADERS
=$config_headers
23240 test ${CONFIG_LINKS+y} || CONFIG_LINKS
=$config_links
23241 test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS
=$config_commands
23244 # Have a temporary directory for convenience. Make it in the build tree
23245 # simply because there is no reason against having it here, and in addition,
23246 # creating and moving files from /tmp can sometimes cause problems.
23247 # Hook for its removal unless debugging.
23248 # Note that there is a small window in which the directory will not be cleaned:
23249 # after its creation but before its name has been assigned to `$tmp'.
23253 trap 'exit_status=$?
23254 : "${ac_tmp:=$tmp}"
23255 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
23257 trap 'as_fn_exit 1' 1 2 13 15
23259 # Create a (secure) tmp directory for tmp files.
23262 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
23266 tmp
=.
/conf$$
-$RANDOM
23267 (umask 077 && mkdir
"$tmp")
23268 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
23271 # Set up the scripts for CONFIG_HEADERS section.
23272 # No need to generate them if there are no CONFIG_HEADERS.
23273 # This happens for instance with `./config.status Makefile'.
23274 if test -n "$CONFIG_HEADERS"; then
23275 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
23279 # Transform confdefs.h into an awk script `defines.awk', embedded as
23280 # here-document in config.status, that substitutes the proper values into
23281 # config.h.in to produce config.h.
23283 # Create a delimiter string that does not exist in confdefs.h, to ease
23284 # handling of long lines.
23286 for ac_last_try
in false false
:; do
23287 ac_tt
=`sed -n "/$ac_delim/p" confdefs.h`
23288 if test -z "$ac_tt"; then
23290 elif $ac_last_try; then
23291 as_fn_error $?
"could not make $CONFIG_HEADERS" "$LINENO" 5
23293 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
23297 # For the awk script, D is an array of macro values keyed by name,
23298 # likewise P contains macro parameters if any. Preserve backslash
23299 # newline sequences.
23301 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
23303 s/.\{148\}/&'"$ac_delim"'/g
23306 s/^[ ]*#[ ]*define[ ][ ]*/ /
23313 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
23315 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
23319 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
23320 D["\1"]=" \3\\\\\\n"\\/p
23322 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
23327 s/.\{148\}/&'"$ac_delim"'/g
23332 s/["\\]/\\&/g; s/^/"/; s/$/"/p
23335 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
23337 ' <confdefs.h |
sed '
23338 s/'"$ac_delim"'/"\\\
23339 "/g' >>$CONFIG_STATUS || ac_write_fail
=1
23341 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23342 for (key in D) D_is_set[key] = 1
23345 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
23347 split(line, arg, " ")
23348 if (arg[1] == "#") {
23352 defundef = substr(arg[1], 2)
23355 split(mac1, mac2, "(") #)
23357 prefix = substr(line, 1, index(line, defundef) - 1)
23358 if (D_is_set[macro]) {
23359 # Preserve the white space surrounding the "#".
23360 print prefix "define", macro P[macro] D[macro]
23363 # Replace #undef with comments. This is necessary, for example,
23364 # in the case of _POSIX_SOURCE, which is predefined and required
23365 # on some systems where configure will not decide to define it.
23366 if (defundef == "undef") {
23367 print "/*", prefix defundef, macro, "*/"
23375 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
23376 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
23377 fi # test -n "$CONFIG_HEADERS"
23380 eval set X
" :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
23385 :[FHLC
]) ac_mode
=$ac_tag; continue;;
23387 case $ac_mode$ac_tag in
23389 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
23390 :[FH
]-) ac_tag
=-:-;;
23391 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
23408 -) ac_f
="$ac_tmp/stdin";;
23409 *) # Look for the file first in the build tree, then in the source tree
23410 # (if the path is not absolute). The absolute path cannot be DOS-style,
23411 # because $ac_f cannot contain `:'.
23415 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
23417 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
23419 case $ac_f in *\'*) ac_f
=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
23420 as_fn_append ac_file_inputs
" '$ac_f'"
23423 # Let's still pretend it is `configure' which instantiates (i.e., don't
23424 # use $as_me), people would be surprised to read:
23425 # /* config.h. Generated by config.status. */
23426 configure_input
='Generated from '`
23427 printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
23429 if test x
"$ac_file" != x-
; then
23430 configure_input
="$ac_file. $configure_input"
23431 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
23432 printf "%s\n" "$as_me: creating $ac_file" >&6;}
23434 # Neutralize special characters interpreted by sed in replacement strings.
23435 case $configure_input in #(
23436 *\
&* |
*\|
* |
*\\* )
23437 ac_sed_conf_input
=`printf "%s\n" "$configure_input" |
23438 sed 's/[\\\\&|]/\\\\&/g'`;; #(
23439 *) ac_sed_conf_input
=$configure_input;;
23443 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
23444 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
23449 ac_dir
=`$as_dirname -- "$ac_file" ||
23450 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23451 X"$ac_file" : 'X\(//\)[^/]' \| \
23452 X"$ac_file" : 'X\(//\)$' \| \
23453 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
23454 printf "%s\n" X"$ac_file" |
23455 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23459 /^X\(\/\/\)[^/].*/{
23472 as_dir
="$ac_dir"; as_fn_mkdir_p
23476 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
23478 ac_dir_suffix
=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
23479 # A ".." for each directory in $ac_dir_suffix.
23480 ac_top_builddir_sub
=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
23481 case $ac_top_builddir_sub in
23482 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
23483 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
23486 ac_abs_top_builddir
=$ac_pwd
23487 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
23488 # for backward compatibility:
23489 ac_top_builddir
=$ac_top_build_prefix
23492 .
) # We are building in place.
23494 ac_top_srcdir
=$ac_top_builddir_sub
23495 ac_abs_top_srcdir
=$ac_pwd ;;
23496 [\\/]* | ?
:[\\/]* ) # Absolute name.
23497 ac_srcdir
=$srcdir$ac_dir_suffix;
23498 ac_top_srcdir
=$srcdir
23499 ac_abs_top_srcdir
=$srcdir ;;
23500 *) # Relative name.
23501 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
23502 ac_top_srcdir
=$ac_top_build_prefix$srcdir
23503 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
23505 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
23514 if test x
"$ac_file" != x-
; then
23516 printf "%s\n" "/* $configure_input */" >&1 \
23517 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
23518 } >"$ac_tmp/config.h" \
23519 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5
23520 if diff "$ac_file" "$ac_tmp/config.h" >/dev
/null
2>&1; then
23521 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
23522 printf "%s\n" "$as_me: $ac_file is unchanged" >&6;}
23525 mv "$ac_tmp/config.h" "$ac_file" \
23526 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5
23529 printf "%s\n" "/* $configure_input */" >&1 \
23530 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
23531 || as_fn_error $?
"could not create -" "$LINENO" 5
23539 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
23542 # Prefer the file from the source tree if names are identical.
23543 if test "$ac_source" = "$ac_file" ||
test ! -r "$ac_source"; then
23544 ac_source
=$srcdir/$ac_source
23547 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
23548 printf "%s\n" "$as_me: linking $ac_source to $ac_file" >&6;}
23550 if test ! -r "$ac_source"; then
23551 as_fn_error $?
"$ac_source: file not found" "$LINENO" 5
23555 # Try a relative symlink, then a hard link, then a copy.
23557 [\\/$
]* | ?
:[\\/]* ) ac_rel_source
=$ac_source ;;
23558 *) ac_rel_source
=$ac_top_build_prefix$ac_source ;;
23560 ln -s "$ac_rel_source" "$ac_file" 2>/dev
/null ||
23561 ln "$ac_source" "$ac_file" 2>/dev
/null ||
23562 cp -p "$ac_source" "$ac_file" ||
23563 as_fn_error $?
"cannot link or copy $ac_source to $ac_file" "$LINENO" 5
23566 :C
) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
23567 printf "%s\n" "$as_me: executing $ac_file commands" >&6;}
23572 case $ac_file$ac_mode in
23573 "include/stamp-h":C
) echo timestamp
> include
/stamp-h
;;
23574 "tools/makedep":C
) wine_fn_output_makedep || as_fn_exit $?
;;
23575 "Makefile":C
) wine_fn_output_makefile Makefile
;;
23583 ac_clean_files
=$ac_clean_files_save
23585 test $ac_write_fail = 0 ||
23586 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
23589 # configure is writing to config.log, and then calls config.status.
23590 # config.status does its own redirection, appending to config.log.
23591 # Unfortunately, on DOS this fails, as config.log is still kept open
23592 # by configure, so config.status won't be able to write to it; its
23593 # output is simply discarded. So we exec the FD to /dev/null,
23594 # effectively closing config.log, so it can be properly (re)opened and
23595 # appended to by config.status. When coming back to configure, we
23596 # need to make the FD available again.
23597 if test "$no_create" != yes; then
23599 ac_config_status_args
=
23600 test "$silent" = yes &&
23601 ac_config_status_args
="$ac_config_status_args --quiet"
23603 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
23605 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
23606 # would make configure fail if this is the last instruction.
23607 $ac_cs_success || as_fn_exit
1
23609 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
23610 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
23611 printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
23615 if test "$no_create" = "yes"
23621 if test "x$wine_notices" != x
; then
23624 for msg
in $wine_notices; do
23630 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $msg" >&5
23631 printf "%s\n" "$as_me: $msg" >&6;}
23636 for msg
in $wine_warnings; do
23643 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
23644 printf "%s\n" "$as_me: WARNING: $msg" >&2;}
23650 $as_me: Finished. Do '${ac_make}' to compile Wine.