2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.71 for Wine 9.11.
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
='9.11'
615 PACKAGE_STRING
='Wine 9.11'
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
717 WAYLAND_CLIENT_CFLAGS
765 SYSTEMCONFIGURATION_LIBS
769 APPLICATIONSERVICES_LIBS
782 WINEPRELOADER_LDFLAGS
814 x86_64_DISABLED_SUBDIRS
822 i386_DISABLED_SUBDIRS
830 arm64ec_DISABLED_SUBDIRS
831 arm64ec_DELAYLOADFLAG
846 aarch64_DISABLED_SUBDIRS
847 aarch64_DELAYLOADFLAG
911 program_transform_name
924 enable_option_checking
930 enable_maintainer_mode
997 enable_appxdeploymentclient
1011 enable_bcryptprimitives
1012 enable_bluetoothapis
1031 enable_coremessaging
1054 enable_d3dcompiler_33
1055 enable_d3dcompiler_34
1056 enable_d3dcompiler_35
1057 enable_d3dcompiler_36
1058 enable_d3dcompiler_37
1059 enable_d3dcompiler_38
1060 enable_d3dcompiler_39
1061 enable_d3dcompiler_40
1062 enable_d3dcompiler_41
1063 enable_d3dcompiler_42
1064 enable_d3dcompiler_43
1065 enable_d3dcompiler_46
1066 enable_d3dcompiler_47
1119 enable_directmanipulation
1157 enable_explorerframe
1174 enable_graphicscapture
1185 enable_hvsimanagementapi
1218 enable_light_msstyles
1223 enable_magnification
1234 enable_mfmediaengine
1301 enable_msvcp140_atomic_wait
1302 enable_msvcp140_codecvt_ids
1368 enable_photometadatahandler
1447 enable_threadpoolwinrt
1450 enable_twinapi_appcore
1454 enable_uiautomationcore
1474 enable_vcruntime140_1
1492 enable_windows_applicationmodel
1493 enable_windows_devices_bluetooth
1494 enable_windows_devices_enumeration
1495 enable_windows_devices_usb
1496 enable_windows_gaming_input
1497 enable_windows_gaming_ui_gamebar
1498 enable_windows_globalization
1499 enable_windows_media_devices
1500 enable_windows_media_mediacontrol
1501 enable_windows_media_speech
1502 enable_windows_media
1503 enable_windows_networking_hostname
1504 enable_windows_networking
1505 enable_windows_perception_stub
1506 enable_windows_security_authentication_onlineid
1507 enable_windows_security_credentials_ui_userconsentverifier
1508 enable_windows_storage_applicationdata
1509 enable_windows_system_profile_systemmanufacturers
1511 enable_windowscodecs
1512 enable_windowscodecsext
1514 enable_wineandroid_drv
1516 enable_winecoreaudio_drv
1519 enable_winegstreamer
1525 enable_winepulse_drv
1528 enable_winewayland_drv
1530 enable_winexinput_sys
1577 enable_xactengine2_0
1578 enable_xactengine2_4
1579 enable_xactengine2_7
1580 enable_xactengine2_9
1581 enable_xactengine3_0
1582 enable_xactengine3_1
1583 enable_xactengine3_2
1584 enable_xactengine3_3
1585 enable_xactengine3_4
1586 enable_xactengine3_5
1587 enable_xactengine3_6
1588 enable_xactengine3_7
1638 enable_wmcodecdspuuid
1647 enable_aspnet_regiis
1695 enable_presentationfontcache
1710 enable_servicemodelreg
1736 enable_winemenubuilder
1738 enable_winemsibuilder
1763 ac_precious_vars
='build_alias
1778 FLUIDSYNTH_PE_CFLAGS
1810 WAYLAND_CLIENT_CFLAGS
1862 # Initialize some variables set by options.
1864 ac_init_version
=false
1865 ac_unrecognized_opts
=
1866 ac_unrecognized_sep
=
1867 # The variables have the same names as the options, with
1868 # dashes changed to underlines.
1869 cache_file
=/dev
/null
1876 program_transform_name
=s
,x
,x
,
1884 # Installation directory options.
1885 # These are left unexpanded so users can "make install exec_prefix=/foo"
1886 # and all the variables that are supposed to be based on exec_prefix
1887 # by default will actually change.
1888 # Use braces instead of parens because sh, perl, etc. also accept them.
1889 # (The list follows the same order as the GNU Coding Standards.)
1890 bindir
='${exec_prefix}/bin'
1891 sbindir
='${exec_prefix}/sbin'
1892 libexecdir
='${exec_prefix}/libexec'
1893 datarootdir
='${prefix}/share'
1894 datadir
='${datarootdir}'
1895 sysconfdir
='${prefix}/etc'
1896 sharedstatedir
='${prefix}/com'
1897 localstatedir
='${prefix}/var'
1898 runstatedir
='${localstatedir}/run'
1899 includedir
='${prefix}/include'
1900 oldincludedir
='/usr/include'
1901 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
1902 infodir
='${datarootdir}/info'
1907 libdir
='${exec_prefix}/lib'
1908 localedir
='${datarootdir}/locale'
1909 mandir
='${datarootdir}/man'
1915 # If the previous option needs an argument, assign it.
1916 if test -n "$ac_prev"; then
1917 eval $ac_prev=\
$ac_option
1923 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1928 case $ac_dashdash$ac_option in
1932 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
1934 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
1935 bindir
=$ac_optarg ;;
1937 -build |
--build |
--buil |
--bui |
--bu)
1938 ac_prev
=build_alias
;;
1939 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
1940 build_alias
=$ac_optarg ;;
1942 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
1943 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
1944 ac_prev
=cache_file
;;
1945 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
1946 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
1947 cache_file
=$ac_optarg ;;
1949 --config-cache |
-C)
1950 cache_file
=config.cache
;;
1952 -datadir |
--datadir |
--datadi |
--datad)
1954 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
1955 datadir
=$ac_optarg ;;
1957 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1958 |
--dataroo |
--dataro |
--datar)
1959 ac_prev
=datarootdir
;;
1960 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1961 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1962 datarootdir
=$ac_optarg ;;
1964 -disable-* |
--disable-*)
1965 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1966 # Reject names that are not valid shell variable names.
1967 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1968 as_fn_error $?
"invalid feature name: \`$ac_useropt'"
1969 ac_useropt_orig
=$ac_useropt
1970 ac_useropt
=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1971 case $ac_user_opts in
1973 "enable_
$ac_useropt"
1975 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1976 ac_unrecognized_sep
=', ';;
1978 eval enable_
$ac_useropt=no
;;
1980 -docdir |
--docdir |
--docdi |
--doc |
--do)
1982 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1983 docdir
=$ac_optarg ;;
1985 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1987 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1988 dvidir
=$ac_optarg ;;
1990 -enable-* |
--enable-*)
1991 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1992 # Reject names that are not valid shell variable names.
1993 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1994 as_fn_error $?
"invalid feature name: \`$ac_useropt'"
1995 ac_useropt_orig
=$ac_useropt
1996 ac_useropt
=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1997 case $ac_user_opts in
1999 "enable_
$ac_useropt"
2001 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
2002 ac_unrecognized_sep
=', ';;
2004 eval enable_
$ac_useropt=\
$ac_optarg ;;
2006 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
2007 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
2008 |
--exec |
--exe |
--ex)
2009 ac_prev
=exec_prefix
;;
2010 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
2011 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
2012 |
--exec=* |
--exe=* |
--ex=*)
2013 exec_prefix
=$ac_optarg ;;
2015 -gas |
--gas |
--ga |
--g)
2016 # Obsolete; use --with-gas.
2019 -help |
--help |
--hel |
--he |
-h)
2020 ac_init_help
=long
;;
2021 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
2022 ac_init_help
=recursive
;;
2023 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
2024 ac_init_help
=short
;;
2026 -host |
--host |
--hos |
--ho)
2027 ac_prev
=host_alias
;;
2028 -host=* |
--host=* |
--hos=* |
--ho=*)
2029 host_alias
=$ac_optarg ;;
2031 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
2033 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
2035 htmldir
=$ac_optarg ;;
2037 -includedir |
--includedir |
--includedi |
--included |
--include \
2038 |
--includ |
--inclu |
--incl |
--inc)
2039 ac_prev
=includedir
;;
2040 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
2041 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
2042 includedir
=$ac_optarg ;;
2044 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
2046 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
2047 infodir
=$ac_optarg ;;
2049 -libdir |
--libdir |
--libdi |
--libd)
2051 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
2052 libdir
=$ac_optarg ;;
2054 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
2055 |
--libexe |
--libex |
--libe)
2056 ac_prev
=libexecdir
;;
2057 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
2058 |
--libexe=* |
--libex=* |
--libe=*)
2059 libexecdir
=$ac_optarg ;;
2061 -localedir |
--localedir |
--localedi |
--localed |
--locale)
2062 ac_prev
=localedir
;;
2063 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
2064 localedir
=$ac_optarg ;;
2066 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
2067 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
2068 ac_prev
=localstatedir
;;
2069 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
2070 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
2071 localstatedir
=$ac_optarg ;;
2073 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
2075 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
2076 mandir
=$ac_optarg ;;
2078 -nfp |
--nfp |
--nf)
2079 # Obsolete; use --without-fp.
2082 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
2083 |
--no-cr |
--no-c |
-n)
2086 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
2087 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
2090 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
2091 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
2092 |
--oldin |
--oldi |
--old |
--ol |
--o)
2093 ac_prev
=oldincludedir
;;
2094 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
2095 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
2096 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
2097 oldincludedir
=$ac_optarg ;;
2099 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
2101 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
2102 prefix
=$ac_optarg ;;
2104 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
2105 |
--program-pre |
--program-pr |
--program-p)
2106 ac_prev
=program_prefix
;;
2107 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
2108 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
2109 program_prefix
=$ac_optarg ;;
2111 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
2112 |
--program-suf |
--program-su |
--program-s)
2113 ac_prev
=program_suffix
;;
2114 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
2115 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
2116 program_suffix
=$ac_optarg ;;
2118 -program-transform-name |
--program-transform-name \
2119 |
--program-transform-nam |
--program-transform-na \
2120 |
--program-transform-n |
--program-transform- \
2121 |
--program-transform |
--program-transfor \
2122 |
--program-transfo |
--program-transf \
2123 |
--program-trans |
--program-tran \
2124 |
--progr-tra |
--program-tr |
--program-t)
2125 ac_prev
=program_transform_name
;;
2126 -program-transform-name=* |
--program-transform-name=* \
2127 |
--program-transform-nam=* |
--program-transform-na=* \
2128 |
--program-transform-n=* |
--program-transform-=* \
2129 |
--program-transform=* |
--program-transfor=* \
2130 |
--program-transfo=* |
--program-transf=* \
2131 |
--program-trans=* |
--program-tran=* \
2132 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
2133 program_transform_name
=$ac_optarg ;;
2135 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
2137 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
2138 pdfdir
=$ac_optarg ;;
2140 -psdir |
--psdir |
--psdi |
--psd |
--ps)
2142 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
2145 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2146 |
-silent |
--silent |
--silen |
--sile |
--sil)
2149 -runstatedir |
--runstatedir |
--runstatedi |
--runstated \
2150 |
--runstate |
--runstat |
--runsta |
--runst |
--runs \
2151 |
--run |
--ru |
--r)
2152 ac_prev
=runstatedir
;;
2153 -runstatedir=* |
--runstatedir=* |
--runstatedi=* |
--runstated=* \
2154 |
--runstate=* |
--runstat=* |
--runsta=* |
--runst=* |
--runs=* \
2155 |
--run=* |
--ru=* |
--r=*)
2156 runstatedir
=$ac_optarg ;;
2158 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
2160 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
2162 sbindir
=$ac_optarg ;;
2164 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
2165 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
2166 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
2168 ac_prev
=sharedstatedir
;;
2169 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
2170 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
2171 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
2173 sharedstatedir
=$ac_optarg ;;
2175 -site |
--site |
--sit)
2177 -site=* |
--site=* |
--sit=*)
2180 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
2182 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
2183 srcdir
=$ac_optarg ;;
2185 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
2186 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
2187 ac_prev
=sysconfdir
;;
2188 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
2189 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
2190 sysconfdir
=$ac_optarg ;;
2192 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
2193 ac_prev
=target_alias
;;
2194 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
2195 target_alias
=$ac_optarg ;;
2197 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
2200 -version |
--version |
--versio |
--versi |
--vers |
-V)
2201 ac_init_version
=: ;;
2204 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2205 # Reject names that are not valid shell variable names.
2206 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
2207 as_fn_error $?
"invalid package name: \`$ac_useropt'"
2208 ac_useropt_orig
=$ac_useropt
2209 ac_useropt
=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
2210 case $ac_user_opts in
2214 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2215 ac_unrecognized_sep
=', ';;
2217 eval with_
$ac_useropt=\
$ac_optarg ;;
2219 -without-* |
--without-*)
2220 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2221 # Reject names that are not valid shell variable names.
2222 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
2223 as_fn_error $?
"invalid package name: \`$ac_useropt'"
2224 ac_useropt_orig
=$ac_useropt
2225 ac_useropt
=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
2226 case $ac_user_opts in
2230 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2231 ac_unrecognized_sep
=', ';;
2233 eval with_
$ac_useropt=no
;;
2236 # Obsolete; use --with-x.
2239 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
2240 |
--x-incl |
--x-inc |
--x-in |
--x-i)
2241 ac_prev
=x_includes
;;
2242 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
2243 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
2244 x_includes
=$ac_optarg ;;
2246 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
2247 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
2248 ac_prev
=x_libraries
;;
2249 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
2250 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
2251 x_libraries
=$ac_optarg ;;
2253 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
2254 Try \`$0 --help' for more information"
2258 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
2259 # Reject names that are not valid shell variable names.
2260 case $ac_envvar in #(
2261 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
2262 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
2264 eval $ac_envvar=\
$ac_optarg
2265 export $ac_envvar ;;
2268 # FIXME: should be removed in autoconf 3.0.
2269 printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
2270 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
2271 printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
2272 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2278 if test -n "$ac_prev"; then
2279 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
2280 as_fn_error $?
"missing argument to $ac_option"
2283 if test -n "$ac_unrecognized_opts"; then
2284 case $enable_option_checking in
2286 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
2287 *) printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2291 # Check all directory arguments for consistency.
2292 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2293 datadir sysconfdir sharedstatedir localstatedir includedir \
2294 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2295 libdir localedir mandir runstatedir
2297 eval ac_val
=\$
$ac_var
2298 # Remove trailing slashes.
2301 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2302 eval $ac_var=\
$ac_val;;
2304 # Be sure to have absolute directory names.
2306 [\\/$
]* | ?
:[\\/]* ) continue;;
2307 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
2309 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
2312 # There might be people who depend on the old broken behavior: `$host'
2313 # used to hold the argument of --host etc.
2314 # FIXME: To remove some day.
2317 target
=$target_alias
2319 # FIXME: To remove some day.
2320 if test "x$host_alias" != x
; then
2321 if test "x$build_alias" = x
; then
2322 cross_compiling
=maybe
2323 elif test "x$build_alias" != "x$host_alias"; then
2329 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
2331 test "$silent" = yes && exec 6>/dev
/null
2334 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
2335 ac_ls_di
=`ls -di .` &&
2336 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
2337 as_fn_error $?
"working directory cannot be determined"
2338 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2339 as_fn_error $?
"pwd does not report name of working directory"
2342 # Find the source files, if location was not specified.
2343 if test -z "$srcdir"; then
2344 ac_srcdir_defaulted
=yes
2345 # Try the directory containing this script, then the parent directory.
2346 ac_confdir
=`$as_dirname -- "$as_myself" ||
2347 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2348 X"$as_myself" : 'X\(//\)[^/]' \| \
2349 X"$as_myself" : 'X\(//\)$' \| \
2350 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2351 printf "%s\n" X"$as_myself" |
2352 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2370 if test ! -r "$srcdir/$ac_unique_file"; then
2374 ac_srcdir_defaulted
=no
2376 if test ! -r "$srcdir/$ac_unique_file"; then
2377 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
2378 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
2380 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
2382 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2384 # When building in place, set srcdir=.
2385 if test "$ac_abs_confdir" = "$ac_pwd"; then
2388 # Remove unnecessary trailing slashes from srcdir.
2389 # Double slashes in file names in object file debugging info
2390 # mess up M-x gdb in Emacs.
2392 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2394 for ac_var
in $ac_precious_vars; do
2395 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
2396 eval ac_env_
${ac_var}_value
=\$
${ac_var}
2397 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
2398 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
2402 # Report the --help message.
2404 if test "$ac_init_help" = "long"; then
2405 # Omit some internal or obsolete options to make the list less imposing.
2406 # This message is too long to be a string in the A/UX 3.1 sh.
2408 \`configure' configures Wine 9.11 to adapt to many kinds of systems.
2410 Usage: $0 [OPTION]... [VAR=VALUE]...
2412 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2413 VAR=VALUE. See below for descriptions of some of the useful variables.
2415 Defaults for the options are specified in brackets.
2418 -h, --help display this help and exit
2419 --help=short display options specific to this package
2420 --help=recursive display the short help of all the included packages
2421 -V, --version display version information and exit
2422 -q, --quiet, --silent do not print \`checking ...' messages
2423 --cache-file=FILE cache test results in FILE [disabled]
2424 -C, --config-cache alias for \`--cache-file=config.cache'
2425 -n, --no-create do not create output files
2426 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2428 Installation directories:
2429 --prefix=PREFIX install architecture-independent files in PREFIX
2430 [$ac_default_prefix]
2431 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2434 By default, \`make install' will install all the files in
2435 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2436 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2437 for instance \`--prefix=\$HOME'.
2439 For better control, use the options below.
2441 Fine tuning of the installation directories:
2442 --bindir=DIR user executables [EPREFIX/bin]
2443 --sbindir=DIR system admin executables [EPREFIX/sbin]
2444 --libexecdir=DIR program executables [EPREFIX/libexec]
2445 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2446 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2447 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2448 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2449 --libdir=DIR object code libraries [EPREFIX/lib]
2450 --includedir=DIR C header files [PREFIX/include]
2451 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2452 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2453 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2454 --infodir=DIR info documentation [DATAROOTDIR/info]
2455 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2456 --mandir=DIR man documentation [DATAROOTDIR/man]
2457 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2458 --htmldir=DIR html documentation [DOCDIR]
2459 --dvidir=DIR dvi documentation [DOCDIR]
2460 --pdfdir=DIR pdf documentation [DOCDIR]
2461 --psdir=DIR ps documentation [DOCDIR]
2467 --x-includes=DIR X include files are
in DIR
2468 --x-libraries=DIR X library files are
in DIR
2471 --build=BUILD configure
for building on BUILD
[guessed
]
2472 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
2476 if test -n "$ac_init_help"; then
2477 case $ac_init_help in
2478 short | recursive
) echo "Configuration of Wine 9.11:";;
2483 --disable-option-checking ignore unrecognized
--enable/--with options
2484 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
2485 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
2486 --enable-archs={i386
,x86_64
,arm
,aarch64
}
2487 enable multiple architectures
for PE compilation
2488 --disable-win16 do not include Win16 support
2489 --enable-win64 build a Win64 emulator on AMD64
(won
't run Win32
2491 --disable-tests do not build the regression tests
2492 --enable-build-id include .buildid section in output objects
2493 --enable-maintainer-mode
2494 enable maintainer-specific build rules
2495 --enable-silent-rules use silent build rules (override: "make V=1")
2496 --enable-werror treat compilation warnings as errors
2497 --disable-largefile omit support for large files
2500 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2501 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2502 --without-alsa do not use the Alsa sound support
2503 --without-capi do not use CAPI (ISDN support)
2504 --without-coreaudio do not use the CoreAudio sound support
2505 --without-cups do not use CUPS
2506 --without-dbus do not use DBus (dynamic device support)
2507 --without-fontconfig do not use fontconfig
2508 --without-freetype do not use the FreeType library
2509 --without-gettext do not use gettext
2510 --with-gettextpo use the GetTextPO library to rebuild po files
2511 --without-gphoto do not use gphoto (Digital Camera support)
2512 --without-gnutls do not use GnuTLS (schannel support)
2513 --without-gssapi do not use GSSAPI (Kerberos SSP support)
2514 --without-gstreamer do not use GStreamer (codecs support)
2515 --without-inotify do not use inotify (filesystem change notifications)
2516 --without-krb5 do not use krb5 (Kerberos)
2517 --without-mingw do not use the MinGW cross-compiler
2518 --without-netapi do not use the Samba NetAPI library
2519 --without-odbc do not use the ODBC library
2520 --without-opencl do not use OpenCL
2521 --without-opengl do not use OpenGL
2522 --without-osmesa do not use the OSMesa library
2523 --without-oss do not use the OSS sound support
2524 --without-pcap do not use the Packet Capture library
2525 --without-pcsclite do not use PCSC lite
2526 --without-pthread do not use the pthread library
2527 --without-pulse do not use PulseAudio sound support
2528 --without-sane do not use SANE (scanner support)
2529 --without-sdl do not use SDL
2530 --without-udev do not use udev (plug and play support)
2531 --without-unwind do not use the libunwind library (exception
2533 --without-usb do not use the libusb library
2534 --without-v4l2 do not use v4l2 (video capture)
2535 --without-vulkan do not use Vulkan
2536 --without-wayland do not build the Wayland driver
2537 --without-xcomposite do not use the Xcomposite extension
2538 --without-xcursor do not use the Xcursor extension
2539 --without-xfixes do not use Xfixes for clipboard change notifications
2540 --without-xinerama do not use Xinerama (legacy multi-monitor support)
2541 --without-xinput do not use the Xinput extension
2542 --without-xinput2 do not use the Xinput 2 extension
2543 --without-xrandr do not use Xrandr (multi-monitor support)
2544 --without-xrender do not use the Xrender extension
2545 --without-xshape do not use the Xshape extension
2546 --without-xshm do not use XShm (shared memory extension)
2547 --without-xxf86vm do not use XFree video mode extension
2548 --with-system-dllpath=PATH
2549 load external PE dependencies from colon-separated
2551 --with-wine-tools=DIR use Wine tools from directory DIR
2552 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2553 --with-x use the X Window System
2555 Some influential environment variables:
2556 CC C compiler command
2557 CFLAGS C compiler flags
2558 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2559 nonstandard directory <lib dir>
2560 LIBS libraries to pass to the linker, e.g. -l<library>
2561 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2562 you have headers in a nonstandard directory <include dir>
2563 CXX C++ compiler command
2564 CXXFLAGS C++ compiler flags
2565 OBJC Objective C compiler command
2566 OBJCFLAGS Objective C compiler flags
2568 C compiler flags for the PE faudio, overriding the bundled
2571 Linker flags for the PE faudio, overriding the bundled version
2572 FLUIDSYNTH_PE_CFLAGS
2573 C compiler flags for the PE fluidsynth, overriding the bundled
2576 Linker flags for the PE fluidsynth, overriding the bundled
2579 C compiler flags for the PE gsm, overriding the bundled version
2580 GSM_PE_LIBS Linker flags for the PE gsm, overriding the bundled version
2582 C compiler flags for the PE jpeg, overriding the bundled version
2584 Linker flags for the PE jpeg, overriding the bundled version
2586 C compiler flags for the PE jxr, overriding the bundled version
2587 JXR_PE_LIBS Linker flags for the PE jxr, overriding the bundled version
2589 C compiler flags for the PE lcms2, overriding the bundled
2592 Linker flags for the PE lcms2, overriding the bundled version
2594 C compiler flags for the PE ldap, overriding the bundled version
2596 Linker flags for the PE ldap, overriding the bundled version
2598 C compiler flags for the PE mpg123, overriding the bundled
2601 Linker flags for the PE mpg123, overriding the bundled version
2603 C compiler flags for the PE musl, overriding the bundled version
2605 Linker flags for the PE musl, overriding the bundled version
2607 C compiler flags for the PE png, overriding the bundled version
2608 PNG_PE_LIBS Linker flags for the PE png, overriding the bundled version
2610 C compiler flags for the PE tiff, overriding the bundled version
2612 Linker flags for the PE tiff, overriding the bundled version
2614 C compiler flags for the PE vkd3d, overriding the bundled
2617 Linker flags for the PE vkd3d, overriding the bundled version
2619 C compiler flags for the PE xml2, overriding the bundled version
2621 Linker flags for the PE xml2, overriding the bundled version
2623 C compiler flags for the PE xslt, overriding the bundled version
2625 Linker flags for the PE xslt, overriding the bundled version
2627 C compiler flags for the PE zlib, overriding the bundled version
2629 Linker flags for the PE zlib, overriding the bundled version
2631 C compiler flags for the PE zydis, overriding the bundled
2634 Linker flags for the PE zydis, overriding the bundled version
2635 XMKMF Path to xmkmf, Makefile generator for X Window System
2637 WAYLAND_CLIENT_CFLAGS
2638 C compiler flags for wayland-client, overriding pkg-config
2640 Linker flags for wayland-client, overriding pkg-config
2642 C compiler flags for xkbcommon, overriding pkg-config
2644 Linker flags for xkbcommon, overriding pkg-config
2646 C compiler flags for xkbregistry, overriding pkg-config
2648 Linker flags for xkbregistry, overriding pkg-config
2649 EGL_CFLAGS C compiler flags for egl, overriding pkg-config
2650 EGL_LIBS Linker flags for egl, overriding pkg-config
2652 C compiler flags for wayland-egl, overriding pkg-config
2654 Linker flags for wayland-egl, overriding pkg-config
2655 ODBC_CFLAGS C compiler flags for odbc, overriding pkg-config
2656 ODBC_LIBS Linker flags for odbc, overriding pkg-config
2658 C compiler flags for libinotify, overriding pkg-config
2660 Linker flags for libinotify, overriding pkg-config
2661 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2662 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2664 C compiler flags for gnutls, overriding pkg-config
2665 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2666 SANE_CFLAGS C compiler flags for sane-backends, overriding pkg-config
2667 SANE_LIBS Linker flags for sane-backends, overriding pkg-config
2668 USB_CFLAGS C compiler flags for libusb-1.0, overriding pkg-config
2669 USB_LIBS Linker flags for libusb-1.0, overriding pkg-config
2671 C compiler flags for libgphoto2, overriding pkg-config
2673 Linker flags for libgphoto2, overriding pkg-config
2675 C compiler flags for libgphoto2_port, overriding pkg-config
2677 Linker flags for libgphoto2_port, overriding pkg-config
2679 C compiler flags for freetype2, overriding pkg-config
2681 Linker flags for freetype2, overriding pkg-config
2683 C compiler flags for libpulse, overriding pkg-config
2684 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2686 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2687 gstreamer-audio-1.0 gstreamer-tag-1.0, overriding pkg-config
2689 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2690 gstreamer-audio-1.0 gstreamer-tag-1.0, overriding pkg-config
2691 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2692 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2694 C compiler flags for libunwind, overriding pkg-config
2695 UNWIND_LIBS Linker flags for libunwind, overriding pkg-config
2696 SDL2_CFLAGS C compiler flags for sdl2, overriding pkg-config
2697 SDL2_LIBS Linker flags for sdl2, overriding pkg-config
2699 C compiler flags for capi20, overriding pkg-config
2700 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2701 CUPS_CFLAGS C compiler flags for cups, overriding pkg-config
2702 CUPS_LIBS Linker flags for cups, overriding pkg-config
2704 C compiler flags for fontconfig, overriding pkg-config
2706 Linker flags for fontconfig, overriding pkg-config
2707 KRB5_CFLAGS C compiler flags for krb5, overriding pkg-config
2708 KRB5_LIBS Linker flags for krb5, overriding pkg-config
2710 C compiler flags for krb5-gssapi, overriding pkg-config
2711 GSSAPI_LIBS Linker flags for krb5-gssapi, overriding pkg-config
2713 C compiler flags for netapi, overriding pkg-config
2714 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2716 Use these variables to override the choices made by `configure' or to
help
2717 it to
find libraries and programs with nonstandard names
/locations.
2719 Report bugs to
<wine-devel@winehq.org
>.
2720 Wine home page
: <https
://www.winehq.org
>.
2725 if test "$ac_init_help" = "recursive"; then
2726 # If there are subdirs, report their specific --help.
2727 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
2728 test -d "$ac_dir" ||
2729 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
2734 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2736 ac_dir_suffix
=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
2737 # A ".." for each directory in $ac_dir_suffix.
2738 ac_top_builddir_sub
=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2739 case $ac_top_builddir_sub in
2740 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2741 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
2744 ac_abs_top_builddir
=$ac_pwd
2745 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
2746 # for backward compatibility:
2747 ac_top_builddir
=$ac_top_build_prefix
2750 .
) # We are building in place.
2752 ac_top_srcdir
=$ac_top_builddir_sub
2753 ac_abs_top_srcdir
=$ac_pwd ;;
2754 [\\/]* | ?
:[\\/]* ) # Absolute name.
2755 ac_srcdir
=$srcdir$ac_dir_suffix;
2756 ac_top_srcdir
=$srcdir
2757 ac_abs_top_srcdir
=$srcdir ;;
2759 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
2760 ac_top_srcdir
=$ac_top_build_prefix$srcdir
2761 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
2763 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
2765 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
2766 # Check for configure.gnu first; this name is used for a wrapper for
2767 # Metaconfig's "Configure" on case-insensitive file systems.
2768 if test -f "$ac_srcdir/configure.gnu"; then
2770 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2771 elif test -f "$ac_srcdir/configure"; then
2773 $SHELL "$ac_srcdir/configure" --help=recursive
2775 printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2777 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
2781 test -n "$ac_init_help" && exit $ac_status
2782 if $ac_init_version; then
2785 generated by GNU Autoconf
2.71
2787 Copyright
(C
) 2021 Free Software Foundation
, Inc.
2788 This configure
script is free software
; the Free Software Foundation
2789 gives unlimited permission to copy
, distribute and modify it.
2794 ## ------------------------ ##
2795 ## Autoconf initialization. ##
2796 ## ------------------------ ##
2798 # ac_fn_c_try_compile LINENO
2799 # --------------------------
2800 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2801 ac_fn_c_try_compile
()
2803 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2804 rm -f conftest.
$ac_objext conftest.beam
2805 if { { ac_try
="$ac_compile"
2807 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2808 *) ac_try_echo=$ac_try;;
2810 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2811 printf "%s\n" "$ac_try_echo"; } >&5
2812 (eval "$ac_compile") 2>conftest.err
2814 if test -s conftest.err; then
2815 grep -v '^ *+' conftest.err >conftest.er1
2816 cat conftest.er1 >&5
2817 mv -f conftest.er1 conftest.err
2819 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2820 test $ac_status = 0; } && {
2821 test -z "$ac_c_werror_flag" ||
2822 test ! -s conftest.err
2823 } && test -s conftest.$ac_objext
2827 printf "%s\n" "$as_me: failed program was:" >&5
2828 sed 's/^/| /' conftest.$ac_ext >&5
2832 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2833 as_fn_set_status $ac_retval
2835 } # ac_fn_c_try_compile
2837 # ac_fn_cxx_try_compile LINENO
2838 # ----------------------------
2839 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2840 ac_fn_cxx_try_compile ()
2842 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2843 rm -f conftest.$ac_objext conftest.beam
2844 if { { ac_try="$ac_compile"
2846 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2847 *) ac_try_echo
=$ac_try;;
2849 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2850 printf "%s\n" "$ac_try_echo"; } >&5
2851 (eval "$ac_compile") 2>conftest.err
2853 if test -s conftest.err
; then
2854 grep -v '^ *+' conftest.err
>conftest.er1
2855 cat conftest.er1
>&5
2856 mv -f conftest.er1 conftest.err
2858 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2859 test $ac_status = 0; } && {
2860 test -z "$ac_cxx_werror_flag" ||
2861 test ! -s conftest.err
2862 } && test -s conftest.
$ac_objext
2866 printf "%s\n" "$as_me: failed program was:" >&5
2867 sed 's/^/| /' conftest.
$ac_ext >&5
2871 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2872 as_fn_set_status
$ac_retval
2874 } # ac_fn_cxx_try_compile
2876 # ac_fn_c_try_link LINENO
2877 # -----------------------
2878 # Try to link conftest.$ac_ext, and return whether this succeeded.
2881 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2882 rm -f conftest.
$ac_objext conftest.beam conftest
$ac_exeext
2883 if { { ac_try
="$ac_link"
2885 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2886 *) ac_try_echo=$ac_try;;
2888 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2889 printf "%s\n" "$ac_try_echo"; } >&5
2890 (eval "$ac_link") 2>conftest.err
2892 if test -s conftest.err; then
2893 grep -v '^ *+' conftest.err >conftest.er1
2894 cat conftest.er1 >&5
2895 mv -f conftest.er1 conftest.err
2897 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2898 test $ac_status = 0; } && {
2899 test -z "$ac_c_werror_flag" ||
2900 test ! -s conftest.err
2901 } && test -s conftest$ac_exeext && {
2902 test "$cross_compiling" = yes ||
2903 test -x conftest$ac_exeext
2908 printf "%s\n" "$as_me: failed program was:" >&5
2909 sed 's/^/| /' conftest.$ac_ext >&5
2913 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2914 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2915 # interfere with the next link command; also delete a directory that is
2916 # left behind by Apple's compiler. We do this before executing the actions.
2917 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2918 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2919 as_fn_set_status $ac_retval
2921 } # ac_fn_c_try_link
2923 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2924 # -------------------------------------------------------
2925 # Tests whether HEADER exists and can be compiled using the include files in
2926 # INCLUDES, setting the cache variable VAR accordingly.
2927 ac_fn_c_check_header_compile ()
2929 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2930 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2931 printf %s "checking for $2... " >&6; }
2932 if eval test \${$3+y}
2934 printf %s "(cached) " >&6
2936 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2937 /* end confdefs.h. */
2941 if ac_fn_c_try_compile "$LINENO"
2947 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2950 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2951 printf "%s\n" "$ac_res" >&6; }
2952 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2954 } # ac_fn_c_check_header_compile
2956 # ac_fn_objc_try_compile LINENO
2957 # -----------------------------
2958 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2959 ac_fn_objc_try_compile ()
2961 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2962 rm -f conftest.$ac_objext conftest.beam
2963 if { { ac_try="$ac_compile"
2965 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2966 *) ac_try_echo
=$ac_try;;
2968 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2969 printf "%s\n" "$ac_try_echo"; } >&5
2970 (eval "$ac_compile") 2>conftest.err
2972 if test -s conftest.err
; then
2973 grep -v '^ *+' conftest.err
>conftest.er1
2974 cat conftest.er1
>&5
2975 mv -f conftest.er1 conftest.err
2977 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2978 test $ac_status = 0; } && {
2979 test -z "$ac_objc_werror_flag" ||
2980 test ! -s conftest.err
2981 } && test -s conftest.
$ac_objext
2985 printf "%s\n" "$as_me: failed program was:" >&5
2986 sed 's/^/| /' conftest.
$ac_ext >&5
2990 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2991 as_fn_set_status
$ac_retval
2993 } # ac_fn_objc_try_compile
2995 # ac_fn_c_check_func LINENO FUNC VAR
2996 # ----------------------------------
2997 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2998 ac_fn_c_check_func
()
3000 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
3001 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3002 printf %s
"checking for $2... " >&6; }
3003 if eval test \
${$3+y}
3005 printf %s
"(cached) " >&6
3007 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3008 /* end confdefs.h. */
3009 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
3010 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3011 #define $2 innocuous_$2
3013 /* System header to define __stub macros and hopefully few prototypes,
3014 which can conflict with char $2 (); below. */
3019 /* Override any GCC internal prototype to avoid an error.
3020 Use char because int might match the return type of a GCC
3021 builtin and then its argument prototype would still apply. */
3026 /* The GNU C library defines this for functions which it implements
3027 to always fail with ENOSYS. Some functions are actually named
3028 something starting with __ and the normal name is an alias. */
3029 #if defined __stub_$2 || defined __stub___$2
3041 if ac_fn_c_try_link
"$LINENO"
3047 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
3048 conftest
$ac_exeext conftest.
$ac_ext
3051 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3052 printf "%s\n" "$ac_res" >&6; }
3053 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3055 } # ac_fn_c_check_func
3057 # ac_fn_c_try_cpp LINENO
3058 # ----------------------
3059 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
3062 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
3063 if { { ac_try
="$ac_cpp conftest.$ac_ext"
3065 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3066 *) ac_try_echo=$ac_try;;
3068 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3069 printf "%s\n" "$ac_try_echo"; } >&5
3070 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
3072 if test -s conftest.err; then
3073 grep -v '^ *+' conftest.err >conftest.er1
3074 cat conftest.er1 >&5
3075 mv -f conftest.er1 conftest.err
3077 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3078 test $ac_status = 0; } > conftest.i && {
3079 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3080 test ! -s conftest.err
3085 printf "%s\n" "$as_me: failed program was:" >&5
3086 sed 's/^/| /' conftest.$ac_ext >&5
3090 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3091 as_fn_set_status $ac_retval
3095 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
3096 # ----------------------------------------------------
3097 # Tries to find if the field MEMBER exists in type AGGR, after including
3098 # INCLUDES, setting cache variable VAR accordingly.
3099 ac_fn_c_check_member ()
3101 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3102 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
3103 printf %s "checking for $2.$3... " >&6; }
3104 if eval test \${$4+y}
3106 printf %s "(cached) " >&6
3108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3109 /* end confdefs.h. */
3121 if ac_fn_c_try_compile "$LINENO"
3125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3126 /* end confdefs.h. */
3132 if (sizeof ac_aggr.$3)
3138 if ac_fn_c_try_compile "$LINENO"
3144 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3146 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3149 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3150 printf "%s\n" "$ac_res" >&6; }
3151 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3153 } # ac_fn_c_check_member
3155 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3156 # -------------------------------------------
3157 # Tests whether TYPE exists after having included INCLUDES, setting cache
3158 # variable VAR accordingly.
3159 ac_fn_c_check_type ()
3161 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3162 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3163 printf %s "checking for $2... " >&6; }
3164 if eval test \${$3+y}
3166 printf %s "(cached) " >&6
3169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3170 /* end confdefs.h. */
3181 if ac_fn_c_try_compile "$LINENO"
3183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3184 /* end confdefs.h. */
3195 if ac_fn_c_try_compile "$LINENO"
3201 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3203 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3206 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3207 printf "%s\n" "$ac_res" >&6; }
3208 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3210 } # ac_fn_c_check_type
3211 ac_configure_args_raw=
3216 ac_arg=`printf "%s\n" "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
3218 as_fn_append ac_configure_args_raw " '$ac_arg'"
3221 case $ac_configure_args_raw in
3225 ac_unsafe_z='|&;<>()$`\\"*?[ '' ' # This string ends in space, tab.
3226 ac_unsafe_a="$ac_unsafe_z#~
"
3227 ac_safe_unquote="s
/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g
"
3228 ac_configure_args_raw=` printf "%s
\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
3231 cat >config.log <<_ACEOF
3232 This file contains any messages produced by compilers while
3233 running configure, to aid debugging if configure makes a mistake.
3235 It was created by Wine $as_me 9.11, which was
3236 generated by GNU Autoconf 2.71. Invocation command line was
3238 $ $0$ac_configure_args_raw
3248 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3249 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3250 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3251 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3252 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3254 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3255 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3257 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3258 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3259 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3260 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3261 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3262 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3263 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3267 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3271 case $as_dir in #(((
3274 *) as_dir=$as_dir/ ;;
3276 printf "%s
\n" "PATH
: $as_dir"
3292 # Keep a trace of the command line.
3293 # Strip out --no-create and --no-recursion so they do not pile up.
3294 # Strip out --silent because we don't want to record it for future runs.
3295 # Also quote any args containing shell meta-characters.
3296 # Make two passes to allow for proper duplicate-argument suppression.
3300 ac_must_keep_next=false
3306 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3307 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3308 | -silent | --silent | --silen | --sile | --sil)
3311 ac_arg=`printf "%s
\n" "$ac_arg" | sed "s
/'/'\\\\\\\\''/g
"` ;;
3314 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3316 as_fn_append ac_configure_args1 " '$ac_arg'"
3317 if test $ac_must_keep_next = true; then
3318 ac_must_keep_next=false # Got value, back to normal.
3321 *=* | --config-cache | -C | -disable-* | --disable-* \
3322 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3323 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3324 | -with-* | --with-* | -without-* | --without-* | --x)
3325 case "$ac_configure_args0 " in
3326 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3329 -* ) ac_must_keep_next=true ;;
3332 as_fn_append ac_configure_args " '$ac_arg'"
3337 { ac_configure_args0=; unset ac_configure_args0;}
3338 { ac_configure_args1=; unset ac_configure_args1;}
3340 # When interrupted or exit'd, cleanup temporary files, and complete
3341 # config.log. We remove comments because anyway the quotes in there
3342 # would cause problems or look ugly.
3343 # WARNING: Use '\'' to represent an apostrophe within the trap.
3344 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3345 trap 'exit_status=$?
3348 # Save into config.log some information that might help in debugging.
3352 printf "%s
\n" "## ---------------- ##
3353 ## Cache variables. ##
3354 ## ---------------- ##"
3356 # The following way of writing the cache mishandles newlines in values,
3358 for ac_var
in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3359 eval ac_val
=\$
$ac_var
3363 *_cv_
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3364 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3367 _ | IFS | as_nl
) ;; #(
3368 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
3369 *) { eval $ac_var=; unset $ac_var;} ;;
3374 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3375 *${as_nl}ac_space
=\
*)
3377 "s/'\''/'\''\\\\'\'''\''/g;
3378 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3381 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3388 printf "%s\n" "## ----------------- ##
3389 ## Output variables. ##
3390 ## ----------------- ##"
3392 for ac_var
in $ac_subst_vars
3394 eval ac_val
=\$
$ac_var
3396 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3398 printf "%s\n" "$ac_var='\''$ac_val'\''"
3402 if test -n "$ac_subst_files"; then
3403 printf "%s\n" "## ------------------- ##
3404 ## File substitutions. ##
3405 ## ------------------- ##"
3407 for ac_var in $ac_subst_files
3409 eval ac_val=\$$ac_var
3411 *\'\''*) ac_val
=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3413 printf "%s\n" "$ac_var='\''$ac_val'\''"
3418 if test -s confdefs.h
; then
3419 printf "%s\n" "## ----------- ##
3426 test "$ac_signal" != 0 &&
3427 printf "%s\n" "$as_me: caught signal $ac_signal"
3428 printf "%s\n" "$as_me: exit $exit_status"
3430 rm -f core
*.core core.conftest.
* &&
3431 rm -f -r conftest
* confdefs
* conf$$
* $ac_clean_files &&
3434 for ac_signal in 1 2 13 15; do
3435 trap 'ac_signal
='$ac_signal'; as_fn_exit
1' $ac_signal
3439 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3440 rm -f -r conftest* confdefs.h
3442 printf "%s\n" "/* confdefs.h */" > confdefs.h
3444 # Predefined preprocessor variables.
3446 printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
3448 printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
3450 printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
3452 printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
3454 printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
3456 printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
3459 # Let the site file select an alternate cache file if it wants to.
3460 # Prefer an explicitly selected file to automatically selected ones.
3461 if test -n "$CONFIG_SITE"; then
3462 ac_site_files="$CONFIG_SITE"
3463 elif test "x$prefix" != xNONE; then
3464 ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
3466 ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
3469 for ac_site_file in $ac_site_files
3471 case $ac_site_file in #(
3475 ac_site_file=./$ac_site_file ;;
3477 if test -f "$ac_site_file" && test -r "$ac_site_file"; then
3478 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3479 printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
3480 sed 's
/^
/|
/' "$ac_site_file" >&5
3482 || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3483 printf "%s
\n" "$as_me: error
: in \
`$ac_pwd':" >&2;}
3484 as_fn_error $? "failed to load site script $ac_site_file
3485 See \`config.log
' for more details" "$LINENO" 5; }
3489 if test -r "$cache_file"; then
3490 # Some versions of bash will fail to source /dev/null (special files
3491 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3492 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3493 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3494 printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
3496 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3497 *) . "./$cache_file";;
3501 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3502 printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
3506 # Test code for whether the C compiler supports C89 (global declarations)
3507 ac_c_conftest_c89_globals='
3508 /* Does the compiler advertise C89 conformance?
3509 Do not
test the value of __STDC__
, because some compilers
set it to
0
3510 while being otherwise adequately conformant.
*/
3511 #if !defined __STDC__
3512 # error "Compiler does not advertise C89 conformance"
3518 /* Most of the following tests are stolen from RCS
5.7 src
/conf.sh.
*/
3519 struct buf
{ int x
; };
3520 struct buf
* (*rcsopen
) (struct buf
*, struct stat
*, int
);
3521 static char
*e
(p
, i
)
3527 static char
*f
(char
* (*g
) (char
**, int
), char
**p
, ...
)
3532 s
= g
(p
, va_arg
(v
,int
));
3537 /* OSF
4.0 Compaq cc is some
sort of almost-ANSI by default. It has
3538 function prototypes and stuff
, but not \xHH hex character constants.
3539 These
do not provoke an error unfortunately
, instead are silently treated
3540 as an
"x". The following induces an error
, until -std is added to get
3541 proper ANSI mode. Curiously
\x00 != x always comes out true
, for an
3542 array size
at least. It is necessary to
write \x00 == 0 to get something
3543 that is true only with
-std.
*/
3544 int osf4_cc_array
['\''\x00'\'' == 0 ?
1 : -1];
3546 /* IBM C
6 for AIX is almost-ANSI by default
, but it replaces macro parameters
3547 inside
strings and character constants.
*/
3548 #define FOO(x) '\''x'\''
3549 int xlc6_cc_array
[FOO
(a
) == '\''x
'\'' ?
1 : -1];
3551 int
test (int i
, double x
);
3552 struct s1
{int
(*f
) (int a
);};
3553 struct s2
{int
(*f
) (double a
);};
3554 int pairnames
(int
, char
**, int
*(*)(struct buf
*, struct stat
*, int
),
3557 # Test code for whether the C compiler supports C89 (body of main).
3558 ac_c_conftest_c89_main='
3559 ok |
= (argc
== 0 || f
(e
, argv
, 0) != argv
[0] || f
(e
, argv
, 1) != argv
[1]);
3562 # Test code for whether the C compiler supports C99 (global declarations)
3563 ac_c_conftest_c99_globals='
3564 // Does the compiler advertise C99 conformance?
3565 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
3566 # error "Compiler does not advertise C99 conformance"
3569 #include <stdbool.h>
3570 extern int puts
(const char
*);
3571 extern int
printf (const char
*, ...
);
3572 extern int dprintf
(int
, const char
*, ...
);
3573 extern void
*malloc
(size_t
);
3575 // Check varargs macros. These examples are taken from C99
6.10.3.5.
3576 // dprintf is used instead of fprintf to avoid needing to
declare
3578 #define debug(...) dprintf (2, __VA_ARGS__)
3579 #define showlist(...) puts (#__VA_ARGS__)
3580 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
3582 test_varargs_macros
(void
)
3587 debug
("X = %d\n", x
);
3588 showlist
(The first
, second
, and third items.
);
3589 report
(x
>y
, "x is %d but y is %d", x
, y
);
3592 // Check long long types.
3593 #define BIG64 18446744073709551615ull
3594 #define BIG32 4294967295ul
3595 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
3597 #error "your preprocessor is broken"
3601 #error "your preprocessor is broken"
3603 static long long int bignum
= -9223372036854775807LL;
3604 static unsigned long long int ubignum
= BIG64
;
3606 struct incomplete_array
3614 const wchar_t
*name
;
3618 typedef const char
*ccp
;
3621 test_restrict
(ccp restrict text
)
3623 // See
if C
++-style comments work.
3624 // Iterate through items via the restricted pointer.
3625 // Also check
for declarations
in for loops.
3626 for (unsigned int i
= 0; *(text
+i
) != '\''\
0'\''; ++i
)
3631 // Check varargs and va_copy.
3633 test_varargs
(const char
*format
, ...
)
3636 va_start
(args
, format
);
3638 va_copy
(args_copy
, args
);
3640 const char
*str
= "";
3648 case '\''s
'\'': // string
3649 str
= va_arg
(args_copy
, const char
*);
3651 case '\''d
'\'': // int
3652 number
= va_arg
(args_copy
, int
);
3654 case '\''f
'\'': // float
3655 fnumber
= va_arg
(args_copy
, double
);
3664 return *str
&& number
&& fnumber
;
3668 # Test code for whether the C compiler supports C99 (body of main).
3669 ac_c_conftest_c99_main='
3671 _Bool success
= false
;
3672 success |
= (argc
!= 0);
3675 if (test_restrict
("String literal") == 0)
3677 char
*restrict newvar
= "Another string";
3680 success
&= test_varargs
("s, d'\'' f .", "string", 65, 34.234);
3681 test_varargs_macros
();
3683 // Check flexible array members.
3684 struct incomplete_array
*ia
=
3685 malloc
(sizeof
(struct incomplete_array
) + (sizeof
(double
) * 10));
3687 for (int i
= 0; i
< ia-
>datasize
; ++i
)
3688 ia-
>data
[i
] = i
* 1.234;
3690 // Check named initializers.
3691 struct named_init ni
= {
3693 .name
= L
"Test wide string",
3694 .average
= 543.34343,
3699 int dynamic_array
[ni.number
];
3700 dynamic_array
[0] = argv
[0][0];
3701 dynamic_array
[ni.number
- 1] = 543;
3703 // work around unused variable warnings
3704 ok |
= (!success || bignum
== 0LL || ubignum
== 0uLL || newvar
[0] == '\''x
'\''
3705 || dynamic_array
[ni.number
- 1] != 543);
3708 # Test code for whether the C compiler supports C11 (global declarations)
3709 ac_c_conftest_c11_globals='
3710 // Does the compiler advertise C11 conformance?
3711 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
3712 # error "Compiler does not advertise C11 conformance"
3716 char _Alignas
(double
) aligned_as_double
;
3717 char _Alignas
(0) no_special_alignment
;
3718 extern char aligned_as_int
;
3719 char _Alignas
(0) _Alignas
(int
) aligned_as_int
;
3724 int_alignment
= _Alignof
(int
),
3725 int_array_alignment
= _Alignof
(int
[100]),
3726 char_alignment
= _Alignof
(char
)
3728 _Static_assert
(0 < -_Alignof (int
), "_Alignof is signed");
3731 int _Noreturn does_not_return
(void
) { for (;;) continue; }
3733 // Check _Static_assert.
3734 struct test_static_assert
3737 _Static_assert
(sizeof
(int
) <= sizeof
(long int
),
3738 "_Static_assert does not work in struct");
3742 // Check UTF-8 literals.
3743 #define u8 syntax error!
3744 char const utf8_literal
[] = u8
"happens to be ASCII" "another string";
3746 // Check duplicate typedefs.
3747 typedef long
*long_ptr
;
3748 typedef long int
*long_ptr
;
3749 typedef long_ptr long_ptr
;
3751 // Anonymous structures and unions
-- taken from C11
6.7.2.1 Example
1.
3755 struct
{ int i
; int j
; };
3756 struct
{ int k
; long int l
; } w
;
3762 # Test code for whether the C compiler supports C11 (body of main).
3763 ac_c_conftest_c11_main='
3764 _Static_assert
((offsetof
(struct anonymous
, i
)
3765 == offsetof
(struct anonymous
, w.k
)),
3766 "Anonymous union alignment botch");
3772 # Test code for whether the C compiler supports C11 (complete).
3773 ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
3774 ${ac_c_conftest_c99_globals}
3775 ${ac_c_conftest_c11_globals}
3778 main (int argc, char **argv)
3781 ${ac_c_conftest_c89_main}
3782 ${ac_c_conftest_c99_main}
3783 ${ac_c_conftest_c11_main}
3788 # Test code for whether the C compiler supports C99 (complete).
3789 ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
3790 ${ac_c_conftest_c99_globals}
3793 main (int argc, char **argv)
3796 ${ac_c_conftest_c89_main}
3797 ${ac_c_conftest_c99_main}
3802 # Test code for whether the C compiler supports C89 (complete).
3803 ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
3806 main (int argc, char **argv)
3809 ${ac_c_conftest_c89_main}
3814 # Test code for whether the C++ compiler supports C++98 (global declarations)
3815 ac_cxx_conftest_cxx98_globals='
3816 // Does the compiler advertise C
++98 conformance?
3817 #if !defined __cplusplus || __cplusplus < 199711L
3818 # error "Compiler does not advertise C++98 conformance"
3821 // These inclusions are to reject old compilers that
3822 // lack the unsuffixed header files.
3824 #include <exception>
3826 // <cassert
> and
<cstring
> are
*not
* freestanding headers
in C
++98.
3827 extern void assert
(int
);
3829 extern int strcmp
(const char
*, const char
*);
3832 // Namespaces
, exceptions
, and templates were all added after
"C++ 2.0".
3833 using std
::exception
;
3838 void test_exception_syntax
()
3842 } catch
(const char
*s
) {
3843 // Extra parentheses suppress a warning when building autoconf itself
,
3844 // due to lint rules shared with
more typical C programs.
3845 assert
(!(strcmp
) (s
, "test"));
3849 template
<typename T
> struct test_template
3852 explicit test_template
(T t
) : val
(t
) {}
3853 template
<typename U
> T add
(U u
) { return static_cast
<T
>(u
) + val
; }
3856 } // anonymous namespace
3859 # Test code for whether the C++ compiler supports C++98 (body of main)
3860 ac_cxx_conftest_cxx98_main='
3864 test_exception_syntax
();
3865 test_template
<double
> tt
(2.0);
3866 assert
(tt.add
(4) == 6.0);
3867 assert
(true
&& !false
);
3871 # Test code for whether the C++ compiler supports C++11 (global declarations)
3872 ac_cxx_conftest_cxx11_globals='
3873 // Does the compiler advertise C
++ 2011 conformance?
3874 #if !defined __cplusplus || __cplusplus < 201103L
3875 # error "Compiler does not advertise C++11 conformance"
3880 constexpr int get_val
() { return 20; }
3891 delegate
(int n
) : n
(n
) {}
3892 delegate
(): delegate
(2354) {}
3894 virtual int getval
() { return this-
>n
; };
3899 class overridden
: public delegate
3902 overridden
(int n
): delegate
(n
) {}
3903 virtual int getval
() override final
{ return this-
>n
* 2; }
3909 nocopy
(int i
): i
(i
) {}
3911 nocopy
(const nocopy
&) = delete
;
3912 nocopy
& operator
=(const nocopy
&) = delete
;
3917 // for testing lambda expressions
3918 template
<typename Ret
, typename Fn
> Ret
eval(Fn f
, Ret v
)
3923 // for testing variadic templates and trailing
return types
3924 template
<typename V
> auto
sum(V first
) -> V
3928 template
<typename V
, typename... Args
> auto
sum(V first
, Args... rest
) -> V
3930 return first
+ sum(rest...
);
3935 # Test code for whether the C++ compiler supports C++11 (body of main)
3936 ac_cxx_conftest_cxx11_main='
3938 // Test auto and decltype
3940 auto a2
= 48573953.4;
3941 auto a3
= "String literal";
3944 for (auto i
= a3
; *i
; ++i
) { total
+= *i
; }
3946 decltype
(a2
) a4
= 34895.034;
3950 short sa
[cxx11test
::get_val
()] = { 0 };
3953 // Test initializer lists
3954 cxx11test
::testinit il
= { 4323, 435234.23544 };
3957 // Test range-based
for
3958 int array
[] = {9, 7, 13, 15, 4, 18, 12, 10, 5, 3,
3959 14, 19, 17, 8, 6, 20, 16, 2, 11, 1};
3960 for (auto
&x
: array
) { x
+= 23; }
3963 // Test lambda expressions
3964 using cxx11test
::eval;
3965 assert
(eval ([](int x
) { return x
*2; }, 21) == 42);
3967 assert
(eval ([&](double x
) { return d
+= x
; }, 3.0) == 5.0);
3969 assert
(eval ([=](double x
) mutable
{ return d
+= x
; }, 4.0) == 9.0);
3973 // Test use of variadic templates
3974 using cxx11test
::sum;
3977 auto c
= sum(1.0, 2.0, 3.0);
3980 // Test constructor delegation
3981 cxx11test
::delegate d1
;
3982 cxx11test
::delegate d2
();
3983 cxx11test
::delegate d3
(45);
3986 // Test override and final
3987 cxx11test
::overridden o1
(55464);
3994 // Test template brackets
3995 test_template
<::test_template
<int
>> v
(test_template
<int
>(12));
3999 char const
*utf8
= u8
"UTF-8 string \u2500";
4000 char16_t const
*utf16
= u
"UTF-8 string \u2500";
4001 char32_t const
*utf32
= U
"UTF-32 string \u2500";
4005 # Test code for whether the C compiler supports C++11 (complete).
4006 ac_cxx_conftest_cxx11_program="${ac_cxx_conftest_cxx98_globals}
4007 ${ac_cxx_conftest_cxx11_globals}
4010 main (int argc, char **argv)
4013 ${ac_cxx_conftest_cxx98_main}
4014 ${ac_cxx_conftest_cxx11_main}
4019 # Test code for whether the C compiler supports C++98 (complete).
4020 ac_cxx_conftest_cxx98_program="${ac_cxx_conftest_cxx98_globals}
4022 main (int argc, char **argv)
4025 ${ac_cxx_conftest_cxx98_main}
4030 as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H"
4031 as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H"
4032 as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H"
4033 as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H"
4034 as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H"
4035 as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H"
4036 as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
4037 as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H"
4038 as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H"
4040 # Auxiliary files required by this configure script.
4041 ac_aux_files="config.guess config.sub"
4043 # Locations in which to look for auxiliary files.
4044 ac_aux_dir_candidates="${srcdir}/tools"
4046 # Search for a directory containing all of the required auxiliary files,
4047 # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
4048 # If we don't
find one directory that contains all the files we need
,
4049 # we report the set of missing files from the *first* directory in
4050 # $ac_aux_dir_candidates and give up.
4051 ac_missing_aux_files
=""
4052 ac_first_candidate
=:
4053 printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
4054 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4056 for as_dir
in $ac_aux_dir_candidates
4059 case $as_dir in #(((
4062 *) as_dir
=$as_dir/ ;;
4066 printf "%s\n" "$as_me:${as_lineno-$LINENO}: trying $as_dir" >&5
4067 ac_aux_dir_found
=yes
4069 for ac_aux
in $ac_aux_files
4071 # As a special case, if "install-sh" is required, that requirement
4072 # can be satisfied by any of "install-sh", "install.sh", or "shtool",
4073 # and $ac_install_sh is set appropriately for whichever one is found.
4074 if test x
"$ac_aux" = x
"install-sh"
4076 if test -f "${as_dir}install-sh"; then
4077 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install-sh found" >&5
4078 ac_install_sh
="${as_dir}install-sh -c"
4079 elif test -f "${as_dir}install.sh"; then
4080 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install.sh found" >&5
4081 ac_install_sh
="${as_dir}install.sh -c"
4082 elif test -f "${as_dir}shtool"; then
4083 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}shtool found" >&5
4084 ac_install_sh
="${as_dir}shtool install -c"
4087 if $ac_first_candidate; then
4088 ac_missing_aux_files
="${ac_missing_aux_files} install-sh"
4094 if test -f "${as_dir}${ac_aux}"; then
4095 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}${ac_aux} found" >&5
4098 if $ac_first_candidate; then
4099 ac_missing_aux_files
="${ac_missing_aux_files} ${ac_aux}"
4106 if test "$ac_aux_dir_found" = yes; then
4107 ac_aux_dir
="$as_dir"
4110 ac_first_candidate
=false
4119 as_fn_error $?
"cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5
4123 # These three variables are undocumented and unsupported,
4124 # and are intended to be withdrawn in a future Autoconf release.
4125 # They can cause serious problems if a builder's source tree is in a directory
4126 # whose full name contains unusual characters.
4127 if test -f "${ac_aux_dir}config.guess"; then
4128 ac_config_guess
="$SHELL ${ac_aux_dir}config.guess"
4130 if test -f "${ac_aux_dir}config.sub"; then
4131 ac_config_sub
="$SHELL ${ac_aux_dir}config.sub"
4133 if test -f "$ac_aux_dir/configure"; then
4134 ac_configure
="$SHELL ${ac_aux_dir}configure"
4137 # Check that the precious variables saved in the cache have kept the same
4139 ac_cache_corrupted
=false
4140 for ac_var
in $ac_precious_vars; do
4141 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
4142 eval ac_new_set
=\
$ac_env_${ac_var}_set
4143 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
4144 eval ac_new_val
=\
$ac_env_${ac_var}_value
4145 case $ac_old_set,$ac_new_set in
4147 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
4148 printf "%s\n" "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
4149 ac_cache_corrupted
=: ;;
4151 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
4152 printf "%s\n" "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
4153 ac_cache_corrupted
=: ;;
4156 if test "x$ac_old_val" != "x$ac_new_val"; then
4157 # differences in whitespace do not lead to failure.
4158 ac_old_val_w
=`echo x $ac_old_val`
4159 ac_new_val_w
=`echo x $ac_new_val`
4160 if test "$ac_old_val_w" != "$ac_new_val_w"; then
4161 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
4162 printf "%s\n" "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
4163 ac_cache_corrupted
=:
4165 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
4166 printf "%s\n" "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
4167 eval $ac_var=\
$ac_old_val
4169 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
4170 printf "%s\n" "$as_me: former value: \`$ac_old_val'" >&2;}
4171 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
4172 printf "%s\n" "$as_me: current value: \`$ac_new_val'" >&2;}
4175 # Pass precious variables to config.status.
4176 if test "$ac_new_set" = set; then
4178 *\'*) ac_arg
=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
4179 *) ac_arg
=$ac_var=$ac_new_val ;;
4181 case " $ac_configure_args " in
4182 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
4183 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
4187 if $ac_cache_corrupted; then
4188 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4189 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
4190 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
4191 printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
4192 as_fn_error $?
"run \`${MAKE-make} distclean' and/or \`rm $cache_file'
4193 and start over" "$LINENO" 5
4195 ## -------------------- ##
4196 ## Main body of script. ##
4197 ## -------------------- ##
4200 ac_cpp
='$CPP $CPPFLAGS'
4201 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4202 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4203 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4207 ac_config_headers
="$ac_config_headers include/config.h"
4211 libwine_version
="1.0"
4214 # Check whether --enable-archs was given.
4215 if test ${enable_archs+y}
4217 enableval
=$enable_archs;
4220 # Check whether --enable-win16 was given.
4221 if test ${enable_win16+y}
4223 enableval
=$enable_win16;
4226 # Check whether --enable-win64 was given.
4227 if test ${enable_win64+y}
4229 enableval
=$enable_win64;
4232 # Check whether --enable-tests was given.
4233 if test ${enable_tests+y}
4235 enableval
=$enable_tests;
4238 # Check whether --enable-build-id was given.
4239 if test ${enable_build_id+y}
4241 enableval
=$enable_build_id;
4244 # Check whether --enable-maintainer-mode was given.
4245 if test ${enable_maintainer_mode+y}
4247 enableval
=$enable_maintainer_mode;
4250 # Check whether --enable-silent-rules was given.
4251 if test ${enable_silent_rules+y}
4253 enableval
=$enable_silent_rules;
4256 # Check whether --enable-werror was given.
4257 if test ${enable_werror+y}
4259 enableval
=$enable_werror;
4264 # Check whether --with-alsa was given.
4265 if test ${with_alsa+y}
4271 # Check whether --with-capi was given.
4272 if test ${with_capi+y}
4278 # Check whether --with-coreaudio was given.
4279 if test ${with_coreaudio+y}
4281 withval
=$with_coreaudio;
4285 # Check whether --with-cups was given.
4286 if test ${with_cups+y}
4292 # Check whether --with-dbus was given.
4293 if test ${with_dbus+y}
4299 # Check whether --with-fontconfig was given.
4300 if test ${with_fontconfig+y}
4302 withval
=$with_fontconfig;
4306 # Check whether --with-freetype was given.
4307 if test ${with_freetype+y}
4309 withval
=$with_freetype;
4313 # Check whether --with-gettext was given.
4314 if test ${with_gettext+y}
4316 withval
=$with_gettext;
4320 # Check whether --with-gettextpo was given.
4321 if test ${with_gettextpo+y}
4323 withval
=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h
=no
; fi
4327 # Check whether --with-gphoto was given.
4328 if test ${with_gphoto+y}
4330 withval
=$with_gphoto;
4334 # Check whether --with-gnutls was given.
4335 if test ${with_gnutls+y}
4337 withval
=$with_gnutls;
4341 # Check whether --with-gssapi was given.
4342 if test ${with_gssapi+y}
4344 withval
=$with_gssapi;
4348 # Check whether --with-gstreamer was given.
4349 if test ${with_gstreamer+y}
4351 withval
=$with_gstreamer;
4355 # Check whether --with-inotify was given.
4356 if test ${with_inotify+y}
4358 withval
=$with_inotify;
4362 # Check whether --with-krb5 was given.
4363 if test ${with_krb5+y}
4369 # Check whether --with-mingw was given.
4370 if test ${with_mingw+y}
4372 withval
=$with_mingw;
4376 # Check whether --with-netapi was given.
4377 if test ${with_netapi+y}
4379 withval
=$with_netapi;
4383 # Check whether --with-odbc was given.
4384 if test ${with_odbc+y}
4390 # Check whether --with-opencl was given.
4391 if test ${with_opencl+y}
4393 withval
=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h
=no
; ac_cv_header_OpenCL_opencl_h
=no
; fi
4397 # Check whether --with-opengl was given.
4398 if test ${with_opengl+y}
4400 withval
=$with_opengl;
4404 # Check whether --with-osmesa was given.
4405 if test ${with_osmesa+y}
4407 withval
=$with_osmesa;
4411 # Check whether --with-oss was given.
4412 if test ${with_oss+y}
4418 # Check whether --with-pcap was given.
4419 if test ${with_pcap+y}
4421 withval
=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h
=no
; fi
4425 # Check whether --with-pcsclite was given.
4426 if test ${with_pcsclite+y}
4428 withval
=$with_pcsclite;
4432 # Check whether --with-pthread was given.
4433 if test ${with_pthread+y}
4435 withval
=$with_pthread;
4439 # Check whether --with-pulse was given.
4440 if test ${with_pulse+y}
4442 withval
=$with_pulse;
4446 # Check whether --with-sane was given.
4447 if test ${with_sane+y}
4453 # Check whether --with-sdl was given.
4454 if test ${with_sdl+y}
4460 # Check whether --with-udev was given.
4461 if test ${with_udev+y}
4467 # Check whether --with-unwind was given.
4468 if test ${with_unwind+y}
4470 withval
=$with_unwind;
4474 # Check whether --with-usb was given.
4475 if test ${with_usb+y}
4481 # Check whether --with-v4l2 was given.
4482 if test ${with_v4l2+y}
4488 # Check whether --with-vulkan was given.
4489 if test ${with_vulkan+y}
4491 withval
=$with_vulkan;
4495 # Check whether --with-wayland was given.
4496 if test ${with_wayland+y}
4498 withval
=$with_wayland;
4502 # Check whether --with-xcomposite was given.
4503 if test ${with_xcomposite+y}
4505 withval
=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h
=no
; fi
4509 # Check whether --with-xcursor was given.
4510 if test ${with_xcursor+y}
4512 withval
=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h
=no
; fi
4516 # Check whether --with-xfixes was given.
4517 if test ${with_xfixes+y}
4519 withval
=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h
=no
; fi
4523 # Check whether --with-xinerama was given.
4524 if test ${with_xinerama+y}
4526 withval
=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h
=no
; fi
4530 # Check whether --with-xinput was given.
4531 if test ${with_xinput+y}
4533 withval
=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h
=no
; fi
4537 # Check whether --with-xinput2 was given.
4538 if test ${with_xinput2+y}
4540 withval
=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h
=no
; fi
4544 # Check whether --with-xrandr was given.
4545 if test ${with_xrandr+y}
4547 withval
=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h
=no
; fi
4551 # Check whether --with-xrender was given.
4552 if test ${with_xrender+y}
4554 withval
=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h
=no
; fi
4558 # Check whether --with-xshape was given.
4559 if test ${with_xshape+y}
4561 withval
=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h
=no
; fi
4565 # Check whether --with-xshm was given.
4566 if test ${with_xshm+y}
4568 withval
=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h
=no
; fi
4572 # Check whether --with-xxf86vm was given.
4573 if test ${with_xxf86vm+y}
4575 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
4580 # Check whether --with-system-dllpath was given.
4581 if test ${with_system_dllpath+y}
4583 withval
=$with_system_dllpath; system_dllpath
=$withval
4588 # Check whether --with-wine-tools was given.
4589 if test ${with_wine_tools+y}
4591 withval
=$with_wine_tools;
4595 # Check whether --with-wine64 was given.
4596 if test ${with_wine64+y}
4598 withval
=$with_wine64;
4605 # Make sure we can run config.sub.
4606 $SHELL "${ac_aux_dir}config.sub" sun4
>/dev
/null
2>&1 ||
4607 as_fn_error $?
"cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
4609 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4610 printf %s
"checking build system type... " >&6; }
4611 if test ${ac_cv_build+y}
4613 printf %s
"(cached) " >&6
4615 ac_build_alias
=$build_alias
4616 test "x$ac_build_alias" = x
&&
4617 ac_build_alias
=`$SHELL "${ac_aux_dir}config.guess"`
4618 test "x$ac_build_alias" = x
&&
4619 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
4620 ac_cv_build
=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
4621 as_fn_error $?
"$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
4624 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4625 printf "%s\n" "$ac_cv_build" >&6; }
4626 case $ac_cv_build in
4628 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
4631 ac_save_IFS
=$IFS; IFS
='-'
4637 # Remember, the first character of IFS is used to create $*,
4638 # except with old shells:
4641 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
4644 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4645 printf %s
"checking host system type... " >&6; }
4646 if test ${ac_cv_host+y}
4648 printf %s
"(cached) " >&6
4650 if test "x$host_alias" = x
; then
4651 ac_cv_host
=$ac_cv_build
4653 ac_cv_host
=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
4654 as_fn_error $?
"$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
4658 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4659 printf "%s\n" "$ac_cv_host" >&6; }
4662 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
4665 ac_save_IFS
=$IFS; IFS
='-'
4671 # Remember, the first character of IFS is used to create $*,
4672 # except with old shells:
4675 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
4679 dlldir
=\
${libdir}/wine
4681 fontdir
=\
${datadir}/wine
/fonts
4683 nlsdir
=\
${datadir}/wine
/nls
4688 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4689 printf %s
"checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4691 ac_make
=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4692 if eval test \
${ac_cv_prog_make_${ac_make}_set+y}
4694 printf %s
"(cached) " >&6
4696 cat >conftest.
make <<\_ACEOF
4699 @
echo '@@@%%%=$(MAKE)=@@@%%%'
4701 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4702 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4704 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
4706 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
4710 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
4711 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4712 printf "%s\n" "yes" >&6; }
4715 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4716 printf "%s\n" "no" >&6; }
4717 SET_MAKE
="MAKE=${MAKE-make}"
4730 ac_cpp
='$CPP $CPPFLAGS'
4731 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4732 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4733 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4734 if test -n "$ac_tool_prefix"; then
4735 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4736 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
4737 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4738 printf %s
"checking for $ac_word... " >&6; }
4739 if test ${ac_cv_prog_CC+y}
4741 printf %s
"(cached) " >&6
4743 if test -n "$CC"; then
4744 ac_cv_prog_CC
="$CC" # Let the user override the test.
4746 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4750 case $as_dir in #(((
4753 *) as_dir
=$as_dir/ ;;
4755 for ac_exec_ext
in '' $ac_executable_extensions; do
4756 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
4757 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
4758 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4768 if test -n "$CC"; then
4769 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4770 printf "%s\n" "$CC" >&6; }
4772 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4773 printf "%s\n" "no" >&6; }
4778 if test -z "$ac_cv_prog_CC"; then
4780 # Extract the first word of "gcc", so it can be a program name with args.
4781 set dummy gcc
; ac_word
=$2
4782 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4783 printf %s
"checking for $ac_word... " >&6; }
4784 if test ${ac_cv_prog_ac_ct_CC+y}
4786 printf %s
"(cached) " >&6
4788 if test -n "$ac_ct_CC"; then
4789 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4791 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4795 case $as_dir in #(((
4798 *) as_dir
=$as_dir/ ;;
4800 for ac_exec_ext
in '' $ac_executable_extensions; do
4801 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
4802 ac_cv_prog_ac_ct_CC
="gcc"
4803 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4812 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4813 if test -n "$ac_ct_CC"; then
4814 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4815 printf "%s\n" "$ac_ct_CC" >&6; }
4817 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4818 printf "%s\n" "no" >&6; }
4821 if test "x$ac_ct_CC" = x
; then
4824 case $cross_compiling:$ac_tool_warned in
4826 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4827 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4828 ac_tool_warned
=yes ;;
4836 if test -z "$CC"; then
4837 if test -n "$ac_tool_prefix"; then
4838 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4839 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
4840 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4841 printf %s
"checking for $ac_word... " >&6; }
4842 if test ${ac_cv_prog_CC+y}
4844 printf %s
"(cached) " >&6
4846 if test -n "$CC"; then
4847 ac_cv_prog_CC
="$CC" # Let the user override the test.
4849 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4853 case $as_dir in #(((
4856 *) as_dir
=$as_dir/ ;;
4858 for ac_exec_ext
in '' $ac_executable_extensions; do
4859 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
4860 ac_cv_prog_CC
="${ac_tool_prefix}cc"
4861 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4871 if test -n "$CC"; then
4872 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4873 printf "%s\n" "$CC" >&6; }
4875 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4876 printf "%s\n" "no" >&6; }
4882 if test -z "$CC"; then
4883 # Extract the first word of "cc", so it can be a program name with args.
4884 set dummy cc
; ac_word
=$2
4885 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4886 printf %s
"checking for $ac_word... " >&6; }
4887 if test ${ac_cv_prog_CC+y}
4889 printf %s
"(cached) " >&6
4891 if test -n "$CC"; then
4892 ac_cv_prog_CC
="$CC" # Let the user override the test.
4895 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4899 case $as_dir in #(((
4902 *) as_dir
=$as_dir/ ;;
4904 for ac_exec_ext
in '' $ac_executable_extensions; do
4905 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
4906 if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4907 ac_prog_rejected
=yes
4911 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4918 if test $ac_prog_rejected = yes; then
4919 # We found a bogon in the path, so make sure we never use it.
4920 set dummy
$ac_cv_prog_CC
4922 if test $# != 0; then
4923 # We chose a different compiler from the bogus one.
4924 # However, it has the same basename, so the bogon will be chosen
4925 # first if we set CC to just the basename; use the full file name.
4927 ac_cv_prog_CC
="$as_dir$ac_word${1+' '}$@"
4933 if test -n "$CC"; then
4934 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4935 printf "%s\n" "$CC" >&6; }
4937 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4938 printf "%s\n" "no" >&6; }
4943 if test -z "$CC"; then
4944 if test -n "$ac_tool_prefix"; then
4945 for ac_prog
in cl.exe
4947 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4948 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4949 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4950 printf %s
"checking for $ac_word... " >&6; }
4951 if test ${ac_cv_prog_CC+y}
4953 printf %s
"(cached) " >&6
4955 if test -n "$CC"; then
4956 ac_cv_prog_CC
="$CC" # Let the user override the test.
4958 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4962 case $as_dir in #(((
4965 *) as_dir
=$as_dir/ ;;
4967 for ac_exec_ext
in '' $ac_executable_extensions; do
4968 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
4969 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
4970 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4980 if test -n "$CC"; then
4981 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4982 printf "%s\n" "$CC" >&6; }
4984 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4985 printf "%s\n" "no" >&6; }
4989 test -n "$CC" && break
4992 if test -z "$CC"; then
4994 for ac_prog
in cl.exe
4996 # Extract the first word of "$ac_prog", so it can be a program name with args.
4997 set dummy
$ac_prog; ac_word
=$2
4998 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4999 printf %s
"checking for $ac_word... " >&6; }
5000 if test ${ac_cv_prog_ac_ct_CC+y}
5002 printf %s
"(cached) " >&6
5004 if test -n "$ac_ct_CC"; then
5005 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
5007 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5011 case $as_dir in #(((
5014 *) as_dir
=$as_dir/ ;;
5016 for ac_exec_ext
in '' $ac_executable_extensions; do
5017 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
5018 ac_cv_prog_ac_ct_CC
="$ac_prog"
5019 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5028 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
5029 if test -n "$ac_ct_CC"; then
5030 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5031 printf "%s\n" "$ac_ct_CC" >&6; }
5033 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5034 printf "%s\n" "no" >&6; }
5038 test -n "$ac_ct_CC" && break
5041 if test "x$ac_ct_CC" = x
; then
5044 case $cross_compiling:$ac_tool_warned in
5046 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5047 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5048 ac_tool_warned
=yes ;;
5055 if test -z "$CC"; then
5056 if test -n "$ac_tool_prefix"; then
5057 # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
5058 set dummy
${ac_tool_prefix}clang
; ac_word
=$2
5059 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5060 printf %s
"checking for $ac_word... " >&6; }
5061 if test ${ac_cv_prog_CC+y}
5063 printf %s
"(cached) " >&6
5065 if test -n "$CC"; then
5066 ac_cv_prog_CC
="$CC" # Let the user override the test.
5068 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5072 case $as_dir in #(((
5075 *) as_dir
=$as_dir/ ;;
5077 for ac_exec_ext
in '' $ac_executable_extensions; do
5078 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
5079 ac_cv_prog_CC
="${ac_tool_prefix}clang"
5080 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5090 if test -n "$CC"; then
5091 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5092 printf "%s\n" "$CC" >&6; }
5094 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5095 printf "%s\n" "no" >&6; }
5100 if test -z "$ac_cv_prog_CC"; then
5102 # Extract the first word of "clang", so it can be a program name with args.
5103 set dummy clang
; ac_word
=$2
5104 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5105 printf %s
"checking for $ac_word... " >&6; }
5106 if test ${ac_cv_prog_ac_ct_CC+y}
5108 printf %s
"(cached) " >&6
5110 if test -n "$ac_ct_CC"; then
5111 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
5113 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5117 case $as_dir in #(((
5120 *) as_dir
=$as_dir/ ;;
5122 for ac_exec_ext
in '' $ac_executable_extensions; do
5123 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
5124 ac_cv_prog_ac_ct_CC
="clang"
5125 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5134 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
5135 if test -n "$ac_ct_CC"; then
5136 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5137 printf "%s\n" "$ac_ct_CC" >&6; }
5139 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5140 printf "%s\n" "no" >&6; }
5143 if test "x$ac_ct_CC" = x
; then
5146 case $cross_compiling:$ac_tool_warned in
5148 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5149 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5150 ac_tool_warned
=yes ;;
5161 test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5162 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5163 as_fn_error $?
"no acceptable C compiler found in \$PATH
5164 See \`config.log' for more details" "$LINENO" 5; }
5166 # Provide some information about the compiler.
5167 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
5170 for ac_option
in --version -v -V -qversion -version; do
5171 { { ac_try
="$ac_compiler $ac_option >&5"
5173 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5174 *) ac_try_echo=$ac_try;;
5176 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5177 printf "%s\n" "$ac_try_echo"; } >&5
5178 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5180 if test -s conftest.err; then
5182 ... rest of stderr output deleted ...
5183 10q' conftest.err >conftest.er1
5184 cat conftest.er1 >&5
5186 rm -f conftest.er1 conftest.err
5187 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5188 test $ac_status = 0; }
5191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5192 /* end confdefs.h. */
5202 ac_clean_files_save=$ac_clean_files
5203 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
5204 # Try to create an executable without -o first, disregard a.out.
5205 # It will help us diagnose broken compilers, and finding out an intuition
5207 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
5208 printf %s "checking whether the C compiler works... " >&6; }
5209 ac_link_default=`printf "%s\n" "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
5211 # The possible output files:
5212 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
5215 for ac_file in $ac_files
5218 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
5219 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
5224 if { { ac_try="$ac_link_default"
5226 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5227 *) ac_try_echo
=$ac_try;;
5229 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5230 printf "%s\n" "$ac_try_echo"; } >&5
5231 (eval "$ac_link_default") 2>&5
5233 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5234 test $ac_status = 0; }
5236 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
5237 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
5238 # in a Makefile. We should not override ac_cv_exeext if it was cached,
5239 # so that the user can short-circuit this test for compilers unknown to
5241 for ac_file
in $ac_files ''
5243 test -f "$ac_file" ||
continue
5245 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
5248 # We found the default executable, but exeext='' is most
5252 if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no
;
5254 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
5256 # We set ac_cv_exeext here because the later test for it is not
5257 # safe: cross compilers may not add the suffix if given an `-o'
5258 # argument, so we may need to know it at that point already.
5259 # Even if this section looks crufty: it has the advantage of
5266 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
5271 if test -z "$ac_file"
5273 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5274 printf "%s\n" "no" >&6; }
5275 printf "%s\n" "$as_me: failed program was:" >&5
5276 sed 's/^/| /' conftest.
$ac_ext >&5
5278 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5279 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5280 as_fn_error
77 "C compiler cannot create executables
5281 See \`config.log' for more details" "$LINENO" 5; }
5283 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5284 printf "%s\n" "yes" >&6; }
5286 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
5287 printf %s
"checking for C compiler default output file name... " >&6; }
5288 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
5289 printf "%s\n" "$ac_file" >&6; }
5290 ac_exeext
=$ac_cv_exeext
5292 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
5293 ac_clean_files
=$ac_clean_files_save
5294 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
5295 printf %s
"checking for suffix of executables... " >&6; }
5296 if { { ac_try
="$ac_link"
5298 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5299 *) ac_try_echo=$ac_try;;
5301 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5302 printf "%s\n" "$ac_try_echo"; } >&5
5303 (eval "$ac_link") 2>&5
5305 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5306 test $ac_status = 0; }
5308 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
5309 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
5310 # work properly (i.e., refer to `conftest.exe'), while it won't with
5312 for ac_file
in conftest.exe conftest conftest.
*; do
5313 test -f "$ac_file" ||
continue
5315 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
5316 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
5322 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5323 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5324 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
5325 See \`config.log' for more details" "$LINENO" 5; }
5327 rm -f conftest conftest
$ac_cv_exeext
5328 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
5329 printf "%s\n" "$ac_cv_exeext" >&6; }
5331 rm -f conftest.
$ac_ext
5332 EXEEXT
=$ac_cv_exeext
5334 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5335 /* end confdefs.h. */
5340 FILE *f = fopen ("conftest.out", "w");
5341 return ferror (f) || fclose (f) != 0;
5347 ac_clean_files
="$ac_clean_files conftest.out"
5348 # Check that the compiler produces executables we can run. If not, either
5349 # the compiler is broken, or we cross compile.
5350 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
5351 printf %s
"checking whether we are cross compiling... " >&6; }
5352 if test "$cross_compiling" != yes; then
5353 { { ac_try
="$ac_link"
5355 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5356 *) ac_try_echo=$ac_try;;
5358 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5359 printf "%s\n" "$ac_try_echo"; } >&5
5360 (eval "$ac_link") 2>&5
5362 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5363 test $ac_status = 0; }
5364 if { ac_try='./conftest$ac_cv_exeext'
5365 { { case "(($ac_try" in
5366 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5367 *) ac_try_echo
=$ac_try;;
5369 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5370 printf "%s\n" "$ac_try_echo"; } >&5
5371 (eval "$ac_try") 2>&5
5373 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5374 test $ac_status = 0; }; }; then
5377 if test "$cross_compiling" = maybe
; then
5380 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5381 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5382 as_fn_error
77 "cannot run C compiled programs.
5383 If you meant to cross compile, use \`--host'.
5384 See \`config.log' for more details" "$LINENO" 5; }
5388 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
5389 printf "%s\n" "$cross_compiling" >&6; }
5391 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
5392 ac_clean_files
=$ac_clean_files_save
5393 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
5394 printf %s
"checking for suffix of object files... " >&6; }
5395 if test ${ac_cv_objext+y}
5397 printf %s
"(cached) " >&6
5399 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5400 /* end confdefs.h. */
5410 rm -f conftest.o conftest.obj
5411 if { { ac_try
="$ac_compile"
5413 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5414 *) ac_try_echo=$ac_try;;
5416 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5417 printf "%s\n" "$ac_try_echo"; } >&5
5418 (eval "$ac_compile") 2>&5
5420 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5421 test $ac_status = 0; }
5423 for ac_file in conftest.o conftest.obj conftest.*; do
5424 test -f "$ac_file" || continue;
5426 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
5427 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
5432 printf "%s\n" "$as_me: failed program was:" >&5
5433 sed 's/^/| /' conftest.$ac_ext >&5
5435 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5436 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5437 as_fn_error $? "cannot compute suffix of object files
: cannot compile
5438 See \
`config.log' for more details" "$LINENO" 5; }
5440 rm -f conftest.$ac_cv_objext conftest.$ac_ext
5442 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
5443 printf "%s\n" "$ac_cv_objext" >&6; }
5444 OBJEXT=$ac_cv_objext
5446 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
5447 printf %s "checking whether the compiler supports GNU C... " >&6; }
5448 if test ${ac_cv_c_compiler_gnu+y}
5450 printf %s "(cached) " >&6
5452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5453 /* end confdefs.h. */
5466 if ac_fn_c_try_compile "$LINENO"
5472 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5473 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5476 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5477 printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
5478 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5480 if test $ac_compiler_gnu = yes; then
5485 ac_test_CFLAGS=${CFLAGS+y}
5486 ac_save_CFLAGS=$CFLAGS
5487 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5488 printf %s "checking whether $CC accepts -g... " >&6; }
5489 if test ${ac_cv_prog_cc_g+y}
5491 printf %s "(cached) " >&6
5493 ac_save_c_werror_flag=$ac_c_werror_flag
5494 ac_c_werror_flag=yes
5497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5498 /* end confdefs.h. */
5508 if ac_fn_c_try_compile "$LINENO"
5513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5514 /* end confdefs.h. */
5524 if ac_fn_c_try_compile "$LINENO"
5528 ac_c_werror_flag=$ac_save_c_werror_flag
5530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5531 /* end confdefs.h. */
5541 if ac_fn_c_try_compile "$LINENO"
5545 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5547 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5549 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5550 ac_c_werror_flag=$ac_save_c_werror_flag
5552 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5553 printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
5554 if test $ac_test_CFLAGS; then
5555 CFLAGS=$ac_save_CFLAGS
5556 elif test $ac_cv_prog_cc_g = yes; then
5557 if test "$GCC" = yes; then
5563 if test "$GCC" = yes; then
5570 if test x$ac_prog_cc_stdc = xno
5572 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
5573 printf %s "checking for $CC option to enable C11 features... " >&6; }
5574 if test ${ac_cv_prog_cc_c11+y}
5576 printf %s "(cached) " >&6
5578 ac_cv_prog_cc_c11=no
5580 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5581 /* end confdefs.h. */
5582 $ac_c_conftest_c11_program
5584 for ac_arg in '' -std=gnu11
5586 CC="$ac_save_CC $ac_arg"
5587 if ac_fn_c_try_compile "$LINENO"
5589 ac_cv_prog_cc_c11=$ac_arg
5591 rm -f core conftest.err conftest.$ac_objext conftest.beam
5592 test "x$ac_cv_prog_cc_c11" != "xno" && break
5594 rm -f conftest.$ac_ext
5598 if test "x$ac_cv_prog_cc_c11" = xno
5600 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5601 printf "%s\n" "unsupported" >&6; }
5603 if test "x$ac_cv_prog_cc_c11" = x
5605 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5606 printf "%s\n" "none needed" >&6; }
5608 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
5609 printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
5610 CC="$CC $ac_cv_prog_cc_c11"
5612 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
5616 if test x$ac_prog_cc_stdc = xno
5618 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
5619 printf %s "checking for $CC option to enable C99 features... " >&6; }
5620 if test ${ac_cv_prog_cc_c99+y}
5622 printf %s "(cached) " >&6
5624 ac_cv_prog_cc_c99=no
5626 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5627 /* end confdefs.h. */
5628 $ac_c_conftest_c99_program
5630 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
5632 CC="$ac_save_CC $ac_arg"
5633 if ac_fn_c_try_compile "$LINENO"
5635 ac_cv_prog_cc_c99=$ac_arg
5637 rm -f core conftest.err conftest.$ac_objext conftest.beam
5638 test "x$ac_cv_prog_cc_c99" != "xno" && break
5640 rm -f conftest.$ac_ext
5644 if test "x$ac_cv_prog_cc_c99" = xno
5646 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5647 printf "%s\n" "unsupported" >&6; }
5649 if test "x$ac_cv_prog_cc_c99" = x
5651 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5652 printf "%s\n" "none needed" >&6; }
5654 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
5655 printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
5656 CC="$CC $ac_cv_prog_cc_c99"
5658 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
5662 if test x$ac_prog_cc_stdc = xno
5664 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
5665 printf %s "checking for $CC option to enable C89 features... " >&6; }
5666 if test ${ac_cv_prog_cc_c89+y}
5668 printf %s "(cached) " >&6
5670 ac_cv_prog_cc_c89=no
5672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5673 /* end confdefs.h. */
5674 $ac_c_conftest_c89_program
5676 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5678 CC="$ac_save_CC $ac_arg"
5679 if ac_fn_c_try_compile "$LINENO"
5681 ac_cv_prog_cc_c89=$ac_arg
5683 rm -f core conftest.err conftest.$ac_objext conftest.beam
5684 test "x$ac_cv_prog_cc_c89" != "xno" && break
5686 rm -f conftest.$ac_ext
5690 if test "x$ac_cv_prog_cc_c89" = xno
5692 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5693 printf "%s\n" "unsupported" >&6; }
5695 if test "x$ac_cv_prog_cc_c89" = x
5697 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5698 printf "%s\n" "none needed" >&6; }
5700 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5701 printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
5702 CC="$CC $ac_cv_prog_cc_c89"
5704 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
5710 ac_cpp='$CPP $CPPFLAGS'
5711 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5712 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5713 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5722 ac_cpp='$CXXCPP $CPPFLAGS'
5723 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5724 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5725 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5726 if test -z "$CXX"; then
5727 if test -n "$CCC"; then
5730 if test -n "$ac_tool_prefix"; then
5731 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC clang++
5733 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5734 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5735 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5736 printf %s "checking for $ac_word... " >&6; }
5737 if test ${ac_cv_prog_CXX+y}
5739 printf %s "(cached) " >&6
5741 if test -n "$CXX"; then
5742 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5744 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5748 case $as_dir in #(((
5751 *) as_dir=$as_dir/ ;;
5753 for ac_exec_ext in '' $ac_executable_extensions; do
5754 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5755 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5756 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5766 if test -n "$CXX"; then
5767 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5768 printf "%s\n" "$CXX" >&6; }
5770 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5771 printf "%s\n" "no" >&6; }
5775 test -n "$CXX" && break
5778 if test -z "$CXX"; then
5780 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC clang++
5782 # Extract the first word of "$ac_prog", so it can be a program name with args.
5783 set dummy $ac_prog; ac_word=$2
5784 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5785 printf %s "checking for $ac_word... " >&6; }
5786 if test ${ac_cv_prog_ac_ct_CXX+y}
5788 printf %s "(cached) " >&6
5790 if test -n "$ac_ct_CXX"; then
5791 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5793 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5797 case $as_dir in #(((
5800 *) as_dir=$as_dir/ ;;
5802 for ac_exec_ext in '' $ac_executable_extensions; do
5803 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5804 ac_cv_prog_ac_ct_CXX="$ac_prog"
5805 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5814 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5815 if test -n "$ac_ct_CXX"; then
5816 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5817 printf "%s\n" "$ac_ct_CXX" >&6; }
5819 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5820 printf "%s\n" "no" >&6; }
5824 test -n "$ac_ct_CXX" && break
5827 if test "x$ac_ct_CXX" = x; then
5830 case $cross_compiling:$ac_tool_warned in
5832 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5833 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5834 ac_tool_warned=yes ;;
5842 # Provide some information about the compiler.
5843 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5846 for ac_option in --version -v -V -qversion; do
5847 { { ac_try="$ac_compiler $ac_option >&5"
5849 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5850 *) ac_try_echo
=$ac_try;;
5852 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5853 printf "%s\n" "$ac_try_echo"; } >&5
5854 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5856 if test -s conftest.err
; then
5858 ... rest of stderr output deleted ...
5859 10q' conftest.err
>conftest.er1
5860 cat conftest.er1
>&5
5862 rm -f conftest.er1 conftest.err
5863 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5864 test $ac_status = 0; }
5867 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C++" >&5
5868 printf %s
"checking whether the compiler supports GNU C++... " >&6; }
5869 if test ${ac_cv_cxx_compiler_gnu+y}
5871 printf %s
"(cached) " >&6
5873 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5874 /* end confdefs.h. */
5887 if ac_fn_cxx_try_compile
"$LINENO"
5893 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5894 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
5897 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5898 printf "%s\n" "$ac_cv_cxx_compiler_gnu" >&6; }
5899 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5901 if test $ac_compiler_gnu = yes; then
5906 ac_test_CXXFLAGS
=${CXXFLAGS+y}
5907 ac_save_CXXFLAGS
=$CXXFLAGS
5908 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5909 printf %s
"checking whether $CXX accepts -g... " >&6; }
5910 if test ${ac_cv_prog_cxx_g+y}
5912 printf %s
"(cached) " >&6
5914 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
5915 ac_cxx_werror_flag
=yes
5918 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5919 /* end confdefs.h. */
5929 if ac_fn_cxx_try_compile
"$LINENO"
5931 ac_cv_prog_cxx_g
=yes
5934 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5935 /* end confdefs.h. */
5945 if ac_fn_cxx_try_compile
"$LINENO"
5949 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
5951 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5952 /* end confdefs.h. */
5962 if ac_fn_cxx_try_compile
"$LINENO"
5964 ac_cv_prog_cxx_g
=yes
5966 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5968 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5970 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5971 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
5973 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5974 printf "%s\n" "$ac_cv_prog_cxx_g" >&6; }
5975 if test $ac_test_CXXFLAGS; then
5976 CXXFLAGS
=$ac_save_CXXFLAGS
5977 elif test $ac_cv_prog_cxx_g = yes; then
5978 if test "$GXX" = yes; then
5984 if test "$GXX" = yes; then
5990 ac_prog_cxx_stdcxx
=no
5991 if test x
$ac_prog_cxx_stdcxx = xno
5993 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++11 features" >&5
5994 printf %s
"checking for $CXX option to enable C++11 features... " >&6; }
5995 if test ${ac_cv_prog_cxx_cxx11+y}
5997 printf %s
"(cached) " >&6
5999 ac_cv_prog_cxx_cxx11
=no
6001 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6002 /* end confdefs.h. */
6003 $ac_cxx_conftest_cxx11_program
6005 for ac_arg
in '' -std=gnu
++11 -std=gnu
++0x
-std=c
++11 -std=c
++0x
-qlanglvl=extended0x
-AA
6007 CXX
="$ac_save_CXX $ac_arg"
6008 if ac_fn_cxx_try_compile
"$LINENO"
6010 ac_cv_prog_cxx_cxx11
=$ac_arg
6012 rm -f core conftest.err conftest.
$ac_objext conftest.beam
6013 test "x$ac_cv_prog_cxx_cxx11" != "xno" && break
6015 rm -f conftest.
$ac_ext
6019 if test "x$ac_cv_prog_cxx_cxx11" = xno
6021 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
6022 printf "%s\n" "unsupported" >&6; }
6024 if test "x$ac_cv_prog_cxx_cxx11" = x
6026 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
6027 printf "%s\n" "none needed" >&6; }
6029 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx11" >&5
6030 printf "%s\n" "$ac_cv_prog_cxx_cxx11" >&6; }
6031 CXX
="$CXX $ac_cv_prog_cxx_cxx11"
6033 ac_cv_prog_cxx_stdcxx
=$ac_cv_prog_cxx_cxx11
6034 ac_prog_cxx_stdcxx
=cxx11
6037 if test x
$ac_prog_cxx_stdcxx = xno
6039 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++98 features" >&5
6040 printf %s
"checking for $CXX option to enable C++98 features... " >&6; }
6041 if test ${ac_cv_prog_cxx_cxx98+y}
6043 printf %s
"(cached) " >&6
6045 ac_cv_prog_cxx_cxx98
=no
6047 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6048 /* end confdefs.h. */
6049 $ac_cxx_conftest_cxx98_program
6051 for ac_arg
in '' -std=gnu
++98 -std=c
++98 -qlanglvl=extended
-AA
6053 CXX
="$ac_save_CXX $ac_arg"
6054 if ac_fn_cxx_try_compile
"$LINENO"
6056 ac_cv_prog_cxx_cxx98
=$ac_arg
6058 rm -f core conftest.err conftest.
$ac_objext conftest.beam
6059 test "x$ac_cv_prog_cxx_cxx98" != "xno" && break
6061 rm -f conftest.
$ac_ext
6065 if test "x$ac_cv_prog_cxx_cxx98" = xno
6067 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
6068 printf "%s\n" "unsupported" >&6; }
6070 if test "x$ac_cv_prog_cxx_cxx98" = x
6072 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
6073 printf "%s\n" "none needed" >&6; }
6075 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx98" >&5
6076 printf "%s\n" "$ac_cv_prog_cxx_cxx98" >&6; }
6077 CXX
="$CXX $ac_cv_prog_cxx_cxx98"
6079 ac_cv_prog_cxx_stdcxx
=$ac_cv_prog_cxx_cxx98
6080 ac_prog_cxx_stdcxx
=cxx98
6085 ac_cpp
='$CPP $CPPFLAGS'
6086 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6087 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6088 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6090 if test -n "$ac_tool_prefix"; then
6091 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
6092 set dummy
${ac_tool_prefix}cpp
; ac_word
=$2
6093 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6094 printf %s
"checking for $ac_word... " >&6; }
6095 if test ${ac_cv_prog_CPPBIN+y}
6097 printf %s
"(cached) " >&6
6099 if test -n "$CPPBIN"; then
6100 ac_cv_prog_CPPBIN
="$CPPBIN" # Let the user override the test.
6102 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6106 case $as_dir in #(((
6109 *) as_dir
=$as_dir/ ;;
6111 for ac_exec_ext
in '' $ac_executable_extensions; do
6112 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6113 ac_cv_prog_CPPBIN
="${ac_tool_prefix}cpp"
6114 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6123 CPPBIN
=$ac_cv_prog_CPPBIN
6124 if test -n "$CPPBIN"; then
6125 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
6126 printf "%s\n" "$CPPBIN" >&6; }
6128 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6129 printf "%s\n" "no" >&6; }
6134 if test -z "$ac_cv_prog_CPPBIN"; then
6135 ac_ct_CPPBIN
=$CPPBIN
6136 # Extract the first word of "cpp", so it can be a program name with args.
6137 set dummy cpp
; ac_word
=$2
6138 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6139 printf %s
"checking for $ac_word... " >&6; }
6140 if test ${ac_cv_prog_ac_ct_CPPBIN+y}
6142 printf %s
"(cached) " >&6
6144 if test -n "$ac_ct_CPPBIN"; then
6145 ac_cv_prog_ac_ct_CPPBIN
="$ac_ct_CPPBIN" # Let the user override the test.
6147 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6151 case $as_dir in #(((
6154 *) as_dir
=$as_dir/ ;;
6156 for ac_exec_ext
in '' $ac_executable_extensions; do
6157 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6158 ac_cv_prog_ac_ct_CPPBIN
="cpp"
6159 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6168 ac_ct_CPPBIN
=$ac_cv_prog_ac_ct_CPPBIN
6169 if test -n "$ac_ct_CPPBIN"; then
6170 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
6171 printf "%s\n" "$ac_ct_CPPBIN" >&6; }
6173 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6174 printf "%s\n" "no" >&6; }
6177 if test "x$ac_ct_CPPBIN" = x
; then
6180 case $cross_compiling:$ac_tool_warned in
6182 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6183 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6184 ac_tool_warned
=yes ;;
6186 CPPBIN
=$ac_ct_CPPBIN
6189 CPPBIN
="$ac_cv_prog_CPPBIN"
6193 printf "%s\n" "#define EXEEXT \"$ac_exeext\"" >>confdefs.h
6195 if test -n "$ac_tool_prefix"; then
6196 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
6197 set dummy
${ac_tool_prefix}ld
; ac_word
=$2
6198 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6199 printf %s
"checking for $ac_word... " >&6; }
6200 if test ${ac_cv_prog_LD+y}
6202 printf %s
"(cached) " >&6
6204 if test -n "$LD"; then
6205 ac_cv_prog_LD
="$LD" # Let the user override the test.
6207 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6211 case $as_dir in #(((
6214 *) as_dir
=$as_dir/ ;;
6216 for ac_exec_ext
in '' $ac_executable_extensions; do
6217 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6218 ac_cv_prog_LD
="${ac_tool_prefix}ld"
6219 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6229 if test -n "$LD"; then
6230 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6231 printf "%s\n" "$LD" >&6; }
6233 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6234 printf "%s\n" "no" >&6; }
6239 if test -z "$ac_cv_prog_LD"; then
6241 # Extract the first word of "ld", so it can be a program name with args.
6242 set dummy ld
; ac_word
=$2
6243 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6244 printf %s
"checking for $ac_word... " >&6; }
6245 if test ${ac_cv_prog_ac_ct_LD+y}
6247 printf %s
"(cached) " >&6
6249 if test -n "$ac_ct_LD"; then
6250 ac_cv_prog_ac_ct_LD
="$ac_ct_LD" # Let the user override the test.
6252 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6256 case $as_dir in #(((
6259 *) as_dir
=$as_dir/ ;;
6261 for ac_exec_ext
in '' $ac_executable_extensions; do
6262 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6263 ac_cv_prog_ac_ct_LD
="ld"
6264 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6273 ac_ct_LD
=$ac_cv_prog_ac_ct_LD
6274 if test -n "$ac_ct_LD"; then
6275 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
6276 printf "%s\n" "$ac_ct_LD" >&6; }
6278 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6279 printf "%s\n" "no" >&6; }
6282 if test "x$ac_ct_LD" = x
; then
6285 case $cross_compiling:$ac_tool_warned in
6287 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6288 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6289 ac_tool_warned
=yes ;;
6300 with_fontconfig
=${with_fontconfig:-no}
6302 *-mingw32*|
*-cygwin*)
6303 enable_win16
=${enable_win16:-no}
6304 with_mingw
=${with_mingw:-no}
6311 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes" -a x
"$enable_archs" = x
6316 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
6317 printf %s
"checking whether $CC works... " >&6; }
6318 if test ${wine_cv_cc_m32+y}
6320 printf %s
"(cached) " >&6
6322 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6323 /* end confdefs.h. */
6333 if ac_fn_c_try_link
"$LINENO"
6339 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
6340 conftest
$ac_exeext conftest.
$ac_ext
6342 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_cc_m32" >&5
6343 printf "%s\n" "$wine_cv_cc_m32" >&6; }
6344 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
6346 notice_platform
="32-bit "
6347 TARGETFLAGS
="$TARGETFLAGS -m32"
6348 PKG_CONFIG_LIBDIR
=${PKG_CONFIG_LIBDIR:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib32/pkgconfig:/usr/lib/pkgconfig}
6349 export PKG_CONFIG_LIBDIR
6354 notice_platform
="64-bit "
6355 TARGETFLAGS
="$TARGETFLAGS -m64"
6359 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb-2" >&5
6360 printf %s
"checking whether $CC supports Thumb-2... " >&6; }
6361 if test ${wine_cv_thumb2+y}
6363 printf %s
"(cached) " >&6
6365 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6366 /* end confdefs.h. */
6371 asm(".syntax unified\n\t.thumb\n\tldm r0,{r0-r8}");
6376 if ac_fn_c_try_link
"$LINENO"
6382 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
6383 conftest
$ac_exeext conftest.
$ac_ext
6385 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_thumb2" >&5
6386 printf "%s\n" "$wine_cv_thumb2" >&6; }
6387 if test x
"$wine_cv_thumb2" = xyes
6389 CFLAGS
="$CFLAGS -mthumb"
6391 CFLAGS
="$CFLAGS -marm"
6393 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports floating point instructions" >&5
6394 printf %s
"checking whether $CC supports floating point instructions... " >&6; }
6395 if test ${wine_cv_float_abi+y}
6397 printf %s
"(cached) " >&6
6399 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6400 /* end confdefs.h. */
6405 asm("vmrs r2,fpscr");
6410 if ac_fn_c_try_link
"$LINENO"
6412 wine_cv_float_abi
=yes
6414 wine_cv_float_abi
=no
6416 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
6417 conftest
$ac_exeext conftest.
$ac_ext
6419 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_float_abi" >&5
6420 printf "%s\n" "$wine_cv_float_abi" >&6; }
6421 test $wine_cv_float_abi != no || as_fn_error $?
"The ARM target needs to support floating point instructions." "$LINENO" 5
6425 if test "x$enable_win64" = "xyes"
6427 test -z "$with_wine64" || as_fn_error $?
"--enable-win64 and --with-wine64 are mutually exclusive.
6428 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
6432 cygwin
*|mingw32
*) toolsext
=".exe"
6440 aarch64
*) HOST_ARCH
=aarch64
;;
6441 arm
*) HOST_ARCH
=arm
;;
6442 i
[3456789]86*) HOST_ARCH
=i386
;;
6443 x86_64
) HOST_ARCH
=x86_64
;;
6447 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
6448 printf %s
"checking for the directory containing the Wine tools... " >&6; }
6449 if test ${wine_cv_toolsdir+y}
6451 printf %s
"(cached) " >&6
6453 wine_cv_toolsdir
="$with_wine_tools"
6454 if test -z "$with_wine_tools"; then
6455 if test "$cross_compiling" = "yes"; then
6456 as_fn_error $?
"you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
6457 elif test -n "$with_wine64"; then
6458 wine_cv_toolsdir
="$with_wine64"
6462 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
6463 printf "%s\n" "$wine_cv_toolsdir" >&6; }
6464 if test -z "$wine_cv_toolsdir"; then
6465 wine_makedep
=tools
/makedep
$toolsext
6466 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
6467 wine_makedep
=$wine_cv_toolsdir/tools
/makedep
$toolsext
6468 enable_tools
=${enable_tools:-no}
6469 test -f "$wine_makedep" || as_fn_error $?
"the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
6471 as_fn_error $?
"could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
6473 toolsdir
=$wine_cv_toolsdir
6475 MAKEDEP
=$wine_makedep
6477 RUNTESTFLAGS
="-q -P wine"
6479 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'"
6482 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
6484 TARGETFLAGS
="-b $host_alias $TARGETFLAGS"
6489 # Extract the first word of "$ac_prog", so it can be a program name with args.
6490 set dummy
$ac_prog; ac_word
=$2
6491 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6492 printf %s
"checking for $ac_word... " >&6; }
6493 if test ${ac_cv_prog_FLEX+y}
6495 printf %s
"(cached) " >&6
6497 if test -n "$FLEX"; then
6498 ac_cv_prog_FLEX
="$FLEX" # Let the user override the test.
6500 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6504 case $as_dir in #(((
6507 *) as_dir
=$as_dir/ ;;
6509 for ac_exec_ext
in '' $ac_executable_extensions; do
6510 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6511 ac_cv_prog_FLEX
="$ac_prog"
6512 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6521 FLEX
=$ac_cv_prog_FLEX
6522 if test -n "$FLEX"; then
6523 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
6524 printf "%s\n" "$FLEX" >&6; }
6526 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6527 printf "%s\n" "no" >&6; }
6531 test -n "$FLEX" && break
6533 test -n "$FLEX" || FLEX
="none"
6535 if test "$FLEX" = "none"
6537 as_fn_error $?
"no suitable flex found. Please install the 'flex' package." "$LINENO" 5
6539 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
6540 printf %s
"checking whether flex is recent enough... " >&6; }
6541 if test ${wine_cv_recent_flex+y}
6543 printf %s
"(cached) " >&6
6545 cat >conftest.l
<<EOF
6547 #include "prediluvian.h"
6551 if $FLEX -t conftest.l
>/dev
/null
2>&5
6553 wine_cv_recent_flex
=yes
6555 wine_cv_recent_flex
=no
6558 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_flex" >&5
6559 printf "%s\n" "$wine_cv_recent_flex" >&6; }
6560 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
6562 for ac_prog
in bison
6564 # Extract the first word of "$ac_prog", so it can be a program name with args.
6565 set dummy
$ac_prog; ac_word
=$2
6566 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6567 printf %s
"checking for $ac_word... " >&6; }
6568 if test ${ac_cv_prog_BISON+y}
6570 printf %s
"(cached) " >&6
6572 if test -n "$BISON"; then
6573 ac_cv_prog_BISON
="$BISON" # Let the user override the test.
6575 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6579 case $as_dir in #(((
6582 *) as_dir
=$as_dir/ ;;
6584 for ac_exec_ext
in '' $ac_executable_extensions; do
6585 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6586 ac_cv_prog_BISON
="$ac_prog"
6587 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6596 BISON
=$ac_cv_prog_BISON
6597 if test -n "$BISON"; then
6598 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
6599 printf "%s\n" "$BISON" >&6; }
6601 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6602 printf "%s\n" "no" >&6; }
6606 test -n "$BISON" && break
6608 test -n "$BISON" || BISON
="none"
6610 if test "$BISON" = "none"
6612 as_fn_error $?
"no suitable bison found. Please install the 'bison' package." "$LINENO" 5
6614 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether bison is recent enough" >&5
6615 printf %s
"checking whether bison is recent enough... " >&6; }
6616 if test ${wine_cv_recent_bison+y}
6618 printf %s
"(cached) " >&6
6620 cat >conftest.y
<<EOF
6621 %define parse.error verbose
6625 if $BISON conftest.y
>/dev
/null
2>&5
6627 wine_cv_recent_bison
=yes
6629 wine_cv_recent_bison
=no
6632 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_bison" >&5
6633 printf "%s\n" "$wine_cv_recent_bison" >&6; }
6634 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
6636 if test -n "$ac_tool_prefix"; then
6637 for ac_prog
in ar gar
6639 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6640 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
6641 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6642 printf %s
"checking for $ac_word... " >&6; }
6643 if test ${ac_cv_prog_AR+y}
6645 printf %s
"(cached) " >&6
6647 if test -n "$AR"; then
6648 ac_cv_prog_AR
="$AR" # Let the user override the test.
6650 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6654 case $as_dir in #(((
6657 *) as_dir
=$as_dir/ ;;
6659 for ac_exec_ext
in '' $ac_executable_extensions; do
6660 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6661 ac_cv_prog_AR
="$ac_tool_prefix$ac_prog"
6662 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6672 if test -n "$AR"; then
6673 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6674 printf "%s\n" "$AR" >&6; }
6676 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6677 printf "%s\n" "no" >&6; }
6681 test -n "$AR" && break
6684 if test -z "$AR"; then
6686 for ac_prog
in ar gar
6688 # Extract the first word of "$ac_prog", so it can be a program name with args.
6689 set dummy
$ac_prog; ac_word
=$2
6690 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6691 printf %s
"checking for $ac_word... " >&6; }
6692 if test ${ac_cv_prog_ac_ct_AR+y}
6694 printf %s
"(cached) " >&6
6696 if test -n "$ac_ct_AR"; then
6697 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
6699 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6703 case $as_dir in #(((
6706 *) as_dir
=$as_dir/ ;;
6708 for ac_exec_ext
in '' $ac_executable_extensions; do
6709 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6710 ac_cv_prog_ac_ct_AR
="$ac_prog"
6711 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6720 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
6721 if test -n "$ac_ct_AR"; then
6722 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6723 printf "%s\n" "$ac_ct_AR" >&6; }
6725 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6726 printf "%s\n" "no" >&6; }
6730 test -n "$ac_ct_AR" && break
6733 if test "x$ac_ct_AR" = x
; then
6736 case $cross_compiling:$ac_tool_warned in
6738 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6739 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6740 ac_tool_warned
=yes ;;
6746 if test -n "$ac_tool_prefix"; then
6747 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6748 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
6749 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6750 printf %s
"checking for $ac_word... " >&6; }
6751 if test ${ac_cv_prog_STRIP+y}
6753 printf %s
"(cached) " >&6
6755 if test -n "$STRIP"; then
6756 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
6758 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6762 case $as_dir in #(((
6765 *) as_dir
=$as_dir/ ;;
6767 for ac_exec_ext
in '' $ac_executable_extensions; do
6768 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6769 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
6770 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6779 STRIP
=$ac_cv_prog_STRIP
6780 if test -n "$STRIP"; then
6781 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6782 printf "%s\n" "$STRIP" >&6; }
6784 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6785 printf "%s\n" "no" >&6; }
6790 if test -z "$ac_cv_prog_STRIP"; then
6792 # Extract the first word of "strip", so it can be a program name with args.
6793 set dummy strip
; ac_word
=$2
6794 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6795 printf %s
"checking for $ac_word... " >&6; }
6796 if test ${ac_cv_prog_ac_ct_STRIP+y}
6798 printf %s
"(cached) " >&6
6800 if test -n "$ac_ct_STRIP"; then
6801 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
6803 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6807 case $as_dir in #(((
6810 *) as_dir
=$as_dir/ ;;
6812 for ac_exec_ext
in '' $ac_executable_extensions; do
6813 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6814 ac_cv_prog_ac_ct_STRIP
="strip"
6815 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6824 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
6825 if test -n "$ac_ct_STRIP"; then
6826 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6827 printf "%s\n" "$ac_ct_STRIP" >&6; }
6829 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6830 printf "%s\n" "no" >&6; }
6833 if test "x$ac_ct_STRIP" = x
; then
6836 case $cross_compiling:$ac_tool_warned in
6838 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6839 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6840 ac_tool_warned
=yes ;;
6845 STRIP
="$ac_cv_prog_STRIP"
6848 if test -n "$ac_tool_prefix"; then
6849 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6850 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
6851 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6852 printf %s
"checking for $ac_word... " >&6; }
6853 if test ${ac_cv_prog_RANLIB+y}
6855 printf %s
"(cached) " >&6
6857 if test -n "$RANLIB"; then
6858 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
6860 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6864 case $as_dir in #(((
6867 *) as_dir
=$as_dir/ ;;
6869 for ac_exec_ext
in '' $ac_executable_extensions; do
6870 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6871 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
6872 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6881 RANLIB
=$ac_cv_prog_RANLIB
6882 if test -n "$RANLIB"; then
6883 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6884 printf "%s\n" "$RANLIB" >&6; }
6886 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6887 printf "%s\n" "no" >&6; }
6892 if test -z "$ac_cv_prog_RANLIB"; then
6893 ac_ct_RANLIB
=$RANLIB
6894 # Extract the first word of "ranlib", so it can be a program name with args.
6895 set dummy ranlib
; ac_word
=$2
6896 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6897 printf %s
"checking for $ac_word... " >&6; }
6898 if test ${ac_cv_prog_ac_ct_RANLIB+y}
6900 printf %s
"(cached) " >&6
6902 if test -n "$ac_ct_RANLIB"; then
6903 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
6905 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6909 case $as_dir in #(((
6912 *) as_dir
=$as_dir/ ;;
6914 for ac_exec_ext
in '' $ac_executable_extensions; do
6915 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6916 ac_cv_prog_ac_ct_RANLIB
="ranlib"
6917 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6926 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
6927 if test -n "$ac_ct_RANLIB"; then
6928 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6929 printf "%s\n" "$ac_ct_RANLIB" >&6; }
6931 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6932 printf "%s\n" "no" >&6; }
6935 if test "x$ac_ct_RANLIB" = x
; then
6938 case $cross_compiling:$ac_tool_warned in
6940 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6941 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6942 ac_tool_warned
=yes ;;
6944 RANLIB
=$ac_ct_RANLIB
6947 RANLIB
="$ac_cv_prog_RANLIB"
6950 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6951 printf %s
"checking whether ln -s works... " >&6; }
6953 if test "$LN_S" = "ln -s"; then
6954 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6955 printf "%s\n" "yes" >&6; }
6957 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6958 printf "%s\n" "no, using $LN_S" >&6; }
6961 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
6962 printf %s
"checking for grep that handles long lines and -e... " >&6; }
6963 if test ${ac_cv_path_GREP+y}
6965 printf %s
"(cached) " >&6
6967 if test -z "$GREP"; then
6968 ac_path_GREP_found
=false
6969 # Loop through the user's path and test for each of PROGNAME-LIST
6970 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6971 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
6974 case $as_dir in #(((
6977 *) as_dir
=$as_dir/ ;;
6979 for ac_prog
in grep ggrep
6981 for ac_exec_ext
in '' $ac_executable_extensions; do
6982 ac_path_GREP
="$as_dir$ac_prog$ac_exec_ext"
6983 as_fn_executable_p
"$ac_path_GREP" ||
continue
6984 # Check for GNU ac_path_GREP and select it if it is found.
6985 # Check for GNU $ac_path_GREP
6986 case `"$ac_path_GREP" --version 2>&1` in
6988 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
6991 printf %s
0123456789 >"conftest.in"
6994 cat "conftest.in" "conftest.in" >"conftest.tmp"
6995 mv "conftest.tmp" "conftest.in"
6996 cp "conftest.in" "conftest.nl"
6997 printf "%s\n" 'GREP' >> "conftest.nl"
6998 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
6999 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
7000 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
7001 if test $ac_count -gt ${ac_path_GREP_max-0}; then
7002 # Best one so far, save it but keep looking for a better one
7003 ac_cv_path_GREP
="$ac_path_GREP"
7004 ac_path_GREP_max
=$ac_count
7006 # 10*(2^10) chars as input seems more than enough
7007 test $ac_count -gt 10 && break
7009 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
7012 $ac_path_GREP_found && break 3
7017 if test -z "$ac_cv_path_GREP"; then
7018 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
7021 ac_cv_path_GREP
=$GREP
7025 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
7026 printf "%s\n" "$ac_cv_path_GREP" >&6; }
7027 GREP
="$ac_cv_path_GREP"
7030 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
7031 printf %s
"checking for egrep... " >&6; }
7032 if test ${ac_cv_path_EGREP+y}
7034 printf %s
"(cached) " >&6
7036 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
7037 then ac_cv_path_EGREP
="$GREP -E"
7039 if test -z "$EGREP"; then
7040 ac_path_EGREP_found
=false
7041 # Loop through the user's path and test for each of PROGNAME-LIST
7042 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7043 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
7046 case $as_dir in #(((
7049 *) as_dir
=$as_dir/ ;;
7051 for ac_prog
in egrep
7053 for ac_exec_ext
in '' $ac_executable_extensions; do
7054 ac_path_EGREP
="$as_dir$ac_prog$ac_exec_ext"
7055 as_fn_executable_p
"$ac_path_EGREP" ||
continue
7056 # Check for GNU ac_path_EGREP and select it if it is found.
7057 # Check for GNU $ac_path_EGREP
7058 case `"$ac_path_EGREP" --version 2>&1` in
7060 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
7063 printf %s
0123456789 >"conftest.in"
7066 cat "conftest.in" "conftest.in" >"conftest.tmp"
7067 mv "conftest.tmp" "conftest.in"
7068 cp "conftest.in" "conftest.nl"
7069 printf "%s\n" 'EGREP' >> "conftest.nl"
7070 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
7071 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
7072 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
7073 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
7074 # Best one so far, save it but keep looking for a better one
7075 ac_cv_path_EGREP
="$ac_path_EGREP"
7076 ac_path_EGREP_max
=$ac_count
7078 # 10*(2^10) chars as input seems more than enough
7079 test $ac_count -gt 10 && break
7081 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
7084 $ac_path_EGREP_found && break 3
7089 if test -z "$ac_cv_path_EGREP"; then
7090 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
7093 ac_cv_path_EGREP
=$EGREP
7098 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
7099 printf "%s\n" "$ac_cv_path_EGREP" >&6; }
7100 EGREP
="$ac_cv_path_EGREP"
7103 # Extract the first word of "ldconfig", so it can be a program name with args.
7104 set dummy ldconfig
; ac_word
=$2
7105 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7106 printf %s
"checking for $ac_word... " >&6; }
7107 if test ${ac_cv_path_LDCONFIG+y}
7109 printf %s
"(cached) " >&6
7113 ac_cv_path_LDCONFIG
="$LDCONFIG" # Let the user override the test with a path.
7116 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7117 for as_dir
in /sbin
/usr
/sbin
$PATH
7120 case $as_dir in #(((
7123 *) as_dir
=$as_dir/ ;;
7125 for ac_exec_ext
in '' $ac_executable_extensions; do
7126 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
7127 ac_cv_path_LDCONFIG
="$as_dir$ac_word$ac_exec_ext"
7128 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7135 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG
="true"
7139 LDCONFIG
=$ac_cv_path_LDCONFIG
7140 if test -n "$LDCONFIG"; then
7141 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
7142 printf "%s\n" "$LDCONFIG" >&6; }
7144 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7145 printf "%s\n" "no" >&6; }
7149 for ac_prog
in msgfmt
7151 # Extract the first word of "$ac_prog", so it can be a program name with args.
7152 set dummy
$ac_prog; ac_word
=$2
7153 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7154 printf %s
"checking for $ac_word... " >&6; }
7155 if test ${ac_cv_prog_MSGFMT+y}
7157 printf %s
"(cached) " >&6
7159 if test -n "$MSGFMT"; then
7160 ac_cv_prog_MSGFMT
="$MSGFMT" # Let the user override the test.
7162 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7166 case $as_dir in #(((
7169 *) as_dir
=$as_dir/ ;;
7171 for ac_exec_ext
in '' $ac_executable_extensions; do
7172 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
7173 ac_cv_prog_MSGFMT
="$ac_prog"
7174 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7183 MSGFMT
=$ac_cv_prog_MSGFMT
7184 if test -n "$MSGFMT"; then
7185 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
7186 printf "%s\n" "$MSGFMT" >&6; }
7188 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7189 printf "%s\n" "no" >&6; }
7193 test -n "$MSGFMT" && break
7195 test -n "$MSGFMT" || MSGFMT
="false"
7197 if test ${ac_tool_prefix+y}
7199 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
7200 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
7201 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7202 printf %s
"checking for $ac_word... " >&6; }
7203 if test ${ac_cv_prog_PKG_CONFIG+y}
7205 printf %s
"(cached) " >&6
7207 if test -n "$PKG_CONFIG"; then
7208 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
7210 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7214 case $as_dir in #(((
7217 *) as_dir
=$as_dir/ ;;
7219 for ac_exec_ext
in '' $ac_executable_extensions; do
7220 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
7221 ac_cv_prog_PKG_CONFIG
="${ac_tool_prefix}pkg-config"
7222 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7231 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
7232 if test -n "$PKG_CONFIG"; then
7233 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
7234 printf "%s\n" "$PKG_CONFIG" >&6; }
7236 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7237 printf "%s\n" "no" >&6; }
7242 if ${ac_cv_prog_PKG_CONFIG:+false} :
7244 if test "x$cross_compiling" = xyes
7248 { ac_cv_prog_PKG_CONFIG
=; unset ac_cv_prog_PKG_CONFIG
;}
7249 # Extract the first word of "pkg-config", so it can be a program name with args.
7250 set dummy pkg-config
; ac_word
=$2
7251 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7252 printf %s
"checking for $ac_word... " >&6; }
7253 if test ${ac_cv_prog_PKG_CONFIG+y}
7255 printf %s
"(cached) " >&6
7257 if test -n "$PKG_CONFIG"; then
7258 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
7260 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7264 case $as_dir in #(((
7267 *) as_dir
=$as_dir/ ;;
7269 for ac_exec_ext
in '' $ac_executable_extensions; do
7270 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
7271 ac_cv_prog_PKG_CONFIG
="pkg-config"
7272 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7281 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
7282 if test -n "$PKG_CONFIG"; then
7283 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
7284 printf "%s\n" "$PKG_CONFIG" >&6; }
7286 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7287 printf "%s\n" "no" >&6; }
7293 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
7296 if test "x$enable_maintainer_mode" != "xyes"
7303 test "$srcdir" = . || as_fn_error $?
"Maintainer mode cannot work out of tree." "$LINENO" 5
7304 for ac_prog
in fontforge
7306 # Extract the first word of "$ac_prog", so it can be a program name with args.
7307 set dummy
$ac_prog; ac_word
=$2
7308 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7309 printf %s
"checking for $ac_word... " >&6; }
7310 if test ${ac_cv_prog_FONTFORGE+y}
7312 printf %s
"(cached) " >&6
7314 if test -n "$FONTFORGE"; then
7315 ac_cv_prog_FONTFORGE
="$FONTFORGE" # Let the user override the test.
7317 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7321 case $as_dir in #(((
7324 *) as_dir
=$as_dir/ ;;
7326 for ac_exec_ext
in '' $ac_executable_extensions; do
7327 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
7328 ac_cv_prog_FONTFORGE
="$ac_prog"
7329 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7338 FONTFORGE
=$ac_cv_prog_FONTFORGE
7339 if test -n "$FONTFORGE"; then
7340 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
7341 printf "%s\n" "$FONTFORGE" >&6; }
7343 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7344 printf "%s\n" "no" >&6; }
7348 test -n "$FONTFORGE" && break
7350 test -n "$FONTFORGE" || FONTFORGE
="false"
7352 for ac_prog
in rsvg-convert rsvg
7354 # Extract the first word of "$ac_prog", so it can be a program name with args.
7355 set dummy
$ac_prog; ac_word
=$2
7356 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7357 printf %s
"checking for $ac_word... " >&6; }
7358 if test ${ac_cv_prog_RSVG+y}
7360 printf %s
"(cached) " >&6
7362 if test -n "$RSVG"; then
7363 ac_cv_prog_RSVG
="$RSVG" # Let the user override the test.
7365 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7369 case $as_dir in #(((
7372 *) as_dir
=$as_dir/ ;;
7374 for ac_exec_ext
in '' $ac_executable_extensions; do
7375 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
7376 ac_cv_prog_RSVG
="$ac_prog"
7377 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7386 RSVG
=$ac_cv_prog_RSVG
7387 if test -n "$RSVG"; then
7388 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
7389 printf "%s\n" "$RSVG" >&6; }
7391 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7392 printf "%s\n" "no" >&6; }
7396 test -n "$RSVG" && break
7398 test -n "$RSVG" || RSVG
="false"
7400 for ac_prog
in convert
7402 # Extract the first word of "$ac_prog", so it can be a program name with args.
7403 set dummy
$ac_prog; ac_word
=$2
7404 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7405 printf %s
"checking for $ac_word... " >&6; }
7406 if test ${ac_cv_prog_CONVERT+y}
7408 printf %s
"(cached) " >&6
7410 if test -n "$CONVERT"; then
7411 ac_cv_prog_CONVERT
="$CONVERT" # Let the user override the test.
7413 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7417 case $as_dir in #(((
7420 *) as_dir
=$as_dir/ ;;
7422 for ac_exec_ext
in '' $ac_executable_extensions; do
7423 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
7424 ac_cv_prog_CONVERT
="$ac_prog"
7425 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7434 CONVERT
=$ac_cv_prog_CONVERT
7435 if test -n "$CONVERT"; then
7436 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
7437 printf "%s\n" "$CONVERT" >&6; }
7439 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7440 printf "%s\n" "no" >&6; }
7444 test -n "$CONVERT" && break
7446 test -n "$CONVERT" || CONVERT
="false"
7448 for ac_prog
in icotool
7450 # Extract the first word of "$ac_prog", so it can be a program name with args.
7451 set dummy
$ac_prog; ac_word
=$2
7452 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7453 printf %s
"checking for $ac_word... " >&6; }
7454 if test ${ac_cv_prog_ICOTOOL+y}
7456 printf %s
"(cached) " >&6
7458 if test -n "$ICOTOOL"; then
7459 ac_cv_prog_ICOTOOL
="$ICOTOOL" # Let the user override the test.
7461 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7465 case $as_dir in #(((
7468 *) as_dir
=$as_dir/ ;;
7470 for ac_exec_ext
in '' $ac_executable_extensions; do
7471 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
7472 ac_cv_prog_ICOTOOL
="$ac_prog"
7473 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7482 ICOTOOL
=$ac_cv_prog_ICOTOOL
7483 if test -n "$ICOTOOL"; then
7484 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
7485 printf "%s\n" "$ICOTOOL" >&6; }
7487 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7488 printf "%s\n" "no" >&6; }
7492 test -n "$ICOTOOL" && break
7494 test -n "$ICOTOOL" || ICOTOOL
="false"
7496 test "$FONTFORGE" != "false" || as_fn_error $?
"You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
7497 test "$RSVG" != "false" || as_fn_error $?
"You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
7499 if test "$CONVERT" = false
7501 as_fn_error $?
"You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
7503 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
7504 printf %s
"checking for recent enough imagemagick... " >&6; }
7505 convert_version
=`convert --version | head -n1`
7506 if test "x$convert_version" != "x"
7508 convert_version_major
=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
7509 convert_version_minor
=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
7510 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
7515 if test "$CONVERT" = false
7517 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
7518 printf "%s\n" "no ($convert_version_major.$convert_version_minor)" >&6; }
7519 as_fn_error $?
"You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
7521 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
7522 printf "%s\n" "yes ($convert_version_major.$convert_version_minor)" >&6; }
7526 if test "$ICOTOOL" = false
7528 as_fn_error $?
"You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
7530 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
7531 printf %s
"checking for recent enough icotool... " >&6; }
7532 icotool_version
=`icotool --version | head -n1`
7533 if test "x$icotool_version" != "x"
7535 icotool_version_major
=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
7536 icotool_version_minor
=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
7537 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
7540 as_fn_append wine_warnings
"|icotool version 0.29.0 or newer is needed to rebuild icons."
7543 if test "$ICOTOOL" = false
7545 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
7546 printf "%s\n" "no ($icotool_version_major.$icotool_version_minor)" >&6; }
7547 as_fn_error $?
"You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
7549 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
7550 printf "%s\n" "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
7560 test "x$with_gettext" != xno || MSGFMT
=false
7561 if test "$MSGFMT" != "false"
7563 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
7564 printf %s
"checking whether msgfmt supports contexts... " >&6; }
7565 if test ${wine_cv_msgfmt_contexts+y}
7567 printf %s
"(cached) " >&6
7569 cat >conftest.po
<<EOF
7575 if $MSGFMT -o /dev
/null conftest.po
2>&5
7577 wine_cv_msgfmt_contexts
=yes
7579 wine_cv_msgfmt_contexts
=no
7582 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_msgfmt_contexts" >&5
7583 printf "%s\n" "$wine_cv_msgfmt_contexts" >&6; }
7584 test $wine_cv_msgfmt_contexts != no || MSGFMT
=false
7586 if test "$MSGFMT" = false
7588 case "x$with_gettext" in
7589 x
) as_fn_append wine_warnings
"|gettext tools not found (or too old), translations won't be built." ;;
7591 *) as_fn_error $?
"gettext tools not found (or too old), translations won't be built.
7592 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
7594 enable_po
=${enable_po:-no}
7598 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
7599 printf %s
"checking for i386_set_ldt in -li386... " >&6; }
7600 if test ${ac_cv_lib_i386_i386_set_ldt+y}
7602 printf %s
"(cached) " >&6
7604 ac_check_lib_save_LIBS
=$LIBS
7606 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7607 /* end confdefs.h. */
7609 /* Override any GCC internal prototype to avoid an error.
7610 Use char because int might match the return type of a GCC
7611 builtin and then its argument prototype would still apply. */
7612 char i386_set_ldt ();
7616 return i386_set_ldt ();
7621 if ac_fn_c_try_link
"$LINENO"
7623 ac_cv_lib_i386_i386_set_ldt
=yes
7625 ac_cv_lib_i386_i386_set_ldt
=no
7627 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
7628 conftest
$ac_exeext conftest.
$ac_ext
7629 LIBS
=$ac_check_lib_save_LIBS
7631 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
7632 printf "%s\n" "$ac_cv_lib_i386_i386_set_ldt" >&6; }
7633 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes
7644 # Check whether --enable-largefile was given.
7645 if test ${enable_largefile+y}
7647 enableval
=$enable_largefile;
7650 if test "$enable_largefile" != no
; then
7652 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
7653 printf %s
"checking for special C compiler options needed for large files... " >&6; }
7654 if test ${ac_cv_sys_largefile_CC+y}
7656 printf %s
"(cached) " >&6
7658 ac_cv_sys_largefile_CC
=no
7659 if test "$GCC" != yes; then
7662 # IRIX 6.2 and later do not support large files by default,
7663 # so use the C compiler's -n32 option if that helps.
7664 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7665 /* end confdefs.h. */
7666 #include <sys/types.h>
7667 /* Check that off_t can represent 2**63 - 1 correctly.
7668 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7669 since some C++ compilers masquerading as C compilers
7670 incorrectly reject 9223372036854775807. */
7671 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7672 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7673 && LARGE_OFF_T % 2147483647 == 1)
7683 if ac_fn_c_try_compile
"$LINENO"
7687 rm -f core conftest.err conftest.
$ac_objext conftest.beam
7689 if ac_fn_c_try_compile
"$LINENO"
7691 ac_cv_sys_largefile_CC
=' -n32'; break
7693 rm -f core conftest.err conftest.
$ac_objext conftest.beam
7697 rm -f conftest.
$ac_ext
7700 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
7701 printf "%s\n" "$ac_cv_sys_largefile_CC" >&6; }
7702 if test "$ac_cv_sys_largefile_CC" != no
; then
7703 CC
=$CC$ac_cv_sys_largefile_CC
7706 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
7707 printf %s
"checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
7708 if test ${ac_cv_sys_file_offset_bits+y}
7710 printf %s
"(cached) " >&6
7713 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7714 /* end confdefs.h. */
7715 #include <sys/types.h>
7716 /* Check that off_t can represent 2**63 - 1 correctly.
7717 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7718 since some C++ compilers masquerading as C compilers
7719 incorrectly reject 9223372036854775807. */
7720 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7721 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7722 && LARGE_OFF_T % 2147483647 == 1)
7732 if ac_fn_c_try_compile
"$LINENO"
7734 ac_cv_sys_file_offset_bits
=no
; break
7736 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
7737 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7738 /* end confdefs.h. */
7739 #define _FILE_OFFSET_BITS 64
7740 #include <sys/types.h>
7741 /* Check that off_t can represent 2**63 - 1 correctly.
7742 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7743 since some C++ compilers masquerading as C compilers
7744 incorrectly reject 9223372036854775807. */
7745 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7746 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7747 && LARGE_OFF_T % 2147483647 == 1)
7757 if ac_fn_c_try_compile
"$LINENO"
7759 ac_cv_sys_file_offset_bits
=64; break
7761 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
7762 ac_cv_sys_file_offset_bits
=unknown
7766 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
7767 printf "%s\n" "$ac_cv_sys_file_offset_bits" >&6; }
7768 case $ac_cv_sys_file_offset_bits in #(
7771 printf "%s\n" "#define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits" >>confdefs.h
7775 if test $ac_cv_sys_file_offset_bits = unknown
; then
7776 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
7777 printf %s
"checking for _LARGE_FILES value needed for large files... " >&6; }
7778 if test ${ac_cv_sys_large_files+y}
7780 printf %s
"(cached) " >&6
7783 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7784 /* end confdefs.h. */
7785 #include <sys/types.h>
7786 /* Check that off_t can represent 2**63 - 1 correctly.
7787 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7788 since some C++ compilers masquerading as C compilers
7789 incorrectly reject 9223372036854775807. */
7790 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7791 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7792 && LARGE_OFF_T % 2147483647 == 1)
7802 if ac_fn_c_try_compile
"$LINENO"
7804 ac_cv_sys_large_files
=no
; break
7806 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
7807 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7808 /* end confdefs.h. */
7809 #define _LARGE_FILES 1
7810 #include <sys/types.h>
7811 /* Check that off_t can represent 2**63 - 1 correctly.
7812 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7813 since some C++ compilers masquerading as C compilers
7814 incorrectly reject 9223372036854775807. */
7815 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7816 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7817 && LARGE_OFF_T % 2147483647 == 1)
7827 if ac_fn_c_try_compile
"$LINENO"
7829 ac_cv_sys_large_files
=1; break
7831 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
7832 ac_cv_sys_large_files
=unknown
7836 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
7837 printf "%s\n" "$ac_cv_sys_large_files" >&6; }
7838 case $ac_cv_sys_large_files in #(
7841 printf "%s\n" "#define _LARGE_FILES $ac_cv_sys_large_files" >>confdefs.h
7848 test "$ac_cv_sys_file_offset_bits" = 64 &&
7849 printf "%s\n" "#define _TIME_BITS 64" >>confdefs.h
7852 ac_header
= ac_cache
=
7853 for ac_item
in $ac_header_c_list
7855 if test $ac_cache; then
7856 ac_fn_c_check_header_compile
"$LINENO" $ac_header ac_cv_header_
$ac_cache "$ac_includes_default"
7857 if eval test \"x\
$ac_cv_header_$ac_cache\" = xyes
; then
7858 printf "%s\n" "#define $ac_item 1" >> confdefs.h
7860 ac_header
= ac_cache
=
7861 elif test $ac_header; then
7875 if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes
7878 printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h
7881 ac_fn_c_check_header_compile
"$LINENO" "CL/cl.h" "ac_cv_header_CL_cl_h" "$ac_includes_default"
7882 if test "x$ac_cv_header_CL_cl_h" = xyes
7884 printf "%s\n" "#define HAVE_CL_CL_H 1" >>confdefs.h
7887 ac_fn_c_check_header_compile
"$LINENO" "EGL/egl.h" "ac_cv_header_EGL_egl_h" "$ac_includes_default"
7888 if test "x$ac_cv_header_EGL_egl_h" = xyes
7890 printf "%s\n" "#define HAVE_EGL_EGL_H 1" >>confdefs.h
7893 ac_fn_c_check_header_compile
"$LINENO" "OpenCL/opencl.h" "ac_cv_header_OpenCL_opencl_h" "$ac_includes_default"
7894 if test "x$ac_cv_header_OpenCL_opencl_h" = xyes
7896 printf "%s\n" "#define HAVE_OPENCL_OPENCL_H 1" >>confdefs.h
7899 ac_fn_c_check_header_compile
"$LINENO" "arpa/inet.h" "ac_cv_header_arpa_inet_h" "$ac_includes_default"
7900 if test "x$ac_cv_header_arpa_inet_h" = xyes
7902 printf "%s\n" "#define HAVE_ARPA_INET_H 1" >>confdefs.h
7905 ac_fn_c_check_header_compile
"$LINENO" "arpa/nameser.h" "ac_cv_header_arpa_nameser_h" "$ac_includes_default"
7906 if test "x$ac_cv_header_arpa_nameser_h" = xyes
7908 printf "%s\n" "#define HAVE_ARPA_NAMESER_H 1" >>confdefs.h
7911 ac_fn_c_check_header_compile
"$LINENO" "asm/termbits.h" "ac_cv_header_asm_termbits_h" "$ac_includes_default"
7912 if test "x$ac_cv_header_asm_termbits_h" = xyes
7914 printf "%s\n" "#define HAVE_ASM_TERMBITS_H 1" >>confdefs.h
7917 ac_fn_c_check_header_compile
"$LINENO" "asm/types.h" "ac_cv_header_asm_types_h" "$ac_includes_default"
7918 if test "x$ac_cv_header_asm_types_h" = xyes
7920 printf "%s\n" "#define HAVE_ASM_TYPES_H 1" >>confdefs.h
7923 ac_fn_c_check_header_compile
"$LINENO" "asm/user.h" "ac_cv_header_asm_user_h" "$ac_includes_default"
7924 if test "x$ac_cv_header_asm_user_h" = xyes
7926 printf "%s\n" "#define HAVE_ASM_USER_H 1" >>confdefs.h
7929 ac_fn_c_check_header_compile
"$LINENO" "elf.h" "ac_cv_header_elf_h" "$ac_includes_default"
7930 if test "x$ac_cv_header_elf_h" = xyes
7932 printf "%s\n" "#define HAVE_ELF_H 1" >>confdefs.h
7935 ac_fn_c_check_header_compile
"$LINENO" "float.h" "ac_cv_header_float_h" "$ac_includes_default"
7936 if test "x$ac_cv_header_float_h" = xyes
7938 printf "%s\n" "#define HAVE_FLOAT_H 1" >>confdefs.h
7941 ac_fn_c_check_header_compile
"$LINENO" "gettext-po.h" "ac_cv_header_gettext_po_h" "$ac_includes_default"
7942 if test "x$ac_cv_header_gettext_po_h" = xyes
7944 printf "%s\n" "#define HAVE_GETTEXT_PO_H 1" >>confdefs.h
7947 ac_fn_c_check_header_compile
"$LINENO" "libproc.h" "ac_cv_header_libproc_h" "$ac_includes_default"
7948 if test "x$ac_cv_header_libproc_h" = xyes
7950 printf "%s\n" "#define HAVE_LIBPROC_H 1" >>confdefs.h
7953 ac_fn_c_check_header_compile
"$LINENO" "link.h" "ac_cv_header_link_h" "$ac_includes_default"
7954 if test "x$ac_cv_header_link_h" = xyes
7956 printf "%s\n" "#define HAVE_LINK_H 1" >>confdefs.h
7959 ac_fn_c_check_header_compile
"$LINENO" "linux/cdrom.h" "ac_cv_header_linux_cdrom_h" "$ac_includes_default"
7960 if test "x$ac_cv_header_linux_cdrom_h" = xyes
7962 printf "%s\n" "#define HAVE_LINUX_CDROM_H 1" >>confdefs.h
7965 ac_fn_c_check_header_compile
"$LINENO" "linux/filter.h" "ac_cv_header_linux_filter_h" "$ac_includes_default"
7966 if test "x$ac_cv_header_linux_filter_h" = xyes
7968 printf "%s\n" "#define HAVE_LINUX_FILTER_H 1" >>confdefs.h
7971 ac_fn_c_check_header_compile
"$LINENO" "linux/hdreg.h" "ac_cv_header_linux_hdreg_h" "$ac_includes_default"
7972 if test "x$ac_cv_header_linux_hdreg_h" = xyes
7974 printf "%s\n" "#define HAVE_LINUX_HDREG_H 1" >>confdefs.h
7977 ac_fn_c_check_header_compile
"$LINENO" "linux/hidraw.h" "ac_cv_header_linux_hidraw_h" "$ac_includes_default"
7978 if test "x$ac_cv_header_linux_hidraw_h" = xyes
7980 printf "%s\n" "#define HAVE_LINUX_HIDRAW_H 1" >>confdefs.h
7983 ac_fn_c_check_header_compile
"$LINENO" "linux/input.h" "ac_cv_header_linux_input_h" "$ac_includes_default"
7984 if test "x$ac_cv_header_linux_input_h" = xyes
7986 printf "%s\n" "#define HAVE_LINUX_INPUT_H 1" >>confdefs.h
7989 ac_fn_c_check_header_compile
"$LINENO" "linux/ioctl.h" "ac_cv_header_linux_ioctl_h" "$ac_includes_default"
7990 if test "x$ac_cv_header_linux_ioctl_h" = xyes
7992 printf "%s\n" "#define HAVE_LINUX_IOCTL_H 1" >>confdefs.h
7995 ac_fn_c_check_header_compile
"$LINENO" "linux/major.h" "ac_cv_header_linux_major_h" "$ac_includes_default"
7996 if test "x$ac_cv_header_linux_major_h" = xyes
7998 printf "%s\n" "#define HAVE_LINUX_MAJOR_H 1" >>confdefs.h
8001 ac_fn_c_check_header_compile
"$LINENO" "linux/param.h" "ac_cv_header_linux_param_h" "$ac_includes_default"
8002 if test "x$ac_cv_header_linux_param_h" = xyes
8004 printf "%s\n" "#define HAVE_LINUX_PARAM_H 1" >>confdefs.h
8007 ac_fn_c_check_header_compile
"$LINENO" "linux/serial.h" "ac_cv_header_linux_serial_h" "$ac_includes_default"
8008 if test "x$ac_cv_header_linux_serial_h" = xyes
8010 printf "%s\n" "#define HAVE_LINUX_SERIAL_H 1" >>confdefs.h
8013 ac_fn_c_check_header_compile
"$LINENO" "linux/types.h" "ac_cv_header_linux_types_h" "$ac_includes_default"
8014 if test "x$ac_cv_header_linux_types_h" = xyes
8016 printf "%s\n" "#define HAVE_LINUX_TYPES_H 1" >>confdefs.h
8019 ac_fn_c_check_header_compile
"$LINENO" "linux/ucdrom.h" "ac_cv_header_linux_ucdrom_h" "$ac_includes_default"
8020 if test "x$ac_cv_header_linux_ucdrom_h" = xyes
8022 printf "%s\n" "#define HAVE_LINUX_UCDROM_H 1" >>confdefs.h
8025 ac_fn_c_check_header_compile
"$LINENO" "linux/wireless.h" "ac_cv_header_linux_wireless_h" "$ac_includes_default"
8026 if test "x$ac_cv_header_linux_wireless_h" = xyes
8028 printf "%s\n" "#define HAVE_LINUX_WIRELESS_H 1" >>confdefs.h
8031 ac_fn_c_check_header_compile
"$LINENO" "lwp.h" "ac_cv_header_lwp_h" "$ac_includes_default"
8032 if test "x$ac_cv_header_lwp_h" = xyes
8034 printf "%s\n" "#define HAVE_LWP_H 1" >>confdefs.h
8037 ac_fn_c_check_header_compile
"$LINENO" "mach-o/loader.h" "ac_cv_header_mach_o_loader_h" "$ac_includes_default"
8038 if test "x$ac_cv_header_mach_o_loader_h" = xyes
8040 printf "%s\n" "#define HAVE_MACH_O_LOADER_H 1" >>confdefs.h
8043 ac_fn_c_check_header_compile
"$LINENO" "mach/mach.h" "ac_cv_header_mach_mach_h" "$ac_includes_default"
8044 if test "x$ac_cv_header_mach_mach_h" = xyes
8046 printf "%s\n" "#define HAVE_MACH_MACH_H 1" >>confdefs.h
8049 ac_fn_c_check_header_compile
"$LINENO" "machine/cpu.h" "ac_cv_header_machine_cpu_h" "$ac_includes_default"
8050 if test "x$ac_cv_header_machine_cpu_h" = xyes
8052 printf "%s\n" "#define HAVE_MACHINE_CPU_H 1" >>confdefs.h
8055 ac_fn_c_check_header_compile
"$LINENO" "machine/sysarch.h" "ac_cv_header_machine_sysarch_h" "$ac_includes_default"
8056 if test "x$ac_cv_header_machine_sysarch_h" = xyes
8058 printf "%s\n" "#define HAVE_MACHINE_SYSARCH_H 1" >>confdefs.h
8061 ac_fn_c_check_header_compile
"$LINENO" "mntent.h" "ac_cv_header_mntent_h" "$ac_includes_default"
8062 if test "x$ac_cv_header_mntent_h" = xyes
8064 printf "%s\n" "#define HAVE_MNTENT_H 1" >>confdefs.h
8067 ac_fn_c_check_header_compile
"$LINENO" "netdb.h" "ac_cv_header_netdb_h" "$ac_includes_default"
8068 if test "x$ac_cv_header_netdb_h" = xyes
8070 printf "%s\n" "#define HAVE_NETDB_H 1" >>confdefs.h
8073 ac_fn_c_check_header_compile
"$LINENO" "netinet/in.h" "ac_cv_header_netinet_in_h" "$ac_includes_default"
8074 if test "x$ac_cv_header_netinet_in_h" = xyes
8076 printf "%s\n" "#define HAVE_NETINET_IN_H 1" >>confdefs.h
8079 ac_fn_c_check_header_compile
"$LINENO" "netinet/in_systm.h" "ac_cv_header_netinet_in_systm_h" "$ac_includes_default"
8080 if test "x$ac_cv_header_netinet_in_systm_h" = xyes
8082 printf "%s\n" "#define HAVE_NETINET_IN_SYSTM_H 1" >>confdefs.h
8085 ac_fn_c_check_header_compile
"$LINENO" "netinet/tcp.h" "ac_cv_header_netinet_tcp_h" "$ac_includes_default"
8086 if test "x$ac_cv_header_netinet_tcp_h" = xyes
8088 printf "%s\n" "#define HAVE_NETINET_TCP_H 1" >>confdefs.h
8091 ac_fn_c_check_header_compile
"$LINENO" "netinet/tcp_fsm.h" "ac_cv_header_netinet_tcp_fsm_h" "$ac_includes_default"
8092 if test "x$ac_cv_header_netinet_tcp_fsm_h" = xyes
8094 printf "%s\n" "#define HAVE_NETINET_TCP_FSM_H 1" >>confdefs.h
8097 ac_fn_c_check_header_compile
"$LINENO" "pcap/pcap.h" "ac_cv_header_pcap_pcap_h" "$ac_includes_default"
8098 if test "x$ac_cv_header_pcap_pcap_h" = xyes
8100 printf "%s\n" "#define HAVE_PCAP_PCAP_H 1" >>confdefs.h
8103 ac_fn_c_check_header_compile
"$LINENO" "port.h" "ac_cv_header_port_h" "$ac_includes_default"
8104 if test "x$ac_cv_header_port_h" = xyes
8106 printf "%s\n" "#define HAVE_PORT_H 1" >>confdefs.h
8109 ac_fn_c_check_header_compile
"$LINENO" "pwd.h" "ac_cv_header_pwd_h" "$ac_includes_default"
8110 if test "x$ac_cv_header_pwd_h" = xyes
8112 printf "%s\n" "#define HAVE_PWD_H 1" >>confdefs.h
8115 ac_fn_c_check_header_compile
"$LINENO" "sched.h" "ac_cv_header_sched_h" "$ac_includes_default"
8116 if test "x$ac_cv_header_sched_h" = xyes
8118 printf "%s\n" "#define HAVE_SCHED_H 1" >>confdefs.h
8121 ac_fn_c_check_header_compile
"$LINENO" "scsi/scsi.h" "ac_cv_header_scsi_scsi_h" "$ac_includes_default"
8122 if test "x$ac_cv_header_scsi_scsi_h" = xyes
8124 printf "%s\n" "#define HAVE_SCSI_SCSI_H 1" >>confdefs.h
8127 ac_fn_c_check_header_compile
"$LINENO" "scsi/scsi_ioctl.h" "ac_cv_header_scsi_scsi_ioctl_h" "$ac_includes_default"
8128 if test "x$ac_cv_header_scsi_scsi_ioctl_h" = xyes
8130 printf "%s\n" "#define HAVE_SCSI_SCSI_IOCTL_H 1" >>confdefs.h
8133 ac_fn_c_check_header_compile
"$LINENO" "scsi/sg.h" "ac_cv_header_scsi_sg_h" "$ac_includes_default"
8134 if test "x$ac_cv_header_scsi_sg_h" = xyes
8136 printf "%s\n" "#define HAVE_SCSI_SG_H 1" >>confdefs.h
8139 ac_fn_c_check_header_compile
"$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default"
8140 if test "x$ac_cv_header_stdint_h" = xyes
8142 printf "%s\n" "#define HAVE_STDINT_H 1" >>confdefs.h
8145 ac_fn_c_check_header_compile
"$LINENO" "sys/attr.h" "ac_cv_header_sys_attr_h" "$ac_includes_default"
8146 if test "x$ac_cv_header_sys_attr_h" = xyes
8148 printf "%s\n" "#define HAVE_SYS_ATTR_H 1" >>confdefs.h
8151 ac_fn_c_check_header_compile
"$LINENO" "sys/auxv.h" "ac_cv_header_sys_auxv_h" "$ac_includes_default"
8152 if test "x$ac_cv_header_sys_auxv_h" = xyes
8154 printf "%s\n" "#define HAVE_SYS_AUXV_H 1" >>confdefs.h
8157 ac_fn_c_check_header_compile
"$LINENO" "sys/cdio.h" "ac_cv_header_sys_cdio_h" "$ac_includes_default"
8158 if test "x$ac_cv_header_sys_cdio_h" = xyes
8160 printf "%s\n" "#define HAVE_SYS_CDIO_H 1" >>confdefs.h
8163 ac_fn_c_check_header_compile
"$LINENO" "sys/epoll.h" "ac_cv_header_sys_epoll_h" "$ac_includes_default"
8164 if test "x$ac_cv_header_sys_epoll_h" = xyes
8166 printf "%s\n" "#define HAVE_SYS_EPOLL_H 1" >>confdefs.h
8169 ac_fn_c_check_header_compile
"$LINENO" "sys/event.h" "ac_cv_header_sys_event_h" "$ac_includes_default"
8170 if test "x$ac_cv_header_sys_event_h" = xyes
8172 printf "%s\n" "#define HAVE_SYS_EVENT_H 1" >>confdefs.h
8175 ac_fn_c_check_header_compile
"$LINENO" "sys/extattr.h" "ac_cv_header_sys_extattr_h" "$ac_includes_default"
8176 if test "x$ac_cv_header_sys_extattr_h" = xyes
8178 printf "%s\n" "#define HAVE_SYS_EXTATTR_H 1" >>confdefs.h
8181 ac_fn_c_check_header_compile
"$LINENO" "sys/filio.h" "ac_cv_header_sys_filio_h" "$ac_includes_default"
8182 if test "x$ac_cv_header_sys_filio_h" = xyes
8184 printf "%s\n" "#define HAVE_SYS_FILIO_H 1" >>confdefs.h
8187 ac_fn_c_check_header_compile
"$LINENO" "sys/ipc.h" "ac_cv_header_sys_ipc_h" "$ac_includes_default"
8188 if test "x$ac_cv_header_sys_ipc_h" = xyes
8190 printf "%s\n" "#define HAVE_SYS_IPC_H 1" >>confdefs.h
8193 ac_fn_c_check_header_compile
"$LINENO" "sys/link.h" "ac_cv_header_sys_link_h" "$ac_includes_default"
8194 if test "x$ac_cv_header_sys_link_h" = xyes
8196 printf "%s\n" "#define HAVE_SYS_LINK_H 1" >>confdefs.h
8199 ac_fn_c_check_header_compile
"$LINENO" "sys/modem.h" "ac_cv_header_sys_modem_h" "$ac_includes_default"
8200 if test "x$ac_cv_header_sys_modem_h" = xyes
8202 printf "%s\n" "#define HAVE_SYS_MODEM_H 1" >>confdefs.h
8205 ac_fn_c_check_header_compile
"$LINENO" "sys/mtio.h" "ac_cv_header_sys_mtio_h" "$ac_includes_default"
8206 if test "x$ac_cv_header_sys_mtio_h" = xyes
8208 printf "%s\n" "#define HAVE_SYS_MTIO_H 1" >>confdefs.h
8211 ac_fn_c_check_header_compile
"$LINENO" "sys/param.h" "ac_cv_header_sys_param_h" "$ac_includes_default"
8212 if test "x$ac_cv_header_sys_param_h" = xyes
8214 printf "%s\n" "#define HAVE_SYS_PARAM_H 1" >>confdefs.h
8217 ac_fn_c_check_header_compile
"$LINENO" "sys/prctl.h" "ac_cv_header_sys_prctl_h" "$ac_includes_default"
8218 if test "x$ac_cv_header_sys_prctl_h" = xyes
8220 printf "%s\n" "#define HAVE_SYS_PRCTL_H 1" >>confdefs.h
8223 ac_fn_c_check_header_compile
"$LINENO" "sys/ptrace.h" "ac_cv_header_sys_ptrace_h" "$ac_includes_default"
8224 if test "x$ac_cv_header_sys_ptrace_h" = xyes
8226 printf "%s\n" "#define HAVE_SYS_PTRACE_H 1" >>confdefs.h
8229 ac_fn_c_check_header_compile
"$LINENO" "sys/queue.h" "ac_cv_header_sys_queue_h" "$ac_includes_default"
8230 if test "x$ac_cv_header_sys_queue_h" = xyes
8232 printf "%s\n" "#define HAVE_SYS_QUEUE_H 1" >>confdefs.h
8235 ac_fn_c_check_header_compile
"$LINENO" "sys/random.h" "ac_cv_header_sys_random_h" "$ac_includes_default"
8236 if test "x$ac_cv_header_sys_random_h" = xyes
8238 printf "%s\n" "#define HAVE_SYS_RANDOM_H 1" >>confdefs.h
8241 ac_fn_c_check_header_compile
"$LINENO" "sys/resource.h" "ac_cv_header_sys_resource_h" "$ac_includes_default"
8242 if test "x$ac_cv_header_sys_resource_h" = xyes
8244 printf "%s\n" "#define HAVE_SYS_RESOURCE_H 1" >>confdefs.h
8247 ac_fn_c_check_header_compile
"$LINENO" "sys/scsiio.h" "ac_cv_header_sys_scsiio_h" "$ac_includes_default"
8248 if test "x$ac_cv_header_sys_scsiio_h" = xyes
8250 printf "%s\n" "#define HAVE_SYS_SCSIIO_H 1" >>confdefs.h
8253 ac_fn_c_check_header_compile
"$LINENO" "sys/shm.h" "ac_cv_header_sys_shm_h" "$ac_includes_default"
8254 if test "x$ac_cv_header_sys_shm_h" = xyes
8256 printf "%s\n" "#define HAVE_SYS_SHM_H 1" >>confdefs.h
8259 ac_fn_c_check_header_compile
"$LINENO" "sys/signal.h" "ac_cv_header_sys_signal_h" "$ac_includes_default"
8260 if test "x$ac_cv_header_sys_signal_h" = xyes
8262 printf "%s\n" "#define HAVE_SYS_SIGNAL_H 1" >>confdefs.h
8265 ac_fn_c_check_header_compile
"$LINENO" "sys/socketvar.h" "ac_cv_header_sys_socketvar_h" "$ac_includes_default"
8266 if test "x$ac_cv_header_sys_socketvar_h" = xyes
8268 printf "%s\n" "#define HAVE_SYS_SOCKETVAR_H 1" >>confdefs.h
8271 ac_fn_c_check_header_compile
"$LINENO" "sys/sockio.h" "ac_cv_header_sys_sockio_h" "$ac_includes_default"
8272 if test "x$ac_cv_header_sys_sockio_h" = xyes
8274 printf "%s\n" "#define HAVE_SYS_SOCKIO_H 1" >>confdefs.h
8277 ac_fn_c_check_header_compile
"$LINENO" "sys/statvfs.h" "ac_cv_header_sys_statvfs_h" "$ac_includes_default"
8278 if test "x$ac_cv_header_sys_statvfs_h" = xyes
8280 printf "%s\n" "#define HAVE_SYS_STATVFS_H 1" >>confdefs.h
8283 ac_fn_c_check_header_compile
"$LINENO" "sys/strtio.h" "ac_cv_header_sys_strtio_h" "$ac_includes_default"
8284 if test "x$ac_cv_header_sys_strtio_h" = xyes
8286 printf "%s\n" "#define HAVE_SYS_STRTIO_H 1" >>confdefs.h
8289 ac_fn_c_check_header_compile
"$LINENO" "sys/syscall.h" "ac_cv_header_sys_syscall_h" "$ac_includes_default"
8290 if test "x$ac_cv_header_sys_syscall_h" = xyes
8292 printf "%s\n" "#define HAVE_SYS_SYSCALL_H 1" >>confdefs.h
8295 ac_fn_c_check_header_compile
"$LINENO" "sys/sysinfo.h" "ac_cv_header_sys_sysinfo_h" "$ac_includes_default"
8296 if test "x$ac_cv_header_sys_sysinfo_h" = xyes
8298 printf "%s\n" "#define HAVE_SYS_SYSINFO_H 1" >>confdefs.h
8301 ac_fn_c_check_header_compile
"$LINENO" "sys/times.h" "ac_cv_header_sys_times_h" "$ac_includes_default"
8302 if test "x$ac_cv_header_sys_times_h" = xyes
8304 printf "%s\n" "#define HAVE_SYS_TIMES_H 1" >>confdefs.h
8307 ac_fn_c_check_header_compile
"$LINENO" "sys/uio.h" "ac_cv_header_sys_uio_h" "$ac_includes_default"
8308 if test "x$ac_cv_header_sys_uio_h" = xyes
8310 printf "%s\n" "#define HAVE_SYS_UIO_H 1" >>confdefs.h
8313 ac_fn_c_check_header_compile
"$LINENO" "sys/user.h" "ac_cv_header_sys_user_h" "$ac_includes_default"
8314 if test "x$ac_cv_header_sys_user_h" = xyes
8316 printf "%s\n" "#define HAVE_SYS_USER_H 1" >>confdefs.h
8319 ac_fn_c_check_header_compile
"$LINENO" "sys/utsname.h" "ac_cv_header_sys_utsname_h" "$ac_includes_default"
8320 if test "x$ac_cv_header_sys_utsname_h" = xyes
8322 printf "%s\n" "#define HAVE_SYS_UTSNAME_H 1" >>confdefs.h
8325 ac_fn_c_check_header_compile
"$LINENO" "sys/vnode.h" "ac_cv_header_sys_vnode_h" "$ac_includes_default"
8326 if test "x$ac_cv_header_sys_vnode_h" = xyes
8328 printf "%s\n" "#define HAVE_SYS_VNODE_H 1" >>confdefs.h
8331 ac_fn_c_check_header_compile
"$LINENO" "sys/xattr.h" "ac_cv_header_sys_xattr_h" "$ac_includes_default"
8332 if test "x$ac_cv_header_sys_xattr_h" = xyes
8334 printf "%s\n" "#define HAVE_SYS_XATTR_H 1" >>confdefs.h
8337 ac_fn_c_check_header_compile
"$LINENO" "syscall.h" "ac_cv_header_syscall_h" "$ac_includes_default"
8338 if test "x$ac_cv_header_syscall_h" = xyes
8340 printf "%s\n" "#define HAVE_SYSCALL_H 1" >>confdefs.h
8343 ac_fn_c_check_header_compile
"$LINENO" "utime.h" "ac_cv_header_utime_h" "$ac_includes_default"
8344 if test "x$ac_cv_header_utime_h" = xyes
8346 printf "%s\n" "#define HAVE_UTIME_H 1" >>confdefs.h
8349 ac_fn_c_check_header_compile
"$LINENO" "valgrind/memcheck.h" "ac_cv_header_valgrind_memcheck_h" "$ac_includes_default"
8350 if test "x$ac_cv_header_valgrind_memcheck_h" = xyes
8352 printf "%s\n" "#define HAVE_VALGRIND_MEMCHECK_H 1" >>confdefs.h
8355 ac_fn_c_check_header_compile
"$LINENO" "valgrind/valgrind.h" "ac_cv_header_valgrind_valgrind_h" "$ac_includes_default"
8356 if test "x$ac_cv_header_valgrind_valgrind_h" = xyes
8358 printf "%s\n" "#define HAVE_VALGRIND_VALGRIND_H 1" >>confdefs.h
8362 ac_fn_c_check_header_compile
"$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
8363 if test "x$ac_cv_header_sys_mkdev_h" = xyes
8366 printf "%s\n" "#define MAJOR_IN_MKDEV 1" >>confdefs.h
8370 if test $ac_cv_header_sys_mkdev_h = no
; then
8371 ac_fn_c_check_header_compile
"$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
8372 if test "x$ac_cv_header_sys_sysmacros_h" = xyes
8375 printf "%s\n" "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
8380 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
8381 printf %s
"checking whether stat file-mode macros are broken... " >&6; }
8382 if test ${ac_cv_header_stat_broken+y}
8384 printf %s
"(cached) " >&6
8386 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8387 /* end confdefs.h. */
8388 #include <sys/types.h>
8389 #include <sys/stat.h>
8391 #if defined S_ISBLK && defined S_IFDIR
8392 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
8395 #if defined S_ISBLK && defined S_IFCHR
8396 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
8399 #if defined S_ISLNK && defined S_IFREG
8400 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
8403 #if defined S_ISSOCK && defined S_IFREG
8404 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
8408 if ac_fn_c_try_compile
"$LINENO"
8410 ac_cv_header_stat_broken
=no
8412 ac_cv_header_stat_broken
=yes
8414 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
8416 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
8417 printf "%s\n" "$ac_cv_header_stat_broken" >&6; }
8418 if test $ac_cv_header_stat_broken = yes; then
8420 printf "%s\n" "#define STAT_MACROS_BROKEN 1" >>confdefs.h
8426 ac_fn_c_check_header_compile
"$LINENO" "sys/conf.h" "ac_cv_header_sys_conf_h" "#include <sys/types.h>
8427 #ifdef HAVE_SYS_PARAM_H
8428 # include <sys/param.h>
8431 if test "x$ac_cv_header_sys_conf_h" = xyes
8433 printf "%s\n" "#define HAVE_SYS_CONF_H 1" >>confdefs.h
8436 ac_fn_c_check_header_compile
"$LINENO" "sys/mount.h" "ac_cv_header_sys_mount_h" "#include <sys/types.h>
8437 #ifdef HAVE_SYS_PARAM_H
8438 # include <sys/param.h>
8441 if test "x$ac_cv_header_sys_mount_h" = xyes
8443 printf "%s\n" "#define HAVE_SYS_MOUNT_H 1" >>confdefs.h
8446 ac_fn_c_check_header_compile
"$LINENO" "sys/statfs.h" "ac_cv_header_sys_statfs_h" "#include <sys/types.h>
8447 #ifdef HAVE_SYS_PARAM_H
8448 # include <sys/param.h>
8451 if test "x$ac_cv_header_sys_statfs_h" = xyes
8453 printf "%s\n" "#define HAVE_SYS_STATFS_H 1" >>confdefs.h
8456 ac_fn_c_check_header_compile
"$LINENO" "sys/user.h" "ac_cv_header_sys_user_h" "#include <sys/types.h>
8457 #ifdef HAVE_SYS_PARAM_H
8458 # include <sys/param.h>
8461 if test "x$ac_cv_header_sys_user_h" = xyes
8463 printf "%s\n" "#define HAVE_SYS_USER_H 1" >>confdefs.h
8466 ac_fn_c_check_header_compile
"$LINENO" "sys/vfs.h" "ac_cv_header_sys_vfs_h" "#include <sys/types.h>
8467 #ifdef HAVE_SYS_PARAM_H
8468 # include <sys/param.h>
8471 if test "x$ac_cv_header_sys_vfs_h" = xyes
8473 printf "%s\n" "#define HAVE_SYS_VFS_H 1" >>confdefs.h
8478 saved_sysctl_h_CFLAGS
=$CFLAGS
8479 test "x${GCC}" != xyes || CFLAGS
="$CFLAGS -Werror"
8480 ac_fn_c_check_header_compile
"$LINENO" "sys/sysctl.h" "ac_cv_header_sys_sysctl_h" "#include <sys/types.h>
8481 #ifdef HAVE_SYS_PARAM_H
8482 # include <sys/param.h>
8485 if test "x$ac_cv_header_sys_sysctl_h" = xyes
8487 printf "%s\n" "#define HAVE_SYS_SYSCTL_H 1" >>confdefs.h
8491 CFLAGS
=$saved_sysctl_h_CFLAGS
8493 ac_fn_c_check_header_compile
"$LINENO" "netinet/ip.h" "ac_cv_header_netinet_ip_h" "#include <sys/types.h>
8494 #include <sys/socket.h>
8495 #ifdef HAVE_SYS_SOCKETVAR_H
8496 # include <sys/socketvar.h>
8498 #ifdef HAVE_NET_ROUTE_H
8499 # include <net/route.h>
8501 #ifdef HAVE_NETINET_IN_H
8502 # include <netinet/in.h>
8504 #ifdef HAVE_NETINET_IN_SYSTM_H
8505 # include <netinet/in_systm.h>
8507 #ifdef HAVE_NET_IF_H
8508 # include <net/if.h>
8510 #ifdef HAVE_NETINET_IP_H
8511 # include <netinet/ip.h>
8514 if test "x$ac_cv_header_netinet_ip_h" = xyes
8516 printf "%s\n" "#define HAVE_NETINET_IP_H 1" >>confdefs.h
8519 ac_fn_c_check_header_compile
"$LINENO" "net/if.h" "ac_cv_header_net_if_h" "#include <sys/types.h>
8520 #include <sys/socket.h>
8521 #ifdef HAVE_SYS_SOCKETVAR_H
8522 # include <sys/socketvar.h>
8524 #ifdef HAVE_NET_ROUTE_H
8525 # include <net/route.h>
8527 #ifdef HAVE_NETINET_IN_H
8528 # include <netinet/in.h>
8530 #ifdef HAVE_NETINET_IN_SYSTM_H
8531 # include <netinet/in_systm.h>
8533 #ifdef HAVE_NET_IF_H
8534 # include <net/if.h>
8536 #ifdef HAVE_NETINET_IP_H
8537 # include <netinet/ip.h>
8540 if test "x$ac_cv_header_net_if_h" = xyes
8542 printf "%s\n" "#define HAVE_NET_IF_H 1" >>confdefs.h
8545 ac_fn_c_check_header_compile
"$LINENO" "net/if_arp.h" "ac_cv_header_net_if_arp_h" "#include <sys/types.h>
8546 #include <sys/socket.h>
8547 #ifdef HAVE_SYS_SOCKETVAR_H
8548 # include <sys/socketvar.h>
8550 #ifdef HAVE_NET_ROUTE_H
8551 # include <net/route.h>
8553 #ifdef HAVE_NETINET_IN_H
8554 # include <netinet/in.h>
8556 #ifdef HAVE_NETINET_IN_SYSTM_H
8557 # include <netinet/in_systm.h>
8559 #ifdef HAVE_NET_IF_H
8560 # include <net/if.h>
8562 #ifdef HAVE_NETINET_IP_H
8563 # include <netinet/ip.h>
8566 if test "x$ac_cv_header_net_if_arp_h" = xyes
8568 printf "%s\n" "#define HAVE_NET_IF_ARP_H 1" >>confdefs.h
8571 ac_fn_c_check_header_compile
"$LINENO" "net/if_dl.h" "ac_cv_header_net_if_dl_h" "#include <sys/types.h>
8572 #include <sys/socket.h>
8573 #ifdef HAVE_SYS_SOCKETVAR_H
8574 # include <sys/socketvar.h>
8576 #ifdef HAVE_NET_ROUTE_H
8577 # include <net/route.h>
8579 #ifdef HAVE_NETINET_IN_H
8580 # include <netinet/in.h>
8582 #ifdef HAVE_NETINET_IN_SYSTM_H
8583 # include <netinet/in_systm.h>
8585 #ifdef HAVE_NET_IF_H
8586 # include <net/if.h>
8588 #ifdef HAVE_NETINET_IP_H
8589 # include <netinet/ip.h>
8592 if test "x$ac_cv_header_net_if_dl_h" = xyes
8594 printf "%s\n" "#define HAVE_NET_IF_DL_H 1" >>confdefs.h
8597 ac_fn_c_check_header_compile
"$LINENO" "net/if_types.h" "ac_cv_header_net_if_types_h" "#include <sys/types.h>
8598 #include <sys/socket.h>
8599 #ifdef HAVE_SYS_SOCKETVAR_H
8600 # include <sys/socketvar.h>
8602 #ifdef HAVE_NET_ROUTE_H
8603 # include <net/route.h>
8605 #ifdef HAVE_NETINET_IN_H
8606 # include <netinet/in.h>
8608 #ifdef HAVE_NETINET_IN_SYSTM_H
8609 # include <netinet/in_systm.h>
8611 #ifdef HAVE_NET_IF_H
8612 # include <net/if.h>
8614 #ifdef HAVE_NETINET_IP_H
8615 # include <netinet/ip.h>
8618 if test "x$ac_cv_header_net_if_types_h" = xyes
8620 printf "%s\n" "#define HAVE_NET_IF_TYPES_H 1" >>confdefs.h
8623 ac_fn_c_check_header_compile
"$LINENO" "net/route.h" "ac_cv_header_net_route_h" "#include <sys/types.h>
8624 #include <sys/socket.h>
8625 #ifdef HAVE_SYS_SOCKETVAR_H
8626 # include <sys/socketvar.h>
8628 #ifdef HAVE_NET_ROUTE_H
8629 # include <net/route.h>
8631 #ifdef HAVE_NETINET_IN_H
8632 # include <netinet/in.h>
8634 #ifdef HAVE_NETINET_IN_SYSTM_H
8635 # include <netinet/in_systm.h>
8637 #ifdef HAVE_NET_IF_H
8638 # include <net/if.h>
8640 #ifdef HAVE_NETINET_IP_H
8641 # include <netinet/ip.h>
8644 if test "x$ac_cv_header_net_route_h" = xyes
8646 printf "%s\n" "#define HAVE_NET_ROUTE_H 1" >>confdefs.h
8649 ac_fn_c_check_header_compile
"$LINENO" "netinet/if_ether.h" "ac_cv_header_netinet_if_ether_h" "#include <sys/types.h>
8650 #include <sys/socket.h>
8651 #ifdef HAVE_SYS_SOCKETVAR_H
8652 # include <sys/socketvar.h>
8654 #ifdef HAVE_NET_ROUTE_H
8655 # include <net/route.h>
8657 #ifdef HAVE_NETINET_IN_H
8658 # include <netinet/in.h>
8660 #ifdef HAVE_NETINET_IN_SYSTM_H
8661 # include <netinet/in_systm.h>
8663 #ifdef HAVE_NET_IF_H
8664 # include <net/if.h>
8666 #ifdef HAVE_NETINET_IP_H
8667 # include <netinet/ip.h>
8670 if test "x$ac_cv_header_netinet_if_ether_h" = xyes
8672 printf "%s\n" "#define HAVE_NETINET_IF_ETHER_H 1" >>confdefs.h
8675 ac_fn_c_check_header_compile
"$LINENO" "netinet/in_pcb.h" "ac_cv_header_netinet_in_pcb_h" "#include <sys/types.h>
8676 #include <sys/socket.h>
8677 #ifdef HAVE_SYS_SOCKETVAR_H
8678 # include <sys/socketvar.h>
8680 #ifdef HAVE_NET_ROUTE_H
8681 # include <net/route.h>
8683 #ifdef HAVE_NETINET_IN_H
8684 # include <netinet/in.h>
8686 #ifdef HAVE_NETINET_IN_SYSTM_H
8687 # include <netinet/in_systm.h>
8689 #ifdef HAVE_NET_IF_H
8690 # include <net/if.h>
8692 #ifdef HAVE_NETINET_IP_H
8693 # include <netinet/ip.h>
8696 if test "x$ac_cv_header_netinet_in_pcb_h" = xyes
8698 printf "%s\n" "#define HAVE_NETINET_IN_PCB_H 1" >>confdefs.h
8701 ac_fn_c_check_header_compile
"$LINENO" "netinet/ip_icmp.h" "ac_cv_header_netinet_ip_icmp_h" "#include <sys/types.h>
8702 #include <sys/socket.h>
8703 #ifdef HAVE_SYS_SOCKETVAR_H
8704 # include <sys/socketvar.h>
8706 #ifdef HAVE_NET_ROUTE_H
8707 # include <net/route.h>
8709 #ifdef HAVE_NETINET_IN_H
8710 # include <netinet/in.h>
8712 #ifdef HAVE_NETINET_IN_SYSTM_H
8713 # include <netinet/in_systm.h>
8715 #ifdef HAVE_NET_IF_H
8716 # include <net/if.h>
8718 #ifdef HAVE_NETINET_IP_H
8719 # include <netinet/ip.h>
8722 if test "x$ac_cv_header_netinet_ip_icmp_h" = xyes
8724 printf "%s\n" "#define HAVE_NETINET_IP_ICMP_H 1" >>confdefs.h
8727 ac_fn_c_check_header_compile
"$LINENO" "netinet/ip_var.h" "ac_cv_header_netinet_ip_var_h" "#include <sys/types.h>
8728 #include <sys/socket.h>
8729 #ifdef HAVE_SYS_SOCKETVAR_H
8730 # include <sys/socketvar.h>
8732 #ifdef HAVE_NET_ROUTE_H
8733 # include <net/route.h>
8735 #ifdef HAVE_NETINET_IN_H
8736 # include <netinet/in.h>
8738 #ifdef HAVE_NETINET_IN_SYSTM_H
8739 # include <netinet/in_systm.h>
8741 #ifdef HAVE_NET_IF_H
8742 # include <net/if.h>
8744 #ifdef HAVE_NETINET_IP_H
8745 # include <netinet/ip.h>
8748 if test "x$ac_cv_header_netinet_ip_var_h" = xyes
8750 printf "%s\n" "#define HAVE_NETINET_IP_VAR_H 1" >>confdefs.h
8753 ac_fn_c_check_header_compile
"$LINENO" "netinet/udp.h" "ac_cv_header_netinet_udp_h" "#include <sys/types.h>
8754 #include <sys/socket.h>
8755 #ifdef HAVE_SYS_SOCKETVAR_H
8756 # include <sys/socketvar.h>
8758 #ifdef HAVE_NET_ROUTE_H
8759 # include <net/route.h>
8761 #ifdef HAVE_NETINET_IN_H
8762 # include <netinet/in.h>
8764 #ifdef HAVE_NETINET_IN_SYSTM_H
8765 # include <netinet/in_systm.h>
8767 #ifdef HAVE_NET_IF_H
8768 # include <net/if.h>
8770 #ifdef HAVE_NETINET_IP_H
8771 # include <netinet/ip.h>
8774 if test "x$ac_cv_header_netinet_udp_h" = xyes
8776 printf "%s\n" "#define HAVE_NETINET_UDP_H 1" >>confdefs.h
8779 ac_fn_c_check_header_compile
"$LINENO" "netinet6/ip6_var.h" "ac_cv_header_netinet6_ip6_var_h" "#include <sys/types.h>
8780 #include <sys/socket.h>
8781 #ifdef HAVE_SYS_SOCKETVAR_H
8782 # include <sys/socketvar.h>
8784 #ifdef HAVE_NET_ROUTE_H
8785 # include <net/route.h>
8787 #ifdef HAVE_NETINET_IN_H
8788 # include <netinet/in.h>
8790 #ifdef HAVE_NETINET_IN_SYSTM_H
8791 # include <netinet/in_systm.h>
8793 #ifdef HAVE_NET_IF_H
8794 # include <net/if.h>
8796 #ifdef HAVE_NETINET_IP_H
8797 # include <netinet/ip.h>
8800 if test "x$ac_cv_header_netinet6_ip6_var_h" = xyes
8802 printf "%s\n" "#define HAVE_NETINET6_IP6_VAR_H 1" >>confdefs.h
8805 ac_fn_c_check_header_compile
"$LINENO" "netipx/ipx.h" "ac_cv_header_netipx_ipx_h" "#include <sys/types.h>
8806 #include <sys/socket.h>
8807 #ifdef HAVE_SYS_SOCKETVAR_H
8808 # include <sys/socketvar.h>
8810 #ifdef HAVE_NET_ROUTE_H
8811 # include <net/route.h>
8813 #ifdef HAVE_NETINET_IN_H
8814 # include <netinet/in.h>
8816 #ifdef HAVE_NETINET_IN_SYSTM_H
8817 # include <netinet/in_systm.h>
8819 #ifdef HAVE_NET_IF_H
8820 # include <net/if.h>
8822 #ifdef HAVE_NETINET_IP_H
8823 # include <netinet/ip.h>
8826 if test "x$ac_cv_header_netipx_ipx_h" = xyes
8828 printf "%s\n" "#define HAVE_NETIPX_IPX_H 1" >>confdefs.h
8831 ac_fn_c_check_header_compile
"$LINENO" "sys/un.h" "ac_cv_header_sys_un_h" "#include <sys/types.h>
8832 #include <sys/socket.h>
8833 #ifdef HAVE_SYS_SOCKETVAR_H
8834 # include <sys/socketvar.h>
8836 #ifdef HAVE_NET_ROUTE_H
8837 # include <net/route.h>
8839 #ifdef HAVE_NETINET_IN_H
8840 # include <netinet/in.h>
8842 #ifdef HAVE_NETINET_IN_SYSTM_H
8843 # include <netinet/in_systm.h>
8845 #ifdef HAVE_NET_IF_H
8846 # include <net/if.h>
8848 #ifdef HAVE_NETINET_IP_H
8849 # include <netinet/ip.h>
8852 if test "x$ac_cv_header_sys_un_h" = xyes
8854 printf "%s\n" "#define HAVE_SYS_UN_H 1" >>confdefs.h
8859 ac_fn_c_check_header_compile
"$LINENO" "netinet/udp_var.h" "ac_cv_header_netinet_udp_var_h" "#include <sys/types.h>
8860 #include <sys/socket.h>
8861 #ifdef HAVE_SYS_SOCKETVAR_H
8862 # include <sys/socketvar.h>
8864 #ifdef HAVE_NETINET_IN_H
8865 # include <netinet/in.h>
8867 #ifdef HAVE_NETINET_IN_SYSTM_H
8868 # include <netinet/in_systm.h>
8870 #ifdef HAVE_NETINET_IP_H
8871 # include <netinet/ip.h>
8873 #ifdef HAVE_NETINET_IP_VAR_H
8874 # include <netinet/ip_var.h>
8876 #ifdef HAVE_NETINET_IP_ICMP_H
8877 # include <netinet/ip_icmp.h>
8879 #ifdef HAVE_NETINET_UDP_H
8880 # include <netinet/udp.h>
8882 #ifdef HAVE_NETINET_TCP_H
8883 # include <netinet/tcp.h>
8886 if test "x$ac_cv_header_netinet_udp_var_h" = xyes
8888 printf "%s\n" "#define HAVE_NETINET_UDP_VAR_H 1" >>confdefs.h
8891 ac_fn_c_check_header_compile
"$LINENO" "netinet/icmp_var.h" "ac_cv_header_netinet_icmp_var_h" "#include <sys/types.h>
8892 #include <sys/socket.h>
8893 #ifdef HAVE_SYS_SOCKETVAR_H
8894 # include <sys/socketvar.h>
8896 #ifdef HAVE_NETINET_IN_H
8897 # include <netinet/in.h>
8899 #ifdef HAVE_NETINET_IN_SYSTM_H
8900 # include <netinet/in_systm.h>
8902 #ifdef HAVE_NETINET_IP_H
8903 # include <netinet/ip.h>
8905 #ifdef HAVE_NETINET_IP_VAR_H
8906 # include <netinet/ip_var.h>
8908 #ifdef HAVE_NETINET_IP_ICMP_H
8909 # include <netinet/ip_icmp.h>
8911 #ifdef HAVE_NETINET_UDP_H
8912 # include <netinet/udp.h>
8914 #ifdef HAVE_NETINET_TCP_H
8915 # include <netinet/tcp.h>
8918 if test "x$ac_cv_header_netinet_icmp_var_h" = xyes
8920 printf "%s\n" "#define HAVE_NETINET_ICMP_VAR_H 1" >>confdefs.h
8923 ac_fn_c_check_header_compile
"$LINENO" "netinet/icmp6.h" "ac_cv_header_netinet_icmp6_h" "#include <sys/types.h>
8924 #include <sys/socket.h>
8925 #ifdef HAVE_SYS_SOCKETVAR_H
8926 # include <sys/socketvar.h>
8928 #ifdef HAVE_NETINET_IN_H
8929 # include <netinet/in.h>
8931 #ifdef HAVE_NETINET_IN_SYSTM_H
8932 # include <netinet/in_systm.h>
8934 #ifdef HAVE_NETINET_IP_H
8935 # include <netinet/ip.h>
8937 #ifdef HAVE_NETINET_IP_VAR_H
8938 # include <netinet/ip_var.h>
8940 #ifdef HAVE_NETINET_IP_ICMP_H
8941 # include <netinet/ip_icmp.h>
8943 #ifdef HAVE_NETINET_UDP_H
8944 # include <netinet/udp.h>
8946 #ifdef HAVE_NETINET_TCP_H
8947 # include <netinet/tcp.h>
8950 if test "x$ac_cv_header_netinet_icmp6_h" = xyes
8952 printf "%s\n" "#define HAVE_NETINET_ICMP6_H 1" >>confdefs.h
8955 ac_fn_c_check_header_compile
"$LINENO" "netinet/tcp_var.h" "ac_cv_header_netinet_tcp_var_h" "#include <sys/types.h>
8956 #include <sys/socket.h>
8957 #ifdef HAVE_SYS_SOCKETVAR_H
8958 # include <sys/socketvar.h>
8960 #ifdef HAVE_NETINET_IN_H
8961 # include <netinet/in.h>
8963 #ifdef HAVE_NETINET_IN_SYSTM_H
8964 # include <netinet/in_systm.h>
8966 #ifdef HAVE_NETINET_IP_H
8967 # include <netinet/ip.h>
8969 #ifdef HAVE_NETINET_IP_VAR_H
8970 # include <netinet/ip_var.h>
8972 #ifdef HAVE_NETINET_IP_ICMP_H
8973 # include <netinet/ip_icmp.h>
8975 #ifdef HAVE_NETINET_UDP_H
8976 # include <netinet/udp.h>
8978 #ifdef HAVE_NETINET_TCP_H
8979 # include <netinet/tcp.h>
8982 if test "x$ac_cv_header_netinet_tcp_var_h" = xyes
8984 printf "%s\n" "#define HAVE_NETINET_TCP_VAR_H 1" >>confdefs.h
8989 ac_fn_c_check_header_compile
"$LINENO" "linux/ipx.h" "ac_cv_header_linux_ipx_h" "#include <sys/types.h>
8990 #include <sys/socket.h>
8991 #ifdef HAVE_ASM_TYPES_H
8992 # include <asm/types.h>
8994 #ifdef HAVE_LINUX_TYPES_H
8995 # include <linux/types.h>
8998 if test "x$ac_cv_header_linux_ipx_h" = xyes
9000 printf "%s\n" "#define HAVE_LINUX_IPX_H 1" >>confdefs.h
9003 ac_fn_c_check_header_compile
"$LINENO" "linux/irda.h" "ac_cv_header_linux_irda_h" "#include <sys/types.h>
9004 #include <sys/socket.h>
9005 #ifdef HAVE_ASM_TYPES_H
9006 # include <asm/types.h>
9008 #ifdef HAVE_LINUX_TYPES_H
9009 # include <linux/types.h>
9012 if test "x$ac_cv_header_linux_irda_h" = xyes
9014 printf "%s\n" "#define HAVE_LINUX_IRDA_H 1" >>confdefs.h
9017 ac_fn_c_check_header_compile
"$LINENO" "linux/rtnetlink.h" "ac_cv_header_linux_rtnetlink_h" "#include <sys/types.h>
9018 #include <sys/socket.h>
9019 #ifdef HAVE_ASM_TYPES_H
9020 # include <asm/types.h>
9022 #ifdef HAVE_LINUX_TYPES_H
9023 # include <linux/types.h>
9026 if test "x$ac_cv_header_linux_rtnetlink_h" = xyes
9028 printf "%s\n" "#define HAVE_LINUX_RTNETLINK_H 1" >>confdefs.h
9033 ac_fn_c_check_header_compile
"$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
9034 #include <sys/socket.h>
9035 #ifdef HAVE_NETINET_IN_H
9036 # include <netinet/in.h>
9038 #ifdef HAVE_ARPA_NAMESER_H
9039 # include <arpa/nameser.h>
9042 if test "x$ac_cv_header_resolv_h" = xyes
9044 printf "%s\n" "#define HAVE_RESOLV_H 1" >>confdefs.h
9049 ac_fn_c_check_header_compile
"$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
9051 if test "x$ac_cv_header_ifaddrs_h" = xyes
9053 printf "%s\n" "#define HAVE_IFADDRS_H 1" >>confdefs.h
9058 ac_fn_c_check_header_compile
"$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
9060 if test "x$ac_cv_header_sys_ucontext_h" = xyes
9062 printf "%s\n" "#define HAVE_SYS_UCONTEXT_H 1" >>confdefs.h
9067 ac_fn_c_check_header_compile
"$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
9068 #ifdef HAVE_SYS_UCONTEXT_H
9069 #include <sys/ucontext.h>
9072 if test "x$ac_cv_header_sys_thr_h" = xyes
9074 printf "%s\n" "#define HAVE_SYS_THR_H 1" >>confdefs.h
9079 ac_fn_c_check_header_compile
"$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#include <pthread.h>
9081 if test "x$ac_cv_header_pthread_np_h" = xyes
9083 printf "%s\n" "#define HAVE_PTHREAD_NP_H 1" >>confdefs.h
9088 ac_fn_c_check_header_compile
"$LINENO" "linux/videodev2.h" "ac_cv_header_linux_videodev2_h" "#include <sys/time.h>
9089 #include <sys/types.h>
9090 #ifdef HAVE_ASM_TYPES_H
9091 #include <asm/types.h>
9094 if test "x$ac_cv_header_linux_videodev2_h" = xyes
9096 printf "%s\n" "#define HAVE_LINUX_VIDEODEV2_H 1" >>confdefs.h
9101 ac_fn_c_check_header_compile
"$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
9102 #include <sys/param.h>
9104 #include <sys/socket.h>
9105 #ifdef HAVE_SYS_QUEUE_H
9106 #include <sys/queue.h>
9109 if test "x$ac_cv_header_libprocstat_h" = xyes
9111 printf "%s\n" "#define HAVE_LIBPROCSTAT_H 1" >>confdefs.h
9116 if test "x$ac_cv_header_sys_xattr_h" = xyes
9118 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether getxattr takes additional arguments" >&5
9119 printf %s
"checking whether getxattr takes additional arguments... " >&6; }
9120 if test ${wine_cv_xattr_extra_args+y}
9122 printf %s
"(cached) " >&6
9124 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9125 /* end confdefs.h. */
9126 #include <sys/xattr.h>
9130 getxattr("", "", "", 0, 0, 0);
9135 if ac_fn_c_try_compile
"$LINENO"
9137 wine_cv_xattr_extra_args
=yes
9139 wine_cv_xattr_extra_args
=no
9141 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
9143 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_xattr_extra_args" >&5
9144 printf "%s\n" "$wine_cv_xattr_extra_args" >&6; }
9145 test $wine_cv_xattr_extra_args != yes ||
9146 printf "%s\n" "#define XATTR_ADDITIONAL_OPTIONS 1" >>confdefs.h
9159 UNIXDLLFLAGS
="-fPIC"
9161 UNIXLDFLAGS
="-shared -Wl,-Bsymbolic -Wl,-soname,\$(UNIXLIB)"
9167 WINELOADER_LDFLAGS
=""
9169 WINEPRELOADER_LDFLAGS
=""
9174 # Extract the first word of "ldd", so it can be a program name with args.
9175 set dummy ldd
; ac_word
=$2
9176 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9177 printf %s
"checking for $ac_word... " >&6; }
9178 if test ${ac_cv_path_LDD+y}
9180 printf %s
"(cached) " >&6
9184 ac_cv_path_LDD
="$LDD" # Let the user override the test with a path.
9187 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9188 as_dummy
="/sbin:/usr/sbin:$PATH"
9189 for as_dir
in $as_dummy
9192 case $as_dir in #(((
9195 *) as_dir
=$as_dir/ ;;
9197 for ac_exec_ext
in '' $ac_executable_extensions; do
9198 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
9199 ac_cv_path_LDD
="$as_dir$ac_word$ac_exec_ext"
9200 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9207 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD
="true"
9212 if test -n "$LDD"; then
9213 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
9214 printf "%s\n" "$LDD" >&6; }
9216 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9217 printf "%s\n" "no" >&6; }
9221 if test -n "$ac_tool_prefix"; then
9222 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
9223 set dummy
${ac_tool_prefix}otool
; ac_word
=$2
9224 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9225 printf %s
"checking for $ac_word... " >&6; }
9226 if test ${ac_cv_prog_OTOOL+y}
9228 printf %s
"(cached) " >&6
9230 if test -n "$OTOOL"; then
9231 ac_cv_prog_OTOOL
="$OTOOL" # Let the user override the test.
9233 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9237 case $as_dir in #(((
9240 *) as_dir
=$as_dir/ ;;
9242 for ac_exec_ext
in '' $ac_executable_extensions; do
9243 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
9244 ac_cv_prog_OTOOL
="${ac_tool_prefix}otool"
9245 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9254 OTOOL
=$ac_cv_prog_OTOOL
9255 if test -n "$OTOOL"; then
9256 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
9257 printf "%s\n" "$OTOOL" >&6; }
9259 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9260 printf "%s\n" "no" >&6; }
9265 if test -z "$ac_cv_prog_OTOOL"; then
9267 # Extract the first word of "otool", so it can be a program name with args.
9268 set dummy otool
; ac_word
=$2
9269 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9270 printf %s
"checking for $ac_word... " >&6; }
9271 if test ${ac_cv_prog_ac_ct_OTOOL+y}
9273 printf %s
"(cached) " >&6
9275 if test -n "$ac_ct_OTOOL"; then
9276 ac_cv_prog_ac_ct_OTOOL
="$ac_ct_OTOOL" # Let the user override the test.
9278 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9282 case $as_dir in #(((
9285 *) as_dir
=$as_dir/ ;;
9287 for ac_exec_ext
in '' $ac_executable_extensions; do
9288 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
9289 ac_cv_prog_ac_ct_OTOOL
="otool"
9290 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9299 ac_ct_OTOOL
=$ac_cv_prog_ac_ct_OTOOL
9300 if test -n "$ac_ct_OTOOL"; then
9301 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
9302 printf "%s\n" "$ac_ct_OTOOL" >&6; }
9304 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9305 printf "%s\n" "no" >&6; }
9308 if test "x$ac_ct_OTOOL" = x
; then
9311 case $cross_compiling:$ac_tool_warned in
9313 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9314 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9315 ac_tool_warned
=yes ;;
9320 OTOOL
="$ac_cv_prog_OTOOL"
9323 if test -n "$ac_tool_prefix"; then
9324 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
9325 set dummy
${ac_tool_prefix}readelf
; ac_word
=$2
9326 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9327 printf %s
"checking for $ac_word... " >&6; }
9328 if test ${ac_cv_prog_READELF+y}
9330 printf %s
"(cached) " >&6
9332 if test -n "$READELF"; then
9333 ac_cv_prog_READELF
="$READELF" # Let the user override the test.
9335 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9339 case $as_dir in #(((
9342 *) as_dir
=$as_dir/ ;;
9344 for ac_exec_ext
in '' $ac_executable_extensions; do
9345 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
9346 ac_cv_prog_READELF
="${ac_tool_prefix}readelf"
9347 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9356 READELF
=$ac_cv_prog_READELF
9357 if test -n "$READELF"; then
9358 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
9359 printf "%s\n" "$READELF" >&6; }
9361 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9362 printf "%s\n" "no" >&6; }
9367 if test -z "$ac_cv_prog_READELF"; then
9368 ac_ct_READELF
=$READELF
9369 # Extract the first word of "readelf", so it can be a program name with args.
9370 set dummy readelf
; ac_word
=$2
9371 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9372 printf %s
"checking for $ac_word... " >&6; }
9373 if test ${ac_cv_prog_ac_ct_READELF+y}
9375 printf %s
"(cached) " >&6
9377 if test -n "$ac_ct_READELF"; then
9378 ac_cv_prog_ac_ct_READELF
="$ac_ct_READELF" # Let the user override the test.
9380 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9384 case $as_dir in #(((
9387 *) as_dir
=$as_dir/ ;;
9389 for ac_exec_ext
in '' $ac_executable_extensions; do
9390 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
9391 ac_cv_prog_ac_ct_READELF
="readelf"
9392 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9401 ac_ct_READELF
=$ac_cv_prog_ac_ct_READELF
9402 if test -n "$ac_ct_READELF"; then
9403 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
9404 printf "%s\n" "$ac_ct_READELF" >&6; }
9406 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9407 printf "%s\n" "no" >&6; }
9410 if test "x$ac_ct_READELF" = x
; then
9413 case $cross_compiling:$ac_tool_warned in
9415 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9416 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9417 ac_tool_warned
=yes ;;
9419 READELF
=$ac_ct_READELF
9422 READELF
="$ac_cv_prog_READELF"
9430 CONFIGURE_TARGETS
=""
9433 wine_fn_config_makefile
()
9435 as_fn_append SUBDIRS
" \\$as_nl $1"
9438 no
) as_fn_append DISABLED_SUBDIRS
" $1" ;;
9440 *aarch64
*|
*arm
*|
*i386
*|
*x86_64
*)
9441 if test -n "$PE_ARCHS"
9445 test $
(expr ",$enable," : ".*,$i,") -gt 0 || as_fn_append
${i}_DISABLED_SUBDIRS
" $1"
9448 test $
(expr ",$enable," : ".*,$HOST_ARCH,") -gt 0 || as_fn_append DISABLED_SUBDIRS
" $1"
9451 case "$1, $PE_ARCHS " in
9452 programs
/*,*\ arm64ec\
*) as_fn_append arm64ec_DISABLED_SUBDIRS
" $1" ;;
9457 wine_fn_config_symlink
()
9460 as_fn_append wine_rules
"
9462 @./config.status \$@"
9463 for f
in $ac_links; do as_fn_append CONFIGURE_TARGETS
" $f"; done
9470 EXTRACFLAGS
="-D__WINE_PE_BUILD"
9471 if test "x$HOST_ARCH" = xi386
9473 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--disable-stdcall-fixup" >&5
9474 printf %s
"checking whether the compiler supports -Wl,--disable-stdcall-fixup... " >&6; }
9475 if test ${ac_cv_cflags__Wl___disable_stdcall_fixup+y}
9477 printf %s
"(cached) " >&6
9479 ac_wine_try_cflags_saved
=$CFLAGS
9480 CFLAGS
="$CFLAGS -Wl,--disable-stdcall-fixup"
9481 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9482 /* end confdefs.h. */
9483 int main(int argc, char **argv) { return 0; }
9485 if ac_fn_c_try_link
"$LINENO"
9487 ac_cv_cflags__Wl___disable_stdcall_fixup
=yes
9489 ac_cv_cflags__Wl___disable_stdcall_fixup
=no
9491 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
9492 conftest
$ac_exeext conftest.
$ac_ext
9493 CFLAGS
=$ac_wine_try_cflags_saved
9495 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___disable_stdcall_fixup" >&5
9496 printf "%s\n" "$ac_cv_cflags__Wl___disable_stdcall_fixup" >&6; }
9497 if test "x$ac_cv_cflags__Wl___disable_stdcall_fixup" = xyes
9499 LDDLLFLAGS
="-Wl,--disable-stdcall-fixup"
9502 enable_loader
=${enable_loader:-no}
9503 enable_server
=${enable_server:-no}
9504 with_x
=${with_x:-no}
9505 with_pthread
=${with_pthread:-no}
9510 DLLFLAGS
="$DLLFLAGS -fPIC"
9512 enable_winemac_drv
=${enable_winemac_drv:-yes}
9513 CARBON_LIBS
="-framework Carbon"
9515 COREFOUNDATION_LIBS
="-framework CoreFoundation"
9517 DISKARBITRATION_LIBS
="-framework DiskArbitration -framework CoreFoundation"
9519 IOKIT_LIBS
="-framework IOKit -framework CoreFoundation"
9521 METAL_LIBS
="-framework Metal"
9523 APPLICATIONSERVICES_LIBS
="-framework ApplicationServices"
9525 CORESERVICES_LIBS
="-framework CoreServices"
9527 APPKIT_LIBS
="-framework AppKit"
9529 SECURITY_LIBS
="-framework Security -framework CoreFoundation"
9531 SYSTEMCONFIGURATION_LIBS
="-framework SystemConfiguration"
9534 WINELOADER_LDFLAGS
="-Wl,-segalign,0x1000,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,loader/wine_info.plist"
9537 i386
) wine_use_preloader
=yes ;;
9539 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_huge" >&5
9540 printf %s
"checking whether the compiler supports -Wl,-no_huge... " >&6; }
9541 if test ${ac_cv_cflags__Wl__no_huge+y}
9543 printf %s
"(cached) " >&6
9545 ac_wine_try_cflags_saved
=$CFLAGS
9546 CFLAGS
="$CFLAGS -Wl,-no_huge"
9547 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9548 /* end confdefs.h. */
9549 int main(int argc, char **argv) { return 0; }
9551 if ac_fn_c_try_link
"$LINENO"
9553 ac_cv_cflags__Wl__no_huge
=yes
9555 ac_cv_cflags__Wl__no_huge
=no
9557 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
9558 conftest
$ac_exeext conftest.
$ac_ext
9559 CFLAGS
=$ac_wine_try_cflags_saved
9561 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_huge" >&5
9562 printf "%s\n" "$ac_cv_cflags__Wl__no_huge" >&6; }
9563 if test "x$ac_cv_cflags__Wl__no_huge" = xyes
9565 wine_use_preloader
=no
9566 WINELOADER_LDFLAGS
="$WINELOADER_LDFLAGS -Wl,-no_pie,-image_base,0x200000000,-no_huge,-no_fixup_chains,-segalign,0x1000,-segaddr,WINE_RESERVE,0x1000,-segaddr,WINE_TOP_DOWN,0x7ff000000000"
9568 wine_use_preloader
=yes
9571 *) wine_use_preloader
=no
;;
9574 if test "$wine_use_preloader" = "yes"
9576 WINEPRELOADER_LDFLAGS
="-nostartfiles -nodefaultlibs -e _start -ldylib1.o -mmacosx-version-min=10.7 -Wl,-no_new_main,-segalign,0x1000,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,loader/wine_info.plist"
9577 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
9578 printf %s
"checking whether the compiler supports -Wl,-no_pie... " >&6; }
9579 if test ${ac_cv_cflags__Wl__no_pie+y}
9581 printf %s
"(cached) " >&6
9583 ac_wine_try_cflags_saved
=$CFLAGS
9584 CFLAGS
="$CFLAGS -Wl,-no_pie"
9585 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9586 /* end confdefs.h. */
9587 int main(int argc, char **argv) { return 0; }
9589 if ac_fn_c_try_link
"$LINENO"
9591 ac_cv_cflags__Wl__no_pie
=yes
9593 ac_cv_cflags__Wl__no_pie
=no
9595 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
9596 conftest
$ac_exeext conftest.
$ac_ext
9597 CFLAGS
=$ac_wine_try_cflags_saved
9599 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
9600 printf "%s\n" "$ac_cv_cflags__Wl__no_pie" >&6; }
9601 if test "x$ac_cv_cflags__Wl__no_pie" = xyes
9603 WINEPRELOADER_LDFLAGS
="-Wl,-no_pie $WINEPRELOADER_LDFLAGS"
9607 WINEPRELOADER_LDFLAGS
="-Wl,-image_base,0x7d400000 $WINEPRELOADER_LDFLAGS"
9610 WINEPRELOADER_LDFLAGS
="-Wl,-image_base,0x200000000,-segalign,0x1000,-segaddr,WINE_RESERVE,0x1000 $WINEPRELOADER_LDFLAGS"
9613 WINELOADER_LDFLAGS
="$WINELOADER_LDFLAGS -mmacosx-version-min=10.7"
9616 if test "x$with_coreaudio" != "xno";
9618 COREAUDIO_LIBS
="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
9620 enable_winecoreaudio_drv
=${enable_winecoreaudio_drv:-yes}
9622 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
9624 OPENCL_LIBS
="-framework OpenCL"
9626 ac_cv_lib_OpenCL_clGetPlatformInfo
=yes
9629 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether MTLDevice protocol supports registryID property" >&5
9630 printf %s
"checking whether MTLDevice protocol supports registryID property... " >&6; }
9632 ac_cpp
='$OBJCPP $CPPFLAGS'
9633 ac_compile
='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9634 ac_link
='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9635 ac_compiler_gnu
=$ac_cv_objc_compiler_gnu
9638 ac_cpp
='$OBJCPP $CPPFLAGS'
9639 ac_compile
='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9640 ac_link
='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9641 ac_compiler_gnu
=$ac_cv_objc_compiler_gnu
9642 if test -n "$ac_tool_prefix"; then
9643 for ac_prog
in gcc objcc objc cc CC clang
9645 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
9646 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
9647 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9648 printf %s
"checking for $ac_word... " >&6; }
9649 if test ${ac_cv_prog_OBJC+y}
9651 printf %s
"(cached) " >&6
9653 if test -n "$OBJC"; then
9654 ac_cv_prog_OBJC
="$OBJC" # Let the user override the test.
9656 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9660 case $as_dir in #(((
9663 *) as_dir
=$as_dir/ ;;
9665 for ac_exec_ext
in '' $ac_executable_extensions; do
9666 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
9667 ac_cv_prog_OBJC
="$ac_tool_prefix$ac_prog"
9668 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9677 OBJC
=$ac_cv_prog_OBJC
9678 if test -n "$OBJC"; then
9679 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OBJC" >&5
9680 printf "%s\n" "$OBJC" >&6; }
9682 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9683 printf "%s\n" "no" >&6; }
9687 test -n "$OBJC" && break
9690 if test -z "$OBJC"; then
9692 for ac_prog
in gcc objcc objc cc CC clang
9694 # Extract the first word of "$ac_prog", so it can be a program name with args.
9695 set dummy
$ac_prog; ac_word
=$2
9696 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9697 printf %s
"checking for $ac_word... " >&6; }
9698 if test ${ac_cv_prog_ac_ct_OBJC+y}
9700 printf %s
"(cached) " >&6
9702 if test -n "$ac_ct_OBJC"; then
9703 ac_cv_prog_ac_ct_OBJC
="$ac_ct_OBJC" # Let the user override the test.
9705 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9709 case $as_dir in #(((
9712 *) as_dir
=$as_dir/ ;;
9714 for ac_exec_ext
in '' $ac_executable_extensions; do
9715 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
9716 ac_cv_prog_ac_ct_OBJC
="$ac_prog"
9717 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9726 ac_ct_OBJC
=$ac_cv_prog_ac_ct_OBJC
9727 if test -n "$ac_ct_OBJC"; then
9728 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJC" >&5
9729 printf "%s\n" "$ac_ct_OBJC" >&6; }
9731 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9732 printf "%s\n" "no" >&6; }
9736 test -n "$ac_ct_OBJC" && break
9739 if test "x$ac_ct_OBJC" = x
; then
9742 case $cross_compiling:$ac_tool_warned in
9744 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9745 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9746 ac_tool_warned
=yes ;;
9752 # Provide some information about the compiler.
9753 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for Objective C compiler version" >&5
9756 for ac_option
in --version -v -V -qversion; do
9757 { { ac_try
="$ac_compiler $ac_option >&5"
9759 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9760 *) ac_try_echo=$ac_try;;
9762 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
9763 printf "%s\n" "$ac_try_echo"; } >&5
9764 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
9766 if test -s conftest.err; then
9768 ... rest of stderr output deleted ...
9769 10q' conftest.err >conftest.er1
9770 cat conftest.er1 >&5
9772 rm -f conftest.er1 conftest.err
9773 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9774 test $ac_status = 0; }
9777 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU Objective C" >&5
9778 printf %s "checking whether the compiler supports GNU Objective C... " >&6; }
9779 if test ${ac_cv_objc_compiler_gnu+y}
9781 printf %s "(cached) " >&6
9783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9784 /* end confdefs.h. */
9797 if ac_fn_objc_try_compile "$LINENO"
9803 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9804 ac_cv_objc_compiler_gnu=$ac_compiler_gnu
9807 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objc_compiler_gnu" >&5
9808 printf "%s\n" "$ac_cv_objc_compiler_gnu" >&6; }
9809 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9811 if test $ac_compiler_gnu = yes; then
9816 ac_test_OBJCFLAGS=${OBJCFLAGS+y}
9817 ac_save_OBJCFLAGS=$OBJCFLAGS
9818 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $OBJC accepts -g" >&5
9819 printf %s "checking whether $OBJC accepts -g... " >&6; }
9820 if test ${ac_cv_prog_objc_g+y}
9822 printf %s "(cached) " >&6
9824 ac_save_objc_werror_flag=$ac_objc_werror_flag
9825 ac_objc_werror_flag=yes
9826 ac_cv_prog_objc_g=no
9828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9829 /* end confdefs.h. */
9839 if ac_fn_objc_try_compile "$LINENO"
9841 ac_cv_prog_objc_g=yes
9844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9845 /* end confdefs.h. */
9855 if ac_fn_objc_try_compile "$LINENO"
9859 ac_objc_werror_flag=$ac_save_objc_werror_flag
9861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9862 /* end confdefs.h. */
9872 if ac_fn_objc_try_compile "$LINENO"
9874 ac_cv_prog_objc_g=yes
9876 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9878 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9880 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9881 ac_objc_werror_flag=$ac_save_objc_werror_flag
9883 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objc_g" >&5
9884 printf "%s\n" "$ac_cv_prog_objc_g" >&6; }
9885 if test $ac_test_OBJCFLAGS; then
9886 OBJCFLAGS=$ac_save_OBJCFLAGS
9887 elif test $ac_cv_prog_objc_g = yes; then
9888 if test "$GOBJC" = yes; then
9894 if test "$GOBJC" = yes; then
9901 ac_cpp='$OBJCPP $CPPFLAGS'
9902 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9903 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9904 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9908 /* end confdefs.h. */
9909 #include <Metal/Metal.h>
9913 id<MTLDevice> device; device.registryID;
9918 if ac_fn_objc_try_compile "$LINENO"
9920 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9921 printf "%s\n" "yes" >&6; }
9923 printf "%s\n" "#define HAVE_MTLDEVICE_REGISTRYID 1" >>confdefs.h
9926 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9927 printf "%s\n" "no" >&6; }
9929 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9931 ac_cpp='$CPP $CPPFLAGS'
9932 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9933 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9934 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9937 UNIXLDFLAGS="-dynamiclib -install_name @rpath/\$(UNIXLIB) -Wl,-rpath,@loader_path\/"
9938 WINELOADER_DEPENDS="wine_info.plist"
9944 printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h
9946 DLLFLAGS="$DLLFLAGS -fPIC"
9948 LDEXECFLAGS="-Wl,-pie"
9949 enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
9950 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,defs" >&5
9951 printf %s "checking whether the compiler supports -Wl,-z,defs... " >&6; }
9952 if test ${ac_cv_cflags__Wl__z_defs+y}
9954 printf %s "(cached) " >&6
9956 ac_wine_try_cflags_saved=$CFLAGS
9957 CFLAGS="$CFLAGS -Wl,-z,defs"
9958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9959 /* end confdefs.h. */
9960 int main(int argc, char **argv) { return 0; }
9962 if ac_fn_c_try_link "$LINENO"
9964 ac_cv_cflags__Wl__z_defs=yes
9966 ac_cv_cflags__Wl__z_defs=no
9968 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9969 conftest$ac_exeext conftest.$ac_ext
9970 CFLAGS=$ac_wine_try_cflags_saved
9972 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_defs" >&5
9973 printf "%s\n" "$ac_cv_cflags__Wl__z_defs" >&6; }
9974 if test "x$ac_cv_cflags__Wl__z_defs" = xyes
9976 UNIXLDFLAGS="$UNIXLDFLAGS -Wl,-z,defs"
9978 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
9979 printf %s "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
9980 if test ${ac_cv_cflags__fPIC__Wl___export_dynamic+y}
9982 printf %s "(cached) " >&6
9984 ac_wine_try_cflags_saved=$CFLAGS
9985 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
9986 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9987 /* end confdefs.h. */
9988 int main(int argc, char **argv) { return 0; }
9990 if ac_fn_c_try_link "$LINENO"
9992 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
9994 ac_cv_cflags__fPIC__Wl___export_dynamic=no
9996 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9997 conftest$ac_exeext conftest.$ac_ext
9998 CFLAGS=$ac_wine_try_cflags_saved
10000 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
10001 printf "%s\n" "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
10002 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes
10004 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
10006 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
10008 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
10009 printf %s "checking for -lEGL... " >&6; }
10010 if test ${ac_cv_lib_soname_EGL+y}
10012 printf %s "(cached) " >&6
10014 ac_check_soname_save_LIBS=$LIBS
10016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10017 /* end confdefs.h. */
10019 /* Override any GCC internal prototype to avoid an error.
10020 Use char because int might match the return type of a GCC
10021 builtin and then its argument prototype would still apply. */
10022 char eglGetProcAddress ();
10026 return eglGetProcAddress ();
10031 if ac_fn_c_try_link "$LINENO"
10034 dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe |
grep "EGL" |
sed -e "s/dll.*/dll/"';2,$d'` ;;
10035 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'` ;;
10036 *) ac_cv_lib_soname_EGL=`$READELF -d conftest
$ac_exeext |
grep "NEEDED.*libEGL\\.$LIBEXT" |
sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10037 if ${ac_cv_lib_soname_EGL:+false} :
10039 ac_cv_lib_soname_EGL=`$LDD conftest
$ac_exeext |
grep "libEGL\\.$LIBEXT" |
sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10043 ac_cv_lib_soname_EGL=
10045 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10046 conftest$ac_exeext conftest.$ac_ext
10047 LIBS=$ac_check_soname_save_LIBS
10049 if ${ac_cv_lib_soname_EGL:+false} :
10051 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10052 printf "%s\n" "not found" >&6; }
10055 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
10056 printf "%s\n" "$ac_cv_lib_soname_EGL" >&6; }
10058 printf "%s\n" "#define SONAME_LIBEGL \"$ac_cv_lib_soname_EGL\"" >>confdefs.h
10062 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
10063 printf %s "checking for -lGLESv2... " >&6; }
10064 if test ${ac_cv_lib_soname_GLESv2+y}
10066 printf %s "(cached) " >&6
10068 ac_check_soname_save_LIBS=$LIBS
10069 LIBS="-lGLESv2 $LIBS"
10070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10071 /* end confdefs.h. */
10073 /* Override any GCC internal prototype to avoid an error.
10074 Use char because int might match the return type of a GCC
10075 builtin and then its argument prototype would still apply. */
10085 if ac_fn_c_try_link "$LINENO"
10088 dll) ac_cv_lib_soname_GLESv2=`$ac_cv_path_LDD conftest.exe |
grep "GLESv2" |
sed -e "s/dll.*/dll/"';2,$d'` ;;
10089 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'` ;;
10090 *) ac_cv_lib_soname_GLESv2=`$READELF -d conftest
$ac_exeext |
grep "NEEDED.*libGLESv2\\.$LIBEXT" |
sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10091 if ${ac_cv_lib_soname_GLESv2:+false} :
10093 ac_cv_lib_soname_GLESv2=`$LDD conftest
$ac_exeext |
grep "libGLESv2\\.$LIBEXT" |
sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10097 ac_cv_lib_soname_GLESv2=
10099 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10100 conftest$ac_exeext conftest.$ac_ext
10101 LIBS=$ac_check_soname_save_LIBS
10103 if ${ac_cv_lib_soname_GLESv2:+false} :
10105 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10106 printf "%s\n" "not found" >&6; }
10109 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
10110 printf "%s\n" "$ac_cv_lib_soname_GLESv2" >&6; }
10112 printf "%s\n" "#define SONAME_LIBGLESV2 \"$ac_cv_lib_soname_GLESv2\"" >>confdefs.h
10117 if test "x$exec_prefix" = xNONE
10120 i386) exec_prefix='${prefix}/x86' ;;
10121 x86_64) exec_prefix='${prefix}/x86_64' ;;
10122 arm) exec_prefix='${prefix}/armeabi-v7a' ;;
10123 aarch64) exec_prefix='${prefix}/arm64-v8a' ;;
10130 printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h
10132 if test $HOST_ARCH = i386
10134 DLLFLAGS="$DLLFLAGS -fno-PIC"
10135 LDDLLFLAGS="-fno-PIC"
10136 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-PIC -Wl,-z,notext" >&5
10137 printf %s "checking whether the compiler supports -fno-PIC -Wl,-z,notext... " >&6; }
10138 if test ${ac_cv_cflags__fno_PIC__Wl__z_notext+y}
10140 printf %s "(cached) " >&6
10142 ac_wine_try_cflags_saved=$CFLAGS
10143 CFLAGS="$CFLAGS -fno-PIC -Wl,-z,notext"
10144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10145 /* end confdefs.h. */
10146 int main(int argc, char **argv) { return 0; }
10148 if ac_fn_c_try_link "$LINENO"
10150 ac_cv_cflags__fno_PIC__Wl__z_notext=yes
10152 ac_cv_cflags__fno_PIC__Wl__z_notext=no
10154 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10155 conftest$ac_exeext conftest.$ac_ext
10156 CFLAGS=$ac_wine_try_cflags_saved
10158 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_PIC__Wl__z_notext" >&5
10159 printf "%s\n" "$ac_cv_cflags__fno_PIC__Wl__z_notext" >&6; }
10160 if test "x$ac_cv_cflags__fno_PIC__Wl__z_notext" = xyes
10162 LDDLLFLAGS="$LDDLLFLAGS -Wl,-z,notext"
10165 DLLFLAGS="$DLLFLAGS -fPIC"
10169 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -Wl,-z,defs works correctly" >&5
10170 printf %s "checking whether -Wl,-z,defs works correctly... " >&6; }
10171 if test ${ac_cv_wl_z_defs+y}
10173 printf %s "(cached) " >&6
10175 ac_save_CFLAGS="$CFLAGS"
10176 CFLAGS="$CFLAGS $UNIXDLLFLAGS $UNIXLDFLAGS -Wl,-z,defs"
10177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10178 /* end confdefs.h. */
10179 extern char **environ; char **envp; void myfunc(void) { envp = environ; }
10181 if ac_fn_c_try_link "$LINENO"
10183 ac_cv_wl_z_defs=yes
10187 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10188 conftest$ac_exeext conftest.$ac_ext
10189 CFLAGS=$ac_save_CFLAGS
10191 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_wl_z_defs" >&5
10192 printf "%s\n" "$ac_cv_wl_z_defs" >&6; }
10193 test $ac_cv_wl_z_defs != yes || as_fn_append UNIXLDFLAGS " -Wl,-z,defs"
10195 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--export-dynamic" >&5
10196 printf %s "checking whether the compiler supports -Wl,--export-dynamic... " >&6; }
10197 if test ${ac_cv_cflags__Wl___export_dynamic+y}
10199 printf %s "(cached) " >&6
10201 ac_wine_try_cflags_saved=$CFLAGS
10202 CFLAGS="$CFLAGS -Wl,--export-dynamic"
10203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10204 /* end confdefs.h. */
10205 int main(int argc, char **argv) { return 0; }
10207 if ac_fn_c_try_link "$LINENO"
10209 ac_cv_cflags__Wl___export_dynamic=yes
10211 ac_cv_cflags__Wl___export_dynamic=no
10213 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10214 conftest$ac_exeext conftest.$ac_ext
10215 CFLAGS=$ac_wine_try_cflags_saved
10217 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___export_dynamic" >&5
10218 printf "%s\n" "$ac_cv_cflags__Wl___export_dynamic" >&6; }
10219 if test "x$ac_cv_cflags__Wl___export_dynamic" = xyes
10221 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
10223 WINEPRELOADER_LDFLAGS="-nostartfiles -nodefaultlibs"
10227 as_fn_append WINELOADER_LDFLAGS " -pie"
10230 as_fn_append WINEPRELOADER_LDFLAGS " -static -Wl,-Ttext=0x7d400000" ;;
10232 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -static-pie" >&5
10233 printf %s "checking whether the compiler supports -static-pie... " >&6; }
10234 if test ${ac_cv_cflags__static_pie+y}
10236 printf %s "(cached) " >&6
10238 ac_wine_try_cflags_saved=$CFLAGS
10239 CFLAGS="$CFLAGS -static-pie"
10240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10241 /* end confdefs.h. */
10242 int main(int argc, char **argv) { return 0; }
10244 if ac_fn_c_try_link "$LINENO"
10246 ac_cv_cflags__static_pie=yes
10248 ac_cv_cflags__static_pie=no
10250 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10251 conftest$ac_exeext conftest.$ac_ext
10252 CFLAGS=$ac_wine_try_cflags_saved
10254 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__static_pie" >&5
10255 printf "%s\n" "$ac_cv_cflags__static_pie" >&6; }
10256 if test "x$ac_cv_cflags__static_pie" = xyes
10258 as_fn_append WINEPRELOADER_LDFLAGS " -static-pie"
10260 as_fn_append WINEPRELOADER_LDFLAGS " -static -Wl,-Ttext=0x7d7d00000000"
10268 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x60000000" >&5
10269 printf %s "checking whether the compiler supports -Wl,-Ttext-segment=0x60000000... " >&6; }
10270 if test ${ac_cv_cflags__Wl__Ttext_segment_0x60000000+y}
10272 printf %s "(cached) " >&6
10274 ac_wine_try_cflags_saved=$CFLAGS
10275 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x60000000"
10276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10277 /* end confdefs.h. */
10278 int main(int argc, char **argv) { return 0; }
10280 if ac_fn_c_try_link "$LINENO"
10282 ac_cv_cflags__Wl__Ttext_segment_0x60000000=yes
10284 ac_cv_cflags__Wl__Ttext_segment_0x60000000=no
10286 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10287 conftest$ac_exeext conftest.$ac_ext
10288 CFLAGS=$ac_wine_try_cflags_saved
10290 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x60000000" >&5
10291 printf "%s\n" "$ac_cv_cflags__Wl__Ttext_segment_0x60000000" >&6; }
10292 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x60000000" = xyes
10294 as_fn_append WINELOADER_LDFLAGS " -Wl,-Ttext-segment=0x60000000"
10296 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x60000400" >&5
10297 printf %s "checking whether the compiler supports -Wl,--section-start,.interp=0x60000400... " >&6; }
10298 if test ${ac_cv_cflags__Wl___section_start__interp_0x60000400+y}
10300 printf %s "(cached) " >&6
10302 ac_wine_try_cflags_saved=$CFLAGS
10303 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x60000400"
10304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10305 /* end confdefs.h. */
10306 int main(int argc, char **argv) { return 0; }
10308 if ac_fn_c_try_link "$LINENO"
10310 ac_cv_cflags__Wl___section_start__interp_0x60000400=yes
10312 ac_cv_cflags__Wl___section_start__interp_0x60000400=no
10314 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10315 conftest$ac_exeext conftest.$ac_ext
10316 CFLAGS=$ac_wine_try_cflags_saved
10318 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x60000400" >&5
10319 printf "%s\n" "$ac_cv_cflags__Wl___section_start__interp_0x60000400" >&6; }
10320 if test "x$ac_cv_cflags__Wl___section_start__interp_0x60000400" = xyes
10322 as_fn_append WINELOADER_LDFLAGS " -Wl,--section-start,.interp=0x60000400"
10327 as_fn_append WINELOADER_LDFLAGS " -pie"
10335 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
10336 enable_wineandroid_drv=${enable_wineandroid_drv:-no}
10337 enable_winemac_drv=${enable_winemac_drv:-no}
10342 if test ${enable_archs+y}
10344 test "x$with_system_dllpath" = "x" || as_fn_error $? "\"The --with-system-dllpath option is not compatible with --enable-archs\"" "$LINENO" 5
10347 set x $enable_archs
10353 i386|x86_64|arm|aarch64|arm64ec) cross_archs="$cross_archs $arch" ;;
10354 *) as_fn_error $? "Unknown cross-compilation architecture '$arch'" "$LINENO" 5 ;;
10358 if test "x$with_mingw" != xno
10360 test $HOST_ARCH = unknown || cross_archs=$HOST_ARCH
10365 saved_CFLAGS=$CFLAGS
10366 saved_LDFLAGS=$LDFLAGS
10368 { extra_arch=; unset extra_arch;}
10369 for arch in $cross_archs
10372 arm64ec) test ${extra_arch+y} || extra_arch=x86_64 ;;
10373 x86_64) extra_arch="" ;;
10377 for wine_arch in $cross_archs $extra_arch
10379 case "x$with_mingw" in
10380 xclang|x*/clang) eval "${wine_arch}_CC=\$with_mingw" ;;
10382 if eval \${${wine_arch}_CC:+false} :
10386 for ac_prog in aarch64-w64-mingw32-clang aarch64-w64-mingw32-gcc clang
10388 # Extract the first word of "$ac_prog", so it can be a program name with args.
10389 set dummy $ac_prog; ac_word=$2
10390 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10391 printf %s "checking for $ac_word... " >&6; }
10392 if test ${ac_cv_prog_aarch64_CC+y}
10394 printf %s "(cached) " >&6
10396 if test -n "$aarch64_CC"; then
10397 ac_cv_prog_aarch64_CC="$aarch64_CC" # Let the user override the test.
10399 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10400 for as_dir in $PATH
10403 case $as_dir in #(((
10406 *) as_dir=$as_dir/ ;;
10408 for ac_exec_ext in '' $ac_executable_extensions; do
10409 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10410 ac_cv_prog_aarch64_CC="$ac_prog"
10411 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10420 aarch64_CC=$ac_cv_prog_aarch64_CC
10421 if test -n "$aarch64_CC"; then
10422 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $aarch64_CC" >&5
10423 printf "%s\n" "$aarch64_CC" >&6; }
10425 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10426 printf "%s\n" "no" >&6; }
10430 test -n "$aarch64_CC" && break
10432 test -n "$aarch64_CC" || aarch64_CC="false"
10436 for ac_prog in arm64ec-w64-mingw32-clang arm64ec-w64-mingw32-gcc clang
10438 # Extract the first word of "$ac_prog", so it can be a program name with args.
10439 set dummy $ac_prog; ac_word=$2
10440 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10441 printf %s "checking for $ac_word... " >&6; }
10442 if test ${ac_cv_prog_arm64ec_CC+y}
10444 printf %s "(cached) " >&6
10446 if test -n "$arm64ec_CC"; then
10447 ac_cv_prog_arm64ec_CC="$arm64ec_CC" # Let the user override the test.
10449 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10450 for as_dir in $PATH
10453 case $as_dir in #(((
10456 *) as_dir=$as_dir/ ;;
10458 for ac_exec_ext in '' $ac_executable_extensions; do
10459 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10460 ac_cv_prog_arm64ec_CC="$ac_prog"
10461 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10470 arm64ec_CC=$ac_cv_prog_arm64ec_CC
10471 if test -n "$arm64ec_CC"; then
10472 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $arm64ec_CC" >&5
10473 printf "%s\n" "$arm64ec_CC" >&6; }
10475 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10476 printf "%s\n" "no" >&6; }
10480 test -n "$arm64ec_CC" && break
10482 test -n "$arm64ec_CC" || arm64ec_CC="false"
10486 for ac_prog in armv7-w64-mingw32-clang armv7-w64-mingw32-gcc clang
10488 # Extract the first word of "$ac_prog", so it can be a program name with args.
10489 set dummy $ac_prog; ac_word=$2
10490 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10491 printf %s "checking for $ac_word... " >&6; }
10492 if test ${ac_cv_prog_arm_CC+y}
10494 printf %s "(cached) " >&6
10496 if test -n "$arm_CC"; then
10497 ac_cv_prog_arm_CC="$arm_CC" # Let the user override the test.
10499 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10500 for as_dir in $PATH
10503 case $as_dir in #(((
10506 *) as_dir=$as_dir/ ;;
10508 for ac_exec_ext in '' $ac_executable_extensions; do
10509 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10510 ac_cv_prog_arm_CC="$ac_prog"
10511 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10520 arm_CC=$ac_cv_prog_arm_CC
10521 if test -n "$arm_CC"; then
10522 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $arm_CC" >&5
10523 printf "%s\n" "$arm_CC" >&6; }
10525 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10526 printf "%s\n" "no" >&6; }
10530 test -n "$arm_CC" && break
10532 test -n "$arm_CC" || arm_CC="false"
10536 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 "
10537 for ac_prog in $ac_prefix_list clang
10539 # Extract the first word of "$ac_prog", so it can be a program name with args.
10540 set dummy $ac_prog; ac_word=$2
10541 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10542 printf %s "checking for $ac_word... " >&6; }
10543 if test ${ac_cv_prog_i386_CC+y}
10545 printf %s "(cached) " >&6
10547 if test -n "$i386_CC"; then
10548 ac_cv_prog_i386_CC="$i386_CC" # Let the user override the test.
10550 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10551 for as_dir in $PATH
10554 case $as_dir in #(((
10557 *) as_dir=$as_dir/ ;;
10559 for ac_exec_ext in '' $ac_executable_extensions; do
10560 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10561 ac_cv_prog_i386_CC="$ac_prog"
10562 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10571 i386_CC=$ac_cv_prog_i386_CC
10572 if test -n "$i386_CC"; then
10573 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $i386_CC" >&5
10574 printf "%s\n" "$i386_CC" >&6; }
10576 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10577 printf "%s\n" "no" >&6; }
10581 test -n "$i386_CC" && break
10583 test -n "$i386_CC" || i386_CC="false"
10587 ac_prefix_list="x86_64-w64-mingw32-gcc amd64-w64-mingw32-gcc x86_64-w64-mingw32-clang amd64-w64-mingw32-clang "
10588 for ac_prog in $ac_prefix_list clang
10590 # Extract the first word of "$ac_prog", so it can be a program name with args.
10591 set dummy $ac_prog; ac_word=$2
10592 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10593 printf %s "checking for $ac_word... " >&6; }
10594 if test ${ac_cv_prog_x86_64_CC+y}
10596 printf %s "(cached) " >&6
10598 if test -n "$x86_64_CC"; then
10599 ac_cv_prog_x86_64_CC="$x86_64_CC" # Let the user override the test.
10601 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10602 for as_dir in $PATH
10605 case $as_dir in #(((
10608 *) as_dir=$as_dir/ ;;
10610 for ac_exec_ext in '' $ac_executable_extensions; do
10611 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10612 ac_cv_prog_x86_64_CC="$ac_prog"
10613 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10622 x86_64_CC=$ac_cv_prog_x86_64_CC
10623 if test -n "$x86_64_CC"; then
10624 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $x86_64_CC" >&5
10625 printf "%s\n" "$x86_64_CC" >&6; }
10627 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10628 printf "%s\n" "no" >&6; }
10632 test -n "$x86_64_CC" && break
10634 test -n "$x86_64_CC" || x86_64_CC="false"
10640 CFLAGS=${CROSSCFLAGS:-"-g -O2"}
10641 LDFLAGS=$CROSSLDFLAGS
10642 eval CC=\$${wine_arch}_CC
10643 eval ${wine_arch}_CFLAGS=\$CFLAGS
10644 eval ${wine_arch}_LDFLAGS=\$LDFLAGS
10645 eval "${wine_arch}_EXTRACFLAGS=\"-D__WINE_PE_BUILD -Wall\""
10648 as_wine_cv_crosscc=`printf "%s\n" "ac_cv_${wine_arch}_crosscc" |
$as_tr_sh`
10650 if eval test \"x\$"${wine_arch}_CC"\" = x"false"
10654 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
10655 printf %s "checking whether $CC works... " >&6; }
10656 if eval test \${$as_wine_cv_crosscc+y}
10658 printf %s "(cached) " >&6
10660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10661 /* end confdefs.h. */
10671 if ac_fn_c_try_compile "$LINENO"
10673 eval "$as_wine_cv_crosscc=yes"
10675 eval "$as_wine_cv_crosscc=no"
10677 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10679 eval ac_res=\$$as_wine_cv_crosscc
10680 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10681 printf "%s\n" "$ac_res" >&6; }
10683 if eval test \"x\$"$as_wine_cv_crosscc"\" = x"yes"
10687 while test $# -ge 1
10690 */*-gcc) target=`expr "$1" : '.*/\(.*\)-gcc'` ;;
10691 */*-clang) target=`expr "$1" : '.*/\(.*\)-clang'` ;;
10692 *-gcc) target=`expr "$1" : '\(.*\)-gcc'` ;;
10693 *-clang) target=`expr "$1" : '\(.*\)-clang'` ;;
10698 llvm_target=$target
10699 if test -z "$llvm_target"
10702 i386) llvm_target=i686-windows ;;
10703 arm) llvm_target=armv7-windows ;;
10704 *) llvm_target=$wine_arch-windows ;;
10707 llvm_extra_cflags="-target $llvm_target -fuse-ld=lld"
10708 llvm_extra_ldflags=""
10709 case $llvm_target in
10710 *windows) llvm_cflags="-Wl,-subsystem:console -Wl,-WX" ;;
10712 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_$llvm_extra_cflags $llvm_cflags --no-default-config" |
$as_tr_sh`
10713 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports $llvm_extra_cflags $llvm_cflags --no-default-config" >&5
10714 printf %s "checking whether $CC supports $llvm_extra_cflags $llvm_cflags --no-default-config... " >&6; }
10715 if eval test \${$as_ac_var+y}
10717 printf %s "(cached) " >&6
10719 ac_wine_try_cflags_saved=$CFLAGS
10720 ac_wine_try_cflags_saved_exeext=$ac_exeext
10721 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs $llvm_extra_cflags $llvm_cflags --no-default-config"
10723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10724 /* end confdefs.h. */
10725 void *__os_arm64x_dispatch_ret = 0;
10726 int __cdecl mainCRTStartup(void) { return 0; }
10728 if ac_fn_c_try_link "$LINENO"
10730 eval "$as_ac_var=yes"
10732 eval "$as_ac_var=no"
10734 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10735 conftest$ac_exeext conftest.$ac_ext
10736 CFLAGS=$ac_wine_try_cflags_saved
10737 ac_exeext=$ac_wine_try_cflags_saved_exeext
10739 eval ac_res=\$$as_ac_var
10740 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10741 printf "%s\n" "$ac_res" >&6; }
10742 if eval test \"x\$"$as_ac_var"\" = x"yes"
10744 llvm_extra_cflags="$llvm_extra_cflags --no-default-config"
10745 llvm_extra_ldflags="--no-default-config"
10747 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_$llvm_extra_cflags $llvm_cflags" |
$as_tr_sh`
10748 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports $llvm_extra_cflags $llvm_cflags" >&5
10749 printf %s "checking whether $CC supports $llvm_extra_cflags $llvm_cflags... " >&6; }
10750 if eval test \${$as_ac_var+y}
10752 printf %s "(cached) " >&6
10754 ac_wine_try_cflags_saved=$CFLAGS
10755 ac_wine_try_cflags_saved_exeext=$ac_exeext
10756 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs $llvm_extra_cflags $llvm_cflags"
10758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10759 /* end confdefs.h. */
10760 void *__os_arm64x_dispatch_ret = 0;
10761 int __cdecl mainCRTStartup(void) { return 0; }
10763 if ac_fn_c_try_link "$LINENO"
10765 eval "$as_ac_var=yes"
10767 eval "$as_ac_var=no"
10769 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10770 conftest$ac_exeext conftest.$ac_ext
10771 CFLAGS=$ac_wine_try_cflags_saved
10772 ac_exeext=$ac_wine_try_cflags_saved_exeext
10774 eval ac_res=\$$as_ac_var
10775 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10776 printf "%s\n" "$ac_res" >&6; }
10777 if eval test \"x\$"$as_ac_var"\" = x"yes"
10781 llvm_extra_cflags=""
10784 if test -n "$llvm_extra_cflags"
10786 target=$llvm_target
10787 eval "${wine_arch}_DELAYLOADFLAG=\"-Wl,-delayload,\""
10788 as_fn_append ${wine_arch}_EXTRACFLAGS " $llvm_extra_cflags"
10789 as_fn_append ${wine_arch}_LDFLAGS " $llvm_extra_ldflags"
10790 CFLAGS="$llvm_extra_cflags $llvm_cflags"
10792 eval "${wine_arch}_TARGET=\$target"
10796 if test -z "$target"
10798 if test ${enable_archs+y}
10800 as_fn_error $? "$wine_arch PE cross-compiler not found.
10801 This is an error since --enable-archs=$wine_arch was requested." "$LINENO" 5
10806 as_wine_cv_crosscc_c99=`printf "%s\n" "ac_cv_${wine_arch}_crosscc_c99" |
$as_tr_sh`
10808 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
10809 printf %s "checking for $CC option to enable C99 features... " >&6; }
10810 if eval test \${$as_wine_cv_crosscc_c99+y}
10812 printf %s "(cached) " >&6
10814 eval "$as_wine_cv_crosscc_c99=no"
10815 for arg in '' '-std=gnu99' '-D__STDC__'
10817 test -z "$arg" || CC="$CC $arg"
10818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10819 /* end confdefs.h. */
10820 $ac_c_conftest_c99_program
10822 if ac_fn_c_try_compile "$LINENO"
10824 eval "$as_wine_cv_crosscc_c99=\$arg"
10826 eval "$as_wine_cv_crosscc_c99=no"
10828 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10829 eval CC=\$${wine_arch}_CC
10830 if eval test \"x\$"$as_wine_cv_crosscc_c99"\" = x"no"
10839 eval res=\$$as_wine_cv_crosscc_c99
10842 x) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
10843 printf "%s\n" "none needed" >&6; } ;;
10844 xno) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
10845 printf "%s\n" "unsupported" >&6; }
10846 if test ${enable_archs+y}
10848 as_fn_error $? "$wine_arch PE cross-compiler supporting C99 not found.
10849 This is an error since --enable-archs=$wine_arch was requested." "$LINENO" 5
10853 x*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $res" >&5
10854 printf "%s\n" "$res" >&6; }
10855 as_fn_append ${wine_arch}_CC " $res" ;;
10858 if test "x$wine_arch" = xi386
10862 as_wine_cv_seh_support=`printf "%s\n" "ac_cv_${wine_arch}_seh_support" |
$as_tr_sh`
10864 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports SEH directives" >&5
10865 printf %s "checking whether $CC supports SEH directives... " >&6; }
10866 if eval test \${$as_wine_cv_seh_support+y}
10868 printf %s "(cached) " >&6
10870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10871 /* end confdefs.h. */
10872 asm(".text\nac_test:\t.seh_proc ac_test\n\tnop\n\t.seh_stackalloc 16\n\t.seh_endprologue\n\t.seh_endproc");
10881 if ac_fn_c_try_compile "$LINENO"
10883 eval "$as_wine_cv_seh_support=yes"
10885 eval "$as_wine_cv_seh_support=no"
10887 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10889 eval ac_res=\$$as_wine_cv_seh_support
10890 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10891 printf "%s\n" "$ac_res" >&6; }
10892 eval res=\$$as_wine_cv_seh_support
10894 if test "x$res" = xyes
10898 if test ${enable_archs+y}
10900 as_fn_error $? "The $wine_arch PE cross-compiler doesn't support SEH directives.
10901 This is an error since --enable-archs=$wine_arch was requested." "$LINENO" 5
10907 if test "x$wine_arch" = x$extra_arch
10911 as_fn_append PE_ARCHS " $wine_arch"
10914 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-fno-strict-aliasing" |
$as_tr_sh`
10915 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -fno-strict-aliasing" >&5
10916 printf %s "checking whether $CC supports -fno-strict-aliasing... " >&6; }
10917 if eval test \${$as_ac_var+y}
10919 printf %s "(cached) " >&6
10921 ac_wine_try_cflags_saved=$CFLAGS
10922 ac_wine_try_cflags_saved_exeext=$ac_exeext
10923 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -fno-strict-aliasing"
10925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10926 /* end confdefs.h. */
10927 void *__os_arm64x_dispatch_ret = 0;
10928 int __cdecl mainCRTStartup(void) { return 0; }
10930 if ac_fn_c_try_link "$LINENO"
10932 eval "$as_ac_var=yes"
10934 eval "$as_ac_var=no"
10936 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10937 conftest$ac_exeext conftest.$ac_ext
10938 CFLAGS=$ac_wine_try_cflags_saved
10939 ac_exeext=$ac_wine_try_cflags_saved_exeext
10941 eval ac_res=\$$as_ac_var
10942 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10943 printf "%s\n" "$ac_res" >&6; }
10944 if eval test \"x\$"$as_ac_var"\" = x"yes"
10946 as_fn_append ${wine_arch}_EXTRACFLAGS " -fno-strict-aliasing"
10948 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Werror=unknown-warning-option" |
$as_tr_sh`
10949 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Werror=unknown-warning-option" >&5
10950 printf %s "checking whether $CC supports -Werror=unknown-warning-option... " >&6; }
10951 if eval test \${$as_ac_var+y}
10953 printf %s "(cached) " >&6
10955 ac_wine_try_cflags_saved=$CFLAGS
10956 ac_wine_try_cflags_saved_exeext=$ac_exeext
10957 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Werror=unknown-warning-option"
10959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10960 /* end confdefs.h. */
10961 void *__os_arm64x_dispatch_ret = 0;
10962 int __cdecl mainCRTStartup(void) { return 0; }
10964 if ac_fn_c_try_link "$LINENO"
10966 eval "$as_ac_var=yes"
10968 eval "$as_ac_var=no"
10970 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10971 conftest$ac_exeext conftest.$ac_ext
10972 CFLAGS=$ac_wine_try_cflags_saved
10973 ac_exeext=$ac_wine_try_cflags_saved_exeext
10975 eval ac_res=\$$as_ac_var
10976 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10977 printf "%s\n" "$ac_res" >&6; }
10978 if eval test \"x\$"$as_ac_var"\" = x"yes"
10980 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
10982 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Werror=ignored-optimization-argument" |
$as_tr_sh`
10983 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Werror=ignored-optimization-argument" >&5
10984 printf %s "checking whether $CC supports -Werror=ignored-optimization-argument... " >&6; }
10985 if eval test \${$as_ac_var+y}
10987 printf %s "(cached) " >&6
10989 ac_wine_try_cflags_saved=$CFLAGS
10990 ac_wine_try_cflags_saved_exeext=$ac_exeext
10991 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Werror=ignored-optimization-argument"
10993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10994 /* end confdefs.h. */
10995 void *__os_arm64x_dispatch_ret = 0;
10996 int __cdecl mainCRTStartup(void) { return 0; }
10998 if ac_fn_c_try_link "$LINENO"
11000 eval "$as_ac_var=yes"
11002 eval "$as_ac_var=no"
11004 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11005 conftest$ac_exeext conftest.$ac_ext
11006 CFLAGS=$ac_wine_try_cflags_saved
11007 ac_exeext=$ac_wine_try_cflags_saved_exeext
11009 eval ac_res=\$$as_ac_var
11010 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11011 printf "%s\n" "$ac_res" >&6; }
11012 if eval test \"x\$"$as_ac_var"\" = x"yes"
11014 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
11016 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wdeclaration-after-statement" |
$as_tr_sh`
11017 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wdeclaration-after-statement" >&5
11018 printf %s "checking whether $CC supports -Wdeclaration-after-statement... " >&6; }
11019 if eval test \${$as_ac_var+y}
11021 printf %s "(cached) " >&6
11023 ac_wine_try_cflags_saved=$CFLAGS
11024 ac_wine_try_cflags_saved_exeext=$ac_exeext
11025 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wdeclaration-after-statement"
11027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11028 /* end confdefs.h. */
11029 void *__os_arm64x_dispatch_ret = 0;
11030 int __cdecl mainCRTStartup(void) { return 0; }
11032 if ac_fn_c_try_link "$LINENO"
11034 eval "$as_ac_var=yes"
11036 eval "$as_ac_var=no"
11038 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11039 conftest$ac_exeext conftest.$ac_ext
11040 CFLAGS=$ac_wine_try_cflags_saved
11041 ac_exeext=$ac_wine_try_cflags_saved_exeext
11043 eval ac_res=\$$as_ac_var
11044 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11045 printf "%s\n" "$ac_res" >&6; }
11046 if eval test \"x\$"$as_ac_var"\" = x"yes"
11048 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wdeclaration-after-statement"
11050 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wempty-body" |
$as_tr_sh`
11051 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wempty-body" >&5
11052 printf %s "checking whether $CC supports -Wempty-body... " >&6; }
11053 if eval test \${$as_ac_var+y}
11055 printf %s "(cached) " >&6
11057 ac_wine_try_cflags_saved=$CFLAGS
11058 ac_wine_try_cflags_saved_exeext=$ac_exeext
11059 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wempty-body"
11061 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11062 /* end confdefs.h. */
11063 void *__os_arm64x_dispatch_ret = 0;
11064 int __cdecl mainCRTStartup(void) { return 0; }
11066 if ac_fn_c_try_link "$LINENO"
11068 eval "$as_ac_var=yes"
11070 eval "$as_ac_var=no"
11072 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11073 conftest$ac_exeext conftest.$ac_ext
11074 CFLAGS=$ac_wine_try_cflags_saved
11075 ac_exeext=$ac_wine_try_cflags_saved_exeext
11077 eval ac_res=\$$as_ac_var
11078 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11079 printf "%s\n" "$ac_res" >&6; }
11080 if eval test \"x\$"$as_ac_var"\" = x"yes"
11082 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wempty-body"
11084 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wignored-qualifiers" |
$as_tr_sh`
11085 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wignored-qualifiers" >&5
11086 printf %s "checking whether $CC supports -Wignored-qualifiers... " >&6; }
11087 if eval test \${$as_ac_var+y}
11089 printf %s "(cached) " >&6
11091 ac_wine_try_cflags_saved=$CFLAGS
11092 ac_wine_try_cflags_saved_exeext=$ac_exeext
11093 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wignored-qualifiers"
11095 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11096 /* end confdefs.h. */
11097 void *__os_arm64x_dispatch_ret = 0;
11098 int __cdecl mainCRTStartup(void) { return 0; }
11100 if ac_fn_c_try_link "$LINENO"
11102 eval "$as_ac_var=yes"
11104 eval "$as_ac_var=no"
11106 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11107 conftest$ac_exeext conftest.$ac_ext
11108 CFLAGS=$ac_wine_try_cflags_saved
11109 ac_exeext=$ac_wine_try_cflags_saved_exeext
11111 eval ac_res=\$$as_ac_var
11112 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11113 printf "%s\n" "$ac_res" >&6; }
11114 if eval test \"x\$"$as_ac_var"\" = x"yes"
11116 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wignored-qualifiers"
11118 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Winit-self" |
$as_tr_sh`
11119 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Winit-self" >&5
11120 printf %s "checking whether $CC supports -Winit-self... " >&6; }
11121 if eval test \${$as_ac_var+y}
11123 printf %s "(cached) " >&6
11125 ac_wine_try_cflags_saved=$CFLAGS
11126 ac_wine_try_cflags_saved_exeext=$ac_exeext
11127 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Winit-self"
11129 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11130 /* end confdefs.h. */
11131 void *__os_arm64x_dispatch_ret = 0;
11132 int __cdecl mainCRTStartup(void) { return 0; }
11134 if ac_fn_c_try_link "$LINENO"
11136 eval "$as_ac_var=yes"
11138 eval "$as_ac_var=no"
11140 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11141 conftest$ac_exeext conftest.$ac_ext
11142 CFLAGS=$ac_wine_try_cflags_saved
11143 ac_exeext=$ac_wine_try_cflags_saved_exeext
11145 eval ac_res=\$$as_ac_var
11146 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11147 printf "%s\n" "$ac_res" >&6; }
11148 if eval test \"x\$"$as_ac_var"\" = x"yes"
11150 as_fn_append ${wine_arch}_EXTRACFLAGS " -Winit-self"
11152 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wpacked-not-aligned" |
$as_tr_sh`
11153 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wpacked-not-aligned" >&5
11154 printf %s "checking whether $CC supports -Wpacked-not-aligned... " >&6; }
11155 if eval test \${$as_ac_var+y}
11157 printf %s "(cached) " >&6
11159 ac_wine_try_cflags_saved=$CFLAGS
11160 ac_wine_try_cflags_saved_exeext=$ac_exeext
11161 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wpacked-not-aligned"
11163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11164 /* end confdefs.h. */
11165 void *__os_arm64x_dispatch_ret = 0;
11166 int __cdecl mainCRTStartup(void) { return 0; }
11168 if ac_fn_c_try_link "$LINENO"
11170 eval "$as_ac_var=yes"
11172 eval "$as_ac_var=no"
11174 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11175 conftest$ac_exeext conftest.$ac_ext
11176 CFLAGS=$ac_wine_try_cflags_saved
11177 ac_exeext=$ac_wine_try_cflags_saved_exeext
11179 eval ac_res=\$$as_ac_var
11180 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11181 printf "%s\n" "$ac_res" >&6; }
11182 if eval test \"x\$"$as_ac_var"\" = x"yes"
11184 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wno-packed-not-aligned"
11186 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wpragma-pack" |
$as_tr_sh`
11187 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wpragma-pack" >&5
11188 printf %s "checking whether $CC supports -Wpragma-pack... " >&6; }
11189 if eval test \${$as_ac_var+y}
11191 printf %s "(cached) " >&6
11193 ac_wine_try_cflags_saved=$CFLAGS
11194 ac_wine_try_cflags_saved_exeext=$ac_exeext
11195 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wpragma-pack"
11197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11198 /* end confdefs.h. */
11199 void *__os_arm64x_dispatch_ret = 0;
11200 int __cdecl mainCRTStartup(void) { return 0; }
11202 if ac_fn_c_try_link "$LINENO"
11204 eval "$as_ac_var=yes"
11206 eval "$as_ac_var=no"
11208 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11209 conftest$ac_exeext conftest.$ac_ext
11210 CFLAGS=$ac_wine_try_cflags_saved
11211 ac_exeext=$ac_wine_try_cflags_saved_exeext
11213 eval ac_res=\$$as_ac_var
11214 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11215 printf "%s\n" "$ac_res" >&6; }
11216 if eval test \"x\$"$as_ac_var"\" = x"yes"
11218 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wno-pragma-pack"
11220 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wmicrosoft-enum-forward-reference" |
$as_tr_sh`
11221 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wmicrosoft-enum-forward-reference" >&5
11222 printf %s "checking whether $CC supports -Wmicrosoft-enum-forward-reference... " >&6; }
11223 if eval test \${$as_ac_var+y}
11225 printf %s "(cached) " >&6
11227 ac_wine_try_cflags_saved=$CFLAGS
11228 ac_wine_try_cflags_saved_exeext=$ac_exeext
11229 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wmicrosoft-enum-forward-reference"
11231 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11232 /* end confdefs.h. */
11233 void *__os_arm64x_dispatch_ret = 0;
11234 int __cdecl mainCRTStartup(void) { return 0; }
11236 if ac_fn_c_try_link "$LINENO"
11238 eval "$as_ac_var=yes"
11240 eval "$as_ac_var=no"
11242 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11243 conftest$ac_exeext conftest.$ac_ext
11244 CFLAGS=$ac_wine_try_cflags_saved
11245 ac_exeext=$ac_wine_try_cflags_saved_exeext
11247 eval ac_res=\$$as_ac_var
11248 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11249 printf "%s\n" "$ac_res" >&6; }
11250 if eval test \"x\$"$as_ac_var"\" = x"yes"
11252 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wno-microsoft-enum-forward-reference"
11254 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wshift-overflow=2" |
$as_tr_sh`
11255 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wshift-overflow=2" >&5
11256 printf %s "checking whether $CC supports -Wshift-overflow=2... " >&6; }
11257 if eval test \${$as_ac_var+y}
11259 printf %s "(cached) " >&6
11261 ac_wine_try_cflags_saved=$CFLAGS
11262 ac_wine_try_cflags_saved_exeext=$ac_exeext
11263 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wshift-overflow=2"
11265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11266 /* end confdefs.h. */
11267 void *__os_arm64x_dispatch_ret = 0;
11268 int __cdecl mainCRTStartup(void) { return 0; }
11270 if ac_fn_c_try_link "$LINENO"
11272 eval "$as_ac_var=yes"
11274 eval "$as_ac_var=no"
11276 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11277 conftest$ac_exeext conftest.$ac_ext
11278 CFLAGS=$ac_wine_try_cflags_saved
11279 ac_exeext=$ac_wine_try_cflags_saved_exeext
11281 eval ac_res=\$$as_ac_var
11282 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11283 printf "%s\n" "$ac_res" >&6; }
11284 if eval test \"x\$"$as_ac_var"\" = x"yes"
11286 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wshift-overflow=2"
11288 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wstrict-prototypes" |
$as_tr_sh`
11289 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wstrict-prototypes" >&5
11290 printf %s "checking whether $CC supports -Wstrict-prototypes... " >&6; }
11291 if eval test \${$as_ac_var+y}
11293 printf %s "(cached) " >&6
11295 ac_wine_try_cflags_saved=$CFLAGS
11296 ac_wine_try_cflags_saved_exeext=$ac_exeext
11297 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wstrict-prototypes"
11299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11300 /* end confdefs.h. */
11301 void *__os_arm64x_dispatch_ret = 0;
11302 int __cdecl mainCRTStartup(void) { return 0; }
11304 if ac_fn_c_try_link "$LINENO"
11306 eval "$as_ac_var=yes"
11308 eval "$as_ac_var=no"
11310 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11311 conftest$ac_exeext conftest.$ac_ext
11312 CFLAGS=$ac_wine_try_cflags_saved
11313 ac_exeext=$ac_wine_try_cflags_saved_exeext
11315 eval ac_res=\$$as_ac_var
11316 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11317 printf "%s\n" "$ac_res" >&6; }
11318 if eval test \"x\$"$as_ac_var"\" = x"yes"
11320 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wstrict-prototypes"
11322 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wtype-limits" |
$as_tr_sh`
11323 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wtype-limits" >&5
11324 printf %s "checking whether $CC supports -Wtype-limits... " >&6; }
11325 if eval test \${$as_ac_var+y}
11327 printf %s "(cached) " >&6
11329 ac_wine_try_cflags_saved=$CFLAGS
11330 ac_wine_try_cflags_saved_exeext=$ac_exeext
11331 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wtype-limits"
11333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11334 /* end confdefs.h. */
11335 void *__os_arm64x_dispatch_ret = 0;
11336 int __cdecl mainCRTStartup(void) { return 0; }
11338 if ac_fn_c_try_link "$LINENO"
11340 eval "$as_ac_var=yes"
11342 eval "$as_ac_var=no"
11344 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11345 conftest$ac_exeext conftest.$ac_ext
11346 CFLAGS=$ac_wine_try_cflags_saved
11347 ac_exeext=$ac_wine_try_cflags_saved_exeext
11349 eval ac_res=\$$as_ac_var
11350 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11351 printf "%s\n" "$ac_res" >&6; }
11352 if eval test \"x\$"$as_ac_var"\" = x"yes"
11354 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wtype-limits"
11356 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wunused-but-set-parameter" |
$as_tr_sh`
11357 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wunused-but-set-parameter" >&5
11358 printf %s "checking whether $CC supports -Wunused-but-set-parameter... " >&6; }
11359 if eval test \${$as_ac_var+y}
11361 printf %s "(cached) " >&6
11363 ac_wine_try_cflags_saved=$CFLAGS
11364 ac_wine_try_cflags_saved_exeext=$ac_exeext
11365 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wunused-but-set-parameter"
11367 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11368 /* end confdefs.h. */
11369 void *__os_arm64x_dispatch_ret = 0;
11370 int __cdecl mainCRTStartup(void) { return 0; }
11372 if ac_fn_c_try_link "$LINENO"
11374 eval "$as_ac_var=yes"
11376 eval "$as_ac_var=no"
11378 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11379 conftest$ac_exeext conftest.$ac_ext
11380 CFLAGS=$ac_wine_try_cflags_saved
11381 ac_exeext=$ac_wine_try_cflags_saved_exeext
11383 eval ac_res=\$$as_ac_var
11384 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11385 printf "%s\n" "$ac_res" >&6; }
11386 if eval test \"x\$"$as_ac_var"\" = x"yes"
11388 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wunused-but-set-parameter"
11390 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wvla" |
$as_tr_sh`
11391 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wvla" >&5
11392 printf %s "checking whether $CC supports -Wvla... " >&6; }
11393 if eval test \${$as_ac_var+y}
11395 printf %s "(cached) " >&6
11397 ac_wine_try_cflags_saved=$CFLAGS
11398 ac_wine_try_cflags_saved_exeext=$ac_exeext
11399 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wvla"
11401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11402 /* end confdefs.h. */
11403 void *__os_arm64x_dispatch_ret = 0;
11404 int __cdecl mainCRTStartup(void) { return 0; }
11406 if ac_fn_c_try_link "$LINENO"
11408 eval "$as_ac_var=yes"
11410 eval "$as_ac_var=no"
11412 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11413 conftest$ac_exeext conftest.$ac_ext
11414 CFLAGS=$ac_wine_try_cflags_saved
11415 ac_exeext=$ac_wine_try_cflags_saved_exeext
11417 eval ac_res=\$$as_ac_var
11418 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11419 printf "%s\n" "$ac_res" >&6; }
11420 if eval test \"x\$"$as_ac_var"\" = x"yes"
11422 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wvla"
11424 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wwrite-strings" |
$as_tr_sh`
11425 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wwrite-strings" >&5
11426 printf %s "checking whether $CC supports -Wwrite-strings... " >&6; }
11427 if eval test \${$as_ac_var+y}
11429 printf %s "(cached) " >&6
11431 ac_wine_try_cflags_saved=$CFLAGS
11432 ac_wine_try_cflags_saved_exeext=$ac_exeext
11433 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wwrite-strings"
11435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11436 /* end confdefs.h. */
11437 void *__os_arm64x_dispatch_ret = 0;
11438 int __cdecl mainCRTStartup(void) { return 0; }
11440 if ac_fn_c_try_link "$LINENO"
11442 eval "$as_ac_var=yes"
11444 eval "$as_ac_var=no"
11446 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11447 conftest$ac_exeext conftest.$ac_ext
11448 CFLAGS=$ac_wine_try_cflags_saved
11449 ac_exeext=$ac_wine_try_cflags_saved_exeext
11451 eval ac_res=\$$as_ac_var
11452 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11453 printf "%s\n" "$ac_res" >&6; }
11454 if eval test \"x\$"$as_ac_var"\" = x"yes"
11456 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wwrite-strings"
11458 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wpointer-arith" |
$as_tr_sh`
11459 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wpointer-arith" >&5
11460 printf %s "checking whether $CC supports -Wpointer-arith... " >&6; }
11461 if eval test \${$as_ac_var+y}
11463 printf %s "(cached) " >&6
11465 ac_wine_try_cflags_saved=$CFLAGS
11466 ac_wine_try_cflags_saved_exeext=$ac_exeext
11467 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wpointer-arith"
11469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11470 /* end confdefs.h. */
11471 void *__os_arm64x_dispatch_ret = 0;
11472 int __cdecl mainCRTStartup(void) { return 0; }
11474 if ac_fn_c_try_link "$LINENO"
11476 eval "$as_ac_var=yes"
11478 eval "$as_ac_var=no"
11480 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11481 conftest$ac_exeext conftest.$ac_ext
11482 CFLAGS=$ac_wine_try_cflags_saved
11483 ac_exeext=$ac_wine_try_cflags_saved_exeext
11485 eval ac_res=\$$as_ac_var
11486 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11487 printf "%s\n" "$ac_res" >&6; }
11488 if eval test \"x\$"$as_ac_var"\" = x"yes"
11490 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wpointer-arith"
11492 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wlogical-op" |
$as_tr_sh`
11493 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wlogical-op" >&5
11494 printf %s "checking whether $CC supports -Wlogical-op... " >&6; }
11495 if eval test \${$as_ac_var+y}
11497 printf %s "(cached) " >&6
11499 ac_wine_try_cflags_saved=$CFLAGS
11500 ac_wine_try_cflags_saved_exeext=$ac_exeext
11501 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wlogical-op"
11503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11504 /* end confdefs.h. */
11505 void *__os_arm64x_dispatch_ret = 0;
11506 int __cdecl mainCRTStartup(void) { return 0; }
11508 if ac_fn_c_try_link "$LINENO"
11510 eval "$as_ac_var=yes"
11512 eval "$as_ac_var=no"
11514 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11515 conftest$ac_exeext conftest.$ac_ext
11516 CFLAGS=$ac_wine_try_cflags_saved
11517 ac_exeext=$ac_wine_try_cflags_saved_exeext
11519 eval ac_res=\$$as_ac_var
11520 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11521 printf "%s\n" "$ac_res" >&6; }
11522 if eval test \"x\$"$as_ac_var"\" = x"yes"
11524 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wlogical-op"
11526 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wabsolute-value" |
$as_tr_sh`
11527 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wabsolute-value" >&5
11528 printf %s "checking whether $CC supports -Wabsolute-value... " >&6; }
11529 if eval test \${$as_ac_var+y}
11531 printf %s "(cached) " >&6
11533 ac_wine_try_cflags_saved=$CFLAGS
11534 ac_wine_try_cflags_saved_exeext=$ac_exeext
11535 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wabsolute-value"
11537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11538 /* end confdefs.h. */
11539 void *__os_arm64x_dispatch_ret = 0;
11540 int __cdecl mainCRTStartup(void) { return 0; }
11542 if ac_fn_c_try_link "$LINENO"
11544 eval "$as_ac_var=yes"
11546 eval "$as_ac_var=no"
11548 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11549 conftest$ac_exeext conftest.$ac_ext
11550 CFLAGS=$ac_wine_try_cflags_saved
11551 ac_exeext=$ac_wine_try_cflags_saved_exeext
11553 eval ac_res=\$$as_ac_var
11554 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11555 printf "%s\n" "$ac_res" >&6; }
11556 if eval test \"x\$"$as_ac_var"\" = x"yes"
11558 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wabsolute-value"
11560 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wenum-enum-conversion" |
$as_tr_sh`
11561 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wenum-enum-conversion" >&5
11562 printf %s "checking whether $CC supports -Wenum-enum-conversion... " >&6; }
11563 if eval test \${$as_ac_var+y}
11565 printf %s "(cached) " >&6
11567 ac_wine_try_cflags_saved=$CFLAGS
11568 ac_wine_try_cflags_saved_exeext=$ac_exeext
11569 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wenum-enum-conversion"
11571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11572 /* end confdefs.h. */
11573 void *__os_arm64x_dispatch_ret = 0;
11574 int __cdecl mainCRTStartup(void) { return 0; }
11576 if ac_fn_c_try_link "$LINENO"
11578 eval "$as_ac_var=yes"
11580 eval "$as_ac_var=no"
11582 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11583 conftest$ac_exeext conftest.$ac_ext
11584 CFLAGS=$ac_wine_try_cflags_saved
11585 ac_exeext=$ac_wine_try_cflags_saved_exeext
11587 eval ac_res=\$$as_ac_var
11588 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11589 printf "%s\n" "$ac_res" >&6; }
11590 if eval test \"x\$"$as_ac_var"\" = x"yes"
11594 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wenum-conversion" |
$as_tr_sh`
11595 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wenum-conversion" >&5
11596 printf %s "checking whether $CC supports -Wenum-conversion... " >&6; }
11597 if eval test \${$as_ac_var+y}
11599 printf %s "(cached) " >&6
11601 ac_wine_try_cflags_saved=$CFLAGS
11602 ac_wine_try_cflags_saved_exeext=$ac_exeext
11603 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wenum-conversion"
11605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11606 /* end confdefs.h. */
11607 void *__os_arm64x_dispatch_ret = 0;
11608 int __cdecl mainCRTStartup(void) { return 0; }
11610 if ac_fn_c_try_link "$LINENO"
11612 eval "$as_ac_var=yes"
11614 eval "$as_ac_var=no"
11616 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11617 conftest$ac_exeext conftest.$ac_ext
11618 CFLAGS=$ac_wine_try_cflags_saved
11619 ac_exeext=$ac_wine_try_cflags_saved_exeext
11621 eval ac_res=\$$as_ac_var
11622 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11623 printf "%s\n" "$ac_res" >&6; }
11624 if eval test \"x\$"$as_ac_var"\" = x"yes"
11626 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wenum-conversion"
11630 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-flarge-source-files -Wmisleading-indentation" |
$as_tr_sh`
11631 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -flarge-source-files -Wmisleading-indentation" >&5
11632 printf %s "checking whether $CC supports -flarge-source-files -Wmisleading-indentation... " >&6; }
11633 if eval test \${$as_ac_var+y}
11635 printf %s "(cached) " >&6
11637 ac_wine_try_cflags_saved=$CFLAGS
11638 ac_wine_try_cflags_saved_exeext=$ac_exeext
11639 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -flarge-source-files -Wmisleading-indentation"
11641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11642 /* end confdefs.h. */
11643 void *__os_arm64x_dispatch_ret = 0;
11644 int __cdecl mainCRTStartup(void) { return 0; }
11646 if ac_fn_c_try_link "$LINENO"
11648 eval "$as_ac_var=yes"
11650 eval "$as_ac_var=no"
11652 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11653 conftest$ac_exeext conftest.$ac_ext
11654 CFLAGS=$ac_wine_try_cflags_saved
11655 ac_exeext=$ac_wine_try_cflags_saved_exeext
11657 eval ac_res=\$$as_ac_var
11658 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11659 printf "%s\n" "$ac_res" >&6; }
11660 if eval test \"x\$"$as_ac_var"\" = x"yes"
11662 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wno-misleading-indentation"
11666 i386) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-fno-omit-frame-pointer" |
$as_tr_sh`
11667 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -fno-omit-frame-pointer" >&5
11668 printf %s "checking whether $CC supports -fno-omit-frame-pointer... " >&6; }
11669 if eval test \${$as_ac_var+y}
11671 printf %s "(cached) " >&6
11673 ac_wine_try_cflags_saved=$CFLAGS
11674 ac_wine_try_cflags_saved_exeext=$ac_exeext
11675 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -fno-omit-frame-pointer"
11677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11678 /* end confdefs.h. */
11679 void *__os_arm64x_dispatch_ret = 0;
11680 int __cdecl mainCRTStartup(void) { return 0; }
11682 if ac_fn_c_try_link "$LINENO"
11684 eval "$as_ac_var=yes"
11686 eval "$as_ac_var=no"
11688 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11689 conftest$ac_exeext conftest.$ac_ext
11690 CFLAGS=$ac_wine_try_cflags_saved
11691 ac_exeext=$ac_wine_try_cflags_saved_exeext
11693 eval ac_res=\$$as_ac_var
11694 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11695 printf "%s\n" "$ac_res" >&6; }
11696 if eval test \"x\$"$as_ac_var"\" = x"yes"
11698 as_fn_append ${wine_arch}_EXTRACFLAGS " -fno-omit-frame-pointer"
11700 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-mpreferred-stack-boundary=2" |
$as_tr_sh`
11701 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mpreferred-stack-boundary=2" >&5
11702 printf %s "checking whether $CC supports -mpreferred-stack-boundary=2... " >&6; }
11703 if eval test \${$as_ac_var+y}
11705 printf %s "(cached) " >&6
11707 ac_wine_try_cflags_saved=$CFLAGS
11708 ac_wine_try_cflags_saved_exeext=$ac_exeext
11709 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -mpreferred-stack-boundary=2"
11711 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11712 /* end confdefs.h. */
11713 void *__os_arm64x_dispatch_ret = 0;
11714 int __cdecl mainCRTStartup(void) { return 0; }
11716 if ac_fn_c_try_link "$LINENO"
11718 eval "$as_ac_var=yes"
11720 eval "$as_ac_var=no"
11722 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11723 conftest$ac_exeext conftest.$ac_ext
11724 CFLAGS=$ac_wine_try_cflags_saved
11725 ac_exeext=$ac_wine_try_cflags_saved_exeext
11727 eval ac_res=\$$as_ac_var
11728 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11729 printf "%s\n" "$ac_res" >&6; }
11730 if eval test \"x\$"$as_ac_var"\" = x"yes"
11732 as_fn_append ${wine_arch}_EXTRACFLAGS " -mpreferred-stack-boundary=2"
11734 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wl,--disable-stdcall-fixup" |
$as_tr_sh`
11735 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wl,--disable-stdcall-fixup" >&5
11736 printf %s "checking whether $CC supports -Wl,--disable-stdcall-fixup... " >&6; }
11737 if eval test \${$as_ac_var+y}
11739 printf %s "(cached) " >&6
11741 ac_wine_try_cflags_saved=$CFLAGS
11742 ac_wine_try_cflags_saved_exeext=$ac_exeext
11743 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wl,--disable-stdcall-fixup"
11745 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11746 /* end confdefs.h. */
11747 void *__os_arm64x_dispatch_ret = 0;
11748 int __cdecl mainCRTStartup(void) { return 0; }
11750 if ac_fn_c_try_link "$LINENO"
11752 eval "$as_ac_var=yes"
11754 eval "$as_ac_var=no"
11756 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11757 conftest$ac_exeext conftest.$ac_ext
11758 CFLAGS=$ac_wine_try_cflags_saved
11759 ac_exeext=$ac_wine_try_cflags_saved_exeext
11761 eval ac_res=\$$as_ac_var
11762 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11763 printf "%s\n" "$ac_res" >&6; }
11764 if eval test \"x\$"$as_ac_var"\" = x"yes"
11766 as_fn_append ${wine_arch}_LDFLAGS " -Wl,--disable-stdcall-fixup"
11768 x86_64) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wformat-overflow" |
$as_tr_sh`
11769 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wformat-overflow" >&5
11770 printf %s "checking whether $CC supports -Wformat-overflow... " >&6; }
11771 if eval test \${$as_ac_var+y}
11773 printf %s "(cached) " >&6
11775 ac_wine_try_cflags_saved=$CFLAGS
11776 ac_wine_try_cflags_saved_exeext=$ac_exeext
11777 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wformat-overflow"
11779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11780 /* end confdefs.h. */
11781 void *__os_arm64x_dispatch_ret = 0;
11782 int __cdecl mainCRTStartup(void) { return 0; }
11784 if ac_fn_c_try_link "$LINENO"
11786 eval "$as_ac_var=yes"
11788 eval "$as_ac_var=no"
11790 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11791 conftest$ac_exeext conftest.$ac_ext
11792 CFLAGS=$ac_wine_try_cflags_saved
11793 ac_exeext=$ac_wine_try_cflags_saved_exeext
11795 eval ac_res=\$$as_ac_var
11796 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11797 printf "%s\n" "$ac_res" >&6; }
11798 if eval test \"x\$"$as_ac_var"\" = x"yes"
11800 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wformat-overflow"
11802 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wnonnull" |
$as_tr_sh`
11803 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wnonnull" >&5
11804 printf %s "checking whether $CC supports -Wnonnull... " >&6; }
11805 if eval test \${$as_ac_var+y}
11807 printf %s "(cached) " >&6
11809 ac_wine_try_cflags_saved=$CFLAGS
11810 ac_wine_try_cflags_saved_exeext=$ac_exeext
11811 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wnonnull"
11813 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11814 /* end confdefs.h. */
11815 void *__os_arm64x_dispatch_ret = 0;
11816 int __cdecl mainCRTStartup(void) { return 0; }
11818 if ac_fn_c_try_link "$LINENO"
11820 eval "$as_ac_var=yes"
11822 eval "$as_ac_var=no"
11824 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11825 conftest$ac_exeext conftest.$ac_ext
11826 CFLAGS=$ac_wine_try_cflags_saved
11827 ac_exeext=$ac_wine_try_cflags_saved_exeext
11829 eval ac_res=\$$as_ac_var
11830 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11831 printf "%s\n" "$ac_res" >&6; }
11832 if eval test \"x\$"$as_ac_var"\" = x"yes"
11834 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wnonnull"
11836 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-mcx16" |
$as_tr_sh`
11837 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mcx16" >&5
11838 printf %s "checking whether $CC supports -mcx16... " >&6; }
11839 if eval test \${$as_ac_var+y}
11841 printf %s "(cached) " >&6
11843 ac_wine_try_cflags_saved=$CFLAGS
11844 ac_wine_try_cflags_saved_exeext=$ac_exeext
11845 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -mcx16"
11847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11848 /* end confdefs.h. */
11849 void *__os_arm64x_dispatch_ret = 0;
11850 int __cdecl mainCRTStartup(void) { return 0; }
11852 if ac_fn_c_try_link "$LINENO"
11854 eval "$as_ac_var=yes"
11856 eval "$as_ac_var=no"
11858 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11859 conftest$ac_exeext conftest.$ac_ext
11860 CFLAGS=$ac_wine_try_cflags_saved
11861 ac_exeext=$ac_wine_try_cflags_saved_exeext
11863 eval ac_res=\$$as_ac_var
11864 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11865 printf "%s\n" "$ac_res" >&6; }
11866 if eval test \"x\$"$as_ac_var"\" = x"yes"
11868 as_fn_append ${wine_arch}_EXTRACFLAGS " -mcx16"
11870 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-mcmodel=small" |
$as_tr_sh`
11871 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mcmodel=small" >&5
11872 printf %s "checking whether $CC supports -mcmodel=small... " >&6; }
11873 if eval test \${$as_ac_var+y}
11875 printf %s "(cached) " >&6
11877 ac_wine_try_cflags_saved=$CFLAGS
11878 ac_wine_try_cflags_saved_exeext=$ac_exeext
11879 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -mcmodel=small"
11881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11882 /* end confdefs.h. */
11883 void *__os_arm64x_dispatch_ret = 0;
11884 int __cdecl mainCRTStartup(void) { return 0; }
11886 if ac_fn_c_try_link "$LINENO"
11888 eval "$as_ac_var=yes"
11890 eval "$as_ac_var=no"
11892 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11893 conftest$ac_exeext conftest.$ac_ext
11894 CFLAGS=$ac_wine_try_cflags_saved
11895 ac_exeext=$ac_wine_try_cflags_saved_exeext
11897 eval ac_res=\$$as_ac_var
11898 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11899 printf "%s\n" "$ac_res" >&6; }
11900 if eval test \"x\$"$as_ac_var"\" = x"yes"
11902 as_fn_append ${wine_arch}_EXTRACFLAGS " -mcmodel=small"
11906 wine_crossdebug=$CROSSDEBUG
11907 if test -z "$wine_crossdebug"
11909 for ac_flag in $CFLAGS; do
11911 -gdwarf*) wine_crossdebug=dwarf ;;
11912 -gcodeview) wine_crossdebug=pdb ;;
11913 -g) wine_crossdebug=${wine_crossdebug:-dwarf} ;;
11918 ac_debug_format_seen=""
11919 for ac_flag in $CFLAGS; do
11921 -gdwarf*|-gcodeview) ac_debug_format_seen=$ac_flag ;;
11924 if test "x$ac_debug_format_seen" = x
11926 case $wine_crossdebug in
11927 *dwarf) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-gdwarf-4" |
$as_tr_sh`
11928 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -gdwarf-4" >&5
11929 printf %s "checking whether $CC supports -gdwarf-4... " >&6; }
11930 if eval test \${$as_ac_var+y}
11932 printf %s "(cached) " >&6
11934 ac_wine_try_cflags_saved=$CFLAGS
11935 ac_wine_try_cflags_saved_exeext=$ac_exeext
11936 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -gdwarf-4"
11938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11939 /* end confdefs.h. */
11940 void *__os_arm64x_dispatch_ret = 0;
11941 int __cdecl mainCRTStartup(void) { return 0; }
11943 if ac_fn_c_try_link "$LINENO"
11945 eval "$as_ac_var=yes"
11947 eval "$as_ac_var=no"
11949 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11950 conftest$ac_exeext conftest.$ac_ext
11951 CFLAGS=$ac_wine_try_cflags_saved
11952 ac_exeext=$ac_wine_try_cflags_saved_exeext
11954 eval ac_res=\$$as_ac_var
11955 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11956 printf "%s\n" "$ac_res" >&6; }
11957 if eval test \"x\$"$as_ac_var"\" = x"yes"
11959 as_fn_append ${wine_arch}_EXTRACFLAGS " -gdwarf-4"
11961 pdb) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-gcodeview" |
$as_tr_sh`
11962 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -gcodeview" >&5
11963 printf %s "checking whether $CC supports -gcodeview... " >&6; }
11964 if eval test \${$as_ac_var+y}
11966 printf %s "(cached) " >&6
11968 ac_wine_try_cflags_saved=$CFLAGS
11969 ac_wine_try_cflags_saved_exeext=$ac_exeext
11970 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -gcodeview"
11972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11973 /* end confdefs.h. */
11974 void *__os_arm64x_dispatch_ret = 0;
11975 int __cdecl mainCRTStartup(void) { return 0; }
11977 if ac_fn_c_try_link "$LINENO"
11979 eval "$as_ac_var=yes"
11981 eval "$as_ac_var=no"
11983 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11984 conftest$ac_exeext conftest.$ac_ext
11985 CFLAGS=$ac_wine_try_cflags_saved
11986 ac_exeext=$ac_wine_try_cflags_saved_exeext
11988 eval ac_res=\$$as_ac_var
11989 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11990 printf "%s\n" "$ac_res" >&6; }
11991 if eval test \"x\$"$as_ac_var"\" = x"yes"
11993 as_fn_append ${wine_arch}_EXTRACFLAGS " -gcodeview"
11997 eval "${wine_arch}_DEBUG=\$wine_crossdebug"
11999 test "x$enable_werror" != xyes || { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Werror" |
$as_tr_sh`
12000 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Werror" >&5
12001 printf %s "checking whether $CC supports -Werror... " >&6; }
12002 if eval test \${$as_ac_var+y}
12004 printf %s "(cached) " >&6
12006 ac_wine_try_cflags_saved=$CFLAGS
12007 ac_wine_try_cflags_saved_exeext=$ac_exeext
12008 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Werror"
12010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12011 /* end confdefs.h. */
12012 void *__os_arm64x_dispatch_ret = 0;
12013 int __cdecl mainCRTStartup(void) { return 0; }
12015 if ac_fn_c_try_link "$LINENO"
12017 eval "$as_ac_var=yes"
12019 eval "$as_ac_var=no"
12021 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12022 conftest$ac_exeext conftest.$ac_ext
12023 CFLAGS=$ac_wine_try_cflags_saved
12024 ac_exeext=$ac_wine_try_cflags_saved_exeext
12026 eval ac_res=\$$as_ac_var
12027 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
12028 printf "%s\n" "$ac_res" >&6; }
12029 if eval test \"x\$"$as_ac_var"\" = x"yes"
12031 as_fn_append ${wine_arch}_EXTRACFLAGS " -Werror"
12033 test "x$enable_build_id" != xyes || { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wl,--build-id" |
$as_tr_sh`
12034 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wl,--build-id" >&5
12035 printf %s "checking whether $CC supports -Wl,--build-id... " >&6; }
12036 if eval test \${$as_ac_var+y}
12038 printf %s "(cached) " >&6
12040 ac_wine_try_cflags_saved=$CFLAGS
12041 ac_wine_try_cflags_saved_exeext=$ac_exeext
12042 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wl,--build-id"
12044 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12045 /* end confdefs.h. */
12046 void *__os_arm64x_dispatch_ret = 0;
12047 int __cdecl mainCRTStartup(void) { return 0; }
12049 if ac_fn_c_try_link "$LINENO"
12051 eval "$as_ac_var=yes"
12053 eval "$as_ac_var=no"
12055 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12056 conftest$ac_exeext conftest.$ac_ext
12057 CFLAGS=$ac_wine_try_cflags_saved
12058 ac_exeext=$ac_wine_try_cflags_saved_exeext
12060 eval ac_res=\$$as_ac_var
12061 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
12062 printf "%s\n" "$ac_res" >&6; }
12063 if eval test \"x\$"$as_ac_var"\" = x"yes"
12065 as_fn_append ${wine_arch}_CFLAGS " -Wl,--build-id"
12066 as_fn_append ${wine_arch}_LDFLAGS " -Wl,--build-id"
12072 CFLAGS=$saved_CFLAGS
12073 LDFLAGS=$saved_LDFLAGS
12077 test "x$PE_ARCHS" != x || as_fn_error $? "PE cross-compilation is required for $HOST_ARCH, please install clang/llvm-dlltool/lld, or llvm-mingw." "$LINENO" 5
12080 if test "x$PE_ARCHS" = "x"
12082 case "x$with_mingw" in
12083 x) as_fn_append wine_notices "|Suitable PE cross-compiler not found, PE files won't be built." ;;
12085 *) as_fn_error $? "Suitable PE cross-compiler not found, PE files won't be built.
12086 This is an error since --with-mingw was requested." "$LINENO" 5 ;;
12093 if test "x$with_system_dllpath" != "x" -a -n "$PE_ARCHS"
12095 if test "x$HOST_ARCH" = xi386
12097 ac_prefix_list="i686-w64-mingw32-pkg-config i586-w64-mingw32-pkg-config i486-w64-mingw32-pkg-config i386-w64-mingw32-pkg-config "
12099 ac_prefix_list="$host_cpu-w64-mingw32-pkg-config"
12101 for ac_prog in $ac_prefix_list
12103 # Extract the first word of "$ac_prog", so it can be a program name with args.
12104 set dummy $ac_prog; ac_word=$2
12105 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12106 printf %s "checking for $ac_word... " >&6; }
12107 if test ${ac_cv_prog_MINGW_PKG_CONFIG+y}
12109 printf %s "(cached) " >&6
12111 if test -n "$MINGW_PKG_CONFIG"; then
12112 ac_cv_prog_MINGW_PKG_CONFIG="$MINGW_PKG_CONFIG" # Let the user override the test.
12114 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12115 for as_dir in $PATH
12118 case $as_dir in #(((
12121 *) as_dir=$as_dir/ ;;
12123 for ac_exec_ext in '' $ac_executable_extensions; do
12124 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
12125 ac_cv_prog_MINGW_PKG_CONFIG="$ac_prog"
12126 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
12135 MINGW_PKG_CONFIG=$ac_cv_prog_MINGW_PKG_CONFIG
12136 if test -n "$MINGW_PKG_CONFIG"; then
12137 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MINGW_PKG_CONFIG" >&5
12138 printf "%s\n" "$MINGW_PKG_CONFIG" >&6; }
12140 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
12141 printf "%s\n" "no" >&6; }
12145 test -n "$MINGW_PKG_CONFIG" && break
12147 test -n "$MINGW_PKG_CONFIG" || MINGW_PKG_CONFIG="false"
12149 if ${FAUDIO_PE_CFLAGS:+false} :
12151 if test ${MINGW_PKG_CONFIG+y}
12153 FAUDIO_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags FAudio
2>/dev
/null
`
12156 if ${FAUDIO_PE_LIBS:+false} :
12158 if test ${MINGW_PKG_CONFIG+y}
12160 FAUDIO_PE_LIBS=`$MINGW_PKG_CONFIG --libs FAudio
2>/dev
/null
`
12163 FAUDIO_PE_LIBS=${FAUDIO_PE_LIBS:-"-lFAudio"}
12164 ac_save_CPPFLAGS=$CPPFLAGS
12165 CPPFLAGS="$CPPFLAGS $FAUDIO_PE_CFLAGS"
12166 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW FAudio.h" >&5
12167 printf %s "checking for MinGW FAudio.h... " >&6; }
12168 if test ${ac_cv_mingw_header_FAudio_h+y}
12170 printf %s "(cached) " >&6
12172 ac_wine_check_headers_saved_cc=$CC
12173 ac_wine_check_headers_saved_exeext=$ac_exeext
12174 eval CC=\$${wine_arch}_CC
12176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12177 /* end confdefs.h. */
12179 #include <FAudio.h>
12188 if ac_fn_c_try_compile "$LINENO"
12190 ac_cv_mingw_header_FAudio_h=yes
12192 ac_cv_mingw_header_FAudio_h=no
12194 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12195 CC=$ac_wine_check_headers_saved_cc
12196 ac_exeext=$ac_wine_check_headers_saved_exeext
12198 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_FAudio_h" >&5
12199 printf "%s\n" "$ac_cv_mingw_header_FAudio_h" >&6; }
12200 if test "x$ac_cv_mingw_header_FAudio_h" = xyes
12202 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for FAudio_CommitOperationSet in MinGW -lFAudio" >&5
12203 printf %s "checking for FAudio_CommitOperationSet in MinGW -lFAudio... " >&6; }
12204 if test ${ac_cv_mingw_lib_FAudio+y}
12206 printf %s "(cached) " >&6
12208 ac_wine_check_headers_saved_cc=$CC
12209 ac_wine_check_headers_saved_exeext=$ac_exeext
12210 ac_wine_check_headers_saved_libs=$LIBS
12211 eval CC=\$${wine_arch}_CC
12213 LIBS="-lFAudio $FAUDIO_PE_LIBS $LIBS"
12214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12215 /* end confdefs.h. */
12217 /* Override any GCC internal prototype to avoid an error.
12218 Use char because int might match the return type of a GCC
12219 builtin and then its argument prototype would still apply. */
12220 char FAudio_CommitOperationSet ();
12224 return FAudio_CommitOperationSet ();
12229 if ac_fn_c_try_link "$LINENO"
12231 ac_cv_mingw_lib_FAudio=yes
12233 ac_cv_mingw_lib_FAudio=no
12235 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12236 conftest$ac_exeext conftest.$ac_ext
12237 CC=$ac_wine_check_headers_saved_cc
12238 ac_exeext=$ac_wine_check_headers_saved_exeext
12239 LIBS=$ac_wine_check_headers_saved_libs
12241 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_FAudio" >&5
12242 printf "%s\n" "$ac_cv_mingw_lib_FAudio" >&6; }
12243 if test "x$ac_cv_mingw_lib_FAudio" = xyes
12247 FAUDIO_PE_CFLAGS=""; FAUDIO_PE_LIBS=""
12250 FAUDIO_PE_CFLAGS=""; FAUDIO_PE_LIBS=""
12252 CPPFLAGS=$ac_save_CPPFLAGS
12254 if test "x$FAUDIO_PE_LIBS" = "x"
12256 as_fn_append wine_notices "|FAudio ${notice_platform}MinGW development files not found (or too old); using bundled version."
12259 if ${FLUIDSYNTH_PE_CFLAGS:+false} :
12261 if test ${MINGW_PKG_CONFIG+y}
12263 FLUIDSYNTH_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags fluidsynth
2>/dev
/null
`
12266 if ${FLUIDSYNTH_PE_LIBS:+false} :
12268 if test ${MINGW_PKG_CONFIG+y}
12270 FLUIDSYNTH_PE_LIBS=`$MINGW_PKG_CONFIG --libs fluidsynth
2>/dev
/null
`
12273 FLUIDSYNTH_PE_LIBS=${FLUIDSYNTH_PE_LIBS:-"-lfluidsynth"}
12274 ac_save_CPPFLAGS=$CPPFLAGS
12275 CPPFLAGS="$CPPFLAGS $FLUIDSYNTH_PE_CFLAGS"
12276 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW fluidsynth.h" >&5
12277 printf %s "checking for MinGW fluidsynth.h... " >&6; }
12278 if test ${ac_cv_mingw_header_fluidsynth_h+y}
12280 printf %s "(cached) " >&6
12282 ac_wine_check_headers_saved_cc=$CC
12283 ac_wine_check_headers_saved_exeext=$ac_exeext
12284 eval CC=\$${wine_arch}_CC
12286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12287 /* end confdefs.h. */
12289 #include <fluidsynth.h>
12298 if ac_fn_c_try_compile "$LINENO"
12300 ac_cv_mingw_header_fluidsynth_h=yes
12302 ac_cv_mingw_header_fluidsynth_h=no
12304 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12305 CC=$ac_wine_check_headers_saved_cc
12306 ac_exeext=$ac_wine_check_headers_saved_exeext
12308 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_fluidsynth_h" >&5
12309 printf "%s\n" "$ac_cv_mingw_header_fluidsynth_h" >&6; }
12310 if test "x$ac_cv_mingw_header_fluidsynth_h" = xyes
12312 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for new_fluid_synth in MinGW -lfluidsynth" >&5
12313 printf %s "checking for new_fluid_synth in MinGW -lfluidsynth... " >&6; }
12314 if test ${ac_cv_mingw_lib_fluidsynth+y}
12316 printf %s "(cached) " >&6
12318 ac_wine_check_headers_saved_cc=$CC
12319 ac_wine_check_headers_saved_exeext=$ac_exeext
12320 ac_wine_check_headers_saved_libs=$LIBS
12321 eval CC=\$${wine_arch}_CC
12323 LIBS="-lfluidsynth $FLUIDSYNTH_PE_LIBS $LIBS"
12324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12325 /* end confdefs.h. */
12327 /* Override any GCC internal prototype to avoid an error.
12328 Use char because int might match the return type of a GCC
12329 builtin and then its argument prototype would still apply. */
12330 char new_fluid_synth ();
12334 return new_fluid_synth ();
12339 if ac_fn_c_try_link "$LINENO"
12341 ac_cv_mingw_lib_fluidsynth=yes
12343 ac_cv_mingw_lib_fluidsynth=no
12345 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12346 conftest$ac_exeext conftest.$ac_ext
12347 CC=$ac_wine_check_headers_saved_cc
12348 ac_exeext=$ac_wine_check_headers_saved_exeext
12349 LIBS=$ac_wine_check_headers_saved_libs
12351 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_fluidsynth" >&5
12352 printf "%s\n" "$ac_cv_mingw_lib_fluidsynth" >&6; }
12353 if test "x$ac_cv_mingw_lib_fluidsynth" = xyes
12357 FLUIDSYNTH_PE_CFLAGS=""; FLUIDSYNTH_PE_LIBS=""
12360 FLUIDSYNTH_PE_CFLAGS=""; FLUIDSYNTH_PE_LIBS=""
12362 CPPFLAGS=$ac_save_CPPFLAGS
12364 if test "x$FLUIDSYNTH_PE_LIBS" = "x"
12366 as_fn_append wine_notices "|Fluidsynth ${notice_platform}MinGW development files not found (or too old); using bundled version."
12369 if ${JPEG_PE_CFLAGS:+false} :
12371 if test ${MINGW_PKG_CONFIG+y}
12373 JPEG_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libjpeg
2>/dev
/null
`
12376 if ${JPEG_PE_LIBS:+false} :
12378 if test ${MINGW_PKG_CONFIG+y}
12380 JPEG_PE_LIBS=`$MINGW_PKG_CONFIG --libs libjpeg
2>/dev
/null
`
12384 ac_save_CPPFLAGS=$CPPFLAGS
12385 CPPFLAGS="$CPPFLAGS $JPEG_PE_CFLAGS"
12386 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW jpeglib.h" >&5
12387 printf %s "checking for MinGW jpeglib.h... " >&6; }
12388 if test ${ac_cv_mingw_header_jpeglib_h+y}
12390 printf %s "(cached) " >&6
12392 ac_wine_check_headers_saved_cc=$CC
12393 ac_wine_check_headers_saved_exeext=$ac_exeext
12394 eval CC=\$${wine_arch}_CC
12396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12397 /* end confdefs.h. */
12398 #include <stddef.h>
12400 #include <jpeglib.h>
12409 if ac_fn_c_try_compile "$LINENO"
12411 ac_cv_mingw_header_jpeglib_h=yes
12413 ac_cv_mingw_header_jpeglib_h=no
12415 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12416 CC=$ac_wine_check_headers_saved_cc
12417 ac_exeext=$ac_wine_check_headers_saved_exeext
12419 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_jpeglib_h" >&5
12420 printf "%s\n" "$ac_cv_mingw_header_jpeglib_h" >&6; }
12421 if test "x$ac_cv_mingw_header_jpeglib_h" = xyes
12423 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for jpeg_start_decompress in MinGW -ljpeg" >&5
12424 printf %s "checking for jpeg_start_decompress in MinGW -ljpeg... " >&6; }
12425 if test ${ac_cv_mingw_lib_jpeg+y}
12427 printf %s "(cached) " >&6
12429 ac_wine_check_headers_saved_cc=$CC
12430 ac_wine_check_headers_saved_exeext=$ac_exeext
12431 ac_wine_check_headers_saved_libs=$LIBS
12432 eval CC=\$${wine_arch}_CC
12434 LIBS="-ljpeg $JPEG_PE_LIBS $LIBS"
12435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12436 /* end confdefs.h. */
12438 /* Override any GCC internal prototype to avoid an error.
12439 Use char because int might match the return type of a GCC
12440 builtin and then its argument prototype would still apply. */
12441 char jpeg_start_decompress ();
12445 return jpeg_start_decompress ();
12450 if ac_fn_c_try_link "$LINENO"
12452 ac_cv_mingw_lib_jpeg=yes
12454 ac_cv_mingw_lib_jpeg=no
12456 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12457 conftest$ac_exeext conftest.$ac_ext
12458 CC=$ac_wine_check_headers_saved_cc
12459 ac_exeext=$ac_wine_check_headers_saved_exeext
12460 LIBS=$ac_wine_check_headers_saved_libs
12462 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_jpeg" >&5
12463 printf "%s\n" "$ac_cv_mingw_lib_jpeg" >&6; }
12464 if test "x$ac_cv_mingw_lib_jpeg" = xyes
12468 JPEG_PE_CFLAGS=""; JPEG_PE_LIBS=""
12471 JPEG_PE_CFLAGS=""; JPEG_PE_LIBS=""
12473 CPPFLAGS=$ac_save_CPPFLAGS
12475 if test "x$JPEG_PE_LIBS" = "x"
12477 as_fn_append wine_notices "|libjpeg ${notice_platform}MinGW development files not found; using bundled version."
12480 if ${LCMS2_PE_CFLAGS:+false} :
12482 if test ${MINGW_PKG_CONFIG+y}
12484 LCMS2_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags lcms2
2>/dev
/null
`
12487 if ${LCMS2_PE_LIBS:+false} :
12489 if test ${MINGW_PKG_CONFIG+y}
12491 LCMS2_PE_LIBS=`$MINGW_PKG_CONFIG --libs lcms2
2>/dev
/null
`
12494 LCMS2_PE_LIBS=${LCMS2_PE_LIBS:-"-llcms2"}
12495 ac_save_CPPFLAGS=$CPPFLAGS
12496 CPPFLAGS="$CPPFLAGS $LCMS2_PE_CFLAGS"
12497 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW lcms2.h" >&5
12498 printf %s "checking for MinGW lcms2.h... " >&6; }
12499 if test ${ac_cv_mingw_header_lcms2_h+y}
12501 printf %s "(cached) " >&6
12503 ac_wine_check_headers_saved_cc=$CC
12504 ac_wine_check_headers_saved_exeext=$ac_exeext
12505 eval CC=\$${wine_arch}_CC
12507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12508 /* end confdefs.h. */
12519 if ac_fn_c_try_compile "$LINENO"
12521 ac_cv_mingw_header_lcms2_h=yes
12523 ac_cv_mingw_header_lcms2_h=no
12525 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12526 CC=$ac_wine_check_headers_saved_cc
12527 ac_exeext=$ac_wine_check_headers_saved_exeext
12529 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_lcms2_h" >&5
12530 printf "%s\n" "$ac_cv_mingw_header_lcms2_h" >&6; }
12531 if test "x$ac_cv_mingw_header_lcms2_h" = xyes
12533 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in MinGW -llcms2" >&5
12534 printf %s "checking for cmsOpenProfileFromFile in MinGW -llcms2... " >&6; }
12535 if test ${ac_cv_mingw_lib_lcms2+y}
12537 printf %s "(cached) " >&6
12539 ac_wine_check_headers_saved_cc=$CC
12540 ac_wine_check_headers_saved_exeext=$ac_exeext
12541 ac_wine_check_headers_saved_libs=$LIBS
12542 eval CC=\$${wine_arch}_CC
12544 LIBS="-llcms2 $LCMS2_PE_LIBS $LIBS"
12545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12546 /* end confdefs.h. */
12548 /* Override any GCC internal prototype to avoid an error.
12549 Use char because int might match the return type of a GCC
12550 builtin and then its argument prototype would still apply. */
12551 char cmsOpenProfileFromFile ();
12555 return cmsOpenProfileFromFile ();
12560 if ac_fn_c_try_link "$LINENO"
12562 ac_cv_mingw_lib_lcms2=yes
12564 ac_cv_mingw_lib_lcms2=no
12566 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12567 conftest$ac_exeext conftest.$ac_ext
12568 CC=$ac_wine_check_headers_saved_cc
12569 ac_exeext=$ac_wine_check_headers_saved_exeext
12570 LIBS=$ac_wine_check_headers_saved_libs
12572 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_lcms2" >&5
12573 printf "%s\n" "$ac_cv_mingw_lib_lcms2" >&6; }
12574 if test "x$ac_cv_mingw_lib_lcms2" = xyes
12578 LCMS2_PE_CFLAGS=""; LCMS2_PE_LIBS=""
12581 LCMS2_PE_CFLAGS=""; LCMS2_PE_LIBS=""
12583 CPPFLAGS=$ac_save_CPPFLAGS
12585 if test "x$LCMS2_PE_LIBS" = "x"
12587 as_fn_append wine_notices "|liblcms2 ${notice_platform}MinGW development files not found; using bundled version."
12590 if ${MPG123_PE_CFLAGS:+false} :
12592 if test ${MINGW_PKG_CONFIG+y}
12594 MPG123_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libmpg123
2>/dev
/null
`
12597 if ${MPG123_PE_LIBS:+false} :
12599 if test ${MINGW_PKG_CONFIG+y}
12601 MPG123_PE_LIBS=`$MINGW_PKG_CONFIG --libs libmpg123
2>/dev
/null
`
12604 MPG123_PE_LIBS=${MPG123_PE_LIBS:-"-lmpg123"}
12605 ac_save_CPPFLAGS=$CPPFLAGS
12606 CPPFLAGS="$CPPFLAGS $MPG123_PE_CFLAGS"
12607 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW mpg123.h" >&5
12608 printf %s "checking for MinGW mpg123.h... " >&6; }
12609 if test ${ac_cv_mingw_header_mpg123_h+y}
12611 printf %s "(cached) " >&6
12613 ac_wine_check_headers_saved_cc=$CC
12614 ac_wine_check_headers_saved_exeext=$ac_exeext
12615 eval CC=\$${wine_arch}_CC
12617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12618 /* end confdefs.h. */
12620 #include <mpg123.h>
12629 if ac_fn_c_try_compile "$LINENO"
12631 ac_cv_mingw_header_mpg123_h=yes
12633 ac_cv_mingw_header_mpg123_h=no
12635 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12636 CC=$ac_wine_check_headers_saved_cc
12637 ac_exeext=$ac_wine_check_headers_saved_exeext
12639 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_mpg123_h" >&5
12640 printf "%s\n" "$ac_cv_mingw_header_mpg123_h" >&6; }
12641 if test "x$ac_cv_mingw_header_mpg123_h" = xyes
12643 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in MinGW -lmpg123" >&5
12644 printf %s "checking for mpg123_feed in MinGW -lmpg123... " >&6; }
12645 if test ${ac_cv_mingw_lib_mpg123+y}
12647 printf %s "(cached) " >&6
12649 ac_wine_check_headers_saved_cc=$CC
12650 ac_wine_check_headers_saved_exeext=$ac_exeext
12651 ac_wine_check_headers_saved_libs=$LIBS
12652 eval CC=\$${wine_arch}_CC
12654 LIBS="-lmpg123 $MPG123_PE_LIBS $LIBS"
12655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12656 /* end confdefs.h. */
12658 /* Override any GCC internal prototype to avoid an error.
12659 Use char because int might match the return type of a GCC
12660 builtin and then its argument prototype would still apply. */
12661 char mpg123_feed ();
12665 return mpg123_feed ();
12670 if ac_fn_c_try_link "$LINENO"
12672 ac_cv_mingw_lib_mpg123=yes
12674 ac_cv_mingw_lib_mpg123=no
12676 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12677 conftest$ac_exeext conftest.$ac_ext
12678 CC=$ac_wine_check_headers_saved_cc
12679 ac_exeext=$ac_wine_check_headers_saved_exeext
12680 LIBS=$ac_wine_check_headers_saved_libs
12682 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_mpg123" >&5
12683 printf "%s\n" "$ac_cv_mingw_lib_mpg123" >&6; }
12684 if test "x$ac_cv_mingw_lib_mpg123" = xyes
12688 MPG123_PE_CFLAGS=""; MPG123_PE_LIBS=""
12691 MPG123_PE_CFLAGS=""; MPG123_PE_LIBS=""
12693 CPPFLAGS=$ac_save_CPPFLAGS
12695 if test "x$MPG123_PE_LIBS" = "x"
12697 as_fn_append wine_notices "|libmpg123 ${notice_platform}MinGW development files not found (or too old); using bundled version."
12700 if ${PNG_PE_CFLAGS:+false} :
12702 if test ${MINGW_PKG_CONFIG+y}
12704 PNG_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libpng
2>/dev
/null
`
12707 if ${PNG_PE_LIBS:+false} :
12709 if test ${MINGW_PKG_CONFIG+y}
12711 PNG_PE_LIBS=`$MINGW_PKG_CONFIG --libs libpng
2>/dev
/null
`
12715 ac_save_CPPFLAGS=$CPPFLAGS
12716 CPPFLAGS="$CPPFLAGS $PNG_PE_CFLAGS"
12717 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW png.h" >&5
12718 printf %s "checking for MinGW png.h... " >&6; }
12719 if test ${ac_cv_mingw_header_png_h+y}
12721 printf %s "(cached) " >&6
12723 ac_wine_check_headers_saved_cc=$CC
12724 ac_wine_check_headers_saved_exeext=$ac_exeext
12725 eval CC=\$${wine_arch}_CC
12727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12728 /* end confdefs.h. */
12739 if ac_fn_c_try_compile "$LINENO"
12741 ac_cv_mingw_header_png_h=yes
12743 ac_cv_mingw_header_png_h=no
12745 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12746 CC=$ac_wine_check_headers_saved_cc
12747 ac_exeext=$ac_wine_check_headers_saved_exeext
12749 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_png_h" >&5
12750 printf "%s\n" "$ac_cv_mingw_header_png_h" >&6; }
12751 if test "x$ac_cv_mingw_header_png_h" = xyes
12753 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for png_create_read_struct in MinGW -lpng" >&5
12754 printf %s "checking for png_create_read_struct in MinGW -lpng... " >&6; }
12755 if test ${ac_cv_mingw_lib_png+y}
12757 printf %s "(cached) " >&6
12759 ac_wine_check_headers_saved_cc=$CC
12760 ac_wine_check_headers_saved_exeext=$ac_exeext
12761 ac_wine_check_headers_saved_libs=$LIBS
12762 eval CC=\$${wine_arch}_CC
12764 LIBS="-lpng $PNG_PE_LIBS $LIBS"
12765 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12766 /* end confdefs.h. */
12768 /* Override any GCC internal prototype to avoid an error.
12769 Use char because int might match the return type of a GCC
12770 builtin and then its argument prototype would still apply. */
12771 char png_create_read_struct ();
12775 return png_create_read_struct ();
12780 if ac_fn_c_try_link "$LINENO"
12782 ac_cv_mingw_lib_png=yes
12784 ac_cv_mingw_lib_png=no
12786 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12787 conftest$ac_exeext conftest.$ac_ext
12788 CC=$ac_wine_check_headers_saved_cc
12789 ac_exeext=$ac_wine_check_headers_saved_exeext
12790 LIBS=$ac_wine_check_headers_saved_libs
12792 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_png" >&5
12793 printf "%s\n" "$ac_cv_mingw_lib_png" >&6; }
12794 if test "x$ac_cv_mingw_lib_png" = xyes
12798 PNG_PE_CFLAGS=""; PNG_PE_LIBS=""
12801 PNG_PE_CFLAGS=""; PNG_PE_LIBS=""
12803 CPPFLAGS=$ac_save_CPPFLAGS
12805 if test "x$PNG_PE_LIBS" = "x"
12807 as_fn_append wine_notices "|libpng ${notice_platform}MinGW development files not found; using bundled version."
12810 if ${TIFF_PE_CFLAGS:+false} :
12812 if test ${MINGW_PKG_CONFIG+y}
12814 TIFF_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libtiff-4
2>/dev
/null
`
12817 if ${TIFF_PE_LIBS:+false} :
12819 if test ${MINGW_PKG_CONFIG+y}
12821 TIFF_PE_LIBS=`$MINGW_PKG_CONFIG --libs libtiff-4
2>/dev
/null
`
12825 ac_save_CPPFLAGS=$CPPFLAGS
12826 CPPFLAGS="$CPPFLAGS $TIFF_PE_CFLAGS"
12827 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW tiffio.h" >&5
12828 printf %s "checking for MinGW tiffio.h... " >&6; }
12829 if test ${ac_cv_mingw_header_tiffio_h+y}
12831 printf %s "(cached) " >&6
12833 ac_wine_check_headers_saved_cc=$CC
12834 ac_wine_check_headers_saved_exeext=$ac_exeext
12835 eval CC=\$${wine_arch}_CC
12837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12838 /* end confdefs.h. */
12840 #include <tiffio.h>
12849 if ac_fn_c_try_compile "$LINENO"
12851 ac_cv_mingw_header_tiffio_h=yes
12853 ac_cv_mingw_header_tiffio_h=no
12855 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12856 CC=$ac_wine_check_headers_saved_cc
12857 ac_exeext=$ac_wine_check_headers_saved_exeext
12859 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_tiffio_h" >&5
12860 printf "%s\n" "$ac_cv_mingw_header_tiffio_h" >&6; }
12861 if test "x$ac_cv_mingw_header_tiffio_h" = xyes
12863 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for TIFFClientOpen in MinGW -ltiff" >&5
12864 printf %s "checking for TIFFClientOpen in MinGW -ltiff... " >&6; }
12865 if test ${ac_cv_mingw_lib_tiff+y}
12867 printf %s "(cached) " >&6
12869 ac_wine_check_headers_saved_cc=$CC
12870 ac_wine_check_headers_saved_exeext=$ac_exeext
12871 ac_wine_check_headers_saved_libs=$LIBS
12872 eval CC=\$${wine_arch}_CC
12874 LIBS="-ltiff $TIFF_PE_LIBS $LIBS"
12875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12876 /* end confdefs.h. */
12878 /* Override any GCC internal prototype to avoid an error.
12879 Use char because int might match the return type of a GCC
12880 builtin and then its argument prototype would still apply. */
12881 char TIFFClientOpen ();
12885 return TIFFClientOpen ();
12890 if ac_fn_c_try_link "$LINENO"
12892 ac_cv_mingw_lib_tiff=yes
12894 ac_cv_mingw_lib_tiff=no
12896 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12897 conftest$ac_exeext conftest.$ac_ext
12898 CC=$ac_wine_check_headers_saved_cc
12899 ac_exeext=$ac_wine_check_headers_saved_exeext
12900 LIBS=$ac_wine_check_headers_saved_libs
12902 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_tiff" >&5
12903 printf "%s\n" "$ac_cv_mingw_lib_tiff" >&6; }
12904 if test "x$ac_cv_mingw_lib_tiff" = xyes
12908 TIFF_PE_CFLAGS=""; TIFF_PE_LIBS=""
12911 TIFF_PE_CFLAGS=""; TIFF_PE_LIBS=""
12913 CPPFLAGS=$ac_save_CPPFLAGS
12915 if test "x$TIFF_PE_LIBS" = "x"
12917 as_fn_append wine_notices "|libtiff ${notice_platform}MinGW development files not found; using bundled version."
12920 if ${XML2_PE_CFLAGS:+false} :
12922 if test ${MINGW_PKG_CONFIG+y}
12924 XML2_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libxml-2.0
2>/dev
/null
`
12927 if ${XML2_PE_LIBS:+false} :
12929 if test ${MINGW_PKG_CONFIG+y}
12931 XML2_PE_LIBS=`$MINGW_PKG_CONFIG --libs libxml-2.0
2>/dev
/null
`
12934 XML2_PE_LIBS=${XML2_PE_LIBS:-"-lxml2"}
12935 ac_save_CPPFLAGS=$CPPFLAGS
12936 CPPFLAGS="$CPPFLAGS $XML2_PE_CFLAGS"
12937 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/parser.h" >&5
12938 printf %s "checking for MinGW libxml/parser.h... " >&6; }
12939 if test ${ac_cv_mingw_header_libxml_parser_h+y}
12941 printf %s "(cached) " >&6
12943 ac_wine_check_headers_saved_cc=$CC
12944 ac_wine_check_headers_saved_exeext=$ac_exeext
12945 eval CC=\$${wine_arch}_CC
12947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12948 /* end confdefs.h. */
12950 #include <libxml/parser.h>
12959 if ac_fn_c_try_compile "$LINENO"
12961 ac_cv_mingw_header_libxml_parser_h=yes
12963 ac_cv_mingw_header_libxml_parser_h=no
12965 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12966 CC=$ac_wine_check_headers_saved_cc
12967 ac_exeext=$ac_wine_check_headers_saved_exeext
12969 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_parser_h" >&5
12970 printf "%s\n" "$ac_cv_mingw_header_libxml_parser_h" >&6; }
12971 if test "x$ac_cv_mingw_header_libxml_parser_h" = xyes
12975 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/xmlsave.h" >&5
12976 printf %s "checking for MinGW libxml/xmlsave.h... " >&6; }
12977 if test ${ac_cv_mingw_header_libxml_xmlsave_h+y}
12979 printf %s "(cached) " >&6
12981 ac_wine_check_headers_saved_cc=$CC
12982 ac_wine_check_headers_saved_exeext=$ac_exeext
12983 eval CC=\$${wine_arch}_CC
12985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12986 /* end confdefs.h. */
12988 #include <libxml/xmlsave.h>
12997 if ac_fn_c_try_compile "$LINENO"
12999 ac_cv_mingw_header_libxml_xmlsave_h=yes
13001 ac_cv_mingw_header_libxml_xmlsave_h=no
13003 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
13004 CC=$ac_wine_check_headers_saved_cc
13005 ac_exeext=$ac_wine_check_headers_saved_exeext
13007 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_xmlsave_h" >&5
13008 printf "%s\n" "$ac_cv_mingw_header_libxml_xmlsave_h" >&6; }
13009 if test "x$ac_cv_mingw_header_libxml_xmlsave_h" = xyes
13013 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/SAX2.h" >&5
13014 printf %s "checking for MinGW libxml/SAX2.h... " >&6; }
13015 if test ${ac_cv_mingw_header_libxml_SAX2_h+y}
13017 printf %s "(cached) " >&6
13019 ac_wine_check_headers_saved_cc=$CC
13020 ac_wine_check_headers_saved_exeext=$ac_exeext
13021 eval CC=\$${wine_arch}_CC
13023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13024 /* end confdefs.h. */
13026 #include <libxml/SAX2.h>
13035 if ac_fn_c_try_compile "$LINENO"
13037 ac_cv_mingw_header_libxml_SAX2_h=yes
13039 ac_cv_mingw_header_libxml_SAX2_h=no
13041 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
13042 CC=$ac_wine_check_headers_saved_cc
13043 ac_exeext=$ac_wine_check_headers_saved_exeext
13045 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_SAX2_h" >&5
13046 printf "%s\n" "$ac_cv_mingw_header_libxml_SAX2_h" >&6; }
13047 if test "x$ac_cv_mingw_header_libxml_SAX2_h" = xyes
13051 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"
13053 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in MinGW -lxml2" >&5
13054 printf %s "checking for xmlFirstElementChild in MinGW -lxml2... " >&6; }
13055 if test ${ac_cv_mingw_lib_xml2+y}
13057 printf %s "(cached) " >&6
13059 ac_wine_check_headers_saved_cc=$CC
13060 ac_wine_check_headers_saved_exeext=$ac_exeext
13061 ac_wine_check_headers_saved_libs=$LIBS
13062 eval CC=\$${wine_arch}_CC
13064 LIBS="-lxml2 $XML2_PE_LIBS $LIBS"
13065 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13066 /* end confdefs.h. */
13068 /* Override any GCC internal prototype to avoid an error.
13069 Use char because int might match the return type of a GCC
13070 builtin and then its argument prototype would still apply. */
13071 char xmlFirstElementChild ();
13075 return xmlFirstElementChild ();
13080 if ac_fn_c_try_link "$LINENO"
13082 ac_cv_mingw_lib_xml2=yes
13084 ac_cv_mingw_lib_xml2=no
13086 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13087 conftest$ac_exeext conftest.$ac_ext
13088 CC=$ac_wine_check_headers_saved_cc
13089 ac_exeext=$ac_wine_check_headers_saved_exeext
13090 LIBS=$ac_wine_check_headers_saved_libs
13092 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_xml2" >&5
13093 printf "%s\n" "$ac_cv_mingw_lib_xml2" >&6; }
13094 if test "x$ac_cv_mingw_lib_xml2" = xyes
13098 XML2_PE_CFLAGS=""; XML2_PE_LIBS=""
13104 CPPFLAGS=$ac_save_CPPFLAGS
13106 if test "x$XML2_PE_LIBS" = "x"
13108 as_fn_append wine_notices "|libxml2 ${notice_platform}MinGW development files not found (or too old); using bundled version."
13111 if ${XSLT_PE_CFLAGS:+false} :
13113 if test ${MINGW_PKG_CONFIG+y}
13115 XSLT_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libxslt
2>/dev
/null
`
13118 if ${XSLT_PE_LIBS:+false} :
13120 if test ${MINGW_PKG_CONFIG+y}
13122 XSLT_PE_LIBS=`$MINGW_PKG_CONFIG --libs libxslt
2>/dev
/null
`
13125 XSLT_PE_LIBS=${XSLT_PE_LIBS:-"-lxslt"}
13126 ac_save_CPPFLAGS=$CPPFLAGS
13127 CPPFLAGS="$CPPFLAGS $XSLT_PE_CFLAGS"
13128 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxslt/pattern.h" >&5
13129 printf %s "checking for MinGW libxslt/pattern.h... " >&6; }
13130 if test ${ac_cv_mingw_header_libxslt_pattern_h+y}
13132 printf %s "(cached) " >&6
13134 ac_wine_check_headers_saved_cc=$CC
13135 ac_wine_check_headers_saved_exeext=$ac_exeext
13136 eval CC=\$${wine_arch}_CC
13138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13139 /* end confdefs.h. */
13141 #include <libxslt/pattern.h>
13150 if ac_fn_c_try_compile "$LINENO"
13152 ac_cv_mingw_header_libxslt_pattern_h=yes
13154 ac_cv_mingw_header_libxslt_pattern_h=no
13156 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
13157 CC=$ac_wine_check_headers_saved_cc
13158 ac_exeext=$ac_wine_check_headers_saved_exeext
13160 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxslt_pattern_h" >&5
13161 printf "%s\n" "$ac_cv_mingw_header_libxslt_pattern_h" >&6; }
13162 if test "x$ac_cv_mingw_header_libxslt_pattern_h" = xyes
13166 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxslt/transform.h" >&5
13167 printf %s "checking for MinGW libxslt/transform.h... " >&6; }
13168 if test ${ac_cv_mingw_header_libxslt_transform_h+y}
13170 printf %s "(cached) " >&6
13172 ac_wine_check_headers_saved_cc=$CC
13173 ac_wine_check_headers_saved_exeext=$ac_exeext
13174 eval CC=\$${wine_arch}_CC
13176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13177 /* end confdefs.h. */
13179 #include <libxslt/transform.h>
13188 if ac_fn_c_try_compile "$LINENO"
13190 ac_cv_mingw_header_libxslt_transform_h=yes
13192 ac_cv_mingw_header_libxslt_transform_h=no
13194 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
13195 CC=$ac_wine_check_headers_saved_cc
13196 ac_exeext=$ac_wine_check_headers_saved_exeext
13198 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxslt_transform_h" >&5
13199 printf "%s\n" "$ac_cv_mingw_header_libxslt_transform_h" >&6; }
13200 if test "x$ac_cv_mingw_header_libxslt_transform_h" = xyes
13204 if test "$ac_cv_mingw_header_libxslt_pattern_h" = "yes" -a "$ac_cv_mingw_header_libxslt_transform_h" = "yes"
13206 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for xsltCompilePattern in MinGW -lxslt" >&5
13207 printf %s "checking for xsltCompilePattern in MinGW -lxslt... " >&6; }
13208 if test ${ac_cv_mingw_lib_xslt+y}
13210 printf %s "(cached) " >&6
13212 ac_wine_check_headers_saved_cc=$CC
13213 ac_wine_check_headers_saved_exeext=$ac_exeext
13214 ac_wine_check_headers_saved_libs=$LIBS
13215 eval CC=\$${wine_arch}_CC
13217 LIBS="-lxslt $XSLT_PE_LIBS $LIBS"
13218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13219 /* end confdefs.h. */
13221 /* Override any GCC internal prototype to avoid an error.
13222 Use char because int might match the return type of a GCC
13223 builtin and then its argument prototype would still apply. */
13224 char xsltCompilePattern ();
13228 return xsltCompilePattern ();
13233 if ac_fn_c_try_link "$LINENO"
13235 ac_cv_mingw_lib_xslt=yes
13237 ac_cv_mingw_lib_xslt=no
13239 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13240 conftest$ac_exeext conftest.$ac_ext
13241 CC=$ac_wine_check_headers_saved_cc
13242 ac_exeext=$ac_wine_check_headers_saved_exeext
13243 LIBS=$ac_wine_check_headers_saved_libs
13245 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_xslt" >&5
13246 printf "%s\n" "$ac_cv_mingw_lib_xslt" >&6; }
13247 if test "x$ac_cv_mingw_lib_xslt" = xyes
13251 XSLT_PE_CFLAGS=""; XSLT_PE_LIBS=""
13257 CPPFLAGS=$ac_save_CPPFLAGS
13259 if test "x$XSLT_PE_LIBS" = "x"
13261 as_fn_append wine_notices "|libxslt ${notice_platform}MinGW development files not found; using bundled version."
13264 if ${VKD3D_PE_CFLAGS:+false} :
13266 if test ${MINGW_PKG_CONFIG+y}
13268 VKD3D_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libvkd3d libvkd3d-shader
2>/dev
/null
`
13271 if ${VKD3D_PE_LIBS:+false} :
13273 if test ${MINGW_PKG_CONFIG+y}
13275 VKD3D_PE_LIBS=`$MINGW_PKG_CONFIG --libs libvkd3d libvkd3d-shader
2>/dev
/null
`
13278 VKD3D_PE_LIBS=${VKD3D_PE_LIBS:-"-lvkd3d -lvkd3d-shader"}
13279 ac_save_CPPFLAGS=$CPPFLAGS
13280 CPPFLAGS="$CPPFLAGS $VKD3D_PE_CFLAGS"
13281 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW vkd3d.h" >&5
13282 printf %s "checking for MinGW vkd3d.h... " >&6; }
13283 if test ${ac_cv_mingw_header_vkd3d_h+y}
13285 printf %s "(cached) " >&6
13287 ac_wine_check_headers_saved_cc=$CC
13288 ac_wine_check_headers_saved_exeext=$ac_exeext
13289 eval CC=\$${wine_arch}_CC
13291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13292 /* end confdefs.h. */
13303 if ac_fn_c_try_compile "$LINENO"
13305 ac_cv_mingw_header_vkd3d_h=yes
13307 ac_cv_mingw_header_vkd3d_h=no
13309 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
13310 CC=$ac_wine_check_headers_saved_cc
13311 ac_exeext=$ac_wine_check_headers_saved_exeext
13313 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_vkd3d_h" >&5
13314 printf "%s\n" "$ac_cv_mingw_header_vkd3d_h" >&6; }
13315 if test "x$ac_cv_mingw_header_vkd3d_h" = xyes
13319 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW vkd3d_shader.h" >&5
13320 printf %s "checking for MinGW vkd3d_shader.h... " >&6; }
13321 if test ${ac_cv_mingw_header_vkd3d_shader_h+y}
13323 printf %s "(cached) " >&6
13325 ac_wine_check_headers_saved_cc=$CC
13326 ac_wine_check_headers_saved_exeext=$ac_exeext
13327 eval CC=\$${wine_arch}_CC
13329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13330 /* end confdefs.h. */
13332 #include <vkd3d_shader.h>
13341 if ac_fn_c_try_compile "$LINENO"
13343 ac_cv_mingw_header_vkd3d_shader_h=yes
13345 ac_cv_mingw_header_vkd3d_shader_h=no
13347 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
13348 CC=$ac_wine_check_headers_saved_cc
13349 ac_exeext=$ac_wine_check_headers_saved_exeext
13351 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_vkd3d_shader_h" >&5
13352 printf "%s\n" "$ac_cv_mingw_header_vkd3d_shader_h" >&6; }
13353 if test "x$ac_cv_mingw_header_vkd3d_shader_h" = xyes
13357 if test "$ac_cv_mingw_header_vkd3d_h" = "yes" -a "$ac_cv_mingw_header_vkd3d_shader_h" = "yes"
13359 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for vkd3d_set_log_callback in MinGW -lvkd3d" >&5
13360 printf %s "checking for vkd3d_set_log_callback in MinGW -lvkd3d... " >&6; }
13361 if test ${ac_cv_mingw_lib_vkd3d+y}
13363 printf %s "(cached) " >&6
13365 ac_wine_check_headers_saved_cc=$CC
13366 ac_wine_check_headers_saved_exeext=$ac_exeext
13367 ac_wine_check_headers_saved_libs=$LIBS
13368 eval CC=\$${wine_arch}_CC
13370 LIBS="-lvkd3d $VKD3D_PE_LIBS $LIBS"
13371 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13372 /* end confdefs.h. */
13374 /* Override any GCC internal prototype to avoid an error.
13375 Use char because int might match the return type of a GCC
13376 builtin and then its argument prototype would still apply. */
13377 char vkd3d_set_log_callback ();
13381 return vkd3d_set_log_callback ();
13386 if ac_fn_c_try_link "$LINENO"
13388 ac_cv_mingw_lib_vkd3d=yes
13390 ac_cv_mingw_lib_vkd3d=no
13392 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13393 conftest$ac_exeext conftest.$ac_ext
13394 CC=$ac_wine_check_headers_saved_cc
13395 ac_exeext=$ac_wine_check_headers_saved_exeext
13396 LIBS=$ac_wine_check_headers_saved_libs
13398 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_vkd3d" >&5
13399 printf "%s\n" "$ac_cv_mingw_lib_vkd3d" >&6; }
13400 if test "x$ac_cv_mingw_lib_vkd3d" = xyes
13406 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for vkd3d_shader_build_varying_map in MinGW -lvkd3d-shader" >&5
13407 printf %s "checking for vkd3d_shader_build_varying_map in MinGW -lvkd3d-shader... " >&6; }
13408 if test ${ac_cv_mingw_lib_vkd3d_shader+y}
13410 printf %s "(cached) " >&6
13412 ac_wine_check_headers_saved_cc=$CC
13413 ac_wine_check_headers_saved_exeext=$ac_exeext
13414 ac_wine_check_headers_saved_libs=$LIBS
13415 eval CC=\$${wine_arch}_CC
13417 LIBS="-lvkd3d-shader $VKD3D_PE_LIBS $LIBS"
13418 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13419 /* end confdefs.h. */
13421 /* Override any GCC internal prototype to avoid an error.
13422 Use char because int might match the return type of a GCC
13423 builtin and then its argument prototype would still apply. */
13424 char vkd3d_shader_build_varying_map ();
13428 return vkd3d_shader_build_varying_map ();
13433 if ac_fn_c_try_link "$LINENO"
13435 ac_cv_mingw_lib_vkd3d_shader=yes
13437 ac_cv_mingw_lib_vkd3d_shader=no
13439 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13440 conftest$ac_exeext conftest.$ac_ext
13441 CC=$ac_wine_check_headers_saved_cc
13442 ac_exeext=$ac_wine_check_headers_saved_exeext
13443 LIBS=$ac_wine_check_headers_saved_libs
13445 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_vkd3d_shader" >&5
13446 printf "%s\n" "$ac_cv_mingw_lib_vkd3d_shader" >&6; }
13447 if test "x$ac_cv_mingw_lib_vkd3d_shader" = xyes
13453 if test "$ac_cv_mingw_lib_vkd3d" = "no" -o "$ac_cv_mingw_lib_vkd3d_shader" = "no"
13462 CPPFLAGS=$ac_save_CPPFLAGS
13464 if test "x$VKD3D_PE_LIBS" = "x"
13466 as_fn_append wine_notices "|libvkd3d ${notice_platform}MinGW development files not found (or too old); using bundled version."
13469 if ${ZLIB_PE_CFLAGS:+false} :
13471 if test ${MINGW_PKG_CONFIG+y}
13473 ZLIB_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags zlib
2>/dev
/null
`
13476 if ${ZLIB_PE_LIBS:+false} :
13478 if test ${MINGW_PKG_CONFIG+y}
13480 ZLIB_PE_LIBS=`$MINGW_PKG_CONFIG --libs zlib
2>/dev
/null
`
13483 ZLIB_PE_LIBS=${ZLIB_PE_LIBS:-"-lz"}
13484 ac_save_CPPFLAGS=$CPPFLAGS
13485 CPPFLAGS="$CPPFLAGS $ZLIB_PE_CFLAGS"
13486 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW zlib.h" >&5
13487 printf %s "checking for MinGW zlib.h... " >&6; }
13488 if test ${ac_cv_mingw_header_zlib_h+y}
13490 printf %s "(cached) " >&6
13492 ac_wine_check_headers_saved_cc=$CC
13493 ac_wine_check_headers_saved_exeext=$ac_exeext
13494 eval CC=\$${wine_arch}_CC
13496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13497 /* end confdefs.h. */
13508 if ac_fn_c_try_compile "$LINENO"
13510 ac_cv_mingw_header_zlib_h=yes
13512 ac_cv_mingw_header_zlib_h=no
13514 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
13515 CC=$ac_wine_check_headers_saved_cc
13516 ac_exeext=$ac_wine_check_headers_saved_exeext
13518 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_zlib_h" >&5
13519 printf "%s\n" "$ac_cv_mingw_header_zlib_h" >&6; }
13520 if test "x$ac_cv_mingw_header_zlib_h" = xyes
13522 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inflate in MinGW -lz" >&5
13523 printf %s "checking for inflate in MinGW -lz... " >&6; }
13524 if test ${ac_cv_mingw_lib_z+y}
13526 printf %s "(cached) " >&6
13528 ac_wine_check_headers_saved_cc=$CC
13529 ac_wine_check_headers_saved_exeext=$ac_exeext
13530 ac_wine_check_headers_saved_libs=$LIBS
13531 eval CC=\$${wine_arch}_CC
13533 LIBS="-lz $ZLIB_PE_LIBS $LIBS"
13534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13535 /* end confdefs.h. */
13537 /* Override any GCC internal prototype to avoid an error.
13538 Use char because int might match the return type of a GCC
13539 builtin and then its argument prototype would still apply. */
13549 if ac_fn_c_try_link "$LINENO"
13551 ac_cv_mingw_lib_z=yes
13553 ac_cv_mingw_lib_z=no
13555 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13556 conftest$ac_exeext conftest.$ac_ext
13557 CC=$ac_wine_check_headers_saved_cc
13558 ac_exeext=$ac_wine_check_headers_saved_exeext
13559 LIBS=$ac_wine_check_headers_saved_libs
13561 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_z" >&5
13562 printf "%s\n" "$ac_cv_mingw_lib_z" >&6; }
13563 if test "x$ac_cv_mingw_lib_z" = xyes
13567 ZLIB_PE_CFLAGS=""; ZLIB_PE_LIBS=""
13570 ZLIB_PE_CFLAGS=""; ZLIB_PE_LIBS=""
13572 CPPFLAGS=$ac_save_CPPFLAGS
13574 if test "x$ZLIB_PE_LIBS" = "x"
13576 as_fn_append wine_notices "|zlib ${notice_platform}MinGW development files not found; using bundled version."
13580 if ${FAUDIO_PE_LIBS:+false} :
13582 FAUDIO_PE_LIBS="faudio mfplat mfreadwrite mfuuid propsys"
13583 if ${FAUDIO_PE_CFLAGS:+false} :
13585 FAUDIO_PE_CFLAGS="-I\$(top_srcdir)/libs/faudio/include"
13592 printf "%s\n" "$as_me:${as_lineno-$LINENO}: faudio cflags: $FAUDIO_PE_CFLAGS" >&5
13593 printf "%s\n" "$as_me:${as_lineno-$LINENO}: faudio libs: $FAUDIO_PE_LIBS" >&5
13595 if ${FLUIDSYNTH_PE_LIBS:+false} :
13597 FLUIDSYNTH_PE_LIBS="fluidsynth"
13598 if ${FLUIDSYNTH_PE_CFLAGS:+false} :
13600 FLUIDSYNTH_PE_CFLAGS="-I\$(top_srcdir)/libs/fluidsynth/include"
13602 enable_fluidsynth=no
13605 enable_fluidsynth=no
13607 printf "%s\n" "$as_me:${as_lineno-$LINENO}: fluidsynth cflags: $FLUIDSYNTH_PE_CFLAGS" >&5
13608 printf "%s\n" "$as_me:${as_lineno-$LINENO}: fluidsynth libs: $FLUIDSYNTH_PE_LIBS" >&5
13610 if ${GSM_PE_LIBS:+false} :
13613 if ${GSM_PE_CFLAGS:+false} :
13615 GSM_PE_CFLAGS="-I\$(top_srcdir)/libs/gsm/inc"
13622 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gsm cflags: $GSM_PE_CFLAGS" >&5
13623 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gsm libs: $GSM_PE_LIBS" >&5
13625 if ${JPEG_PE_LIBS:+false} :
13628 if ${JPEG_PE_CFLAGS:+false} :
13630 JPEG_PE_CFLAGS="-I\$(top_srcdir)/libs/jpeg"
13637 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jpeg cflags: $JPEG_PE_CFLAGS" >&5
13638 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jpeg libs: $JPEG_PE_LIBS" >&5
13640 if ${JXR_PE_LIBS:+false} :
13643 if ${JXR_PE_CFLAGS:+false} :
13645 JXR_PE_CFLAGS="-I\$(top_srcdir)/libs/jxr/jxrgluelib -I\$(top_srcdir)/libs/jxr/image/sys"
13652 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jxr cflags: $JXR_PE_CFLAGS" >&5
13653 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jxr libs: $JXR_PE_LIBS" >&5
13655 if ${LCMS2_PE_LIBS:+false} :
13657 LCMS2_PE_LIBS=lcms2
13658 if ${LCMS2_PE_CFLAGS:+false} :
13660 LCMS2_PE_CFLAGS="-I\$(top_srcdir)/libs/lcms2/include"
13667 printf "%s\n" "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_PE_CFLAGS" >&5
13668 printf "%s\n" "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_PE_LIBS" >&5
13670 if ${LDAP_PE_LIBS:+false} :
13673 if ${LDAP_PE_CFLAGS:+false} :
13675 LDAP_PE_CFLAGS="-I\$(top_srcdir)/libs/ldap/include"
13682 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ldap cflags: $LDAP_PE_CFLAGS" >&5
13683 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ldap libs: $LDAP_PE_LIBS" >&5
13685 if ${MPG123_PE_LIBS:+false} :
13687 MPG123_PE_LIBS=mpg123
13688 if ${MPG123_PE_CFLAGS:+false} :
13690 MPG123_PE_CFLAGS="-I\$(top_srcdir)/libs/mpg123/src/include"
13697 printf "%s\n" "$as_me:${as_lineno-$LINENO}: mpg123 cflags: $MPG123_PE_CFLAGS" >&5
13698 printf "%s\n" "$as_me:${as_lineno-$LINENO}: mpg123 libs: $MPG123_PE_LIBS" >&5
13700 if ${MUSL_PE_LIBS:+false} :
13703 if ${MUSL_PE_CFLAGS:+false} :
13712 printf "%s\n" "$as_me:${as_lineno-$LINENO}: musl cflags: $MUSL_PE_CFLAGS" >&5
13713 printf "%s\n" "$as_me:${as_lineno-$LINENO}: musl libs: $MUSL_PE_LIBS" >&5
13715 if ${PNG_PE_LIBS:+false} :
13717 PNG_PE_LIBS="png \$(ZLIB_PE_LIBS)"
13718 if ${PNG_PE_CFLAGS:+false} :
13720 PNG_PE_CFLAGS="-I\$(top_srcdir)/libs/png"
13727 printf "%s\n" "$as_me:${as_lineno-$LINENO}: png cflags: $PNG_PE_CFLAGS" >&5
13728 printf "%s\n" "$as_me:${as_lineno-$LINENO}: png libs: $PNG_PE_LIBS" >&5
13730 if ${TIFF_PE_LIBS:+false} :
13732 TIFF_PE_LIBS="tiff \$(ZLIB_PE_LIBS)"
13733 if ${TIFF_PE_CFLAGS:+false} :
13735 TIFF_PE_CFLAGS="-I\$(top_srcdir)/libs/tiff/libtiff"
13742 printf "%s\n" "$as_me:${as_lineno-$LINENO}: tiff cflags: $TIFF_PE_CFLAGS" >&5
13743 printf "%s\n" "$as_me:${as_lineno-$LINENO}: tiff libs: $TIFF_PE_LIBS" >&5
13745 if ${VKD3D_PE_LIBS:+false} :
13747 VKD3D_PE_LIBS=vkd3d
13748 if ${VKD3D_PE_CFLAGS:+false} :
13750 VKD3D_PE_CFLAGS="-I\$(top_srcdir)/libs/vkd3d/include"
13757 printf "%s\n" "$as_me:${as_lineno-$LINENO}: vkd3d cflags: $VKD3D_PE_CFLAGS" >&5
13758 printf "%s\n" "$as_me:${as_lineno-$LINENO}: vkd3d libs: $VKD3D_PE_LIBS" >&5
13760 if ${XML2_PE_LIBS:+false} :
13763 if ${XML2_PE_CFLAGS:+false} :
13765 XML2_PE_CFLAGS="-I\$(top_srcdir)/libs/xml2/include -DLIBXML_STATIC"
13772 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xml2 cflags: $XML2_PE_CFLAGS" >&5
13773 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xml2 libs: $XML2_PE_LIBS" >&5
13775 if ${XSLT_PE_LIBS:+false} :
13778 if ${XSLT_PE_CFLAGS:+false} :
13780 XSLT_PE_CFLAGS="-I\$(top_srcdir)/libs/xslt/libxslt -I\$(top_srcdir)/libs/xslt -DLIBXSLT_STATIC"
13787 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xslt cflags: $XSLT_PE_CFLAGS" >&5
13788 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xslt libs: $XSLT_PE_LIBS" >&5
13790 if ${ZLIB_PE_LIBS:+false} :
13793 if ${ZLIB_PE_CFLAGS:+false} :
13795 ZLIB_PE_CFLAGS="-I\$(top_srcdir)/libs/zlib -DFAR= -DZ_SOLO"
13802 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zlib cflags: $ZLIB_PE_CFLAGS" >&5
13803 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zlib libs: $ZLIB_PE_LIBS" >&5
13805 if ${ZYDIS_PE_LIBS:+false} :
13807 ZYDIS_PE_LIBS=zydis
13808 if ${ZYDIS_PE_CFLAGS:+false} :
13810 ZYDIS_PE_CFLAGS="-I\$(top_srcdir)/libs/zydis/include"
13817 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zydis cflags: $ZYDIS_PE_CFLAGS" >&5
13818 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zydis libs: $ZYDIS_PE_LIBS" >&5
13822 if test "x$with_pthread" = xno
13826 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
13827 if test "x$ac_cv_func_pthread_create" = xyes
13831 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
13832 printf %s "checking for pthread_create in -lpthread... " >&6; }
13833 if test ${ac_cv_lib_pthread_pthread_create+y}
13835 printf %s "(cached) " >&6
13837 ac_check_lib_save_LIBS=$LIBS
13838 LIBS="-lpthread $LIBS"
13839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13840 /* end confdefs.h. */
13842 /* Override any GCC internal prototype to avoid an error.
13843 Use char because int might match the return type of a GCC
13844 builtin and then its argument prototype would still apply. */
13845 char pthread_create ();
13849 return pthread_create ();
13854 if ac_fn_c_try_link "$LINENO"
13856 ac_cv_lib_pthread_pthread_create=yes
13858 ac_cv_lib_pthread_pthread_create=no
13860 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13861 conftest$ac_exeext conftest.$ac_ext
13862 LIBS=$ac_check_lib_save_LIBS
13864 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
13865 printf "%s\n" "$ac_cv_lib_pthread_pthread_create" >&6; }
13866 if test "x$ac_cv_lib_pthread_pthread_create" = xyes
13868 PTHREAD_LIBS="-lpthread"
13875 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x
13877 case "x$with_pthread" in
13879 *) as_fn_error $? "pthread ${notice_platform}development files not found.
13880 Wine cannot support threads without libpthread.
13881 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
13888 ac_cpp='$CPP $CPPFLAGS'
13889 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13890 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13891 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13892 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
13893 printf %s "checking how to run the C preprocessor... " >&6; }
13894 # On Suns, sometimes $CPP names a directory.
13895 if test -n "$CPP" && test -d "$CPP"; then
13898 if test -z "$CPP"; then
13899 if test ${ac_cv_prog_CPP+y}
13901 printf %s "(cached) " >&6
13903 # Double quotes because $CC needs to be expanded
13904 for CPP in "$CC -E" "$CC -E -traditional-cpp" cpp /lib/cpp
13906 ac_preproc_ok=false
13907 for ac_c_preproc_warn_flag in '' yes
13909 # Use a header file that comes with gcc, so configuring glibc
13910 # with a fresh cross-compiler works.
13911 # On the NeXT, cc -E runs the code through the compiler's parser,
13912 # not just through cpp. "Syntax error" is here to catch this case.
13913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13914 /* end confdefs.h. */
13915 #include <limits.h>
13918 if ac_fn_c_try_cpp "$LINENO"
13922 # Broken: fails on valid input.
13925 rm -f conftest.err conftest.i conftest.$ac_ext
13927 # OK, works on sane cases. Now check whether nonexistent headers
13928 # can be detected and how.
13929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13930 /* end confdefs.h. */
13931 #include <ac_nonexistent.h>
13933 if ac_fn_c_try_cpp "$LINENO"
13935 # Broken: success on invalid input.
13938 # Passes both tests.
13942 rm -f conftest.err conftest.i conftest.$ac_ext
13945 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13946 rm -f conftest.i conftest.err conftest.
$ac_ext
13953 ac_cv_prog_CPP
=$CPP
13956 CPP
=$ac_cv_prog_CPP
13958 ac_cv_prog_CPP
=$CPP
13960 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
13961 printf "%s\n" "$CPP" >&6; }
13962 ac_preproc_ok
=false
13963 for ac_c_preproc_warn_flag
in '' yes
13965 # Use a header file that comes with gcc, so configuring glibc
13966 # with a fresh cross-compiler works.
13967 # On the NeXT, cc -E runs the code through the compiler's parser,
13968 # not just through cpp. "Syntax error" is here to catch this case.
13969 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13970 /* end confdefs.h. */
13971 #include <limits.h>
13974 if ac_fn_c_try_cpp
"$LINENO"
13978 # Broken: fails on valid input.
13981 rm -f conftest.err conftest.i conftest.
$ac_ext
13983 # OK, works on sane cases. Now check whether nonexistent headers
13984 # can be detected and how.
13985 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13986 /* end confdefs.h. */
13987 #include <ac_nonexistent.h>
13989 if ac_fn_c_try_cpp
"$LINENO"
13991 # Broken: success on invalid input.
13994 # Passes both tests.
13998 rm -f conftest.err conftest.i conftest.
$ac_ext
14001 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
14002 rm -f conftest.i conftest.err conftest.
$ac_ext
14007 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14008 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
14009 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
14010 See \`config.log' for more details" "$LINENO" 5; }
14014 ac_cpp
='$CPP $CPPFLAGS'
14015 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14016 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14017 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14020 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for X" >&5
14021 printf %s
"checking for X... " >&6; }
14024 # Check whether --with-x was given.
14025 if test ${with_x+y}
14030 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
14031 if test "x$with_x" = xno
; then
14032 # The user explicitly disabled X.
14035 case $x_includes,$x_libraries in #(
14036 *\'*) as_fn_error $?
"cannot use X directory names containing '" "$LINENO" 5;; #(
14037 *,NONE | NONE
,*) if test ${ac_cv_have_x+y}
14039 printf %s
"(cached) " >&6
14041 # One or both of the vars are not set, and there is no cached value.
14044 # Do we need to do anything special at all?
14047 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14048 /* end confdefs.h. */
14049 #include <X11/Xlib.h>
14058 if ac_fn_c_try_link
"$LINENO"
14060 # We can compile and link X programs with no special options.
14064 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14065 conftest
$ac_exeext conftest.
$ac_ext
14066 LIBS
="$ac_save_LIBS"
14067 # If that didn't work, only try xmkmf and file system searches
14068 # for native compilation.
14069 if test x
"$ac_x_includes" = xno
&& test "$cross_compiling" = no
14071 rm -f -r conftest.dir
14072 if mkdir conftest.dir
; then
14074 cat >Imakefile
<<'_ACEOF'
14076 @echo incroot='${INCROOT}'
14078 @echo usrlibdir='${USRLIBDIR}'
14080 @echo libdir='${LIBDIR}'
14082 if (export CC
; ${XMKMF-xmkmf}) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
14083 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
14084 for ac_var
in incroot usrlibdir libdir
; do
14085 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
14087 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
14088 for ac_extension
in a so sl dylib la dll
; do
14089 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
14090 test -f "$ac_im_libdir/libX11.$ac_extension"; then
14091 ac_im_usrlibdir
=$ac_im_libdir; break
14094 # Screen out bogus values from the imake configuration. They are
14095 # bogus both because they are the default anyway, and because
14096 # using them would break gcc on systems where it needs fixed includes.
14097 case $ac_im_incroot in
14098 /usr
/include
) ac_x_includes
= ;;
14099 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
14101 case $ac_im_usrlibdir in
14102 /usr
/lib |
/usr
/lib64 |
/lib |
/lib64
) ;;
14103 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
14107 rm -f -r conftest.dir
14110 # Standard set of common directories for X headers.
14111 # Check X11 before X11Rn because it is often a symlink to the current release.
14125 /usr/local/X11/include
14126 /usr/local/X11R7/include
14127 /usr/local/X11R6/include
14128 /usr/local/X11R5/include
14129 /usr/local/X11R4/include
14131 /usr/local/include/X11
14132 /usr/local/include/X11R7
14133 /usr/local/include/X11R6
14134 /usr/local/include/X11R5
14135 /usr/local/include/X11R4
14141 /usr/XFree86/include/X11
14145 /usr/unsupported/include
14146 /usr/athena/include
14147 /usr/local/x11r5/include
14148 /usr/lpp/Xamples/include
14150 /usr/openwin/include
14151 /usr/openwin/share/include'
14153 if test "$ac_x_includes" = no
; then
14154 # Guess where to find include files, by looking for Xlib.h.
14155 # First, try using that file with no special directory specified.
14156 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14157 /* end confdefs.h. */
14158 #include <X11/Xlib.h>
14160 if ac_fn_c_try_cpp
"$LINENO"
14162 # We can compile using X headers with no special include directory.
14165 for ac_dir
in $ac_x_header_dirs; do
14166 if test -r "$ac_dir/X11/Xlib.h"; then
14167 ac_x_includes
=$ac_dir
14172 rm -f conftest.err conftest.i conftest.
$ac_ext
14173 fi # $ac_x_includes = no
14175 if test "$ac_x_libraries" = no
; then
14176 # Check for the libraries.
14177 # See if we find them without any special options.
14178 # Don't add to $LIBS permanently.
14181 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14182 /* end confdefs.h. */
14183 #include <X11/Xlib.h>
14192 if ac_fn_c_try_link
"$LINENO"
14195 # We can link X programs with no special library path.
14199 for ac_dir
in `printf "%s\n" "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
14201 # Don't even attempt the hair of trying to link an X program!
14202 for ac_extension
in a so sl dylib la dll
; do
14203 if test -r "$ac_dir/libX11.$ac_extension"; then
14204 ac_x_libraries
=$ac_dir
14210 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14211 conftest
$ac_exeext conftest.
$ac_ext
14212 fi # $ac_x_libraries = no
14215 # Record the results.
14216 case $ac_x_includes,$ac_x_libraries in #(
14217 no
,* |
*,no |
*\'*) :
14218 # Didn't find X, or a directory has "'" in its name.
14219 ac_cv_have_x
="have_x=no" ;; #(
14221 # Record where we found X for the cache.
14222 ac_cv_have_x
="have_x=yes\
14223 ac_x_includes='$ac_x_includes'\
14224 ac_x_libraries='$ac_x_libraries'" ;;
14230 eval "$ac_cv_have_x"
14233 if test "$have_x" != yes; then
14234 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
14235 printf "%s\n" "$have_x" >&6; }
14238 # If each of the values was on the command line, it overrides each guess.
14239 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
14240 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
14241 # Update the cache value to reflect the command line values.
14242 ac_cv_have_x
="have_x=yes\
14243 ac_x_includes='$x_includes'\
14244 ac_x_libraries='$x_libraries'"
14245 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
14246 printf "%s\n" "libraries $x_libraries, headers $x_includes" >&6; }
14249 if test "$no_x" = yes; then
14250 # Not all programs may use this symbol, but it does not hurt to define it.
14252 printf "%s\n" "#define X_DISPLAY_MISSING 1" >>confdefs.h
14254 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
14256 if test -n "$x_includes"; then
14257 X_CFLAGS
="$X_CFLAGS -I$x_includes"
14260 # It would also be nice to do this for all -L options, not just this one.
14261 if test -n "$x_libraries"; then
14262 X_LIBS
="$X_LIBS -L$x_libraries"
14263 # For Solaris; some versions of Sun CC require a space after -R and
14264 # others require no space. Words are not sufficient . . . .
14265 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
14266 printf %s
"checking whether -R must be followed by a space... " >&6; }
14267 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
14268 ac_xsave_c_werror_flag
=$ac_c_werror_flag
14269 ac_c_werror_flag
=yes
14270 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14271 /* end confdefs.h. */
14281 if ac_fn_c_try_link
"$LINENO"
14283 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
14284 printf "%s\n" "no" >&6; }
14285 X_LIBS
="$X_LIBS -R$x_libraries"
14287 LIBS
="$ac_xsave_LIBS -R $x_libraries"
14288 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14289 /* end confdefs.h. */
14299 if ac_fn_c_try_link
"$LINENO"
14301 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14302 printf "%s\n" "yes" >&6; }
14303 X_LIBS
="$X_LIBS -R $x_libraries"
14305 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
14306 printf "%s\n" "neither works" >&6; }
14308 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14309 conftest
$ac_exeext conftest.
$ac_ext
14311 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14312 conftest
$ac_exeext conftest.
$ac_ext
14313 ac_c_werror_flag
=$ac_xsave_c_werror_flag
14314 LIBS
=$ac_xsave_LIBS
14317 # Check for system-dependent libraries X programs must link with.
14318 # Do this before checking for the system-independent R6 libraries
14319 # (-lICE), since we may need -lsocket or whatever for X linking.
14321 if test "$ISC" = yes; then
14322 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
14324 # Martyn Johnson says this is needed for Ultrix, if the X
14325 # libraries were built with DECnet support. And Karl Berry says
14326 # the Alpha needs dnet_stub (dnet does not exist).
14327 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
14328 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14329 /* end confdefs.h. */
14331 /* Override any GCC internal prototype to avoid an error.
14332 Use char because int might match the return type of a GCC
14333 builtin and then its argument prototype would still apply. */
14334 char XOpenDisplay ();
14338 return XOpenDisplay ();
14343 if ac_fn_c_try_link
"$LINENO"
14347 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
14348 printf %s
"checking for dnet_ntoa in -ldnet... " >&6; }
14349 if test ${ac_cv_lib_dnet_dnet_ntoa+y}
14351 printf %s
"(cached) " >&6
14353 ac_check_lib_save_LIBS
=$LIBS
14354 LIBS
="-ldnet $LIBS"
14355 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14356 /* end confdefs.h. */
14358 /* Override any GCC internal prototype to avoid an error.
14359 Use char because int might match the return type of a GCC
14360 builtin and then its argument prototype would still apply. */
14365 return dnet_ntoa ();
14370 if ac_fn_c_try_link
"$LINENO"
14372 ac_cv_lib_dnet_dnet_ntoa
=yes
14374 ac_cv_lib_dnet_dnet_ntoa
=no
14376 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14377 conftest
$ac_exeext conftest.
$ac_ext
14378 LIBS
=$ac_check_lib_save_LIBS
14380 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
14381 printf "%s\n" "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
14382 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes
14384 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
14387 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
14388 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
14389 printf %s
"checking for dnet_ntoa in -ldnet_stub... " >&6; }
14390 if test ${ac_cv_lib_dnet_stub_dnet_ntoa+y}
14392 printf %s
"(cached) " >&6
14394 ac_check_lib_save_LIBS
=$LIBS
14395 LIBS
="-ldnet_stub $LIBS"
14396 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14397 /* end confdefs.h. */
14399 /* Override any GCC internal prototype to avoid an error.
14400 Use char because int might match the return type of a GCC
14401 builtin and then its argument prototype would still apply. */
14406 return dnet_ntoa ();
14411 if ac_fn_c_try_link
"$LINENO"
14413 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
14415 ac_cv_lib_dnet_stub_dnet_ntoa
=no
14417 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14418 conftest
$ac_exeext conftest.
$ac_ext
14419 LIBS
=$ac_check_lib_save_LIBS
14421 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
14422 printf "%s\n" "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
14423 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes
14425 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
14430 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14431 conftest
$ac_exeext conftest.
$ac_ext
14432 LIBS
="$ac_xsave_LIBS"
14434 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
14435 # to get the SysV transport functions.
14436 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
14438 # The nsl library prevents programs from opening the X display
14439 # on Irix 5.2, according to T.E. Dickey.
14440 # The functions gethostbyname, getservbyname, and inet_addr are
14441 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
14442 ac_fn_c_check_func
"$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
14443 if test "x$ac_cv_func_gethostbyname" = xyes
14448 if test $ac_cv_func_gethostbyname = no
; then
14449 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
14450 printf %s
"checking for gethostbyname in -lnsl... " >&6; }
14451 if test ${ac_cv_lib_nsl_gethostbyname+y}
14453 printf %s
"(cached) " >&6
14455 ac_check_lib_save_LIBS
=$LIBS
14457 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14458 /* end confdefs.h. */
14460 /* Override any GCC internal prototype to avoid an error.
14461 Use char because int might match the return type of a GCC
14462 builtin and then its argument prototype would still apply. */
14463 char gethostbyname ();
14467 return gethostbyname ();
14472 if ac_fn_c_try_link
"$LINENO"
14474 ac_cv_lib_nsl_gethostbyname
=yes
14476 ac_cv_lib_nsl_gethostbyname
=no
14478 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14479 conftest
$ac_exeext conftest.
$ac_ext
14480 LIBS
=$ac_check_lib_save_LIBS
14482 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
14483 printf "%s\n" "$ac_cv_lib_nsl_gethostbyname" >&6; }
14484 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes
14486 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
14489 if test $ac_cv_lib_nsl_gethostbyname = no
; then
14490 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
14491 printf %s
"checking for gethostbyname in -lbsd... " >&6; }
14492 if test ${ac_cv_lib_bsd_gethostbyname+y}
14494 printf %s
"(cached) " >&6
14496 ac_check_lib_save_LIBS
=$LIBS
14498 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14499 /* end confdefs.h. */
14501 /* Override any GCC internal prototype to avoid an error.
14502 Use char because int might match the return type of a GCC
14503 builtin and then its argument prototype would still apply. */
14504 char gethostbyname ();
14508 return gethostbyname ();
14513 if ac_fn_c_try_link
"$LINENO"
14515 ac_cv_lib_bsd_gethostbyname
=yes
14517 ac_cv_lib_bsd_gethostbyname
=no
14519 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14520 conftest
$ac_exeext conftest.
$ac_ext
14521 LIBS
=$ac_check_lib_save_LIBS
14523 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
14524 printf "%s\n" "$ac_cv_lib_bsd_gethostbyname" >&6; }
14525 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes
14527 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
14533 # lieder@skyler.mavd.honeywell.com says without -lsocket,
14534 # socket/setsockopt and other routines are undefined under SCO ODT
14535 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
14536 # on later versions), says Simon Leinen: it contains gethostby*
14537 # variants that don't use the name server (or something). -lsocket
14538 # must be given before -lnsl if both are needed. We assume that
14539 # if connect needs -lnsl, so does gethostbyname.
14540 ac_fn_c_check_func
"$LINENO" "connect" "ac_cv_func_connect"
14541 if test "x$ac_cv_func_connect" = xyes
14546 if test $ac_cv_func_connect = no
; then
14547 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
14548 printf %s
"checking for connect in -lsocket... " >&6; }
14549 if test ${ac_cv_lib_socket_connect+y}
14551 printf %s
"(cached) " >&6
14553 ac_check_lib_save_LIBS
=$LIBS
14554 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
14555 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14556 /* end confdefs.h. */
14558 /* Override any GCC internal prototype to avoid an error.
14559 Use char because int might match the return type of a GCC
14560 builtin and then its argument prototype would still apply. */
14570 if ac_fn_c_try_link
"$LINENO"
14572 ac_cv_lib_socket_connect
=yes
14574 ac_cv_lib_socket_connect
=no
14576 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14577 conftest
$ac_exeext conftest.
$ac_ext
14578 LIBS
=$ac_check_lib_save_LIBS
14580 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
14581 printf "%s\n" "$ac_cv_lib_socket_connect" >&6; }
14582 if test "x$ac_cv_lib_socket_connect" = xyes
14584 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
14589 # Guillermo Gomez says -lposix is necessary on A/UX.
14590 ac_fn_c_check_func
"$LINENO" "remove" "ac_cv_func_remove"
14591 if test "x$ac_cv_func_remove" = xyes
14596 if test $ac_cv_func_remove = no
; then
14597 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
14598 printf %s
"checking for remove in -lposix... " >&6; }
14599 if test ${ac_cv_lib_posix_remove+y}
14601 printf %s
"(cached) " >&6
14603 ac_check_lib_save_LIBS
=$LIBS
14604 LIBS
="-lposix $LIBS"
14605 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14606 /* end confdefs.h. */
14608 /* Override any GCC internal prototype to avoid an error.
14609 Use char because int might match the return type of a GCC
14610 builtin and then its argument prototype would still apply. */
14620 if ac_fn_c_try_link
"$LINENO"
14622 ac_cv_lib_posix_remove
=yes
14624 ac_cv_lib_posix_remove
=no
14626 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14627 conftest
$ac_exeext conftest.
$ac_ext
14628 LIBS
=$ac_check_lib_save_LIBS
14630 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
14631 printf "%s\n" "$ac_cv_lib_posix_remove" >&6; }
14632 if test "x$ac_cv_lib_posix_remove" = xyes
14634 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
14639 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
14640 ac_fn_c_check_func
"$LINENO" "shmat" "ac_cv_func_shmat"
14641 if test "x$ac_cv_func_shmat" = xyes
14646 if test $ac_cv_func_shmat = no
; then
14647 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
14648 printf %s
"checking for shmat in -lipc... " >&6; }
14649 if test ${ac_cv_lib_ipc_shmat+y}
14651 printf %s
"(cached) " >&6
14653 ac_check_lib_save_LIBS
=$LIBS
14655 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14656 /* end confdefs.h. */
14658 /* Override any GCC internal prototype to avoid an error.
14659 Use char because int might match the return type of a GCC
14660 builtin and then its argument prototype would still apply. */
14670 if ac_fn_c_try_link
"$LINENO"
14672 ac_cv_lib_ipc_shmat
=yes
14674 ac_cv_lib_ipc_shmat
=no
14676 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14677 conftest
$ac_exeext conftest.
$ac_ext
14678 LIBS
=$ac_check_lib_save_LIBS
14680 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
14681 printf "%s\n" "$ac_cv_lib_ipc_shmat" >&6; }
14682 if test "x$ac_cv_lib_ipc_shmat" = xyes
14684 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
14690 # Check for libraries that X11R6 Xt/Xaw programs need.
14691 ac_save_LDFLAGS
=$LDFLAGS
14692 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
14693 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
14694 # check for ICE first), but we must link in the order -lSM -lICE or
14695 # we get undefined symbols. So assume we have SM if we have ICE.
14696 # These have to be linked with before -lX11, unlike the other
14697 # libraries we check for below, so use a different variable.
14698 # John Interrante, Karl Berry
14699 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
14700 printf %s
"checking for IceConnectionNumber in -lICE... " >&6; }
14701 if test ${ac_cv_lib_ICE_IceConnectionNumber+y}
14703 printf %s
"(cached) " >&6
14705 ac_check_lib_save_LIBS
=$LIBS
14706 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
14707 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14708 /* end confdefs.h. */
14710 /* Override any GCC internal prototype to avoid an error.
14711 Use char because int might match the return type of a GCC
14712 builtin and then its argument prototype would still apply. */
14713 char IceConnectionNumber ();
14717 return IceConnectionNumber ();
14722 if ac_fn_c_try_link
"$LINENO"
14724 ac_cv_lib_ICE_IceConnectionNumber
=yes
14726 ac_cv_lib_ICE_IceConnectionNumber
=no
14728 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14729 conftest
$ac_exeext conftest.
$ac_ext
14730 LIBS
=$ac_check_lib_save_LIBS
14732 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
14733 printf "%s\n" "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
14734 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes
14736 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
14739 LDFLAGS
=$ac_save_LDFLAGS
14744 if test "$have_x" = "yes"
14746 ac_save_CPPFLAGS
="$CPPFLAGS"
14747 CPPFLAGS
="$CPPFLAGS $X_CFLAGS"
14749 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
14750 printf %s
"checking for -lX11... " >&6; }
14751 if test ${ac_cv_lib_soname_X11+y}
14753 printf %s
"(cached) " >&6
14755 ac_check_soname_save_LIBS
=$LIBS
14756 LIBS
="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
14757 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14758 /* end confdefs.h. */
14760 /* Override any GCC internal prototype to avoid an error.
14761 Use char because int might match the return type of a GCC
14762 builtin and then its argument prototype would still apply. */
14763 char XCreateWindow ();
14767 return XCreateWindow ();
14772 if ac_fn_c_try_link
"$LINENO"
14775 dll
) ac_cv_lib_soname_X11
=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14776 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'` ;;
14777 *) ac_cv_lib_soname_X11
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14778 if ${ac_cv_lib_soname_X11:+false} :
14780 ac_cv_lib_soname_X11
=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14784 ac_cv_lib_soname_X11
=
14786 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14787 conftest
$ac_exeext conftest.
$ac_ext
14788 LIBS
=$ac_check_soname_save_LIBS
14790 if ${ac_cv_lib_soname_X11:+false} :
14792 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14793 printf "%s\n" "not found" >&6; }
14796 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
14797 printf "%s\n" "$ac_cv_lib_soname_X11" >&6; }
14799 printf "%s\n" "#define SONAME_LIBX11 \"$ac_cv_lib_soname_X11\"" >>confdefs.h
14803 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
14804 printf %s
"checking for -lXext... " >&6; }
14805 if test ${ac_cv_lib_soname_Xext+y}
14807 printf %s
"(cached) " >&6
14809 ac_check_soname_save_LIBS
=$LIBS
14810 LIBS
="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
14811 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14812 /* end confdefs.h. */
14814 /* Override any GCC internal prototype to avoid an error.
14815 Use char because int might match the return type of a GCC
14816 builtin and then its argument prototype would still apply. */
14817 char XextCreateExtension ();
14821 return XextCreateExtension ();
14826 if ac_fn_c_try_link
"$LINENO"
14829 dll
) ac_cv_lib_soname_Xext
=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14830 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'` ;;
14831 *) ac_cv_lib_soname_Xext
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14832 if ${ac_cv_lib_soname_Xext:+false} :
14834 ac_cv_lib_soname_Xext
=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14838 ac_cv_lib_soname_Xext
=
14840 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14841 conftest
$ac_exeext conftest.
$ac_ext
14842 LIBS
=$ac_check_soname_save_LIBS
14844 if ${ac_cv_lib_soname_Xext:+false} :
14846 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14847 printf "%s\n" "not found" >&6; }
14850 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
14851 printf "%s\n" "$ac_cv_lib_soname_Xext" >&6; }
14853 printf "%s\n" "#define SONAME_LIBXEXT \"$ac_cv_lib_soname_Xext\"" >>confdefs.h
14855 X_LIBS
="$X_LIBS -lXext"
14857 X_LIBS
="$X_LIBS -lX11"
14859 xlib_includes
="#include <X11/Xlib.h>
14860 #include <X11/Xutil.h>"
14862 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/shape.h" "ac_cv_header_X11_extensions_shape_h" "$xlib_includes
14864 if test "x$ac_cv_header_X11_extensions_shape_h" = xyes
14866 printf "%s\n" "#define HAVE_X11_EXTENSIONS_SHAPE_H 1" >>confdefs.h
14869 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/XInput2.h" "ac_cv_header_X11_extensions_XInput2_h" "$xlib_includes
14871 if test "x$ac_cv_header_X11_extensions_XInput2_h" = xyes
14873 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINPUT2_H 1" >>confdefs.h
14876 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/XShm.h" "ac_cv_header_X11_extensions_XShm_h" "$xlib_includes
14878 if test "x$ac_cv_header_X11_extensions_XShm_h" = xyes
14880 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XSHM_H 1" >>confdefs.h
14883 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/Xfixes.h" "ac_cv_header_X11_extensions_Xfixes_h" "$xlib_includes
14885 if test "x$ac_cv_header_X11_extensions_Xfixes_h" = xyes
14887 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XFIXES_H 1" >>confdefs.h
14890 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/Xinerama.h" "ac_cv_header_X11_extensions_Xinerama_h" "$xlib_includes
14892 if test "x$ac_cv_header_X11_extensions_Xinerama_h" = xyes
14894 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINERAMA_H 1" >>confdefs.h
14897 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/Xrandr.h" "ac_cv_header_X11_extensions_Xrandr_h" "$xlib_includes
14899 if test "x$ac_cv_header_X11_extensions_Xrandr_h" = xyes
14901 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XRANDR_H 1" >>confdefs.h
14904 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/Xrender.h" "ac_cv_header_X11_extensions_Xrender_h" "$xlib_includes
14906 if test "x$ac_cv_header_X11_extensions_Xrender_h" = xyes
14908 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XRENDER_H 1" >>confdefs.h
14911 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/xf86vmode.h" "ac_cv_header_X11_extensions_xf86vmode_h" "$xlib_includes
14913 if test "x$ac_cv_header_X11_extensions_xf86vmode_h" = xyes
14915 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XF86VMODE_H 1" >>confdefs.h
14918 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/xf86vmproto.h" "ac_cv_header_X11_extensions_xf86vmproto_h" "$xlib_includes
14920 if test "x$ac_cv_header_X11_extensions_xf86vmproto_h" = xyes
14922 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XF86VMPROTO_H 1" >>confdefs.h
14927 ac_fn_c_check_header_compile
"$LINENO" "X11/Xcursor/Xcursor.h" "ac_cv_header_X11_Xcursor_Xcursor_h" "$xlib_includes
14929 if test "x$ac_cv_header_X11_Xcursor_Xcursor_h" = xyes
14931 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
14932 printf %s
"checking for -lXcursor... " >&6; }
14933 if test ${ac_cv_lib_soname_Xcursor+y}
14935 printf %s
"(cached) " >&6
14937 ac_check_soname_save_LIBS
=$LIBS
14938 LIBS
="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
14939 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14940 /* end confdefs.h. */
14942 /* Override any GCC internal prototype to avoid an error.
14943 Use char because int might match the return type of a GCC
14944 builtin and then its argument prototype would still apply. */
14945 char XcursorImageLoadCursor ();
14949 return XcursorImageLoadCursor ();
14954 if ac_fn_c_try_link
"$LINENO"
14957 dll
) ac_cv_lib_soname_Xcursor
=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14958 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'` ;;
14959 *) ac_cv_lib_soname_Xcursor
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14960 if ${ac_cv_lib_soname_Xcursor:+false} :
14962 ac_cv_lib_soname_Xcursor
=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14966 ac_cv_lib_soname_Xcursor
=
14968 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14969 conftest
$ac_exeext conftest.
$ac_ext
14970 LIBS
=$ac_check_soname_save_LIBS
14972 if ${ac_cv_lib_soname_Xcursor:+false} :
14974 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14975 printf "%s\n" "not found" >&6; }
14978 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
14979 printf "%s\n" "$ac_cv_lib_soname_Xcursor" >&6; }
14981 printf "%s\n" "#define SONAME_LIBXCURSOR \"$ac_cv_lib_soname_Xcursor\"" >>confdefs.h
14987 if test "x$ac_cv_lib_soname_Xcursor" = "x"
14989 case "x$with_xcursor" in
14990 x
) as_fn_append wine_notices
"|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
14992 *) as_fn_error $?
"libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
14993 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
14998 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/XInput.h" "ac_cv_header_X11_extensions_XInput_h" "$xlib_includes
15000 if test "x$ac_cv_header_X11_extensions_XInput_h" = xyes
15002 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
15003 printf %s
"checking for -lXi... " >&6; }
15004 if test ${ac_cv_lib_soname_Xi+y}
15006 printf %s
"(cached) " >&6
15008 ac_check_soname_save_LIBS
=$LIBS
15009 LIBS
="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
15010 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15011 /* end confdefs.h. */
15013 /* Override any GCC internal prototype to avoid an error.
15014 Use char because int might match the return type of a GCC
15015 builtin and then its argument prototype would still apply. */
15016 char XOpenDevice ();
15020 return XOpenDevice ();
15025 if ac_fn_c_try_link
"$LINENO"
15028 dll
) ac_cv_lib_soname_Xi
=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15029 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'` ;;
15030 *) ac_cv_lib_soname_Xi
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15031 if ${ac_cv_lib_soname_Xi:+false} :
15033 ac_cv_lib_soname_Xi
=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15037 ac_cv_lib_soname_Xi
=
15039 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15040 conftest
$ac_exeext conftest.
$ac_ext
15041 LIBS
=$ac_check_soname_save_LIBS
15043 if ${ac_cv_lib_soname_Xi:+false} :
15045 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15046 printf "%s\n" "not found" >&6; }
15049 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
15050 printf "%s\n" "$ac_cv_lib_soname_Xi" >&6; }
15052 printf "%s\n" "#define SONAME_LIBXI \"$ac_cv_lib_soname_Xi\"" >>confdefs.h
15058 if test "x$ac_cv_lib_soname_Xi" = "x"
15060 case "x$with_xinput" in
15061 x
) as_fn_append wine_notices
"|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
15063 *) as_fn_error $?
"libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
15064 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
15069 if test "x$ac_cv_lib_soname_Xi" != x
15071 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"
15073 case "x$with_xinput2" in
15074 x
) as_fn_append wine_notices
"|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
15076 *) as_fn_error $?
"XInput2 headers not found, the XInput 2 extension won't be supported.
15077 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
15083 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
15085 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
15086 printf %s
"checking for XShmQueryExtension in -lXext... " >&6; }
15087 if test ${ac_cv_lib_Xext_XShmQueryExtension+y}
15089 printf %s
"(cached) " >&6
15091 ac_check_lib_save_LIBS
=$LIBS
15092 LIBS
="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
15093 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15094 /* end confdefs.h. */
15096 /* Override any GCC internal prototype to avoid an error.
15097 Use char because int might match the return type of a GCC
15098 builtin and then its argument prototype would still apply. */
15099 char XShmQueryExtension ();
15103 return XShmQueryExtension ();
15108 if ac_fn_c_try_link
"$LINENO"
15110 ac_cv_lib_Xext_XShmQueryExtension
=yes
15112 ac_cv_lib_Xext_XShmQueryExtension
=no
15114 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15115 conftest
$ac_exeext conftest.
$ac_ext
15116 LIBS
=$ac_check_lib_save_LIBS
15118 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
15119 printf "%s\n" "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
15120 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes
15123 printf "%s\n" "#define HAVE_LIBXXSHM 1" >>confdefs.h
15128 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"
15130 case "x$with_xshm" in
15131 x
) as_fn_append wine_notices
"|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
15133 *) as_fn_error $?
"XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
15134 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
15139 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
15141 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
15142 printf %s
"checking for XShapeQueryExtension in -lXext... " >&6; }
15143 if test ${ac_cv_lib_Xext_XShapeQueryExtension+y}
15145 printf %s
"(cached) " >&6
15147 ac_check_lib_save_LIBS
=$LIBS
15148 LIBS
="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
15149 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15150 /* end confdefs.h. */
15152 /* Override any GCC internal prototype to avoid an error.
15153 Use char because int might match the return type of a GCC
15154 builtin and then its argument prototype would still apply. */
15155 char XShapeQueryExtension ();
15159 return XShapeQueryExtension ();
15164 if ac_fn_c_try_link
"$LINENO"
15166 ac_cv_lib_Xext_XShapeQueryExtension
=yes
15168 ac_cv_lib_Xext_XShapeQueryExtension
=no
15170 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15171 conftest
$ac_exeext conftest.
$ac_ext
15172 LIBS
=$ac_check_lib_save_LIBS
15174 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
15175 printf "%s\n" "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
15176 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes
15179 printf "%s\n" "#define HAVE_LIBXSHAPE 1" >>confdefs.h
15184 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"
15186 case "x$with_xshape" in
15187 x
) as_fn_append wine_notices
"|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
15189 *) as_fn_error $?
"XShape ${notice_platform}development files not found, XShape won't be supported.
15190 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
15195 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
15197 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
15198 printf %s
"checking for -lXxf86vm... " >&6; }
15199 if test ${ac_cv_lib_soname_Xxf86vm+y}
15201 printf %s
"(cached) " >&6
15203 ac_check_soname_save_LIBS
=$LIBS
15204 LIBS
="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
15205 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15206 /* end confdefs.h. */
15208 /* Override any GCC internal prototype to avoid an error.
15209 Use char because int might match the return type of a GCC
15210 builtin and then its argument prototype would still apply. */
15211 char XF86VidModeQueryExtension ();
15215 return XF86VidModeQueryExtension ();
15220 if ac_fn_c_try_link
"$LINENO"
15223 dll
) ac_cv_lib_soname_Xxf86vm
=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15224 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'` ;;
15225 *) ac_cv_lib_soname_Xxf86vm
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15226 if ${ac_cv_lib_soname_Xxf86vm:+false} :
15228 ac_cv_lib_soname_Xxf86vm
=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15232 ac_cv_lib_soname_Xxf86vm
=
15234 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15235 conftest
$ac_exeext conftest.
$ac_ext
15236 LIBS
=$ac_check_soname_save_LIBS
15238 if ${ac_cv_lib_soname_Xxf86vm:+false} :
15240 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15241 printf "%s\n" "not found" >&6; }
15244 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
15245 printf "%s\n" "$ac_cv_lib_soname_Xxf86vm" >&6; }
15247 printf "%s\n" "#define SONAME_LIBXXF86VM \"$ac_cv_lib_soname_Xxf86vm\"" >>confdefs.h
15252 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"
15254 case "x$with_xxf86vm" in
15255 x
) as_fn_append wine_notices
"|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
15257 *) as_fn_error $?
"libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
15258 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
15263 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
15265 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
15266 printf %s
"checking for -lXrender... " >&6; }
15267 if test ${ac_cv_lib_soname_Xrender+y}
15269 printf %s
"(cached) " >&6
15271 ac_check_soname_save_LIBS
=$LIBS
15272 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
15273 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15274 /* end confdefs.h. */
15276 /* Override any GCC internal prototype to avoid an error.
15277 Use char because int might match the return type of a GCC
15278 builtin and then its argument prototype would still apply. */
15279 char XRenderQueryExtension ();
15283 return XRenderQueryExtension ();
15288 if ac_fn_c_try_link
"$LINENO"
15291 dll
) ac_cv_lib_soname_Xrender
=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15292 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'` ;;
15293 *) ac_cv_lib_soname_Xrender
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15294 if ${ac_cv_lib_soname_Xrender:+false} :
15296 ac_cv_lib_soname_Xrender
=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15300 ac_cv_lib_soname_Xrender
=
15302 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15303 conftest
$ac_exeext conftest.
$ac_ext
15304 LIBS
=$ac_check_soname_save_LIBS
15306 if ${ac_cv_lib_soname_Xrender:+false} :
15308 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15309 printf "%s\n" "not found" >&6; }
15312 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
15313 printf "%s\n" "$ac_cv_lib_soname_Xrender" >&6; }
15315 printf "%s\n" "#define SONAME_LIBXRENDER \"$ac_cv_lib_soname_Xrender\"" >>confdefs.h
15317 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
15318 printf %s
"checking for XRenderSetPictureTransform in -lXrender... " >&6; }
15319 if test ${ac_cv_lib_Xrender_XRenderSetPictureTransform+y}
15321 printf %s
"(cached) " >&6
15323 ac_check_lib_save_LIBS
=$LIBS
15324 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
15325 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15326 /* end confdefs.h. */
15328 /* Override any GCC internal prototype to avoid an error.
15329 Use char because int might match the return type of a GCC
15330 builtin and then its argument prototype would still apply. */
15331 char XRenderSetPictureTransform ();
15335 return XRenderSetPictureTransform ();
15340 if ac_fn_c_try_link
"$LINENO"
15342 ac_cv_lib_Xrender_XRenderSetPictureTransform
=yes
15344 ac_cv_lib_Xrender_XRenderSetPictureTransform
=no
15346 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15347 conftest
$ac_exeext conftest.
$ac_ext
15348 LIBS
=$ac_check_lib_save_LIBS
15350 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
15351 printf "%s\n" "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
15352 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes
15355 printf "%s\n" "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
15359 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
15360 printf %s
"checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
15361 if test ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+y}
15363 printf %s
"(cached) " >&6
15365 ac_check_lib_save_LIBS
=$LIBS
15366 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
15367 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15368 /* end confdefs.h. */
15370 /* Override any GCC internal prototype to avoid an error.
15371 Use char because int might match the return type of a GCC
15372 builtin and then its argument prototype would still apply. */
15373 char XRenderCreateLinearGradient ();
15377 return XRenderCreateLinearGradient ();
15382 if ac_fn_c_try_link
"$LINENO"
15384 ac_cv_lib_Xrender_XRenderCreateLinearGradient
=yes
15386 ac_cv_lib_Xrender_XRenderCreateLinearGradient
=no
15388 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15389 conftest
$ac_exeext conftest.
$ac_ext
15390 LIBS
=$ac_check_lib_save_LIBS
15392 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
15393 printf "%s\n" "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
15394 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes
15397 printf "%s\n" "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
15404 if test "x$ac_cv_lib_soname_Xrender" = "x"
15406 case "x$with_xrender" in
15407 x
) as_fn_append wine_warnings
"|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
15409 *) as_fn_error $?
"libxrender ${notice_platform}development files not found, XRender won't be supported.
15410 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
15415 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
15417 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15418 /* end confdefs.h. */
15419 #include <X11/Xlib.h>
15420 #include <X11/extensions/Xrandr.h>
15424 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
15429 if ac_fn_c_try_compile
"$LINENO"
15431 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
15432 printf %s
"checking for -lXrandr... " >&6; }
15433 if test ${ac_cv_lib_soname_Xrandr+y}
15435 printf %s
"(cached) " >&6
15437 ac_check_soname_save_LIBS
=$LIBS
15438 LIBS
="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
15439 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15440 /* end confdefs.h. */
15442 /* Override any GCC internal prototype to avoid an error.
15443 Use char because int might match the return type of a GCC
15444 builtin and then its argument prototype would still apply. */
15445 char XRRQueryExtension ();
15449 return XRRQueryExtension ();
15454 if ac_fn_c_try_link
"$LINENO"
15457 dll
) ac_cv_lib_soname_Xrandr
=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15458 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'` ;;
15459 *) ac_cv_lib_soname_Xrandr
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15460 if ${ac_cv_lib_soname_Xrandr:+false} :
15462 ac_cv_lib_soname_Xrandr
=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15466 ac_cv_lib_soname_Xrandr
=
15468 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15469 conftest
$ac_exeext conftest.
$ac_ext
15470 LIBS
=$ac_check_soname_save_LIBS
15472 if ${ac_cv_lib_soname_Xrandr:+false} :
15474 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15475 printf "%s\n" "not found" >&6; }
15478 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
15479 printf "%s\n" "$ac_cv_lib_soname_Xrandr" >&6; }
15481 printf "%s\n" "#define SONAME_LIBXRANDR \"$ac_cv_lib_soname_Xrandr\"" >>confdefs.h
15483 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15484 /* end confdefs.h. */
15485 #include <X11/Xlib.h>
15486 #include <X11/extensions/Xrandr.h>
15490 static typeof(XRRGetProviderResources) *f; if (f) return 0;
15495 if ac_fn_c_try_compile
"$LINENO"
15498 printf "%s\n" "#define HAVE_XRRGETPROVIDERRESOURCES 1" >>confdefs.h
15501 as_fn_append wine_notices
"|libxrandr ${notice_platform}development files too old, XRandR display device handler won't be supported."
15503 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
15506 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
15508 if test "x$ac_cv_lib_soname_Xrandr" = "x"
15510 case "x$with_xrandr" in
15511 x
) as_fn_append wine_notices
"|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
15513 *) as_fn_error $?
"libxrandr ${notice_platform}development files not found, XRandr won't be supported.
15514 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
15519 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
15521 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15522 /* end confdefs.h. */
15523 #include <X11/Xlib.h>
15524 #include <X11/extensions/Xfixes.h>
15528 static typeof(XFixesQueryVersion) * func; if (func) return 0;
15533 if ac_fn_c_try_compile
"$LINENO"
15535 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
15536 printf %s
"checking for -lXfixes... " >&6; }
15537 if test ${ac_cv_lib_soname_Xfixes+y}
15539 printf %s
"(cached) " >&6
15541 ac_check_soname_save_LIBS
=$LIBS
15542 LIBS
="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
15543 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15544 /* end confdefs.h. */
15546 /* Override any GCC internal prototype to avoid an error.
15547 Use char because int might match the return type of a GCC
15548 builtin and then its argument prototype would still apply. */
15549 char XFixesQueryVersion ();
15553 return XFixesQueryVersion ();
15558 if ac_fn_c_try_link
"$LINENO"
15561 dll
) ac_cv_lib_soname_Xfixes
=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15562 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'` ;;
15563 *) ac_cv_lib_soname_Xfixes
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15564 if ${ac_cv_lib_soname_Xfixes:+false} :
15566 ac_cv_lib_soname_Xfixes
=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15570 ac_cv_lib_soname_Xfixes
=
15572 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15573 conftest
$ac_exeext conftest.
$ac_ext
15574 LIBS
=$ac_check_soname_save_LIBS
15576 if ${ac_cv_lib_soname_Xfixes:+false} :
15578 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15579 printf "%s\n" "not found" >&6; }
15582 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
15583 printf "%s\n" "$ac_cv_lib_soname_Xfixes" >&6; }
15585 printf "%s\n" "#define SONAME_LIBXFIXES \"$ac_cv_lib_soname_Xfixes\"" >>confdefs.h
15590 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
15592 if test "x$ac_cv_lib_soname_Xfixes" = "x"
15594 case "x$with_xfixes" in
15595 x
) as_fn_append wine_notices
"|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
15597 *) as_fn_error $?
"libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
15598 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
15603 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
15605 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15606 /* end confdefs.h. */
15607 #include <X11/Xlib.h>
15608 #include <X11/extensions/Xinerama.h>
15612 static typeof(XineramaQueryScreens) * func; if (func) return 0;
15617 if ac_fn_c_try_compile
"$LINENO"
15619 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
15620 printf %s
"checking for -lXinerama... " >&6; }
15621 if test ${ac_cv_lib_soname_Xinerama+y}
15623 printf %s
"(cached) " >&6
15625 ac_check_soname_save_LIBS
=$LIBS
15626 LIBS
="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
15627 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15628 /* end confdefs.h. */
15630 /* Override any GCC internal prototype to avoid an error.
15631 Use char because int might match the return type of a GCC
15632 builtin and then its argument prototype would still apply. */
15633 char XineramaQueryScreens ();
15637 return XineramaQueryScreens ();
15642 if ac_fn_c_try_link
"$LINENO"
15645 dll
) ac_cv_lib_soname_Xinerama
=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15646 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'` ;;
15647 *) ac_cv_lib_soname_Xinerama
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15648 if ${ac_cv_lib_soname_Xinerama:+false} :
15650 ac_cv_lib_soname_Xinerama
=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15654 ac_cv_lib_soname_Xinerama
=
15656 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15657 conftest
$ac_exeext conftest.
$ac_ext
15658 LIBS
=$ac_check_soname_save_LIBS
15660 if ${ac_cv_lib_soname_Xinerama:+false} :
15662 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15663 printf "%s\n" "not found" >&6; }
15666 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
15667 printf "%s\n" "$ac_cv_lib_soname_Xinerama" >&6; }
15669 printf "%s\n" "#define SONAME_LIBXINERAMA \"$ac_cv_lib_soname_Xinerama\"" >>confdefs.h
15674 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
15676 if test "x$ac_cv_lib_soname_Xinerama" = "x"
15678 case "x$with_xinerama" in
15679 x
) as_fn_append wine_notices
"|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
15681 *) as_fn_error $?
"libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
15682 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
15687 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/Xcomposite.h" "ac_cv_header_X11_extensions_Xcomposite_h" "$xlib_includes
15689 if test "x$ac_cv_header_X11_extensions_Xcomposite_h" = xyes
15691 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
15692 printf %s
"checking for -lXcomposite... " >&6; }
15693 if test ${ac_cv_lib_soname_Xcomposite+y}
15695 printf %s
"(cached) " >&6
15697 ac_check_soname_save_LIBS
=$LIBS
15698 LIBS
="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
15699 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15700 /* end confdefs.h. */
15702 /* Override any GCC internal prototype to avoid an error.
15703 Use char because int might match the return type of a GCC
15704 builtin and then its argument prototype would still apply. */
15705 char XCompositeRedirectWindow ();
15709 return XCompositeRedirectWindow ();
15714 if ac_fn_c_try_link
"$LINENO"
15717 dll
) ac_cv_lib_soname_Xcomposite
=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15718 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'` ;;
15719 *) ac_cv_lib_soname_Xcomposite
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15720 if ${ac_cv_lib_soname_Xcomposite:+false} :
15722 ac_cv_lib_soname_Xcomposite
=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15726 ac_cv_lib_soname_Xcomposite
=
15728 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15729 conftest
$ac_exeext conftest.
$ac_ext
15730 LIBS
=$ac_check_soname_save_LIBS
15732 if ${ac_cv_lib_soname_Xcomposite:+false} :
15734 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15735 printf "%s\n" "not found" >&6; }
15738 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
15739 printf "%s\n" "$ac_cv_lib_soname_Xcomposite" >&6; }
15741 printf "%s\n" "#define SONAME_LIBXCOMPOSITE \"$ac_cv_lib_soname_Xcomposite\"" >>confdefs.h
15747 if test "x$ac_cv_lib_soname_Xcomposite" = "x"
15749 case "x$with_xcomposite" in
15750 x
) as_fn_append wine_notices
"|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
15752 *) as_fn_error $?
"libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
15753 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
15758 ac_fn_c_check_member
"$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "$xlib_includes
15760 if test "x$ac_cv_member_XICCallback_callback" = xyes
15763 printf "%s\n" "#define HAVE_XICCALLBACK_CALLBACK 1" >>confdefs.h
15767 ac_fn_c_check_member
"$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "$xlib_includes
15769 if test "x$ac_cv_member_XEvent_xcookie" = xyes
15772 printf "%s\n" "#define HAVE_XEVENT_XCOOKIE 1" >>confdefs.h
15780 if test "x$with_opengl" != "xno"
15782 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
15783 printf %s
"checking for -lGL... " >&6; }
15784 if test ${ac_cv_lib_soname_GL+y}
15786 printf %s
"(cached) " >&6
15788 ac_check_soname_save_LIBS
=$LIBS
15789 LIBS
="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
15790 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15791 /* end confdefs.h. */
15793 /* Override any GCC internal prototype to avoid an error.
15794 Use char because int might match the return type of a GCC
15795 builtin and then its argument prototype would still apply. */
15796 char glXCreateContext ();
15800 return glXCreateContext ();
15805 if ac_fn_c_try_link
"$LINENO"
15808 dll
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15809 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'` ;;
15810 *) ac_cv_lib_soname_GL
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15811 if ${ac_cv_lib_soname_GL:+false} :
15813 ac_cv_lib_soname_GL
=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15817 ac_cv_lib_soname_GL
=
15819 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15820 conftest
$ac_exeext conftest.
$ac_ext
15821 LIBS
=$ac_check_soname_save_LIBS
15823 if ${ac_cv_lib_soname_GL:+false} :
15825 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15826 printf "%s\n" "not found" >&6; }
15827 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
15828 printf %s
"checking for -lGL... " >&6; }
15829 if test ${ac_cv_lib_soname_GL+y}
15831 printf %s
"(cached) " >&6
15833 ac_check_soname_save_LIBS
=$LIBS
15834 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"
15835 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15836 /* end confdefs.h. */
15838 /* Override any GCC internal prototype to avoid an error.
15839 Use char because int might match the return type of a GCC
15840 builtin and then its argument prototype would still apply. */
15841 char glXCreateContext ();
15845 return glXCreateContext ();
15850 if ac_fn_c_try_link
"$LINENO"
15853 dll
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15854 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'` ;;
15855 *) ac_cv_lib_soname_GL
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15856 if ${ac_cv_lib_soname_GL:+false} :
15858 ac_cv_lib_soname_GL
=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15862 ac_cv_lib_soname_GL
=
15864 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15865 conftest
$ac_exeext conftest.
$ac_ext
15866 LIBS
=$ac_check_soname_save_LIBS
15868 if ${ac_cv_lib_soname_GL:+false} :
15870 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15871 printf "%s\n" "not found" >&6; }
15872 if test -f /usr
/X11R
6/lib
/libGL.a
15874 opengl_msg
="/usr/X11R6/lib/libGL.a is present on your system.
15875 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
15877 opengl_msg
="No OpenGL library found on this system."
15880 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
15881 printf "%s\n" "$ac_cv_lib_soname_GL" >&6; }
15883 printf "%s\n" "#define SONAME_LIBGL \"$ac_cv_lib_soname_GL\"" >>confdefs.h
15885 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"
15888 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
15889 printf "%s\n" "$ac_cv_lib_soname_GL" >&6; }
15891 printf "%s\n" "#define SONAME_LIBGL \"$ac_cv_lib_soname_GL\"" >>confdefs.h
15895 if test "x$with_osmesa" != "xno"
15897 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
15898 printf %s
"checking for -lOSMesa... " >&6; }
15899 if test ${ac_cv_lib_soname_OSMesa+y}
15901 printf %s
"(cached) " >&6
15903 ac_check_soname_save_LIBS
=$LIBS
15904 LIBS
="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
15905 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15906 /* end confdefs.h. */
15908 /* Override any GCC internal prototype to avoid an error.
15909 Use char because int might match the return type of a GCC
15910 builtin and then its argument prototype would still apply. */
15911 char OSMesaGetProcAddress ();
15915 return OSMesaGetProcAddress ();
15920 if ac_fn_c_try_link
"$LINENO"
15923 dll
) ac_cv_lib_soname_OSMesa
=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15924 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'` ;;
15925 *) ac_cv_lib_soname_OSMesa
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15926 if ${ac_cv_lib_soname_OSMesa:+false} :
15928 ac_cv_lib_soname_OSMesa
=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15932 ac_cv_lib_soname_OSMesa
=
15934 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15935 conftest
$ac_exeext conftest.
$ac_ext
15936 LIBS
=$ac_check_soname_save_LIBS
15938 if ${ac_cv_lib_soname_OSMesa:+false} :
15940 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15941 printf "%s\n" "not found" >&6; }
15944 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
15945 printf "%s\n" "$ac_cv_lib_soname_OSMesa" >&6; }
15947 printf "%s\n" "#define SONAME_LIBOSMESA \"$ac_cv_lib_soname_OSMesa\"" >>confdefs.h
15951 if test "x$ac_cv_lib_soname_OSMesa" = "x"
15953 case "x$with_osmesa" in
15954 x
) as_fn_append wine_notices
"|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
15956 *) as_fn_error $?
"libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
15957 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
15963 if test -n "$opengl_msg"
15965 case "x$with_opengl" in
15966 x
) as_fn_append wine_warnings
"|$opengl_msg
15967 OpenGL and Direct3D won't be supported." ;;
15969 *) as_fn_error $?
"$opengl_msg
15970 OpenGL and Direct3D won't be supported.
15971 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
15976 CPPFLAGS
="$ac_save_CPPFLAGS"
15982 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
15984 if test "x$X_LIBS" = "x"
15988 *) as_fn_error $?
"X ${notice_platform}development files not found. Wine will be built
15989 without X support, which probably isn't what you want. You will need
15990 to install ${notice_platform}development packages of Xlib at the very least.
15991 Use the --without-x option if you really want this." "$LINENO" 5 ;;
15993 enable_winex11_drv
=${enable_winex11_drv:-no}
15996 if test "x$X_LIBS" = "x"
15999 x
) as_fn_append wine_notices
"|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
16001 *) as_fn_error $?
"X ${notice_platform}development files not found, the X11 driver won't be supported.
16002 This is an error since --with-x was requested." "$LINENO" 5 ;;
16004 enable_winex11_drv
=${enable_winex11_drv:-no}
16008 if test "x$with_wayland" != "xno"
16011 if ${WAYLAND_CLIENT_CFLAGS:+false} :
16013 if test ${PKG_CONFIG+y}
16015 WAYLAND_CLIENT_CFLAGS
=`$PKG_CONFIG --cflags wayland-client 2>conftest.err`
16019 if ${WAYLAND_CLIENT_LIBS:+false} :
16021 if test ${PKG_CONFIG+y}
16023 WAYLAND_CLIENT_LIBS
=`$PKG_CONFIG --libs wayland-client 2>/dev/null`
16028 printf "%s\n" "$as_me:${as_lineno-$LINENO}: wayland-client cflags: $WAYLAND_CLIENT_CFLAGS" >&5
16029 printf "%s\n" "$as_me:${as_lineno-$LINENO}: wayland-client libs: $WAYLAND_CLIENT_LIBS" >&5
16030 if test -s conftest.err
; then
16031 printf %s
"$as_me:${as_lineno-$LINENO}: wayland-client errors: " >&5
16032 cat conftest.err
>&5
16035 ac_save_CPPFLAGS
=$CPPFLAGS
16036 CPPFLAGS
="$CPPFLAGS $WAYLAND_CLIENT_CFLAGS"
16037 ac_fn_c_check_header_compile
"$LINENO" "wayland-client.h" "ac_cv_header_wayland_client_h" "$ac_includes_default"
16038 if test "x$ac_cv_header_wayland_client_h" = xyes
16040 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for wl_display_connect in -lwayland-client" >&5
16041 printf %s
"checking for wl_display_connect in -lwayland-client... " >&6; }
16042 if test ${ac_cv_lib_wayland_client_wl_display_connect+y}
16044 printf %s
"(cached) " >&6
16046 ac_check_lib_save_LIBS
=$LIBS
16047 LIBS
="-lwayland-client $WAYLAND_CLIENT_LIBS $LIBS"
16048 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16049 /* end confdefs.h. */
16051 /* Override any GCC internal prototype to avoid an error.
16052 Use char because int might match the return type of a GCC
16053 builtin and then its argument prototype would still apply. */
16054 char wl_display_connect ();
16058 return wl_display_connect ();
16063 if ac_fn_c_try_link
"$LINENO"
16065 ac_cv_lib_wayland_client_wl_display_connect
=yes
16067 ac_cv_lib_wayland_client_wl_display_connect
=no
16069 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16070 conftest
$ac_exeext conftest.
$ac_ext
16071 LIBS
=$ac_check_lib_save_LIBS
16073 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_wayland_client_wl_display_connect" >&5
16074 printf "%s\n" "$ac_cv_lib_wayland_client_wl_display_connect" >&6; }
16075 if test "x$ac_cv_lib_wayland_client_wl_display_connect" = xyes
16077 # Extract the first word of "wayland-scanner", so it can be a program name with args.
16078 set dummy wayland-scanner
; ac_word
=$2
16079 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16080 printf %s
"checking for $ac_word... " >&6; }
16081 if test ${ac_cv_path_WAYLAND_SCANNER+y}
16083 printf %s
"(cached) " >&6
16085 case $WAYLAND_SCANNER in
16087 ac_cv_path_WAYLAND_SCANNER
="$WAYLAND_SCANNER" # Let the user override the test with a path.
16090 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16091 for as_dir
in $PATH
16094 case $as_dir in #(((
16097 *) as_dir
=$as_dir/ ;;
16099 for ac_exec_ext
in '' $ac_executable_extensions; do
16100 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
16101 ac_cv_path_WAYLAND_SCANNER
="$as_dir$ac_word$ac_exec_ext"
16102 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
16109 test -z "$ac_cv_path_WAYLAND_SCANNER" && ac_cv_path_WAYLAND_SCANNER
="`test -n "$PKG_CONFIG" && $PKG_CONFIG --variable=wayland_scanner wayland-scanner 2>/dev/null`"
16113 WAYLAND_SCANNER
=$ac_cv_path_WAYLAND_SCANNER
16114 if test -n "$WAYLAND_SCANNER"; then
16115 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $WAYLAND_SCANNER" >&5
16116 printf "%s\n" "$WAYLAND_SCANNER" >&6; }
16118 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
16119 printf "%s\n" "no" >&6; }
16124 WAYLAND_CLIENT_LIBS
=""
16129 CPPFLAGS
=$ac_save_CPPFLAGS
16132 if ${XKBCOMMON_CFLAGS:+false} :
16134 if test ${PKG_CONFIG+y}
16136 XKBCOMMON_CFLAGS
=`$PKG_CONFIG --cflags xkbcommon 2>conftest.err`
16140 if ${XKBCOMMON_LIBS:+false} :
16142 if test ${PKG_CONFIG+y}
16144 XKBCOMMON_LIBS
=`$PKG_CONFIG --libs xkbcommon 2>/dev/null`
16149 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xkbcommon cflags: $XKBCOMMON_CFLAGS" >&5
16150 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xkbcommon libs: $XKBCOMMON_LIBS" >&5
16151 if test -s conftest.err
; then
16152 printf %s
"$as_me:${as_lineno-$LINENO}: xkbcommon errors: " >&5
16153 cat conftest.err
>&5
16156 ac_save_CPPFLAGS
=$CPPFLAGS
16157 CPPFLAGS
="$CPPFLAGS $XKBCOMMON_CFLAGS"
16158 ac_fn_c_check_header_compile
"$LINENO" "xkbcommon/xkbcommon.h" "ac_cv_header_xkbcommon_xkbcommon_h" "$ac_includes_default"
16159 if test "x$ac_cv_header_xkbcommon_xkbcommon_h" = xyes
16161 printf "%s\n" "#define HAVE_XKBCOMMON_XKBCOMMON_H 1" >>confdefs.h
16165 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for xkb_context_new in -lxkbcommon" >&5
16166 printf %s
"checking for xkb_context_new in -lxkbcommon... " >&6; }
16167 if test ${ac_cv_lib_xkbcommon_xkb_context_new+y}
16169 printf %s
"(cached) " >&6
16171 ac_check_lib_save_LIBS
=$LIBS
16172 LIBS
="-lxkbcommon $XKBCOMMON_LIBS $LIBS"
16173 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16174 /* end confdefs.h. */
16176 /* Override any GCC internal prototype to avoid an error.
16177 Use char because int might match the return type of a GCC
16178 builtin and then its argument prototype would still apply. */
16179 char xkb_context_new ();
16183 return xkb_context_new ();
16188 if ac_fn_c_try_link
"$LINENO"
16190 ac_cv_lib_xkbcommon_xkb_context_new
=yes
16192 ac_cv_lib_xkbcommon_xkb_context_new
=no
16194 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16195 conftest
$ac_exeext conftest.
$ac_ext
16196 LIBS
=$ac_check_lib_save_LIBS
16198 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xkbcommon_xkb_context_new" >&5
16199 printf "%s\n" "$ac_cv_lib_xkbcommon_xkb_context_new" >&6; }
16200 if test "x$ac_cv_lib_xkbcommon_xkb_context_new" = xyes
16207 CPPFLAGS
=$ac_save_CPPFLAGS
16210 if ${XKBREGISTRY_CFLAGS:+false} :
16212 if test ${PKG_CONFIG+y}
16214 XKBREGISTRY_CFLAGS
=`$PKG_CONFIG --cflags xkbregistry 2>conftest.err`
16218 if ${XKBREGISTRY_LIBS:+false} :
16220 if test ${PKG_CONFIG+y}
16222 XKBREGISTRY_LIBS
=`$PKG_CONFIG --libs xkbregistry 2>/dev/null`
16227 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xkbregistry cflags: $XKBREGISTRY_CFLAGS" >&5
16228 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xkbregistry libs: $XKBREGISTRY_LIBS" >&5
16229 if test -s conftest.err
; then
16230 printf %s
"$as_me:${as_lineno-$LINENO}: xkbregistry errors: " >&5
16231 cat conftest.err
>&5
16234 ac_save_CPPFLAGS
=$CPPFLAGS
16235 CPPFLAGS
="$CPPFLAGS $XKBREGISTRY_CFLAGS"
16236 ac_fn_c_check_header_compile
"$LINENO" "xkbcommon/xkbregistry.h" "ac_cv_header_xkbcommon_xkbregistry_h" "$ac_includes_default"
16237 if test "x$ac_cv_header_xkbcommon_xkbregistry_h" = xyes
16239 printf "%s\n" "#define HAVE_XKBCOMMON_XKBREGISTRY_H 1" >>confdefs.h
16243 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for rxkb_context_new in -lxkbregistry" >&5
16244 printf %s
"checking for rxkb_context_new in -lxkbregistry... " >&6; }
16245 if test ${ac_cv_lib_xkbregistry_rxkb_context_new+y}
16247 printf %s
"(cached) " >&6
16249 ac_check_lib_save_LIBS
=$LIBS
16250 LIBS
="-lxkbregistry $XKBREGISTRY_LIBS $LIBS"
16251 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16252 /* end confdefs.h. */
16254 /* Override any GCC internal prototype to avoid an error.
16255 Use char because int might match the return type of a GCC
16256 builtin and then its argument prototype would still apply. */
16257 char rxkb_context_new ();
16261 return rxkb_context_new ();
16266 if ac_fn_c_try_link
"$LINENO"
16268 ac_cv_lib_xkbregistry_rxkb_context_new
=yes
16270 ac_cv_lib_xkbregistry_rxkb_context_new
=no
16272 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16273 conftest
$ac_exeext conftest.
$ac_ext
16274 LIBS
=$ac_check_lib_save_LIBS
16276 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xkbregistry_rxkb_context_new" >&5
16277 printf "%s\n" "$ac_cv_lib_xkbregistry_rxkb_context_new" >&6; }
16278 if test "x$ac_cv_lib_xkbregistry_rxkb_context_new" = xyes
16282 XKBREGISTRY_LIBS
=""
16285 CPPFLAGS
=$ac_save_CPPFLAGS
16287 if test "x$with_opengl" != "xno"
16290 if ${EGL_CFLAGS:+false} :
16292 if test ${PKG_CONFIG+y}
16294 EGL_CFLAGS
=`$PKG_CONFIG --cflags egl 2>conftest.err`
16298 if ${EGL_LIBS:+false} :
16300 if test ${PKG_CONFIG+y}
16302 EGL_LIBS
=`$PKG_CONFIG --libs egl 2>/dev/null`
16306 EGL_LIBS
=${EGL_LIBS:-"-lEGL"}
16307 printf "%s\n" "$as_me:${as_lineno-$LINENO}: egl cflags: $EGL_CFLAGS" >&5
16308 printf "%s\n" "$as_me:${as_lineno-$LINENO}: egl libs: $EGL_LIBS" >&5
16309 if test -s conftest.err
; then
16310 printf %s
"$as_me:${as_lineno-$LINENO}: egl errors: " >&5
16311 cat conftest.err
>&5
16314 ac_save_CPPFLAGS
=$CPPFLAGS
16315 CPPFLAGS
="$CPPFLAGS $EGL_CFLAGS"
16316 ac_fn_c_check_header_compile
"$LINENO" "EGL/egl.h" "ac_cv_header_EGL_egl_h" "$ac_includes_default"
16317 if test "x$ac_cv_header_EGL_egl_h" = xyes
16319 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
16320 printf %s
"checking for -lEGL... " >&6; }
16321 if test ${ac_cv_lib_soname_EGL+y}
16323 printf %s
"(cached) " >&6
16325 ac_check_soname_save_LIBS
=$LIBS
16326 LIBS
="-lEGL $EGL_LIBS $LIBS"
16327 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16328 /* end confdefs.h. */
16330 /* Override any GCC internal prototype to avoid an error.
16331 Use char because int might match the return type of a GCC
16332 builtin and then its argument prototype would still apply. */
16333 char eglGetProcAddress ();
16337 return eglGetProcAddress ();
16342 if ac_fn_c_try_link
"$LINENO"
16345 dll
) ac_cv_lib_soname_EGL
=`$ac_cv_path_LDD conftest.exe | grep "EGL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16346 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'` ;;
16347 *) ac_cv_lib_soname_EGL
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libEGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16348 if ${ac_cv_lib_soname_EGL:+false} :
16350 ac_cv_lib_soname_EGL
=`$LDD conftest$ac_exeext | grep "libEGL\\.$LIBEXT" | sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16354 ac_cv_lib_soname_EGL
=
16356 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16357 conftest
$ac_exeext conftest.
$ac_ext
16358 LIBS
=$ac_check_soname_save_LIBS
16360 if ${ac_cv_lib_soname_EGL:+false} :
16362 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16363 printf "%s\n" "not found" >&6; }
16366 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
16367 printf "%s\n" "$ac_cv_lib_soname_EGL" >&6; }
16369 printf "%s\n" "#define SONAME_LIBEGL \"$ac_cv_lib_soname_EGL\"" >>confdefs.h
16375 CPPFLAGS
=$ac_save_CPPFLAGS
16378 if ${WAYLAND_EGL_CFLAGS:+false} :
16380 if test ${PKG_CONFIG+y}
16382 WAYLAND_EGL_CFLAGS
=`$PKG_CONFIG --cflags wayland-egl 2>conftest.err`
16386 if ${WAYLAND_EGL_LIBS:+false} :
16388 if test ${PKG_CONFIG+y}
16390 WAYLAND_EGL_LIBS
=`$PKG_CONFIG --libs wayland-egl 2>/dev/null`
16395 printf "%s\n" "$as_me:${as_lineno-$LINENO}: wayland-egl cflags: $WAYLAND_EGL_CFLAGS" >&5
16396 printf "%s\n" "$as_me:${as_lineno-$LINENO}: wayland-egl libs: $WAYLAND_EGL_LIBS" >&5
16397 if test -s conftest.err
; then
16398 printf %s
"$as_me:${as_lineno-$LINENO}: wayland-egl errors: " >&5
16399 cat conftest.err
>&5
16402 ac_save_CPPFLAGS
=$CPPFLAGS
16403 CPPFLAGS
="$CPPFLAGS $WAYLAND_EGL_CFLAGS"
16404 ac_fn_c_check_header_compile
"$LINENO" "wayland-egl.h" "ac_cv_header_wayland_egl_h" "$ac_includes_default"
16405 if test "x$ac_cv_header_wayland_egl_h" = xyes
16407 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for wl_egl_window_create in -lwayland-egl" >&5
16408 printf %s
"checking for wl_egl_window_create in -lwayland-egl... " >&6; }
16409 if test ${ac_cv_lib_wayland_egl_wl_egl_window_create+y}
16411 printf %s
"(cached) " >&6
16413 ac_check_lib_save_LIBS
=$LIBS
16414 LIBS
="-lwayland-egl $WAYLAND_EGL_LIBS $LIBS"
16415 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16416 /* end confdefs.h. */
16418 /* Override any GCC internal prototype to avoid an error.
16419 Use char because int might match the return type of a GCC
16420 builtin and then its argument prototype would still apply. */
16421 char wl_egl_window_create ();
16425 return wl_egl_window_create ();
16430 if ac_fn_c_try_link
"$LINENO"
16432 ac_cv_lib_wayland_egl_wl_egl_window_create
=yes
16434 ac_cv_lib_wayland_egl_wl_egl_window_create
=no
16436 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16437 conftest
$ac_exeext conftest.
$ac_ext
16438 LIBS
=$ac_check_lib_save_LIBS
16440 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_wayland_egl_wl_egl_window_create" >&5
16441 printf "%s\n" "$ac_cv_lib_wayland_egl_wl_egl_window_create" >&6; }
16442 if test "x$ac_cv_lib_wayland_egl_wl_egl_window_create" = xyes
16445 printf "%s\n" "#define HAVE_LIBWAYLAND_EGL 1" >>confdefs.h
16448 WAYLAND_EGL_LIBS
=""
16453 CPPFLAGS
=$ac_save_CPPFLAGS
16455 if test "x$with_wayland" != "x"
16457 if test -z "$ac_cv_lib_soname_EGL" -o "$ac_cv_lib_wayland_egl_wl_egl_window_create" != yes
16459 case "x$with_opengl" in
16460 x
) as_fn_append wine_notices
"|EGL ${notice_platform}development files not found, the Wayland driver won't support OpenGL" ;;
16462 *) as_fn_error $?
"EGL ${notice_platform}development files not found, the Wayland driver won't support OpenGL
16463 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
16470 if test -z "$WAYLAND_CLIENT_LIBS" -o -z "$WAYLAND_SCANNER" -o -z "$XKBCOMMON_LIBS" -o -z "$XKBREGISTRY_LIBS" -o "$ac_cv_header_linux_input_h" = "no"
16472 case "x$with_wayland" in
16473 x
) as_fn_append wine_notices
"|Wayland ${notice_platform}development files not found, the Wayland driver won't be supported." ;;
16475 *) as_fn_error $?
"Wayland ${notice_platform}development files not found, the Wayland driver won't be supported.
16476 This is an error since --with-wayland was requested." "$LINENO" 5 ;;
16478 enable_winewayland_drv
=${enable_winewayland_drv:-no}
16481 if test "$ac_cv_header_CL_cl_h" = "yes"
16483 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
16484 printf %s
"checking for clGetPlatformInfo in -lOpenCL... " >&6; }
16485 if test ${ac_cv_lib_OpenCL_clGetPlatformInfo+y}
16487 printf %s
"(cached) " >&6
16489 ac_check_lib_save_LIBS
=$LIBS
16490 LIBS
="-lOpenCL $LIBS"
16491 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16492 /* end confdefs.h. */
16494 /* Override any GCC internal prototype to avoid an error.
16495 Use char because int might match the return type of a GCC
16496 builtin and then its argument prototype would still apply. */
16497 char clGetPlatformInfo ();
16501 return clGetPlatformInfo ();
16506 if ac_fn_c_try_link
"$LINENO"
16508 ac_cv_lib_OpenCL_clGetPlatformInfo
=yes
16510 ac_cv_lib_OpenCL_clGetPlatformInfo
=no
16512 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16513 conftest
$ac_exeext conftest.
$ac_ext
16514 LIBS
=$ac_check_lib_save_LIBS
16516 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
16517 printf "%s\n" "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
16518 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes
16520 OPENCL_LIBS
="-lOpenCL"
16525 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
16527 case "x$with_opencl" in
16528 x
) as_fn_append wine_notices
"|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
16530 *) as_fn_error $?
"OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
16531 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
16533 enable_opencl
=${enable_opencl:-no}
16536 if test "$ac_cv_header_pcap_pcap_h" = "yes"
16538 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pcap_init in -lpcap" >&5
16539 printf %s
"checking for pcap_init in -lpcap... " >&6; }
16540 if test ${ac_cv_lib_pcap_pcap_init+y}
16542 printf %s
"(cached) " >&6
16544 ac_check_lib_save_LIBS
=$LIBS
16545 LIBS
="-lpcap $LIBS"
16546 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16547 /* end confdefs.h. */
16549 /* Override any GCC internal prototype to avoid an error.
16550 Use char because int might match the return type of a GCC
16551 builtin and then its argument prototype would still apply. */
16556 return pcap_init ();
16561 if ac_fn_c_try_link
"$LINENO"
16563 ac_cv_lib_pcap_pcap_init
=yes
16565 ac_cv_lib_pcap_pcap_init
=no
16567 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16568 conftest
$ac_exeext conftest.
$ac_ext
16569 LIBS
=$ac_check_lib_save_LIBS
16571 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_init" >&5
16572 printf "%s\n" "$ac_cv_lib_pcap_pcap_init" >&6; }
16573 if test "x$ac_cv_lib_pcap_pcap_init" = xyes
16580 if test "x$ac_cv_lib_pcap_pcap_init" != xyes
16582 case "x$with_pcap" in
16583 x
) as_fn_append wine_notices
"|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
16585 *) as_fn_error $?
"pcap ${notice_platform}development files not found, wpcap won't be supported.
16586 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
16588 enable_wpcap
=${enable_wpcap:-no}
16591 if test "x$with_pcsclite" != "xno"
16593 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for SCardEstablishContext in -lpcsclite" >&5
16594 printf %s
"checking for SCardEstablishContext in -lpcsclite... " >&6; }
16595 if test ${ac_cv_lib_pcsclite_SCardEstablishContext+y}
16597 printf %s
"(cached) " >&6
16599 ac_check_lib_save_LIBS
=$LIBS
16600 LIBS
="-lpcsclite $LIBS"
16601 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16602 /* end confdefs.h. */
16604 /* Override any GCC internal prototype to avoid an error.
16605 Use char because int might match the return type of a GCC
16606 builtin and then its argument prototype would still apply. */
16607 char SCardEstablishContext ();
16611 return SCardEstablishContext ();
16616 if ac_fn_c_try_link
"$LINENO"
16618 ac_cv_lib_pcsclite_SCardEstablishContext
=yes
16620 ac_cv_lib_pcsclite_SCardEstablishContext
=no
16622 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16623 conftest
$ac_exeext conftest.
$ac_ext
16624 LIBS
=$ac_check_lib_save_LIBS
16626 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcsclite_SCardEstablishContext" >&5
16627 printf "%s\n" "$ac_cv_lib_pcsclite_SCardEstablishContext" >&6; }
16628 if test "x$ac_cv_lib_pcsclite_SCardEstablishContext" = xyes
16630 PCSCLITE_LIBS
="-lpcsclite"
16634 darwin
*|macosx
*) PCSCLITE_LIBS
="-framework PCSC"
16640 if test "x$PCSCLITE_LIBS" = x
16642 case "x$with_pcsclite" in
16643 x
) as_fn_append wine_notices
"|libpcsclite not found, smart cards won't be supported." ;;
16645 *) as_fn_error $?
"libpcsclite not found, smart cards won't be supported.
16646 This is an error since --with-pcsclite was requested." "$LINENO" 5 ;;
16648 enable_winscard
=${enable_winscard:-no}
16651 if test "x$with_odbc" != "xno"
16654 if ${ODBC_CFLAGS:+false} :
16656 if test ${PKG_CONFIG+y}
16658 ODBC_CFLAGS
=`$PKG_CONFIG --cflags odbc 2>conftest.err`
16662 if ${ODBC_LIBS:+false} :
16664 if test ${PKG_CONFIG+y}
16666 ODBC_LIBS
=`$PKG_CONFIG --libs odbc 2>/dev/null`
16670 ODBC_LIBS
=${ODBC_LIBS:-"-lodbc"}
16671 printf "%s\n" "$as_me:${as_lineno-$LINENO}: odbc cflags: $ODBC_CFLAGS" >&5
16672 printf "%s\n" "$as_me:${as_lineno-$LINENO}: odbc libs: $ODBC_LIBS" >&5
16673 if test -s conftest.err
; then
16674 printf %s
"$as_me:${as_lineno-$LINENO}: odbc errors: " >&5
16675 cat conftest.err
>&5
16678 ac_save_CPPFLAGS
=$CPPFLAGS
16679 CPPFLAGS
="$CPPFLAGS $ODBC_CFLAGS"
16680 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for SQLConnect in -lodbc" >&5
16681 printf %s
"checking for SQLConnect in -lodbc... " >&6; }
16682 if test ${ac_cv_lib_odbc_SQLConnect+y}
16684 printf %s
"(cached) " >&6
16686 ac_check_lib_save_LIBS
=$LIBS
16687 LIBS
="-lodbc $ODBC_LIBS $LIBS"
16688 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16689 /* end confdefs.h. */
16691 /* Override any GCC internal prototype to avoid an error.
16692 Use char because int might match the return type of a GCC
16693 builtin and then its argument prototype would still apply. */
16694 char SQLConnect ();
16698 return SQLConnect ();
16703 if ac_fn_c_try_link
"$LINENO"
16705 ac_cv_lib_odbc_SQLConnect
=yes
16707 ac_cv_lib_odbc_SQLConnect
=no
16709 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16710 conftest
$ac_exeext conftest.
$ac_ext
16711 LIBS
=$ac_check_lib_save_LIBS
16713 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_odbc_SQLConnect" >&5
16714 printf "%s\n" "$ac_cv_lib_odbc_SQLConnect" >&6; }
16715 if test "x$ac_cv_lib_odbc_SQLConnect" = xyes
16722 CPPFLAGS
=$ac_save_CPPFLAGS
16725 if test "x$ODBC_LIBS" = x
16727 case "x$with_odbc" in
16728 x
) as_fn_append wine_notices
"|libodbc not found, ODBC won't be supported." ;;
16730 *) as_fn_error $?
"libodbc not found, ODBC won't be supported.
16731 This is an error since --with-odbc was requested." "$LINENO" 5 ;;
16733 enable_odbc32
=${enable_odbc32:-no}
16736 if test "x$with_inotify" != "xno"
16739 if ${INOTIFY_CFLAGS:+false} :
16741 if test ${PKG_CONFIG+y}
16743 INOTIFY_CFLAGS
=`$PKG_CONFIG --cflags libinotify 2>conftest.err`
16747 if ${INOTIFY_LIBS:+false} :
16749 if test ${PKG_CONFIG+y}
16751 INOTIFY_LIBS
=`$PKG_CONFIG --libs libinotify 2>/dev/null`
16756 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libinotify cflags: $INOTIFY_CFLAGS" >&5
16757 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libinotify libs: $INOTIFY_LIBS" >&5
16758 if test -s conftest.err
; then
16759 printf %s
"$as_me:${as_lineno-$LINENO}: libinotify errors: " >&5
16760 cat conftest.err
>&5
16763 ac_save_CPPFLAGS
=$CPPFLAGS
16764 CPPFLAGS
="$CPPFLAGS $INOTIFY_CFLAGS"
16765 ac_fn_c_check_header_compile
"$LINENO" "sys/inotify.h" "ac_cv_header_sys_inotify_h" "$ac_includes_default"
16766 if test "x$ac_cv_header_sys_inotify_h" = xyes
16768 printf "%s\n" "#define HAVE_SYS_INOTIFY_H 1" >>confdefs.h
16772 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inotify_add_watch in -linotify" >&5
16773 printf %s
"checking for inotify_add_watch in -linotify... " >&6; }
16774 if test ${ac_cv_lib_inotify_inotify_add_watch+y}
16776 printf %s
"(cached) " >&6
16778 ac_check_lib_save_LIBS
=$LIBS
16779 LIBS
="-linotify $INOTIFY_LIBS $LIBS"
16780 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16781 /* end confdefs.h. */
16783 /* Override any GCC internal prototype to avoid an error.
16784 Use char because int might match the return type of a GCC
16785 builtin and then its argument prototype would still apply. */
16786 char inotify_add_watch ();
16790 return inotify_add_watch ();
16795 if ac_fn_c_try_link
"$LINENO"
16797 ac_cv_lib_inotify_inotify_add_watch
=yes
16799 ac_cv_lib_inotify_inotify_add_watch
=no
16801 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16802 conftest
$ac_exeext conftest.
$ac_ext
16803 LIBS
=$ac_check_lib_save_LIBS
16805 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_inotify_inotify_add_watch" >&5
16806 printf "%s\n" "$ac_cv_lib_inotify_inotify_add_watch" >&6; }
16807 if test "x$ac_cv_lib_inotify_inotify_add_watch" = xyes
16814 CPPFLAGS
=$ac_save_CPPFLAGS
16817 if test "$ac_cv_header_sys_inotify_h" != "yes"
16819 case "x$with_inotify" in
16820 x
) as_fn_append wine_notices
"|libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported." ;;
16822 *) as_fn_error $?
"libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported.
16823 This is an error since --with-inotify was requested." "$LINENO" 5 ;;
16828 if test "x$with_dbus" != "xno"
16831 if ${DBUS_CFLAGS:+false} :
16833 if test ${PKG_CONFIG+y}
16835 DBUS_CFLAGS
=`$PKG_CONFIG --cflags dbus-1 2>conftest.err`
16839 if ${DBUS_LIBS:+false} :
16841 if test ${PKG_CONFIG+y}
16843 DBUS_LIBS
=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
16848 printf "%s\n" "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
16849 printf "%s\n" "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
16850 if test -s conftest.err
; then
16851 printf %s
"$as_me:${as_lineno-$LINENO}: dbus-1 errors: " >&5
16852 cat conftest.err
>&5
16855 ac_save_CPPFLAGS
=$CPPFLAGS
16856 CPPFLAGS
="$CPPFLAGS $DBUS_CFLAGS"
16857 ac_fn_c_check_header_compile
"$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
16858 if test "x$ac_cv_header_dbus_dbus_h" = xyes
16860 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
16861 printf %s
"checking for -ldbus-1... " >&6; }
16862 if test ${ac_cv_lib_soname_dbus_1+y}
16864 printf %s
"(cached) " >&6
16866 ac_check_soname_save_LIBS
=$LIBS
16867 LIBS
="-ldbus-1 $DBUS_LIBS $LIBS"
16868 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16869 /* end confdefs.h. */
16871 /* Override any GCC internal prototype to avoid an error.
16872 Use char because int might match the return type of a GCC
16873 builtin and then its argument prototype would still apply. */
16874 char dbus_connection_close ();
16878 return dbus_connection_close ();
16883 if ac_fn_c_try_link
"$LINENO"
16886 dll
) ac_cv_lib_soname_dbus_1
=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16887 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'` ;;
16888 *) 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'`
16889 if ${ac_cv_lib_soname_dbus_1:+false} :
16891 ac_cv_lib_soname_dbus_1
=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16895 ac_cv_lib_soname_dbus_1
=
16897 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16898 conftest
$ac_exeext conftest.
$ac_ext
16899 LIBS
=$ac_check_soname_save_LIBS
16901 if ${ac_cv_lib_soname_dbus_1:+false} :
16903 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16904 printf "%s\n" "not found" >&6; }
16907 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
16908 printf "%s\n" "$ac_cv_lib_soname_dbus_1" >&6; }
16910 printf "%s\n" "#define SONAME_LIBDBUS_1 \"$ac_cv_lib_soname_dbus_1\"" >>confdefs.h
16918 CPPFLAGS
=$ac_save_CPPFLAGS
16922 darwin
*|macosx
*) ;;
16923 *) if test "x$ac_cv_lib_soname_dbus_1" = "x"
16925 case "x$with_dbus" in
16926 x
) as_fn_append wine_notices
"|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
16928 *) as_fn_error $?
"libdbus ${notice_platform}development files not found, no dynamic device support.
16929 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
16935 if test "x$with_gnutls" != "xno"
16938 if ${GNUTLS_CFLAGS:+false} :
16940 if test ${PKG_CONFIG+y}
16942 GNUTLS_CFLAGS
=`$PKG_CONFIG --cflags gnutls 2>conftest.err`
16946 if ${GNUTLS_LIBS:+false} :
16948 if test ${PKG_CONFIG+y}
16950 GNUTLS_LIBS
=`$PKG_CONFIG --libs gnutls 2>/dev/null`
16954 GNUTLS_LIBS
=${GNUTLS_LIBS:-"-lgnutls"}
16955 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
16956 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
16957 if test -s conftest.err
; then
16958 printf %s
"$as_me:${as_lineno-$LINENO}: gnutls errors: " >&5
16959 cat conftest.err
>&5
16962 ac_save_CPPFLAGS
=$CPPFLAGS
16963 CPPFLAGS
="$CPPFLAGS $GNUTLS_CFLAGS"
16964 ac_fn_c_check_header_compile
"$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
16965 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes
16967 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16968 /* end confdefs.h. */
16969 #include <gnutls/gnutls.h>
16970 #include <gnutls/crypto.h>
16974 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
16979 if ac_fn_c_try_compile
"$LINENO"
16981 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
16982 printf %s
"checking for -lgnutls... " >&6; }
16983 if test ${ac_cv_lib_soname_gnutls+y}
16985 printf %s
"(cached) " >&6
16987 ac_check_soname_save_LIBS
=$LIBS
16988 LIBS
="-lgnutls $GNUTLS_LIBS $LIBS"
16989 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16990 /* end confdefs.h. */
16992 /* Override any GCC internal prototype to avoid an error.
16993 Use char because int might match the return type of a GCC
16994 builtin and then its argument prototype would still apply. */
16995 char gnutls_global_init ();
16999 return gnutls_global_init ();
17004 if ac_fn_c_try_link
"$LINENO"
17007 dll
) ac_cv_lib_soname_gnutls
=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17008 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'` ;;
17009 *) 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'`
17010 if ${ac_cv_lib_soname_gnutls:+false} :
17012 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'`
17016 ac_cv_lib_soname_gnutls
=
17018 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17019 conftest
$ac_exeext conftest.
$ac_ext
17020 LIBS
=$ac_check_soname_save_LIBS
17022 if ${ac_cv_lib_soname_gnutls:+false} :
17024 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17025 printf "%s\n" "not found" >&6; }
17028 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
17029 printf "%s\n" "$ac_cv_lib_soname_gnutls" >&6; }
17031 printf "%s\n" "#define SONAME_LIBGNUTLS \"$ac_cv_lib_soname_gnutls\"" >>confdefs.h
17035 ac_wine_check_funcs_save_LIBS
="$LIBS"
17036 LIBS
="$LIBS $GNUTLS_LIBS"
17038 for ac_func
in gnutls_cipher_init
17040 ac_fn_c_check_func
"$LINENO" "gnutls_cipher_init" "ac_cv_func_gnutls_cipher_init"
17041 if test "x$ac_cv_func_gnutls_cipher_init" = xyes
17043 printf "%s\n" "#define HAVE_GNUTLS_CIPHER_INIT 1" >>confdefs.h
17046 as_fn_append wine_notices
"|libgnutls ${notice_platform}development files too old, bcrypt encryption won't be supported."
17050 LIBS
="$ac_wine_check_funcs_save_LIBS"
17052 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
17057 CPPFLAGS
=$ac_save_CPPFLAGS
17060 if test "x$ac_cv_lib_soname_gnutls" = "x"
17062 case "x$with_gnutls" in
17063 x
) as_fn_append wine_warnings
"|libgnutls ${notice_platform}development files not found, no schannel support." ;;
17065 *) as_fn_error $?
"libgnutls ${notice_platform}development files not found, no schannel support.
17066 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
17071 if test "x$with_sane" != "xno"
17074 if ${SANE_CFLAGS:+false} :
17076 if test ${PKG_CONFIG+y}
17078 SANE_CFLAGS
=`$PKG_CONFIG --cflags sane-backends 2>conftest.err`
17081 test "$cross_compiling" = yes || SANE_CFLAGS
=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
17082 if ${SANE_LIBS:+false} :
17084 if test ${PKG_CONFIG+y}
17086 SANE_LIBS
=`$PKG_CONFIG --libs sane-backends 2>/dev/null`
17089 test "$cross_compiling" = yes || SANE_LIBS
=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
17091 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sane-backends cflags: $SANE_CFLAGS" >&5
17092 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sane-backends libs: $SANE_LIBS" >&5
17093 if test -s conftest.err
; then
17094 printf %s
"$as_me:${as_lineno-$LINENO}: sane-backends errors: " >&5
17095 cat conftest.err
>&5
17098 ac_save_CPPFLAGS
=$CPPFLAGS
17099 CPPFLAGS
="$CPPFLAGS $SANE_CFLAGS"
17100 ac_fn_c_check_header_compile
"$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
17101 if test "x$ac_cv_header_sane_sane_h" = xyes
17103 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sane_init in -lsane" >&5
17104 printf %s
"checking for sane_init in -lsane... " >&6; }
17105 if test ${ac_cv_lib_sane_sane_init+y}
17107 printf %s
"(cached) " >&6
17109 ac_check_lib_save_LIBS
=$LIBS
17110 LIBS
="-lsane $SANE_LIBS $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. */
17121 return sane_init ();
17126 if ac_fn_c_try_link
"$LINENO"
17128 ac_cv_lib_sane_sane_init
=yes
17130 ac_cv_lib_sane_sane_init
=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_sane_sane_init" >&5
17137 printf "%s\n" "$ac_cv_lib_sane_sane_init" >&6; }
17138 if test "x$ac_cv_lib_sane_sane_init" = xyes
17145 CPPFLAGS
=$ac_save_CPPFLAGS
17148 if test "$ac_cv_lib_sane_sane_init" != "yes"
17150 case "x$with_sane" in
17151 x
) as_fn_append wine_notices
"|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
17153 *) as_fn_error $?
"libsane ${notice_platform}development files not found, scanners won't be supported.
17154 This is an error since --with-sane was requested." "$LINENO" 5 ;;
17156 enable_sane_ds
=${enable_sane_ds:-no}
17159 if test "x$with_usb" != "xno"
17162 if ${USB_CFLAGS:+false} :
17164 if test ${PKG_CONFIG+y}
17166 USB_CFLAGS
=`$PKG_CONFIG --cflags libusb-1.0 2>conftest.err`
17170 if ${USB_LIBS:+false} :
17172 if test ${PKG_CONFIG+y}
17174 USB_LIBS
=`$PKG_CONFIG --libs libusb-1.0 2>/dev/null`
17178 USB_LIBS
=${USB_LIBS:-"-lusb-1.0"}
17179 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libusb-1.0 cflags: $USB_CFLAGS" >&5
17180 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libusb-1.0 libs: $USB_LIBS" >&5
17181 if test -s conftest.err
; then
17182 printf %s
"$as_me:${as_lineno-$LINENO}: libusb-1.0 errors: " >&5
17183 cat conftest.err
>&5
17186 ac_save_CPPFLAGS
=$CPPFLAGS
17187 CPPFLAGS
="$CPPFLAGS $USB_CFLAGS"
17188 ac_fn_c_check_header_compile
"$LINENO" "libusb.h" "ac_cv_header_libusb_h" "$ac_includes_default"
17189 if test "x$ac_cv_header_libusb_h" = xyes
17191 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libusb_interrupt_event_handler in -lusb-1.0" >&5
17192 printf %s
"checking for libusb_interrupt_event_handler in -lusb-1.0... " >&6; }
17193 if test ${ac_cv_lib_usb_1_0_libusb_interrupt_event_handler+y}
17195 printf %s
"(cached) " >&6
17197 ac_check_lib_save_LIBS
=$LIBS
17198 LIBS
="-lusb-1.0 $USB_LIBS $LIBS"
17199 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17200 /* end confdefs.h. */
17202 /* Override any GCC internal prototype to avoid an error.
17203 Use char because int might match the return type of a GCC
17204 builtin and then its argument prototype would still apply. */
17205 char libusb_interrupt_event_handler ();
17209 return libusb_interrupt_event_handler ();
17214 if ac_fn_c_try_link
"$LINENO"
17216 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler
=yes
17218 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler
=no
17220 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17221 conftest
$ac_exeext conftest.
$ac_ext
17222 LIBS
=$ac_check_lib_save_LIBS
17224 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&5
17225 printf "%s\n" "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&6; }
17226 if test "x$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" = xyes
17237 CPPFLAGS
=$ac_save_CPPFLAGS
17240 if test "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" != "yes"
17242 case "x$with_usb" in
17243 x
) as_fn_append wine_notices
"|libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported." ;;
17245 *) as_fn_error $?
"libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported.
17246 This is an error since --with-usb was requested." "$LINENO" 5 ;;
17248 enable_wineusb_sys
=${enable_wineusb_sys:-no}
17251 if test "x$with_v4l2" != "xno"
17253 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lv4l2" >&5
17254 printf %s
"checking for -lv4l2... " >&6; }
17255 if test ${ac_cv_lib_soname_v4l2+y}
17257 printf %s
"(cached) " >&6
17259 ac_check_soname_save_LIBS
=$LIBS
17260 LIBS
="-lv4l2 $LIBS"
17261 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17262 /* end confdefs.h. */
17264 /* Override any GCC internal prototype to avoid an error.
17265 Use char because int might match the return type of a GCC
17266 builtin and then its argument prototype would still apply. */
17271 return v4l2_open ();
17276 if ac_fn_c_try_link
"$LINENO"
17279 dll
) ac_cv_lib_soname_v4l2
=`$ac_cv_path_LDD conftest.exe | grep "v4l2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17280 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'` ;;
17281 *) ac_cv_lib_soname_v4l2
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17282 if ${ac_cv_lib_soname_v4l2:+false} :
17284 ac_cv_lib_soname_v4l2
=`$LDD conftest$ac_exeext | grep "libv4l2\\.$LIBEXT" | sed -e "s/^.*\(libv4l2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17288 ac_cv_lib_soname_v4l2
=
17290 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17291 conftest
$ac_exeext conftest.
$ac_ext
17292 LIBS
=$ac_check_soname_save_LIBS
17294 if ${ac_cv_lib_soname_v4l2:+false} :
17296 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17297 printf "%s\n" "not found" >&6; }
17300 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l2" >&5
17301 printf "%s\n" "$ac_cv_lib_soname_v4l2" >&6; }
17303 printf "%s\n" "#define SONAME_LIBV4L2 \"$ac_cv_lib_soname_v4l2\"" >>confdefs.h
17308 if test "x$ac_cv_lib_soname_v4l2" = "x"
17310 case "x$with_v4l2" in
17311 x
) as_fn_append wine_notices
"|libv4l2 ${notice_platform}development files not found." ;;
17313 *) as_fn_error $?
"libv4l2 ${notice_platform}development files not found.
17314 This is an error since --with-v4l2 was requested." "$LINENO" 5 ;;
17319 if test "x$with_gphoto" != "xno"
17322 if ${GPHOTO2_CFLAGS:+false} :
17324 if test ${PKG_CONFIG+y}
17326 GPHOTO2_CFLAGS
=`$PKG_CONFIG --cflags libgphoto2 2>conftest.err`
17329 test "$cross_compiling" = yes || GPHOTO2_CFLAGS
=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
17330 if ${GPHOTO2_LIBS:+false} :
17332 if test ${PKG_CONFIG+y}
17334 GPHOTO2_LIBS
=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
17337 test "$cross_compiling" = yes || GPHOTO2_LIBS
=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
17338 GPHOTO2_LIBS
=${GPHOTO2_LIBS:-"-lgphoto2"}
17339 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
17340 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
17341 if test -s conftest.err
; then
17342 printf %s
"$as_me:${as_lineno-$LINENO}: libgphoto2 errors: " >&5
17343 cat conftest.err
>&5
17346 ac_save_CPPFLAGS
=$CPPFLAGS
17347 CPPFLAGS
="$CPPFLAGS $GPHOTO2_CFLAGS"
17348 ac_fn_c_check_header_compile
"$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
17349 if test "x$ac_cv_header_gphoto2_camera_h" = xyes
17351 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
17352 printf %s
"checking for gp_camera_new in -lgphoto2... " >&6; }
17353 if test ${ac_cv_lib_gphoto2_gp_camera_new+y}
17355 printf %s
"(cached) " >&6
17357 ac_check_lib_save_LIBS
=$LIBS
17358 LIBS
="-lgphoto2 $GPHOTO2_LIBS $LIBS"
17359 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17360 /* end confdefs.h. */
17362 /* Override any GCC internal prototype to avoid an error.
17363 Use char because int might match the return type of a GCC
17364 builtin and then its argument prototype would still apply. */
17365 char gp_camera_new ();
17369 return gp_camera_new ();
17374 if ac_fn_c_try_link
"$LINENO"
17376 ac_cv_lib_gphoto2_gp_camera_new
=yes
17378 ac_cv_lib_gphoto2_gp_camera_new
=no
17380 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17381 conftest
$ac_exeext conftest.
$ac_ext
17382 LIBS
=$ac_check_lib_save_LIBS
17384 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
17385 printf "%s\n" "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
17386 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes
17393 CPPFLAGS
=$ac_save_CPPFLAGS
17396 if ${GPHOTO2_PORT_CFLAGS:+false} :
17398 if test ${PKG_CONFIG+y}
17400 GPHOTO2_PORT_CFLAGS
=`$PKG_CONFIG --cflags libgphoto2_port 2>conftest.err`
17403 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS
=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
17404 if ${GPHOTO2_PORT_LIBS:+false} :
17406 if test ${PKG_CONFIG+y}
17408 GPHOTO2_PORT_LIBS
=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
17411 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS
=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
17412 GPHOTO2_PORT_LIBS
=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
17413 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
17414 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
17415 if test -s conftest.err
; then
17416 printf %s
"$as_me:${as_lineno-$LINENO}: libgphoto2_port errors: " >&5
17417 cat conftest.err
>&5
17420 ac_save_CPPFLAGS
=$CPPFLAGS
17421 CPPFLAGS
="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
17422 ac_fn_c_check_header_compile
"$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
17423 if test "x$ac_cv_header_gphoto2_port_h" = xyes
17425 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
17426 printf %s
"checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
17427 if test ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+y}
17429 printf %s
"(cached) " >&6
17431 ac_check_lib_save_LIBS
=$LIBS
17432 LIBS
="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
17433 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17434 /* end confdefs.h. */
17436 /* Override any GCC internal prototype to avoid an error.
17437 Use char because int might match the return type of a GCC
17438 builtin and then its argument prototype would still apply. */
17439 char gp_port_info_list_new ();
17443 return gp_port_info_list_new ();
17448 if ac_fn_c_try_link
"$LINENO"
17450 ac_cv_lib_gphoto2_port_gp_port_info_list_new
=yes
17452 ac_cv_lib_gphoto2_port_gp_port_info_list_new
=no
17454 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17455 conftest
$ac_exeext conftest.
$ac_ext
17456 LIBS
=$ac_check_lib_save_LIBS
17458 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
17459 printf "%s\n" "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
17460 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes
17463 printf "%s\n" "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
17466 GPHOTO2_PORT_LIBS
=""; GPHOTO2_PORT_CFLAGS
=""
17470 GPHOTO2_PORT_LIBS
=""; GPHOTO2_PORT_CFLAGS
=""
17473 CPPFLAGS
=$ac_save_CPPFLAGS
17476 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"
17478 case "x$with_gphoto" in
17479 x
) as_fn_append wine_notices
"|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
17481 *) as_fn_error $?
"libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
17482 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
17484 enable_gphoto2_ds
=${enable_gphoto2_ds:-no}
17486 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"
17488 case "x$with_gphoto" in
17489 x
) as_fn_append wine_notices
"|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
17491 *) as_fn_error $?
"libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
17492 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
17498 if test "$ac_cv_header_resolv_h" = "yes"
17500 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
17501 printf %s
"checking for resolver library... " >&6; }
17502 if test ${ac_cv_have_resolv+y}
17504 printf %s
"(cached) " >&6
17506 ac_save_LIBS
="$LIBS"
17507 for lib
in '' -lresolv
17509 LIBS
="$lib $ac_save_LIBS"
17510 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17511 /* end confdefs.h. */
17512 #ifdef HAVE_NETINET_IN_H
17513 #include <netinet/in.h>
17515 #include <resolv.h>
17519 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0); ns_initparse(0,0,0)
17524 if ac_fn_c_try_link
"$LINENO"
17526 ac_cv_have_resolv
=${lib:-"none required"}
17528 ac_cv_have_resolv
="not found"
17530 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17531 conftest
$ac_exeext conftest.
$ac_ext
17532 test "x$ac_cv_have_resolv" = "xnot found" ||
break
17534 LIBS
="$ac_save_LIBS"
17536 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
17537 printf "%s\n" "$ac_cv_have_resolv" >&6; }
17539 case "$ac_cv_have_resolv" in
17543 printf "%s\n" "#define HAVE_RESOLV 1" >>confdefs.h
17546 printf "%s\n" "#define HAVE_RESOLV 1" >>confdefs.h
17548 RESOLV_LIBS
=$ac_cv_have_resolv
17552 if test "x$ac_cv_have_resolv" != "xnot found"
17554 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for res_getservers" >&5
17555 printf %s
"checking for res_getservers... " >&6; }
17556 if test ${ac_cv_have_res_getservers+y}
17558 printf %s
"(cached) " >&6
17560 ac_save_LIBS
="$LIBS"
17561 LIBS
="$RESOLV_LIBS $LIBS"
17562 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17563 /* end confdefs.h. */
17564 #include <resolv.h>
17568 res_getservers(NULL, NULL, 0);
17573 if ac_fn_c_try_link
"$LINENO"
17575 ac_cv_have_res_getservers
=yes
17577 ac_cv_have_res_getservers
=no
17579 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17580 conftest
$ac_exeext conftest.
$ac_ext
17581 LIBS
="$ac_save_LIBS"
17583 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_res_getservers" >&5
17584 printf "%s\n" "$ac_cv_have_res_getservers" >&6; }
17585 if test "$ac_cv_have_res_getservers" = "yes"
17588 printf "%s\n" "#define HAVE_RES_GETSERVERS 1" >>confdefs.h
17594 if test "x$with_freetype" != "xno"
17597 if ${FREETYPE_CFLAGS:+false} :
17599 if test ${PKG_CONFIG+y}
17601 FREETYPE_CFLAGS
=`$PKG_CONFIG --cflags freetype2 2>conftest.err`
17604 test "$cross_compiling" = yes || FREETYPE_CFLAGS
=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
17605 if ${FREETYPE_LIBS:+false} :
17607 if test ${PKG_CONFIG+y}
17609 FREETYPE_LIBS
=`$PKG_CONFIG --libs freetype2 2>/dev/null`
17612 test "$cross_compiling" = yes || FREETYPE_LIBS
=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
17613 FREETYPE_LIBS
=${FREETYPE_LIBS:-"-lfreetype"}
17614 printf "%s\n" "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
17615 printf "%s\n" "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
17616 if test -s conftest.err
; then
17617 printf %s
"$as_me:${as_lineno-$LINENO}: freetype2 errors: " >&5
17618 cat conftest.err
>&5
17621 ac_save_CPPFLAGS
=$CPPFLAGS
17622 CPPFLAGS
="$CPPFLAGS $FREETYPE_CFLAGS"
17623 ac_fn_c_check_header_compile
"$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
17624 if test "x$ac_cv_header_ft2build_h" = xyes
17626 printf "%s\n" "#define HAVE_FT2BUILD_H 1" >>confdefs.h
17630 if test "$ac_cv_header_ft2build_h" = "yes"
17632 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
17633 printf %s
"checking for -lfreetype... " >&6; }
17634 if test ${ac_cv_lib_soname_freetype+y}
17636 printf %s
"(cached) " >&6
17638 ac_check_soname_save_LIBS
=$LIBS
17639 LIBS
="-lfreetype $FREETYPE_LIBS $LIBS"
17640 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17641 /* end confdefs.h. */
17643 /* Override any GCC internal prototype to avoid an error.
17644 Use char because int might match the return type of a GCC
17645 builtin and then its argument prototype would still apply. */
17646 char FT_Init_FreeType ();
17650 return FT_Init_FreeType ();
17655 if ac_fn_c_try_link
"$LINENO"
17658 dll
) ac_cv_lib_soname_freetype
=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17659 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'` ;;
17660 *) ac_cv_lib_soname_freetype
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17661 if ${ac_cv_lib_soname_freetype:+false} :
17663 ac_cv_lib_soname_freetype
=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17667 ac_cv_lib_soname_freetype
=
17669 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17670 conftest
$ac_exeext conftest.
$ac_ext
17671 LIBS
=$ac_check_soname_save_LIBS
17673 if ${ac_cv_lib_soname_freetype:+false} :
17675 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17676 printf "%s\n" "not found" >&6; }
17679 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
17680 printf "%s\n" "$ac_cv_lib_soname_freetype" >&6; }
17682 printf "%s\n" "#define SONAME_LIBFREETYPE \"$ac_cv_lib_soname_freetype\"" >>confdefs.h
17685 printf "%s\n" "#define HAVE_FREETYPE 1" >>confdefs.h
17687 ac_fn_c_check_type
"$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
17688 #include FT_MODULE_H
17690 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes
17693 printf "%s\n" "#define HAVE_FT_TRUETYPEENGINETYPE 1" >>confdefs.h
17703 CPPFLAGS
=$ac_save_CPPFLAGS
17706 if test "x$ac_cv_lib_soname_freetype" = x
17708 case "x$with_freetype" in
17710 *) as_fn_error $?
"FreeType ${notice_platform}development files not found. Fonts will not be built.
17711 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
17713 enable_fonts
=${enable_fonts:-no}
17716 ac_wine_check_funcs_save_LIBS
="$LIBS"
17717 LIBS
="$LIBS $PTHREAD_LIBS"
17718 ac_fn_c_check_func
"$LINENO" "pthread_getthreadid_np" "ac_cv_func_pthread_getthreadid_np"
17719 if test "x$ac_cv_func_pthread_getthreadid_np" = xyes
17721 printf "%s\n" "#define HAVE_PTHREAD_GETTHREADID_NP 1" >>confdefs.h
17725 LIBS
="$ac_wine_check_funcs_save_LIBS"
17727 if test "x$enable_tools" != xno
-a "x$with_gettextpo" = xyes
17729 if test "$ac_cv_header_gettext_po_h" = "yes"
17731 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
17732 printf %s
"checking for po_message_msgctxt in -lgettextpo... " >&6; }
17733 if test ${ac_cv_lib_gettextpo_po_message_msgctxt+y}
17735 printf %s
"(cached) " >&6
17737 ac_check_lib_save_LIBS
=$LIBS
17738 LIBS
="-lgettextpo $LIBS"
17739 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17740 /* end confdefs.h. */
17742 /* Override any GCC internal prototype to avoid an error.
17743 Use char because int might match the return type of a GCC
17744 builtin and then its argument prototype would still apply. */
17745 char po_message_msgctxt ();
17749 return po_message_msgctxt ();
17754 if ac_fn_c_try_link
"$LINENO"
17756 ac_cv_lib_gettextpo_po_message_msgctxt
=yes
17758 ac_cv_lib_gettextpo_po_message_msgctxt
=no
17760 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17761 conftest
$ac_exeext conftest.
$ac_ext
17762 LIBS
=$ac_check_lib_save_LIBS
17764 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
17765 printf "%s\n" "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
17766 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes
17769 printf "%s\n" "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
17771 GETTEXTPO_LIBS
="-lgettextpo"
17776 if test "x$GETTEXTPO_LIBS" = "x"
17778 case "x$with_gettextpo" in
17779 x
) as_fn_append wine_notices
"|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
17781 *) as_fn_error $?
"GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
17782 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
17786 if test "$srcdir" != .
17788 case "x$with_gettextpo" in
17789 x
) as_fn_append wine_notices
"|Rebuilding po files is not supported for out of tree builds." ;;
17791 *) as_fn_error $?
"Rebuilding po files is not supported for out of tree builds.
17792 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
17798 if test "x$with_pulse" != "xno";
17801 if ${PULSE_CFLAGS:+false} :
17803 if test ${PKG_CONFIG+y}
17805 PULSE_CFLAGS
=`$PKG_CONFIG --cflags libpulse 2>conftest.err`
17809 if ${PULSE_LIBS:+false} :
17811 if test ${PKG_CONFIG+y}
17813 PULSE_LIBS
=`$PKG_CONFIG --libs libpulse 2>/dev/null`
17818 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
17819 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
17820 if test -s conftest.err
; then
17821 printf %s
"$as_me:${as_lineno-$LINENO}: libpulse errors: " >&5
17822 cat conftest.err
>&5
17825 ac_save_CPPFLAGS
=$CPPFLAGS
17826 CPPFLAGS
="$CPPFLAGS $PULSE_CFLAGS"
17827 ac_fn_c_check_header_compile
"$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
17828 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes
17830 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
17831 printf %s
"checking for pa_stream_is_corked in -lpulse... " >&6; }
17832 if test ${ac_cv_lib_pulse_pa_stream_is_corked+y}
17834 printf %s
"(cached) " >&6
17836 ac_check_lib_save_LIBS
=$LIBS
17837 LIBS
="-lpulse $PULSE_LIBS $LIBS"
17838 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17839 /* end confdefs.h. */
17841 /* Override any GCC internal prototype to avoid an error.
17842 Use char because int might match the return type of a GCC
17843 builtin and then its argument prototype would still apply. */
17844 char pa_stream_is_corked ();
17848 return pa_stream_is_corked ();
17853 if ac_fn_c_try_link
"$LINENO"
17855 ac_cv_lib_pulse_pa_stream_is_corked
=yes
17857 ac_cv_lib_pulse_pa_stream_is_corked
=no
17859 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17860 conftest
$ac_exeext conftest.
$ac_ext
17861 LIBS
=$ac_check_lib_save_LIBS
17863 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
17864 printf "%s\n" "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
17865 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes
17876 CPPFLAGS
=$ac_save_CPPFLAGS
17879 if test -z "$PULSE_LIBS"
17881 case "x$with_pulse" in
17882 x
) as_fn_append wine_notices
"|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
17884 *) as_fn_error $?
"libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
17885 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
17887 enable_winepulse_drv
=${enable_winepulse_drv:-no}
17890 if test "x$with_gstreamer" != "xno"
17893 if ${GSTREAMER_CFLAGS:+false} :
17895 if test ${PKG_CONFIG+y}
17897 GSTREAMER_CFLAGS
=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 gstreamer-tag-1.0 2>conftest.err`
17901 if ${GSTREAMER_LIBS:+false} :
17903 if test ${PKG_CONFIG+y}
17905 GSTREAMER_LIBS
=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 gstreamer-tag-1.0 2>/dev/null`
17910 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
17911 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
17912 if test -s conftest.err
; then
17913 printf %s
"$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 gstreamer-tag-1.0 errors: " >&5
17914 cat conftest.err
>&5
17917 ac_save_CPPFLAGS
=$CPPFLAGS
17918 CPPFLAGS
="$CPPFLAGS $GSTREAMER_CFLAGS"
17919 ac_fn_c_check_header_compile
"$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
17920 if test "x$ac_cv_header_gst_gst_h" = xyes
17922 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
17923 printf %s
"checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
17924 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17925 /* end confdefs.h. */
17926 #include <gst/gst.h>
17930 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
17935 if ac_fn_c_try_compile
"$LINENO"
17937 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17938 printf "%s\n" "yes" >&6; }
17939 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
17940 printf %s
"checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
17941 if test ${ac_cv_lib_gstreamer_1_0_gst_pad_new+y}
17943 printf %s
"(cached) " >&6
17945 ac_check_lib_save_LIBS
=$LIBS
17946 LIBS
="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
17947 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17948 /* end confdefs.h. */
17950 /* Override any GCC internal prototype to avoid an error.
17951 Use char because int might match the return type of a GCC
17952 builtin and then its argument prototype would still apply. */
17953 char gst_pad_new ();
17957 return gst_pad_new ();
17962 if ac_fn_c_try_link
"$LINENO"
17964 ac_cv_lib_gstreamer_1_0_gst_pad_new
=yes
17966 ac_cv_lib_gstreamer_1_0_gst_pad_new
=no
17968 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17969 conftest
$ac_exeext conftest.
$ac_ext
17970 LIBS
=$ac_check_lib_save_LIBS
17972 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
17973 printf "%s\n" "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
17974 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes
17980 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
17981 printf "%s\n" "no" >&6; }
17982 ac_glib2_broken
=yes
17983 enable_winegstreamer
=${enable_winegstreamer:-no}
17984 as_fn_append wine_notices
"|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
17986 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
17989 CPPFLAGS
=$ac_save_CPPFLAGS
17992 if test "x$ac_glib2_broken" != xyes
-a "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" != xyes
17994 case "x$with_gstreamer" in
17995 x
) as_fn_append wine_notices
"|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
17997 *) as_fn_error $?
"gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
17998 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
18000 enable_winegstreamer
=${enable_winegstreamer:-no}
18005 if test "x$with_alsa" != "xno"
18007 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
18008 printf %s
"checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
18009 if test ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+y}
18011 printf %s
"(cached) " >&6
18013 ac_check_lib_save_LIBS
=$LIBS
18014 LIBS
="-lasound $LIBS"
18015 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18016 /* end confdefs.h. */
18018 /* Override any GCC internal prototype to avoid an error.
18019 Use char because int might match the return type of a GCC
18020 builtin and then its argument prototype would still apply. */
18021 char snd_pcm_hw_params_get_access_mask ();
18025 return snd_pcm_hw_params_get_access_mask ();
18030 if ac_fn_c_try_link
"$LINENO"
18032 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask
=yes
18034 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask
=no
18036 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18037 conftest
$ac_exeext conftest.
$ac_ext
18038 LIBS
=$ac_check_lib_save_LIBS
18040 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
18041 printf "%s\n" "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
18042 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes
18044 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18045 /* end confdefs.h. */
18046 #include <alsa/asoundlib.h>
18050 snd_pcm_hw_params_get_access_mask(NULL, NULL)
18055 if ac_fn_c_try_compile
"$LINENO"
18057 ALSA_LIBS
="-lasound"
18059 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
18063 test -n "$ALSA_LIBS" || enable_winealsa_drv
=${enable_winealsa_drv:-no}
18065 if test "x$with_oss" != xno
18067 ac_save_CPPFLAGS
="$CPPFLAGS"
18068 if test -f /etc
/oss.conf
18072 ac_oss_incl
="-I${OSSLIBDIR:-/usr/lib/oss}/include"
18073 CPPFLAGS
="$CPPFLAGS $ac_oss_incl"
18074 ac_fn_c_check_header_compile
"$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
18075 if test "x$ac_cv_header_sys_soundcard_h" = xyes
18077 ac_fn_c_check_member
"$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
18079 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes
18082 printf "%s\n" "#define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1" >>confdefs.h
18084 OSS4_CFLAGS
="$ac_oss_incl"
18086 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
18087 printf %s
"checking for _oss_ioctl in -lossaudio... " >&6; }
18088 if test ${ac_cv_lib_ossaudio__oss_ioctl+y}
18090 printf %s
"(cached) " >&6
18092 ac_check_lib_save_LIBS
=$LIBS
18093 LIBS
="-lossaudio $LIBS"
18094 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18095 /* end confdefs.h. */
18097 /* Override any GCC internal prototype to avoid an error.
18098 Use char because int might match the return type of a GCC
18099 builtin and then its argument prototype would still apply. */
18100 char _oss_ioctl ();
18104 return _oss_ioctl ();
18109 if ac_fn_c_try_link
"$LINENO"
18111 ac_cv_lib_ossaudio__oss_ioctl
=yes
18113 ac_cv_lib_ossaudio__oss_ioctl
=no
18115 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18116 conftest
$ac_exeext conftest.
$ac_ext
18117 LIBS
=$ac_check_lib_save_LIBS
18119 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
18120 printf "%s\n" "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
18121 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes
18123 OSS4_LIBS
="-lossaudio"
18131 CPPFLAGS
="$ac_save_CPPFLAGS"
18133 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
18135 case "x$with_oss" in
18136 x
) as_fn_append wine_notices
"|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
18138 *) as_fn_error $?
"OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
18139 This is an error since --with-oss was requested." "$LINENO" 5 ;;
18141 enable_wineoss_drv
=${enable_wineoss_drv:-no}
18144 if test "x$with_udev" != "xno"
18147 if ${UDEV_CFLAGS:+false} :
18149 if test ${PKG_CONFIG+y}
18151 UDEV_CFLAGS
=`$PKG_CONFIG --cflags libudev 2>conftest.err`
18155 if ${UDEV_LIBS:+false} :
18157 if test ${PKG_CONFIG+y}
18159 UDEV_LIBS
=`$PKG_CONFIG --libs libudev 2>/dev/null`
18163 UDEV_LIBS
=${UDEV_LIBS:-"-ludev"}
18164 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
18165 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
18166 if test -s conftest.err
; then
18167 printf %s
"$as_me:${as_lineno-$LINENO}: libudev errors: " >&5
18168 cat conftest.err
>&5
18171 ac_save_CPPFLAGS
=$CPPFLAGS
18172 CPPFLAGS
="$CPPFLAGS $UDEV_CFLAGS"
18173 for ac_header
in libudev.h
18175 ac_fn_c_check_header_compile
"$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
18176 if test "x$ac_cv_header_libudev_h" = xyes
18178 printf "%s\n" "#define HAVE_LIBUDEV_H 1" >>confdefs.h
18179 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
18180 printf %s
"checking for udev_new in -ludev... " >&6; }
18181 if test ${ac_cv_lib_udev_udev_new+y}
18183 printf %s
"(cached) " >&6
18185 ac_check_lib_save_LIBS
=$LIBS
18186 LIBS
="-ludev $UDEV_LIBS $LIBS"
18187 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18188 /* end confdefs.h. */
18190 /* Override any GCC internal prototype to avoid an error.
18191 Use char because int might match the return type of a GCC
18192 builtin and then its argument prototype would still apply. */
18197 return udev_new ();
18202 if ac_fn_c_try_link
"$LINENO"
18204 ac_cv_lib_udev_udev_new
=yes
18206 ac_cv_lib_udev_udev_new
=no
18208 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18209 conftest
$ac_exeext conftest.
$ac_ext
18210 LIBS
=$ac_check_lib_save_LIBS
18212 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
18213 printf "%s\n" "$ac_cv_lib_udev_udev_new" >&6; }
18214 if test "x$ac_cv_lib_udev_udev_new" = xyes
18217 printf "%s\n" "#define HAVE_UDEV 1" >>confdefs.h
18228 CPPFLAGS
=$ac_save_CPPFLAGS
18231 if test "x$UDEV_LIBS" = "x"
18233 case "x$with_udev" in
18234 x
) as_fn_append wine_notices
"|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
18236 *) as_fn_error $?
"libudev ${notice_platform}development files not found, plug and play won't be supported.
18237 This is an error since --with-udev was requested." "$LINENO" 5 ;;
18242 if test $HOST_ARCH = x86_64
18244 if test "x$with_unwind" != xno
18247 if ${UNWIND_CFLAGS:+false} :
18249 if test ${PKG_CONFIG+y}
18251 UNWIND_CFLAGS
=`$PKG_CONFIG --cflags libunwind 2>conftest.err`
18255 if ${UNWIND_LIBS:+false} :
18257 if test ${PKG_CONFIG+y}
18259 UNWIND_LIBS
=`$PKG_CONFIG --libs libunwind 2>/dev/null`
18263 UNWIND_LIBS
=${UNWIND_LIBS:-"-lunwind"}
18264 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libunwind cflags: $UNWIND_CFLAGS" >&5
18265 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libunwind libs: $UNWIND_LIBS" >&5
18266 if test -s conftest.err
; then
18267 printf %s
"$as_me:${as_lineno-$LINENO}: libunwind errors: " >&5
18268 cat conftest.err
>&5
18271 ac_save_CPPFLAGS
=$CPPFLAGS
18272 CPPFLAGS
="$CPPFLAGS $UNWIND_CFLAGS"
18273 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for unw_step" >&5
18274 printf %s
"checking for unw_step... " >&6; }
18275 if test ${wine_cv_have_unw_step+y}
18277 printf %s
"(cached) " >&6
18279 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18280 /* end confdefs.h. */
18281 #define UNW_LOCAL_ONLY
18282 #include <libunwind.h>
18286 unw_cursor_t cursor; unw_step( &cursor );
18291 if ac_fn_c_try_link
"$LINENO"
18293 wine_cv_have_unw_step
="yes"
18295 wine_cv_have_unw_step
="no"
18297 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18298 conftest
$ac_exeext conftest.
$ac_ext
18300 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_unw_step" >&5
18301 printf "%s\n" "$wine_cv_have_unw_step" >&6; }
18302 if test "$wine_cv_have_unw_step" = no
-a -n "$UNWIND_LIBS"
18305 UNWIND_LIBS
="-static-libgcc $UNWIND_LIBS"
18306 LIBS
="$UNWIND_LIBS $LIBS"
18307 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for unw_step in libunwind" >&5
18308 printf %s
"checking for unw_step in libunwind... " >&6; }
18309 if test ${wine_cv_have_libunwind_unw_step+y}
18311 printf %s
"(cached) " >&6
18313 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18314 /* end confdefs.h. */
18315 #define UNW_LOCAL_ONLY
18316 #include <libunwind.h>
18320 unw_cursor_t cursor; unw_step( &cursor );
18325 if ac_fn_c_try_link
"$LINENO"
18327 wine_cv_have_libunwind_unw_step
="yes"
18329 wine_cv_have_libunwind_unw_step
="no"
18331 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18332 conftest
$ac_exeext conftest.
$ac_ext
18334 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_libunwind_unw_step" >&5
18335 printf "%s\n" "$wine_cv_have_libunwind_unw_step" >&6; }
18338 test "$wine_cv_have_libunwind_unw_step" = yes || UNWIND_LIBS
=""
18339 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" != xnono
18342 printf "%s\n" "#define HAVE_LIBUNWIND 1" >>confdefs.h
18345 CPPFLAGS
=$ac_save_CPPFLAGS
18350 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" = xnono
18352 case "x$with_unwind" in
18353 x
) as_fn_append wine_notices
"|libunwind ${notice_platform}development files not found, stack unwinding won't work." ;;
18355 *) as_fn_error $?
"libunwind ${notice_platform}development files not found, stack unwinding won't work.
18356 This is an error since --with-unwind was requested." "$LINENO" 5 ;;
18363 if test "x$with_sdl" != "xno"
18366 if ${SDL2_CFLAGS:+false} :
18368 if test ${PKG_CONFIG+y}
18370 SDL2_CFLAGS
=`$PKG_CONFIG --cflags sdl2 2>conftest.err`
18374 if ${SDL2_LIBS:+false} :
18376 if test ${PKG_CONFIG+y}
18378 SDL2_LIBS
=`$PKG_CONFIG --libs sdl2 2>/dev/null`
18382 SDL2_LIBS
=${SDL2_LIBS:-"-lSDL2"}
18383 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sdl2 cflags: $SDL2_CFLAGS" >&5
18384 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sdl2 libs: $SDL2_LIBS" >&5
18385 if test -s conftest.err
; then
18386 printf %s
"$as_me:${as_lineno-$LINENO}: sdl2 errors: " >&5
18387 cat conftest.err
>&5
18390 ac_save_CPPFLAGS
=$CPPFLAGS
18391 CPPFLAGS
="$CPPFLAGS $SDL2_CFLAGS"
18392 for ac_header
in SDL.h
18394 ac_fn_c_check_header_compile
"$LINENO" "SDL.h" "ac_cv_header_SDL_h" "$ac_includes_default"
18395 if test "x$ac_cv_header_SDL_h" = xyes
18397 printf "%s\n" "#define HAVE_SDL_H 1" >>confdefs.h
18398 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lSDL2" >&5
18399 printf %s
"checking for -lSDL2... " >&6; }
18400 if test ${ac_cv_lib_soname_SDL2+y}
18402 printf %s
"(cached) " >&6
18404 ac_check_soname_save_LIBS
=$LIBS
18405 LIBS
="-lSDL2 $SDL2_LIBS $LIBS"
18406 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18407 /* end confdefs.h. */
18409 /* Override any GCC internal prototype to avoid an error.
18410 Use char because int might match the return type of a GCC
18411 builtin and then its argument prototype would still apply. */
18416 return SDL_Init ();
18421 if ac_fn_c_try_link
"$LINENO"
18424 dll
) ac_cv_lib_soname_SDL2
=`$ac_cv_path_LDD conftest.exe | grep "SDL2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18425 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'` ;;
18426 *) 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'`
18427 if ${ac_cv_lib_soname_SDL2:+false} :
18429 ac_cv_lib_soname_SDL2
=`$LDD conftest$ac_exeext | grep "libSDL2-2.0*\\.$LIBEXT" | sed -e "s/^.*\(libSDL2-2.0*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18433 ac_cv_lib_soname_SDL2
=
18435 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18436 conftest
$ac_exeext conftest.
$ac_ext
18437 LIBS
=$ac_check_soname_save_LIBS
18439 if ${ac_cv_lib_soname_SDL2:+false} :
18441 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18442 printf "%s\n" "not found" >&6; }
18445 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_SDL2" >&5
18446 printf "%s\n" "$ac_cv_lib_soname_SDL2" >&6; }
18448 printf "%s\n" "#define SONAME_LIBSDL2 \"$ac_cv_lib_soname_SDL2\"" >>confdefs.h
18455 CPPFLAGS
=$ac_save_CPPFLAGS
18458 if test "x$ac_cv_lib_soname_SDL2" = "x"
18460 case "x$with_sdl" in
18461 x
) as_fn_append wine_notices
"|libSDL2 ${notice_platform}development files not found, SDL2 won't be supported." ;;
18463 *) as_fn_error $?
"libSDL2 ${notice_platform}development files not found, SDL2 won't be supported.
18464 This is an error since --with-sdl was requested." "$LINENO" 5 ;;
18469 if test "x$with_capi" != "xno"
18472 if ${CAPI20_CFLAGS:+false} :
18474 if test ${PKG_CONFIG+y}
18476 CAPI20_CFLAGS
=`$PKG_CONFIG --cflags capi20 2>conftest.err`
18480 if ${CAPI20_LIBS:+false} :
18482 if test ${PKG_CONFIG+y}
18484 CAPI20_LIBS
=`$PKG_CONFIG --libs capi20 2>/dev/null`
18489 printf "%s\n" "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
18490 printf "%s\n" "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
18491 if test -s conftest.err
; then
18492 printf %s
"$as_me:${as_lineno-$LINENO}: capi20 errors: " >&5
18493 cat conftest.err
>&5
18496 ac_save_CPPFLAGS
=$CPPFLAGS
18497 CPPFLAGS
="$CPPFLAGS $CAPI20_CFLAGS"
18498 ac_fn_c_check_header_compile
"$LINENO" "capi20.h" "ac_cv_header_capi20_h" "#define __user
18500 if test "x$ac_cv_header_capi20_h" = xyes
18502 printf "%s\n" "#define HAVE_CAPI20_H 1" >>confdefs.h
18505 ac_fn_c_check_header_compile
"$LINENO" "linux/capi.h" "ac_cv_header_linux_capi_h" "#define __user
18507 if test "x$ac_cv_header_linux_capi_h" = xyes
18509 printf "%s\n" "#define HAVE_LINUX_CAPI_H 1" >>confdefs.h
18513 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
18515 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for capi20_register in -lcapi20" >&5
18516 printf %s
"checking for capi20_register in -lcapi20... " >&6; }
18517 if test ${ac_cv_lib_capi20_capi20_register+y}
18519 printf %s
"(cached) " >&6
18521 ac_check_lib_save_LIBS
=$LIBS
18522 LIBS
="-lcapi20 $CAPI20_LIBS $LIBS"
18523 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18524 /* end confdefs.h. */
18526 /* Override any GCC internal prototype to avoid an error.
18527 Use char because int might match the return type of a GCC
18528 builtin and then its argument prototype would still apply. */
18529 char capi20_register ();
18533 return capi20_register ();
18538 if ac_fn_c_try_link
"$LINENO"
18540 ac_cv_lib_capi20_capi20_register
=yes
18542 ac_cv_lib_capi20_capi20_register
=no
18544 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18545 conftest
$ac_exeext conftest.
$ac_ext
18546 LIBS
=$ac_check_lib_save_LIBS
18548 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_capi20_capi20_register" >&5
18549 printf "%s\n" "$ac_cv_lib_capi20_capi20_register" >&6; }
18550 if test "x$ac_cv_lib_capi20_capi20_register" = xyes
18558 CPPFLAGS
=$ac_save_CPPFLAGS
18561 if test "x$ac_cv_lib_capi20_capi20_register" != xyes
18563 case "x$with_capi" in
18564 x
) as_fn_append wine_notices
"|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
18566 *) as_fn_error $?
"libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
18567 This is an error since --with-capi was requested." "$LINENO" 5 ;;
18569 enable_capi2032
=${enable_capi2032:-no}
18572 if test "x$with_cups" != "xno"
18575 if ${CUPS_CFLAGS:+false} :
18577 if test ${PKG_CONFIG+y}
18579 CUPS_CFLAGS
=`$PKG_CONFIG --cflags cups 2>conftest.err`
18582 test "$cross_compiling" = yes || CUPS_CFLAGS
=${CUPS_CFLAGS:-`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`}
18583 if ${CUPS_LIBS:+false} :
18585 if test ${PKG_CONFIG+y}
18587 CUPS_LIBS
=`$PKG_CONFIG --libs cups 2>/dev/null`
18590 test "$cross_compiling" = yes || CUPS_LIBS
=${CUPS_LIBS:-`${CUPS_CONFIG:-cups-config} --libs 2>/dev/null`}
18591 CUPS_LIBS
=${CUPS_LIBS:-"-lcups"}
18592 printf "%s\n" "$as_me:${as_lineno-$LINENO}: cups cflags: $CUPS_CFLAGS" >&5
18593 printf "%s\n" "$as_me:${as_lineno-$LINENO}: cups libs: $CUPS_LIBS" >&5
18594 if test -s conftest.err
; then
18595 printf %s
"$as_me:${as_lineno-$LINENO}: cups errors: " >&5
18596 cat conftest.err
>&5
18599 ac_save_CPPFLAGS
=$CPPFLAGS
18600 CPPFLAGS
="$CPPFLAGS $CUPS_CFLAGS"
18601 ac_fn_c_check_header_compile
"$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
18602 if test "x$ac_cv_header_cups_cups_h" = xyes
18604 printf "%s\n" "#define HAVE_CUPS_CUPS_H 1" >>confdefs.h
18607 ac_fn_c_check_header_compile
"$LINENO" "cups/ppd.h" "ac_cv_header_cups_ppd_h" "$ac_includes_default"
18608 if test "x$ac_cv_header_cups_ppd_h" = xyes
18610 printf "%s\n" "#define HAVE_CUPS_PPD_H 1" >>confdefs.h
18614 if test "$ac_cv_header_cups_cups_h" = "yes"
18616 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
18617 printf %s
"checking for -lcups... " >&6; }
18618 if test ${ac_cv_lib_soname_cups+y}
18620 printf %s
"(cached) " >&6
18622 ac_check_soname_save_LIBS
=$LIBS
18623 LIBS
="-lcups $CUPS_LIBS $LIBS"
18624 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18625 /* end confdefs.h. */
18627 /* Override any GCC internal prototype to avoid an error.
18628 Use char because int might match the return type of a GCC
18629 builtin and then its argument prototype would still apply. */
18630 char cupsGetDefault ();
18634 return cupsGetDefault ();
18639 if ac_fn_c_try_link
"$LINENO"
18642 dll
) ac_cv_lib_soname_cups
=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18643 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'` ;;
18644 *) ac_cv_lib_soname_cups
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18645 if ${ac_cv_lib_soname_cups:+false} :
18647 ac_cv_lib_soname_cups
=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18651 ac_cv_lib_soname_cups
=
18653 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18654 conftest
$ac_exeext conftest.
$ac_ext
18655 LIBS
=$ac_check_soname_save_LIBS
18657 if ${ac_cv_lib_soname_cups:+false} :
18659 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18660 printf "%s\n" "not found" >&6; }
18663 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
18664 printf "%s\n" "$ac_cv_lib_soname_cups" >&6; }
18666 printf "%s\n" "#define SONAME_LIBCUPS \"$ac_cv_lib_soname_cups\"" >>confdefs.h
18674 CPPFLAGS
=$ac_save_CPPFLAGS
18677 if test "x$ac_cv_lib_soname_cups" = "x"
18679 case "x$with_cups" in
18680 x
) as_fn_append wine_notices
"|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
18682 *) as_fn_error $?
"libcups ${notice_platform}development files not found, CUPS won't be supported.
18683 This is an error since --with-cups was requested." "$LINENO" 5 ;;
18688 if test "x$with_fontconfig" != "xno"
18691 if ${FONTCONFIG_CFLAGS:+false} :
18693 if test ${PKG_CONFIG+y}
18695 FONTCONFIG_CFLAGS
=`$PKG_CONFIG --cflags fontconfig 2>conftest.err`
18698 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS
=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
18699 if ${FONTCONFIG_LIBS:+false} :
18701 if test ${PKG_CONFIG+y}
18703 FONTCONFIG_LIBS
=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
18706 test "$cross_compiling" = yes || FONTCONFIG_LIBS
=${FONTCONFIG_LIBS:-$X_LIBS}
18708 printf "%s\n" "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
18709 printf "%s\n" "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
18710 if test -s conftest.err
; then
18711 printf %s
"$as_me:${as_lineno-$LINENO}: fontconfig errors: " >&5
18712 cat conftest.err
>&5
18715 ac_save_CPPFLAGS
=$CPPFLAGS
18716 CPPFLAGS
="$CPPFLAGS $FONTCONFIG_CFLAGS"
18717 ac_fn_c_check_header_compile
"$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
18718 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes
18720 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
18721 printf %s
"checking for -lfontconfig... " >&6; }
18722 if test ${ac_cv_lib_soname_fontconfig+y}
18724 printf %s
"(cached) " >&6
18726 ac_check_soname_save_LIBS
=$LIBS
18727 LIBS
="-lfontconfig $FONTCONFIG_LIBS $LIBS"
18728 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18729 /* end confdefs.h. */
18731 /* Override any GCC internal prototype to avoid an error.
18732 Use char because int might match the return type of a GCC
18733 builtin and then its argument prototype would still apply. */
18743 if ac_fn_c_try_link
"$LINENO"
18746 dll
) ac_cv_lib_soname_fontconfig
=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18747 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'` ;;
18748 *) ac_cv_lib_soname_fontconfig
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18749 if ${ac_cv_lib_soname_fontconfig:+false} :
18751 ac_cv_lib_soname_fontconfig
=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18755 ac_cv_lib_soname_fontconfig
=
18757 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18758 conftest
$ac_exeext conftest.
$ac_ext
18759 LIBS
=$ac_check_soname_save_LIBS
18761 if ${ac_cv_lib_soname_fontconfig:+false} :
18763 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18764 printf "%s\n" "not found" >&6; }
18765 FONTCONFIG_CFLAGS
=""
18767 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
18768 printf "%s\n" "$ac_cv_lib_soname_fontconfig" >&6; }
18770 printf "%s\n" "#define SONAME_LIBFONTCONFIG \"$ac_cv_lib_soname_fontconfig\"" >>confdefs.h
18775 FONTCONFIG_CFLAGS
=""
18778 CPPFLAGS
=$ac_save_CPPFLAGS
18781 if test "x$ac_cv_lib_soname_fontconfig" = "x"
18783 case "x$with_fontconfig" in
18784 x
) as_fn_append wine_notices
"|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
18786 *) as_fn_error $?
"fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
18787 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
18792 if test "x$with_krb5" != "xno"
18795 if ${KRB5_CFLAGS:+false} :
18797 if test ${PKG_CONFIG+y}
18799 KRB5_CFLAGS
=`$PKG_CONFIG --cflags krb5 2>conftest.err`
18802 test "$cross_compiling" = yes || KRB5_CFLAGS
=${KRB5_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags 2>/dev/null`}
18803 if ${KRB5_LIBS:+false} :
18805 if test ${PKG_CONFIG+y}
18807 KRB5_LIBS
=`$PKG_CONFIG --libs krb5 2>/dev/null`
18810 test "$cross_compiling" = yes || KRB5_LIBS
=${KRB5_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs 2>/dev/null`}
18812 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5 cflags: $KRB5_CFLAGS" >&5
18813 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5 libs: $KRB5_LIBS" >&5
18814 if test -s conftest.err
; then
18815 printf %s
"$as_me:${as_lineno-$LINENO}: krb5 errors: " >&5
18816 cat conftest.err
>&5
18819 ac_save_CPPFLAGS
=$CPPFLAGS
18820 CPPFLAGS
="$CPPFLAGS $KRB5_CFLAGS"
18821 ac_fn_c_check_header_compile
"$LINENO" "krb5/krb5.h" "ac_cv_header_krb5_krb5_h" "$ac_includes_default"
18822 if test "x$ac_cv_header_krb5_krb5_h" = xyes
18824 printf "%s\n" "#define HAVE_KRB5_KRB5_H 1" >>confdefs.h
18828 if test "$ac_cv_header_krb5_krb5_h" = "yes"
18830 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lkrb5" >&5
18831 printf %s
"checking for -lkrb5... " >&6; }
18832 if test ${ac_cv_lib_soname_krb5+y}
18834 printf %s
"(cached) " >&6
18836 ac_check_soname_save_LIBS
=$LIBS
18837 LIBS
="-lkrb5 $KRB5_LIBS $LIBS"
18838 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18839 /* end confdefs.h. */
18841 /* Override any GCC internal prototype to avoid an error.
18842 Use char because int might match the return type of a GCC
18843 builtin and then its argument prototype would still apply. */
18844 char krb5_is_config_principal ();
18848 return krb5_is_config_principal ();
18853 if ac_fn_c_try_link
"$LINENO"
18856 dll
) ac_cv_lib_soname_krb5
=`$ac_cv_path_LDD conftest.exe | grep "krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18857 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'` ;;
18858 *) ac_cv_lib_soname_krb5
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libkrb5\\.$LIBEXT" | sed -e "s/^.*\\[\\(libkrb5\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18859 if ${ac_cv_lib_soname_krb5:+false} :
18861 ac_cv_lib_soname_krb5
=`$LDD conftest$ac_exeext | grep "libkrb5\\.$LIBEXT" | sed -e "s/^.*\(libkrb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18865 ac_cv_lib_soname_krb5
=
18867 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18868 conftest
$ac_exeext conftest.
$ac_ext
18869 LIBS
=$ac_check_soname_save_LIBS
18871 if ${ac_cv_lib_soname_krb5:+false} :
18873 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18874 printf "%s\n" "not found" >&6; }
18877 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_krb5" >&5
18878 printf "%s\n" "$ac_cv_lib_soname_krb5" >&6; }
18880 printf "%s\n" "#define SONAME_LIBKRB5 \"$ac_cv_lib_soname_krb5\"" >>confdefs.h
18887 CPPFLAGS
=$ac_save_CPPFLAGS
18890 if test "x$ac_cv_lib_soname_krb5" = "x"
18892 case "x$with_krb5" in
18893 x
) as_fn_append wine_notices
"|libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported." ;;
18895 *) as_fn_error $?
"libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported.
18896 This is an error since --with-krb5 was requested." "$LINENO" 5 ;;
18900 test "x$ac_cv_lib_soname_krb5" != "x" || with_gssapi
=${with_gssapi:-no}
18902 if test "x$with_gssapi" != "xno"
18905 if ${GSSAPI_CFLAGS:+false} :
18907 if test ${PKG_CONFIG+y}
18909 GSSAPI_CFLAGS
=`$PKG_CONFIG --cflags krb5-gssapi 2>conftest.err`
18912 test "$cross_compiling" = yes || GSSAPI_CFLAGS
=${GSSAPI_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags gssapi 2>/dev/null`}
18913 if ${GSSAPI_LIBS:+false} :
18915 if test ${PKG_CONFIG+y}
18917 GSSAPI_LIBS
=`$PKG_CONFIG --libs krb5-gssapi 2>/dev/null`
18920 test "$cross_compiling" = yes || GSSAPI_LIBS
=${GSSAPI_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs gssapi 2>/dev/null`}
18922 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5-gssapi cflags: $GSSAPI_CFLAGS" >&5
18923 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5-gssapi libs: $GSSAPI_LIBS" >&5
18924 if test -s conftest.err
; then
18925 printf %s
"$as_me:${as_lineno-$LINENO}: krb5-gssapi errors: " >&5
18926 cat conftest.err
>&5
18929 ac_save_CPPFLAGS
=$CPPFLAGS
18930 CPPFLAGS
="$CPPFLAGS $GSSAPI_CFLAGS"
18931 ac_fn_c_check_header_compile
"$LINENO" "gssapi/gssapi.h" "ac_cv_header_gssapi_gssapi_h" "$ac_includes_default"
18932 if test "x$ac_cv_header_gssapi_gssapi_h" = xyes
18934 printf "%s\n" "#define HAVE_GSSAPI_GSSAPI_H 1" >>confdefs.h
18937 ac_fn_c_check_header_compile
"$LINENO" "gssapi/gssapi_ext.h" "ac_cv_header_gssapi_gssapi_ext_h" "$ac_includes_default"
18938 if test "x$ac_cv_header_gssapi_gssapi_ext_h" = xyes
18940 printf "%s\n" "#define HAVE_GSSAPI_GSSAPI_EXT_H 1" >>confdefs.h
18944 if test "$ac_cv_header_gssapi_gssapi_h" = "yes" -a "$ac_cv_header_gssapi_gssapi_ext_h" = "yes"
18946 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lgssapi_krb5" >&5
18947 printf %s
"checking for -lgssapi_krb5... " >&6; }
18948 if test ${ac_cv_lib_soname_gssapi_krb5+y}
18950 printf %s
"(cached) " >&6
18952 ac_check_soname_save_LIBS
=$LIBS
18953 LIBS
="-lgssapi_krb5 $GSSAPI_LIBS $LIBS"
18954 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18955 /* end confdefs.h. */
18957 /* Override any GCC internal prototype to avoid an error.
18958 Use char because int might match the return type of a GCC
18959 builtin and then its argument prototype would still apply. */
18960 char gss_init_sec_context ();
18964 return gss_init_sec_context ();
18969 if ac_fn_c_try_link
"$LINENO"
18972 dll
) ac_cv_lib_soname_gssapi_krb5
=`$ac_cv_path_LDD conftest.exe | grep "gssapi_krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18973 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'` ;;
18974 *) 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'`
18975 if ${ac_cv_lib_soname_gssapi_krb5:+false} :
18977 ac_cv_lib_soname_gssapi_krb5
=`$LDD conftest$ac_exeext | grep "libgssapi_krb5\\.$LIBEXT" | sed -e "s/^.*\(libgssapi_krb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18981 ac_cv_lib_soname_gssapi_krb5
=
18983 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18984 conftest
$ac_exeext conftest.
$ac_ext
18985 LIBS
=$ac_check_soname_save_LIBS
18987 if ${ac_cv_lib_soname_gssapi_krb5:+false} :
18989 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18990 printf "%s\n" "not found" >&6; }
18993 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gssapi_krb5" >&5
18994 printf "%s\n" "$ac_cv_lib_soname_gssapi_krb5" >&6; }
18996 printf "%s\n" "#define SONAME_LIBGSSAPI_KRB5 \"$ac_cv_lib_soname_gssapi_krb5\"" >>confdefs.h
19003 CPPFLAGS
=$ac_save_CPPFLAGS
19006 if test "x$ac_cv_lib_soname_gssapi_krb5" = "x"
19008 case "x$with_gssapi" in
19009 x
) as_fn_append wine_notices
"|libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support." ;;
19011 *) as_fn_error $?
"libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support.
19012 This is an error since --with-gssapi was requested." "$LINENO" 5 ;;
19017 if test "$ac_cv_header_libprocstat_h" = "yes"
19019 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
19020 printf %s
"checking for procstat_open_sysctl in -lprocstat... " >&6; }
19021 if test ${ac_cv_lib_procstat_procstat_open_sysctl+y}
19023 printf %s
"(cached) " >&6
19025 ac_check_lib_save_LIBS
=$LIBS
19026 LIBS
="-lprocstat $LIBS"
19027 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19028 /* end confdefs.h. */
19030 /* Override any GCC internal prototype to avoid an error.
19031 Use char because int might match the return type of a GCC
19032 builtin and then its argument prototype would still apply. */
19033 char procstat_open_sysctl ();
19037 return procstat_open_sysctl ();
19042 if ac_fn_c_try_link
"$LINENO"
19044 ac_cv_lib_procstat_procstat_open_sysctl
=yes
19046 ac_cv_lib_procstat_procstat_open_sysctl
=no
19048 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19049 conftest
$ac_exeext conftest.
$ac_ext
19050 LIBS
=$ac_check_lib_save_LIBS
19052 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
19053 printf "%s\n" "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
19054 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes
19057 printf "%s\n" "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
19059 PROCSTAT_LIBS
="-lprocstat"
19065 if test "x$with_netapi" != "xno"
19068 if ${NETAPI_CFLAGS:+false} :
19070 if test ${PKG_CONFIG+y}
19072 NETAPI_CFLAGS
=`$PKG_CONFIG --cflags netapi 2>conftest.err`
19076 if ${NETAPI_LIBS:+false} :
19078 if test ${PKG_CONFIG+y}
19080 NETAPI_LIBS
=`$PKG_CONFIG --libs netapi 2>/dev/null`
19085 printf "%s\n" "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
19086 printf "%s\n" "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
19087 if test -s conftest.err
; then
19088 printf %s
"$as_me:${as_lineno-$LINENO}: netapi errors: " >&5
19089 cat conftest.err
>&5
19092 ac_save_CPPFLAGS
=$CPPFLAGS
19093 CPPFLAGS
="$CPPFLAGS $NETAPI_CFLAGS"
19094 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
19095 printf %s
"checking for -lnetapi... " >&6; }
19096 if test ${ac_cv_lib_soname_netapi+y}
19098 printf %s
"(cached) " >&6
19100 ac_check_soname_save_LIBS
=$LIBS
19101 LIBS
="-lnetapi $NETAPI_LIBS $LIBS"
19102 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19103 /* end confdefs.h. */
19105 /* Override any GCC internal prototype to avoid an error.
19106 Use char because int might match the return type of a GCC
19107 builtin and then its argument prototype would still apply. */
19108 char libnetapi_init ();
19112 return libnetapi_init ();
19117 if ac_fn_c_try_link
"$LINENO"
19120 dll
) ac_cv_lib_soname_netapi
=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
19121 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'` ;;
19122 *) ac_cv_lib_soname_netapi
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
19123 if ${ac_cv_lib_soname_netapi:+false} :
19125 ac_cv_lib_soname_netapi
=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
19129 ac_cv_lib_soname_netapi
=
19131 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19132 conftest
$ac_exeext conftest.
$ac_ext
19133 LIBS
=$ac_check_soname_save_LIBS
19135 if ${ac_cv_lib_soname_netapi:+false} :
19137 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
19138 printf "%s\n" "not found" >&6; }
19139 printf "%s\n" "#define SONAME_LIBNETAPI \"libnetapi.$LIBEXT\"" >>confdefs.h
19142 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
19143 printf "%s\n" "$ac_cv_lib_soname_netapi" >&6; }
19145 printf "%s\n" "#define SONAME_LIBNETAPI \"$ac_cv_lib_soname_netapi\"" >>confdefs.h
19149 CPPFLAGS
=$ac_save_CPPFLAGS
19152 if test "x$ac_cv_lib_soname_netapi" = "x"
19154 case "x$with_netapi" in
19155 x
) as_fn_append wine_notices
"|libnetapi not found, Samba NetAPI won't be supported." ;;
19157 *) as_fn_error $?
"libnetapi not found, Samba NetAPI won't be supported.
19158 This is an error since --with-netapi was requested." "$LINENO" 5 ;;
19160 enable_netapi
=${enable_netapi:-no}
19164 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono
-a \
19165 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
19167 as_fn_append wine_warnings
"|No sound system was found. Windows applications will be silent."
19170 if test "x$with_vulkan" != "xno"
19172 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lvulkan" >&5
19173 printf %s
"checking for -lvulkan... " >&6; }
19174 if test ${ac_cv_lib_soname_vulkan+y}
19176 printf %s
"(cached) " >&6
19178 ac_check_soname_save_LIBS
=$LIBS
19179 LIBS
="-lvulkan $LIBS"
19180 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19181 /* end confdefs.h. */
19183 /* Override any GCC internal prototype to avoid an error.
19184 Use char because int might match the return type of a GCC
19185 builtin and then its argument prototype would still apply. */
19186 char vkGetInstanceProcAddr ();
19190 return vkGetInstanceProcAddr ();
19195 if ac_fn_c_try_link
"$LINENO"
19198 dll
) ac_cv_lib_soname_vulkan
=`$ac_cv_path_LDD conftest.exe | grep "vulkan" | sed -e "s/dll.*/dll/"';2,$d'` ;;
19199 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'` ;;
19200 *) ac_cv_lib_soname_vulkan
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvulkan\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvulkan\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
19201 if ${ac_cv_lib_soname_vulkan:+false} :
19203 ac_cv_lib_soname_vulkan
=`$LDD conftest$ac_exeext | grep "libvulkan\\.$LIBEXT" | sed -e "s/^.*\(libvulkan\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
19207 ac_cv_lib_soname_vulkan
=
19209 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19210 conftest
$ac_exeext conftest.
$ac_ext
19211 LIBS
=$ac_check_soname_save_LIBS
19213 if ${ac_cv_lib_soname_vulkan:+false} :
19215 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
19216 printf "%s\n" "not found" >&6; }
19219 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vulkan" >&5
19220 printf "%s\n" "$ac_cv_lib_soname_vulkan" >&6; }
19222 printf "%s\n" "#define SONAME_LIBVULKAN \"$ac_cv_lib_soname_vulkan\"" >>confdefs.h
19226 if test "x$ac_cv_lib_soname_vulkan" = "x"
19228 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lMoltenVK" >&5
19229 printf %s
"checking for -lMoltenVK... " >&6; }
19230 if test ${ac_cv_lib_soname_MoltenVK+y}
19232 printf %s
"(cached) " >&6
19234 ac_check_soname_save_LIBS
=$LIBS
19235 LIBS
="-lMoltenVK $LIBS"
19236 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19237 /* end confdefs.h. */
19239 /* Override any GCC internal prototype to avoid an error.
19240 Use char because int might match the return type of a GCC
19241 builtin and then its argument prototype would still apply. */
19242 char vkGetInstanceProcAddr ();
19246 return vkGetInstanceProcAddr ();
19251 if ac_fn_c_try_link
"$LINENO"
19254 dll
) ac_cv_lib_soname_MoltenVK
=`$ac_cv_path_LDD conftest.exe | grep "MoltenVK" | sed -e "s/dll.*/dll/"';2,$d'` ;;
19255 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'` ;;
19256 *) ac_cv_lib_soname_MoltenVK
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\\[\\(libMoltenVK\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
19257 if ${ac_cv_lib_soname_MoltenVK:+false} :
19259 ac_cv_lib_soname_MoltenVK
=`$LDD conftest$ac_exeext | grep "libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\(libMoltenVK\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
19263 ac_cv_lib_soname_MoltenVK
=
19265 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19266 conftest
$ac_exeext conftest.
$ac_ext
19267 LIBS
=$ac_check_soname_save_LIBS
19269 if ${ac_cv_lib_soname_MoltenVK:+false} :
19271 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
19272 printf "%s\n" "not found" >&6; }
19275 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_MoltenVK" >&5
19276 printf "%s\n" "$ac_cv_lib_soname_MoltenVK" >&6; }
19278 printf "%s\n" "#define SONAME_LIBMOLTENVK \"$ac_cv_lib_soname_MoltenVK\"" >>confdefs.h
19280 printf "%s\n" "#define SONAME_LIBVULKAN \"$ac_cv_lib_soname_MoltenVK\"" >>confdefs.h
19285 if test "x$ac_cv_lib_soname_vulkan" = "x" -a "x$ac_cv_lib_soname_MoltenVK" = "x"
19287 case "x$with_vulkan" in
19288 x
) as_fn_append wine_notices
"|libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported." ;;
19290 *) as_fn_error $?
"libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported.
19291 This is an error since --with-vulkan was requested." "$LINENO" 5 ;;
19297 if test "x${GCC}" = "xyes"
19299 EXTRACFLAGS
="$EXTRACFLAGS -Wall -pipe"
19301 saved_CFLAGS
=$CFLAGS
19302 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
19303 printf %s
"checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
19304 if test ${ac_cv_cflags__Werror_unknown_warning_option+y}
19306 printf %s
"(cached) " >&6
19308 ac_wine_try_cflags_saved
=$CFLAGS
19309 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
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__Werror_unknown_warning_option
=yes
19318 ac_cv_cflags__Werror_unknown_warning_option
=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__Werror_unknown_warning_option" >&5
19325 printf "%s\n" "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
19326 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes
19328 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
19330 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unused-command-line-argument" >&5
19331 printf %s
"checking whether the compiler supports -Werror=unused-command-line-argument... " >&6; }
19332 if test ${ac_cv_cflags__Werror_unused_command_line_argument+y}
19334 printf %s
"(cached) " >&6
19336 ac_wine_try_cflags_saved
=$CFLAGS
19337 CFLAGS
="$CFLAGS -Werror=unused-command-line-argument"
19338 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19339 /* end confdefs.h. */
19340 int main(int argc, char **argv) { return 0; }
19342 if ac_fn_c_try_link
"$LINENO"
19344 ac_cv_cflags__Werror_unused_command_line_argument
=yes
19346 ac_cv_cflags__Werror_unused_command_line_argument
=no
19348 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19349 conftest
$ac_exeext conftest.
$ac_ext
19350 CFLAGS
=$ac_wine_try_cflags_saved
19352 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unused_command_line_argument" >&5
19353 printf "%s\n" "$ac_cv_cflags__Werror_unused_command_line_argument" >&6; }
19354 if test "x$ac_cv_cflags__Werror_unused_command_line_argument" = xyes
19356 CFLAGS
="$CFLAGS -Werror=unused-command-line-argument"
19358 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=ignored-optimization-argument" >&5
19359 printf %s
"checking whether the compiler supports -Werror=ignored-optimization-argument... " >&6; }
19360 if test ${ac_cv_cflags__Werror_ignored_optimization_argument+y}
19362 printf %s
"(cached) " >&6
19364 ac_wine_try_cflags_saved
=$CFLAGS
19365 CFLAGS
="$CFLAGS -Werror=ignored-optimization-argument"
19366 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19367 /* end confdefs.h. */
19368 int main(int argc, char **argv) { return 0; }
19370 if ac_fn_c_try_link
"$LINENO"
19372 ac_cv_cflags__Werror_ignored_optimization_argument
=yes
19374 ac_cv_cflags__Werror_ignored_optimization_argument
=no
19376 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19377 conftest
$ac_exeext conftest.
$ac_ext
19378 CFLAGS
=$ac_wine_try_cflags_saved
19380 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_ignored_optimization_argument" >&5
19381 printf "%s\n" "$ac_cv_cflags__Werror_ignored_optimization_argument" >&6; }
19382 if test "x$ac_cv_cflags__Werror_ignored_optimization_argument" = xyes
19384 CFLAGS
="$CFLAGS -Werror=ignored-optimization-argument"
19386 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fcf-protection=none" >&5
19387 printf %s
"checking whether the compiler supports -fcf-protection=none... " >&6; }
19388 if test ${ac_cv_cflags__fcf_protection_none+y}
19390 printf %s
"(cached) " >&6
19392 ac_wine_try_cflags_saved
=$CFLAGS
19393 CFLAGS
="$CFLAGS -fcf-protection=none"
19394 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19395 /* end confdefs.h. */
19396 int main(int argc, char **argv) { return 0; }
19398 if ac_fn_c_try_link
"$LINENO"
19400 ac_cv_cflags__fcf_protection_none
=yes
19402 ac_cv_cflags__fcf_protection_none
=no
19404 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19405 conftest
$ac_exeext conftest.
$ac_ext
19406 CFLAGS
=$ac_wine_try_cflags_saved
19408 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fcf_protection_none" >&5
19409 printf "%s\n" "$ac_cv_cflags__fcf_protection_none" >&6; }
19410 if test "x$ac_cv_cflags__fcf_protection_none" = xyes
19412 EXTRACFLAGS
="$EXTRACFLAGS -fcf-protection=none"
19414 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fvisibility=hidden" >&5
19415 printf %s
"checking whether the compiler supports -fvisibility=hidden... " >&6; }
19416 if test ${ac_cv_cflags__fvisibility_hidden+y}
19418 printf %s
"(cached) " >&6
19420 ac_wine_try_cflags_saved
=$CFLAGS
19421 CFLAGS
="$CFLAGS -fvisibility=hidden"
19422 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19423 /* end confdefs.h. */
19424 int main(int argc, char **argv) { return 0; }
19426 if ac_fn_c_try_link
"$LINENO"
19428 ac_cv_cflags__fvisibility_hidden
=yes
19430 ac_cv_cflags__fvisibility_hidden
=no
19432 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19433 conftest
$ac_exeext conftest.
$ac_ext
19434 CFLAGS
=$ac_wine_try_cflags_saved
19436 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fvisibility_hidden" >&5
19437 printf "%s\n" "$ac_cv_cflags__fvisibility_hidden" >&6; }
19438 if test "x$ac_cv_cflags__fvisibility_hidden" = xyes
19440 EXTRACFLAGS
="$EXTRACFLAGS -fvisibility=hidden"
19442 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-stack-protector" >&5
19443 printf %s
"checking whether the compiler supports -fno-stack-protector... " >&6; }
19444 if test ${ac_cv_cflags__fno_stack_protector+y}
19446 printf %s
"(cached) " >&6
19448 ac_wine_try_cflags_saved
=$CFLAGS
19449 CFLAGS
="$CFLAGS -fno-stack-protector"
19450 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19451 /* end confdefs.h. */
19452 int main(int argc, char **argv) { return 0; }
19454 if ac_fn_c_try_link
"$LINENO"
19456 ac_cv_cflags__fno_stack_protector
=yes
19458 ac_cv_cflags__fno_stack_protector
=no
19460 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19461 conftest
$ac_exeext conftest.
$ac_ext
19462 CFLAGS
=$ac_wine_try_cflags_saved
19464 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_stack_protector" >&5
19465 printf "%s\n" "$ac_cv_cflags__fno_stack_protector" >&6; }
19466 if test "x$ac_cv_cflags__fno_stack_protector" = xyes
19468 EXTRACFLAGS
="$EXTRACFLAGS -fno-stack-protector"
19470 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
19471 printf %s
"checking whether the compiler supports -fno-strict-aliasing... " >&6; }
19472 if test ${ac_cv_cflags__fno_strict_aliasing+y}
19474 printf %s
"(cached) " >&6
19476 ac_wine_try_cflags_saved
=$CFLAGS
19477 CFLAGS
="$CFLAGS -fno-strict-aliasing"
19478 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19479 /* end confdefs.h. */
19480 int main(int argc, char **argv) { return 0; }
19482 if ac_fn_c_try_link
"$LINENO"
19484 ac_cv_cflags__fno_strict_aliasing
=yes
19486 ac_cv_cflags__fno_strict_aliasing
=no
19488 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19489 conftest
$ac_exeext conftest.
$ac_ext
19490 CFLAGS
=$ac_wine_try_cflags_saved
19492 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
19493 printf "%s\n" "$ac_cv_cflags__fno_strict_aliasing" >&6; }
19494 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes
19496 EXTRACFLAGS
="$EXTRACFLAGS -fno-strict-aliasing"
19498 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
19499 printf %s
"checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
19500 if test ${ac_cv_cflags__Wdeclaration_after_statement+y}
19502 printf %s
"(cached) " >&6
19504 ac_wine_try_cflags_saved
=$CFLAGS
19505 CFLAGS
="$CFLAGS -Wdeclaration-after-statement"
19506 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19507 /* end confdefs.h. */
19508 int main(int argc, char **argv) { return 0; }
19510 if ac_fn_c_try_link
"$LINENO"
19512 ac_cv_cflags__Wdeclaration_after_statement
=yes
19514 ac_cv_cflags__Wdeclaration_after_statement
=no
19516 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19517 conftest
$ac_exeext conftest.
$ac_ext
19518 CFLAGS
=$ac_wine_try_cflags_saved
19520 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
19521 printf "%s\n" "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
19522 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes
19524 EXTRACFLAGS
="$EXTRACFLAGS -Wdeclaration-after-statement"
19526 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
19527 printf %s
"checking whether the compiler supports -Wempty-body... " >&6; }
19528 if test ${ac_cv_cflags__Wempty_body+y}
19530 printf %s
"(cached) " >&6
19532 ac_wine_try_cflags_saved
=$CFLAGS
19533 CFLAGS
="$CFLAGS -Wempty-body"
19534 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19535 /* end confdefs.h. */
19536 int main(int argc, char **argv) { return 0; }
19538 if ac_fn_c_try_link
"$LINENO"
19540 ac_cv_cflags__Wempty_body
=yes
19542 ac_cv_cflags__Wempty_body
=no
19544 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19545 conftest
$ac_exeext conftest.
$ac_ext
19546 CFLAGS
=$ac_wine_try_cflags_saved
19548 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
19549 printf "%s\n" "$ac_cv_cflags__Wempty_body" >&6; }
19550 if test "x$ac_cv_cflags__Wempty_body" = xyes
19552 EXTRACFLAGS
="$EXTRACFLAGS -Wempty-body"
19554 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
19555 printf %s
"checking whether the compiler supports -Wignored-qualifiers... " >&6; }
19556 if test ${ac_cv_cflags__Wignored_qualifiers+y}
19558 printf %s
"(cached) " >&6
19560 ac_wine_try_cflags_saved
=$CFLAGS
19561 CFLAGS
="$CFLAGS -Wignored-qualifiers"
19562 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19563 /* end confdefs.h. */
19564 int main(int argc, char **argv) { return 0; }
19566 if ac_fn_c_try_link
"$LINENO"
19568 ac_cv_cflags__Wignored_qualifiers
=yes
19570 ac_cv_cflags__Wignored_qualifiers
=no
19572 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19573 conftest
$ac_exeext conftest.
$ac_ext
19574 CFLAGS
=$ac_wine_try_cflags_saved
19576 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
19577 printf "%s\n" "$ac_cv_cflags__Wignored_qualifiers" >&6; }
19578 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes
19580 EXTRACFLAGS
="$EXTRACFLAGS -Wignored-qualifiers"
19582 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Winit-self" >&5
19583 printf %s
"checking whether the compiler supports -Winit-self... " >&6; }
19584 if test ${ac_cv_cflags__Winit_self+y}
19586 printf %s
"(cached) " >&6
19588 ac_wine_try_cflags_saved
=$CFLAGS
19589 CFLAGS
="$CFLAGS -Winit-self"
19590 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19591 /* end confdefs.h. */
19592 int main(int argc, char **argv) { return 0; }
19594 if ac_fn_c_try_link
"$LINENO"
19596 ac_cv_cflags__Winit_self
=yes
19598 ac_cv_cflags__Winit_self
=no
19600 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19601 conftest
$ac_exeext conftest.
$ac_ext
19602 CFLAGS
=$ac_wine_try_cflags_saved
19604 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Winit_self" >&5
19605 printf "%s\n" "$ac_cv_cflags__Winit_self" >&6; }
19606 if test "x$ac_cv_cflags__Winit_self" = xyes
19608 EXTRACFLAGS
="$EXTRACFLAGS -Winit-self"
19610 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpacked-not-aligned" >&5
19611 printf %s
"checking whether the compiler supports -Wpacked-not-aligned... " >&6; }
19612 if test ${ac_cv_cflags__Wpacked_not_aligned+y}
19614 printf %s
"(cached) " >&6
19616 ac_wine_try_cflags_saved
=$CFLAGS
19617 CFLAGS
="$CFLAGS -Wpacked-not-aligned"
19618 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19619 /* end confdefs.h. */
19620 int main(int argc, char **argv) { return 0; }
19622 if ac_fn_c_try_link
"$LINENO"
19624 ac_cv_cflags__Wpacked_not_aligned
=yes
19626 ac_cv_cflags__Wpacked_not_aligned
=no
19628 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19629 conftest
$ac_exeext conftest.
$ac_ext
19630 CFLAGS
=$ac_wine_try_cflags_saved
19632 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpacked_not_aligned" >&5
19633 printf "%s\n" "$ac_cv_cflags__Wpacked_not_aligned" >&6; }
19634 if test "x$ac_cv_cflags__Wpacked_not_aligned" = xyes
19636 EXTRACFLAGS
="$EXTRACFLAGS -Wno-packed-not-aligned"
19638 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpragma-pack" >&5
19639 printf %s
"checking whether the compiler supports -Wpragma-pack... " >&6; }
19640 if test ${ac_cv_cflags__Wpragma_pack+y}
19642 printf %s
"(cached) " >&6
19644 ac_wine_try_cflags_saved
=$CFLAGS
19645 CFLAGS
="$CFLAGS -Wpragma-pack"
19646 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19647 /* end confdefs.h. */
19648 int main(int argc, char **argv) { return 0; }
19650 if ac_fn_c_try_link
"$LINENO"
19652 ac_cv_cflags__Wpragma_pack
=yes
19654 ac_cv_cflags__Wpragma_pack
=no
19656 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19657 conftest
$ac_exeext conftest.
$ac_ext
19658 CFLAGS
=$ac_wine_try_cflags_saved
19660 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpragma_pack" >&5
19661 printf "%s\n" "$ac_cv_cflags__Wpragma_pack" >&6; }
19662 if test "x$ac_cv_cflags__Wpragma_pack" = xyes
19664 EXTRACFLAGS
="$EXTRACFLAGS -Wno-pragma-pack"
19666 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
19667 printf %s
"checking whether the compiler supports -Wshift-overflow=2... " >&6; }
19668 if test ${ac_cv_cflags__Wshift_overflow_2+y}
19670 printf %s
"(cached) " >&6
19672 ac_wine_try_cflags_saved
=$CFLAGS
19673 CFLAGS
="$CFLAGS -Wshift-overflow=2"
19674 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19675 /* end confdefs.h. */
19676 int main(int argc, char **argv) { return 0; }
19678 if ac_fn_c_try_link
"$LINENO"
19680 ac_cv_cflags__Wshift_overflow_2
=yes
19682 ac_cv_cflags__Wshift_overflow_2
=no
19684 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19685 conftest
$ac_exeext conftest.
$ac_ext
19686 CFLAGS
=$ac_wine_try_cflags_saved
19688 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
19689 printf "%s\n" "$ac_cv_cflags__Wshift_overflow_2" >&6; }
19690 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes
19692 EXTRACFLAGS
="$EXTRACFLAGS -Wshift-overflow=2"
19694 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
19695 printf %s
"checking whether the compiler supports -Wstrict-prototypes... " >&6; }
19696 if test ${ac_cv_cflags__Wstrict_prototypes+y}
19698 printf %s
"(cached) " >&6
19700 ac_wine_try_cflags_saved
=$CFLAGS
19701 CFLAGS
="$CFLAGS -Wstrict-prototypes"
19702 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19703 /* end confdefs.h. */
19704 int main(int argc, char **argv) { return 0; }
19706 if ac_fn_c_try_link
"$LINENO"
19708 ac_cv_cflags__Wstrict_prototypes
=yes
19710 ac_cv_cflags__Wstrict_prototypes
=no
19712 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19713 conftest
$ac_exeext conftest.
$ac_ext
19714 CFLAGS
=$ac_wine_try_cflags_saved
19716 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
19717 printf "%s\n" "$ac_cv_cflags__Wstrict_prototypes" >&6; }
19718 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes
19720 EXTRACFLAGS
="$EXTRACFLAGS -Wstrict-prototypes"
19722 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
19723 printf %s
"checking whether the compiler supports -Wtype-limits... " >&6; }
19724 if test ${ac_cv_cflags__Wtype_limits+y}
19726 printf %s
"(cached) " >&6
19728 ac_wine_try_cflags_saved
=$CFLAGS
19729 CFLAGS
="$CFLAGS -Wtype-limits"
19730 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19731 /* end confdefs.h. */
19732 int main(int argc, char **argv) { return 0; }
19734 if ac_fn_c_try_link
"$LINENO"
19736 ac_cv_cflags__Wtype_limits
=yes
19738 ac_cv_cflags__Wtype_limits
=no
19740 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19741 conftest
$ac_exeext conftest.
$ac_ext
19742 CFLAGS
=$ac_wine_try_cflags_saved
19744 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
19745 printf "%s\n" "$ac_cv_cflags__Wtype_limits" >&6; }
19746 if test "x$ac_cv_cflags__Wtype_limits" = xyes
19748 EXTRACFLAGS
="$EXTRACFLAGS -Wtype-limits"
19750 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
19751 printf %s
"checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
19752 if test ${ac_cv_cflags__Wunused_but_set_parameter+y}
19754 printf %s
"(cached) " >&6
19756 ac_wine_try_cflags_saved
=$CFLAGS
19757 CFLAGS
="$CFLAGS -Wunused-but-set-parameter"
19758 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19759 /* end confdefs.h. */
19760 int main(int argc, char **argv) { return 0; }
19762 if ac_fn_c_try_link
"$LINENO"
19764 ac_cv_cflags__Wunused_but_set_parameter
=yes
19766 ac_cv_cflags__Wunused_but_set_parameter
=no
19768 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19769 conftest
$ac_exeext conftest.
$ac_ext
19770 CFLAGS
=$ac_wine_try_cflags_saved
19772 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
19773 printf "%s\n" "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
19774 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes
19776 EXTRACFLAGS
="$EXTRACFLAGS -Wunused-but-set-parameter"
19778 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
19779 printf %s
"checking whether the compiler supports -Wvla... " >&6; }
19780 if test ${ac_cv_cflags__Wvla+y}
19782 printf %s
"(cached) " >&6
19784 ac_wine_try_cflags_saved
=$CFLAGS
19785 CFLAGS
="$CFLAGS -Wvla"
19786 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19787 /* end confdefs.h. */
19788 int main(int argc, char **argv) { return 0; }
19790 if ac_fn_c_try_link
"$LINENO"
19792 ac_cv_cflags__Wvla
=yes
19794 ac_cv_cflags__Wvla
=no
19796 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19797 conftest
$ac_exeext conftest.
$ac_ext
19798 CFLAGS
=$ac_wine_try_cflags_saved
19800 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
19801 printf "%s\n" "$ac_cv_cflags__Wvla" >&6; }
19802 if test "x$ac_cv_cflags__Wvla" = xyes
19804 EXTRACFLAGS
="$EXTRACFLAGS -Wvla"
19806 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
19807 printf %s
"checking whether the compiler supports -Wwrite-strings... " >&6; }
19808 if test ${ac_cv_cflags__Wwrite_strings+y}
19810 printf %s
"(cached) " >&6
19812 ac_wine_try_cflags_saved
=$CFLAGS
19813 CFLAGS
="$CFLAGS -Wwrite-strings"
19814 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19815 /* end confdefs.h. */
19816 int main(int argc, char **argv) { return 0; }
19818 if ac_fn_c_try_link
"$LINENO"
19820 ac_cv_cflags__Wwrite_strings
=yes
19822 ac_cv_cflags__Wwrite_strings
=no
19824 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19825 conftest
$ac_exeext conftest.
$ac_ext
19826 CFLAGS
=$ac_wine_try_cflags_saved
19828 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
19829 printf "%s\n" "$ac_cv_cflags__Wwrite_strings" >&6; }
19830 if test "x$ac_cv_cflags__Wwrite_strings" = xyes
19832 EXTRACFLAGS
="$EXTRACFLAGS -Wwrite-strings"
19835 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -flarge-source-files -Wmisleading-indentation" >&5
19836 printf %s
"checking whether the compiler supports -flarge-source-files -Wmisleading-indentation... " >&6; }
19837 if test ${ac_cv_cflags__flarge_source_files__Wmisleading_indentation+y}
19839 printf %s
"(cached) " >&6
19841 ac_wine_try_cflags_saved
=$CFLAGS
19842 CFLAGS
="$CFLAGS -flarge-source-files -Wmisleading-indentation"
19843 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19844 /* end confdefs.h. */
19845 int main(int argc, char **argv) { return 0; }
19847 if ac_fn_c_try_link
"$LINENO"
19849 ac_cv_cflags__flarge_source_files__Wmisleading_indentation
=yes
19851 ac_cv_cflags__flarge_source_files__Wmisleading_indentation
=no
19853 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19854 conftest
$ac_exeext conftest.
$ac_ext
19855 CFLAGS
=$ac_wine_try_cflags_saved
19857 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__flarge_source_files__Wmisleading_indentation" >&5
19858 printf "%s\n" "$ac_cv_cflags__flarge_source_files__Wmisleading_indentation" >&6; }
19859 if test "x$ac_cv_cflags__flarge_source_files__Wmisleading_indentation" = xyes
19861 EXTRACFLAGS
="$EXTRACFLAGS -Wno-misleading-indentation"
19864 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
19865 printf %s
"checking whether the compiler supports -Wpointer-arith... " >&6; }
19866 if test ${ac_cv_cflags__Wpointer_arith+y}
19868 printf %s
"(cached) " >&6
19870 ac_wine_try_cflags_saved
=$CFLAGS
19871 CFLAGS
="$CFLAGS -Wpointer-arith"
19872 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19873 /* end confdefs.h. */
19874 int main(int argc, char **argv) { return 0; }
19876 if ac_fn_c_try_link
"$LINENO"
19878 ac_cv_cflags__Wpointer_arith
=yes
19880 ac_cv_cflags__Wpointer_arith
=no
19882 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19883 conftest
$ac_exeext conftest.
$ac_ext
19884 CFLAGS
=$ac_wine_try_cflags_saved
19886 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
19887 printf "%s\n" "$ac_cv_cflags__Wpointer_arith" >&6; }
19888 if test "x$ac_cv_cflags__Wpointer_arith" = xyes
19890 saved_string_h_CFLAGS
=$CFLAGS
19891 CFLAGS
="$CFLAGS -Wpointer-arith -Werror"
19892 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
19893 printf %s
"checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
19894 if test ${ac_cv_c_string_h_warnings+y}
19896 printf %s
"(cached) " >&6
19898 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19899 /* end confdefs.h. */
19900 #include <string.h>
19909 if ac_fn_c_try_compile
"$LINENO"
19911 ac_cv_c_string_h_warnings
=no
19913 ac_cv_c_string_h_warnings
=yes
19915 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
19917 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
19918 printf "%s\n" "$ac_cv_c_string_h_warnings" >&6; }
19919 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS
="$EXTRACFLAGS -Wpointer-arith"
19920 CFLAGS
=$saved_string_h_CFLAGS
19923 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
19924 printf %s
"checking whether the compiler supports -Wlogical-op... " >&6; }
19925 if test ${ac_cv_cflags__Wlogical_op+y}
19927 printf %s
"(cached) " >&6
19929 ac_wine_try_cflags_saved
=$CFLAGS
19930 CFLAGS
="$CFLAGS -Wlogical-op"
19931 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19932 /* end confdefs.h. */
19933 int main(int argc, char **argv) { return 0; }
19935 if ac_fn_c_try_link
"$LINENO"
19937 ac_cv_cflags__Wlogical_op
=yes
19939 ac_cv_cflags__Wlogical_op
=no
19941 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19942 conftest
$ac_exeext conftest.
$ac_ext
19943 CFLAGS
=$ac_wine_try_cflags_saved
19945 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
19946 printf "%s\n" "$ac_cv_cflags__Wlogical_op" >&6; }
19947 if test "x$ac_cv_cflags__Wlogical_op" = xyes
19949 saved_string_h_CFLAGS
=$CFLAGS
19950 CFLAGS
="$CFLAGS -Wlogical-op -Werror"
19951 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
19952 printf %s
"checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
19953 if test ${ac_cv_c_logicalop_noisy+y}
19955 printf %s
"(cached) " >&6
19957 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19958 /* end confdefs.h. */
19959 #include <string.h>
19960 char*f(const char *h,char n) {return strchr(h,n);}
19969 if ac_fn_c_try_compile
"$LINENO"
19971 ac_cv_c_logicalop_noisy
=no
19973 ac_cv_c_logicalop_noisy
=yes
19975 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
19977 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
19978 printf "%s\n" "$ac_cv_c_logicalop_noisy" >&6; }
19979 CFLAGS
=$saved_string_h_CFLAGS
19980 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS
="$EXTRACFLAGS -Wlogical-op"
19983 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for flags needed for 64-bit compare-and-swap support" >&5
19984 printf %s
"checking for flags needed for 64-bit compare-and-swap support... " >&6; }
19985 if test ${wine_cv_64bit_compare_swap+y}
19987 printf %s
"(cached) " >&6
19989 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19990 /* end confdefs.h. */
19991 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
20002 if ac_fn_c_try_compile
"$LINENO"
20004 wine_cv_64bit_compare_swap
="none needed"
20007 i386
) wine_cv_64bit_compare_swap
="-march=i586" ;;
20008 arm
) wine_cv_64bit_compare_swap
="-march=armv7-a" ;;
20009 *) wine_cv_64bit_compare_swap
="unknown" ;;
20011 if test "x$wine_cv_64bit_compare_swap" != xunknown
20013 CFLAGS
="$CFLAGS $wine_cv_64bit_compare_swap"
20014 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20015 /* end confdefs.h. */
20016 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
20027 if ac_fn_c_try_compile
"$LINENO"
20031 wine_cv_64bit_compare_swap
="unknown"
20033 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
20034 CFLAGS
=$saved_CFLAGS
20037 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
20039 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_64bit_compare_swap" >&5
20040 printf "%s\n" "$wine_cv_64bit_compare_swap" >&6; }
20041 case "$wine_cv_64bit_compare_swap" in
20042 unknown
) as_fn_error $?
"gcc doesn't support 64-bit compare-and-swap on this platform" "$LINENO" 5 ;;
20044 *) EXTRACFLAGS
="$EXTRACFLAGS $wine_cv_64bit_compare_swap" ;;
20047 ac_debug_format_seen
=""
20048 for ac_flag
in $CFLAGS; do
20050 -gdwarf*) ac_debug_format_seen
=yes ;;
20051 -g) ac_debug_format_seen
=${ac_debug_format_seen:-default} ;;
20054 if test "x$ac_debug_format_seen" = xdefault
20056 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-4" >&5
20057 printf %s
"checking whether the compiler supports -gdwarf-4... " >&6; }
20058 if test ${ac_cv_cflags__gdwarf_4+y}
20060 printf %s
"(cached) " >&6
20062 ac_wine_try_cflags_saved
=$CFLAGS
20063 CFLAGS
="$CFLAGS -gdwarf-4"
20064 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20065 /* end confdefs.h. */
20066 int main(int argc, char **argv) { return 0; }
20068 if ac_fn_c_try_link
"$LINENO"
20070 ac_cv_cflags__gdwarf_4
=yes
20072 ac_cv_cflags__gdwarf_4
=no
20074 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
20075 conftest
$ac_exeext conftest.
$ac_ext
20076 CFLAGS
=$ac_wine_try_cflags_saved
20078 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_4" >&5
20079 printf "%s\n" "$ac_cv_cflags__gdwarf_4" >&6; }
20080 if test "x$ac_cv_cflags__gdwarf_4" = xyes
20082 EXTRACFLAGS
="$EXTRACFLAGS -gdwarf-4"
20089 mingw32
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-delayload,autoconftest.dll" >&5
20090 printf %s
"checking whether the compiler supports -Wl,-delayload,autoconftest.dll... " >&6; }
20091 if test ${ac_cv_cflags__Wl__delayload_autoconftest_dll+y}
20093 printf %s
"(cached) " >&6
20095 ac_wine_try_cflags_saved
=$CFLAGS
20096 CFLAGS
="$CFLAGS -Wl,-delayload,autoconftest.dll"
20097 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20098 /* end confdefs.h. */
20099 int main(int argc, char **argv) { return 0; }
20101 if ac_fn_c_try_link
"$LINENO"
20103 ac_cv_cflags__Wl__delayload_autoconftest_dll
=yes
20105 ac_cv_cflags__Wl__delayload_autoconftest_dll
=no
20107 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
20108 conftest
$ac_exeext conftest.
$ac_ext
20109 CFLAGS
=$ac_wine_try_cflags_saved
20111 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__delayload_autoconftest_dll" >&5
20112 printf "%s\n" "$ac_cv_cflags__Wl__delayload_autoconftest_dll" >&6; }
20113 if test "x$ac_cv_cflags__Wl__delayload_autoconftest_dll" = xyes
20115 DELAYLOADFLAG
="-Wl,-delayload,"
20118 *) MSVCRTFLAGS
="-D_WIN32"
20119 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
20120 printf %s
"checking whether the compiler supports -fno-builtin... " >&6; }
20121 if test ${ac_cv_cflags__fno_builtin+y}
20123 printf %s
"(cached) " >&6
20125 ac_wine_try_cflags_saved
=$CFLAGS
20126 CFLAGS
="$CFLAGS -fno-builtin"
20127 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20128 /* end confdefs.h. */
20129 int main(int argc, char **argv) { return 0; }
20131 if ac_fn_c_try_link
"$LINENO"
20133 ac_cv_cflags__fno_builtin
=yes
20135 ac_cv_cflags__fno_builtin
=no
20137 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
20138 conftest
$ac_exeext conftest.
$ac_ext
20139 CFLAGS
=$ac_wine_try_cflags_saved
20141 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
20142 printf "%s\n" "$ac_cv_cflags__fno_builtin" >&6; }
20143 if test "x$ac_cv_cflags__fno_builtin" = xyes
20145 MSVCRTFLAGS
="$MSVCRTFLAGS -fno-builtin"
20147 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fshort-wchar" >&5
20148 printf %s
"checking whether the compiler supports -fshort-wchar... " >&6; }
20149 if test ${ac_cv_cflags__fshort_wchar+y}
20151 printf %s
"(cached) " >&6
20153 ac_wine_try_cflags_saved
=$CFLAGS
20154 CFLAGS
="$CFLAGS -fshort-wchar"
20155 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20156 /* end confdefs.h. */
20157 int main(int argc, char **argv) { return 0; }
20159 if ac_fn_c_try_link
"$LINENO"
20161 ac_cv_cflags__fshort_wchar
=yes
20163 ac_cv_cflags__fshort_wchar
=no
20165 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
20166 conftest
$ac_exeext conftest.
$ac_ext
20167 CFLAGS
=$ac_wine_try_cflags_saved
20169 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fshort_wchar" >&5
20170 printf "%s\n" "$ac_cv_cflags__fshort_wchar" >&6; }
20171 if test "x$ac_cv_cflags__fshort_wchar" = xyes
20173 MSVCRTFLAGS
="$MSVCRTFLAGS -fshort-wchar"
20175 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
20176 printf %s
"checking whether the compiler supports -Wno-format... " >&6; }
20177 if test ${ac_cv_cflags__Wno_format+y}
20179 printf %s
"(cached) " >&6
20181 ac_wine_try_cflags_saved
=$CFLAGS
20182 CFLAGS
="$CFLAGS -Wno-format"
20183 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20184 /* end confdefs.h. */
20185 int main(int argc, char **argv) { return 0; }
20187 if ac_fn_c_try_link
"$LINENO"
20189 ac_cv_cflags__Wno_format
=yes
20191 ac_cv_cflags__Wno_format
=no
20193 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
20194 conftest
$ac_exeext conftest.
$ac_ext
20195 CFLAGS
=$ac_wine_try_cflags_saved
20197 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
20198 printf "%s\n" "$ac_cv_cflags__Wno_format" >&6; }
20199 if test "x$ac_cv_cflags__Wno_format" = xyes
20201 MSVCRTFLAGS
="$MSVCRTFLAGS -Wno-format"
20206 i386
) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
20207 printf %s
"checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
20208 if test ${ac_cv_cflags__fno_omit_frame_pointer+y}
20210 printf %s
"(cached) " >&6
20212 ac_wine_try_cflags_saved
=$CFLAGS
20213 CFLAGS
="$CFLAGS -fno-omit-frame-pointer"
20214 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20215 /* end confdefs.h. */
20216 int main(int argc, char **argv) { return 0; }
20218 if ac_fn_c_try_link
"$LINENO"
20220 ac_cv_cflags__fno_omit_frame_pointer
=yes
20222 ac_cv_cflags__fno_omit_frame_pointer
=no
20224 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
20225 conftest
$ac_exeext conftest.
$ac_ext
20226 CFLAGS
=$ac_wine_try_cflags_saved
20228 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
20229 printf "%s\n" "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
20230 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes
20232 MSVCRTFLAGS
="$MSVCRTFLAGS -fno-omit-frame-pointer"
20236 cygwin
*|mingw32
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
20237 printf %s
"checking whether the compiler supports -Wno-format... " >&6; }
20238 if test ${ac_cv_cflags__Wno_format+y}
20240 printf %s
"(cached) " >&6
20242 ac_wine_try_cflags_saved
=$CFLAGS
20243 CFLAGS
="$CFLAGS -Wno-format"
20244 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20245 /* end confdefs.h. */
20246 int main(int argc, char **argv) { return 0; }
20248 if ac_fn_c_try_link
"$LINENO"
20250 ac_cv_cflags__Wno_format
=yes
20252 ac_cv_cflags__Wno_format
=no
20254 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
20255 conftest
$ac_exeext conftest.
$ac_ext
20256 CFLAGS
=$ac_wine_try_cflags_saved
20258 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
20259 printf "%s\n" "$ac_cv_cflags__Wno_format" >&6; }
20260 if test "x$ac_cv_cflags__Wno_format" = xyes
20262 EXTRACFLAGS
="$EXTRACFLAGS -Wno-format"
20264 *) if test -z "$PE_ARCHS"
20266 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for working -mabi=ms" >&5
20267 printf %s
"checking for working -mabi=ms... " >&6; }
20268 if test ${ac_cv_mabi_ms+y}
20270 printf %s
"(cached) " >&6
20272 CFLAGS
="$CFLAGS -mabi=ms"
20273 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20274 /* end confdefs.h. */
20275 #include <stdarg.h>
20276 int a(int b, ...) { __builtin_ms_va_list list; __builtin_ms_va_start(list,b); }
20285 if ac_fn_c_try_compile
"$LINENO"
20291 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
20292 CFLAGS
=$saved_CFLAGS
20294 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mabi_ms" >&5
20295 printf "%s\n" "$ac_cv_mabi_ms" >&6; }
20296 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
20298 MSVCRTFLAGS
="$MSVCRTFLAGS -mabi=ms" ;;
20301 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wincompatible-function-pointer-types" >&5
20302 printf %s
"checking whether the compiler supports -Wincompatible-function-pointer-types... " >&6; }
20303 if test ${ac_cv_cflags__Wincompatible_function_pointer_types+y}
20305 printf %s
"(cached) " >&6
20307 ac_wine_try_cflags_saved
=$CFLAGS
20308 CFLAGS
="$CFLAGS -Wincompatible-function-pointer-types"
20309 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20310 /* end confdefs.h. */
20311 int main(int argc, char **argv) { return 0; }
20313 if ac_fn_c_try_link
"$LINENO"
20315 ac_cv_cflags__Wincompatible_function_pointer_types
=yes
20317 ac_cv_cflags__Wincompatible_function_pointer_types
=no
20319 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
20320 conftest
$ac_exeext conftest.
$ac_ext
20321 CFLAGS
=$ac_wine_try_cflags_saved
20323 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wincompatible_function_pointer_types" >&5
20324 printf "%s\n" "$ac_cv_cflags__Wincompatible_function_pointer_types" >&6; }
20325 if test "x$ac_cv_cflags__Wincompatible_function_pointer_types" = xyes
20327 EXTRACFLAGS
="$EXTRACFLAGS -Wno-error=incompatible-function-pointer-types"
20331 CFLAGS
=$saved_CFLAGS
20333 if test "x$enable_werror" = "xyes"
20335 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
20336 printf %s
"checking whether the compiler supports -Werror... " >&6; }
20337 if test ${ac_cv_cflags__Werror+y}
20339 printf %s
"(cached) " >&6
20341 ac_wine_try_cflags_saved
=$CFLAGS
20342 CFLAGS
="$CFLAGS -Werror"
20343 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20344 /* end confdefs.h. */
20345 int main(int argc, char **argv) { return 0; }
20347 if ac_fn_c_try_link
"$LINENO"
20349 ac_cv_cflags__Werror
=yes
20351 ac_cv_cflags__Werror
=no
20353 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
20354 conftest
$ac_exeext conftest.
$ac_ext
20355 CFLAGS
=$ac_wine_try_cflags_saved
20357 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
20358 printf "%s\n" "$ac_cv_cflags__Werror" >&6; }
20359 if test "x$ac_cv_cflags__Werror" = xyes
20361 EXTRACFLAGS
="$EXTRACFLAGS -Werror"
20364 if test "x$enable_build_id" = "xyes"
20366 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--build-id" >&5
20367 printf %s
"checking whether the compiler supports -Wl,--build-id... " >&6; }
20368 if test ${ac_cv_cflags__Wl___build_id+y}
20370 printf %s
"(cached) " >&6
20372 ac_wine_try_cflags_saved
=$CFLAGS
20373 CFLAGS
="$CFLAGS -Wl,--build-id"
20374 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20375 /* end confdefs.h. */
20376 int main(int argc, char **argv) { return 0; }
20378 if ac_fn_c_try_link
"$LINENO"
20380 ac_cv_cflags__Wl___build_id
=yes
20382 ac_cv_cflags__Wl___build_id
=no
20384 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
20385 conftest
$ac_exeext conftest.
$ac_ext
20386 CFLAGS
=$ac_wine_try_cflags_saved
20388 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___build_id" >&5
20389 printf "%s\n" "$ac_cv_cflags__Wl___build_id" >&6; }
20390 if test "x$ac_cv_cflags__Wl___build_id" = xyes
20392 CFLAGS
="$CFLAGS -Wl,--build-id"
20393 LDFLAGS
="$LDFLAGS -Wl,--build-id"
20399 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
20400 printf %s
"checking for the need to disable Fortify... " >&6; }
20401 if test ${ac_cv_c_fortify_enabled+y}
20403 printf %s
"(cached) " >&6
20405 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20406 /* end confdefs.h. */
20407 #include <string.h>
20411 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
20412 #error Fortify enabled
20418 if ac_fn_c_try_compile
"$LINENO"
20420 ac_cv_c_fortify_enabled
=no
20422 ac_cv_c_fortify_enabled
=yes
20424 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
20426 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
20427 printf "%s\n" "$ac_cv_c_fortify_enabled" >&6; }
20428 if test "$ac_cv_c_fortify_enabled" = yes
20430 CFLAGS
="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
20434 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
20435 printf %s
"checking whether CFI directives are supported in assembly code... " >&6; }
20436 if test ${ac_cv_c_cfi_support+y}
20438 printf %s
"(cached) " >&6
20440 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20441 /* end confdefs.h. */
20442 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
20451 if ac_fn_c_try_compile
"$LINENO"
20453 ac_cv_c_cfi_support
="yes"
20455 ac_cv_c_cfi_support
="no"
20457 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
20459 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
20460 printf "%s\n" "$ac_cv_c_cfi_support" >&6; }
20461 if test "$ac_cv_c_cfi_support" = "yes"
20463 DLLFLAGS
="$DLLFLAGS -fasynchronous-unwind-tables"
20464 LDDLLFLAGS
="$LDDLLFLAGS -fasynchronous-unwind-tables"
20465 UNIXDLLFLAGS
="$UNIXDLLFLAGS -fasynchronous-unwind-tables"
20466 elif test $HOST_ARCH = x86_64
20468 as_fn_append wine_warnings
"|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
20472 case "$HOST_ARCH,$PE_ARCHS" in
20473 x86_64
,*i386
*) wine_binary
="wine" ;;
20474 x86_64
,*) wine_binary
="wine64" ;;
20475 *) wine_binary
="wine" ;;
20477 WINELOADER_PROGRAMS
="$wine_binary"
20482 if test $HOST_ARCH != unknown
20484 wine_use_preloader
=yes
20489 if test "$wine_use_preloader" = "yes"
20491 test "$wine_binary" = wine || as_fn_append CONFIGURE_TARGETS
" loader/wine-preloader"
20492 WINELOADER_PROGRAMS
="$WINELOADER_PROGRAMS $wine_binary-preloader"
20494 printf "%s\n" "#define HAVE_WINE_PRELOADER 1" >>confdefs.h
20499 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
20500 printf %s
"checking for library containing dlopen... " >&6; }
20501 if test ${ac_cv_search_dlopen+y}
20503 printf %s
"(cached) " >&6
20505 ac_func_search_save_LIBS
=$LIBS
20506 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20507 /* end confdefs.h. */
20509 /* Override any GCC internal prototype to avoid an error.
20510 Use char because int might match the return type of a GCC
20511 builtin and then its argument prototype would still apply. */
20521 for ac_lib
in '' dl
20523 if test -z "$ac_lib"; then
20524 ac_res
="none required"
20527 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
20529 if ac_fn_c_try_link
"$LINENO"
20531 ac_cv_search_dlopen
=$ac_res
20533 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
20535 if test ${ac_cv_search_dlopen+y}
20540 if test ${ac_cv_search_dlopen+y}
20544 ac_cv_search_dlopen
=no
20546 rm conftest.
$ac_ext
20547 LIBS
=$ac_func_search_save_LIBS
20549 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
20550 printf "%s\n" "$ac_cv_search_dlopen" >&6; }
20551 ac_res
=$ac_cv_search_dlopen
20552 if test "$ac_res" != no
20554 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
20559 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
20560 printf %s
"checking for library containing gethostbyname... " >&6; }
20561 if test ${ac_cv_search_gethostbyname+y}
20563 printf %s
"(cached) " >&6
20565 ac_func_search_save_LIBS
=$LIBS
20566 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20567 /* end confdefs.h. */
20569 /* Override any GCC internal prototype to avoid an error.
20570 Use char because int might match the return type of a GCC
20571 builtin and then its argument prototype would still apply. */
20572 char gethostbyname ();
20576 return gethostbyname ();
20581 for ac_lib
in '' nsl
20583 if test -z "$ac_lib"; then
20584 ac_res
="none required"
20587 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
20589 if ac_fn_c_try_link
"$LINENO"
20591 ac_cv_search_gethostbyname
=$ac_res
20593 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
20595 if test ${ac_cv_search_gethostbyname+y}
20600 if test ${ac_cv_search_gethostbyname+y}
20604 ac_cv_search_gethostbyname
=no
20606 rm conftest.
$ac_ext
20607 LIBS
=$ac_func_search_save_LIBS
20609 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
20610 printf "%s\n" "$ac_cv_search_gethostbyname" >&6; }
20611 ac_res
=$ac_cv_search_gethostbyname
20612 if test "$ac_res" != no
20614 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
20619 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
20620 printf %s
"checking for library containing connect... " >&6; }
20621 if test ${ac_cv_search_connect+y}
20623 printf %s
"(cached) " >&6
20625 ac_func_search_save_LIBS
=$LIBS
20626 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20627 /* end confdefs.h. */
20629 /* Override any GCC internal prototype to avoid an error.
20630 Use char because int might match the return type of a GCC
20631 builtin and then its argument prototype would still apply. */
20641 for ac_lib
in '' socket
20643 if test -z "$ac_lib"; then
20644 ac_res
="none required"
20647 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
20649 if ac_fn_c_try_link
"$LINENO"
20651 ac_cv_search_connect
=$ac_res
20653 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
20655 if test ${ac_cv_search_connect+y}
20660 if test ${ac_cv_search_connect+y}
20664 ac_cv_search_connect
=no
20666 rm conftest.
$ac_ext
20667 LIBS
=$ac_func_search_save_LIBS
20669 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
20670 printf "%s\n" "$ac_cv_search_connect" >&6; }
20671 ac_res
=$ac_cv_search_connect
20672 if test "$ac_res" != no
20674 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
20679 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
20680 printf %s
"checking for library containing inet_aton... " >&6; }
20681 if test ${ac_cv_search_inet_aton+y}
20683 printf %s
"(cached) " >&6
20685 ac_func_search_save_LIBS
=$LIBS
20686 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20687 /* end confdefs.h. */
20689 /* Override any GCC internal prototype to avoid an error.
20690 Use char because int might match the return type of a GCC
20691 builtin and then its argument prototype would still apply. */
20696 return inet_aton ();
20701 for ac_lib
in '' resolv
20703 if test -z "$ac_lib"; then
20704 ac_res
="none required"
20707 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
20709 if ac_fn_c_try_link
"$LINENO"
20711 ac_cv_search_inet_aton
=$ac_res
20713 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
20715 if test ${ac_cv_search_inet_aton+y}
20720 if test ${ac_cv_search_inet_aton+y}
20724 ac_cv_search_inet_aton
=no
20726 rm conftest.
$ac_ext
20727 LIBS
=$ac_func_search_save_LIBS
20729 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
20730 printf "%s\n" "$ac_cv_search_inet_aton" >&6; }
20731 ac_res
=$ac_cv_search_inet_aton
20732 if test "$ac_res" != no
20734 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
20739 ac_save_CFLAGS
="$CFLAGS"
20740 CFLAGS
="$CFLAGS $BUILTINFLAG"
20741 ac_fn_c_check_func
"$LINENO" "dladdr1" "ac_cv_func_dladdr1"
20742 if test "x$ac_cv_func_dladdr1" = xyes
20744 printf "%s\n" "#define HAVE_DLADDR1 1" >>confdefs.h
20747 ac_fn_c_check_func
"$LINENO" "dlinfo" "ac_cv_func_dlinfo"
20748 if test "x$ac_cv_func_dlinfo" = xyes
20750 printf "%s\n" "#define HAVE_DLINFO 1" >>confdefs.h
20753 ac_fn_c_check_func
"$LINENO" "epoll_create" "ac_cv_func_epoll_create"
20754 if test "x$ac_cv_func_epoll_create" = xyes
20756 printf "%s\n" "#define HAVE_EPOLL_CREATE 1" >>confdefs.h
20759 ac_fn_c_check_func
"$LINENO" "fstatfs" "ac_cv_func_fstatfs"
20760 if test "x$ac_cv_func_fstatfs" = xyes
20762 printf "%s\n" "#define HAVE_FSTATFS 1" >>confdefs.h
20765 ac_fn_c_check_func
"$LINENO" "futimens" "ac_cv_func_futimens"
20766 if test "x$ac_cv_func_futimens" = xyes
20768 printf "%s\n" "#define HAVE_FUTIMENS 1" >>confdefs.h
20771 ac_fn_c_check_func
"$LINENO" "futimes" "ac_cv_func_futimes"
20772 if test "x$ac_cv_func_futimes" = xyes
20774 printf "%s\n" "#define HAVE_FUTIMES 1" >>confdefs.h
20777 ac_fn_c_check_func
"$LINENO" "futimesat" "ac_cv_func_futimesat"
20778 if test "x$ac_cv_func_futimesat" = xyes
20780 printf "%s\n" "#define HAVE_FUTIMESAT 1" >>confdefs.h
20783 ac_fn_c_check_func
"$LINENO" "getaddrinfo" "ac_cv_func_getaddrinfo"
20784 if test "x$ac_cv_func_getaddrinfo" = xyes
20786 printf "%s\n" "#define HAVE_GETADDRINFO 1" >>confdefs.h
20789 ac_fn_c_check_func
"$LINENO" "getattrlist" "ac_cv_func_getattrlist"
20790 if test "x$ac_cv_func_getattrlist" = xyes
20792 printf "%s\n" "#define HAVE_GETATTRLIST 1" >>confdefs.h
20795 ac_fn_c_check_func
"$LINENO" "getauxval" "ac_cv_func_getauxval"
20796 if test "x$ac_cv_func_getauxval" = xyes
20798 printf "%s\n" "#define HAVE_GETAUXVAL 1" >>confdefs.h
20801 ac_fn_c_check_func
"$LINENO" "getifaddrs" "ac_cv_func_getifaddrs"
20802 if test "x$ac_cv_func_getifaddrs" = xyes
20804 printf "%s\n" "#define HAVE_GETIFADDRS 1" >>confdefs.h
20807 ac_fn_c_check_func
"$LINENO" "getrandom" "ac_cv_func_getrandom"
20808 if test "x$ac_cv_func_getrandom" = xyes
20810 printf "%s\n" "#define HAVE_GETRANDOM 1" >>confdefs.h
20813 ac_fn_c_check_func
"$LINENO" "kqueue" "ac_cv_func_kqueue"
20814 if test "x$ac_cv_func_kqueue" = xyes
20816 printf "%s\n" "#define HAVE_KQUEUE 1" >>confdefs.h
20819 ac_fn_c_check_func
"$LINENO" "mach_continuous_time" "ac_cv_func_mach_continuous_time"
20820 if test "x$ac_cv_func_mach_continuous_time" = xyes
20822 printf "%s\n" "#define HAVE_MACH_CONTINUOUS_TIME 1" >>confdefs.h
20825 ac_fn_c_check_func
"$LINENO" "pipe2" "ac_cv_func_pipe2"
20826 if test "x$ac_cv_func_pipe2" = xyes
20828 printf "%s\n" "#define HAVE_PIPE2 1" >>confdefs.h
20831 ac_fn_c_check_func
"$LINENO" "port_create" "ac_cv_func_port_create"
20832 if test "x$ac_cv_func_port_create" = xyes
20834 printf "%s\n" "#define HAVE_PORT_CREATE 1" >>confdefs.h
20837 ac_fn_c_check_func
"$LINENO" "posix_fadvise" "ac_cv_func_posix_fadvise"
20838 if test "x$ac_cv_func_posix_fadvise" = xyes
20840 printf "%s\n" "#define HAVE_POSIX_FADVISE 1" >>confdefs.h
20843 ac_fn_c_check_func
"$LINENO" "posix_fallocate" "ac_cv_func_posix_fallocate"
20844 if test "x$ac_cv_func_posix_fallocate" = xyes
20846 printf "%s\n" "#define HAVE_POSIX_FALLOCATE 1" >>confdefs.h
20849 ac_fn_c_check_func
"$LINENO" "prctl" "ac_cv_func_prctl"
20850 if test "x$ac_cv_func_prctl" = xyes
20852 printf "%s\n" "#define HAVE_PRCTL 1" >>confdefs.h
20855 ac_fn_c_check_func
"$LINENO" "proc_pidinfo" "ac_cv_func_proc_pidinfo"
20856 if test "x$ac_cv_func_proc_pidinfo" = xyes
20858 printf "%s\n" "#define HAVE_PROC_PIDINFO 1" >>confdefs.h
20861 ac_fn_c_check_func
"$LINENO" "sched_yield" "ac_cv_func_sched_yield"
20862 if test "x$ac_cv_func_sched_yield" = xyes
20864 printf "%s\n" "#define HAVE_SCHED_YIELD 1" >>confdefs.h
20867 ac_fn_c_check_func
"$LINENO" "setproctitle" "ac_cv_func_setproctitle"
20868 if test "x$ac_cv_func_setproctitle" = xyes
20870 printf "%s\n" "#define HAVE_SETPROCTITLE 1" >>confdefs.h
20873 ac_fn_c_check_func
"$LINENO" "setprogname" "ac_cv_func_setprogname"
20874 if test "x$ac_cv_func_setprogname" = xyes
20876 printf "%s\n" "#define HAVE_SETPROGNAME 1" >>confdefs.h
20879 ac_fn_c_check_func
"$LINENO" "sigprocmask" "ac_cv_func_sigprocmask"
20880 if test "x$ac_cv_func_sigprocmask" = xyes
20882 printf "%s\n" "#define HAVE_SIGPROCMASK 1" >>confdefs.h
20885 ac_fn_c_check_func
"$LINENO" "sysinfo" "ac_cv_func_sysinfo"
20886 if test "x$ac_cv_func_sysinfo" = xyes
20888 printf "%s\n" "#define HAVE_SYSINFO 1" >>confdefs.h
20891 ac_fn_c_check_func
"$LINENO" "tcdrain" "ac_cv_func_tcdrain"
20892 if test "x$ac_cv_func_tcdrain" = xyes
20894 printf "%s\n" "#define HAVE_TCDRAIN 1" >>confdefs.h
20897 ac_fn_c_check_func
"$LINENO" "thr_kill2" "ac_cv_func_thr_kill2"
20898 if test "x$ac_cv_func_thr_kill2" = xyes
20900 printf "%s\n" "#define HAVE_THR_KILL2 1" >>confdefs.h
20904 CFLAGS
="$ac_save_CFLAGS"
20907 darwin
*|macosx
*) ;;
20908 *) ac_save_LIBS
=$LIBS
20909 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
20910 printf %s
"checking for library containing clock_gettime... " >&6; }
20911 if test ${ac_cv_search_clock_gettime+y}
20913 printf %s
"(cached) " >&6
20915 ac_func_search_save_LIBS
=$LIBS
20916 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20917 /* end confdefs.h. */
20919 /* Override any GCC internal prototype to avoid an error.
20920 Use char because int might match the return type of a GCC
20921 builtin and then its argument prototype would still apply. */
20922 char clock_gettime ();
20926 return clock_gettime ();
20931 for ac_lib
in '' rt
20933 if test -z "$ac_lib"; then
20934 ac_res
="none required"
20937 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
20939 if ac_fn_c_try_link
"$LINENO"
20941 ac_cv_search_clock_gettime
=$ac_res
20943 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
20945 if test ${ac_cv_search_clock_gettime+y}
20950 if test ${ac_cv_search_clock_gettime+y}
20954 ac_cv_search_clock_gettime
=no
20956 rm conftest.
$ac_ext
20957 LIBS
=$ac_func_search_save_LIBS
20959 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
20960 printf "%s\n" "$ac_cv_search_clock_gettime" >&6; }
20961 ac_res
=$ac_cv_search_clock_gettime
20962 if test "$ac_res" != no
20964 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
20966 printf "%s\n" "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
20968 test "$ac_res" = "none required" || RT_LIBS
="$ac_res"
20976 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
20977 printf %s
"checking for sched_setaffinity... " >&6; }
20978 if test ${wine_cv_have_sched_setaffinity+y}
20980 printf %s
"(cached) " >&6
20982 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20983 /* end confdefs.h. */
20988 sched_setaffinity(0, 0, 0);
20993 if ac_fn_c_try_link
"$LINENO"
20995 wine_cv_have_sched_setaffinity
=yes
20997 wine_cv_have_sched_setaffinity
=no
20999 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
21000 conftest
$ac_exeext conftest.
$ac_ext
21002 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
21003 printf "%s\n" "$wine_cv_have_sched_setaffinity" >&6; }
21004 if test "$wine_cv_have_sched_setaffinity" = "yes"
21007 printf "%s\n" "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
21012 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
21013 printf %s
"checking for inline... " >&6; }
21014 if test ${ac_cv_c_inline+y}
21016 printf %s
"(cached) " >&6
21019 for ac_kw
in inline __inline__ __inline
; do
21020 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21021 /* end confdefs.h. */
21022 #ifndef __cplusplus
21024 static $ac_kw foo_t static_foo (void) {return 0; }
21025 $ac_kw foo_t foo (void) {return 0; }
21029 if ac_fn_c_try_compile
"$LINENO"
21031 ac_cv_c_inline
=$ac_kw
21033 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
21034 test "$ac_cv_c_inline" != no
&& break
21038 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
21039 printf "%s\n" "$ac_cv_c_inline" >&6; }
21041 case $ac_cv_c_inline in
21044 case $ac_cv_c_inline in
21046 *) ac_val
=$ac_cv_c_inline;;
21048 cat >>confdefs.h
<<_ACEOF
21049 #ifndef __cplusplus
21050 #define inline $ac_val
21056 ac_fn_c_check_type
"$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
21058 if test "x$ac_cv_type_request_sense" = xyes
21061 printf "%s\n" "#define HAVE_REQUEST_SENSE 1" >>confdefs.h
21067 ac_fn_c_check_type
"$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
21068 #include <sys/socket.h>
21069 #ifdef HAVE_SYS_SOCKETVAR_H
21070 #include <sys/socketvar.h>
21072 #ifdef HAVE_NET_ROUTE_H
21073 #include <net/route.h>
21075 #ifdef HAVE_NETINET_IN_H
21076 #include <netinet/in.h>
21078 #ifdef HAVE_NETINET_IN_SYSTM_H
21079 #include <netinet/in_systm.h>
21081 #ifdef HAVE_NETINET_IP_H
21082 #include <netinet/ip.h>
21084 #ifdef HAVE_NETINET_IN_PCB_H
21085 #include <netinet/in_pcb.h>
21088 if test "x$ac_cv_type_struct_xinpgen" = xyes
21091 printf "%s\n" "#define HAVE_STRUCT_XINPGEN 1" >>confdefs.h
21097 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
21098 printf %s
"checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
21099 if test ${wine_cv_linux_gethostbyname_r_6+y}
21101 printf %s
"(cached) " >&6
21103 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21104 /* end confdefs.h. */
21112 struct hostent *result;
21119 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
21120 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
21126 if ac_fn_c_try_link
"$LINENO"
21128 wine_cv_linux_gethostbyname_r_6
=yes
21130 wine_cv_linux_gethostbyname_r_6
=no
21133 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
21134 conftest
$ac_exeext conftest.
$ac_ext
21137 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
21138 printf "%s\n" "$wine_cv_linux_gethostbyname_r_6" >&6; }
21139 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
21142 printf "%s\n" "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
21146 ac_fn_c_check_member
"$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
21147 #include <sys/socket.h>
21148 #ifdef HAVE_SYS_UN_H
21149 # include <sys/un.h>
21152 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes
21155 printf "%s\n" "#define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1" >>confdefs.h
21161 ac_fn_c_check_member
"$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
21162 #ifdef HAVE_SCSI_SG_H
21163 #include <scsi/sg.h>
21166 if test "x$ac_cv_member_scsireq_t_cmd" = xyes
21169 printf "%s\n" "#define HAVE_SCSIREQ_T_CMD 1" >>confdefs.h
21173 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>
21174 #ifdef HAVE_SCSI_SG_H
21175 #include <scsi/sg.h>
21178 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes
21181 printf "%s\n" "#define HAVE_SG_IO_HDR_T_INTERFACE_ID 1" >>confdefs.h
21187 ac_fn_c_check_member
"$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
21189 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes
21192 printf "%s\n" "#define HAVE_SIGINFO_T_SI_FD 1" >>confdefs.h
21198 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
21199 #ifdef HAVE_SYS_MTIO_H
21200 #include <sys/mtio.h>
21203 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes
21206 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_BLKSIZ 1" >>confdefs.h
21210 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
21211 #ifdef HAVE_SYS_MTIO_H
21212 #include <sys/mtio.h>
21215 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes
21218 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_GSTAT 1" >>confdefs.h
21222 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
21223 #ifdef HAVE_SYS_MTIO_H
21224 #include <sys/mtio.h>
21227 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes
21230 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_BLKNO 1" >>confdefs.h
21236 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
21237 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes
21240 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_MTIM 1" >>confdefs.h
21244 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
21245 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes
21248 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_MTIMESPEC 1" >>confdefs.h
21252 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
21253 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes
21256 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_CTIM 1" >>confdefs.h
21260 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
21261 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes
21264 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_CTIMESPEC 1" >>confdefs.h
21268 ac_fn_c_check_member
"$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
21269 if test "x$ac_cv_member_struct_stat_st_atim" = xyes
21272 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_ATIM 1" >>confdefs.h
21276 ac_fn_c_check_member
"$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
21277 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes
21280 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_ATIMESPEC 1" >>confdefs.h
21284 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
21285 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes
21288 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIME 1" >>confdefs.h
21292 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
21293 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes
21296 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIM 1" >>confdefs.h
21300 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
21301 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes
21304 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1" >>confdefs.h
21308 ac_fn_c_check_member
"$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
21309 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes
21312 printf "%s\n" "#define HAVE_STRUCT_STAT___ST_BIRTHTIME 1" >>confdefs.h
21316 ac_fn_c_check_member
"$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
21317 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes
21320 printf "%s\n" "#define HAVE_STRUCT_STAT___ST_BIRTHTIM 1" >>confdefs.h
21326 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>
21327 #ifdef HAVE_NETINET_IN_H
21328 #include <netinet/in.h>
21331 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes
21334 printf "%s\n" "#define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1" >>confdefs.h
21340 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
21341 #include <resolv.h>
21344 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes
21347 printf "%s\n" "#define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1" >>confdefs.h
21353 ac_fn_c_check_member
"$LINENO" "struct in6_pktinfo" "ipi6_addr" "ac_cv_member_struct_in6_pktinfo_ipi6_addr" "#ifdef HAVE_NETINET_IN_H
21354 #include <netinet/in.h>
21357 if test "x$ac_cv_member_struct_in6_pktinfo_ipi6_addr" = xyes
21360 printf "%s\n" "#define HAVE_STRUCT_IN6_PKTINFO_IPI6_ADDR 1" >>confdefs.h
21366 ac_fn_c_check_member
"$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#include <sys/types.h>
21367 #ifdef HAVE_SYS_SOCKETVAR_H
21368 #include <sys/socketvar.h>
21370 #ifdef HAVE_NETINET_IN_H
21371 #include <netinet/in.h>
21373 #ifdef HAVE_NETINET_IP_VAR_H
21374 #include <netinet/ip_var.h>
21377 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes
21380 printf "%s\n" "#define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1" >>confdefs.h
21386 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
21387 #include <netinet/ip_var.h>
21390 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes
21393 printf "%s\n" "#define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1" >>confdefs.h
21399 ac_fn_c_check_member
"$LINENO" "struct ip6stat" "ip6s_total" "ac_cv_member_struct_ip6stat_ip6s_total" "#include <sys/types.h>
21400 #ifdef HAVE_SYS_SOCKETVAR_H
21401 #include <sys/socketvar.h>
21403 #ifdef HAVE_NETINET_IN_H
21404 #include <netinet/in.h>
21406 #ifdef HAVE_NETINET6_IP6_VAR_H
21407 #include <netinet6/ip6_var.h>
21410 if test "x$ac_cv_member_struct_ip6stat_ip6s_total" = xyes
21413 printf "%s\n" "#define HAVE_STRUCT_IP6STAT_IP6S_TOTAL 1" >>confdefs.h
21419 ac_fn_c_check_member
"$LINENO" "struct icmpstat" "icps_error" "ac_cv_member_struct_icmpstat_icps_error" "#include <sys/types.h>
21420 #ifdef HAVE_SYS_SOCKETVAR_H
21421 #include <sys/socketvar.h>
21423 #ifdef HAVE_NETINET_IN_H
21424 #include <netinet/in.h>
21426 #ifdef HAVE_NETINET_IP_H
21427 #include <netinet/ip.h>
21429 #ifdef HAVE_NETINET_IP_ICMP_H
21430 #include <netinet/ip_icmp.h>
21432 #ifdef HAVE_NETINET_ICMP_VAR_H
21433 #include <netinet/icmp_var.h>
21436 if test "x$ac_cv_member_struct_icmpstat_icps_error" = xyes
21439 printf "%s\n" "#define HAVE_STRUCT_ICMPSTAT_ICPS_ERROR 1" >>confdefs.h
21445 ac_fn_c_check_member
"$LINENO" "struct icmp6stat" "icp6s_error" "ac_cv_member_struct_icmp6stat_icp6s_error" "#include <sys/types.h>
21446 #ifdef HAVE_SYS_SOCKETVAR_H
21447 #include <sys/socketvar.h>
21449 #ifdef HAVE_NETINET_IN_H
21450 #include <netinet/in.h>
21452 #ifdef HAVE_NETINET_ICMP6_H
21453 #include <netinet/icmp6.h>
21456 if test "x$ac_cv_member_struct_icmp6stat_icp6s_error" = xyes
21459 printf "%s\n" "#define HAVE_STRUCT_ICMP6STAT_ICP6S_ERROR 1" >>confdefs.h
21465 ac_fn_c_check_member
"$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#include <sys/types.h>
21466 #ifdef HAVE_SYS_SOCKETVAR_H
21467 #include <sys/socketvar.h>
21469 #ifdef HAVE_NETINET_IN_H
21470 #include <netinet/in.h>
21472 #ifdef HAVE_NETINET_TCP_H
21473 #include <netinet/tcp.h>
21475 #ifdef HAVE_NETINET_TCP_VAR_H
21476 #include <netinet/tcp_var.h>
21479 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes
21482 printf "%s\n" "#define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1" >>confdefs.h
21488 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
21489 #include <netinet/tcp_var.h>
21492 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes
21495 printf "%s\n" "#define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1" >>confdefs.h
21501 ac_fn_c_check_member
"$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#include <sys/types.h>
21502 #ifdef HAVE_NETINET_IN_H
21503 #include <netinet/in.h>
21505 #ifdef HAVE_NETINET_IP_VAR_H
21506 #include <netinet/ip_var.h>
21508 #ifdef HAVE_NETINET_UDP_H
21509 #include <netinet/udp.h>
21511 #ifdef HAVE_NETINET_UDP_VAR_H
21512 #include <netinet/udp_var.h>
21515 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes
21518 printf "%s\n" "#define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1" >>confdefs.h
21524 ac_fn_c_check_member
"$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#include <sys/types.h>
21525 #ifdef HAVE_NET_IF_H
21526 # include <net/if.h>
21529 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes
21532 printf "%s\n" "#define HAVE_STRUCT_IFREQ_IFR_HWADDR 1" >>confdefs.h
21538 ac_fn_c_check_member
"$LINENO" "struct sysinfo" "totalram" "ac_cv_member_struct_sysinfo_totalram" "#ifdef HAVE_SYS_SYSINFO_H
21539 # include <sys/sysinfo.h>
21542 if test "x$ac_cv_member_struct_sysinfo_totalram" = xyes
21545 printf "%s\n" "#define HAVE_STRUCT_SYSINFO_TOTALRAM 1" >>confdefs.h
21549 ac_fn_c_check_member
"$LINENO" "struct sysinfo" "mem_unit" "ac_cv_member_struct_sysinfo_mem_unit" "#ifdef HAVE_SYS_SYSINFO_H
21550 # include <sys/sysinfo.h>
21553 if test "x$ac_cv_member_struct_sysinfo_mem_unit" = xyes
21556 printf "%s\n" "#define HAVE_STRUCT_SYSINFO_MEM_UNIT 1" >>confdefs.h
21562 LIBS
="$ac_save_LIBS"
21564 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
21565 printf %s
"checking for __builtin_popcount... " >&6; }
21566 if test ${ac_cv_have___builtin_popcount+y}
21568 printf %s
"(cached) " >&6
21570 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21571 /* end confdefs.h. */
21576 return __builtin_popcount(1)
21581 if ac_fn_c_try_link
"$LINENO"
21583 ac_cv_have___builtin_popcount
="yes"
21585 ac_cv_have___builtin_popcount
="no"
21587 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
21588 conftest
$ac_exeext conftest.
$ac_ext
21590 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
21591 printf "%s\n" "$ac_cv_have___builtin_popcount" >&6; }
21592 if test "$ac_cv_have___builtin_popcount" = "yes"
21595 printf "%s\n" "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
21599 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __clear_cache" >&5
21600 printf %s
"checking for __clear_cache... " >&6; }
21601 if test ${ac_cv_have___clear_cache+y}
21603 printf %s
"(cached) " >&6
21605 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21606 /* end confdefs.h. */
21611 __clear_cache((void*)0, (void*)0); return 0;
21616 if ac_fn_c_try_link
"$LINENO"
21618 ac_cv_have___clear_cache
="yes"
21620 ac_cv_have___clear_cache
="no"
21622 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
21623 conftest
$ac_exeext conftest.
$ac_ext
21625 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___clear_cache" >&5
21626 printf "%s\n" "$ac_cv_have___clear_cache" >&6; }
21627 if test "$ac_cv_have___clear_cache" = "yes"
21630 printf "%s\n" "#define HAVE___CLEAR_CACHE 1" >>confdefs.h
21636 *i
[3456789]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
21637 printf %s
"checking whether we need to define __i386__... " >&6; }
21638 if test ${ac_cv_cpp_def___i386__+y}
21640 printf %s
"(cached) " >&6
21642 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21643 /* end confdefs.h. */
21648 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21649 $EGREP "yes" >/dev
/null
2>&1
21651 ac_cv_cpp_def___i386__
=yes
21653 ac_cv_cpp_def___i386__
=no
21658 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
21659 printf "%s\n" "$ac_cv_cpp_def___i386__" >&6; }
21660 if test "x$ac_cv_cpp_def___i386__" = xyes
21662 CFLAGS
="$CFLAGS -D__i386__"
21663 LINTFLAGS
="$LINTFLAGS -D__i386__"
21665 *x86_64
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
21666 printf %s
"checking whether we need to define __x86_64__... " >&6; }
21667 if test ${ac_cv_cpp_def___x86_64__+y}
21669 printf %s
"(cached) " >&6
21671 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21672 /* end confdefs.h. */
21677 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21678 $EGREP "yes" >/dev
/null
2>&1
21680 ac_cv_cpp_def___x86_64__
=yes
21682 ac_cv_cpp_def___x86_64__
=no
21687 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
21688 printf "%s\n" "$ac_cv_cpp_def___x86_64__" >&6; }
21689 if test "x$ac_cv_cpp_def___x86_64__" = xyes
21691 CFLAGS
="$CFLAGS -D__x86_64__"
21692 LINTFLAGS
="$LINTFLAGS -D__x86_64__"
21694 *sparc64
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
21695 printf %s
"checking whether we need to define __sparc64__... " >&6; }
21696 if test ${ac_cv_cpp_def___sparc64__+y}
21698 printf %s
"(cached) " >&6
21700 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21701 /* end confdefs.h. */
21702 #ifndef __sparc64__
21706 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21707 $EGREP "yes" >/dev
/null
2>&1
21709 ac_cv_cpp_def___sparc64__
=yes
21711 ac_cv_cpp_def___sparc64__
=no
21716 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
21717 printf "%s\n" "$ac_cv_cpp_def___sparc64__" >&6; }
21718 if test "x$ac_cv_cpp_def___sparc64__" = xyes
21720 CFLAGS
="$CFLAGS -D__sparc64__"
21721 LINTFLAGS
="$LINTFLAGS -D__sparc64__"
21723 *sparc
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
21724 printf %s
"checking whether we need to define __sparc__... " >&6; }
21725 if test ${ac_cv_cpp_def___sparc__+y}
21727 printf %s
"(cached) " >&6
21729 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21730 /* end confdefs.h. */
21735 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21736 $EGREP "yes" >/dev
/null
2>&1
21738 ac_cv_cpp_def___sparc__
=yes
21740 ac_cv_cpp_def___sparc__
=no
21745 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
21746 printf "%s\n" "$ac_cv_cpp_def___sparc__" >&6; }
21747 if test "x$ac_cv_cpp_def___sparc__" = xyes
21749 CFLAGS
="$CFLAGS -D__sparc__"
21750 LINTFLAGS
="$LINTFLAGS -D__sparc__"
21752 *powerpc64
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
21753 printf %s
"checking whether we need to define __powerpc64__... " >&6; }
21754 if test ${ac_cv_cpp_def___powerpc64__+y}
21756 printf %s
"(cached) " >&6
21758 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21759 /* end confdefs.h. */
21760 #ifndef __powerpc64__
21764 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21765 $EGREP "yes" >/dev
/null
2>&1
21767 ac_cv_cpp_def___powerpc64__
=yes
21769 ac_cv_cpp_def___powerpc64__
=no
21774 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
21775 printf "%s\n" "$ac_cv_cpp_def___powerpc64__" >&6; }
21776 if test "x$ac_cv_cpp_def___powerpc64__" = xyes
21778 CFLAGS
="$CFLAGS -D__powerpc64__"
21779 LINTFLAGS
="$LINTFLAGS -D__powerpc64__"
21781 *powerpc
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
21782 printf %s
"checking whether we need to define __powerpc__... " >&6; }
21783 if test ${ac_cv_cpp_def___powerpc__+y}
21785 printf %s
"(cached) " >&6
21787 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21788 /* end confdefs.h. */
21789 #ifndef __powerpc__
21793 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21794 $EGREP "yes" >/dev
/null
2>&1
21796 ac_cv_cpp_def___powerpc__
=yes
21798 ac_cv_cpp_def___powerpc__
=no
21803 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
21804 printf "%s\n" "$ac_cv_cpp_def___powerpc__" >&6; }
21805 if test "x$ac_cv_cpp_def___powerpc__" = xyes
21807 CFLAGS
="$CFLAGS -D__powerpc__"
21808 LINTFLAGS
="$LINTFLAGS -D__powerpc__"
21810 *aarch64
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
21811 printf %s
"checking whether we need to define __aarch64__... " >&6; }
21812 if test ${ac_cv_cpp_def___aarch64__+y}
21814 printf %s
"(cached) " >&6
21816 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21817 /* end confdefs.h. */
21818 #ifndef __aarch64__
21822 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21823 $EGREP "yes" >/dev
/null
2>&1
21825 ac_cv_cpp_def___aarch64__
=yes
21827 ac_cv_cpp_def___aarch64__
=no
21832 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
21833 printf "%s\n" "$ac_cv_cpp_def___aarch64__" >&6; }
21834 if test "x$ac_cv_cpp_def___aarch64__" = xyes
21836 CFLAGS
="$CFLAGS -D__aarch64__"
21837 LINTFLAGS
="$LINTFLAGS -D__aarch64__"
21839 *arm
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
21840 printf %s
"checking whether we need to define __arm__... " >&6; }
21841 if test ${ac_cv_cpp_def___arm__+y}
21843 printf %s
"(cached) " >&6
21845 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21846 /* end confdefs.h. */
21851 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21852 $EGREP "yes" >/dev
/null
2>&1
21854 ac_cv_cpp_def___arm__
=yes
21856 ac_cv_cpp_def___arm__
=no
21861 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
21862 printf "%s\n" "$ac_cv_cpp_def___arm__" >&6; }
21863 if test "x$ac_cv_cpp_def___arm__" = xyes
21865 CFLAGS
="$CFLAGS -D__arm__"
21866 LINTFLAGS
="$LINTFLAGS -D__arm__"
21870 case $host_vendor in
21871 *sun
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
21872 printf %s
"checking whether we need to define __sun__... " >&6; }
21873 if test ${ac_cv_cpp_def___sun__+y}
21875 printf %s
"(cached) " >&6
21877 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21878 /* end confdefs.h. */
21883 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21884 $EGREP "yes" >/dev
/null
2>&1
21886 ac_cv_cpp_def___sun__
=yes
21888 ac_cv_cpp_def___sun__
=no
21893 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
21894 printf "%s\n" "$ac_cv_cpp_def___sun__" >&6; }
21895 if test "x$ac_cv_cpp_def___sun__" = xyes
21897 CFLAGS
="$CFLAGS -D__sun__"
21898 LINTFLAGS
="$LINTFLAGS -D__sun__"
21903 enable_win16
=${enable_win16:-i386}
21904 enable_vcruntime140_1
=${enable_vcruntime140_1:-x86_64,arm64ec}
21906 if test -n "$PE_ARCHS"
21908 enable_wow64
=${enable_wow64:-aarch64,x86_64}
21909 enable_wow64win
=${enable_wow64win:-aarch64,x86_64}
21910 enable_wow64cpu
=${enable_wow64cpu:-x86_64}
21912 enable_wow64
=${enable_wow64:-no}
21913 enable_wow64win
=${enable_wow64win:-no}
21914 enable_wow64cpu
=${enable_wow64cpu:-no}
21917 enable_cmd
=${enable_cmd:-yes}
21918 enable_dllhost
=${enable_dllhost:-yes}
21919 enable_dpnsvr
=${enable_dpnsvr:-i386,x86_64,arm64ec}
21920 enable_dxdiag
=${enable_dxdiag:-yes}
21921 enable_msiexec
=${enable_msiexec:-yes}
21922 enable_netsh
=${enable_netsh:-yes}
21923 enable_regsvr32
=${enable_regsvr32:-yes}
21924 enable_rundll32
=${enable_rundll32:-yes}
21926 enable_winetest
=${enable_winetest:-$enable_tests}
21932 ac_config_commands
="$ac_config_commands include/stamp-h"
21934 printf %s
"creating Makefile rules..." >&6
21937 test "x$enable_silent_rules" = xyes
&& makedep_flags
="$makedep_flags -S"
21940 test "$srcdir" = . || wine_srcdir
="$srcdir/"
21942 ac_config_links
="$ac_config_links wine:tools/winewrapper"
21943 wine_fn_config_symlink wine
21944 if test "$wine_binary" = wine64
-o -n "$with_wine64"; then
21945 ac_config_links
="$ac_config_links wine64:tools/winewrapper"
21946 wine_fn_config_symlink wine64
21949 wine_fn_config_makefile dlls
/acledit enable_acledit
21950 wine_fn_config_makefile dlls
/aclui enable_aclui
21951 wine_fn_config_makefile dlls
/activeds.tlb enable_activeds_tlb
21952 wine_fn_config_makefile dlls
/activeds enable_activeds
21953 wine_fn_config_makefile dlls
/activeds
/tests enable_tests
21954 wine_fn_config_makefile dlls
/actxprxy enable_actxprxy
21955 wine_fn_config_makefile dlls
/adsldp enable_adsldp
21956 wine_fn_config_makefile dlls
/adsldp
/tests enable_tests
21957 wine_fn_config_makefile dlls
/adsldpc enable_adsldpc
21958 wine_fn_config_makefile dlls
/advapi32 enable_advapi32
21959 wine_fn_config_makefile dlls
/advapi32
/tests enable_tests
21960 wine_fn_config_makefile dlls
/advpack enable_advpack
21961 wine_fn_config_makefile dlls
/advpack
/tests enable_tests
21962 wine_fn_config_makefile dlls
/amsi enable_amsi
21963 wine_fn_config_makefile dlls
/amstream enable_amstream
21964 wine_fn_config_makefile dlls
/amstream
/tests enable_tests
21965 wine_fn_config_makefile dlls
/apisetschema enable_apisetschema
21966 wine_fn_config_makefile dlls
/apphelp enable_apphelp
21967 wine_fn_config_makefile dlls
/apphelp
/tests enable_tests
21968 wine_fn_config_makefile dlls
/appwiz.cpl enable_appwiz_cpl
21969 wine_fn_config_makefile dlls
/appxdeploymentclient enable_appxdeploymentclient
21970 wine_fn_config_makefile dlls
/atl enable_atl
21971 wine_fn_config_makefile dlls
/atl
/tests enable_tests
21972 wine_fn_config_makefile dlls
/atl100 enable_atl100
21973 wine_fn_config_makefile dlls
/atl100
/tests enable_tests
21974 wine_fn_config_makefile dlls
/atl110 enable_atl110
21975 wine_fn_config_makefile dlls
/atl110
/tests enable_tests
21976 wine_fn_config_makefile dlls
/atl80 enable_atl80
21977 wine_fn_config_makefile dlls
/atl80
/tests enable_tests
21978 wine_fn_config_makefile dlls
/atl90 enable_atl90
21979 wine_fn_config_makefile dlls
/atlthunk enable_atlthunk
21980 wine_fn_config_makefile dlls
/atlthunk
/tests enable_tests
21981 wine_fn_config_makefile dlls
/atmlib enable_atmlib
21982 wine_fn_config_makefile dlls
/authz enable_authz
21983 wine_fn_config_makefile dlls
/avicap32 enable_avicap32
21984 wine_fn_config_makefile dlls
/avifil32 enable_avifil32
21985 wine_fn_config_makefile dlls
/avifil32
/tests enable_tests
21986 wine_fn_config_makefile dlls
/avifile.dll16 enable_win16
21987 wine_fn_config_makefile dlls
/avrt enable_avrt
21988 wine_fn_config_makefile dlls
/bcp47langs enable_bcp47langs
21989 wine_fn_config_makefile dlls
/bcrypt enable_bcrypt
21990 wine_fn_config_makefile dlls
/bcrypt
/tests enable_tests
21991 wine_fn_config_makefile dlls
/bcryptprimitives enable_bcryptprimitives
21992 wine_fn_config_makefile dlls
/bluetoothapis enable_bluetoothapis
21993 wine_fn_config_makefile dlls
/browseui enable_browseui
21994 wine_fn_config_makefile dlls
/browseui
/tests enable_tests
21995 wine_fn_config_makefile dlls
/bthprops.cpl enable_bthprops_cpl
21996 wine_fn_config_makefile dlls
/cabinet enable_cabinet
21997 wine_fn_config_makefile dlls
/cabinet
/tests enable_tests
21998 wine_fn_config_makefile dlls
/capi2032 enable_capi2032
21999 wine_fn_config_makefile dlls
/cards enable_cards
22000 wine_fn_config_makefile dlls
/cdosys enable_cdosys
22001 wine_fn_config_makefile dlls
/cfgmgr32 enable_cfgmgr32
22002 wine_fn_config_makefile dlls
/cfgmgr32
/tests enable_tests
22003 wine_fn_config_makefile dlls
/clusapi enable_clusapi
22004 wine_fn_config_makefile dlls
/cng.sys enable_cng_sys
22005 wine_fn_config_makefile dlls
/combase enable_combase
22006 wine_fn_config_makefile dlls
/combase
/tests enable_tests
22007 wine_fn_config_makefile dlls
/comcat enable_comcat
22008 wine_fn_config_makefile dlls
/comcat
/tests enable_tests
22009 wine_fn_config_makefile dlls
/comctl32 enable_comctl32
22010 wine_fn_config_makefile dlls
/comctl32
/tests enable_tests
22011 wine_fn_config_makefile dlls
/comdlg32 enable_comdlg32
22012 wine_fn_config_makefile dlls
/comdlg32
/tests enable_tests
22013 wine_fn_config_makefile dlls
/coml2 enable_coml2
22014 wine_fn_config_makefile dlls
/comm.drv16 enable_win16
22015 wine_fn_config_makefile dlls
/commdlg.dll16 enable_win16
22016 wine_fn_config_makefile dlls
/compobj.dll16 enable_win16
22017 wine_fn_config_makefile dlls
/compstui enable_compstui
22018 wine_fn_config_makefile dlls
/compstui
/tests enable_tests
22019 wine_fn_config_makefile dlls
/comsvcs enable_comsvcs
22020 wine_fn_config_makefile dlls
/comsvcs
/tests enable_tests
22021 wine_fn_config_makefile dlls
/concrt140 enable_concrt140
22022 wine_fn_config_makefile dlls
/concrt140
/tests enable_tests
22023 wine_fn_config_makefile dlls
/connect enable_connect
22024 wine_fn_config_makefile dlls
/coremessaging enable_coremessaging
22025 wine_fn_config_makefile dlls
/credui enable_credui
22026 wine_fn_config_makefile dlls
/credui
/tests enable_tests
22027 wine_fn_config_makefile dlls
/crtdll enable_crtdll
22028 wine_fn_config_makefile dlls
/crypt32 enable_crypt32
22029 wine_fn_config_makefile dlls
/crypt32
/tests enable_tests
22030 wine_fn_config_makefile dlls
/cryptdlg enable_cryptdlg
22031 wine_fn_config_makefile dlls
/cryptdll enable_cryptdll
22032 wine_fn_config_makefile dlls
/cryptext enable_cryptext
22033 wine_fn_config_makefile dlls
/cryptnet enable_cryptnet
22034 wine_fn_config_makefile dlls
/cryptnet
/tests enable_tests
22035 wine_fn_config_makefile dlls
/cryptowinrt enable_cryptowinrt
22036 wine_fn_config_makefile dlls
/cryptowinrt
/tests enable_tests
22037 wine_fn_config_makefile dlls
/cryptsp enable_cryptsp
22038 wine_fn_config_makefile dlls
/cryptui enable_cryptui
22039 wine_fn_config_makefile dlls
/cryptui
/tests enable_tests
22040 wine_fn_config_makefile dlls
/ctapi32 enable_ctapi32
22041 wine_fn_config_makefile dlls
/ctl3d.dll16 enable_win16
22042 wine_fn_config_makefile dlls
/ctl3d32 enable_ctl3d32
22043 wine_fn_config_makefile dlls
/ctl3dv2.dll16 enable_win16
22044 wine_fn_config_makefile dlls
/d2d1 enable_d2d1
22045 wine_fn_config_makefile dlls
/d2d
1/tests enable_tests
22046 wine_fn_config_makefile dlls
/d3d10 enable_d3d10
22047 wine_fn_config_makefile dlls
/d3d10
/tests enable_tests
22048 wine_fn_config_makefile dlls
/d3d10_1 enable_d3d10_1
22049 wine_fn_config_makefile dlls
/d3d10_
1/tests enable_tests
22050 wine_fn_config_makefile dlls
/d3d10core enable_d3d10core
22051 wine_fn_config_makefile dlls
/d3d10core
/tests enable_tests
22052 wine_fn_config_makefile dlls
/d3d11 enable_d3d11
22053 wine_fn_config_makefile dlls
/d3d11
/tests enable_tests
22054 wine_fn_config_makefile dlls
/d3d12 enable_d3d12
22055 wine_fn_config_makefile dlls
/d3d12
/tests enable_tests
22056 wine_fn_config_makefile dlls
/d3d12core enable_d3d12core
22057 wine_fn_config_makefile dlls
/d3d8 enable_d3d8
22058 wine_fn_config_makefile dlls
/d3d
8/tests enable_tests
22059 wine_fn_config_makefile dlls
/d3d8thk enable_d3d8thk
22060 wine_fn_config_makefile dlls
/d3d9 enable_d3d9
22061 wine_fn_config_makefile dlls
/d3d
9/tests enable_tests
22062 wine_fn_config_makefile dlls
/d3dcompiler_33 enable_d3dcompiler_33
22063 wine_fn_config_makefile dlls
/d3dcompiler_34 enable_d3dcompiler_34
22064 wine_fn_config_makefile dlls
/d3dcompiler_35 enable_d3dcompiler_35
22065 wine_fn_config_makefile dlls
/d3dcompiler_36 enable_d3dcompiler_36
22066 wine_fn_config_makefile dlls
/d3dcompiler_37 enable_d3dcompiler_37
22067 wine_fn_config_makefile dlls
/d3dcompiler_38 enable_d3dcompiler_38
22068 wine_fn_config_makefile dlls
/d3dcompiler_39 enable_d3dcompiler_39
22069 wine_fn_config_makefile dlls
/d3dcompiler_40 enable_d3dcompiler_40
22070 wine_fn_config_makefile dlls
/d3dcompiler_41 enable_d3dcompiler_41
22071 wine_fn_config_makefile dlls
/d3dcompiler_42 enable_d3dcompiler_42
22072 wine_fn_config_makefile dlls
/d3dcompiler_43 enable_d3dcompiler_43
22073 wine_fn_config_makefile dlls
/d3dcompiler_43
/tests enable_tests
22074 wine_fn_config_makefile dlls
/d3dcompiler_46 enable_d3dcompiler_46
22075 wine_fn_config_makefile dlls
/d3dcompiler_46
/tests enable_tests
22076 wine_fn_config_makefile dlls
/d3dcompiler_47 enable_d3dcompiler_47
22077 wine_fn_config_makefile dlls
/d3dcompiler_47
/tests enable_tests
22078 wine_fn_config_makefile dlls
/d3dim enable_d3dim
22079 wine_fn_config_makefile dlls
/d3dim700 enable_d3dim700
22080 wine_fn_config_makefile dlls
/d3drm enable_d3drm
22081 wine_fn_config_makefile dlls
/d3drm
/tests enable_tests
22082 wine_fn_config_makefile dlls
/d3dx10_33 enable_d3dx10_33
22083 wine_fn_config_makefile dlls
/d3dx10_34 enable_d3dx10_34
22084 wine_fn_config_makefile dlls
/d3dx10_34
/tests enable_tests
22085 wine_fn_config_makefile dlls
/d3dx10_35 enable_d3dx10_35
22086 wine_fn_config_makefile dlls
/d3dx10_35
/tests enable_tests
22087 wine_fn_config_makefile dlls
/d3dx10_36 enable_d3dx10_36
22088 wine_fn_config_makefile dlls
/d3dx10_36
/tests enable_tests
22089 wine_fn_config_makefile dlls
/d3dx10_37 enable_d3dx10_37
22090 wine_fn_config_makefile dlls
/d3dx10_37
/tests enable_tests
22091 wine_fn_config_makefile dlls
/d3dx10_38 enable_d3dx10_38
22092 wine_fn_config_makefile dlls
/d3dx10_38
/tests enable_tests
22093 wine_fn_config_makefile dlls
/d3dx10_39 enable_d3dx10_39
22094 wine_fn_config_makefile dlls
/d3dx10_39
/tests enable_tests
22095 wine_fn_config_makefile dlls
/d3dx10_40 enable_d3dx10_40
22096 wine_fn_config_makefile dlls
/d3dx10_40
/tests enable_tests
22097 wine_fn_config_makefile dlls
/d3dx10_41 enable_d3dx10_41
22098 wine_fn_config_makefile dlls
/d3dx10_41
/tests enable_tests
22099 wine_fn_config_makefile dlls
/d3dx10_42 enable_d3dx10_42
22100 wine_fn_config_makefile dlls
/d3dx10_42
/tests enable_tests
22101 wine_fn_config_makefile dlls
/d3dx10_43 enable_d3dx10_43
22102 wine_fn_config_makefile dlls
/d3dx10_43
/tests enable_tests
22103 wine_fn_config_makefile dlls
/d3dx11_42 enable_d3dx11_42
22104 wine_fn_config_makefile dlls
/d3dx11_42
/tests enable_tests
22105 wine_fn_config_makefile dlls
/d3dx11_43 enable_d3dx11_43
22106 wine_fn_config_makefile dlls
/d3dx11_43
/tests enable_tests
22107 wine_fn_config_makefile dlls
/d3dx9_24 enable_d3dx9_24
22108 wine_fn_config_makefile dlls
/d3dx9_25 enable_d3dx9_25
22109 wine_fn_config_makefile dlls
/d3dx9_26 enable_d3dx9_26
22110 wine_fn_config_makefile dlls
/d3dx9_27 enable_d3dx9_27
22111 wine_fn_config_makefile dlls
/d3dx9_28 enable_d3dx9_28
22112 wine_fn_config_makefile dlls
/d3dx9_29 enable_d3dx9_29
22113 wine_fn_config_makefile dlls
/d3dx9_30 enable_d3dx9_30
22114 wine_fn_config_makefile dlls
/d3dx9_31 enable_d3dx9_31
22115 wine_fn_config_makefile dlls
/d3dx9_32 enable_d3dx9_32
22116 wine_fn_config_makefile dlls
/d3dx9_33 enable_d3dx9_33
22117 wine_fn_config_makefile dlls
/d3dx9_34 enable_d3dx9_34
22118 wine_fn_config_makefile dlls
/d3dx9_35 enable_d3dx9_35
22119 wine_fn_config_makefile dlls
/d3dx9_36 enable_d3dx9_36
22120 wine_fn_config_makefile dlls
/d3dx9_36
/tests enable_tests
22121 wine_fn_config_makefile dlls
/d3dx9_37 enable_d3dx9_37
22122 wine_fn_config_makefile dlls
/d3dx9_38 enable_d3dx9_38
22123 wine_fn_config_makefile dlls
/d3dx9_39 enable_d3dx9_39
22124 wine_fn_config_makefile dlls
/d3dx9_40 enable_d3dx9_40
22125 wine_fn_config_makefile dlls
/d3dx9_41 enable_d3dx9_41
22126 wine_fn_config_makefile dlls
/d3dx9_42 enable_d3dx9_42
22127 wine_fn_config_makefile dlls
/d3dx9_43 enable_d3dx9_43
22128 wine_fn_config_makefile dlls
/d3dxof enable_d3dxof
22129 wine_fn_config_makefile dlls
/d3dxof
/tests enable_tests
22130 wine_fn_config_makefile dlls
/davclnt enable_davclnt
22131 wine_fn_config_makefile dlls
/dbgeng enable_dbgeng
22132 wine_fn_config_makefile dlls
/dbgeng
/tests enable_tests
22133 wine_fn_config_makefile dlls
/dbghelp enable_dbghelp
22134 wine_fn_config_makefile dlls
/dbghelp
/tests enable_tests
22135 wine_fn_config_makefile dlls
/dciman32 enable_dciman32
22136 wine_fn_config_makefile dlls
/dcomp enable_dcomp
22137 wine_fn_config_makefile dlls
/ddeml.dll16 enable_win16
22138 wine_fn_config_makefile dlls
/ddraw enable_ddraw
22139 wine_fn_config_makefile dlls
/ddraw
/tests enable_tests
22140 wine_fn_config_makefile dlls
/ddrawex enable_ddrawex
22141 wine_fn_config_makefile dlls
/ddrawex
/tests enable_tests
22142 wine_fn_config_makefile dlls
/devenum enable_devenum
22143 wine_fn_config_makefile dlls
/devenum
/tests enable_tests
22144 wine_fn_config_makefile dlls
/dhcpcsvc enable_dhcpcsvc
22145 wine_fn_config_makefile dlls
/dhcpcsvc
/tests enable_tests
22146 wine_fn_config_makefile dlls
/dhcpcsvc6 enable_dhcpcsvc6
22147 wine_fn_config_makefile dlls
/dhtmled.ocx enable_dhtmled_ocx
22148 wine_fn_config_makefile dlls
/diasymreader enable_diasymreader
22149 wine_fn_config_makefile dlls
/difxapi enable_difxapi
22150 wine_fn_config_makefile dlls
/dinput enable_dinput
22151 wine_fn_config_makefile dlls
/dinput
/tests enable_tests
22152 wine_fn_config_makefile dlls
/dinput8 enable_dinput8
22153 wine_fn_config_makefile dlls
/directmanipulation enable_directmanipulation
22154 wine_fn_config_makefile dlls
/directmanipulation
/tests enable_tests
22155 wine_fn_config_makefile dlls
/dispdib.dll16 enable_win16
22156 wine_fn_config_makefile dlls
/dispex enable_dispex
22157 wine_fn_config_makefile dlls
/dispex
/tests enable_tests
22158 wine_fn_config_makefile dlls
/display.drv16 enable_win16
22159 wine_fn_config_makefile dlls
/dmband enable_dmband
22160 wine_fn_config_makefile dlls
/dmband
/tests enable_tests
22161 wine_fn_config_makefile dlls
/dmcompos enable_dmcompos
22162 wine_fn_config_makefile dlls
/dmcompos
/tests enable_tests
22163 wine_fn_config_makefile dlls
/dmime enable_dmime
22164 wine_fn_config_makefile dlls
/dmime
/tests enable_tests
22165 wine_fn_config_makefile dlls
/dmloader enable_dmloader
22166 wine_fn_config_makefile dlls
/dmloader
/tests enable_tests
22167 wine_fn_config_makefile dlls
/dmscript enable_dmscript
22168 wine_fn_config_makefile dlls
/dmscript
/tests enable_tests
22169 wine_fn_config_makefile dlls
/dmstyle enable_dmstyle
22170 wine_fn_config_makefile dlls
/dmstyle
/tests enable_tests
22171 wine_fn_config_makefile dlls
/dmsynth enable_dmsynth
22172 wine_fn_config_makefile dlls
/dmsynth
/tests enable_tests
22173 wine_fn_config_makefile dlls
/dmusic enable_dmusic
22174 wine_fn_config_makefile dlls
/dmusic
/tests enable_tests
22175 wine_fn_config_makefile dlls
/dmusic32 enable_dmusic32
22176 wine_fn_config_makefile dlls
/dnsapi enable_dnsapi
22177 wine_fn_config_makefile dlls
/dnsapi
/tests enable_tests
22178 wine_fn_config_makefile dlls
/dplay enable_dplay
22179 wine_fn_config_makefile dlls
/dplayx enable_dplayx
22180 wine_fn_config_makefile dlls
/dplayx
/tests enable_tests
22181 wine_fn_config_makefile dlls
/dpnaddr enable_dpnaddr
22182 wine_fn_config_makefile dlls
/dpnet enable_dpnet
22183 wine_fn_config_makefile dlls
/dpnet
/tests enable_tests
22184 wine_fn_config_makefile dlls
/dpnhpast enable_dpnhpast
22185 wine_fn_config_makefile dlls
/dpnhupnp enable_dpnhupnp
22186 wine_fn_config_makefile dlls
/dpnlobby enable_dpnlobby
22187 wine_fn_config_makefile dlls
/dpvoice enable_dpvoice
22188 wine_fn_config_makefile dlls
/dpvoice
/tests enable_tests
22189 wine_fn_config_makefile dlls
/dpwsockx enable_dpwsockx
22190 wine_fn_config_makefile dlls
/drmclien enable_drmclien
22191 wine_fn_config_makefile dlls
/dsdmo enable_dsdmo
22192 wine_fn_config_makefile dlls
/dsdmo
/tests enable_tests
22193 wine_fn_config_makefile dlls
/dsound enable_dsound
22194 wine_fn_config_makefile dlls
/dsound
/tests enable_tests
22195 wine_fn_config_makefile dlls
/dsquery enable_dsquery
22196 wine_fn_config_makefile dlls
/dssenh enable_dssenh
22197 wine_fn_config_makefile dlls
/dssenh
/tests enable_tests
22198 wine_fn_config_makefile dlls
/dsuiext enable_dsuiext
22199 wine_fn_config_makefile dlls
/dswave enable_dswave
22200 wine_fn_config_makefile dlls
/dswave
/tests enable_tests
22201 wine_fn_config_makefile dlls
/dwmapi enable_dwmapi
22202 wine_fn_config_makefile dlls
/dwmapi
/tests enable_tests
22203 wine_fn_config_makefile dlls
/dwrite enable_dwrite
22204 wine_fn_config_makefile dlls
/dwrite
/tests enable_tests
22205 wine_fn_config_makefile dlls
/dx8vb enable_dx8vb
22206 wine_fn_config_makefile dlls
/dxcore enable_dxcore
22207 wine_fn_config_makefile dlls
/dxdiagn enable_dxdiagn
22208 wine_fn_config_makefile dlls
/dxdiagn
/tests enable_tests
22209 wine_fn_config_makefile dlls
/dxgi enable_dxgi
22210 wine_fn_config_makefile dlls
/dxgi
/tests enable_tests
22211 wine_fn_config_makefile dlls
/dxtrans enable_dxtrans
22212 wine_fn_config_makefile dlls
/dxva2 enable_dxva2
22213 wine_fn_config_makefile dlls
/dxva
2/tests enable_tests
22214 wine_fn_config_makefile dlls
/esent enable_esent
22215 wine_fn_config_makefile dlls
/evr enable_evr
22216 wine_fn_config_makefile dlls
/evr
/tests enable_tests
22217 wine_fn_config_makefile dlls
/explorerframe enable_explorerframe
22218 wine_fn_config_makefile dlls
/explorerframe
/tests enable_tests
22219 wine_fn_config_makefile dlls
/faultrep enable_faultrep
22220 wine_fn_config_makefile dlls
/faultrep
/tests enable_tests
22221 wine_fn_config_makefile dlls
/feclient enable_feclient
22222 wine_fn_config_makefile dlls
/fltlib enable_fltlib
22223 wine_fn_config_makefile dlls
/fltmgr.sys enable_fltmgr_sys
22224 wine_fn_config_makefile dlls
/fntcache enable_fntcache
22225 wine_fn_config_makefile dlls
/fontsub enable_fontsub
22226 wine_fn_config_makefile dlls
/fusion enable_fusion
22227 wine_fn_config_makefile dlls
/fusion
/tests enable_tests
22228 wine_fn_config_makefile dlls
/fwpuclnt enable_fwpuclnt
22229 wine_fn_config_makefile dlls
/gameux enable_gameux
22230 wine_fn_config_makefile dlls
/gameux
/tests enable_tests
22231 wine_fn_config_makefile dlls
/gamingtcui enable_gamingtcui
22232 wine_fn_config_makefile dlls
/gdi.exe16 enable_win16
22233 wine_fn_config_makefile dlls
/gdi32 enable_gdi32
22234 wine_fn_config_makefile dlls
/gdi32
/tests enable_tests
22235 wine_fn_config_makefile dlls
/gdiplus enable_gdiplus
22236 wine_fn_config_makefile dlls
/gdiplus
/tests enable_tests
22237 wine_fn_config_makefile dlls
/geolocation enable_geolocation
22238 wine_fn_config_makefile dlls
/geolocation
/tests enable_tests
22239 wine_fn_config_makefile dlls
/glu32 enable_glu32
22240 wine_fn_config_makefile dlls
/glu32
/tests enable_tests
22241 wine_fn_config_makefile dlls
/gphoto2.ds enable_gphoto2_ds
22242 wine_fn_config_makefile dlls
/gpkcsp enable_gpkcsp
22243 wine_fn_config_makefile dlls
/graphicscapture enable_graphicscapture
22244 wine_fn_config_makefile dlls
/graphicscapture
/tests enable_tests
22245 wine_fn_config_makefile dlls
/hal enable_hal
22246 wine_fn_config_makefile dlls
/hhctrl.ocx enable_hhctrl_ocx
22247 wine_fn_config_makefile dlls
/hid enable_hid
22248 wine_fn_config_makefile dlls
/hid
/tests enable_tests
22249 wine_fn_config_makefile dlls
/hidclass.sys enable_hidclass_sys
22250 wine_fn_config_makefile dlls
/hidparse.sys enable_hidparse_sys
22251 wine_fn_config_makefile dlls
/hlink enable_hlink
22252 wine_fn_config_makefile dlls
/hlink
/tests enable_tests
22253 wine_fn_config_makefile dlls
/hnetcfg enable_hnetcfg
22254 wine_fn_config_makefile dlls
/hnetcfg
/tests enable_tests
22255 wine_fn_config_makefile dlls
/hrtfapo enable_hrtfapo
22256 wine_fn_config_makefile dlls
/http.sys enable_http_sys
22257 wine_fn_config_makefile dlls
/httpapi enable_httpapi
22258 wine_fn_config_makefile dlls
/httpapi
/tests enable_tests
22259 wine_fn_config_makefile dlls
/hvsimanagementapi enable_hvsimanagementapi
22260 wine_fn_config_makefile dlls
/hvsimanagementapi
/tests enable_tests
22261 wine_fn_config_makefile dlls
/ia2comproxy enable_ia2comproxy
22262 wine_fn_config_makefile dlls
/iccvid enable_iccvid
22263 wine_fn_config_makefile dlls
/icmp enable_icmp
22264 wine_fn_config_makefile dlls
/ieframe enable_ieframe
22265 wine_fn_config_makefile dlls
/ieframe
/tests enable_tests
22266 wine_fn_config_makefile dlls
/ieproxy enable_ieproxy
22267 wine_fn_config_makefile dlls
/ifsmgr.vxd enable_win16
22268 wine_fn_config_makefile dlls
/imaadp32.acm enable_imaadp32_acm
22269 wine_fn_config_makefile dlls
/imagehlp enable_imagehlp
22270 wine_fn_config_makefile dlls
/imagehlp
/tests enable_tests
22271 wine_fn_config_makefile dlls
/imm.dll16 enable_win16
22272 wine_fn_config_makefile dlls
/imm32 enable_imm32
22273 wine_fn_config_makefile dlls
/imm32
/tests enable_tests
22274 wine_fn_config_makefile dlls
/inetcomm enable_inetcomm
22275 wine_fn_config_makefile dlls
/inetcomm
/tests enable_tests
22276 wine_fn_config_makefile dlls
/inetcpl.cpl enable_inetcpl_cpl
22277 wine_fn_config_makefile dlls
/inetmib1 enable_inetmib1
22278 wine_fn_config_makefile dlls
/inetmib
1/tests enable_tests
22279 wine_fn_config_makefile dlls
/infosoft enable_infosoft
22280 wine_fn_config_makefile dlls
/infosoft
/tests enable_tests
22281 wine_fn_config_makefile dlls
/initpki enable_initpki
22282 wine_fn_config_makefile dlls
/inkobj enable_inkobj
22283 wine_fn_config_makefile dlls
/inseng enable_inseng
22284 wine_fn_config_makefile dlls
/iphlpapi enable_iphlpapi
22285 wine_fn_config_makefile dlls
/iphlpapi
/tests enable_tests
22286 wine_fn_config_makefile dlls
/iprop enable_iprop
22287 wine_fn_config_makefile dlls
/ir50_32 enable_ir50_32
22288 wine_fn_config_makefile dlls
/irprops.cpl enable_irprops_cpl
22289 wine_fn_config_makefile dlls
/itircl enable_itircl
22290 wine_fn_config_makefile dlls
/itss enable_itss
22291 wine_fn_config_makefile dlls
/itss
/tests enable_tests
22292 wine_fn_config_makefile dlls
/joy.cpl enable_joy_cpl
22293 wine_fn_config_makefile dlls
/jscript enable_jscript
22294 wine_fn_config_makefile dlls
/jscript
/tests enable_tests
22295 wine_fn_config_makefile dlls
/jsproxy enable_jsproxy
22296 wine_fn_config_makefile dlls
/jsproxy
/tests enable_tests
22297 wine_fn_config_makefile dlls
/kerberos enable_kerberos
22298 wine_fn_config_makefile dlls
/kernel32 enable_kernel32
22299 wine_fn_config_makefile dlls
/kernel32
/tests enable_tests
22300 wine_fn_config_makefile dlls
/kernelbase enable_kernelbase
22301 wine_fn_config_makefile dlls
/kernelbase
/tests enable_tests
22302 wine_fn_config_makefile dlls
/keyboard.drv16 enable_win16
22303 wine_fn_config_makefile dlls
/krnl386.exe16 enable_win16
22304 wine_fn_config_makefile dlls
/ksecdd.sys enable_ksecdd_sys
22305 wine_fn_config_makefile dlls
/ksproxy.ax enable_ksproxy_ax
22306 wine_fn_config_makefile dlls
/ksuser enable_ksuser
22307 wine_fn_config_makefile dlls
/ktmw32 enable_ktmw32
22308 wine_fn_config_makefile dlls
/l3codeca.acm enable_l3codeca_acm
22309 wine_fn_config_makefile dlls
/light.msstyles enable_light_msstyles
22310 wine_fn_config_makefile dlls
/loadperf enable_loadperf
22311 wine_fn_config_makefile dlls
/localspl enable_localspl
22312 wine_fn_config_makefile dlls
/localspl
/tests enable_tests
22313 wine_fn_config_makefile dlls
/localui enable_localui
22314 wine_fn_config_makefile dlls
/localui
/tests enable_tests
22315 wine_fn_config_makefile dlls
/lz32 enable_lz32
22316 wine_fn_config_makefile dlls
/lz32
/tests enable_tests
22317 wine_fn_config_makefile dlls
/lzexpand.dll16 enable_win16
22318 wine_fn_config_makefile dlls
/magnification enable_magnification
22319 wine_fn_config_makefile dlls
/mapi32 enable_mapi32
22320 wine_fn_config_makefile dlls
/mapi32
/tests enable_tests
22321 wine_fn_config_makefile dlls
/mapistub enable_mapistub
22322 wine_fn_config_makefile dlls
/mciavi32 enable_mciavi32
22323 wine_fn_config_makefile dlls
/mcicda enable_mcicda
22324 wine_fn_config_makefile dlls
/mciqtz32 enable_mciqtz32
22325 wine_fn_config_makefile dlls
/mciseq enable_mciseq
22326 wine_fn_config_makefile dlls
/mciwave enable_mciwave
22327 wine_fn_config_makefile dlls
/mf enable_mf
22328 wine_fn_config_makefile dlls
/mf
/tests enable_tests
22329 wine_fn_config_makefile dlls
/mf3216 enable_mf3216
22330 wine_fn_config_makefile dlls
/mferror enable_mferror
22331 wine_fn_config_makefile dlls
/mfmediaengine enable_mfmediaengine
22332 wine_fn_config_makefile dlls
/mfmediaengine
/tests enable_tests
22333 wine_fn_config_makefile dlls
/mfplat enable_mfplat
22334 wine_fn_config_makefile dlls
/mfplat
/tests enable_tests
22335 wine_fn_config_makefile dlls
/mfplay enable_mfplay
22336 wine_fn_config_makefile dlls
/mfplay
/tests enable_tests
22337 wine_fn_config_makefile dlls
/mfreadwrite enable_mfreadwrite
22338 wine_fn_config_makefile dlls
/mfreadwrite
/tests enable_tests
22339 wine_fn_config_makefile dlls
/mfsrcsnk enable_mfsrcsnk
22340 wine_fn_config_makefile dlls
/mfsrcsnk
/tests enable_tests
22341 wine_fn_config_makefile dlls
/mgmtapi enable_mgmtapi
22342 wine_fn_config_makefile dlls
/midimap enable_midimap
22343 wine_fn_config_makefile dlls
/mlang enable_mlang
22344 wine_fn_config_makefile dlls
/mlang
/tests enable_tests
22345 wine_fn_config_makefile dlls
/mmcndmgr enable_mmcndmgr
22346 wine_fn_config_makefile dlls
/mmcndmgr
/tests enable_tests
22347 wine_fn_config_makefile dlls
/mmdevapi enable_mmdevapi
22348 wine_fn_config_makefile dlls
/mmdevapi
/tests enable_tests
22349 wine_fn_config_makefile dlls
/mmdevldr.vxd enable_win16
22350 wine_fn_config_makefile dlls
/mmsystem.dll16 enable_win16
22351 wine_fn_config_makefile dlls
/monodebg.vxd enable_win16
22352 wine_fn_config_makefile dlls
/mouhid.sys enable_mouhid_sys
22353 wine_fn_config_makefile dlls
/mountmgr.sys enable_mountmgr_sys
22354 wine_fn_config_makefile dlls
/mouse.drv16 enable_win16
22355 wine_fn_config_makefile dlls
/mp3dmod enable_mp3dmod
22356 wine_fn_config_makefile dlls
/mp3dmod
/tests enable_tests
22357 wine_fn_config_makefile dlls
/mpr enable_mpr
22358 wine_fn_config_makefile dlls
/mpr
/tests enable_tests
22359 wine_fn_config_makefile dlls
/mprapi enable_mprapi
22360 wine_fn_config_makefile dlls
/msacm.dll16 enable_win16
22361 wine_fn_config_makefile dlls
/msacm32.drv enable_msacm32_drv
22362 wine_fn_config_makefile dlls
/msacm32 enable_msacm32
22363 wine_fn_config_makefile dlls
/msacm32
/tests enable_tests
22364 wine_fn_config_makefile dlls
/msado15 enable_msado15
22365 wine_fn_config_makefile dlls
/msado15
/tests enable_tests
22366 wine_fn_config_makefile dlls
/msadp32.acm enable_msadp32_acm
22367 wine_fn_config_makefile dlls
/msasn1 enable_msasn1
22368 wine_fn_config_makefile dlls
/msasn
1/tests enable_tests
22369 wine_fn_config_makefile dlls
/msauddecmft enable_msauddecmft
22370 wine_fn_config_makefile dlls
/mscat32 enable_mscat32
22371 wine_fn_config_makefile dlls
/mscms enable_mscms
22372 wine_fn_config_makefile dlls
/mscms
/tests enable_tests
22373 wine_fn_config_makefile dlls
/mscoree enable_mscoree
22374 wine_fn_config_makefile dlls
/mscoree
/tests enable_tests
22375 wine_fn_config_makefile dlls
/mscorwks enable_mscorwks
22376 wine_fn_config_makefile dlls
/msctf enable_msctf
22377 wine_fn_config_makefile dlls
/msctf
/tests enable_tests
22378 wine_fn_config_makefile dlls
/msctfmonitor enable_msctfmonitor
22379 wine_fn_config_makefile dlls
/msctfp enable_msctfp
22380 wine_fn_config_makefile dlls
/msdaps enable_msdaps
22381 wine_fn_config_makefile dlls
/msdasql enable_msdasql
22382 wine_fn_config_makefile dlls
/msdasql
/tests enable_tests
22383 wine_fn_config_makefile dlls
/msdelta enable_msdelta
22384 wine_fn_config_makefile dlls
/msdmo enable_msdmo
22385 wine_fn_config_makefile dlls
/msdmo
/tests enable_tests
22386 wine_fn_config_makefile dlls
/msdrm enable_msdrm
22387 wine_fn_config_makefile dlls
/msftedit enable_msftedit
22388 wine_fn_config_makefile dlls
/msftedit
/tests enable_tests
22389 wine_fn_config_makefile dlls
/msg711.acm enable_msg711_acm
22390 wine_fn_config_makefile dlls
/msgsm32.acm enable_msgsm32_acm
22391 wine_fn_config_makefile dlls
/mshtml.tlb enable_mshtml_tlb
22392 wine_fn_config_makefile dlls
/mshtml enable_mshtml
22393 wine_fn_config_makefile dlls
/mshtml
/tests enable_tests
22394 wine_fn_config_makefile dlls
/msi enable_msi
22395 wine_fn_config_makefile dlls
/msi
/tests enable_tests
22396 wine_fn_config_makefile dlls
/msident enable_msident
22397 wine_fn_config_makefile dlls
/msimg32 enable_msimg32
22398 wine_fn_config_makefile dlls
/msimsg enable_msimsg
22399 wine_fn_config_makefile dlls
/msimtf enable_msimtf
22400 wine_fn_config_makefile dlls
/msisip enable_msisip
22401 wine_fn_config_makefile dlls
/msisys.ocx enable_msisys_ocx
22402 wine_fn_config_makefile dlls
/msls31 enable_msls31
22403 wine_fn_config_makefile dlls
/msmpeg2vdec enable_msmpeg2vdec
22404 wine_fn_config_makefile dlls
/msnet32 enable_msnet32
22405 wine_fn_config_makefile dlls
/mspatcha enable_mspatcha
22406 wine_fn_config_makefile dlls
/mspatcha
/tests enable_tests
22407 wine_fn_config_makefile dlls
/msports enable_msports
22408 wine_fn_config_makefile dlls
/msrle32 enable_msrle32
22409 wine_fn_config_makefile dlls
/msrle32
/tests enable_tests
22410 wine_fn_config_makefile dlls
/msscript.ocx enable_msscript_ocx
22411 wine_fn_config_makefile dlls
/msscript.ocx
/tests enable_tests
22412 wine_fn_config_makefile dlls
/mssign32 enable_mssign32
22413 wine_fn_config_makefile dlls
/mssip32 enable_mssip32
22414 wine_fn_config_makefile dlls
/mstask enable_mstask
22415 wine_fn_config_makefile dlls
/mstask
/tests enable_tests
22416 wine_fn_config_makefile dlls
/msttsengine enable_msttsengine
22417 wine_fn_config_makefile dlls
/msv1_0 enable_msv1_0
22418 wine_fn_config_makefile dlls
/msvcirt enable_msvcirt
22419 wine_fn_config_makefile dlls
/msvcirt
/tests enable_tests
22420 wine_fn_config_makefile dlls
/msvcm80 enable_msvcm80
22421 wine_fn_config_makefile dlls
/msvcm90 enable_msvcm90
22422 wine_fn_config_makefile dlls
/msvcp100 enable_msvcp100
22423 wine_fn_config_makefile dlls
/msvcp100
/tests enable_tests
22424 wine_fn_config_makefile dlls
/msvcp110 enable_msvcp110
22425 wine_fn_config_makefile dlls
/msvcp110
/tests enable_tests
22426 wine_fn_config_makefile dlls
/msvcp120 enable_msvcp120
22427 wine_fn_config_makefile dlls
/msvcp120
/tests enable_tests
22428 wine_fn_config_makefile dlls
/msvcp120_app enable_msvcp120_app
22429 wine_fn_config_makefile dlls
/msvcp140 enable_msvcp140
22430 wine_fn_config_makefile dlls
/msvcp140
/tests enable_tests
22431 wine_fn_config_makefile dlls
/msvcp140_1 enable_msvcp140_1
22432 wine_fn_config_makefile dlls
/msvcp140_
1/tests enable_tests
22433 wine_fn_config_makefile dlls
/msvcp140_2 enable_msvcp140_2
22434 wine_fn_config_makefile dlls
/msvcp140_
2/tests enable_tests
22435 wine_fn_config_makefile dlls
/msvcp140_atomic_wait enable_msvcp140_atomic_wait
22436 wine_fn_config_makefile dlls
/msvcp140_atomic_wait
/tests enable_tests
22437 wine_fn_config_makefile dlls
/msvcp140_codecvt_ids enable_msvcp140_codecvt_ids
22438 wine_fn_config_makefile dlls
/msvcp60 enable_msvcp60
22439 wine_fn_config_makefile dlls
/msvcp60
/tests enable_tests
22440 wine_fn_config_makefile dlls
/msvcp70 enable_msvcp70
22441 wine_fn_config_makefile dlls
/msvcp71 enable_msvcp71
22442 wine_fn_config_makefile dlls
/msvcp80 enable_msvcp80
22443 wine_fn_config_makefile dlls
/msvcp90 enable_msvcp90
22444 wine_fn_config_makefile dlls
/msvcp90
/tests enable_tests
22445 wine_fn_config_makefile dlls
/msvcp_win enable_msvcp_win
22446 wine_fn_config_makefile dlls
/msvcr100 enable_msvcr100
22447 wine_fn_config_makefile dlls
/msvcr100
/tests enable_tests
22448 wine_fn_config_makefile dlls
/msvcr110 enable_msvcr110
22449 wine_fn_config_makefile dlls
/msvcr110
/tests enable_tests
22450 wine_fn_config_makefile dlls
/msvcr120 enable_msvcr120
22451 wine_fn_config_makefile dlls
/msvcr120
/tests enable_tests
22452 wine_fn_config_makefile dlls
/msvcr120_app enable_msvcr120_app
22453 wine_fn_config_makefile dlls
/msvcr70 enable_msvcr70
22454 wine_fn_config_makefile dlls
/msvcr70
/tests enable_tests
22455 wine_fn_config_makefile dlls
/msvcr71 enable_msvcr71
22456 wine_fn_config_makefile dlls
/msvcr71
/tests enable_tests
22457 wine_fn_config_makefile dlls
/msvcr80 enable_msvcr80
22458 wine_fn_config_makefile dlls
/msvcr80
/tests enable_tests
22459 wine_fn_config_makefile dlls
/msvcr90 enable_msvcr90
22460 wine_fn_config_makefile dlls
/msvcr90
/tests enable_tests
22461 wine_fn_config_makefile dlls
/msvcrt enable_msvcrt
22462 wine_fn_config_makefile dlls
/msvcrt
/tests enable_tests
22463 wine_fn_config_makefile dlls
/msvcrt20 enable_msvcrt20
22464 wine_fn_config_makefile dlls
/msvcrt40 enable_msvcrt40
22465 wine_fn_config_makefile dlls
/msvcrtd enable_msvcrtd
22466 wine_fn_config_makefile dlls
/msvcrtd
/tests enable_tests
22467 wine_fn_config_makefile dlls
/msvfw32 enable_msvfw32
22468 wine_fn_config_makefile dlls
/msvfw32
/tests enable_tests
22469 wine_fn_config_makefile dlls
/msvidc32 enable_msvidc32
22470 wine_fn_config_makefile dlls
/msvideo.dll16 enable_win16
22471 wine_fn_config_makefile dlls
/mswsock enable_mswsock
22472 wine_fn_config_makefile dlls
/msxml enable_msxml
22473 wine_fn_config_makefile dlls
/msxml2 enable_msxml2
22474 wine_fn_config_makefile dlls
/msxml3 enable_msxml3
22475 wine_fn_config_makefile dlls
/msxml
3/tests enable_tests
22476 wine_fn_config_makefile dlls
/msxml4 enable_msxml4
22477 wine_fn_config_makefile dlls
/msxml
4/tests enable_tests
22478 wine_fn_config_makefile dlls
/msxml6 enable_msxml6
22479 wine_fn_config_makefile dlls
/msxml
6/tests enable_tests
22480 wine_fn_config_makefile dlls
/mtxdm enable_mtxdm
22481 wine_fn_config_makefile dlls
/ncrypt enable_ncrypt
22482 wine_fn_config_makefile dlls
/ncrypt
/tests enable_tests
22483 wine_fn_config_makefile dlls
/nddeapi enable_nddeapi
22484 wine_fn_config_makefile dlls
/ndis.sys enable_ndis_sys
22485 wine_fn_config_makefile dlls
/ndis.sys
/tests enable_tests
22486 wine_fn_config_makefile dlls
/netapi32 enable_netapi32
22487 wine_fn_config_makefile dlls
/netapi32
/tests enable_tests
22488 wine_fn_config_makefile dlls
/netcfgx enable_netcfgx
22489 wine_fn_config_makefile dlls
/netcfgx
/tests enable_tests
22490 wine_fn_config_makefile dlls
/netio.sys enable_netio_sys
22491 wine_fn_config_makefile dlls
/netprofm enable_netprofm
22492 wine_fn_config_makefile dlls
/netprofm
/tests enable_tests
22493 wine_fn_config_makefile dlls
/netutils enable_netutils
22494 wine_fn_config_makefile dlls
/newdev enable_newdev
22495 wine_fn_config_makefile dlls
/ninput enable_ninput
22496 wine_fn_config_makefile dlls
/ninput
/tests enable_tests
22497 wine_fn_config_makefile dlls
/normaliz enable_normaliz
22498 wine_fn_config_makefile dlls
/npmshtml enable_npmshtml
22499 wine_fn_config_makefile dlls
/npptools enable_npptools
22500 wine_fn_config_makefile dlls
/nsi enable_nsi
22501 wine_fn_config_makefile dlls
/nsi
/tests enable_tests
22502 wine_fn_config_makefile dlls
/nsiproxy.sys enable_nsiproxy_sys
22503 wine_fn_config_makefile dlls
/ntdll enable_ntdll
22504 wine_fn_config_makefile dlls
/ntdll
/tests enable_tests
22505 wine_fn_config_makefile dlls
/ntdsapi enable_ntdsapi
22506 wine_fn_config_makefile dlls
/ntdsapi
/tests enable_tests
22507 wine_fn_config_makefile dlls
/ntoskrnl.exe enable_ntoskrnl_exe
22508 wine_fn_config_makefile dlls
/ntoskrnl.exe
/tests enable_tests
22509 wine_fn_config_makefile dlls
/ntprint enable_ntprint
22510 wine_fn_config_makefile dlls
/ntprint
/tests enable_tests
22511 wine_fn_config_makefile dlls
/objsel enable_objsel
22512 wine_fn_config_makefile dlls
/odbc32 enable_odbc32
22513 wine_fn_config_makefile dlls
/odbc32
/tests enable_tests
22514 wine_fn_config_makefile dlls
/odbcbcp enable_odbcbcp
22515 wine_fn_config_makefile dlls
/odbccp32 enable_odbccp32
22516 wine_fn_config_makefile dlls
/odbccp32
/tests enable_tests
22517 wine_fn_config_makefile dlls
/odbccu32 enable_odbccu32
22518 wine_fn_config_makefile dlls
/ole2.dll16 enable_win16
22519 wine_fn_config_makefile dlls
/ole2conv.dll16 enable_win16
22520 wine_fn_config_makefile dlls
/ole2disp.dll16 enable_win16
22521 wine_fn_config_makefile dlls
/ole2nls.dll16 enable_win16
22522 wine_fn_config_makefile dlls
/ole2prox.dll16 enable_win16
22523 wine_fn_config_makefile dlls
/ole2thk.dll16 enable_win16
22524 wine_fn_config_makefile dlls
/ole32 enable_ole32
22525 wine_fn_config_makefile dlls
/ole32
/tests enable_tests
22526 wine_fn_config_makefile dlls
/oleacc enable_oleacc
22527 wine_fn_config_makefile dlls
/oleacc
/tests enable_tests
22528 wine_fn_config_makefile dlls
/oleaut32 enable_oleaut32
22529 wine_fn_config_makefile dlls
/oleaut32
/tests enable_tests
22530 wine_fn_config_makefile dlls
/olecli.dll16 enable_win16
22531 wine_fn_config_makefile dlls
/olecli32 enable_olecli32
22532 wine_fn_config_makefile dlls
/oledb32 enable_oledb32
22533 wine_fn_config_makefile dlls
/oledb32
/tests enable_tests
22534 wine_fn_config_makefile dlls
/oledlg enable_oledlg
22535 wine_fn_config_makefile dlls
/oledlg
/tests enable_tests
22536 wine_fn_config_makefile dlls
/olepro32 enable_olepro32
22537 wine_fn_config_makefile dlls
/olesvr.dll16 enable_win16
22538 wine_fn_config_makefile dlls
/olesvr32 enable_olesvr32
22539 wine_fn_config_makefile dlls
/olethk32 enable_olethk32
22540 wine_fn_config_makefile dlls
/opcservices enable_opcservices
22541 wine_fn_config_makefile dlls
/opcservices
/tests enable_tests
22542 wine_fn_config_makefile dlls
/opencl enable_opencl
22543 wine_fn_config_makefile dlls
/opengl32 enable_opengl32
22544 wine_fn_config_makefile dlls
/opengl32
/tests enable_tests
22545 wine_fn_config_makefile dlls
/packager enable_packager
22546 wine_fn_config_makefile dlls
/packager
/tests enable_tests
22547 wine_fn_config_makefile dlls
/pdh enable_pdh
22548 wine_fn_config_makefile dlls
/pdh
/tests enable_tests
22549 wine_fn_config_makefile dlls
/photometadatahandler enable_photometadatahandler
22550 wine_fn_config_makefile dlls
/pidgen enable_pidgen
22551 wine_fn_config_makefile dlls
/powrprof enable_powrprof
22552 wine_fn_config_makefile dlls
/printui enable_printui
22553 wine_fn_config_makefile dlls
/prntvpt enable_prntvpt
22554 wine_fn_config_makefile dlls
/prntvpt
/tests enable_tests
22555 wine_fn_config_makefile dlls
/profapi enable_profapi
22556 wine_fn_config_makefile dlls
/propsys enable_propsys
22557 wine_fn_config_makefile dlls
/propsys
/tests enable_tests
22558 wine_fn_config_makefile dlls
/psapi enable_psapi
22559 wine_fn_config_makefile dlls
/psapi
/tests enable_tests
22560 wine_fn_config_makefile dlls
/pstorec enable_pstorec
22561 wine_fn_config_makefile dlls
/pstorec
/tests enable_tests
22562 wine_fn_config_makefile dlls
/pwrshplugin enable_pwrshplugin
22563 wine_fn_config_makefile dlls
/qasf enable_qasf
22564 wine_fn_config_makefile dlls
/qasf
/tests enable_tests
22565 wine_fn_config_makefile dlls
/qcap enable_qcap
22566 wine_fn_config_makefile dlls
/qcap
/tests enable_tests
22567 wine_fn_config_makefile dlls
/qdvd enable_qdvd
22568 wine_fn_config_makefile dlls
/qdvd
/tests enable_tests
22569 wine_fn_config_makefile dlls
/qedit enable_qedit
22570 wine_fn_config_makefile dlls
/qedit
/tests enable_tests
22571 wine_fn_config_makefile dlls
/qmgr enable_qmgr
22572 wine_fn_config_makefile dlls
/qmgr
/tests enable_tests
22573 wine_fn_config_makefile dlls
/qmgrprxy enable_qmgrprxy
22574 wine_fn_config_makefile dlls
/quartz enable_quartz
22575 wine_fn_config_makefile dlls
/quartz
/tests enable_tests
22576 wine_fn_config_makefile dlls
/query enable_query
22577 wine_fn_config_makefile dlls
/qwave enable_qwave
22578 wine_fn_config_makefile dlls
/qwave
/tests enable_tests
22579 wine_fn_config_makefile dlls
/rasapi16.dll16 enable_win16
22580 wine_fn_config_makefile dlls
/rasapi32 enable_rasapi32
22581 wine_fn_config_makefile dlls
/rasapi32
/tests enable_tests
22582 wine_fn_config_makefile dlls
/rasdlg enable_rasdlg
22583 wine_fn_config_makefile dlls
/regapi enable_regapi
22584 wine_fn_config_makefile dlls
/resutils enable_resutils
22585 wine_fn_config_makefile dlls
/riched20 enable_riched20
22586 wine_fn_config_makefile dlls
/riched20
/tests enable_tests
22587 wine_fn_config_makefile dlls
/riched32 enable_riched32
22588 wine_fn_config_makefile dlls
/riched32
/tests enable_tests
22589 wine_fn_config_makefile dlls
/rpcrt4 enable_rpcrt4
22590 wine_fn_config_makefile dlls
/rpcrt
4/tests enable_tests
22591 wine_fn_config_makefile dlls
/rsabase enable_rsabase
22592 wine_fn_config_makefile dlls
/rsaenh enable_rsaenh
22593 wine_fn_config_makefile dlls
/rsaenh
/tests enable_tests
22594 wine_fn_config_makefile dlls
/rstrtmgr enable_rstrtmgr
22595 wine_fn_config_makefile dlls
/rtutils enable_rtutils
22596 wine_fn_config_makefile dlls
/rtworkq enable_rtworkq
22597 wine_fn_config_makefile dlls
/rtworkq
/tests enable_tests
22598 wine_fn_config_makefile dlls
/samlib enable_samlib
22599 wine_fn_config_makefile dlls
/sane.ds enable_sane_ds
22600 wine_fn_config_makefile dlls
/sapi enable_sapi
22601 wine_fn_config_makefile dlls
/sapi
/tests enable_tests
22602 wine_fn_config_makefile dlls
/sas enable_sas
22603 wine_fn_config_makefile dlls
/scarddlg enable_scarddlg
22604 wine_fn_config_makefile dlls
/scardsvr enable_scardsvr
22605 wine_fn_config_makefile dlls
/sccbase enable_sccbase
22606 wine_fn_config_makefile dlls
/schannel enable_schannel
22607 wine_fn_config_makefile dlls
/schannel
/tests enable_tests
22608 wine_fn_config_makefile dlls
/schedsvc enable_schedsvc
22609 wine_fn_config_makefile dlls
/schedsvc
/tests enable_tests
22610 wine_fn_config_makefile dlls
/scrobj enable_scrobj
22611 wine_fn_config_makefile dlls
/scrobj
/tests enable_tests
22612 wine_fn_config_makefile dlls
/scrrun enable_scrrun
22613 wine_fn_config_makefile dlls
/scrrun
/tests enable_tests
22614 wine_fn_config_makefile dlls
/scsiport.sys enable_scsiport_sys
22615 wine_fn_config_makefile dlls
/sechost enable_sechost
22616 wine_fn_config_makefile dlls
/secur32 enable_secur32
22617 wine_fn_config_makefile dlls
/secur32
/tests enable_tests
22618 wine_fn_config_makefile dlls
/security enable_security
22619 wine_fn_config_makefile dlls
/sensapi enable_sensapi
22620 wine_fn_config_makefile dlls
/serialui enable_serialui
22621 wine_fn_config_makefile dlls
/serialui
/tests enable_tests
22622 wine_fn_config_makefile dlls
/setupapi enable_setupapi
22623 wine_fn_config_makefile dlls
/setupapi
/tests enable_tests
22624 wine_fn_config_makefile dlls
/setupx.dll16 enable_win16
22625 wine_fn_config_makefile dlls
/sfc enable_sfc
22626 wine_fn_config_makefile dlls
/sfc_os enable_sfc_os
22627 wine_fn_config_makefile dlls
/shcore enable_shcore
22628 wine_fn_config_makefile dlls
/shcore
/tests enable_tests
22629 wine_fn_config_makefile dlls
/shdoclc enable_shdoclc
22630 wine_fn_config_makefile dlls
/shdocvw enable_shdocvw
22631 wine_fn_config_makefile dlls
/shdocvw
/tests enable_tests
22632 wine_fn_config_makefile dlls
/shell.dll16 enable_win16
22633 wine_fn_config_makefile dlls
/shell32 enable_shell32
22634 wine_fn_config_makefile dlls
/shell32
/tests enable_tests
22635 wine_fn_config_makefile dlls
/shfolder enable_shfolder
22636 wine_fn_config_makefile dlls
/shlwapi enable_shlwapi
22637 wine_fn_config_makefile dlls
/shlwapi
/tests enable_tests
22638 wine_fn_config_makefile dlls
/slbcsp enable_slbcsp
22639 wine_fn_config_makefile dlls
/slc enable_slc
22640 wine_fn_config_makefile dlls
/slc
/tests enable_tests
22641 wine_fn_config_makefile dlls
/snmpapi enable_snmpapi
22642 wine_fn_config_makefile dlls
/snmpapi
/tests enable_tests
22643 wine_fn_config_makefile dlls
/softpub enable_softpub
22644 wine_fn_config_makefile dlls
/sound.drv16 enable_win16
22645 wine_fn_config_makefile dlls
/spoolss enable_spoolss
22646 wine_fn_config_makefile dlls
/spoolss
/tests enable_tests
22647 wine_fn_config_makefile dlls
/sppc enable_sppc
22648 wine_fn_config_makefile dlls
/srclient enable_srclient
22649 wine_fn_config_makefile dlls
/srvcli enable_srvcli
22650 wine_fn_config_makefile dlls
/srvsvc enable_srvsvc
22651 wine_fn_config_makefile dlls
/sspicli enable_sspicli
22652 wine_fn_config_makefile dlls
/stdole2.tlb enable_stdole2_tlb
22653 wine_fn_config_makefile dlls
/stdole32.tlb enable_stdole32_tlb
22654 wine_fn_config_makefile dlls
/sti enable_sti
22655 wine_fn_config_makefile dlls
/sti
/tests enable_tests
22656 wine_fn_config_makefile dlls
/storage.dll16 enable_win16
22657 wine_fn_config_makefile dlls
/stress.dll16 enable_win16
22658 wine_fn_config_makefile dlls
/strmdll enable_strmdll
22659 wine_fn_config_makefile dlls
/svrapi enable_svrapi
22660 wine_fn_config_makefile dlls
/sxs enable_sxs
22661 wine_fn_config_makefile dlls
/sxs
/tests enable_tests
22662 wine_fn_config_makefile dlls
/system.drv16 enable_win16
22663 wine_fn_config_makefile dlls
/t2embed enable_t2embed
22664 wine_fn_config_makefile dlls
/t2embed
/tests enable_tests
22665 wine_fn_config_makefile dlls
/tapi32 enable_tapi32
22666 wine_fn_config_makefile dlls
/tapi32
/tests enable_tests
22667 wine_fn_config_makefile dlls
/taskschd enable_taskschd
22668 wine_fn_config_makefile dlls
/taskschd
/tests enable_tests
22669 wine_fn_config_makefile dlls
/tbs enable_tbs
22670 wine_fn_config_makefile dlls
/tdh enable_tdh
22671 wine_fn_config_makefile dlls
/tdi.sys enable_tdi_sys
22672 wine_fn_config_makefile dlls
/threadpoolwinrt enable_threadpoolwinrt
22673 wine_fn_config_makefile dlls
/threadpoolwinrt
/tests enable_tests
22674 wine_fn_config_makefile dlls
/toolhelp.dll16 enable_win16
22675 wine_fn_config_makefile dlls
/traffic enable_traffic
22676 wine_fn_config_makefile dlls
/twain.dll16 enable_win16
22677 wine_fn_config_makefile dlls
/twain_32 enable_twain_32
22678 wine_fn_config_makefile dlls
/twain_32
/tests enable_tests
22679 wine_fn_config_makefile dlls
/twinapi.appcore enable_twinapi_appcore
22680 wine_fn_config_makefile dlls
/twinapi.appcore
/tests enable_tests
22681 wine_fn_config_makefile dlls
/typelib.dll16 enable_win16
22682 wine_fn_config_makefile dlls
/tzres enable_tzres
22683 wine_fn_config_makefile dlls
/ucrtbase enable_ucrtbase
22684 wine_fn_config_makefile dlls
/ucrtbase
/tests enable_tests
22685 wine_fn_config_makefile dlls
/uianimation enable_uianimation
22686 wine_fn_config_makefile dlls
/uianimation
/tests enable_tests
22687 wine_fn_config_makefile dlls
/uiautomationcore enable_uiautomationcore
22688 wine_fn_config_makefile dlls
/uiautomationcore
/tests enable_tests
22689 wine_fn_config_makefile dlls
/uiribbon enable_uiribbon
22690 wine_fn_config_makefile dlls
/unicows enable_unicows
22691 wine_fn_config_makefile dlls
/updspapi enable_updspapi
22692 wine_fn_config_makefile dlls
/url enable_url
22693 wine_fn_config_makefile dlls
/urlmon enable_urlmon
22694 wine_fn_config_makefile dlls
/urlmon
/tests enable_tests
22695 wine_fn_config_makefile dlls
/usbd.sys enable_usbd_sys
22696 wine_fn_config_makefile dlls
/user.exe16 enable_win16
22697 wine_fn_config_makefile dlls
/user32 enable_user32
22698 wine_fn_config_makefile dlls
/user32
/tests enable_tests
22699 wine_fn_config_makefile dlls
/userenv enable_userenv
22700 wine_fn_config_makefile dlls
/userenv
/tests enable_tests
22701 wine_fn_config_makefile dlls
/usp10 enable_usp10
22702 wine_fn_config_makefile dlls
/usp10
/tests enable_tests
22703 wine_fn_config_makefile dlls
/utildll enable_utildll
22704 wine_fn_config_makefile dlls
/uxtheme enable_uxtheme
22705 wine_fn_config_makefile dlls
/uxtheme
/tests enable_tests
22706 wine_fn_config_makefile dlls
/vbscript enable_vbscript
22707 wine_fn_config_makefile dlls
/vbscript
/tests enable_tests
22708 wine_fn_config_makefile dlls
/vcomp enable_vcomp
22709 wine_fn_config_makefile dlls
/vcomp
/tests enable_tests
22710 wine_fn_config_makefile dlls
/vcomp100 enable_vcomp100
22711 wine_fn_config_makefile dlls
/vcomp110 enable_vcomp110
22712 wine_fn_config_makefile dlls
/vcomp110
/tests enable_tests
22713 wine_fn_config_makefile dlls
/vcomp120 enable_vcomp120
22714 wine_fn_config_makefile dlls
/vcomp140 enable_vcomp140
22715 wine_fn_config_makefile dlls
/vcomp90 enable_vcomp90
22716 wine_fn_config_makefile dlls
/vcruntime140 enable_vcruntime140
22717 wine_fn_config_makefile dlls
/vcruntime140_1 enable_vcruntime140_1
22718 wine_fn_config_makefile dlls
/vdhcp.vxd enable_win16
22719 wine_fn_config_makefile dlls
/vdmdbg enable_vdmdbg
22720 wine_fn_config_makefile dlls
/ver.dll16 enable_win16
22721 wine_fn_config_makefile dlls
/version enable_version
22722 wine_fn_config_makefile dlls
/version
/tests enable_tests
22723 wine_fn_config_makefile dlls
/vga enable_vga
22724 wine_fn_config_makefile dlls
/virtdisk enable_virtdisk
22725 wine_fn_config_makefile dlls
/virtdisk
/tests enable_tests
22726 wine_fn_config_makefile dlls
/vmm.vxd enable_win16
22727 wine_fn_config_makefile dlls
/vnbt.vxd enable_win16
22728 wine_fn_config_makefile dlls
/vnetbios.vxd enable_win16
22729 wine_fn_config_makefile dlls
/vssapi enable_vssapi
22730 wine_fn_config_makefile dlls
/vtdapi.vxd enable_win16
22731 wine_fn_config_makefile dlls
/vulkan-1 enable_vulkan_1
22732 wine_fn_config_makefile dlls
/vulkan-
1/tests enable_tests
22733 wine_fn_config_makefile dlls
/vwin32.vxd enable_win16
22734 wine_fn_config_makefile dlls
/w32skrnl enable_win16
22735 wine_fn_config_makefile dlls
/w32sys.dll16 enable_win16
22736 wine_fn_config_makefile dlls
/wbemdisp enable_wbemdisp
22737 wine_fn_config_makefile dlls
/wbemdisp
/tests enable_tests
22738 wine_fn_config_makefile dlls
/wbemprox enable_wbemprox
22739 wine_fn_config_makefile dlls
/wbemprox
/tests enable_tests
22740 wine_fn_config_makefile dlls
/wdscore enable_wdscore
22741 wine_fn_config_makefile dlls
/webservices enable_webservices
22742 wine_fn_config_makefile dlls
/webservices
/tests enable_tests
22743 wine_fn_config_makefile dlls
/websocket enable_websocket
22744 wine_fn_config_makefile dlls
/wer enable_wer
22745 wine_fn_config_makefile dlls
/wer
/tests enable_tests
22746 wine_fn_config_makefile dlls
/wevtapi enable_wevtapi
22747 wine_fn_config_makefile dlls
/wevtapi
/tests enable_tests
22748 wine_fn_config_makefile dlls
/wevtsvc enable_wevtsvc
22749 wine_fn_config_makefile dlls
/wiaservc enable_wiaservc
22750 wine_fn_config_makefile dlls
/wiaservc
/tests enable_tests
22751 wine_fn_config_makefile dlls
/wimgapi enable_wimgapi
22752 wine_fn_config_makefile dlls
/win32s16.dll16 enable_win16
22753 wine_fn_config_makefile dlls
/win32u enable_win32u
22754 wine_fn_config_makefile dlls
/win32u
/tests enable_tests
22755 wine_fn_config_makefile dlls
/win87em.dll16 enable_win16
22756 wine_fn_config_makefile dlls
/winaspi.dll16 enable_win16
22757 wine_fn_config_makefile dlls
/windebug.dll16 enable_win16
22758 wine_fn_config_makefile dlls
/windows.applicationmodel enable_windows_applicationmodel
22759 wine_fn_config_makefile dlls
/windows.applicationmodel
/tests enable_tests
22760 wine_fn_config_makefile dlls
/windows.devices.bluetooth enable_windows_devices_bluetooth
22761 wine_fn_config_makefile dlls
/windows.devices.bluetooth
/tests enable_tests
22762 wine_fn_config_makefile dlls
/windows.devices.enumeration enable_windows_devices_enumeration
22763 wine_fn_config_makefile dlls
/windows.devices.enumeration
/tests enable_tests
22764 wine_fn_config_makefile dlls
/windows.devices.usb enable_windows_devices_usb
22765 wine_fn_config_makefile dlls
/windows.devices.usb
/tests enable_tests
22766 wine_fn_config_makefile dlls
/windows.gaming.input enable_windows_gaming_input
22767 wine_fn_config_makefile dlls
/windows.gaming.input
/tests enable_tests
22768 wine_fn_config_makefile dlls
/windows.gaming.ui.gamebar enable_windows_gaming_ui_gamebar
22769 wine_fn_config_makefile dlls
/windows.gaming.ui.gamebar
/tests enable_tests
22770 wine_fn_config_makefile dlls
/windows.globalization enable_windows_globalization
22771 wine_fn_config_makefile dlls
/windows.globalization
/tests enable_tests
22772 wine_fn_config_makefile dlls
/windows.media.devices enable_windows_media_devices
22773 wine_fn_config_makefile dlls
/windows.media.devices
/tests enable_tests
22774 wine_fn_config_makefile dlls
/windows.media.mediacontrol enable_windows_media_mediacontrol
22775 wine_fn_config_makefile dlls
/windows.media.mediacontrol
/tests enable_tests
22776 wine_fn_config_makefile dlls
/windows.media.speech enable_windows_media_speech
22777 wine_fn_config_makefile dlls
/windows.media.speech
/tests enable_tests
22778 wine_fn_config_makefile dlls
/windows.media enable_windows_media
22779 wine_fn_config_makefile dlls
/windows.media
/tests enable_tests
22780 wine_fn_config_makefile dlls
/windows.networking.hostname enable_windows_networking_hostname
22781 wine_fn_config_makefile dlls
/windows.networking.hostname
/tests enable_tests
22782 wine_fn_config_makefile dlls
/windows.networking enable_windows_networking
22783 wine_fn_config_makefile dlls
/windows.perception.stub enable_windows_perception_stub
22784 wine_fn_config_makefile dlls
/windows.perception.stub
/tests enable_tests
22785 wine_fn_config_makefile dlls
/windows.security.authentication.onlineid enable_windows_security_authentication_onlineid
22786 wine_fn_config_makefile dlls
/windows.security.authentication.onlineid
/tests enable_tests
22787 wine_fn_config_makefile dlls
/windows.security.credentials.ui.userconsentverifier enable_windows_security_credentials_ui_userconsentverifier
22788 wine_fn_config_makefile dlls
/windows.security.credentials.ui.userconsentverifier
/tests enable_tests
22789 wine_fn_config_makefile dlls
/windows.storage.applicationdata enable_windows_storage_applicationdata
22790 wine_fn_config_makefile dlls
/windows.storage.applicationdata
/tests enable_tests
22791 wine_fn_config_makefile dlls
/windows.system.profile.systemmanufacturers enable_windows_system_profile_systemmanufacturers
22792 wine_fn_config_makefile dlls
/windows.system.profile.systemmanufacturers
/tests enable_tests
22793 wine_fn_config_makefile dlls
/windows.ui enable_windows_ui
22794 wine_fn_config_makefile dlls
/windows.ui
/tests enable_tests
22795 wine_fn_config_makefile dlls
/windowscodecs enable_windowscodecs
22796 wine_fn_config_makefile dlls
/windowscodecs
/tests enable_tests
22797 wine_fn_config_makefile dlls
/windowscodecsext enable_windowscodecsext
22798 wine_fn_config_makefile dlls
/windowscodecsext
/tests enable_tests
22799 wine_fn_config_makefile dlls
/winealsa.drv enable_winealsa_drv
22800 wine_fn_config_makefile dlls
/wineandroid.drv enable_wineandroid_drv
22801 wine_fn_config_makefile dlls
/winebus.sys enable_winebus_sys
22802 wine_fn_config_makefile dlls
/winecoreaudio.drv enable_winecoreaudio_drv
22803 wine_fn_config_makefile dlls
/winecrt0 enable_winecrt0
22804 wine_fn_config_makefile dlls
/wined3d enable_wined3d
22805 wine_fn_config_makefile dlls
/winegstreamer enable_winegstreamer
22806 wine_fn_config_makefile dlls
/winehid.sys enable_winehid_sys
22807 wine_fn_config_makefile dlls
/winemac.drv enable_winemac_drv
22808 wine_fn_config_makefile dlls
/winemapi enable_winemapi
22809 wine_fn_config_makefile dlls
/wineoss.drv enable_wineoss_drv
22810 wine_fn_config_makefile dlls
/wineps.drv enable_wineps_drv
22811 wine_fn_config_makefile dlls
/wineps16.drv16 enable_win16
22812 wine_fn_config_makefile dlls
/winepulse.drv enable_winepulse_drv
22813 wine_fn_config_makefile dlls
/wineusb.sys enable_wineusb_sys
22814 wine_fn_config_makefile dlls
/winevulkan enable_winevulkan
22815 wine_fn_config_makefile dlls
/winewayland.drv enable_winewayland_drv
22816 wine_fn_config_makefile dlls
/winex11.drv enable_winex11_drv
22817 wine_fn_config_makefile dlls
/winexinput.sys enable_winexinput_sys
22818 wine_fn_config_makefile dlls
/wing.dll16 enable_win16
22819 wine_fn_config_makefile dlls
/wing32 enable_wing32
22820 wine_fn_config_makefile dlls
/wing32
/tests enable_tests
22821 wine_fn_config_makefile dlls
/winhttp enable_winhttp
22822 wine_fn_config_makefile dlls
/winhttp
/tests enable_tests
22823 wine_fn_config_makefile dlls
/wininet enable_wininet
22824 wine_fn_config_makefile dlls
/wininet
/tests enable_tests
22825 wine_fn_config_makefile dlls
/winmm enable_winmm
22826 wine_fn_config_makefile dlls
/winmm
/tests enable_tests
22827 wine_fn_config_makefile dlls
/winnls.dll16 enable_win16
22828 wine_fn_config_makefile dlls
/winnls32 enable_winnls32
22829 wine_fn_config_makefile dlls
/winprint enable_winprint
22830 wine_fn_config_makefile dlls
/winscard enable_winscard
22831 wine_fn_config_makefile dlls
/winscard
/tests enable_tests
22832 wine_fn_config_makefile dlls
/winsock.dll16 enable_win16
22833 wine_fn_config_makefile dlls
/winspool.drv enable_winspool_drv
22834 wine_fn_config_makefile dlls
/winspool.drv
/tests enable_tests
22835 wine_fn_config_makefile dlls
/winsta enable_winsta
22836 wine_fn_config_makefile dlls
/wintab.dll16 enable_win16
22837 wine_fn_config_makefile dlls
/wintab32 enable_wintab32
22838 wine_fn_config_makefile dlls
/wintab32
/tests enable_tests
22839 wine_fn_config_makefile dlls
/wintrust enable_wintrust
22840 wine_fn_config_makefile dlls
/wintrust
/tests enable_tests
22841 wine_fn_config_makefile dlls
/wintypes enable_wintypes
22842 wine_fn_config_makefile dlls
/wintypes
/tests enable_tests
22843 wine_fn_config_makefile dlls
/winusb enable_winusb
22844 wine_fn_config_makefile dlls
/wlanapi enable_wlanapi
22845 wine_fn_config_makefile dlls
/wlanapi
/tests enable_tests
22846 wine_fn_config_makefile dlls
/wlanui enable_wlanui
22847 wine_fn_config_makefile dlls
/wldap32 enable_wldap32
22848 wine_fn_config_makefile dlls
/wldap32
/tests enable_tests
22849 wine_fn_config_makefile dlls
/wldp enable_wldp
22850 wine_fn_config_makefile dlls
/wldp
/tests enable_tests
22851 wine_fn_config_makefile dlls
/wmasf enable_wmasf
22852 wine_fn_config_makefile dlls
/wmi enable_wmi
22853 wine_fn_config_makefile dlls
/wmiutils enable_wmiutils
22854 wine_fn_config_makefile dlls
/wmiutils
/tests enable_tests
22855 wine_fn_config_makefile dlls
/wmp enable_wmp
22856 wine_fn_config_makefile dlls
/wmp
/tests enable_tests
22857 wine_fn_config_makefile dlls
/wmphoto enable_wmphoto
22858 wine_fn_config_makefile dlls
/wmvcore enable_wmvcore
22859 wine_fn_config_makefile dlls
/wmvcore
/tests enable_tests
22860 wine_fn_config_makefile dlls
/wnaspi32 enable_wnaspi32
22861 wine_fn_config_makefile dlls
/wofutil enable_wofutil
22862 wine_fn_config_makefile dlls
/wow32 enable_win16
22863 wine_fn_config_makefile dlls
/wow64 enable_wow64
22864 wine_fn_config_makefile dlls
/wow64cpu enable_wow64cpu
22865 wine_fn_config_makefile dlls
/wow64win enable_wow64win
22866 wine_fn_config_makefile dlls
/wpc enable_wpc
22867 wine_fn_config_makefile dlls
/wpc
/tests enable_tests
22868 wine_fn_config_makefile dlls
/wpcap enable_wpcap
22869 wine_fn_config_makefile dlls
/wpcap
/tests enable_tests
22870 wine_fn_config_makefile dlls
/ws2_32 enable_ws2_32
22871 wine_fn_config_makefile dlls
/ws2_32
/tests enable_tests
22872 wine_fn_config_makefile dlls
/wsdapi enable_wsdapi
22873 wine_fn_config_makefile dlls
/wsdapi
/tests enable_tests
22874 wine_fn_config_makefile dlls
/wshom.ocx enable_wshom_ocx
22875 wine_fn_config_makefile dlls
/wshom.ocx
/tests enable_tests
22876 wine_fn_config_makefile dlls
/wsnmp32 enable_wsnmp32
22877 wine_fn_config_makefile dlls
/wsnmp32
/tests enable_tests
22878 wine_fn_config_makefile dlls
/wsock32 enable_wsock32
22879 wine_fn_config_makefile dlls
/wtsapi32 enable_wtsapi32
22880 wine_fn_config_makefile dlls
/wtsapi32
/tests enable_tests
22881 wine_fn_config_makefile dlls
/wuapi enable_wuapi
22882 wine_fn_config_makefile dlls
/wuaueng enable_wuaueng
22883 wine_fn_config_makefile dlls
/x3daudio1_0 enable_x3daudio1_0
22884 wine_fn_config_makefile dlls
/x3daudio1_1 enable_x3daudio1_1
22885 wine_fn_config_makefile dlls
/x3daudio1_2 enable_x3daudio1_2
22886 wine_fn_config_makefile dlls
/x3daudio1_3 enable_x3daudio1_3
22887 wine_fn_config_makefile dlls
/x3daudio1_4 enable_x3daudio1_4
22888 wine_fn_config_makefile dlls
/x3daudio1_5 enable_x3daudio1_5
22889 wine_fn_config_makefile dlls
/x3daudio1_6 enable_x3daudio1_6
22890 wine_fn_config_makefile dlls
/x3daudio1_7 enable_x3daudio1_7
22891 wine_fn_config_makefile dlls
/xactengine2_0 enable_xactengine2_0
22892 wine_fn_config_makefile dlls
/xactengine2_4 enable_xactengine2_4
22893 wine_fn_config_makefile dlls
/xactengine2_7 enable_xactengine2_7
22894 wine_fn_config_makefile dlls
/xactengine2_9 enable_xactengine2_9
22895 wine_fn_config_makefile dlls
/xactengine3_0 enable_xactengine3_0
22896 wine_fn_config_makefile dlls
/xactengine3_1 enable_xactengine3_1
22897 wine_fn_config_makefile dlls
/xactengine3_2 enable_xactengine3_2
22898 wine_fn_config_makefile dlls
/xactengine3_3 enable_xactengine3_3
22899 wine_fn_config_makefile dlls
/xactengine3_4 enable_xactengine3_4
22900 wine_fn_config_makefile dlls
/xactengine3_5 enable_xactengine3_5
22901 wine_fn_config_makefile dlls
/xactengine3_6 enable_xactengine3_6
22902 wine_fn_config_makefile dlls
/xactengine3_7 enable_xactengine3_7
22903 wine_fn_config_makefile dlls
/xactengine3_
7/tests enable_tests
22904 wine_fn_config_makefile dlls
/xapofx1_1 enable_xapofx1_1
22905 wine_fn_config_makefile dlls
/xapofx1_2 enable_xapofx1_2
22906 wine_fn_config_makefile dlls
/xapofx1_3 enable_xapofx1_3
22907 wine_fn_config_makefile dlls
/xapofx1_4 enable_xapofx1_4
22908 wine_fn_config_makefile dlls
/xapofx1_5 enable_xapofx1_5
22909 wine_fn_config_makefile dlls
/xaudio2_0 enable_xaudio2_0
22910 wine_fn_config_makefile dlls
/xaudio2_1 enable_xaudio2_1
22911 wine_fn_config_makefile dlls
/xaudio2_2 enable_xaudio2_2
22912 wine_fn_config_makefile dlls
/xaudio2_3 enable_xaudio2_3
22913 wine_fn_config_makefile dlls
/xaudio2_4 enable_xaudio2_4
22914 wine_fn_config_makefile dlls
/xaudio2_5 enable_xaudio2_5
22915 wine_fn_config_makefile dlls
/xaudio2_6 enable_xaudio2_6
22916 wine_fn_config_makefile dlls
/xaudio2_7 enable_xaudio2_7
22917 wine_fn_config_makefile dlls
/xaudio2_
7/tests enable_tests
22918 wine_fn_config_makefile dlls
/xaudio2_8 enable_xaudio2_8
22919 wine_fn_config_makefile dlls
/xaudio2_
8/tests enable_tests
22920 wine_fn_config_makefile dlls
/xaudio2_9 enable_xaudio2_9
22921 wine_fn_config_makefile dlls
/xinput1_1 enable_xinput1_1
22922 wine_fn_config_makefile dlls
/xinput1_2 enable_xinput1_2
22923 wine_fn_config_makefile dlls
/xinput1_3 enable_xinput1_3
22924 wine_fn_config_makefile dlls
/xinput1_
3/tests enable_tests
22925 wine_fn_config_makefile dlls
/xinput1_4 enable_xinput1_4
22926 wine_fn_config_makefile dlls
/xinput9_1_0 enable_xinput9_1_0
22927 wine_fn_config_makefile dlls
/xinputuap enable_xinputuap
22928 wine_fn_config_makefile dlls
/xmllite enable_xmllite
22929 wine_fn_config_makefile dlls
/xmllite
/tests enable_tests
22930 wine_fn_config_makefile dlls
/xolehlp enable_xolehlp
22931 wine_fn_config_makefile dlls
/xpsprint enable_xpsprint
22932 wine_fn_config_makefile dlls
/xpssvcs enable_xpssvcs
22933 wine_fn_config_makefile fonts enable_fonts
22934 wine_fn_config_makefile include enable_include
22935 wine_fn_config_makefile libs
/adsiid enable_adsiid
22936 wine_fn_config_makefile libs
/dmoguids enable_dmoguids
22937 wine_fn_config_makefile libs
/dxerr8 enable_dxerr8
22938 wine_fn_config_makefile libs
/dxerr9 enable_dxerr9
22939 wine_fn_config_makefile libs
/dxguid enable_dxguid
22940 wine_fn_config_makefile libs
/faudio enable_faudio
22941 wine_fn_config_makefile libs
/fluidsynth enable_fluidsynth
22942 wine_fn_config_makefile libs
/gsm enable_gsm
22943 wine_fn_config_makefile libs
/jpeg enable_jpeg
22944 wine_fn_config_makefile libs
/jxr enable_jxr
22945 wine_fn_config_makefile libs
/lcms2 enable_lcms2
22946 wine_fn_config_makefile libs
/ldap enable_ldap
22947 wine_fn_config_makefile libs
/mfuuid enable_mfuuid
22948 wine_fn_config_makefile libs
/mpg123 enable_mpg123
22949 wine_fn_config_makefile libs
/musl enable_musl
22950 wine_fn_config_makefile libs
/png enable_png
22951 wine_fn_config_makefile libs
/strmbase enable_strmbase
22952 wine_fn_config_makefile libs
/strmiids enable_strmiids
22953 wine_fn_config_makefile libs
/tiff enable_tiff
22954 wine_fn_config_makefile libs
/uuid enable_uuid
22955 wine_fn_config_makefile libs
/vkd3d enable_vkd3d
22956 wine_fn_config_makefile libs
/wbemuuid enable_wbemuuid
22957 wine_fn_config_makefile libs
/wmcodecdspuuid enable_wmcodecdspuuid
22958 wine_fn_config_makefile libs
/xml2 enable_xml2
22959 wine_fn_config_makefile libs
/xslt enable_xslt
22960 wine_fn_config_makefile libs
/zlib enable_zlib
22961 wine_fn_config_makefile libs
/zydis enable_zydis
22962 wine_fn_config_makefile loader enable_loader
22963 wine_fn_config_makefile nls enable_nls
22964 wine_fn_config_makefile po enable_po
22965 wine_fn_config_makefile programs
/arp enable_arp
22966 wine_fn_config_makefile programs
/aspnet_regiis enable_aspnet_regiis
22967 wine_fn_config_makefile programs
/attrib enable_attrib
22968 wine_fn_config_makefile programs
/cabarc enable_cabarc
22969 wine_fn_config_makefile programs
/cacls enable_cacls
22970 wine_fn_config_makefile programs
/certutil enable_certutil
22971 wine_fn_config_makefile programs
/chcp.com enable_chcp_com
22972 wine_fn_config_makefile programs
/clock enable_clock
22973 wine_fn_config_makefile programs
/cmd enable_cmd
22974 wine_fn_config_makefile programs
/cmd
/tests enable_tests
22975 wine_fn_config_makefile programs
/conhost enable_conhost
22976 wine_fn_config_makefile programs
/conhost
/tests enable_tests
22977 wine_fn_config_makefile programs
/control enable_control
22978 wine_fn_config_makefile programs
/cscript enable_cscript
22979 wine_fn_config_makefile programs
/dism enable_dism
22980 wine_fn_config_makefile programs
/dllhost enable_dllhost
22981 wine_fn_config_makefile programs
/dplaysvr enable_dplaysvr
22982 wine_fn_config_makefile programs
/dpnsvr enable_dpnsvr
22983 wine_fn_config_makefile programs
/dpvsetup enable_dpvsetup
22984 wine_fn_config_makefile programs
/dxdiag enable_dxdiag
22985 wine_fn_config_makefile programs
/eject enable_eject
22986 wine_fn_config_makefile programs
/expand enable_expand
22987 wine_fn_config_makefile programs
/explorer enable_explorer
22988 wine_fn_config_makefile programs
/explorer
/tests enable_tests
22989 wine_fn_config_makefile programs
/extrac32 enable_extrac32
22990 wine_fn_config_makefile programs
/fc enable_fc
22991 wine_fn_config_makefile programs
/find enable_find
22992 wine_fn_config_makefile programs
/find
/tests enable_tests
22993 wine_fn_config_makefile programs
/findstr enable_findstr
22994 wine_fn_config_makefile programs
/findstr
/tests enable_tests
22995 wine_fn_config_makefile programs
/fsutil enable_fsutil
22996 wine_fn_config_makefile programs
/fsutil
/tests enable_tests
22997 wine_fn_config_makefile programs
/hh enable_hh
22998 wine_fn_config_makefile programs
/hostname enable_hostname
22999 wine_fn_config_makefile programs
/icacls enable_icacls
23000 wine_fn_config_makefile programs
/icinfo enable_icinfo
23001 wine_fn_config_makefile programs
/iexplore enable_iexplore
23002 wine_fn_config_makefile programs
/ipconfig enable_ipconfig
23003 wine_fn_config_makefile programs
/klist enable_klist
23004 wine_fn_config_makefile programs
/lodctr enable_lodctr
23005 wine_fn_config_makefile programs
/mofcomp enable_mofcomp
23006 wine_fn_config_makefile programs
/mshta enable_mshta
23007 wine_fn_config_makefile programs
/msidb enable_msidb
23008 wine_fn_config_makefile programs
/msiexec enable_msiexec
23009 wine_fn_config_makefile programs
/msinfo32 enable_msinfo32
23010 wine_fn_config_makefile programs
/net enable_net
23011 wine_fn_config_makefile programs
/netsh enable_netsh
23012 wine_fn_config_makefile programs
/netstat enable_netstat
23013 wine_fn_config_makefile programs
/ngen enable_ngen
23014 wine_fn_config_makefile programs
/notepad enable_notepad
23015 wine_fn_config_makefile programs
/oleview enable_oleview
23016 wine_fn_config_makefile programs
/ping enable_ping
23017 wine_fn_config_makefile programs
/plugplay enable_plugplay
23018 wine_fn_config_makefile programs
/pnputil enable_pnputil
23019 wine_fn_config_makefile programs
/powershell enable_powershell
23020 wine_fn_config_makefile programs
/presentationfontcache enable_presentationfontcache
23021 wine_fn_config_makefile programs
/progman enable_progman
23022 wine_fn_config_makefile programs
/reg enable_reg
23023 wine_fn_config_makefile programs
/reg
/tests enable_tests
23024 wine_fn_config_makefile programs
/regasm enable_regasm
23025 wine_fn_config_makefile programs
/regedit enable_regedit
23026 wine_fn_config_makefile programs
/regedit
/tests enable_tests
23027 wine_fn_config_makefile programs
/regini enable_regini
23028 wine_fn_config_makefile programs
/regsvcs enable_regsvcs
23029 wine_fn_config_makefile programs
/regsvr32 enable_regsvr32
23030 wine_fn_config_makefile programs
/robocopy enable_robocopy
23031 wine_fn_config_makefile programs
/rpcss enable_rpcss
23032 wine_fn_config_makefile programs
/rundll.exe16 enable_win16
23033 wine_fn_config_makefile programs
/rundll32 enable_rundll32
23034 wine_fn_config_makefile programs
/sc enable_sc
23035 wine_fn_config_makefile programs
/sc
/tests enable_tests
23036 wine_fn_config_makefile programs
/schtasks enable_schtasks
23037 wine_fn_config_makefile programs
/schtasks
/tests enable_tests
23038 wine_fn_config_makefile programs
/sdbinst enable_sdbinst
23039 wine_fn_config_makefile programs
/secedit enable_secedit
23040 wine_fn_config_makefile programs
/servicemodelreg enable_servicemodelreg
23041 wine_fn_config_makefile programs
/services enable_services
23042 wine_fn_config_makefile programs
/services
/tests enable_tests
23043 wine_fn_config_makefile programs
/setx enable_setx
23044 wine_fn_config_makefile programs
/shutdown enable_shutdown
23045 wine_fn_config_makefile programs
/spoolsv enable_spoolsv
23046 wine_fn_config_makefile programs
/start enable_start
23047 wine_fn_config_makefile programs
/subst enable_subst
23048 wine_fn_config_makefile programs
/svchost enable_svchost
23049 wine_fn_config_makefile programs
/systeminfo enable_systeminfo
23050 wine_fn_config_makefile programs
/taskkill enable_taskkill
23051 wine_fn_config_makefile programs
/tasklist enable_tasklist
23052 wine_fn_config_makefile programs
/tasklist
/tests enable_tests
23053 wine_fn_config_makefile programs
/taskmgr enable_taskmgr
23054 wine_fn_config_makefile programs
/termsv enable_termsv
23055 wine_fn_config_makefile programs
/uninstaller enable_uninstaller
23056 wine_fn_config_makefile programs
/unlodctr enable_unlodctr
23057 wine_fn_config_makefile programs
/view enable_view
23058 wine_fn_config_makefile programs
/wevtutil enable_wevtutil
23059 wine_fn_config_makefile programs
/where enable_where
23060 wine_fn_config_makefile programs
/whoami enable_whoami
23061 wine_fn_config_makefile programs
/wineboot enable_wineboot
23062 wine_fn_config_makefile programs
/winebrowser enable_winebrowser
23063 wine_fn_config_makefile programs
/winecfg enable_winecfg
23064 wine_fn_config_makefile programs
/wineconsole enable_wineconsole
23065 wine_fn_config_makefile programs
/winedbg enable_winedbg
23066 wine_fn_config_makefile programs
/winedevice enable_winedevice
23067 wine_fn_config_makefile programs
/winefile enable_winefile
23068 wine_fn_config_makefile programs
/winemenubuilder enable_winemenubuilder
23069 wine_fn_config_makefile programs
/winemine enable_winemine
23070 wine_fn_config_makefile programs
/winemsibuilder enable_winemsibuilder
23071 wine_fn_config_makefile programs
/winepath enable_winepath
23072 wine_fn_config_makefile programs
/winetest enable_winetest
23073 wine_fn_config_makefile programs
/winevdm enable_win16
23074 wine_fn_config_makefile programs
/winhelp.exe16 enable_win16
23075 wine_fn_config_makefile programs
/winhlp32 enable_winhlp32
23076 wine_fn_config_makefile programs
/winmgmt enable_winmgmt
23077 wine_fn_config_makefile programs
/winoldap.mod16 enable_win16
23078 wine_fn_config_makefile programs
/winver enable_winver
23079 wine_fn_config_makefile programs
/wmic enable_wmic
23080 wine_fn_config_makefile programs
/wmplayer enable_wmplayer
23081 wine_fn_config_makefile programs
/wordpad enable_wordpad
23082 wine_fn_config_makefile programs
/write enable_write
23083 wine_fn_config_makefile programs
/wscript enable_wscript
23084 wine_fn_config_makefile programs
/wscript
/tests enable_tests
23085 wine_fn_config_makefile programs
/wuauserv enable_wuauserv
23086 wine_fn_config_makefile programs
/wusa enable_wusa
23087 wine_fn_config_makefile programs
/xcopy enable_xcopy
23088 wine_fn_config_makefile programs
/xcopy
/tests enable_tests
23089 wine_fn_config_makefile server enable_server
23090 test "x$enable_tools" = xno || wine_fn_config_makefile tools enable_tools
23091 test "x$enable_tools" = xno || wine_fn_config_makefile tools
/sfnt2fon enable_sfnt2fon
23092 test "x$enable_tools" = xno || wine_fn_config_makefile tools
/widl enable_widl
23093 test "x$enable_tools" = xno || wine_fn_config_makefile tools
/winebuild enable_winebuild
23094 test "x$enable_tools" = xno || wine_fn_config_makefile tools
/winedump enable_winedump
23095 test "x$enable_tools" = xno || wine_fn_config_makefile tools
/winegcc enable_winegcc
23096 test "x$enable_tools" = xno || wine_fn_config_makefile tools
/winemaker enable_winemaker
23097 test "x$enable_tools" = xno || wine_fn_config_makefile tools
/wmc enable_wmc
23098 test "x$enable_tools" = xno || wine_fn_config_makefile tools
/wrc enable_wrc
23101 as_fn_append CONFIGURE_TARGETS
" TAGS"
23102 as_fn_append CONFIGURE_TARGETS
" tags"
23103 as_fn_append CONFIGURE_TARGETS
" autom4te.cache"
23104 as_fn_append CONFIGURE_TARGETS
" config.log"
23105 as_fn_append CONFIGURE_TARGETS
" config.status"
23106 as_fn_append CONFIGURE_TARGETS
" include/config.h"
23107 as_fn_append CONFIGURE_TARGETS
" include/stamp-h"
23108 test "$wine_binary" = wine || as_fn_append CONFIGURE_TARGETS
" loader/wine"
23110 if test "x$enable_tools" != xno
23112 as_fn_append CONFIGURE_TARGETS
" tools/makedep$ac_exeext"
23113 ac_config_commands
="$ac_config_commands tools/makedep"
23117 ac_config_commands
="$ac_config_commands Makefile"
23124 as_fn_append wine_rules
"
23126 @echo \"Wine build complete.\"
23130 Makefile: config.status \$(MAKEDEP)
23131 @./config.status Makefile
23132 depend: \$(MAKEDEP)
23133 \$(MAKEDEP)$makedep_flags"
23136 as_fn_append wine_rules
"
23137 config.status: ${wine_srcdir}configure
23138 @./config.status --recheck
23139 include/config.h: include/stamp-h
23140 include/stamp-h: ${wine_srcdir}include/config.h.in config.status
23141 @./config.status include/config.h include/stamp-h"
23143 if test "x$enable_maintainer_mode" = xyes
23145 as_fn_append wine_rules
"
23146 configure: configure.ac aclocal.m4
23147 autoconf --warnings=all
23148 include/config.h.in: include/stamp-h.in
23149 include/stamp-h.in: configure.ac aclocal.m4
23150 autoheader --warnings=all
23151 @echo timestamp > \$@"
23154 if test "x$enable_tools" != xno
23156 as_fn_append wine_rules
"
23157 tools/makedep$ac_exeext: ${wine_srcdir}tools/makedep.c include/config.h config.status
23158 @./config.status tools/makedep
23159 Makefile: tools/makedep$ac_exeext"
23161 as_fn_append wine_rules
"
23163 @echo \"You need to run make in $toolsdir first\" && false"
23167 if test -n "$with_wine64"
23169 case "$with_wine64" in
23173 rm -f fonts server
2>/dev
/null
23174 as_fn_append wine_rules
"
23175 all: loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader
23176 loader/wine64 loader/wine64-preloader:
23177 rm -f \$@ && \$(LN_S) $reldir$with_wine64/\$@ \$@
23178 $with_wine64/loader/wine:
23179 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
23180 $with_wine64/loader/wine-preloader:
23181 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
23183 rm -f loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
23185 TOP_INSTALL_DEV
="$TOP_INSTALL_DEV include"
23186 TOP_INSTALL_LIB
="$TOP_INSTALL_LIB \
23190 programs/msidb/msidb \
23191 programs/msiexec/msiexec \
23192 programs/notepad/notepad \
23193 programs/regedit/regedit \
23194 programs/regsvr32/regsvr32 \
23195 programs/wineboot/wineboot \
23196 programs/winecfg/winecfg \
23197 programs/wineconsole/wineconsole \
23198 programs/winedbg/winedbg \
23199 programs/winefile/winefile \
23200 programs/winemine/winemine \
23201 programs/winepath/winepath \
23205 cygwin
*|mingw32
*|darwin
*|macosx
*|linux-android
*) ;;
23206 *) TOP_INSTALL_LIB
="$TOP_INSTALL_LIB loader/wine.desktop" ;;
23211 as_fn_append wine_rules
"
23213 rm -rf autom4te.cache
23215 rm -f configure include/config.h.in"
23218 as_fn_append wine_rules
"
23219 dlls/ntdll/unix/version.c: dummy
23220 @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)
23221 programs/winetest/build.rc: dummy
23222 @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)
23223 programs/winetest/build.nfo:
23225 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
23226 cd dlls/wineandroid.drv && gradle -q -Psrcdir=$srcdir assembleDebug
23227 mv dlls/wineandroid.drv/build/outputs/apk/wine-debug.apk \$@"
23230 TAGSFLAGS
="--langmap='c:+.idl.l.rh,make:(Make*.in)'"
23232 as_fn_append wine_rules
"
23235 (test -d .git && git ls-files || find -L $srcdir -name '*.[ch]' -print) | xargs etags -a \$(TAGSFLAGS)
23238 (test -d .git && git ls-files || find -L $srcdir -name '*.[ch]' -print) | xargs ctags -a \$(TAGSFLAGS)
23240 .PHONY: depend dummy install-manpages"
23242 printf "%s\n" " done" >&6
23243 cat >confcache
<<\_ACEOF
23244 # This file is a shell script that caches the results of configure
23245 # tests run on this system so they can be shared between configure
23246 # scripts and configure runs, see configure's option --config-cache.
23247 # It is not useful on other systems. If it contains results you don't
23248 # want to keep, you may remove or edit it.
23250 # config.status only pays attention to the cache file if you give it
23251 # the --recheck option to rerun configure.
23253 # `ac_cv_env_foo' variables (set or unset) will be overridden when
23254 # loading this file, other *unset* `ac_cv_foo' will be assigned the
23255 # following values.
23259 # The following way of writing the cache mishandles newlines in values,
23260 # but we know of no workaround that is simple, portable, and efficient.
23261 # So, we kill variables containing newlines.
23262 # Ultrix sh set writes to stderr and can't be redirected directly,
23263 # and sets the high bit in the cache file unless we assign to the vars.
23265 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
23266 eval ac_val
=\$
$ac_var
23270 *_cv_
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
23271 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
23274 _ | IFS | as_nl
) ;; #(
23275 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
23276 *) { eval $ac_var=; unset $ac_var;} ;;
23282 case $as_nl`(ac_space=' '; set) 2>&1` in #(
23283 *${as_nl}ac_space
=\
*)
23284 # `set' does not quote correctly, so add quotes: double-quote
23285 # substitution turns \\\\ into \\, and sed turns \\ into \.
23288 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
23291 # `set' quotes correctly as required by POSIX, so do not add quotes.
23292 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
23301 s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
23303 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
23305 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
23306 if test -w "$cache_file"; then
23307 if test "x$cache_file" != "x/dev/null"; then
23308 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
23309 printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
23310 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
23311 cat confcache
>"$cache_file"
23313 case $cache_file in #(
23315 mv -f confcache
"$cache_file"$$
&&
23316 mv -f "$cache_file"$$
"$cache_file" ;; #(
23318 mv -f confcache
"$cache_file" ;;
23323 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
23324 printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
23329 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
23330 # Let make expand exec_prefix.
23331 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
23333 DEFS
=-DHAVE_CONFIG_H
23338 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
23339 # 1. Remove the extension, and $U if already installed.
23340 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
23341 ac_i
=`printf "%s\n" "$ac_i" | sed "$ac_script"`
23342 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
23343 # will be set to the directory where LIBOBJS objects are built.
23344 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
23345 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
23347 LIBOBJS
=$ac_libobjs
23349 LTLIBOBJS
=$ac_ltlibobjs
23353 : "${CONFIG_STATUS=./config.status}"
23355 ac_clean_files_save
=$ac_clean_files
23356 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
23357 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
23358 printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
23360 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
23362 # Generated by $as_me.
23363 # Run this file to recreate the current configuration.
23364 # Compiler output produced by configure, useful for debugging
23365 # configure, is in config.log if it exists.
23368 ac_cs_recheck=false
23371 SHELL=\${CONFIG_SHELL-$SHELL}
23374 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
23375 ## -------------------- ##
23376 ## M4sh Initialization. ##
23377 ## -------------------- ##
23379 # Be more Bourne compatible
23380 DUALCASE
=1; export DUALCASE
# for MKS sh
23382 if test ${ZSH_VERSION+y} && (emulate sh
) >/dev
/null
2>&1
23386 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23387 # is contrary to our usage. Disable this feature.
23388 alias -g '${1+"$@"}'='"$@"'
23389 setopt NO_GLOB_SUBST
23391 case `(set -o) 2>/dev/null` in #(
23401 # Reset variables that may have inherited troublesome values from
23404 # IFS needs to be set, to space, tab, and newline, in precisely that order.
23405 # (If _AS_PATH_WALK were called with IFS unset, it would have the
23406 # side effect of setting IFS to empty, thus disabling word splitting.)
23407 # Quoting is to prevent editors from complaining about space-tab.
23417 # Ensure predictable behavior from utilities with locale-dependent output.
23423 # We cannot yet rely on "unset" to work, but we need these variables
23424 # to be unset--not just set to an empty or harmless value--now, to
23425 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
23426 # also avoids known problems related to "unset" and subshell syntax
23427 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
23428 for as_var
in BASH_ENV ENV MAIL MAILPATH CDPATH
23429 do eval test \
${$as_var+y} \
23430 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
23433 # Ensure that fds 0, 1, and 2 are open.
23434 if (exec 3>&0) 2>/dev
/null
; then :; else exec 0</dev
/null
; fi
23435 if (exec 3>&1) 2>/dev
/null
; then :; else exec 1>/dev
/null
; fi
23436 if (exec 3>&2) ; then :; else exec 2>/dev
/null
; fi
23438 # The user is always right.
23439 if ${PATH_SEPARATOR+false} :; then
23441 (PATH
='/bin;/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 && {
23442 (PATH
='/bin:/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 ||
23448 # Find who we are. Look in the path if we contain no directory separator.
23451 *[\\/]* ) as_myself
=$0 ;;
23452 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
23453 for as_dir
in $PATH
23456 case $as_dir in #(((
23459 *) as_dir
=$as_dir/ ;;
23461 test -r "$as_dir$0" && as_myself
=$as_dir$0 && break
23467 # We did not find ourselves, most probably we were run as `sh COMMAND'
23468 # in which case we are not to be found in the path.
23469 if test "x$as_myself" = x
; then
23472 if test ! -f "$as_myself"; then
23473 printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
23479 # as_fn_error STATUS ERROR [LINENO LOG_FD]
23480 # ----------------------------------------
23481 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
23482 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
23483 # script with STATUS, using 1 if that was 0.
23486 as_status
=$1; test $as_status -eq 0 && as_status
=1
23488 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
23489 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
23491 printf "%s\n" "$as_me: error: $2" >&2
23492 as_fn_exit
$as_status
23497 # as_fn_set_status STATUS
23498 # -----------------------
23499 # Set $? to STATUS, without forking.
23500 as_fn_set_status
()
23503 } # as_fn_set_status
23505 # as_fn_exit STATUS
23506 # -----------------
23507 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
23511 as_fn_set_status
$1
23517 # Portably unset VAR.
23520 { eval $1=; unset $1;}
23522 as_unset
=as_fn_unset
23524 # as_fn_append VAR VALUE
23525 # ----------------------
23526 # Append the text in VALUE to the end of the definition contained in VAR. Take
23527 # advantage of any shell optimizations that allow amortized linear growth over
23528 # repeated appends, instead of the typical quadratic growth present in naive
23530 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
23532 eval 'as_fn_append ()
23543 # as_fn_arith ARG...
23544 # ------------------
23545 # Perform arithmetic evaluation on the ARGs, and store the result in the
23546 # global $as_val. Take advantage of shells that can avoid forks. The arguments
23547 # must be portable across $(()) and expr.
23548 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
23550 eval 'as_fn_arith ()
23557 as_val
=`expr "$@" || test $? -eq 1`
23562 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
23563 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
23569 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
23570 as_basename
=basename
23575 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
23581 as_me
=`$as_basename -- "$0" ||
23582 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
23583 X"$0" : 'X\(//\)$' \| \
23584 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
23585 printf "%s\n" X/"$0" |
23586 sed '/^.*\/\([^/][^/]*\)\/*$/{
23600 # Avoid depending upon Character Ranges.
23601 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
23602 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
23603 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
23604 as_cr_digits
='0123456789'
23605 as_cr_alnum
=$as_cr_Letters$as_cr_digits
23608 # Determine whether it's possible to make 'echo' print without a newline.
23609 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
23610 # for compatibility with existing Makefiles.
23611 ECHO_C
= ECHO_N
= ECHO_T
=
23612 case `echo -n x` in #(((((
23614 case `echo 'xy\c'` in
23615 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
23617 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
23624 # For backward compatibility with old third-party macros, we provide
23625 # the shell variables $as_echo and $as_echo_n. New code should use
23626 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
23627 as_echo
='printf %s\n'
23628 as_echo_n
='printf %s'
23630 rm -f conf$$ conf$$.exe conf$$.
file
23631 if test -d conf$$.dir
; then
23632 rm -f conf$$.dir
/conf$$.
file
23635 mkdir conf$$.dir
2>/dev
/null
23637 if (echo >conf$$.
file) 2>/dev
/null
; then
23638 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
23640 # ... but there are two gotchas:
23641 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
23642 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
23643 # In both cases, we have to default to `cp -pR'.
23644 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
23646 elif ln conf$$.
file conf$$
2>/dev
/null
; then
23654 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
23655 rmdir conf$$.dir
2>/dev
/null
23660 # Create "$as_dir" as a directory, including parents if necessary.
23665 -*) as_dir
=.
/$as_dir;;
23667 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
23671 *\'*) as_qdir
=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
23672 *) as_qdir
=$as_dir;;
23674 as_dirs
="'$as_qdir' $as_dirs"
23675 as_dir
=`$as_dirname -- "$as_dir" ||
23676 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23677 X"$as_dir" : 'X\(//\)[^/]' \| \
23678 X"$as_dir" : 'X\(//\)$' \| \
23679 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
23680 printf "%s\n" X"$as_dir" |
23681 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23685 /^X\(\/\/\)[^/].*/{
23698 test -d "$as_dir" && break
23700 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
23701 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
23705 if mkdir
-p .
2>/dev
/null
; then
23706 as_mkdir_p
='mkdir -p "$as_dir"'
23708 test -d .
/-p && rmdir .
/-p
23713 # as_fn_executable_p FILE
23714 # -----------------------
23715 # Test if FILE is an executable regular file.
23716 as_fn_executable_p
()
23718 test -f "$1" && test -x "$1"
23719 } # as_fn_executable_p
23720 as_test_x
='test -x'
23721 as_executable_p
=as_fn_executable_p
23723 # Sed expression to map a string onto a valid CPP name.
23724 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
23726 # Sed expression to map a string onto a valid variable name.
23727 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
23731 ## ----------------------------------- ##
23732 ## Main body of $CONFIG_STATUS script. ##
23733 ## ----------------------------------- ##
23735 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
23737 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
23738 # Save the log message, to keep $0 and so on meaningful, and to
23739 # report actual input values of CONFIG_FILES etc. instead of their
23740 # values after options handling.
23742 This file was extended by Wine $as_me 9.11, which was
23743 generated by GNU Autoconf 2.71. Invocation command line was
23745 CONFIG_FILES = $CONFIG_FILES
23746 CONFIG_HEADERS = $CONFIG_HEADERS
23747 CONFIG_LINKS = $CONFIG_LINKS
23748 CONFIG_COMMANDS = $CONFIG_COMMANDS
23751 on `(hostname || uname -n) 2>/dev/null | sed 1q`
23757 case $ac_config_headers in *"
23758 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
23762 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23763 # Files that config.status was made for.
23764 config_headers="$ac_config_headers"
23765 config_links="$ac_config_links"
23766 config_commands="$ac_config_commands"
23770 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
23772 \`$as_me' instantiates files and other configuration actions
23773 from templates according to the current configuration. Unless the files
23774 and actions are specified as TAGs, all are instantiated by default.
23776 Usage: $0 [OPTION]... [TAG]...
23778 -h, --help print this help, then exit
23779 -V, --version print version number and configuration settings, then exit
23780 --config print configuration, then exit
23781 -q, --quiet, --silent
23782 do not print progress messages
23783 -d, --debug don't remove temporary files
23784 --recheck update $as_me by reconfiguring in the same conditions
23785 --header=FILE[:TEMPLATE]
23786 instantiate the configuration header FILE
23788 Configuration headers:
23791 Configuration links:
23794 Configuration commands:
23797 Report bugs to <wine-devel@winehq.org>.
23798 Wine home page: <https://www.winehq.org>."
23801 ac_cs_config
=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
23802 ac_cs_config_escaped
=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
23803 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23804 ac_cs_config='$ac_cs_config_escaped'
23806 Wine config.status 9.11
23807 configured by $0, generated by GNU Autoconf 2.71,
23808 with options \\"\$ac_cs_config\\"
23810 Copyright (C) 2021 Free Software Foundation, Inc.
23811 This config.status script is free software; the Free Software Foundation
23812 gives unlimited permission to copy, distribute and modify it."
23816 test -n "\$AWK" || AWK=awk
23819 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
23820 # The default lists apply if the user does not specify any file.
23826 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
23827 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
23831 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
23843 # Handling of the options.
23844 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
23846 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
23847 printf "%s\n" "$ac_cs_version"; exit ;;
23848 --config |
--confi |
--conf |
--con |
--co |
--c )
23849 printf "%s\n" "$ac_cs_config"; exit ;;
23850 --debug |
--debu |
--deb |
--de |
--d |
-d )
23852 --header |
--heade |
--head |
--hea )
23855 *\'*) ac_optarg
=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
23857 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
23858 ac_need_defaults
=false
;;
23860 # Conflict between --help and --header
23861 as_fn_error $?
"ambiguous option: \`$1'
23862 Try \`$0 --help' for more information.";;
23863 --help |
--hel |
-h )
23864 printf "%s\n" "$ac_cs_usage"; exit ;;
23865 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
23866 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
23869 # This is an error.
23870 -*) as_fn_error $?
"unrecognized option: \`$1'
23871 Try \`$0 --help' for more information." ;;
23873 *) as_fn_append ac_config_targets
" $1"
23874 ac_need_defaults
=false
;;
23880 ac_configure_extra_args
=
23882 if $ac_cs_silent; then
23884 ac_configure_extra_args
="$ac_configure_extra_args --silent"
23888 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23889 if \$ac_cs_recheck; then
23890 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
23892 \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
23893 CONFIG_SHELL='$SHELL'
23894 export CONFIG_SHELL
23899 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
23903 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
23904 ## Running $as_me. ##
23906 printf "%s\n" "$ac_log"
23910 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23914 wine_fn_output_makedep ()
23916 as_dir=tools; as_fn_mkdir_p
23917 $CC -I${wine_srcdir}tools -Iinclude -I${wine_srcdir}include -D__WINESRC__ -DWINE_UNIX_LIB $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext ${wine_srcdir}tools/makedep.c $LDFLAGS
23919 wine_fn_output_makefile ()
23921 cat <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && "$wine_makedep"$makedep_flags && return
23922 # This Makefile understands the following targets:
23924 # all (default): build wine
23925 # clean: remove all intermediate files
23926 # distclean: also remove all files created by configure
23928 # testclean: clean test results to force running all tests again
23929 # install-lib: install libraries needed to run applications
23930 # install-dev: install development environment
23931 # install: install everything
23932 # uninstall: uninstall everything
23933 # ctags: create a tags file for vim and others.
23934 # etags: create a TAGS file for Emacs.
23937 PATH_SEPARATOR = $PATH_SEPARATOR
23938 PACKAGE_NAME = $PACKAGE_NAME
23939 PACKAGE_TARNAME = $PACKAGE_TARNAME
23940 PACKAGE_VERSION = $PACKAGE_VERSION
23941 PACKAGE_STRING = $PACKAGE_STRING
23942 PACKAGE_BUGREPORT = $PACKAGE_BUGREPORT
23943 PACKAGE_URL = $PACKAGE_URL
23944 exec_prefix = $exec_prefix
23946 program_transform_name = $program_transform_name
23949 libexecdir = $libexecdir
23950 datarootdir = $datarootdir
23952 sysconfdir = $sysconfdir
23953 sharedstatedir = $sharedstatedir
23954 localstatedir = $localstatedir
23955 runstatedir = $runstatedir
23956 includedir = $includedir
23957 oldincludedir = $oldincludedir
23965 localedir = $localedir
23972 build_alias = $build_alias
23973 host_alias = $host_alias
23974 target_alias = $target_alias
23975 system_dllpath = $system_dllpath
23977 build_cpu = $build_cpu
23978 build_vendor = $build_vendor
23979 build_os = $build_os
23981 host_cpu = $host_cpu
23982 host_vendor = $host_vendor
23988 SET_MAKE = $SET_MAKE
23992 CPPFLAGS = $CPPFLAGS
23993 ac_ct_CC = $ac_ct_CC
23997 CXXFLAGS = $CXXFLAGS
23998 ac_ct_CXX = $ac_ct_CXX
24001 TARGETFLAGS = $TARGETFLAGS
24002 toolsext = $toolsext
24003 HOST_ARCH = $HOST_ARCH
24004 aarch64_CC = $aarch64_CC
24005 aarch64_CFLAGS = $aarch64_CFLAGS
24006 aarch64_EXTRACFLAGS = $aarch64_EXTRACFLAGS
24007 aarch64_LDFLAGS = $aarch64_LDFLAGS
24008 aarch64_DEBUG = $aarch64_DEBUG
24009 aarch64_TARGET = $aarch64_TARGET
24010 aarch64_DELAYLOADFLAG = $aarch64_DELAYLOADFLAG
24011 aarch64_DISABLED_SUBDIRS = $aarch64_DISABLED_SUBDIRS
24013 arm_CFLAGS = $arm_CFLAGS
24014 arm_EXTRACFLAGS = $arm_EXTRACFLAGS
24015 arm_LDFLAGS = $arm_LDFLAGS
24016 arm_DEBUG = $arm_DEBUG
24017 arm_TARGET = $arm_TARGET
24018 arm_DELAYLOADFLAG = $arm_DELAYLOADFLAG
24019 arm_DISABLED_SUBDIRS = $arm_DISABLED_SUBDIRS
24020 arm64ec_CC = $arm64ec_CC
24021 arm64ec_CFLAGS = $arm64ec_CFLAGS
24022 arm64ec_EXTRACFLAGS = $arm64ec_EXTRACFLAGS
24023 arm64ec_LDFLAGS = $arm64ec_LDFLAGS
24024 arm64ec_DEBUG = $arm64ec_DEBUG
24025 arm64ec_TARGET = $arm64ec_TARGET
24026 arm64ec_DELAYLOADFLAG = $arm64ec_DELAYLOADFLAG
24027 arm64ec_DISABLED_SUBDIRS = $arm64ec_DISABLED_SUBDIRS
24029 i386_CFLAGS = $i386_CFLAGS
24030 i386_EXTRACFLAGS = $i386_EXTRACFLAGS
24031 i386_LDFLAGS = $i386_LDFLAGS
24032 i386_DEBUG = $i386_DEBUG
24033 i386_TARGET = $i386_TARGET
24034 i386_DELAYLOADFLAG = $i386_DELAYLOADFLAG
24035 i386_DISABLED_SUBDIRS = $i386_DISABLED_SUBDIRS
24036 x86_64_CC = $x86_64_CC
24037 x86_64_CFLAGS = $x86_64_CFLAGS
24038 x86_64_EXTRACFLAGS = $x86_64_EXTRACFLAGS
24039 x86_64_LDFLAGS = $x86_64_LDFLAGS
24040 x86_64_DEBUG = $x86_64_DEBUG
24041 x86_64_TARGET = $x86_64_TARGET
24042 x86_64_DELAYLOADFLAG = $x86_64_DELAYLOADFLAG
24043 x86_64_DISABLED_SUBDIRS = $x86_64_DISABLED_SUBDIRS
24044 toolsdir = $toolsdir
24046 RUNTESTFLAGS = $RUNTESTFLAGS
24051 ac_ct_AR = $ac_ct_AR
24057 LDCONFIG = $LDCONFIG
24059 PKG_CONFIG = $PKG_CONFIG
24060 FONTFORGE = $FONTFORGE
24064 I386_LIBS = $I386_LIBS
24065 OPENGL_LIBS = $OPENGL_LIBS
24066 DLLFLAGS = $DLLFLAGS
24067 LDDLLFLAGS = $LDDLLFLAGS
24068 LDEXECFLAGS = $LDEXECFLAGS
24069 EXTRACFLAGS = $EXTRACFLAGS
24070 UNIXDLLFLAGS = $UNIXDLLFLAGS
24071 UNIXLDFLAGS = $UNIXLDFLAGS
24072 TOP_INSTALL_LIB = $TOP_INSTALL_LIB
24073 TOP_INSTALL_DEV = $TOP_INSTALL_DEV
24074 WINELOADER_LDFLAGS = $WINELOADER_LDFLAGS
24075 WINEPRELOADER_LDFLAGS = $WINEPRELOADER_LDFLAGS
24081 DISABLED_SUBDIRS = $DISABLED_SUBDIRS
24082 CONFIGURE_TARGETS = $CONFIGURE_TARGETS
24083 CARBON_LIBS = $CARBON_LIBS
24084 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
24085 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
24086 IOKIT_LIBS = $IOKIT_LIBS
24087 METAL_LIBS = $METAL_LIBS
24088 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
24089 CORESERVICES_LIBS = $CORESERVICES_LIBS
24090 APPKIT_LIBS = $APPKIT_LIBS
24091 SECURITY_LIBS = $SECURITY_LIBS
24092 SYSTEMCONFIGURATION_LIBS = $SYSTEMCONFIGURATION_LIBS
24093 COREAUDIO_LIBS = $COREAUDIO_LIBS
24094 OPENCL_LIBS = $OPENCL_LIBS
24096 OBJCFLAGS = $OBJCFLAGS
24097 ac_ct_OBJC = $ac_ct_OBJC
24098 WINELOADER_DEPENDS = $WINELOADER_DEPENDS
24099 PE_ARCHS = $PE_ARCHS
24100 MINGW_PKG_CONFIG = $MINGW_PKG_CONFIG
24101 FAUDIO_PE_CFLAGS = $FAUDIO_PE_CFLAGS
24102 FAUDIO_PE_LIBS = $FAUDIO_PE_LIBS
24103 FLUIDSYNTH_PE_CFLAGS = $FLUIDSYNTH_PE_CFLAGS
24104 FLUIDSYNTH_PE_LIBS = $FLUIDSYNTH_PE_LIBS
24105 GSM_PE_CFLAGS = $GSM_PE_CFLAGS
24106 GSM_PE_LIBS = $GSM_PE_LIBS
24107 JPEG_PE_CFLAGS = $JPEG_PE_CFLAGS
24108 JPEG_PE_LIBS = $JPEG_PE_LIBS
24109 JXR_PE_CFLAGS = $JXR_PE_CFLAGS
24110 JXR_PE_LIBS = $JXR_PE_LIBS
24111 LCMS2_PE_CFLAGS = $LCMS2_PE_CFLAGS
24112 LCMS2_PE_LIBS = $LCMS2_PE_LIBS
24113 LDAP_PE_CFLAGS = $LDAP_PE_CFLAGS
24114 LDAP_PE_LIBS = $LDAP_PE_LIBS
24115 MPG123_PE_CFLAGS = $MPG123_PE_CFLAGS
24116 MPG123_PE_LIBS = $MPG123_PE_LIBS
24117 MUSL_PE_CFLAGS = $MUSL_PE_CFLAGS
24118 MUSL_PE_LIBS = $MUSL_PE_LIBS
24119 PNG_PE_CFLAGS = $PNG_PE_CFLAGS
24120 PNG_PE_LIBS = $PNG_PE_LIBS
24121 TIFF_PE_CFLAGS = $TIFF_PE_CFLAGS
24122 TIFF_PE_LIBS = $TIFF_PE_LIBS
24123 VKD3D_PE_CFLAGS = $VKD3D_PE_CFLAGS
24124 VKD3D_PE_LIBS = $VKD3D_PE_LIBS
24125 XML2_PE_CFLAGS = $XML2_PE_CFLAGS
24126 XML2_PE_LIBS = $XML2_PE_LIBS
24127 XSLT_PE_CFLAGS = $XSLT_PE_CFLAGS
24128 XSLT_PE_LIBS = $XSLT_PE_LIBS
24129 ZLIB_PE_CFLAGS = $ZLIB_PE_CFLAGS
24130 ZLIB_PE_LIBS = $ZLIB_PE_LIBS
24131 ZYDIS_PE_CFLAGS = $ZYDIS_PE_CFLAGS
24132 ZYDIS_PE_LIBS = $ZYDIS_PE_LIBS
24133 PTHREAD_LIBS = $PTHREAD_LIBS
24136 X_CFLAGS = $X_CFLAGS
24137 X_PRE_LIBS = $X_PRE_LIBS
24139 X_EXTRA_LIBS = $X_EXTRA_LIBS
24140 WAYLAND_CLIENT_CFLAGS = $WAYLAND_CLIENT_CFLAGS
24141 WAYLAND_CLIENT_LIBS = $WAYLAND_CLIENT_LIBS
24142 WAYLAND_SCANNER = $WAYLAND_SCANNER
24143 XKBCOMMON_CFLAGS = $XKBCOMMON_CFLAGS
24144 XKBCOMMON_LIBS = $XKBCOMMON_LIBS
24145 XKBREGISTRY_CFLAGS = $XKBREGISTRY_CFLAGS
24146 XKBREGISTRY_LIBS = $XKBREGISTRY_LIBS
24147 EGL_CFLAGS = $EGL_CFLAGS
24148 EGL_LIBS = $EGL_LIBS
24149 WAYLAND_EGL_CFLAGS = $WAYLAND_EGL_CFLAGS
24150 WAYLAND_EGL_LIBS = $WAYLAND_EGL_LIBS
24151 PCAP_LIBS = $PCAP_LIBS
24152 PCSCLITE_LIBS = $PCSCLITE_LIBS
24153 ODBC_CFLAGS = $ODBC_CFLAGS
24154 ODBC_LIBS = $ODBC_LIBS
24155 INOTIFY_CFLAGS = $INOTIFY_CFLAGS
24156 INOTIFY_LIBS = $INOTIFY_LIBS
24157 DBUS_CFLAGS = $DBUS_CFLAGS
24158 DBUS_LIBS = $DBUS_LIBS
24159 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
24160 GNUTLS_LIBS = $GNUTLS_LIBS
24161 SANE_CFLAGS = $SANE_CFLAGS
24162 SANE_LIBS = $SANE_LIBS
24163 USB_CFLAGS = $USB_CFLAGS
24164 USB_LIBS = $USB_LIBS
24165 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
24166 GPHOTO2_LIBS = $GPHOTO2_LIBS
24167 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
24168 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
24169 RESOLV_LIBS = $RESOLV_LIBS
24170 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
24171 FREETYPE_LIBS = $FREETYPE_LIBS
24172 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
24173 PULSE_CFLAGS = $PULSE_CFLAGS
24174 PULSE_LIBS = $PULSE_LIBS
24175 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
24176 GSTREAMER_LIBS = $GSTREAMER_LIBS
24177 ALSA_LIBS = $ALSA_LIBS
24178 OSS4_CFLAGS = $OSS4_CFLAGS
24179 OSS4_LIBS = $OSS4_LIBS
24180 UDEV_CFLAGS = $UDEV_CFLAGS
24181 UDEV_LIBS = $UDEV_LIBS
24182 UNWIND_CFLAGS = $UNWIND_CFLAGS
24183 UNWIND_LIBS = $UNWIND_LIBS
24184 SDL2_CFLAGS = $SDL2_CFLAGS
24185 SDL2_LIBS = $SDL2_LIBS
24186 CAPI20_CFLAGS = $CAPI20_CFLAGS
24187 CAPI20_LIBS = $CAPI20_LIBS
24188 CUPS_CFLAGS = $CUPS_CFLAGS
24189 CUPS_LIBS = $CUPS_LIBS
24190 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
24191 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
24192 KRB5_CFLAGS = $KRB5_CFLAGS
24193 KRB5_LIBS = $KRB5_LIBS
24194 GSSAPI_CFLAGS = $GSSAPI_CFLAGS
24195 GSSAPI_LIBS = $GSSAPI_LIBS
24196 PROCSTAT_LIBS = $PROCSTAT_LIBS
24197 NETAPI_CFLAGS = $NETAPI_CFLAGS
24198 NETAPI_LIBS = $NETAPI_LIBS
24199 MSVCRTFLAGS = $MSVCRTFLAGS
24200 DELAYLOADFLAG = $DELAYLOADFLAG
24201 WINELOADER_PROGRAMS = $WINELOADER_PROGRAMS
24203 TAGSFLAGS = $TAGSFLAGS
24205 LTLIBOBJS = $LTLIBOBJS
24209 as_fn_error $? "could not create Makefile" "$LINENO" 5
24214 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
24216 # Handling of arguments.
24217 for ac_config_target
in $ac_config_targets
24219 case $ac_config_target in
24220 "include/config.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/config.h" ;;
24221 "include/stamp-h") CONFIG_COMMANDS
="$CONFIG_COMMANDS include/stamp-h" ;;
24222 "wine") CONFIG_LINKS
="$CONFIG_LINKS wine:tools/winewrapper" ;;
24223 "wine64") CONFIG_LINKS
="$CONFIG_LINKS wine64:tools/winewrapper" ;;
24224 "tools/makedep") CONFIG_COMMANDS
="$CONFIG_COMMANDS tools/makedep" ;;
24225 "Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS Makefile" ;;
24227 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
24232 # If the user did not use the arguments to specify the items to instantiate,
24233 # then the envvar interface is used. Set only those that are not.
24234 # We use the long form for the default assignment because of an extremely
24235 # bizarre bug on SunOS 4.1.3.
24236 if $ac_need_defaults; then
24237 test ${CONFIG_HEADERS+y} || CONFIG_HEADERS
=$config_headers
24238 test ${CONFIG_LINKS+y} || CONFIG_LINKS
=$config_links
24239 test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS
=$config_commands
24242 # Have a temporary directory for convenience. Make it in the build tree
24243 # simply because there is no reason against having it here, and in addition,
24244 # creating and moving files from /tmp can sometimes cause problems.
24245 # Hook for its removal unless debugging.
24246 # Note that there is a small window in which the directory will not be cleaned:
24247 # after its creation but before its name has been assigned to `$tmp'.
24251 trap 'exit_status=$?
24252 : "${ac_tmp:=$tmp}"
24253 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
24255 trap 'as_fn_exit 1' 1 2 13 15
24257 # Create a (secure) tmp directory for tmp files.
24260 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
24264 tmp
=.
/conf$$
-$RANDOM
24265 (umask 077 && mkdir
"$tmp")
24266 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
24269 # Set up the scripts for CONFIG_HEADERS section.
24270 # No need to generate them if there are no CONFIG_HEADERS.
24271 # This happens for instance with `./config.status Makefile'.
24272 if test -n "$CONFIG_HEADERS"; then
24273 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
24277 # Transform confdefs.h into an awk script `defines.awk', embedded as
24278 # here-document in config.status, that substitutes the proper values into
24279 # config.h.in to produce config.h.
24281 # Create a delimiter string that does not exist in confdefs.h, to ease
24282 # handling of long lines.
24284 for ac_last_try
in false false
:; do
24285 ac_tt
=`sed -n "/$ac_delim/p" confdefs.h`
24286 if test -z "$ac_tt"; then
24288 elif $ac_last_try; then
24289 as_fn_error $?
"could not make $CONFIG_HEADERS" "$LINENO" 5
24291 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
24295 # For the awk script, D is an array of macro values keyed by name,
24296 # likewise P contains macro parameters if any. Preserve backslash
24297 # newline sequences.
24299 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
24301 s/.\{148\}/&'"$ac_delim"'/g
24304 s/^[ ]*#[ ]*define[ ][ ]*/ /
24311 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
24313 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
24317 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
24318 D["\1"]=" \3\\\\\\n"\\/p
24320 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
24325 s/.\{148\}/&'"$ac_delim"'/g
24330 s/["\\]/\\&/g; s/^/"/; s/$/"/p
24333 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
24335 ' <confdefs.h |
sed '
24336 s/'"$ac_delim"'/"\\\
24337 "/g' >>$CONFIG_STATUS || ac_write_fail
=1
24339 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
24340 for (key in D) D_is_set[key] = 1
24343 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
24345 split(line, arg, " ")
24346 if (arg[1] == "#") {
24350 defundef = substr(arg[1], 2)
24353 split(mac1, mac2, "(") #)
24355 prefix = substr(line, 1, index(line, defundef) - 1)
24356 if (D_is_set[macro]) {
24357 # Preserve the white space surrounding the "#".
24358 print prefix "define", macro P[macro] D[macro]
24361 # Replace #undef with comments. This is necessary, for example,
24362 # in the case of _POSIX_SOURCE, which is predefined and required
24363 # on some systems where configure will not decide to define it.
24364 if (defundef == "undef") {
24365 print "/*", prefix defundef, macro, "*/"
24373 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
24374 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
24375 fi # test -n "$CONFIG_HEADERS"
24378 eval set X
" :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
24383 :[FHLC
]) ac_mode
=$ac_tag; continue;;
24385 case $ac_mode$ac_tag in
24387 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
24388 :[FH
]-) ac_tag
=-:-;;
24389 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
24406 -) ac_f
="$ac_tmp/stdin";;
24407 *) # Look for the file first in the build tree, then in the source tree
24408 # (if the path is not absolute). The absolute path cannot be DOS-style,
24409 # because $ac_f cannot contain `:'.
24413 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
24415 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
24417 case $ac_f in *\'*) ac_f
=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
24418 as_fn_append ac_file_inputs
" '$ac_f'"
24421 # Let's still pretend it is `configure' which instantiates (i.e., don't
24422 # use $as_me), people would be surprised to read:
24423 # /* config.h. Generated by config.status. */
24424 configure_input
='Generated from '`
24425 printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
24427 if test x
"$ac_file" != x-
; then
24428 configure_input
="$ac_file. $configure_input"
24429 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
24430 printf "%s\n" "$as_me: creating $ac_file" >&6;}
24432 # Neutralize special characters interpreted by sed in replacement strings.
24433 case $configure_input in #(
24434 *\
&* |
*\|
* |
*\\* )
24435 ac_sed_conf_input
=`printf "%s\n" "$configure_input" |
24436 sed 's/[\\\\&|]/\\\\&/g'`;; #(
24437 *) ac_sed_conf_input
=$configure_input;;
24441 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
24442 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
24447 ac_dir
=`$as_dirname -- "$ac_file" ||
24448 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24449 X"$ac_file" : 'X\(//\)[^/]' \| \
24450 X"$ac_file" : 'X\(//\)$' \| \
24451 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
24452 printf "%s\n" X"$ac_file" |
24453 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
24457 /^X\(\/\/\)[^/].*/{
24470 as_dir
="$ac_dir"; as_fn_mkdir_p
24474 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
24476 ac_dir_suffix
=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
24477 # A ".." for each directory in $ac_dir_suffix.
24478 ac_top_builddir_sub
=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
24479 case $ac_top_builddir_sub in
24480 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
24481 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
24484 ac_abs_top_builddir
=$ac_pwd
24485 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
24486 # for backward compatibility:
24487 ac_top_builddir
=$ac_top_build_prefix
24490 .
) # We are building in place.
24492 ac_top_srcdir
=$ac_top_builddir_sub
24493 ac_abs_top_srcdir
=$ac_pwd ;;
24494 [\\/]* | ?
:[\\/]* ) # Absolute name.
24495 ac_srcdir
=$srcdir$ac_dir_suffix;
24496 ac_top_srcdir
=$srcdir
24497 ac_abs_top_srcdir
=$srcdir ;;
24498 *) # Relative name.
24499 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
24500 ac_top_srcdir
=$ac_top_build_prefix$srcdir
24501 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
24503 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
24512 if test x
"$ac_file" != x-
; then
24514 printf "%s\n" "/* $configure_input */" >&1 \
24515 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
24516 } >"$ac_tmp/config.h" \
24517 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5
24518 if diff "$ac_file" "$ac_tmp/config.h" >/dev
/null
2>&1; then
24519 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
24520 printf "%s\n" "$as_me: $ac_file is unchanged" >&6;}
24523 mv "$ac_tmp/config.h" "$ac_file" \
24524 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5
24527 printf "%s\n" "/* $configure_input */" >&1 \
24528 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
24529 || as_fn_error $?
"could not create -" "$LINENO" 5
24537 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
24540 # Prefer the file from the source tree if names are identical.
24541 if test "$ac_source" = "$ac_file" ||
test ! -r "$ac_source"; then
24542 ac_source
=$srcdir/$ac_source
24545 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
24546 printf "%s\n" "$as_me: linking $ac_source to $ac_file" >&6;}
24548 if test ! -r "$ac_source"; then
24549 as_fn_error $?
"$ac_source: file not found" "$LINENO" 5
24553 # Try a relative symlink, then a hard link, then a copy.
24555 [\\/$
]* | ?
:[\\/]* ) ac_rel_source
=$ac_source ;;
24556 *) ac_rel_source
=$ac_top_build_prefix$ac_source ;;
24558 ln -s "$ac_rel_source" "$ac_file" 2>/dev
/null ||
24559 ln "$ac_source" "$ac_file" 2>/dev
/null ||
24560 cp -p "$ac_source" "$ac_file" ||
24561 as_fn_error $?
"cannot link or copy $ac_source to $ac_file" "$LINENO" 5
24564 :C
) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
24565 printf "%s\n" "$as_me: executing $ac_file commands" >&6;}
24570 case $ac_file$ac_mode in
24571 "include/stamp-h":C
) echo timestamp
> include
/stamp-h
;;
24572 "tools/makedep":C
) wine_fn_output_makedep || as_fn_exit $?
;;
24573 "Makefile":C
) wine_fn_output_makefile Makefile
;;
24581 ac_clean_files
=$ac_clean_files_save
24583 test $ac_write_fail = 0 ||
24584 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
24587 # configure is writing to config.log, and then calls config.status.
24588 # config.status does its own redirection, appending to config.log.
24589 # Unfortunately, on DOS this fails, as config.log is still kept open
24590 # by configure, so config.status won't be able to write to it; its
24591 # output is simply discarded. So we exec the FD to /dev/null,
24592 # effectively closing config.log, so it can be properly (re)opened and
24593 # appended to by config.status. When coming back to configure, we
24594 # need to make the FD available again.
24595 if test "$no_create" != yes; then
24597 ac_config_status_args
=
24598 test "$silent" = yes &&
24599 ac_config_status_args
="$ac_config_status_args --quiet"
24601 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
24603 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
24604 # would make configure fail if this is the last instruction.
24605 $ac_cs_success || as_fn_exit
1
24607 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
24608 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
24609 printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
24613 if test "$no_create" = "yes"
24619 if test "x$wine_notices" != x
; then
24622 for msg
in $wine_notices; do
24628 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $msg" >&5
24629 printf "%s\n" "$as_me: $msg" >&6;}
24634 for msg
in $wine_warnings; do
24641 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
24642 printf "%s\n" "$as_me: WARNING: $msg" >&2;}
24648 $as_me: Finished. Do '${ac_make}' to compile Wine.