2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.71 for Wine 9.13.
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.13'
615 PACKAGE_STRING
='Wine 9.13'
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
813 x86_64_DISABLED_SUBDIRS
821 i386_DISABLED_SUBDIRS
829 arm64ec_DISABLED_SUBDIRS
830 arm64ec_DELAYLOADFLAG
845 aarch64_DISABLED_SUBDIRS
846 aarch64_DELAYLOADFLAG
907 program_transform_name
920 enable_option_checking
926 enable_maintainer_mode
993 enable_appxdeploymentclient
1007 enable_bcryptprimitives
1008 enable_bluetoothapis
1027 enable_coremessaging
1050 enable_d3dcompiler_33
1051 enable_d3dcompiler_34
1052 enable_d3dcompiler_35
1053 enable_d3dcompiler_36
1054 enable_d3dcompiler_37
1055 enable_d3dcompiler_38
1056 enable_d3dcompiler_39
1057 enable_d3dcompiler_40
1058 enable_d3dcompiler_41
1059 enable_d3dcompiler_42
1060 enable_d3dcompiler_43
1061 enable_d3dcompiler_46
1062 enable_d3dcompiler_47
1115 enable_directmanipulation
1153 enable_explorerframe
1170 enable_graphicscapture
1181 enable_hvsimanagementapi
1214 enable_light_msstyles
1219 enable_magnification
1230 enable_mfmediaengine
1297 enable_msvcp140_atomic_wait
1298 enable_msvcp140_codecvt_ids
1364 enable_photometadatahandler
1444 enable_threadpoolwinrt
1447 enable_twinapi_appcore
1451 enable_uiautomationcore
1471 enable_vcruntime140_1
1489 enable_windows_applicationmodel
1490 enable_windows_devices_bluetooth
1491 enable_windows_devices_enumeration
1492 enable_windows_devices_usb
1493 enable_windows_gaming_input
1494 enable_windows_gaming_ui_gamebar
1495 enable_windows_globalization
1496 enable_windows_media_devices
1497 enable_windows_media_mediacontrol
1498 enable_windows_media_speech
1499 enable_windows_media
1500 enable_windows_networking_hostname
1501 enable_windows_networking
1502 enable_windows_perception_stub
1503 enable_windows_security_authentication_onlineid
1504 enable_windows_security_credentials_ui_userconsentverifier
1505 enable_windows_storage_applicationdata
1506 enable_windows_system_profile_systemmanufacturers
1509 enable_windowscodecs
1510 enable_windowscodecsext
1512 enable_wineandroid_drv
1514 enable_winecoreaudio_drv
1517 enable_winegstreamer
1523 enable_winepulse_drv
1526 enable_winewayland_drv
1528 enable_winexinput_sys
1575 enable_xactengine2_0
1576 enable_xactengine2_4
1577 enable_xactengine2_7
1578 enable_xactengine2_9
1579 enable_xactengine3_0
1580 enable_xactengine3_1
1581 enable_xactengine3_2
1582 enable_xactengine3_3
1583 enable_xactengine3_4
1584 enable_xactengine3_5
1585 enable_xactengine3_6
1586 enable_xactengine3_7
1637 enable_wmcodecdspuuid
1646 enable_aspnet_regiis
1694 enable_presentationfontcache
1709 enable_servicemodelreg
1735 enable_winemenubuilder
1737 enable_winemsibuilder
1762 ac_precious_vars
='build_alias
1777 FLUIDSYNTH_PE_CFLAGS
1809 WAYLAND_CLIENT_CFLAGS
1861 # Initialize some variables set by options.
1863 ac_init_version
=false
1864 ac_unrecognized_opts
=
1865 ac_unrecognized_sep
=
1866 # The variables have the same names as the options, with
1867 # dashes changed to underlines.
1868 cache_file
=/dev
/null
1875 program_transform_name
=s
,x
,x
,
1883 # Installation directory options.
1884 # These are left unexpanded so users can "make install exec_prefix=/foo"
1885 # and all the variables that are supposed to be based on exec_prefix
1886 # by default will actually change.
1887 # Use braces instead of parens because sh, perl, etc. also accept them.
1888 # (The list follows the same order as the GNU Coding Standards.)
1889 bindir
='${exec_prefix}/bin'
1890 sbindir
='${exec_prefix}/sbin'
1891 libexecdir
='${exec_prefix}/libexec'
1892 datarootdir
='${prefix}/share'
1893 datadir
='${datarootdir}'
1894 sysconfdir
='${prefix}/etc'
1895 sharedstatedir
='${prefix}/com'
1896 localstatedir
='${prefix}/var'
1897 runstatedir
='${localstatedir}/run'
1898 includedir
='${prefix}/include'
1899 oldincludedir
='/usr/include'
1900 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
1901 infodir
='${datarootdir}/info'
1906 libdir
='${exec_prefix}/lib'
1907 localedir
='${datarootdir}/locale'
1908 mandir
='${datarootdir}/man'
1914 # If the previous option needs an argument, assign it.
1915 if test -n "$ac_prev"; then
1916 eval $ac_prev=\
$ac_option
1922 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1927 case $ac_dashdash$ac_option in
1931 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
1933 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
1934 bindir
=$ac_optarg ;;
1936 -build |
--build |
--buil |
--bui |
--bu)
1937 ac_prev
=build_alias
;;
1938 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
1939 build_alias
=$ac_optarg ;;
1941 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
1942 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
1943 ac_prev
=cache_file
;;
1944 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
1945 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
1946 cache_file
=$ac_optarg ;;
1948 --config-cache |
-C)
1949 cache_file
=config.cache
;;
1951 -datadir |
--datadir |
--datadi |
--datad)
1953 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
1954 datadir
=$ac_optarg ;;
1956 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1957 |
--dataroo |
--dataro |
--datar)
1958 ac_prev
=datarootdir
;;
1959 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1960 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1961 datarootdir
=$ac_optarg ;;
1963 -disable-* |
--disable-*)
1964 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1965 # Reject names that are not valid shell variable names.
1966 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1967 as_fn_error $?
"invalid feature name: \`$ac_useropt'"
1968 ac_useropt_orig
=$ac_useropt
1969 ac_useropt
=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1970 case $ac_user_opts in
1972 "enable_
$ac_useropt"
1974 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1975 ac_unrecognized_sep
=', ';;
1977 eval enable_
$ac_useropt=no
;;
1979 -docdir |
--docdir |
--docdi |
--doc |
--do)
1981 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1982 docdir
=$ac_optarg ;;
1984 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1986 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1987 dvidir
=$ac_optarg ;;
1989 -enable-* |
--enable-*)
1990 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1991 # Reject names that are not valid shell variable names.
1992 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1993 as_fn_error $?
"invalid feature name: \`$ac_useropt'"
1994 ac_useropt_orig
=$ac_useropt
1995 ac_useropt
=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1996 case $ac_user_opts in
1998 "enable_
$ac_useropt"
2000 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
2001 ac_unrecognized_sep
=', ';;
2003 eval enable_
$ac_useropt=\
$ac_optarg ;;
2005 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
2006 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
2007 |
--exec |
--exe |
--ex)
2008 ac_prev
=exec_prefix
;;
2009 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
2010 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
2011 |
--exec=* |
--exe=* |
--ex=*)
2012 exec_prefix
=$ac_optarg ;;
2014 -gas |
--gas |
--ga |
--g)
2015 # Obsolete; use --with-gas.
2018 -help |
--help |
--hel |
--he |
-h)
2019 ac_init_help
=long
;;
2020 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
2021 ac_init_help
=recursive
;;
2022 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
2023 ac_init_help
=short
;;
2025 -host |
--host |
--hos |
--ho)
2026 ac_prev
=host_alias
;;
2027 -host=* |
--host=* |
--hos=* |
--ho=*)
2028 host_alias
=$ac_optarg ;;
2030 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
2032 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
2034 htmldir
=$ac_optarg ;;
2036 -includedir |
--includedir |
--includedi |
--included |
--include \
2037 |
--includ |
--inclu |
--incl |
--inc)
2038 ac_prev
=includedir
;;
2039 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
2040 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
2041 includedir
=$ac_optarg ;;
2043 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
2045 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
2046 infodir
=$ac_optarg ;;
2048 -libdir |
--libdir |
--libdi |
--libd)
2050 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
2051 libdir
=$ac_optarg ;;
2053 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
2054 |
--libexe |
--libex |
--libe)
2055 ac_prev
=libexecdir
;;
2056 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
2057 |
--libexe=* |
--libex=* |
--libe=*)
2058 libexecdir
=$ac_optarg ;;
2060 -localedir |
--localedir |
--localedi |
--localed |
--locale)
2061 ac_prev
=localedir
;;
2062 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
2063 localedir
=$ac_optarg ;;
2065 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
2066 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
2067 ac_prev
=localstatedir
;;
2068 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
2069 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
2070 localstatedir
=$ac_optarg ;;
2072 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
2074 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
2075 mandir
=$ac_optarg ;;
2077 -nfp |
--nfp |
--nf)
2078 # Obsolete; use --without-fp.
2081 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
2082 |
--no-cr |
--no-c |
-n)
2085 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
2086 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
2089 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
2090 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
2091 |
--oldin |
--oldi |
--old |
--ol |
--o)
2092 ac_prev
=oldincludedir
;;
2093 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
2094 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
2095 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
2096 oldincludedir
=$ac_optarg ;;
2098 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
2100 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
2101 prefix
=$ac_optarg ;;
2103 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
2104 |
--program-pre |
--program-pr |
--program-p)
2105 ac_prev
=program_prefix
;;
2106 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
2107 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
2108 program_prefix
=$ac_optarg ;;
2110 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
2111 |
--program-suf |
--program-su |
--program-s)
2112 ac_prev
=program_suffix
;;
2113 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
2114 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
2115 program_suffix
=$ac_optarg ;;
2117 -program-transform-name |
--program-transform-name \
2118 |
--program-transform-nam |
--program-transform-na \
2119 |
--program-transform-n |
--program-transform- \
2120 |
--program-transform |
--program-transfor \
2121 |
--program-transfo |
--program-transf \
2122 |
--program-trans |
--program-tran \
2123 |
--progr-tra |
--program-tr |
--program-t)
2124 ac_prev
=program_transform_name
;;
2125 -program-transform-name=* |
--program-transform-name=* \
2126 |
--program-transform-nam=* |
--program-transform-na=* \
2127 |
--program-transform-n=* |
--program-transform-=* \
2128 |
--program-transform=* |
--program-transfor=* \
2129 |
--program-transfo=* |
--program-transf=* \
2130 |
--program-trans=* |
--program-tran=* \
2131 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
2132 program_transform_name
=$ac_optarg ;;
2134 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
2136 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
2137 pdfdir
=$ac_optarg ;;
2139 -psdir |
--psdir |
--psdi |
--psd |
--ps)
2141 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
2144 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2145 |
-silent |
--silent |
--silen |
--sile |
--sil)
2148 -runstatedir |
--runstatedir |
--runstatedi |
--runstated \
2149 |
--runstate |
--runstat |
--runsta |
--runst |
--runs \
2150 |
--run |
--ru |
--r)
2151 ac_prev
=runstatedir
;;
2152 -runstatedir=* |
--runstatedir=* |
--runstatedi=* |
--runstated=* \
2153 |
--runstate=* |
--runstat=* |
--runsta=* |
--runst=* |
--runs=* \
2154 |
--run=* |
--ru=* |
--r=*)
2155 runstatedir
=$ac_optarg ;;
2157 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
2159 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
2161 sbindir
=$ac_optarg ;;
2163 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
2164 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
2165 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
2167 ac_prev
=sharedstatedir
;;
2168 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
2169 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
2170 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
2172 sharedstatedir
=$ac_optarg ;;
2174 -site |
--site |
--sit)
2176 -site=* |
--site=* |
--sit=*)
2179 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
2181 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
2182 srcdir
=$ac_optarg ;;
2184 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
2185 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
2186 ac_prev
=sysconfdir
;;
2187 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
2188 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
2189 sysconfdir
=$ac_optarg ;;
2191 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
2192 ac_prev
=target_alias
;;
2193 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
2194 target_alias
=$ac_optarg ;;
2196 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
2199 -version |
--version |
--versio |
--versi |
--vers |
-V)
2200 ac_init_version
=: ;;
2203 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2204 # Reject names that are not valid shell variable names.
2205 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
2206 as_fn_error $?
"invalid package name: \`$ac_useropt'"
2207 ac_useropt_orig
=$ac_useropt
2208 ac_useropt
=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
2209 case $ac_user_opts in
2213 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2214 ac_unrecognized_sep
=', ';;
2216 eval with_
$ac_useropt=\
$ac_optarg ;;
2218 -without-* |
--without-*)
2219 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2220 # Reject names that are not valid shell variable names.
2221 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
2222 as_fn_error $?
"invalid package name: \`$ac_useropt'"
2223 ac_useropt_orig
=$ac_useropt
2224 ac_useropt
=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
2225 case $ac_user_opts in
2229 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2230 ac_unrecognized_sep
=', ';;
2232 eval with_
$ac_useropt=no
;;
2235 # Obsolete; use --with-x.
2238 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
2239 |
--x-incl |
--x-inc |
--x-in |
--x-i)
2240 ac_prev
=x_includes
;;
2241 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
2242 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
2243 x_includes
=$ac_optarg ;;
2245 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
2246 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
2247 ac_prev
=x_libraries
;;
2248 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
2249 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
2250 x_libraries
=$ac_optarg ;;
2252 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
2253 Try \`$0 --help' for more information"
2257 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
2258 # Reject names that are not valid shell variable names.
2259 case $ac_envvar in #(
2260 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
2261 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
2263 eval $ac_envvar=\
$ac_optarg
2264 export $ac_envvar ;;
2267 # FIXME: should be removed in autoconf 3.0.
2268 printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
2269 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
2270 printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
2271 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2277 if test -n "$ac_prev"; then
2278 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
2279 as_fn_error $?
"missing argument to $ac_option"
2282 if test -n "$ac_unrecognized_opts"; then
2283 case $enable_option_checking in
2285 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
2286 *) printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2290 # Check all directory arguments for consistency.
2291 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2292 datadir sysconfdir sharedstatedir localstatedir includedir \
2293 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2294 libdir localedir mandir runstatedir
2296 eval ac_val
=\$
$ac_var
2297 # Remove trailing slashes.
2300 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2301 eval $ac_var=\
$ac_val;;
2303 # Be sure to have absolute directory names.
2305 [\\/$
]* | ?
:[\\/]* ) continue;;
2306 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
2308 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
2311 # There might be people who depend on the old broken behavior: `$host'
2312 # used to hold the argument of --host etc.
2313 # FIXME: To remove some day.
2316 target
=$target_alias
2318 # FIXME: To remove some day.
2319 if test "x$host_alias" != x
; then
2320 if test "x$build_alias" = x
; then
2321 cross_compiling
=maybe
2322 elif test "x$build_alias" != "x$host_alias"; then
2328 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
2330 test "$silent" = yes && exec 6>/dev
/null
2333 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
2334 ac_ls_di
=`ls -di .` &&
2335 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
2336 as_fn_error $?
"working directory cannot be determined"
2337 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2338 as_fn_error $?
"pwd does not report name of working directory"
2341 # Find the source files, if location was not specified.
2342 if test -z "$srcdir"; then
2343 ac_srcdir_defaulted
=yes
2344 # Try the directory containing this script, then the parent directory.
2345 ac_confdir
=`$as_dirname -- "$as_myself" ||
2346 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2347 X"$as_myself" : 'X\(//\)[^/]' \| \
2348 X"$as_myself" : 'X\(//\)$' \| \
2349 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2350 printf "%s\n" X"$as_myself" |
2351 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2369 if test ! -r "$srcdir/$ac_unique_file"; then
2373 ac_srcdir_defaulted
=no
2375 if test ! -r "$srcdir/$ac_unique_file"; then
2376 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
2377 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
2379 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
2381 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2383 # When building in place, set srcdir=.
2384 if test "$ac_abs_confdir" = "$ac_pwd"; then
2387 # Remove unnecessary trailing slashes from srcdir.
2388 # Double slashes in file names in object file debugging info
2389 # mess up M-x gdb in Emacs.
2391 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2393 for ac_var
in $ac_precious_vars; do
2394 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
2395 eval ac_env_
${ac_var}_value
=\$
${ac_var}
2396 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
2397 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
2401 # Report the --help message.
2403 if test "$ac_init_help" = "long"; then
2404 # Omit some internal or obsolete options to make the list less imposing.
2405 # This message is too long to be a string in the A/UX 3.1 sh.
2407 \`configure' configures Wine 9.13 to adapt to many kinds of systems.
2409 Usage: $0 [OPTION]... [VAR=VALUE]...
2411 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2412 VAR=VALUE. See below for descriptions of some of the useful variables.
2414 Defaults for the options are specified in brackets.
2417 -h, --help display this help and exit
2418 --help=short display options specific to this package
2419 --help=recursive display the short help of all the included packages
2420 -V, --version display version information and exit
2421 -q, --quiet, --silent do not print \`checking ...' messages
2422 --cache-file=FILE cache test results in FILE [disabled]
2423 -C, --config-cache alias for \`--cache-file=config.cache'
2424 -n, --no-create do not create output files
2425 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2427 Installation directories:
2428 --prefix=PREFIX install architecture-independent files in PREFIX
2429 [$ac_default_prefix]
2430 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2433 By default, \`make install' will install all the files in
2434 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2435 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2436 for instance \`--prefix=\$HOME'.
2438 For better control, use the options below.
2440 Fine tuning of the installation directories:
2441 --bindir=DIR user executables [EPREFIX/bin]
2442 --sbindir=DIR system admin executables [EPREFIX/sbin]
2443 --libexecdir=DIR program executables [EPREFIX/libexec]
2444 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2445 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2446 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2447 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2448 --libdir=DIR object code libraries [EPREFIX/lib]
2449 --includedir=DIR C header files [PREFIX/include]
2450 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2451 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2452 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2453 --infodir=DIR info documentation [DATAROOTDIR/info]
2454 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2455 --mandir=DIR man documentation [DATAROOTDIR/man]
2456 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2457 --htmldir=DIR html documentation [DOCDIR]
2458 --dvidir=DIR dvi documentation [DOCDIR]
2459 --pdfdir=DIR pdf documentation [DOCDIR]
2460 --psdir=DIR ps documentation [DOCDIR]
2466 --x-includes=DIR X include files are
in DIR
2467 --x-libraries=DIR X library files are
in DIR
2470 --build=BUILD configure
for building on BUILD
[guessed
]
2471 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
2475 if test -n "$ac_init_help"; then
2476 case $ac_init_help in
2477 short | recursive
) echo "Configuration of Wine 9.13:";;
2482 --disable-option-checking ignore unrecognized
--enable/--with options
2483 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
2484 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
2485 --enable-archs={i386
,x86_64
,arm
,aarch64
}
2486 enable multiple architectures
for PE compilation
2487 --disable-win16 do not include Win16 support
2488 --enable-win64 build a Win64 emulator on AMD64
(won
't run Win32
2490 --disable-tests do not build the regression tests
2491 --enable-build-id include .buildid section in output objects
2492 --enable-maintainer-mode
2493 enable maintainer-specific build rules
2494 --enable-silent-rules use silent build rules (override: "make V=1")
2495 --enable-werror treat compilation warnings as errors
2496 --disable-largefile omit support for large files
2499 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2500 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2501 --without-alsa do not use the Alsa sound support
2502 --without-capi do not use CAPI (ISDN support)
2503 --without-coreaudio do not use the CoreAudio sound support
2504 --without-cups do not use CUPS
2505 --without-dbus do not use DBus (dynamic device support)
2506 --without-fontconfig do not use fontconfig
2507 --without-freetype do not use the FreeType library
2508 --without-gettext do not use gettext
2509 --with-gettextpo use the GetTextPO library to rebuild po files
2510 --without-gphoto do not use gphoto (Digital Camera support)
2511 --without-gnutls do not use GnuTLS (schannel support)
2512 --without-gssapi do not use GSSAPI (Kerberos SSP support)
2513 --without-gstreamer do not use GStreamer (codecs support)
2514 --without-inotify do not use inotify (filesystem change notifications)
2515 --without-krb5 do not use krb5 (Kerberos)
2516 --without-mingw do not use the MinGW cross-compiler
2517 --without-netapi do not use the Samba NetAPI library
2518 --without-odbc do not use the ODBC library
2519 --without-opencl do not use OpenCL
2520 --without-opengl do not use OpenGL
2521 --without-osmesa do not use the OSMesa library
2522 --without-oss do not use the OSS sound support
2523 --without-pcap do not use the Packet Capture library
2524 --without-pcsclite do not use PCSC lite
2525 --without-pthread do not use the pthread library
2526 --without-pulse do not use PulseAudio sound support
2527 --without-sane do not use SANE (scanner support)
2528 --without-sdl do not use SDL
2529 --without-udev do not use udev (plug and play support)
2530 --without-unwind do not use the libunwind library (exception
2532 --without-usb do not use the libusb library
2533 --without-v4l2 do not use v4l2 (video capture)
2534 --without-vulkan do not use Vulkan
2535 --without-wayland do not build the Wayland driver
2536 --without-xcomposite do not use the Xcomposite extension
2537 --without-xcursor do not use the Xcursor extension
2538 --without-xfixes do not use Xfixes for clipboard change notifications
2539 --without-xinerama do not use Xinerama (legacy multi-monitor support)
2540 --without-xinput do not use the Xinput extension
2541 --without-xinput2 do not use the Xinput 2 extension
2542 --without-xrandr do not use Xrandr (multi-monitor support)
2543 --without-xrender do not use the Xrender extension
2544 --without-xshape do not use the Xshape extension
2545 --without-xshm do not use XShm (shared memory extension)
2546 --without-xxf86vm do not use XFree video mode extension
2547 --with-system-dllpath=PATH
2548 load external PE dependencies from colon-separated
2550 --with-wine-tools=DIR use Wine tools from directory DIR
2551 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2552 --with-x use the X Window System
2554 Some influential environment variables:
2555 CC C compiler command
2556 CFLAGS C compiler flags
2557 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2558 nonstandard directory <lib dir>
2559 LIBS libraries to pass to the linker, e.g. -l<library>
2560 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2561 you have headers in a nonstandard directory <include dir>
2562 CXX C++ compiler command
2563 CXXFLAGS C++ compiler flags
2564 OBJC Objective C compiler command
2565 OBJCFLAGS Objective C compiler flags
2567 C compiler flags for the PE faudio, overriding the bundled
2570 Linker flags for the PE faudio, overriding the bundled version
2571 FLUIDSYNTH_PE_CFLAGS
2572 C compiler flags for the PE fluidsynth, overriding the bundled
2575 Linker flags for the PE fluidsynth, overriding the bundled
2578 C compiler flags for the PE gsm, overriding the bundled version
2579 GSM_PE_LIBS Linker flags for the PE gsm, overriding the bundled version
2581 C compiler flags for the PE jpeg, overriding the bundled version
2583 Linker flags for the PE jpeg, overriding the bundled version
2585 C compiler flags for the PE jxr, overriding the bundled version
2586 JXR_PE_LIBS Linker flags for the PE jxr, overriding the bundled version
2588 C compiler flags for the PE lcms2, overriding the bundled
2591 Linker flags for the PE lcms2, overriding the bundled version
2593 C compiler flags for the PE ldap, overriding the bundled version
2595 Linker flags for the PE ldap, overriding the bundled version
2597 C compiler flags for the PE mpg123, overriding the bundled
2600 Linker flags for the PE mpg123, overriding the bundled version
2602 C compiler flags for the PE musl, overriding the bundled version
2604 Linker flags for the PE musl, overriding the bundled version
2606 C compiler flags for the PE png, overriding the bundled version
2607 PNG_PE_LIBS Linker flags for the PE png, overriding the bundled version
2609 C compiler flags for the PE tiff, overriding the bundled version
2611 Linker flags for the PE tiff, overriding the bundled version
2613 C compiler flags for the PE vkd3d, overriding the bundled
2616 Linker flags for the PE vkd3d, overriding the bundled version
2618 C compiler flags for the PE xml2, overriding the bundled version
2620 Linker flags for the PE xml2, overriding the bundled version
2622 C compiler flags for the PE xslt, overriding the bundled version
2624 Linker flags for the PE xslt, overriding the bundled version
2626 C compiler flags for the PE zlib, overriding the bundled version
2628 Linker flags for the PE zlib, overriding the bundled version
2630 C compiler flags for the PE zydis, overriding the bundled
2633 Linker flags for the PE zydis, overriding the bundled version
2634 XMKMF Path to xmkmf, Makefile generator for X Window System
2636 WAYLAND_CLIENT_CFLAGS
2637 C compiler flags for wayland-client, overriding pkg-config
2639 Linker flags for wayland-client, overriding pkg-config
2641 C compiler flags for xkbcommon, overriding pkg-config
2643 Linker flags for xkbcommon, overriding pkg-config
2645 C compiler flags for xkbregistry, overriding pkg-config
2647 Linker flags for xkbregistry, overriding pkg-config
2648 EGL_CFLAGS C compiler flags for egl, overriding pkg-config
2649 EGL_LIBS Linker flags for egl, overriding pkg-config
2651 C compiler flags for wayland-egl, overriding pkg-config
2653 Linker flags for wayland-egl, overriding pkg-config
2654 ODBC_CFLAGS C compiler flags for odbc, overriding pkg-config
2655 ODBC_LIBS Linker flags for odbc, overriding pkg-config
2657 C compiler flags for libinotify, overriding pkg-config
2659 Linker flags for libinotify, overriding pkg-config
2660 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2661 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2663 C compiler flags for gnutls, overriding pkg-config
2664 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2665 SANE_CFLAGS C compiler flags for sane-backends, overriding pkg-config
2666 SANE_LIBS Linker flags for sane-backends, overriding pkg-config
2667 USB_CFLAGS C compiler flags for libusb-1.0, overriding pkg-config
2668 USB_LIBS Linker flags for libusb-1.0, overriding pkg-config
2670 C compiler flags for libgphoto2, overriding pkg-config
2672 Linker flags for libgphoto2, overriding pkg-config
2674 C compiler flags for libgphoto2_port, overriding pkg-config
2676 Linker flags for libgphoto2_port, overriding pkg-config
2678 C compiler flags for freetype2, overriding pkg-config
2680 Linker flags for freetype2, overriding pkg-config
2682 C compiler flags for libpulse, overriding pkg-config
2683 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2685 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2686 gstreamer-audio-1.0 gstreamer-tag-1.0, overriding pkg-config
2688 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2689 gstreamer-audio-1.0 gstreamer-tag-1.0, overriding pkg-config
2690 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2691 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2693 C compiler flags for libunwind, overriding pkg-config
2694 UNWIND_LIBS Linker flags for libunwind, overriding pkg-config
2695 SDL2_CFLAGS C compiler flags for sdl2, overriding pkg-config
2696 SDL2_LIBS Linker flags for sdl2, overriding pkg-config
2698 C compiler flags for capi20, overriding pkg-config
2699 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2700 CUPS_CFLAGS C compiler flags for cups, overriding pkg-config
2701 CUPS_LIBS Linker flags for cups, overriding pkg-config
2703 C compiler flags for fontconfig, overriding pkg-config
2705 Linker flags for fontconfig, overriding pkg-config
2706 KRB5_CFLAGS C compiler flags for krb5, overriding pkg-config
2707 KRB5_LIBS Linker flags for krb5, overriding pkg-config
2709 C compiler flags for krb5-gssapi, overriding pkg-config
2710 GSSAPI_LIBS Linker flags for krb5-gssapi, overriding pkg-config
2712 C compiler flags for netapi, overriding pkg-config
2713 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2715 Use these variables to override the choices made by `configure' or to
help
2716 it to
find libraries and programs with nonstandard names
/locations.
2718 Report bugs to
<wine-devel@winehq.org
>.
2719 Wine home page
: <https
://www.winehq.org
>.
2724 if test "$ac_init_help" = "recursive"; then
2725 # If there are subdirs, report their specific --help.
2726 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
2727 test -d "$ac_dir" ||
2728 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
2733 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2735 ac_dir_suffix
=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
2736 # A ".." for each directory in $ac_dir_suffix.
2737 ac_top_builddir_sub
=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2738 case $ac_top_builddir_sub in
2739 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2740 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
2743 ac_abs_top_builddir
=$ac_pwd
2744 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
2745 # for backward compatibility:
2746 ac_top_builddir
=$ac_top_build_prefix
2749 .
) # We are building in place.
2751 ac_top_srcdir
=$ac_top_builddir_sub
2752 ac_abs_top_srcdir
=$ac_pwd ;;
2753 [\\/]* | ?
:[\\/]* ) # Absolute name.
2754 ac_srcdir
=$srcdir$ac_dir_suffix;
2755 ac_top_srcdir
=$srcdir
2756 ac_abs_top_srcdir
=$srcdir ;;
2758 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
2759 ac_top_srcdir
=$ac_top_build_prefix$srcdir
2760 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
2762 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
2764 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
2765 # Check for configure.gnu first; this name is used for a wrapper for
2766 # Metaconfig's "Configure" on case-insensitive file systems.
2767 if test -f "$ac_srcdir/configure.gnu"; then
2769 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2770 elif test -f "$ac_srcdir/configure"; then
2772 $SHELL "$ac_srcdir/configure" --help=recursive
2774 printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2776 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
2780 test -n "$ac_init_help" && exit $ac_status
2781 if $ac_init_version; then
2784 generated by GNU Autoconf
2.71
2786 Copyright
(C
) 2021 Free Software Foundation
, Inc.
2787 This configure
script is free software
; the Free Software Foundation
2788 gives unlimited permission to copy
, distribute and modify it.
2793 ## ------------------------ ##
2794 ## Autoconf initialization. ##
2795 ## ------------------------ ##
2797 # ac_fn_c_try_compile LINENO
2798 # --------------------------
2799 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2800 ac_fn_c_try_compile
()
2802 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2803 rm -f conftest.
$ac_objext conftest.beam
2804 if { { ac_try
="$ac_compile"
2806 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2807 *) ac_try_echo=$ac_try;;
2809 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2810 printf "%s\n" "$ac_try_echo"; } >&5
2811 (eval "$ac_compile") 2>conftest.err
2813 if test -s conftest.err; then
2814 grep -v '^ *+' conftest.err >conftest.er1
2815 cat conftest.er1 >&5
2816 mv -f conftest.er1 conftest.err
2818 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2819 test $ac_status = 0; } && {
2820 test -z "$ac_c_werror_flag" ||
2821 test ! -s conftest.err
2822 } && test -s conftest.$ac_objext
2826 printf "%s\n" "$as_me: failed program was:" >&5
2827 sed 's/^/| /' conftest.$ac_ext >&5
2831 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2832 as_fn_set_status $ac_retval
2834 } # ac_fn_c_try_compile
2836 # ac_fn_cxx_try_compile LINENO
2837 # ----------------------------
2838 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2839 ac_fn_cxx_try_compile ()
2841 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2842 rm -f conftest.$ac_objext conftest.beam
2843 if { { ac_try="$ac_compile"
2845 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2846 *) ac_try_echo
=$ac_try;;
2848 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2849 printf "%s\n" "$ac_try_echo"; } >&5
2850 (eval "$ac_compile") 2>conftest.err
2852 if test -s conftest.err
; then
2853 grep -v '^ *+' conftest.err
>conftest.er1
2854 cat conftest.er1
>&5
2855 mv -f conftest.er1 conftest.err
2857 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2858 test $ac_status = 0; } && {
2859 test -z "$ac_cxx_werror_flag" ||
2860 test ! -s conftest.err
2861 } && test -s conftest.
$ac_objext
2865 printf "%s\n" "$as_me: failed program was:" >&5
2866 sed 's/^/| /' conftest.
$ac_ext >&5
2870 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2871 as_fn_set_status
$ac_retval
2873 } # ac_fn_cxx_try_compile
2875 # ac_fn_c_try_link LINENO
2876 # -----------------------
2877 # Try to link conftest.$ac_ext, and return whether this succeeded.
2880 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2881 rm -f conftest.
$ac_objext conftest.beam conftest
$ac_exeext
2882 if { { ac_try
="$ac_link"
2884 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2885 *) ac_try_echo=$ac_try;;
2887 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2888 printf "%s\n" "$ac_try_echo"; } >&5
2889 (eval "$ac_link") 2>conftest.err
2891 if test -s conftest.err; then
2892 grep -v '^ *+' conftest.err >conftest.er1
2893 cat conftest.er1 >&5
2894 mv -f conftest.er1 conftest.err
2896 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2897 test $ac_status = 0; } && {
2898 test -z "$ac_c_werror_flag" ||
2899 test ! -s conftest.err
2900 } && test -s conftest$ac_exeext && {
2901 test "$cross_compiling" = yes ||
2902 test -x conftest$ac_exeext
2907 printf "%s\n" "$as_me: failed program was:" >&5
2908 sed 's/^/| /' conftest.$ac_ext >&5
2912 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2913 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2914 # interfere with the next link command; also delete a directory that is
2915 # left behind by Apple's compiler. We do this before executing the actions.
2916 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2917 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2918 as_fn_set_status $ac_retval
2920 } # ac_fn_c_try_link
2922 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2923 # -------------------------------------------------------
2924 # Tests whether HEADER exists and can be compiled using the include files in
2925 # INCLUDES, setting the cache variable VAR accordingly.
2926 ac_fn_c_check_header_compile ()
2928 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2929 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2930 printf %s "checking for $2... " >&6; }
2931 if eval test \${$3+y}
2933 printf %s "(cached) " >&6
2935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2936 /* end confdefs.h. */
2940 if ac_fn_c_try_compile "$LINENO"
2946 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2949 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2950 printf "%s\n" "$ac_res" >&6; }
2951 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2953 } # ac_fn_c_check_header_compile
2955 # ac_fn_objc_try_compile LINENO
2956 # -----------------------------
2957 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2958 ac_fn_objc_try_compile ()
2960 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2961 rm -f conftest.$ac_objext conftest.beam
2962 if { { ac_try="$ac_compile"
2964 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2965 *) ac_try_echo
=$ac_try;;
2967 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2968 printf "%s\n" "$ac_try_echo"; } >&5
2969 (eval "$ac_compile") 2>conftest.err
2971 if test -s conftest.err
; then
2972 grep -v '^ *+' conftest.err
>conftest.er1
2973 cat conftest.er1
>&5
2974 mv -f conftest.er1 conftest.err
2976 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2977 test $ac_status = 0; } && {
2978 test -z "$ac_objc_werror_flag" ||
2979 test ! -s conftest.err
2980 } && test -s conftest.
$ac_objext
2984 printf "%s\n" "$as_me: failed program was:" >&5
2985 sed 's/^/| /' conftest.
$ac_ext >&5
2989 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2990 as_fn_set_status
$ac_retval
2992 } # ac_fn_objc_try_compile
2994 # ac_fn_c_check_func LINENO FUNC VAR
2995 # ----------------------------------
2996 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2997 ac_fn_c_check_func
()
2999 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
3000 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3001 printf %s
"checking for $2... " >&6; }
3002 if eval test \
${$3+y}
3004 printf %s
"(cached) " >&6
3006 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3007 /* end confdefs.h. */
3008 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
3009 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3010 #define $2 innocuous_$2
3012 /* System header to define __stub macros and hopefully few prototypes,
3013 which can conflict with char $2 (); below. */
3018 /* Override any GCC internal prototype to avoid an error.
3019 Use char because int might match the return type of a GCC
3020 builtin and then its argument prototype would still apply. */
3025 /* The GNU C library defines this for functions which it implements
3026 to always fail with ENOSYS. Some functions are actually named
3027 something starting with __ and the normal name is an alias. */
3028 #if defined __stub_$2 || defined __stub___$2
3040 if ac_fn_c_try_link
"$LINENO"
3046 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
3047 conftest
$ac_exeext conftest.
$ac_ext
3050 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3051 printf "%s\n" "$ac_res" >&6; }
3052 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3054 } # ac_fn_c_check_func
3056 # ac_fn_c_try_cpp LINENO
3057 # ----------------------
3058 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
3061 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
3062 if { { ac_try
="$ac_cpp conftest.$ac_ext"
3064 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3065 *) ac_try_echo=$ac_try;;
3067 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3068 printf "%s\n" "$ac_try_echo"; } >&5
3069 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
3071 if test -s conftest.err; then
3072 grep -v '^ *+' conftest.err >conftest.er1
3073 cat conftest.er1 >&5
3074 mv -f conftest.er1 conftest.err
3076 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3077 test $ac_status = 0; } > conftest.i && {
3078 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3079 test ! -s conftest.err
3084 printf "%s\n" "$as_me: failed program was:" >&5
3085 sed 's/^/| /' conftest.$ac_ext >&5
3089 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3090 as_fn_set_status $ac_retval
3094 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
3095 # ----------------------------------------------------
3096 # Tries to find if the field MEMBER exists in type AGGR, after including
3097 # INCLUDES, setting cache variable VAR accordingly.
3098 ac_fn_c_check_member ()
3100 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3101 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
3102 printf %s "checking for $2.$3... " >&6; }
3103 if eval test \${$4+y}
3105 printf %s "(cached) " >&6
3107 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3108 /* end confdefs.h. */
3120 if ac_fn_c_try_compile "$LINENO"
3124 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3125 /* end confdefs.h. */
3131 if (sizeof ac_aggr.$3)
3137 if ac_fn_c_try_compile "$LINENO"
3143 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3145 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3148 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3149 printf "%s\n" "$ac_res" >&6; }
3150 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3152 } # ac_fn_c_check_member
3154 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3155 # -------------------------------------------
3156 # Tests whether TYPE exists after having included INCLUDES, setting cache
3157 # variable VAR accordingly.
3158 ac_fn_c_check_type ()
3160 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3161 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3162 printf %s "checking for $2... " >&6; }
3163 if eval test \${$3+y}
3165 printf %s "(cached) " >&6
3168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3169 /* end confdefs.h. */
3180 if ac_fn_c_try_compile "$LINENO"
3182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3183 /* end confdefs.h. */
3194 if ac_fn_c_try_compile "$LINENO"
3200 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3202 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3205 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3206 printf "%s\n" "$ac_res" >&6; }
3207 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3209 } # ac_fn_c_check_type
3210 ac_configure_args_raw=
3215 ac_arg=`printf "%s\n" "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
3217 as_fn_append ac_configure_args_raw " '$ac_arg'"
3220 case $ac_configure_args_raw in
3224 ac_unsafe_z='|&;<>()$`\\"*?[ '' ' # This string ends in space, tab.
3225 ac_unsafe_a="$ac_unsafe_z#~
"
3226 ac_safe_unquote="s
/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g
"
3227 ac_configure_args_raw=` printf "%s
\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
3230 cat >config.log <<_ACEOF
3231 This file contains any messages produced by compilers while
3232 running configure, to aid debugging if configure makes a mistake.
3234 It was created by Wine $as_me 9.13, which was
3235 generated by GNU Autoconf 2.71. Invocation command line was
3237 $ $0$ac_configure_args_raw
3247 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3248 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3249 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3250 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3251 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3253 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3254 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3256 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3257 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3258 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3259 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3260 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3261 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3262 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3266 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3270 case $as_dir in #(((
3273 *) as_dir=$as_dir/ ;;
3275 printf "%s
\n" "PATH
: $as_dir"
3291 # Keep a trace of the command line.
3292 # Strip out --no-create and --no-recursion so they do not pile up.
3293 # Strip out --silent because we don't want to record it for future runs.
3294 # Also quote any args containing shell meta-characters.
3295 # Make two passes to allow for proper duplicate-argument suppression.
3299 ac_must_keep_next=false
3305 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3306 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3307 | -silent | --silent | --silen | --sile | --sil)
3310 ac_arg=`printf "%s
\n" "$ac_arg" | sed "s
/'/'\\\\\\\\''/g
"` ;;
3313 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3315 as_fn_append ac_configure_args1 " '$ac_arg'"
3316 if test $ac_must_keep_next = true; then
3317 ac_must_keep_next=false # Got value, back to normal.
3320 *=* | --config-cache | -C | -disable-* | --disable-* \
3321 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3322 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3323 | -with-* | --with-* | -without-* | --without-* | --x)
3324 case "$ac_configure_args0 " in
3325 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3328 -* ) ac_must_keep_next=true ;;
3331 as_fn_append ac_configure_args " '$ac_arg'"
3336 { ac_configure_args0=; unset ac_configure_args0;}
3337 { ac_configure_args1=; unset ac_configure_args1;}
3339 # When interrupted or exit'd, cleanup temporary files, and complete
3340 # config.log. We remove comments because anyway the quotes in there
3341 # would cause problems or look ugly.
3342 # WARNING: Use '\'' to represent an apostrophe within the trap.
3343 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3344 trap 'exit_status=$?
3347 # Save into config.log some information that might help in debugging.
3351 printf "%s
\n" "## ---------------- ##
3352 ## Cache variables. ##
3353 ## ---------------- ##"
3355 # The following way of writing the cache mishandles newlines in values,
3357 for ac_var
in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3358 eval ac_val
=\$
$ac_var
3362 *_cv_
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3363 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3366 _ | IFS | as_nl
) ;; #(
3367 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
3368 *) { eval $ac_var=; unset $ac_var;} ;;
3373 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3374 *${as_nl}ac_space
=\
*)
3376 "s/'\''/'\''\\\\'\'''\''/g;
3377 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3380 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3387 printf "%s\n" "## ----------------- ##
3388 ## Output variables. ##
3389 ## ----------------- ##"
3391 for ac_var
in $ac_subst_vars
3393 eval ac_val
=\$
$ac_var
3395 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3397 printf "%s\n" "$ac_var='\''$ac_val'\''"
3401 if test -n "$ac_subst_files"; then
3402 printf "%s\n" "## ------------------- ##
3403 ## File substitutions. ##
3404 ## ------------------- ##"
3406 for ac_var in $ac_subst_files
3408 eval ac_val=\$$ac_var
3410 *\'\''*) ac_val
=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3412 printf "%s\n" "$ac_var='\''$ac_val'\''"
3417 if test -s confdefs.h
; then
3418 printf "%s\n" "## ----------- ##
3425 test "$ac_signal" != 0 &&
3426 printf "%s\n" "$as_me: caught signal $ac_signal"
3427 printf "%s\n" "$as_me: exit $exit_status"
3429 rm -f core
*.core core.conftest.
* &&
3430 rm -f -r conftest
* confdefs
* conf$$
* $ac_clean_files &&
3433 for ac_signal in 1 2 13 15; do
3434 trap 'ac_signal
='$ac_signal'; as_fn_exit
1' $ac_signal
3438 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3439 rm -f -r conftest* confdefs.h
3441 printf "%s\n" "/* confdefs.h */" > confdefs.h
3443 # Predefined preprocessor variables.
3445 printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
3447 printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
3449 printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
3451 printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
3453 printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
3455 printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
3458 # Let the site file select an alternate cache file if it wants to.
3459 # Prefer an explicitly selected file to automatically selected ones.
3460 if test -n "$CONFIG_SITE"; then
3461 ac_site_files="$CONFIG_SITE"
3462 elif test "x$prefix" != xNONE; then
3463 ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
3465 ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
3468 for ac_site_file in $ac_site_files
3470 case $ac_site_file in #(
3474 ac_site_file=./$ac_site_file ;;
3476 if test -f "$ac_site_file" && test -r "$ac_site_file"; then
3477 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3478 printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
3479 sed 's
/^
/|
/' "$ac_site_file" >&5
3481 || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3482 printf "%s
\n" "$as_me: error
: in \
`$ac_pwd':" >&2;}
3483 as_fn_error $? "failed to load site script $ac_site_file
3484 See \`config.log
' for more details" "$LINENO" 5; }
3488 if test -r "$cache_file"; then
3489 # Some versions of bash will fail to source /dev/null (special files
3490 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3491 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3492 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3493 printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
3495 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3496 *) . "./$cache_file";;
3500 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3501 printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
3505 # Test code for whether the C compiler supports C89 (global declarations)
3506 ac_c_conftest_c89_globals='
3507 /* Does the compiler advertise C89 conformance?
3508 Do not
test the value of __STDC__
, because some compilers
set it to
0
3509 while being otherwise adequately conformant.
*/
3510 #if !defined __STDC__
3511 # error "Compiler does not advertise C89 conformance"
3517 /* Most of the following tests are stolen from RCS
5.7 src
/conf.sh.
*/
3518 struct buf
{ int x
; };
3519 struct buf
* (*rcsopen
) (struct buf
*, struct stat
*, int
);
3520 static char
*e
(p
, i
)
3526 static char
*f
(char
* (*g
) (char
**, int
), char
**p
, ...
)
3531 s
= g
(p
, va_arg
(v
,int
));
3536 /* OSF
4.0 Compaq cc is some
sort of almost-ANSI by default. It has
3537 function prototypes and stuff
, but not \xHH hex character constants.
3538 These
do not provoke an error unfortunately
, instead are silently treated
3539 as an
"x". The following induces an error
, until -std is added to get
3540 proper ANSI mode. Curiously
\x00 != x always comes out true
, for an
3541 array size
at least. It is necessary to
write \x00 == 0 to get something
3542 that is true only with
-std.
*/
3543 int osf4_cc_array
['\''\x00'\'' == 0 ?
1 : -1];
3545 /* IBM C
6 for AIX is almost-ANSI by default
, but it replaces macro parameters
3546 inside
strings and character constants.
*/
3547 #define FOO(x) '\''x'\''
3548 int xlc6_cc_array
[FOO
(a
) == '\''x
'\'' ?
1 : -1];
3550 int
test (int i
, double x
);
3551 struct s1
{int
(*f
) (int a
);};
3552 struct s2
{int
(*f
) (double a
);};
3553 int pairnames
(int
, char
**, int
*(*)(struct buf
*, struct stat
*, int
),
3556 # Test code for whether the C compiler supports C89 (body of main).
3557 ac_c_conftest_c89_main='
3558 ok |
= (argc
== 0 || f
(e
, argv
, 0) != argv
[0] || f
(e
, argv
, 1) != argv
[1]);
3561 # Test code for whether the C compiler supports C99 (global declarations)
3562 ac_c_conftest_c99_globals='
3563 // Does the compiler advertise C99 conformance?
3564 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
3565 # error "Compiler does not advertise C99 conformance"
3568 #include <stdbool.h>
3569 extern int puts
(const char
*);
3570 extern int
printf (const char
*, ...
);
3571 extern int dprintf
(int
, const char
*, ...
);
3572 extern void
*malloc
(size_t
);
3574 // Check varargs macros. These examples are taken from C99
6.10.3.5.
3575 // dprintf is used instead of fprintf to avoid needing to
declare
3577 #define debug(...) dprintf (2, __VA_ARGS__)
3578 #define showlist(...) puts (#__VA_ARGS__)
3579 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
3581 test_varargs_macros
(void
)
3586 debug
("X = %d\n", x
);
3587 showlist
(The first
, second
, and third items.
);
3588 report
(x
>y
, "x is %d but y is %d", x
, y
);
3591 // Check long long types.
3592 #define BIG64 18446744073709551615ull
3593 #define BIG32 4294967295ul
3594 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
3596 #error "your preprocessor is broken"
3600 #error "your preprocessor is broken"
3602 static long long int bignum
= -9223372036854775807LL;
3603 static unsigned long long int ubignum
= BIG64
;
3605 struct incomplete_array
3613 const wchar_t
*name
;
3617 typedef const char
*ccp
;
3620 test_restrict
(ccp restrict text
)
3622 // See
if C
++-style comments work.
3623 // Iterate through items via the restricted pointer.
3624 // Also check
for declarations
in for loops.
3625 for (unsigned int i
= 0; *(text
+i
) != '\''\
0'\''; ++i
)
3630 // Check varargs and va_copy.
3632 test_varargs
(const char
*format
, ...
)
3635 va_start
(args
, format
);
3637 va_copy
(args_copy
, args
);
3639 const char
*str
= "";
3647 case '\''s
'\'': // string
3648 str
= va_arg
(args_copy
, const char
*);
3650 case '\''d
'\'': // int
3651 number
= va_arg
(args_copy
, int
);
3653 case '\''f
'\'': // float
3654 fnumber
= va_arg
(args_copy
, double
);
3663 return *str
&& number
&& fnumber
;
3667 # Test code for whether the C compiler supports C99 (body of main).
3668 ac_c_conftest_c99_main='
3670 _Bool success
= false
;
3671 success |
= (argc
!= 0);
3674 if (test_restrict
("String literal") == 0)
3676 char
*restrict newvar
= "Another string";
3679 success
&= test_varargs
("s, d'\'' f .", "string", 65, 34.234);
3680 test_varargs_macros
();
3682 // Check flexible array members.
3683 struct incomplete_array
*ia
=
3684 malloc
(sizeof
(struct incomplete_array
) + (sizeof
(double
) * 10));
3686 for (int i
= 0; i
< ia-
>datasize
; ++i
)
3687 ia-
>data
[i
] = i
* 1.234;
3689 // Check named initializers.
3690 struct named_init ni
= {
3692 .name
= L
"Test wide string",
3693 .average
= 543.34343,
3698 int dynamic_array
[ni.number
];
3699 dynamic_array
[0] = argv
[0][0];
3700 dynamic_array
[ni.number
- 1] = 543;
3702 // work around unused variable warnings
3703 ok |
= (!success || bignum
== 0LL || ubignum
== 0uLL || newvar
[0] == '\''x
'\''
3704 || dynamic_array
[ni.number
- 1] != 543);
3707 # Test code for whether the C compiler supports C11 (global declarations)
3708 ac_c_conftest_c11_globals='
3709 // Does the compiler advertise C11 conformance?
3710 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
3711 # error "Compiler does not advertise C11 conformance"
3715 char _Alignas
(double
) aligned_as_double
;
3716 char _Alignas
(0) no_special_alignment
;
3717 extern char aligned_as_int
;
3718 char _Alignas
(0) _Alignas
(int
) aligned_as_int
;
3723 int_alignment
= _Alignof
(int
),
3724 int_array_alignment
= _Alignof
(int
[100]),
3725 char_alignment
= _Alignof
(char
)
3727 _Static_assert
(0 < -_Alignof (int
), "_Alignof is signed");
3730 int _Noreturn does_not_return
(void
) { for (;;) continue; }
3732 // Check _Static_assert.
3733 struct test_static_assert
3736 _Static_assert
(sizeof
(int
) <= sizeof
(long int
),
3737 "_Static_assert does not work in struct");
3741 // Check UTF-8 literals.
3742 #define u8 syntax error!
3743 char const utf8_literal
[] = u8
"happens to be ASCII" "another string";
3745 // Check duplicate typedefs.
3746 typedef long
*long_ptr
;
3747 typedef long int
*long_ptr
;
3748 typedef long_ptr long_ptr
;
3750 // Anonymous structures and unions
-- taken from C11
6.7.2.1 Example
1.
3754 struct
{ int i
; int j
; };
3755 struct
{ int k
; long int l
; } w
;
3761 # Test code for whether the C compiler supports C11 (body of main).
3762 ac_c_conftest_c11_main='
3763 _Static_assert
((offsetof
(struct anonymous
, i
)
3764 == offsetof
(struct anonymous
, w.k
)),
3765 "Anonymous union alignment botch");
3771 # Test code for whether the C compiler supports C11 (complete).
3772 ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
3773 ${ac_c_conftest_c99_globals}
3774 ${ac_c_conftest_c11_globals}
3777 main (int argc, char **argv)
3780 ${ac_c_conftest_c89_main}
3781 ${ac_c_conftest_c99_main}
3782 ${ac_c_conftest_c11_main}
3787 # Test code for whether the C compiler supports C99 (complete).
3788 ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
3789 ${ac_c_conftest_c99_globals}
3792 main (int argc, char **argv)
3795 ${ac_c_conftest_c89_main}
3796 ${ac_c_conftest_c99_main}
3801 # Test code for whether the C compiler supports C89 (complete).
3802 ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
3805 main (int argc, char **argv)
3808 ${ac_c_conftest_c89_main}
3813 # Test code for whether the C++ compiler supports C++98 (global declarations)
3814 ac_cxx_conftest_cxx98_globals='
3815 // Does the compiler advertise C
++98 conformance?
3816 #if !defined __cplusplus || __cplusplus < 199711L
3817 # error "Compiler does not advertise C++98 conformance"
3820 // These inclusions are to reject old compilers that
3821 // lack the unsuffixed header files.
3823 #include <exception>
3825 // <cassert
> and
<cstring
> are
*not
* freestanding headers
in C
++98.
3826 extern void assert
(int
);
3828 extern int strcmp
(const char
*, const char
*);
3831 // Namespaces
, exceptions
, and templates were all added after
"C++ 2.0".
3832 using std
::exception
;
3837 void test_exception_syntax
()
3841 } catch
(const char
*s
) {
3842 // Extra parentheses suppress a warning when building autoconf itself
,
3843 // due to lint rules shared with
more typical C programs.
3844 assert
(!(strcmp
) (s
, "test"));
3848 template
<typename T
> struct test_template
3851 explicit test_template
(T t
) : val
(t
) {}
3852 template
<typename U
> T add
(U u
) { return static_cast
<T
>(u
) + val
; }
3855 } // anonymous namespace
3858 # Test code for whether the C++ compiler supports C++98 (body of main)
3859 ac_cxx_conftest_cxx98_main='
3863 test_exception_syntax
();
3864 test_template
<double
> tt
(2.0);
3865 assert
(tt.add
(4) == 6.0);
3866 assert
(true
&& !false
);
3870 # Test code for whether the C++ compiler supports C++11 (global declarations)
3871 ac_cxx_conftest_cxx11_globals='
3872 // Does the compiler advertise C
++ 2011 conformance?
3873 #if !defined __cplusplus || __cplusplus < 201103L
3874 # error "Compiler does not advertise C++11 conformance"
3879 constexpr int get_val
() { return 20; }
3890 delegate
(int n
) : n
(n
) {}
3891 delegate
(): delegate
(2354) {}
3893 virtual int getval
() { return this-
>n
; };
3898 class overridden
: public delegate
3901 overridden
(int n
): delegate
(n
) {}
3902 virtual int getval
() override final
{ return this-
>n
* 2; }
3908 nocopy
(int i
): i
(i
) {}
3910 nocopy
(const nocopy
&) = delete
;
3911 nocopy
& operator
=(const nocopy
&) = delete
;
3916 // for testing lambda expressions
3917 template
<typename Ret
, typename Fn
> Ret
eval(Fn f
, Ret v
)
3922 // for testing variadic templates and trailing
return types
3923 template
<typename V
> auto
sum(V first
) -> V
3927 template
<typename V
, typename... Args
> auto
sum(V first
, Args... rest
) -> V
3929 return first
+ sum(rest...
);
3934 # Test code for whether the C++ compiler supports C++11 (body of main)
3935 ac_cxx_conftest_cxx11_main='
3937 // Test auto and decltype
3939 auto a2
= 48573953.4;
3940 auto a3
= "String literal";
3943 for (auto i
= a3
; *i
; ++i
) { total
+= *i
; }
3945 decltype
(a2
) a4
= 34895.034;
3949 short sa
[cxx11test
::get_val
()] = { 0 };
3952 // Test initializer lists
3953 cxx11test
::testinit il
= { 4323, 435234.23544 };
3956 // Test range-based
for
3957 int array
[] = {9, 7, 13, 15, 4, 18, 12, 10, 5, 3,
3958 14, 19, 17, 8, 6, 20, 16, 2, 11, 1};
3959 for (auto
&x
: array
) { x
+= 23; }
3962 // Test lambda expressions
3963 using cxx11test
::eval;
3964 assert
(eval ([](int x
) { return x
*2; }, 21) == 42);
3966 assert
(eval ([&](double x
) { return d
+= x
; }, 3.0) == 5.0);
3968 assert
(eval ([=](double x
) mutable
{ return d
+= x
; }, 4.0) == 9.0);
3972 // Test use of variadic templates
3973 using cxx11test
::sum;
3976 auto c
= sum(1.0, 2.0, 3.0);
3979 // Test constructor delegation
3980 cxx11test
::delegate d1
;
3981 cxx11test
::delegate d2
();
3982 cxx11test
::delegate d3
(45);
3985 // Test override and final
3986 cxx11test
::overridden o1
(55464);
3993 // Test template brackets
3994 test_template
<::test_template
<int
>> v
(test_template
<int
>(12));
3998 char const
*utf8
= u8
"UTF-8 string \u2500";
3999 char16_t const
*utf16
= u
"UTF-8 string \u2500";
4000 char32_t const
*utf32
= U
"UTF-32 string \u2500";
4004 # Test code for whether the C compiler supports C++11 (complete).
4005 ac_cxx_conftest_cxx11_program="${ac_cxx_conftest_cxx98_globals}
4006 ${ac_cxx_conftest_cxx11_globals}
4009 main (int argc, char **argv)
4012 ${ac_cxx_conftest_cxx98_main}
4013 ${ac_cxx_conftest_cxx11_main}
4018 # Test code for whether the C compiler supports C++98 (complete).
4019 ac_cxx_conftest_cxx98_program="${ac_cxx_conftest_cxx98_globals}
4021 main (int argc, char **argv)
4024 ${ac_cxx_conftest_cxx98_main}
4029 as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H"
4030 as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H"
4031 as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H"
4032 as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H"
4033 as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H"
4034 as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H"
4035 as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
4036 as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H"
4037 as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H"
4039 # Auxiliary files required by this configure script.
4040 ac_aux_files="config.guess config.sub"
4042 # Locations in which to look for auxiliary files.
4043 ac_aux_dir_candidates="${srcdir}/tools"
4045 # Search for a directory containing all of the required auxiliary files,
4046 # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
4047 # If we don't
find one directory that contains all the files we need
,
4048 # we report the set of missing files from the *first* directory in
4049 # $ac_aux_dir_candidates and give up.
4050 ac_missing_aux_files
=""
4051 ac_first_candidate
=:
4052 printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
4053 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4055 for as_dir
in $ac_aux_dir_candidates
4058 case $as_dir in #(((
4061 *) as_dir
=$as_dir/ ;;
4065 printf "%s\n" "$as_me:${as_lineno-$LINENO}: trying $as_dir" >&5
4066 ac_aux_dir_found
=yes
4068 for ac_aux
in $ac_aux_files
4070 # As a special case, if "install-sh" is required, that requirement
4071 # can be satisfied by any of "install-sh", "install.sh", or "shtool",
4072 # and $ac_install_sh is set appropriately for whichever one is found.
4073 if test x
"$ac_aux" = x
"install-sh"
4075 if test -f "${as_dir}install-sh"; then
4076 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install-sh found" >&5
4077 ac_install_sh
="${as_dir}install-sh -c"
4078 elif test -f "${as_dir}install.sh"; then
4079 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install.sh found" >&5
4080 ac_install_sh
="${as_dir}install.sh -c"
4081 elif test -f "${as_dir}shtool"; then
4082 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}shtool found" >&5
4083 ac_install_sh
="${as_dir}shtool install -c"
4086 if $ac_first_candidate; then
4087 ac_missing_aux_files
="${ac_missing_aux_files} install-sh"
4093 if test -f "${as_dir}${ac_aux}"; then
4094 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}${ac_aux} found" >&5
4097 if $ac_first_candidate; then
4098 ac_missing_aux_files
="${ac_missing_aux_files} ${ac_aux}"
4105 if test "$ac_aux_dir_found" = yes; then
4106 ac_aux_dir
="$as_dir"
4109 ac_first_candidate
=false
4118 as_fn_error $?
"cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5
4122 # These three variables are undocumented and unsupported,
4123 # and are intended to be withdrawn in a future Autoconf release.
4124 # They can cause serious problems if a builder's source tree is in a directory
4125 # whose full name contains unusual characters.
4126 if test -f "${ac_aux_dir}config.guess"; then
4127 ac_config_guess
="$SHELL ${ac_aux_dir}config.guess"
4129 if test -f "${ac_aux_dir}config.sub"; then
4130 ac_config_sub
="$SHELL ${ac_aux_dir}config.sub"
4132 if test -f "$ac_aux_dir/configure"; then
4133 ac_configure
="$SHELL ${ac_aux_dir}configure"
4136 # Check that the precious variables saved in the cache have kept the same
4138 ac_cache_corrupted
=false
4139 for ac_var
in $ac_precious_vars; do
4140 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
4141 eval ac_new_set
=\
$ac_env_${ac_var}_set
4142 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
4143 eval ac_new_val
=\
$ac_env_${ac_var}_value
4144 case $ac_old_set,$ac_new_set in
4146 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
4147 printf "%s\n" "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
4148 ac_cache_corrupted
=: ;;
4150 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
4151 printf "%s\n" "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
4152 ac_cache_corrupted
=: ;;
4155 if test "x$ac_old_val" != "x$ac_new_val"; then
4156 # differences in whitespace do not lead to failure.
4157 ac_old_val_w
=`echo x $ac_old_val`
4158 ac_new_val_w
=`echo x $ac_new_val`
4159 if test "$ac_old_val_w" != "$ac_new_val_w"; then
4160 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
4161 printf "%s\n" "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
4162 ac_cache_corrupted
=:
4164 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
4165 printf "%s\n" "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
4166 eval $ac_var=\
$ac_old_val
4168 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
4169 printf "%s\n" "$as_me: former value: \`$ac_old_val'" >&2;}
4170 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
4171 printf "%s\n" "$as_me: current value: \`$ac_new_val'" >&2;}
4174 # Pass precious variables to config.status.
4175 if test "$ac_new_set" = set; then
4177 *\'*) ac_arg
=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
4178 *) ac_arg
=$ac_var=$ac_new_val ;;
4180 case " $ac_configure_args " in
4181 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
4182 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
4186 if $ac_cache_corrupted; then
4187 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4188 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
4189 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
4190 printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
4191 as_fn_error $?
"run \`${MAKE-make} distclean' and/or \`rm $cache_file'
4192 and start over" "$LINENO" 5
4194 ## -------------------- ##
4195 ## Main body of script. ##
4196 ## -------------------- ##
4199 ac_cpp
='$CPP $CPPFLAGS'
4200 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4201 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4202 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4206 ac_config_headers
="$ac_config_headers include/config.h"
4210 libwine_version
="1.0"
4213 # Check whether --enable-archs was given.
4214 if test ${enable_archs+y}
4216 enableval
=$enable_archs;
4219 # Check whether --enable-win16 was given.
4220 if test ${enable_win16+y}
4222 enableval
=$enable_win16;
4225 # Check whether --enable-win64 was given.
4226 if test ${enable_win64+y}
4228 enableval
=$enable_win64;
4231 # Check whether --enable-tests was given.
4232 if test ${enable_tests+y}
4234 enableval
=$enable_tests;
4237 # Check whether --enable-build-id was given.
4238 if test ${enable_build_id+y}
4240 enableval
=$enable_build_id;
4243 # Check whether --enable-maintainer-mode was given.
4244 if test ${enable_maintainer_mode+y}
4246 enableval
=$enable_maintainer_mode;
4249 # Check whether --enable-silent-rules was given.
4250 if test ${enable_silent_rules+y}
4252 enableval
=$enable_silent_rules;
4255 # Check whether --enable-werror was given.
4256 if test ${enable_werror+y}
4258 enableval
=$enable_werror;
4263 # Check whether --with-alsa was given.
4264 if test ${with_alsa+y}
4270 # Check whether --with-capi was given.
4271 if test ${with_capi+y}
4277 # Check whether --with-coreaudio was given.
4278 if test ${with_coreaudio+y}
4280 withval
=$with_coreaudio;
4284 # Check whether --with-cups was given.
4285 if test ${with_cups+y}
4291 # Check whether --with-dbus was given.
4292 if test ${with_dbus+y}
4298 # Check whether --with-fontconfig was given.
4299 if test ${with_fontconfig+y}
4301 withval
=$with_fontconfig;
4305 # Check whether --with-freetype was given.
4306 if test ${with_freetype+y}
4308 withval
=$with_freetype;
4312 # Check whether --with-gettext was given.
4313 if test ${with_gettext+y}
4315 withval
=$with_gettext;
4319 # Check whether --with-gettextpo was given.
4320 if test ${with_gettextpo+y}
4322 withval
=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h
=no
; fi
4326 # Check whether --with-gphoto was given.
4327 if test ${with_gphoto+y}
4329 withval
=$with_gphoto;
4333 # Check whether --with-gnutls was given.
4334 if test ${with_gnutls+y}
4336 withval
=$with_gnutls;
4340 # Check whether --with-gssapi was given.
4341 if test ${with_gssapi+y}
4343 withval
=$with_gssapi;
4347 # Check whether --with-gstreamer was given.
4348 if test ${with_gstreamer+y}
4350 withval
=$with_gstreamer;
4354 # Check whether --with-inotify was given.
4355 if test ${with_inotify+y}
4357 withval
=$with_inotify;
4361 # Check whether --with-krb5 was given.
4362 if test ${with_krb5+y}
4368 # Check whether --with-mingw was given.
4369 if test ${with_mingw+y}
4371 withval
=$with_mingw;
4375 # Check whether --with-netapi was given.
4376 if test ${with_netapi+y}
4378 withval
=$with_netapi;
4382 # Check whether --with-odbc was given.
4383 if test ${with_odbc+y}
4389 # Check whether --with-opencl was given.
4390 if test ${with_opencl+y}
4392 withval
=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h
=no
; ac_cv_header_OpenCL_opencl_h
=no
; fi
4396 # Check whether --with-opengl was given.
4397 if test ${with_opengl+y}
4399 withval
=$with_opengl;
4403 # Check whether --with-osmesa was given.
4404 if test ${with_osmesa+y}
4406 withval
=$with_osmesa;
4410 # Check whether --with-oss was given.
4411 if test ${with_oss+y}
4417 # Check whether --with-pcap was given.
4418 if test ${with_pcap+y}
4420 withval
=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h
=no
; fi
4424 # Check whether --with-pcsclite was given.
4425 if test ${with_pcsclite+y}
4427 withval
=$with_pcsclite;
4431 # Check whether --with-pthread was given.
4432 if test ${with_pthread+y}
4434 withval
=$with_pthread;
4438 # Check whether --with-pulse was given.
4439 if test ${with_pulse+y}
4441 withval
=$with_pulse;
4445 # Check whether --with-sane was given.
4446 if test ${with_sane+y}
4452 # Check whether --with-sdl was given.
4453 if test ${with_sdl+y}
4459 # Check whether --with-udev was given.
4460 if test ${with_udev+y}
4466 # Check whether --with-unwind was given.
4467 if test ${with_unwind+y}
4469 withval
=$with_unwind;
4473 # Check whether --with-usb was given.
4474 if test ${with_usb+y}
4480 # Check whether --with-v4l2 was given.
4481 if test ${with_v4l2+y}
4487 # Check whether --with-vulkan was given.
4488 if test ${with_vulkan+y}
4490 withval
=$with_vulkan;
4494 # Check whether --with-wayland was given.
4495 if test ${with_wayland+y}
4497 withval
=$with_wayland;
4501 # Check whether --with-xcomposite was given.
4502 if test ${with_xcomposite+y}
4504 withval
=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h
=no
; fi
4508 # Check whether --with-xcursor was given.
4509 if test ${with_xcursor+y}
4511 withval
=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h
=no
; fi
4515 # Check whether --with-xfixes was given.
4516 if test ${with_xfixes+y}
4518 withval
=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h
=no
; fi
4522 # Check whether --with-xinerama was given.
4523 if test ${with_xinerama+y}
4525 withval
=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h
=no
; fi
4529 # Check whether --with-xinput was given.
4530 if test ${with_xinput+y}
4532 withval
=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h
=no
; fi
4536 # Check whether --with-xinput2 was given.
4537 if test ${with_xinput2+y}
4539 withval
=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h
=no
; fi
4543 # Check whether --with-xrandr was given.
4544 if test ${with_xrandr+y}
4546 withval
=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h
=no
; fi
4550 # Check whether --with-xrender was given.
4551 if test ${with_xrender+y}
4553 withval
=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h
=no
; fi
4557 # Check whether --with-xshape was given.
4558 if test ${with_xshape+y}
4560 withval
=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h
=no
; fi
4564 # Check whether --with-xshm was given.
4565 if test ${with_xshm+y}
4567 withval
=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h
=no
; fi
4571 # Check whether --with-xxf86vm was given.
4572 if test ${with_xxf86vm+y}
4574 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
4579 # Check whether --with-system-dllpath was given.
4580 if test ${with_system_dllpath+y}
4582 withval
=$with_system_dllpath; system_dllpath
=$withval
4587 # Check whether --with-wine-tools was given.
4588 if test ${with_wine_tools+y}
4590 withval
=$with_wine_tools;
4594 # Check whether --with-wine64 was given.
4595 if test ${with_wine64+y}
4597 withval
=$with_wine64;
4604 # Make sure we can run config.sub.
4605 $SHELL "${ac_aux_dir}config.sub" sun4
>/dev
/null
2>&1 ||
4606 as_fn_error $?
"cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
4608 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4609 printf %s
"checking build system type... " >&6; }
4610 if test ${ac_cv_build+y}
4612 printf %s
"(cached) " >&6
4614 ac_build_alias
=$build_alias
4615 test "x$ac_build_alias" = x
&&
4616 ac_build_alias
=`$SHELL "${ac_aux_dir}config.guess"`
4617 test "x$ac_build_alias" = x
&&
4618 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
4619 ac_cv_build
=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
4620 as_fn_error $?
"$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
4623 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4624 printf "%s\n" "$ac_cv_build" >&6; }
4625 case $ac_cv_build in
4627 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
4630 ac_save_IFS
=$IFS; IFS
='-'
4636 # Remember, the first character of IFS is used to create $*,
4637 # except with old shells:
4640 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
4643 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4644 printf %s
"checking host system type... " >&6; }
4645 if test ${ac_cv_host+y}
4647 printf %s
"(cached) " >&6
4649 if test "x$host_alias" = x
; then
4650 ac_cv_host
=$ac_cv_build
4652 ac_cv_host
=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
4653 as_fn_error $?
"$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
4657 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4658 printf "%s\n" "$ac_cv_host" >&6; }
4661 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
4664 ac_save_IFS
=$IFS; IFS
='-'
4670 # Remember, the first character of IFS is used to create $*,
4671 # except with old shells:
4674 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
4681 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4682 printf %s
"checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4684 ac_make
=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4685 if eval test \
${ac_cv_prog_make_${ac_make}_set+y}
4687 printf %s
"(cached) " >&6
4689 cat >conftest.
make <<\_ACEOF
4692 @
echo '@@@%%%=$(MAKE)=@@@%%%'
4694 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4695 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4697 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
4699 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
4703 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
4704 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4705 printf "%s\n" "yes" >&6; }
4708 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4709 printf "%s\n" "no" >&6; }
4710 SET_MAKE
="MAKE=${MAKE-make}"
4723 ac_cpp
='$CPP $CPPFLAGS'
4724 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4725 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4726 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4727 if test -n "$ac_tool_prefix"; then
4728 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4729 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
4730 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4731 printf %s
"checking for $ac_word... " >&6; }
4732 if test ${ac_cv_prog_CC+y}
4734 printf %s
"(cached) " >&6
4736 if test -n "$CC"; then
4737 ac_cv_prog_CC
="$CC" # Let the user override the test.
4739 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4743 case $as_dir in #(((
4746 *) as_dir
=$as_dir/ ;;
4748 for ac_exec_ext
in '' $ac_executable_extensions; do
4749 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
4750 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
4751 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4761 if test -n "$CC"; then
4762 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4763 printf "%s\n" "$CC" >&6; }
4765 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4766 printf "%s\n" "no" >&6; }
4771 if test -z "$ac_cv_prog_CC"; then
4773 # Extract the first word of "gcc", so it can be a program name with args.
4774 set dummy gcc
; ac_word
=$2
4775 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4776 printf %s
"checking for $ac_word... " >&6; }
4777 if test ${ac_cv_prog_ac_ct_CC+y}
4779 printf %s
"(cached) " >&6
4781 if test -n "$ac_ct_CC"; then
4782 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4784 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4788 case $as_dir in #(((
4791 *) as_dir
=$as_dir/ ;;
4793 for ac_exec_ext
in '' $ac_executable_extensions; do
4794 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
4795 ac_cv_prog_ac_ct_CC
="gcc"
4796 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4805 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4806 if test -n "$ac_ct_CC"; then
4807 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4808 printf "%s\n" "$ac_ct_CC" >&6; }
4810 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4811 printf "%s\n" "no" >&6; }
4814 if test "x$ac_ct_CC" = x
; then
4817 case $cross_compiling:$ac_tool_warned in
4819 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4820 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4821 ac_tool_warned
=yes ;;
4829 if test -z "$CC"; then
4830 if test -n "$ac_tool_prefix"; then
4831 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4832 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
4833 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4834 printf %s
"checking for $ac_word... " >&6; }
4835 if test ${ac_cv_prog_CC+y}
4837 printf %s
"(cached) " >&6
4839 if test -n "$CC"; then
4840 ac_cv_prog_CC
="$CC" # Let the user override the test.
4842 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4846 case $as_dir in #(((
4849 *) as_dir
=$as_dir/ ;;
4851 for ac_exec_ext
in '' $ac_executable_extensions; do
4852 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
4853 ac_cv_prog_CC
="${ac_tool_prefix}cc"
4854 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4864 if test -n "$CC"; then
4865 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4866 printf "%s\n" "$CC" >&6; }
4868 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4869 printf "%s\n" "no" >&6; }
4875 if test -z "$CC"; then
4876 # Extract the first word of "cc", so it can be a program name with args.
4877 set dummy cc
; ac_word
=$2
4878 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4879 printf %s
"checking for $ac_word... " >&6; }
4880 if test ${ac_cv_prog_CC+y}
4882 printf %s
"(cached) " >&6
4884 if test -n "$CC"; then
4885 ac_cv_prog_CC
="$CC" # Let the user override the test.
4888 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4892 case $as_dir in #(((
4895 *) as_dir
=$as_dir/ ;;
4897 for ac_exec_ext
in '' $ac_executable_extensions; do
4898 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
4899 if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4900 ac_prog_rejected
=yes
4904 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4911 if test $ac_prog_rejected = yes; then
4912 # We found a bogon in the path, so make sure we never use it.
4913 set dummy
$ac_cv_prog_CC
4915 if test $# != 0; then
4916 # We chose a different compiler from the bogus one.
4917 # However, it has the same basename, so the bogon will be chosen
4918 # first if we set CC to just the basename; use the full file name.
4920 ac_cv_prog_CC
="$as_dir$ac_word${1+' '}$@"
4926 if test -n "$CC"; then
4927 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4928 printf "%s\n" "$CC" >&6; }
4930 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4931 printf "%s\n" "no" >&6; }
4936 if test -z "$CC"; then
4937 if test -n "$ac_tool_prefix"; then
4938 for ac_prog
in cl.exe
4940 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4941 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4942 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4943 printf %s
"checking for $ac_word... " >&6; }
4944 if test ${ac_cv_prog_CC+y}
4946 printf %s
"(cached) " >&6
4948 if test -n "$CC"; then
4949 ac_cv_prog_CC
="$CC" # Let the user override the test.
4951 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4955 case $as_dir in #(((
4958 *) as_dir
=$as_dir/ ;;
4960 for ac_exec_ext
in '' $ac_executable_extensions; do
4961 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
4962 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
4963 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4973 if test -n "$CC"; then
4974 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4975 printf "%s\n" "$CC" >&6; }
4977 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4978 printf "%s\n" "no" >&6; }
4982 test -n "$CC" && break
4985 if test -z "$CC"; then
4987 for ac_prog
in cl.exe
4989 # Extract the first word of "$ac_prog", so it can be a program name with args.
4990 set dummy
$ac_prog; ac_word
=$2
4991 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4992 printf %s
"checking for $ac_word... " >&6; }
4993 if test ${ac_cv_prog_ac_ct_CC+y}
4995 printf %s
"(cached) " >&6
4997 if test -n "$ac_ct_CC"; then
4998 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
5000 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5004 case $as_dir in #(((
5007 *) as_dir
=$as_dir/ ;;
5009 for ac_exec_ext
in '' $ac_executable_extensions; do
5010 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
5011 ac_cv_prog_ac_ct_CC
="$ac_prog"
5012 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5021 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
5022 if test -n "$ac_ct_CC"; then
5023 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5024 printf "%s\n" "$ac_ct_CC" >&6; }
5026 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5027 printf "%s\n" "no" >&6; }
5031 test -n "$ac_ct_CC" && break
5034 if test "x$ac_ct_CC" = x
; then
5037 case $cross_compiling:$ac_tool_warned in
5039 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5040 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5041 ac_tool_warned
=yes ;;
5048 if test -z "$CC"; then
5049 if test -n "$ac_tool_prefix"; then
5050 # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
5051 set dummy
${ac_tool_prefix}clang
; ac_word
=$2
5052 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5053 printf %s
"checking for $ac_word... " >&6; }
5054 if test ${ac_cv_prog_CC+y}
5056 printf %s
"(cached) " >&6
5058 if test -n "$CC"; then
5059 ac_cv_prog_CC
="$CC" # Let the user override the test.
5061 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5065 case $as_dir in #(((
5068 *) as_dir
=$as_dir/ ;;
5070 for ac_exec_ext
in '' $ac_executable_extensions; do
5071 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
5072 ac_cv_prog_CC
="${ac_tool_prefix}clang"
5073 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5083 if test -n "$CC"; then
5084 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5085 printf "%s\n" "$CC" >&6; }
5087 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5088 printf "%s\n" "no" >&6; }
5093 if test -z "$ac_cv_prog_CC"; then
5095 # Extract the first word of "clang", so it can be a program name with args.
5096 set dummy clang
; ac_word
=$2
5097 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5098 printf %s
"checking for $ac_word... " >&6; }
5099 if test ${ac_cv_prog_ac_ct_CC+y}
5101 printf %s
"(cached) " >&6
5103 if test -n "$ac_ct_CC"; then
5104 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
5106 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5110 case $as_dir in #(((
5113 *) as_dir
=$as_dir/ ;;
5115 for ac_exec_ext
in '' $ac_executable_extensions; do
5116 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
5117 ac_cv_prog_ac_ct_CC
="clang"
5118 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5127 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
5128 if test -n "$ac_ct_CC"; then
5129 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5130 printf "%s\n" "$ac_ct_CC" >&6; }
5132 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5133 printf "%s\n" "no" >&6; }
5136 if test "x$ac_ct_CC" = x
; then
5139 case $cross_compiling:$ac_tool_warned in
5141 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5142 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5143 ac_tool_warned
=yes ;;
5154 test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5155 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5156 as_fn_error $?
"no acceptable C compiler found in \$PATH
5157 See \`config.log' for more details" "$LINENO" 5; }
5159 # Provide some information about the compiler.
5160 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
5163 for ac_option
in --version -v -V -qversion -version; do
5164 { { ac_try
="$ac_compiler $ac_option >&5"
5166 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5167 *) ac_try_echo=$ac_try;;
5169 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5170 printf "%s\n" "$ac_try_echo"; } >&5
5171 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5173 if test -s conftest.err; then
5175 ... rest of stderr output deleted ...
5176 10q' conftest.err >conftest.er1
5177 cat conftest.er1 >&5
5179 rm -f conftest.er1 conftest.err
5180 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5181 test $ac_status = 0; }
5184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5185 /* end confdefs.h. */
5195 ac_clean_files_save=$ac_clean_files
5196 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
5197 # Try to create an executable without -o first, disregard a.out.
5198 # It will help us diagnose broken compilers, and finding out an intuition
5200 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
5201 printf %s "checking whether the C compiler works... " >&6; }
5202 ac_link_default=`printf "%s\n" "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
5204 # The possible output files:
5205 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
5208 for ac_file in $ac_files
5211 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
5212 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
5217 if { { ac_try="$ac_link_default"
5219 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5220 *) ac_try_echo
=$ac_try;;
5222 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5223 printf "%s\n" "$ac_try_echo"; } >&5
5224 (eval "$ac_link_default") 2>&5
5226 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5227 test $ac_status = 0; }
5229 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
5230 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
5231 # in a Makefile. We should not override ac_cv_exeext if it was cached,
5232 # so that the user can short-circuit this test for compilers unknown to
5234 for ac_file
in $ac_files ''
5236 test -f "$ac_file" ||
continue
5238 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
5241 # We found the default executable, but exeext='' is most
5245 if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no
;
5247 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
5249 # We set ac_cv_exeext here because the later test for it is not
5250 # safe: cross compilers may not add the suffix if given an `-o'
5251 # argument, so we may need to know it at that point already.
5252 # Even if this section looks crufty: it has the advantage of
5259 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
5264 if test -z "$ac_file"
5266 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5267 printf "%s\n" "no" >&6; }
5268 printf "%s\n" "$as_me: failed program was:" >&5
5269 sed 's/^/| /' conftest.
$ac_ext >&5
5271 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5272 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5273 as_fn_error
77 "C compiler cannot create executables
5274 See \`config.log' for more details" "$LINENO" 5; }
5276 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5277 printf "%s\n" "yes" >&6; }
5279 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
5280 printf %s
"checking for C compiler default output file name... " >&6; }
5281 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
5282 printf "%s\n" "$ac_file" >&6; }
5283 ac_exeext
=$ac_cv_exeext
5285 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
5286 ac_clean_files
=$ac_clean_files_save
5287 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
5288 printf %s
"checking for suffix of executables... " >&6; }
5289 if { { ac_try
="$ac_link"
5291 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5292 *) ac_try_echo=$ac_try;;
5294 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5295 printf "%s\n" "$ac_try_echo"; } >&5
5296 (eval "$ac_link") 2>&5
5298 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5299 test $ac_status = 0; }
5301 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
5302 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
5303 # work properly (i.e., refer to `conftest.exe'), while it won't with
5305 for ac_file
in conftest.exe conftest conftest.
*; do
5306 test -f "$ac_file" ||
continue
5308 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
5309 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
5315 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5316 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5317 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
5318 See \`config.log' for more details" "$LINENO" 5; }
5320 rm -f conftest conftest
$ac_cv_exeext
5321 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
5322 printf "%s\n" "$ac_cv_exeext" >&6; }
5324 rm -f conftest.
$ac_ext
5325 EXEEXT
=$ac_cv_exeext
5327 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5328 /* end confdefs.h. */
5333 FILE *f = fopen ("conftest.out", "w");
5334 return ferror (f) || fclose (f) != 0;
5340 ac_clean_files
="$ac_clean_files conftest.out"
5341 # Check that the compiler produces executables we can run. If not, either
5342 # the compiler is broken, or we cross compile.
5343 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
5344 printf %s
"checking whether we are cross compiling... " >&6; }
5345 if test "$cross_compiling" != yes; then
5346 { { ac_try
="$ac_link"
5348 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5349 *) ac_try_echo=$ac_try;;
5351 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5352 printf "%s\n" "$ac_try_echo"; } >&5
5353 (eval "$ac_link") 2>&5
5355 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5356 test $ac_status = 0; }
5357 if { ac_try='./conftest$ac_cv_exeext'
5358 { { case "(($ac_try" in
5359 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5360 *) ac_try_echo
=$ac_try;;
5362 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5363 printf "%s\n" "$ac_try_echo"; } >&5
5364 (eval "$ac_try") 2>&5
5366 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5367 test $ac_status = 0; }; }; then
5370 if test "$cross_compiling" = maybe
; then
5373 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5374 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5375 as_fn_error
77 "cannot run C compiled programs.
5376 If you meant to cross compile, use \`--host'.
5377 See \`config.log' for more details" "$LINENO" 5; }
5381 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
5382 printf "%s\n" "$cross_compiling" >&6; }
5384 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
5385 ac_clean_files
=$ac_clean_files_save
5386 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
5387 printf %s
"checking for suffix of object files... " >&6; }
5388 if test ${ac_cv_objext+y}
5390 printf %s
"(cached) " >&6
5392 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5393 /* end confdefs.h. */
5403 rm -f conftest.o conftest.obj
5404 if { { ac_try
="$ac_compile"
5406 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5407 *) ac_try_echo=$ac_try;;
5409 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5410 printf "%s\n" "$ac_try_echo"; } >&5
5411 (eval "$ac_compile") 2>&5
5413 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5414 test $ac_status = 0; }
5416 for ac_file in conftest.o conftest.obj conftest.*; do
5417 test -f "$ac_file" || continue;
5419 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
5420 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
5425 printf "%s\n" "$as_me: failed program was:" >&5
5426 sed 's/^/| /' conftest.$ac_ext >&5
5428 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5429 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5430 as_fn_error $? "cannot compute suffix of object files
: cannot compile
5431 See \
`config.log' for more details" "$LINENO" 5; }
5433 rm -f conftest.$ac_cv_objext conftest.$ac_ext
5435 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
5436 printf "%s\n" "$ac_cv_objext" >&6; }
5437 OBJEXT=$ac_cv_objext
5439 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
5440 printf %s "checking whether the compiler supports GNU C... " >&6; }
5441 if test ${ac_cv_c_compiler_gnu+y}
5443 printf %s "(cached) " >&6
5445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5446 /* end confdefs.h. */
5459 if ac_fn_c_try_compile "$LINENO"
5465 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5466 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5469 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5470 printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
5471 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5473 if test $ac_compiler_gnu = yes; then
5478 ac_test_CFLAGS=${CFLAGS+y}
5479 ac_save_CFLAGS=$CFLAGS
5480 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5481 printf %s "checking whether $CC accepts -g... " >&6; }
5482 if test ${ac_cv_prog_cc_g+y}
5484 printf %s "(cached) " >&6
5486 ac_save_c_werror_flag=$ac_c_werror_flag
5487 ac_c_werror_flag=yes
5490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5491 /* end confdefs.h. */
5501 if ac_fn_c_try_compile "$LINENO"
5506 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5507 /* end confdefs.h. */
5517 if ac_fn_c_try_compile "$LINENO"
5521 ac_c_werror_flag=$ac_save_c_werror_flag
5523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5524 /* end confdefs.h. */
5534 if ac_fn_c_try_compile "$LINENO"
5538 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5540 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5542 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5543 ac_c_werror_flag=$ac_save_c_werror_flag
5545 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5546 printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
5547 if test $ac_test_CFLAGS; then
5548 CFLAGS=$ac_save_CFLAGS
5549 elif test $ac_cv_prog_cc_g = yes; then
5550 if test "$GCC" = yes; then
5556 if test "$GCC" = yes; then
5563 if test x$ac_prog_cc_stdc = xno
5565 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
5566 printf %s "checking for $CC option to enable C11 features... " >&6; }
5567 if test ${ac_cv_prog_cc_c11+y}
5569 printf %s "(cached) " >&6
5571 ac_cv_prog_cc_c11=no
5573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5574 /* end confdefs.h. */
5575 $ac_c_conftest_c11_program
5577 for ac_arg in '' -std=gnu11
5579 CC="$ac_save_CC $ac_arg"
5580 if ac_fn_c_try_compile "$LINENO"
5582 ac_cv_prog_cc_c11=$ac_arg
5584 rm -f core conftest.err conftest.$ac_objext conftest.beam
5585 test "x$ac_cv_prog_cc_c11" != "xno" && break
5587 rm -f conftest.$ac_ext
5591 if test "x$ac_cv_prog_cc_c11" = xno
5593 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5594 printf "%s\n" "unsupported" >&6; }
5596 if test "x$ac_cv_prog_cc_c11" = x
5598 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5599 printf "%s\n" "none needed" >&6; }
5601 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
5602 printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
5603 CC="$CC $ac_cv_prog_cc_c11"
5605 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
5609 if test x$ac_prog_cc_stdc = xno
5611 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
5612 printf %s "checking for $CC option to enable C99 features... " >&6; }
5613 if test ${ac_cv_prog_cc_c99+y}
5615 printf %s "(cached) " >&6
5617 ac_cv_prog_cc_c99=no
5619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5620 /* end confdefs.h. */
5621 $ac_c_conftest_c99_program
5623 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
5625 CC="$ac_save_CC $ac_arg"
5626 if ac_fn_c_try_compile "$LINENO"
5628 ac_cv_prog_cc_c99=$ac_arg
5630 rm -f core conftest.err conftest.$ac_objext conftest.beam
5631 test "x$ac_cv_prog_cc_c99" != "xno" && break
5633 rm -f conftest.$ac_ext
5637 if test "x$ac_cv_prog_cc_c99" = xno
5639 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5640 printf "%s\n" "unsupported" >&6; }
5642 if test "x$ac_cv_prog_cc_c99" = x
5644 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5645 printf "%s\n" "none needed" >&6; }
5647 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
5648 printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
5649 CC="$CC $ac_cv_prog_cc_c99"
5651 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
5655 if test x$ac_prog_cc_stdc = xno
5657 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
5658 printf %s "checking for $CC option to enable C89 features... " >&6; }
5659 if test ${ac_cv_prog_cc_c89+y}
5661 printf %s "(cached) " >&6
5663 ac_cv_prog_cc_c89=no
5665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5666 /* end confdefs.h. */
5667 $ac_c_conftest_c89_program
5669 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5671 CC="$ac_save_CC $ac_arg"
5672 if ac_fn_c_try_compile "$LINENO"
5674 ac_cv_prog_cc_c89=$ac_arg
5676 rm -f core conftest.err conftest.$ac_objext conftest.beam
5677 test "x$ac_cv_prog_cc_c89" != "xno" && break
5679 rm -f conftest.$ac_ext
5683 if test "x$ac_cv_prog_cc_c89" = xno
5685 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5686 printf "%s\n" "unsupported" >&6; }
5688 if test "x$ac_cv_prog_cc_c89" = x
5690 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5691 printf "%s\n" "none needed" >&6; }
5693 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5694 printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
5695 CC="$CC $ac_cv_prog_cc_c89"
5697 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
5703 ac_cpp='$CPP $CPPFLAGS'
5704 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5705 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5706 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5715 ac_cpp='$CXXCPP $CPPFLAGS'
5716 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5717 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5718 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5719 if test -z "$CXX"; then
5720 if test -n "$CCC"; then
5723 if test -n "$ac_tool_prefix"; then
5724 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC clang++
5726 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5727 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5728 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5729 printf %s "checking for $ac_word... " >&6; }
5730 if test ${ac_cv_prog_CXX+y}
5732 printf %s "(cached) " >&6
5734 if test -n "$CXX"; then
5735 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5737 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5741 case $as_dir in #(((
5744 *) as_dir=$as_dir/ ;;
5746 for ac_exec_ext in '' $ac_executable_extensions; do
5747 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5748 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5749 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5759 if test -n "$CXX"; then
5760 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5761 printf "%s\n" "$CXX" >&6; }
5763 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5764 printf "%s\n" "no" >&6; }
5768 test -n "$CXX" && break
5771 if test -z "$CXX"; then
5773 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC clang++
5775 # Extract the first word of "$ac_prog", so it can be a program name with args.
5776 set dummy $ac_prog; ac_word=$2
5777 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5778 printf %s "checking for $ac_word... " >&6; }
5779 if test ${ac_cv_prog_ac_ct_CXX+y}
5781 printf %s "(cached) " >&6
5783 if test -n "$ac_ct_CXX"; then
5784 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5786 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5790 case $as_dir in #(((
5793 *) as_dir=$as_dir/ ;;
5795 for ac_exec_ext in '' $ac_executable_extensions; do
5796 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5797 ac_cv_prog_ac_ct_CXX="$ac_prog"
5798 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5807 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5808 if test -n "$ac_ct_CXX"; then
5809 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5810 printf "%s\n" "$ac_ct_CXX" >&6; }
5812 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5813 printf "%s\n" "no" >&6; }
5817 test -n "$ac_ct_CXX" && break
5820 if test "x$ac_ct_CXX" = x; then
5823 case $cross_compiling:$ac_tool_warned in
5825 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5826 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5827 ac_tool_warned=yes ;;
5835 # Provide some information about the compiler.
5836 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5839 for ac_option in --version -v -V -qversion; do
5840 { { ac_try="$ac_compiler $ac_option >&5"
5842 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5843 *) ac_try_echo
=$ac_try;;
5845 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5846 printf "%s\n" "$ac_try_echo"; } >&5
5847 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5849 if test -s conftest.err
; then
5851 ... rest of stderr output deleted ...
5852 10q' conftest.err
>conftest.er1
5853 cat conftest.er1
>&5
5855 rm -f conftest.er1 conftest.err
5856 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5857 test $ac_status = 0; }
5860 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C++" >&5
5861 printf %s
"checking whether the compiler supports GNU C++... " >&6; }
5862 if test ${ac_cv_cxx_compiler_gnu+y}
5864 printf %s
"(cached) " >&6
5866 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5867 /* end confdefs.h. */
5880 if ac_fn_cxx_try_compile
"$LINENO"
5886 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5887 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
5890 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5891 printf "%s\n" "$ac_cv_cxx_compiler_gnu" >&6; }
5892 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5894 if test $ac_compiler_gnu = yes; then
5899 ac_test_CXXFLAGS
=${CXXFLAGS+y}
5900 ac_save_CXXFLAGS
=$CXXFLAGS
5901 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5902 printf %s
"checking whether $CXX accepts -g... " >&6; }
5903 if test ${ac_cv_prog_cxx_g+y}
5905 printf %s
"(cached) " >&6
5907 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
5908 ac_cxx_werror_flag
=yes
5911 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5912 /* end confdefs.h. */
5922 if ac_fn_cxx_try_compile
"$LINENO"
5924 ac_cv_prog_cxx_g
=yes
5927 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5928 /* end confdefs.h. */
5938 if ac_fn_cxx_try_compile
"$LINENO"
5942 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
5944 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5945 /* end confdefs.h. */
5955 if ac_fn_cxx_try_compile
"$LINENO"
5957 ac_cv_prog_cxx_g
=yes
5959 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5961 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5963 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5964 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
5966 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5967 printf "%s\n" "$ac_cv_prog_cxx_g" >&6; }
5968 if test $ac_test_CXXFLAGS; then
5969 CXXFLAGS
=$ac_save_CXXFLAGS
5970 elif test $ac_cv_prog_cxx_g = yes; then
5971 if test "$GXX" = yes; then
5977 if test "$GXX" = yes; then
5983 ac_prog_cxx_stdcxx
=no
5984 if test x
$ac_prog_cxx_stdcxx = xno
5986 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++11 features" >&5
5987 printf %s
"checking for $CXX option to enable C++11 features... " >&6; }
5988 if test ${ac_cv_prog_cxx_cxx11+y}
5990 printf %s
"(cached) " >&6
5992 ac_cv_prog_cxx_cxx11
=no
5994 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5995 /* end confdefs.h. */
5996 $ac_cxx_conftest_cxx11_program
5998 for ac_arg
in '' -std=gnu
++11 -std=gnu
++0x
-std=c
++11 -std=c
++0x
-qlanglvl=extended0x
-AA
6000 CXX
="$ac_save_CXX $ac_arg"
6001 if ac_fn_cxx_try_compile
"$LINENO"
6003 ac_cv_prog_cxx_cxx11
=$ac_arg
6005 rm -f core conftest.err conftest.
$ac_objext conftest.beam
6006 test "x$ac_cv_prog_cxx_cxx11" != "xno" && break
6008 rm -f conftest.
$ac_ext
6012 if test "x$ac_cv_prog_cxx_cxx11" = xno
6014 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
6015 printf "%s\n" "unsupported" >&6; }
6017 if test "x$ac_cv_prog_cxx_cxx11" = x
6019 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
6020 printf "%s\n" "none needed" >&6; }
6022 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx11" >&5
6023 printf "%s\n" "$ac_cv_prog_cxx_cxx11" >&6; }
6024 CXX
="$CXX $ac_cv_prog_cxx_cxx11"
6026 ac_cv_prog_cxx_stdcxx
=$ac_cv_prog_cxx_cxx11
6027 ac_prog_cxx_stdcxx
=cxx11
6030 if test x
$ac_prog_cxx_stdcxx = xno
6032 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++98 features" >&5
6033 printf %s
"checking for $CXX option to enable C++98 features... " >&6; }
6034 if test ${ac_cv_prog_cxx_cxx98+y}
6036 printf %s
"(cached) " >&6
6038 ac_cv_prog_cxx_cxx98
=no
6040 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6041 /* end confdefs.h. */
6042 $ac_cxx_conftest_cxx98_program
6044 for ac_arg
in '' -std=gnu
++98 -std=c
++98 -qlanglvl=extended
-AA
6046 CXX
="$ac_save_CXX $ac_arg"
6047 if ac_fn_cxx_try_compile
"$LINENO"
6049 ac_cv_prog_cxx_cxx98
=$ac_arg
6051 rm -f core conftest.err conftest.
$ac_objext conftest.beam
6052 test "x$ac_cv_prog_cxx_cxx98" != "xno" && break
6054 rm -f conftest.
$ac_ext
6058 if test "x$ac_cv_prog_cxx_cxx98" = xno
6060 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
6061 printf "%s\n" "unsupported" >&6; }
6063 if test "x$ac_cv_prog_cxx_cxx98" = x
6065 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
6066 printf "%s\n" "none needed" >&6; }
6068 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx98" >&5
6069 printf "%s\n" "$ac_cv_prog_cxx_cxx98" >&6; }
6070 CXX
="$CXX $ac_cv_prog_cxx_cxx98"
6072 ac_cv_prog_cxx_stdcxx
=$ac_cv_prog_cxx_cxx98
6073 ac_prog_cxx_stdcxx
=cxx98
6078 ac_cpp
='$CPP $CPPFLAGS'
6079 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6080 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6081 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6083 if test -n "$ac_tool_prefix"; then
6084 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
6085 set dummy
${ac_tool_prefix}cpp
; ac_word
=$2
6086 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6087 printf %s
"checking for $ac_word... " >&6; }
6088 if test ${ac_cv_prog_CPPBIN+y}
6090 printf %s
"(cached) " >&6
6092 if test -n "$CPPBIN"; then
6093 ac_cv_prog_CPPBIN
="$CPPBIN" # Let the user override the test.
6095 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6099 case $as_dir in #(((
6102 *) as_dir
=$as_dir/ ;;
6104 for ac_exec_ext
in '' $ac_executable_extensions; do
6105 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6106 ac_cv_prog_CPPBIN
="${ac_tool_prefix}cpp"
6107 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6116 CPPBIN
=$ac_cv_prog_CPPBIN
6117 if test -n "$CPPBIN"; then
6118 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
6119 printf "%s\n" "$CPPBIN" >&6; }
6121 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6122 printf "%s\n" "no" >&6; }
6127 if test -z "$ac_cv_prog_CPPBIN"; then
6128 ac_ct_CPPBIN
=$CPPBIN
6129 # Extract the first word of "cpp", so it can be a program name with args.
6130 set dummy cpp
; ac_word
=$2
6131 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6132 printf %s
"checking for $ac_word... " >&6; }
6133 if test ${ac_cv_prog_ac_ct_CPPBIN+y}
6135 printf %s
"(cached) " >&6
6137 if test -n "$ac_ct_CPPBIN"; then
6138 ac_cv_prog_ac_ct_CPPBIN
="$ac_ct_CPPBIN" # Let the user override the test.
6140 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6144 case $as_dir in #(((
6147 *) as_dir
=$as_dir/ ;;
6149 for ac_exec_ext
in '' $ac_executable_extensions; do
6150 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6151 ac_cv_prog_ac_ct_CPPBIN
="cpp"
6152 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6161 ac_ct_CPPBIN
=$ac_cv_prog_ac_ct_CPPBIN
6162 if test -n "$ac_ct_CPPBIN"; then
6163 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
6164 printf "%s\n" "$ac_ct_CPPBIN" >&6; }
6166 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6167 printf "%s\n" "no" >&6; }
6170 if test "x$ac_ct_CPPBIN" = x
; then
6173 case $cross_compiling:$ac_tool_warned in
6175 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6176 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6177 ac_tool_warned
=yes ;;
6179 CPPBIN
=$ac_ct_CPPBIN
6182 CPPBIN
="$ac_cv_prog_CPPBIN"
6186 printf "%s\n" "#define EXEEXT \"$ac_exeext\"" >>confdefs.h
6188 if test -n "$ac_tool_prefix"; then
6189 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
6190 set dummy
${ac_tool_prefix}ld
; ac_word
=$2
6191 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6192 printf %s
"checking for $ac_word... " >&6; }
6193 if test ${ac_cv_prog_LD+y}
6195 printf %s
"(cached) " >&6
6197 if test -n "$LD"; then
6198 ac_cv_prog_LD
="$LD" # Let the user override the test.
6200 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6204 case $as_dir in #(((
6207 *) as_dir
=$as_dir/ ;;
6209 for ac_exec_ext
in '' $ac_executable_extensions; do
6210 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6211 ac_cv_prog_LD
="${ac_tool_prefix}ld"
6212 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6222 if test -n "$LD"; then
6223 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6224 printf "%s\n" "$LD" >&6; }
6226 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6227 printf "%s\n" "no" >&6; }
6232 if test -z "$ac_cv_prog_LD"; then
6234 # Extract the first word of "ld", so it can be a program name with args.
6235 set dummy ld
; ac_word
=$2
6236 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6237 printf %s
"checking for $ac_word... " >&6; }
6238 if test ${ac_cv_prog_ac_ct_LD+y}
6240 printf %s
"(cached) " >&6
6242 if test -n "$ac_ct_LD"; then
6243 ac_cv_prog_ac_ct_LD
="$ac_ct_LD" # Let the user override the test.
6245 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6249 case $as_dir in #(((
6252 *) as_dir
=$as_dir/ ;;
6254 for ac_exec_ext
in '' $ac_executable_extensions; do
6255 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6256 ac_cv_prog_ac_ct_LD
="ld"
6257 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6266 ac_ct_LD
=$ac_cv_prog_ac_ct_LD
6267 if test -n "$ac_ct_LD"; then
6268 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
6269 printf "%s\n" "$ac_ct_LD" >&6; }
6271 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6272 printf "%s\n" "no" >&6; }
6275 if test "x$ac_ct_LD" = x
; then
6278 case $cross_compiling:$ac_tool_warned in
6280 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6281 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6282 ac_tool_warned
=yes ;;
6293 with_fontconfig
=${with_fontconfig:-no}
6295 *-mingw32*|
*-cygwin*)
6296 enable_win16
=${enable_win16:-no}
6297 with_mingw
=${with_mingw:-no}
6304 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes" -a x
"$enable_archs" = x
6309 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
6310 printf %s
"checking whether $CC works... " >&6; }
6311 if test ${wine_cv_cc_m32+y}
6313 printf %s
"(cached) " >&6
6315 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6316 /* end confdefs.h. */
6326 if ac_fn_c_try_link
"$LINENO"
6332 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
6333 conftest
$ac_exeext conftest.
$ac_ext
6335 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_cc_m32" >&5
6336 printf "%s\n" "$wine_cv_cc_m32" >&6; }
6337 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
6339 notice_platform
="32-bit "
6340 TARGETFLAGS
="$TARGETFLAGS -m32"
6341 PKG_CONFIG_LIBDIR
=${PKG_CONFIG_LIBDIR:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib32/pkgconfig:/usr/lib/pkgconfig}
6342 export PKG_CONFIG_LIBDIR
6347 notice_platform
="64-bit "
6348 TARGETFLAGS
="$TARGETFLAGS -m64"
6352 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb-2" >&5
6353 printf %s
"checking whether $CC supports Thumb-2... " >&6; }
6354 if test ${wine_cv_thumb2+y}
6356 printf %s
"(cached) " >&6
6358 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6359 /* end confdefs.h. */
6364 asm(".syntax unified\n\t.thumb\n\tldm r0,{r0-r8}");
6369 if ac_fn_c_try_link
"$LINENO"
6375 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
6376 conftest
$ac_exeext conftest.
$ac_ext
6378 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_thumb2" >&5
6379 printf "%s\n" "$wine_cv_thumb2" >&6; }
6380 if test x
"$wine_cv_thumb2" = xyes
6382 CFLAGS
="$CFLAGS -mthumb"
6384 CFLAGS
="$CFLAGS -marm"
6386 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports floating point instructions" >&5
6387 printf %s
"checking whether $CC supports floating point instructions... " >&6; }
6388 if test ${wine_cv_float_abi+y}
6390 printf %s
"(cached) " >&6
6392 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6393 /* end confdefs.h. */
6398 asm("vmrs r2,fpscr");
6403 if ac_fn_c_try_link
"$LINENO"
6405 wine_cv_float_abi
=yes
6407 wine_cv_float_abi
=no
6409 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
6410 conftest
$ac_exeext conftest.
$ac_ext
6412 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_float_abi" >&5
6413 printf "%s\n" "$wine_cv_float_abi" >&6; }
6414 test $wine_cv_float_abi != no || as_fn_error $?
"The ARM target needs to support floating point instructions." "$LINENO" 5
6418 if test "x$enable_win64" = "xyes"
6420 test -z "$with_wine64" || as_fn_error $?
"--enable-win64 and --with-wine64 are mutually exclusive.
6421 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
6425 cygwin
*|mingw32
*) toolsext
=".exe"
6433 aarch64
*) HOST_ARCH
=aarch64
;;
6434 arm
*) HOST_ARCH
=arm
;;
6435 i
[3456789]86*) HOST_ARCH
=i386
;;
6436 x86_64
) HOST_ARCH
=x86_64
;;
6440 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
6441 printf %s
"checking for the directory containing the Wine tools... " >&6; }
6442 if test ${wine_cv_toolsdir+y}
6444 printf %s
"(cached) " >&6
6446 wine_cv_toolsdir
="$with_wine_tools"
6447 if test -z "$with_wine_tools"; then
6448 if test "$cross_compiling" = "yes"; then
6449 as_fn_error $?
"you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
6450 elif test -n "$with_wine64"; then
6451 wine_cv_toolsdir
="$with_wine64"
6455 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
6456 printf "%s\n" "$wine_cv_toolsdir" >&6; }
6457 if test -z "$wine_cv_toolsdir"; then
6458 wine_makedep
=tools
/makedep
$toolsext
6459 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
6460 wine_makedep
=$wine_cv_toolsdir/tools
/makedep
$toolsext
6461 enable_tools
=${enable_tools:-no}
6462 test -f "$wine_makedep" || as_fn_error $?
"the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
6464 as_fn_error $?
"could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
6466 toolsdir
=$wine_cv_toolsdir
6468 RUNTESTFLAGS
="-q -P wine"
6470 SED_CMD
="LC_ALL=C sed -e 's,@bindir@,\${bindir},g' -e 's,@PACKAGE_STRING@,$PACKAGE_STRING,g' -e 's,@PACKAGE_VERSION@,$PACKAGE_VERSION,g'"
6473 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
6475 TARGETFLAGS
="-b $host_alias $TARGETFLAGS"
6480 # Extract the first word of "$ac_prog", so it can be a program name with args.
6481 set dummy
$ac_prog; ac_word
=$2
6482 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6483 printf %s
"checking for $ac_word... " >&6; }
6484 if test ${ac_cv_prog_FLEX+y}
6486 printf %s
"(cached) " >&6
6488 if test -n "$FLEX"; then
6489 ac_cv_prog_FLEX
="$FLEX" # Let the user override the test.
6491 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6495 case $as_dir in #(((
6498 *) as_dir
=$as_dir/ ;;
6500 for ac_exec_ext
in '' $ac_executable_extensions; do
6501 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6502 ac_cv_prog_FLEX
="$ac_prog"
6503 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6512 FLEX
=$ac_cv_prog_FLEX
6513 if test -n "$FLEX"; then
6514 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
6515 printf "%s\n" "$FLEX" >&6; }
6517 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6518 printf "%s\n" "no" >&6; }
6522 test -n "$FLEX" && break
6524 test -n "$FLEX" || FLEX
="none"
6526 if test "$FLEX" = "none"
6528 as_fn_error $?
"no suitable flex found. Please install the 'flex' package." "$LINENO" 5
6530 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
6531 printf %s
"checking whether flex is recent enough... " >&6; }
6532 if test ${wine_cv_recent_flex+y}
6534 printf %s
"(cached) " >&6
6536 cat >conftest.l
<<EOF
6538 #include "prediluvian.h"
6542 if $FLEX -t conftest.l
>/dev
/null
2>&5
6544 wine_cv_recent_flex
=yes
6546 wine_cv_recent_flex
=no
6549 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_flex" >&5
6550 printf "%s\n" "$wine_cv_recent_flex" >&6; }
6551 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
6553 for ac_prog
in bison
6555 # Extract the first word of "$ac_prog", so it can be a program name with args.
6556 set dummy
$ac_prog; ac_word
=$2
6557 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6558 printf %s
"checking for $ac_word... " >&6; }
6559 if test ${ac_cv_prog_BISON+y}
6561 printf %s
"(cached) " >&6
6563 if test -n "$BISON"; then
6564 ac_cv_prog_BISON
="$BISON" # Let the user override the test.
6566 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6570 case $as_dir in #(((
6573 *) as_dir
=$as_dir/ ;;
6575 for ac_exec_ext
in '' $ac_executable_extensions; do
6576 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6577 ac_cv_prog_BISON
="$ac_prog"
6578 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6587 BISON
=$ac_cv_prog_BISON
6588 if test -n "$BISON"; then
6589 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
6590 printf "%s\n" "$BISON" >&6; }
6592 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6593 printf "%s\n" "no" >&6; }
6597 test -n "$BISON" && break
6599 test -n "$BISON" || BISON
="none"
6601 if test "$BISON" = "none"
6603 as_fn_error $?
"no suitable bison found. Please install the 'bison' package." "$LINENO" 5
6605 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether bison is recent enough" >&5
6606 printf %s
"checking whether bison is recent enough... " >&6; }
6607 if test ${wine_cv_recent_bison+y}
6609 printf %s
"(cached) " >&6
6611 cat >conftest.y
<<EOF
6612 %define parse.error verbose
6616 if $BISON conftest.y
>/dev
/null
2>&5
6618 wine_cv_recent_bison
=yes
6620 wine_cv_recent_bison
=no
6623 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_bison" >&5
6624 printf "%s\n" "$wine_cv_recent_bison" >&6; }
6625 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
6627 if test -n "$ac_tool_prefix"; then
6628 for ac_prog
in ar gar
6630 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6631 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
6632 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6633 printf %s
"checking for $ac_word... " >&6; }
6634 if test ${ac_cv_prog_AR+y}
6636 printf %s
"(cached) " >&6
6638 if test -n "$AR"; then
6639 ac_cv_prog_AR
="$AR" # Let the user override the test.
6641 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6645 case $as_dir in #(((
6648 *) as_dir
=$as_dir/ ;;
6650 for ac_exec_ext
in '' $ac_executable_extensions; do
6651 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6652 ac_cv_prog_AR
="$ac_tool_prefix$ac_prog"
6653 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6663 if test -n "$AR"; then
6664 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6665 printf "%s\n" "$AR" >&6; }
6667 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6668 printf "%s\n" "no" >&6; }
6672 test -n "$AR" && break
6675 if test -z "$AR"; then
6677 for ac_prog
in ar gar
6679 # Extract the first word of "$ac_prog", so it can be a program name with args.
6680 set dummy
$ac_prog; ac_word
=$2
6681 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6682 printf %s
"checking for $ac_word... " >&6; }
6683 if test ${ac_cv_prog_ac_ct_AR+y}
6685 printf %s
"(cached) " >&6
6687 if test -n "$ac_ct_AR"; then
6688 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
6690 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6694 case $as_dir in #(((
6697 *) as_dir
=$as_dir/ ;;
6699 for ac_exec_ext
in '' $ac_executable_extensions; do
6700 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6701 ac_cv_prog_ac_ct_AR
="$ac_prog"
6702 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6711 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
6712 if test -n "$ac_ct_AR"; then
6713 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6714 printf "%s\n" "$ac_ct_AR" >&6; }
6716 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6717 printf "%s\n" "no" >&6; }
6721 test -n "$ac_ct_AR" && break
6724 if test "x$ac_ct_AR" = x
; then
6727 case $cross_compiling:$ac_tool_warned in
6729 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6730 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6731 ac_tool_warned
=yes ;;
6737 if test -n "$ac_tool_prefix"; then
6738 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6739 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
6740 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6741 printf %s
"checking for $ac_word... " >&6; }
6742 if test ${ac_cv_prog_STRIP+y}
6744 printf %s
"(cached) " >&6
6746 if test -n "$STRIP"; then
6747 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
6749 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6753 case $as_dir in #(((
6756 *) as_dir
=$as_dir/ ;;
6758 for ac_exec_ext
in '' $ac_executable_extensions; do
6759 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6760 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
6761 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6770 STRIP
=$ac_cv_prog_STRIP
6771 if test -n "$STRIP"; then
6772 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6773 printf "%s\n" "$STRIP" >&6; }
6775 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6776 printf "%s\n" "no" >&6; }
6781 if test -z "$ac_cv_prog_STRIP"; then
6783 # Extract the first word of "strip", so it can be a program name with args.
6784 set dummy strip
; ac_word
=$2
6785 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6786 printf %s
"checking for $ac_word... " >&6; }
6787 if test ${ac_cv_prog_ac_ct_STRIP+y}
6789 printf %s
"(cached) " >&6
6791 if test -n "$ac_ct_STRIP"; then
6792 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
6794 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6798 case $as_dir in #(((
6801 *) as_dir
=$as_dir/ ;;
6803 for ac_exec_ext
in '' $ac_executable_extensions; do
6804 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6805 ac_cv_prog_ac_ct_STRIP
="strip"
6806 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6815 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
6816 if test -n "$ac_ct_STRIP"; then
6817 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6818 printf "%s\n" "$ac_ct_STRIP" >&6; }
6820 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6821 printf "%s\n" "no" >&6; }
6824 if test "x$ac_ct_STRIP" = x
; then
6827 case $cross_compiling:$ac_tool_warned in
6829 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6830 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6831 ac_tool_warned
=yes ;;
6836 STRIP
="$ac_cv_prog_STRIP"
6839 if test -n "$ac_tool_prefix"; then
6840 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6841 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
6842 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6843 printf %s
"checking for $ac_word... " >&6; }
6844 if test ${ac_cv_prog_RANLIB+y}
6846 printf %s
"(cached) " >&6
6848 if test -n "$RANLIB"; then
6849 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
6851 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6855 case $as_dir in #(((
6858 *) as_dir
=$as_dir/ ;;
6860 for ac_exec_ext
in '' $ac_executable_extensions; do
6861 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6862 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
6863 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6872 RANLIB
=$ac_cv_prog_RANLIB
6873 if test -n "$RANLIB"; then
6874 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6875 printf "%s\n" "$RANLIB" >&6; }
6877 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6878 printf "%s\n" "no" >&6; }
6883 if test -z "$ac_cv_prog_RANLIB"; then
6884 ac_ct_RANLIB
=$RANLIB
6885 # Extract the first word of "ranlib", so it can be a program name with args.
6886 set dummy ranlib
; ac_word
=$2
6887 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6888 printf %s
"checking for $ac_word... " >&6; }
6889 if test ${ac_cv_prog_ac_ct_RANLIB+y}
6891 printf %s
"(cached) " >&6
6893 if test -n "$ac_ct_RANLIB"; then
6894 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
6896 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6900 case $as_dir in #(((
6903 *) as_dir
=$as_dir/ ;;
6905 for ac_exec_ext
in '' $ac_executable_extensions; do
6906 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6907 ac_cv_prog_ac_ct_RANLIB
="ranlib"
6908 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6917 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
6918 if test -n "$ac_ct_RANLIB"; then
6919 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6920 printf "%s\n" "$ac_ct_RANLIB" >&6; }
6922 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6923 printf "%s\n" "no" >&6; }
6926 if test "x$ac_ct_RANLIB" = x
; then
6929 case $cross_compiling:$ac_tool_warned in
6931 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6932 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6933 ac_tool_warned
=yes ;;
6935 RANLIB
=$ac_ct_RANLIB
6938 RANLIB
="$ac_cv_prog_RANLIB"
6941 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6942 printf %s
"checking whether ln -s works... " >&6; }
6944 if test "$LN_S" = "ln -s"; then
6945 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6946 printf "%s\n" "yes" >&6; }
6948 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6949 printf "%s\n" "no, using $LN_S" >&6; }
6952 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
6953 printf %s
"checking for grep that handles long lines and -e... " >&6; }
6954 if test ${ac_cv_path_GREP+y}
6956 printf %s
"(cached) " >&6
6958 if test -z "$GREP"; then
6959 ac_path_GREP_found
=false
6960 # Loop through the user's path and test for each of PROGNAME-LIST
6961 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6962 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
6965 case $as_dir in #(((
6968 *) as_dir
=$as_dir/ ;;
6970 for ac_prog
in grep ggrep
6972 for ac_exec_ext
in '' $ac_executable_extensions; do
6973 ac_path_GREP
="$as_dir$ac_prog$ac_exec_ext"
6974 as_fn_executable_p
"$ac_path_GREP" ||
continue
6975 # Check for GNU ac_path_GREP and select it if it is found.
6976 # Check for GNU $ac_path_GREP
6977 case `"$ac_path_GREP" --version 2>&1` in
6979 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
6982 printf %s
0123456789 >"conftest.in"
6985 cat "conftest.in" "conftest.in" >"conftest.tmp"
6986 mv "conftest.tmp" "conftest.in"
6987 cp "conftest.in" "conftest.nl"
6988 printf "%s\n" 'GREP' >> "conftest.nl"
6989 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
6990 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
6991 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
6992 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6993 # Best one so far, save it but keep looking for a better one
6994 ac_cv_path_GREP
="$ac_path_GREP"
6995 ac_path_GREP_max
=$ac_count
6997 # 10*(2^10) chars as input seems more than enough
6998 test $ac_count -gt 10 && break
7000 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
7003 $ac_path_GREP_found && break 3
7008 if test -z "$ac_cv_path_GREP"; then
7009 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
7012 ac_cv_path_GREP
=$GREP
7016 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
7017 printf "%s\n" "$ac_cv_path_GREP" >&6; }
7018 GREP
="$ac_cv_path_GREP"
7021 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
7022 printf %s
"checking for egrep... " >&6; }
7023 if test ${ac_cv_path_EGREP+y}
7025 printf %s
"(cached) " >&6
7027 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
7028 then ac_cv_path_EGREP
="$GREP -E"
7030 if test -z "$EGREP"; then
7031 ac_path_EGREP_found
=false
7032 # Loop through the user's path and test for each of PROGNAME-LIST
7033 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7034 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
7037 case $as_dir in #(((
7040 *) as_dir
=$as_dir/ ;;
7042 for ac_prog
in egrep
7044 for ac_exec_ext
in '' $ac_executable_extensions; do
7045 ac_path_EGREP
="$as_dir$ac_prog$ac_exec_ext"
7046 as_fn_executable_p
"$ac_path_EGREP" ||
continue
7047 # Check for GNU ac_path_EGREP and select it if it is found.
7048 # Check for GNU $ac_path_EGREP
7049 case `"$ac_path_EGREP" --version 2>&1` in
7051 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
7054 printf %s
0123456789 >"conftest.in"
7057 cat "conftest.in" "conftest.in" >"conftest.tmp"
7058 mv "conftest.tmp" "conftest.in"
7059 cp "conftest.in" "conftest.nl"
7060 printf "%s\n" 'EGREP' >> "conftest.nl"
7061 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
7062 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
7063 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
7064 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
7065 # Best one so far, save it but keep looking for a better one
7066 ac_cv_path_EGREP
="$ac_path_EGREP"
7067 ac_path_EGREP_max
=$ac_count
7069 # 10*(2^10) chars as input seems more than enough
7070 test $ac_count -gt 10 && break
7072 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
7075 $ac_path_EGREP_found && break 3
7080 if test -z "$ac_cv_path_EGREP"; then
7081 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
7084 ac_cv_path_EGREP
=$EGREP
7089 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
7090 printf "%s\n" "$ac_cv_path_EGREP" >&6; }
7091 EGREP
="$ac_cv_path_EGREP"
7094 # Extract the first word of "ldconfig", so it can be a program name with args.
7095 set dummy ldconfig
; ac_word
=$2
7096 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7097 printf %s
"checking for $ac_word... " >&6; }
7098 if test ${ac_cv_path_LDCONFIG+y}
7100 printf %s
"(cached) " >&6
7104 ac_cv_path_LDCONFIG
="$LDCONFIG" # Let the user override the test with a path.
7107 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7108 for as_dir
in /sbin
/usr
/sbin
$PATH
7111 case $as_dir in #(((
7114 *) as_dir
=$as_dir/ ;;
7116 for ac_exec_ext
in '' $ac_executable_extensions; do
7117 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
7118 ac_cv_path_LDCONFIG
="$as_dir$ac_word$ac_exec_ext"
7119 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7126 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG
="true"
7130 LDCONFIG
=$ac_cv_path_LDCONFIG
7131 if test -n "$LDCONFIG"; then
7132 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
7133 printf "%s\n" "$LDCONFIG" >&6; }
7135 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7136 printf "%s\n" "no" >&6; }
7140 for ac_prog
in msgfmt
7142 # Extract the first word of "$ac_prog", so it can be a program name with args.
7143 set dummy
$ac_prog; ac_word
=$2
7144 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7145 printf %s
"checking for $ac_word... " >&6; }
7146 if test ${ac_cv_prog_MSGFMT+y}
7148 printf %s
"(cached) " >&6
7150 if test -n "$MSGFMT"; then
7151 ac_cv_prog_MSGFMT
="$MSGFMT" # Let the user override the test.
7153 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7157 case $as_dir in #(((
7160 *) as_dir
=$as_dir/ ;;
7162 for ac_exec_ext
in '' $ac_executable_extensions; do
7163 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
7164 ac_cv_prog_MSGFMT
="$ac_prog"
7165 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7174 MSGFMT
=$ac_cv_prog_MSGFMT
7175 if test -n "$MSGFMT"; then
7176 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
7177 printf "%s\n" "$MSGFMT" >&6; }
7179 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7180 printf "%s\n" "no" >&6; }
7184 test -n "$MSGFMT" && break
7186 test -n "$MSGFMT" || MSGFMT
="false"
7188 if test ${ac_tool_prefix+y}
7190 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
7191 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
7192 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7193 printf %s
"checking for $ac_word... " >&6; }
7194 if test ${ac_cv_prog_PKG_CONFIG+y}
7196 printf %s
"(cached) " >&6
7198 if test -n "$PKG_CONFIG"; then
7199 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
7201 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7205 case $as_dir in #(((
7208 *) as_dir
=$as_dir/ ;;
7210 for ac_exec_ext
in '' $ac_executable_extensions; do
7211 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
7212 ac_cv_prog_PKG_CONFIG
="${ac_tool_prefix}pkg-config"
7213 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7222 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
7223 if test -n "$PKG_CONFIG"; then
7224 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
7225 printf "%s\n" "$PKG_CONFIG" >&6; }
7227 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7228 printf "%s\n" "no" >&6; }
7233 if ${ac_cv_prog_PKG_CONFIG:+false} :
7235 if test "x$cross_compiling" = xyes
7239 { ac_cv_prog_PKG_CONFIG
=; unset ac_cv_prog_PKG_CONFIG
;}
7240 # Extract the first word of "pkg-config", so it can be a program name with args.
7241 set dummy pkg-config
; ac_word
=$2
7242 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7243 printf %s
"checking for $ac_word... " >&6; }
7244 if test ${ac_cv_prog_PKG_CONFIG+y}
7246 printf %s
"(cached) " >&6
7248 if test -n "$PKG_CONFIG"; then
7249 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
7251 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7255 case $as_dir in #(((
7258 *) as_dir
=$as_dir/ ;;
7260 for ac_exec_ext
in '' $ac_executable_extensions; do
7261 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
7262 ac_cv_prog_PKG_CONFIG
="pkg-config"
7263 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7272 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
7273 if test -n "$PKG_CONFIG"; then
7274 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
7275 printf "%s\n" "$PKG_CONFIG" >&6; }
7277 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7278 printf "%s\n" "no" >&6; }
7284 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
7287 if test "x$enable_maintainer_mode" != "xyes"
7294 test "$srcdir" = . || as_fn_error $?
"Maintainer mode cannot work out of tree." "$LINENO" 5
7295 for ac_prog
in fontforge
7297 # Extract the first word of "$ac_prog", so it can be a program name with args.
7298 set dummy
$ac_prog; ac_word
=$2
7299 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7300 printf %s
"checking for $ac_word... " >&6; }
7301 if test ${ac_cv_prog_FONTFORGE+y}
7303 printf %s
"(cached) " >&6
7305 if test -n "$FONTFORGE"; then
7306 ac_cv_prog_FONTFORGE
="$FONTFORGE" # Let the user override the test.
7308 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7312 case $as_dir in #(((
7315 *) as_dir
=$as_dir/ ;;
7317 for ac_exec_ext
in '' $ac_executable_extensions; do
7318 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
7319 ac_cv_prog_FONTFORGE
="$ac_prog"
7320 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7329 FONTFORGE
=$ac_cv_prog_FONTFORGE
7330 if test -n "$FONTFORGE"; then
7331 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
7332 printf "%s\n" "$FONTFORGE" >&6; }
7334 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7335 printf "%s\n" "no" >&6; }
7339 test -n "$FONTFORGE" && break
7341 test -n "$FONTFORGE" || FONTFORGE
="false"
7343 for ac_prog
in rsvg-convert rsvg
7345 # Extract the first word of "$ac_prog", so it can be a program name with args.
7346 set dummy
$ac_prog; ac_word
=$2
7347 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7348 printf %s
"checking for $ac_word... " >&6; }
7349 if test ${ac_cv_prog_RSVG+y}
7351 printf %s
"(cached) " >&6
7353 if test -n "$RSVG"; then
7354 ac_cv_prog_RSVG
="$RSVG" # Let the user override the test.
7356 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7360 case $as_dir in #(((
7363 *) as_dir
=$as_dir/ ;;
7365 for ac_exec_ext
in '' $ac_executable_extensions; do
7366 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
7367 ac_cv_prog_RSVG
="$ac_prog"
7368 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7377 RSVG
=$ac_cv_prog_RSVG
7378 if test -n "$RSVG"; then
7379 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
7380 printf "%s\n" "$RSVG" >&6; }
7382 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7383 printf "%s\n" "no" >&6; }
7387 test -n "$RSVG" && break
7389 test -n "$RSVG" || RSVG
="false"
7391 for ac_prog
in convert
7393 # Extract the first word of "$ac_prog", so it can be a program name with args.
7394 set dummy
$ac_prog; ac_word
=$2
7395 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7396 printf %s
"checking for $ac_word... " >&6; }
7397 if test ${ac_cv_prog_CONVERT+y}
7399 printf %s
"(cached) " >&6
7401 if test -n "$CONVERT"; then
7402 ac_cv_prog_CONVERT
="$CONVERT" # Let the user override the test.
7404 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7408 case $as_dir in #(((
7411 *) as_dir
=$as_dir/ ;;
7413 for ac_exec_ext
in '' $ac_executable_extensions; do
7414 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
7415 ac_cv_prog_CONVERT
="$ac_prog"
7416 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7425 CONVERT
=$ac_cv_prog_CONVERT
7426 if test -n "$CONVERT"; then
7427 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
7428 printf "%s\n" "$CONVERT" >&6; }
7430 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7431 printf "%s\n" "no" >&6; }
7435 test -n "$CONVERT" && break
7437 test -n "$CONVERT" || CONVERT
="false"
7439 for ac_prog
in icotool
7441 # Extract the first word of "$ac_prog", so it can be a program name with args.
7442 set dummy
$ac_prog; ac_word
=$2
7443 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7444 printf %s
"checking for $ac_word... " >&6; }
7445 if test ${ac_cv_prog_ICOTOOL+y}
7447 printf %s
"(cached) " >&6
7449 if test -n "$ICOTOOL"; then
7450 ac_cv_prog_ICOTOOL
="$ICOTOOL" # Let the user override the test.
7452 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7456 case $as_dir in #(((
7459 *) as_dir
=$as_dir/ ;;
7461 for ac_exec_ext
in '' $ac_executable_extensions; do
7462 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
7463 ac_cv_prog_ICOTOOL
="$ac_prog"
7464 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7473 ICOTOOL
=$ac_cv_prog_ICOTOOL
7474 if test -n "$ICOTOOL"; then
7475 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
7476 printf "%s\n" "$ICOTOOL" >&6; }
7478 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7479 printf "%s\n" "no" >&6; }
7483 test -n "$ICOTOOL" && break
7485 test -n "$ICOTOOL" || ICOTOOL
="false"
7487 test "$FONTFORGE" != "false" || as_fn_error $?
"You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
7488 test "$RSVG" != "false" || as_fn_error $?
"You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
7490 if test "$CONVERT" = false
7492 as_fn_error $?
"You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
7494 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
7495 printf %s
"checking for recent enough imagemagick... " >&6; }
7496 convert_version
=`convert --version | head -n1`
7497 if test "x$convert_version" != "x"
7499 convert_version_major
=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
7500 convert_version_minor
=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
7501 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
7506 if test "$CONVERT" = false
7508 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
7509 printf "%s\n" "no ($convert_version_major.$convert_version_minor)" >&6; }
7510 as_fn_error $?
"You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
7512 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
7513 printf "%s\n" "yes ($convert_version_major.$convert_version_minor)" >&6; }
7517 if test "$ICOTOOL" = false
7519 as_fn_error $?
"You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
7521 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
7522 printf %s
"checking for recent enough icotool... " >&6; }
7523 icotool_version
=`icotool --version | head -n1`
7524 if test "x$icotool_version" != "x"
7526 icotool_version_major
=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
7527 icotool_version_minor
=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
7528 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
7531 as_fn_append wine_warnings
"|icotool version 0.29.0 or newer is needed to rebuild icons."
7534 if test "$ICOTOOL" = false
7536 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
7537 printf "%s\n" "no ($icotool_version_major.$icotool_version_minor)" >&6; }
7538 as_fn_error $?
"You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
7540 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
7541 printf "%s\n" "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
7551 test "x$with_gettext" != xno || MSGFMT
=false
7552 if test "$MSGFMT" != "false"
7554 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
7555 printf %s
"checking whether msgfmt supports contexts... " >&6; }
7556 if test ${wine_cv_msgfmt_contexts+y}
7558 printf %s
"(cached) " >&6
7560 cat >conftest.po
<<EOF
7566 if $MSGFMT -o /dev
/null conftest.po
2>&5
7568 wine_cv_msgfmt_contexts
=yes
7570 wine_cv_msgfmt_contexts
=no
7573 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_msgfmt_contexts" >&5
7574 printf "%s\n" "$wine_cv_msgfmt_contexts" >&6; }
7575 test $wine_cv_msgfmt_contexts != no || MSGFMT
=false
7577 if test "$MSGFMT" = false
7579 case "x$with_gettext" in
7580 x
) as_fn_append wine_warnings
"|gettext tools not found (or too old), translations won't be built." ;;
7582 *) as_fn_error $?
"gettext tools not found (or too old), translations won't be built.
7583 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
7585 enable_po
=${enable_po:-no}
7589 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
7590 printf %s
"checking for i386_set_ldt in -li386... " >&6; }
7591 if test ${ac_cv_lib_i386_i386_set_ldt+y}
7593 printf %s
"(cached) " >&6
7595 ac_check_lib_save_LIBS
=$LIBS
7597 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7598 /* end confdefs.h. */
7600 /* Override any GCC internal prototype to avoid an error.
7601 Use char because int might match the return type of a GCC
7602 builtin and then its argument prototype would still apply. */
7603 char i386_set_ldt ();
7607 return i386_set_ldt ();
7612 if ac_fn_c_try_link
"$LINENO"
7614 ac_cv_lib_i386_i386_set_ldt
=yes
7616 ac_cv_lib_i386_i386_set_ldt
=no
7618 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
7619 conftest
$ac_exeext conftest.
$ac_ext
7620 LIBS
=$ac_check_lib_save_LIBS
7622 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
7623 printf "%s\n" "$ac_cv_lib_i386_i386_set_ldt" >&6; }
7624 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes
7635 # Check whether --enable-largefile was given.
7636 if test ${enable_largefile+y}
7638 enableval
=$enable_largefile;
7641 if test "$enable_largefile" != no
; then
7643 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
7644 printf %s
"checking for special C compiler options needed for large files... " >&6; }
7645 if test ${ac_cv_sys_largefile_CC+y}
7647 printf %s
"(cached) " >&6
7649 ac_cv_sys_largefile_CC
=no
7650 if test "$GCC" != yes; then
7653 # IRIX 6.2 and later do not support large files by default,
7654 # so use the C compiler's -n32 option if that helps.
7655 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7656 /* end confdefs.h. */
7657 #include <sys/types.h>
7658 /* Check that off_t can represent 2**63 - 1 correctly.
7659 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7660 since some C++ compilers masquerading as C compilers
7661 incorrectly reject 9223372036854775807. */
7662 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7663 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7664 && LARGE_OFF_T % 2147483647 == 1)
7674 if ac_fn_c_try_compile
"$LINENO"
7678 rm -f core conftest.err conftest.
$ac_objext conftest.beam
7680 if ac_fn_c_try_compile
"$LINENO"
7682 ac_cv_sys_largefile_CC
=' -n32'; break
7684 rm -f core conftest.err conftest.
$ac_objext conftest.beam
7688 rm -f conftest.
$ac_ext
7691 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
7692 printf "%s\n" "$ac_cv_sys_largefile_CC" >&6; }
7693 if test "$ac_cv_sys_largefile_CC" != no
; then
7694 CC
=$CC$ac_cv_sys_largefile_CC
7697 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
7698 printf %s
"checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
7699 if test ${ac_cv_sys_file_offset_bits+y}
7701 printf %s
"(cached) " >&6
7704 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7705 /* end confdefs.h. */
7706 #include <sys/types.h>
7707 /* Check that off_t can represent 2**63 - 1 correctly.
7708 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7709 since some C++ compilers masquerading as C compilers
7710 incorrectly reject 9223372036854775807. */
7711 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7712 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7713 && LARGE_OFF_T % 2147483647 == 1)
7723 if ac_fn_c_try_compile
"$LINENO"
7725 ac_cv_sys_file_offset_bits
=no
; break
7727 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
7728 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7729 /* end confdefs.h. */
7730 #define _FILE_OFFSET_BITS 64
7731 #include <sys/types.h>
7732 /* Check that off_t can represent 2**63 - 1 correctly.
7733 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7734 since some C++ compilers masquerading as C compilers
7735 incorrectly reject 9223372036854775807. */
7736 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7737 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7738 && LARGE_OFF_T % 2147483647 == 1)
7748 if ac_fn_c_try_compile
"$LINENO"
7750 ac_cv_sys_file_offset_bits
=64; break
7752 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
7753 ac_cv_sys_file_offset_bits
=unknown
7757 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
7758 printf "%s\n" "$ac_cv_sys_file_offset_bits" >&6; }
7759 case $ac_cv_sys_file_offset_bits in #(
7762 printf "%s\n" "#define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits" >>confdefs.h
7766 if test $ac_cv_sys_file_offset_bits = unknown
; then
7767 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
7768 printf %s
"checking for _LARGE_FILES value needed for large files... " >&6; }
7769 if test ${ac_cv_sys_large_files+y}
7771 printf %s
"(cached) " >&6
7774 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7775 /* end confdefs.h. */
7776 #include <sys/types.h>
7777 /* Check that off_t can represent 2**63 - 1 correctly.
7778 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7779 since some C++ compilers masquerading as C compilers
7780 incorrectly reject 9223372036854775807. */
7781 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7782 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7783 && LARGE_OFF_T % 2147483647 == 1)
7793 if ac_fn_c_try_compile
"$LINENO"
7795 ac_cv_sys_large_files
=no
; break
7797 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
7798 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7799 /* end confdefs.h. */
7800 #define _LARGE_FILES 1
7801 #include <sys/types.h>
7802 /* Check that off_t can represent 2**63 - 1 correctly.
7803 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7804 since some C++ compilers masquerading as C compilers
7805 incorrectly reject 9223372036854775807. */
7806 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7807 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7808 && LARGE_OFF_T % 2147483647 == 1)
7818 if ac_fn_c_try_compile
"$LINENO"
7820 ac_cv_sys_large_files
=1; break
7822 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
7823 ac_cv_sys_large_files
=unknown
7827 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
7828 printf "%s\n" "$ac_cv_sys_large_files" >&6; }
7829 case $ac_cv_sys_large_files in #(
7832 printf "%s\n" "#define _LARGE_FILES $ac_cv_sys_large_files" >>confdefs.h
7839 test "$ac_cv_sys_file_offset_bits" = 64 &&
7840 printf "%s\n" "#define _TIME_BITS 64" >>confdefs.h
7843 ac_header
= ac_cache
=
7844 for ac_item
in $ac_header_c_list
7846 if test $ac_cache; then
7847 ac_fn_c_check_header_compile
"$LINENO" $ac_header ac_cv_header_
$ac_cache "$ac_includes_default"
7848 if eval test \"x\
$ac_cv_header_$ac_cache\" = xyes
; then
7849 printf "%s\n" "#define $ac_item 1" >> confdefs.h
7851 ac_header
= ac_cache
=
7852 elif test $ac_header; then
7866 if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes
7869 printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h
7872 ac_fn_c_check_header_compile
"$LINENO" "CL/cl.h" "ac_cv_header_CL_cl_h" "$ac_includes_default"
7873 if test "x$ac_cv_header_CL_cl_h" = xyes
7875 printf "%s\n" "#define HAVE_CL_CL_H 1" >>confdefs.h
7878 ac_fn_c_check_header_compile
"$LINENO" "EGL/egl.h" "ac_cv_header_EGL_egl_h" "$ac_includes_default"
7879 if test "x$ac_cv_header_EGL_egl_h" = xyes
7881 printf "%s\n" "#define HAVE_EGL_EGL_H 1" >>confdefs.h
7884 ac_fn_c_check_header_compile
"$LINENO" "OpenCL/opencl.h" "ac_cv_header_OpenCL_opencl_h" "$ac_includes_default"
7885 if test "x$ac_cv_header_OpenCL_opencl_h" = xyes
7887 printf "%s\n" "#define HAVE_OPENCL_OPENCL_H 1" >>confdefs.h
7890 ac_fn_c_check_header_compile
"$LINENO" "arpa/inet.h" "ac_cv_header_arpa_inet_h" "$ac_includes_default"
7891 if test "x$ac_cv_header_arpa_inet_h" = xyes
7893 printf "%s\n" "#define HAVE_ARPA_INET_H 1" >>confdefs.h
7896 ac_fn_c_check_header_compile
"$LINENO" "arpa/nameser.h" "ac_cv_header_arpa_nameser_h" "$ac_includes_default"
7897 if test "x$ac_cv_header_arpa_nameser_h" = xyes
7899 printf "%s\n" "#define HAVE_ARPA_NAMESER_H 1" >>confdefs.h
7902 ac_fn_c_check_header_compile
"$LINENO" "asm/termbits.h" "ac_cv_header_asm_termbits_h" "$ac_includes_default"
7903 if test "x$ac_cv_header_asm_termbits_h" = xyes
7905 printf "%s\n" "#define HAVE_ASM_TERMBITS_H 1" >>confdefs.h
7908 ac_fn_c_check_header_compile
"$LINENO" "asm/types.h" "ac_cv_header_asm_types_h" "$ac_includes_default"
7909 if test "x$ac_cv_header_asm_types_h" = xyes
7911 printf "%s\n" "#define HAVE_ASM_TYPES_H 1" >>confdefs.h
7914 ac_fn_c_check_header_compile
"$LINENO" "asm/user.h" "ac_cv_header_asm_user_h" "$ac_includes_default"
7915 if test "x$ac_cv_header_asm_user_h" = xyes
7917 printf "%s\n" "#define HAVE_ASM_USER_H 1" >>confdefs.h
7920 ac_fn_c_check_header_compile
"$LINENO" "elf.h" "ac_cv_header_elf_h" "$ac_includes_default"
7921 if test "x$ac_cv_header_elf_h" = xyes
7923 printf "%s\n" "#define HAVE_ELF_H 1" >>confdefs.h
7926 ac_fn_c_check_header_compile
"$LINENO" "float.h" "ac_cv_header_float_h" "$ac_includes_default"
7927 if test "x$ac_cv_header_float_h" = xyes
7929 printf "%s\n" "#define HAVE_FLOAT_H 1" >>confdefs.h
7932 ac_fn_c_check_header_compile
"$LINENO" "gettext-po.h" "ac_cv_header_gettext_po_h" "$ac_includes_default"
7933 if test "x$ac_cv_header_gettext_po_h" = xyes
7935 printf "%s\n" "#define HAVE_GETTEXT_PO_H 1" >>confdefs.h
7938 ac_fn_c_check_header_compile
"$LINENO" "libproc.h" "ac_cv_header_libproc_h" "$ac_includes_default"
7939 if test "x$ac_cv_header_libproc_h" = xyes
7941 printf "%s\n" "#define HAVE_LIBPROC_H 1" >>confdefs.h
7944 ac_fn_c_check_header_compile
"$LINENO" "link.h" "ac_cv_header_link_h" "$ac_includes_default"
7945 if test "x$ac_cv_header_link_h" = xyes
7947 printf "%s\n" "#define HAVE_LINK_H 1" >>confdefs.h
7950 ac_fn_c_check_header_compile
"$LINENO" "linux/cdrom.h" "ac_cv_header_linux_cdrom_h" "$ac_includes_default"
7951 if test "x$ac_cv_header_linux_cdrom_h" = xyes
7953 printf "%s\n" "#define HAVE_LINUX_CDROM_H 1" >>confdefs.h
7956 ac_fn_c_check_header_compile
"$LINENO" "linux/filter.h" "ac_cv_header_linux_filter_h" "$ac_includes_default"
7957 if test "x$ac_cv_header_linux_filter_h" = xyes
7959 printf "%s\n" "#define HAVE_LINUX_FILTER_H 1" >>confdefs.h
7962 ac_fn_c_check_header_compile
"$LINENO" "linux/hdreg.h" "ac_cv_header_linux_hdreg_h" "$ac_includes_default"
7963 if test "x$ac_cv_header_linux_hdreg_h" = xyes
7965 printf "%s\n" "#define HAVE_LINUX_HDREG_H 1" >>confdefs.h
7968 ac_fn_c_check_header_compile
"$LINENO" "linux/hidraw.h" "ac_cv_header_linux_hidraw_h" "$ac_includes_default"
7969 if test "x$ac_cv_header_linux_hidraw_h" = xyes
7971 printf "%s\n" "#define HAVE_LINUX_HIDRAW_H 1" >>confdefs.h
7974 ac_fn_c_check_header_compile
"$LINENO" "linux/input.h" "ac_cv_header_linux_input_h" "$ac_includes_default"
7975 if test "x$ac_cv_header_linux_input_h" = xyes
7977 printf "%s\n" "#define HAVE_LINUX_INPUT_H 1" >>confdefs.h
7980 ac_fn_c_check_header_compile
"$LINENO" "linux/ioctl.h" "ac_cv_header_linux_ioctl_h" "$ac_includes_default"
7981 if test "x$ac_cv_header_linux_ioctl_h" = xyes
7983 printf "%s\n" "#define HAVE_LINUX_IOCTL_H 1" >>confdefs.h
7986 ac_fn_c_check_header_compile
"$LINENO" "linux/major.h" "ac_cv_header_linux_major_h" "$ac_includes_default"
7987 if test "x$ac_cv_header_linux_major_h" = xyes
7989 printf "%s\n" "#define HAVE_LINUX_MAJOR_H 1" >>confdefs.h
7992 ac_fn_c_check_header_compile
"$LINENO" "linux/param.h" "ac_cv_header_linux_param_h" "$ac_includes_default"
7993 if test "x$ac_cv_header_linux_param_h" = xyes
7995 printf "%s\n" "#define HAVE_LINUX_PARAM_H 1" >>confdefs.h
7998 ac_fn_c_check_header_compile
"$LINENO" "linux/serial.h" "ac_cv_header_linux_serial_h" "$ac_includes_default"
7999 if test "x$ac_cv_header_linux_serial_h" = xyes
8001 printf "%s\n" "#define HAVE_LINUX_SERIAL_H 1" >>confdefs.h
8004 ac_fn_c_check_header_compile
"$LINENO" "linux/types.h" "ac_cv_header_linux_types_h" "$ac_includes_default"
8005 if test "x$ac_cv_header_linux_types_h" = xyes
8007 printf "%s\n" "#define HAVE_LINUX_TYPES_H 1" >>confdefs.h
8010 ac_fn_c_check_header_compile
"$LINENO" "linux/ucdrom.h" "ac_cv_header_linux_ucdrom_h" "$ac_includes_default"
8011 if test "x$ac_cv_header_linux_ucdrom_h" = xyes
8013 printf "%s\n" "#define HAVE_LINUX_UCDROM_H 1" >>confdefs.h
8016 ac_fn_c_check_header_compile
"$LINENO" "linux/wireless.h" "ac_cv_header_linux_wireless_h" "$ac_includes_default"
8017 if test "x$ac_cv_header_linux_wireless_h" = xyes
8019 printf "%s\n" "#define HAVE_LINUX_WIRELESS_H 1" >>confdefs.h
8022 ac_fn_c_check_header_compile
"$LINENO" "lwp.h" "ac_cv_header_lwp_h" "$ac_includes_default"
8023 if test "x$ac_cv_header_lwp_h" = xyes
8025 printf "%s\n" "#define HAVE_LWP_H 1" >>confdefs.h
8028 ac_fn_c_check_header_compile
"$LINENO" "mach-o/loader.h" "ac_cv_header_mach_o_loader_h" "$ac_includes_default"
8029 if test "x$ac_cv_header_mach_o_loader_h" = xyes
8031 printf "%s\n" "#define HAVE_MACH_O_LOADER_H 1" >>confdefs.h
8034 ac_fn_c_check_header_compile
"$LINENO" "mach/mach.h" "ac_cv_header_mach_mach_h" "$ac_includes_default"
8035 if test "x$ac_cv_header_mach_mach_h" = xyes
8037 printf "%s\n" "#define HAVE_MACH_MACH_H 1" >>confdefs.h
8040 ac_fn_c_check_header_compile
"$LINENO" "machine/cpu.h" "ac_cv_header_machine_cpu_h" "$ac_includes_default"
8041 if test "x$ac_cv_header_machine_cpu_h" = xyes
8043 printf "%s\n" "#define HAVE_MACHINE_CPU_H 1" >>confdefs.h
8046 ac_fn_c_check_header_compile
"$LINENO" "machine/sysarch.h" "ac_cv_header_machine_sysarch_h" "$ac_includes_default"
8047 if test "x$ac_cv_header_machine_sysarch_h" = xyes
8049 printf "%s\n" "#define HAVE_MACHINE_SYSARCH_H 1" >>confdefs.h
8052 ac_fn_c_check_header_compile
"$LINENO" "mntent.h" "ac_cv_header_mntent_h" "$ac_includes_default"
8053 if test "x$ac_cv_header_mntent_h" = xyes
8055 printf "%s\n" "#define HAVE_MNTENT_H 1" >>confdefs.h
8058 ac_fn_c_check_header_compile
"$LINENO" "netdb.h" "ac_cv_header_netdb_h" "$ac_includes_default"
8059 if test "x$ac_cv_header_netdb_h" = xyes
8061 printf "%s\n" "#define HAVE_NETDB_H 1" >>confdefs.h
8064 ac_fn_c_check_header_compile
"$LINENO" "netinet/in.h" "ac_cv_header_netinet_in_h" "$ac_includes_default"
8065 if test "x$ac_cv_header_netinet_in_h" = xyes
8067 printf "%s\n" "#define HAVE_NETINET_IN_H 1" >>confdefs.h
8070 ac_fn_c_check_header_compile
"$LINENO" "netinet/in_systm.h" "ac_cv_header_netinet_in_systm_h" "$ac_includes_default"
8071 if test "x$ac_cv_header_netinet_in_systm_h" = xyes
8073 printf "%s\n" "#define HAVE_NETINET_IN_SYSTM_H 1" >>confdefs.h
8076 ac_fn_c_check_header_compile
"$LINENO" "netinet/tcp.h" "ac_cv_header_netinet_tcp_h" "$ac_includes_default"
8077 if test "x$ac_cv_header_netinet_tcp_h" = xyes
8079 printf "%s\n" "#define HAVE_NETINET_TCP_H 1" >>confdefs.h
8082 ac_fn_c_check_header_compile
"$LINENO" "netinet/tcp_fsm.h" "ac_cv_header_netinet_tcp_fsm_h" "$ac_includes_default"
8083 if test "x$ac_cv_header_netinet_tcp_fsm_h" = xyes
8085 printf "%s\n" "#define HAVE_NETINET_TCP_FSM_H 1" >>confdefs.h
8088 ac_fn_c_check_header_compile
"$LINENO" "pcap/pcap.h" "ac_cv_header_pcap_pcap_h" "$ac_includes_default"
8089 if test "x$ac_cv_header_pcap_pcap_h" = xyes
8091 printf "%s\n" "#define HAVE_PCAP_PCAP_H 1" >>confdefs.h
8094 ac_fn_c_check_header_compile
"$LINENO" "port.h" "ac_cv_header_port_h" "$ac_includes_default"
8095 if test "x$ac_cv_header_port_h" = xyes
8097 printf "%s\n" "#define HAVE_PORT_H 1" >>confdefs.h
8100 ac_fn_c_check_header_compile
"$LINENO" "pwd.h" "ac_cv_header_pwd_h" "$ac_includes_default"
8101 if test "x$ac_cv_header_pwd_h" = xyes
8103 printf "%s\n" "#define HAVE_PWD_H 1" >>confdefs.h
8106 ac_fn_c_check_header_compile
"$LINENO" "sched.h" "ac_cv_header_sched_h" "$ac_includes_default"
8107 if test "x$ac_cv_header_sched_h" = xyes
8109 printf "%s\n" "#define HAVE_SCHED_H 1" >>confdefs.h
8112 ac_fn_c_check_header_compile
"$LINENO" "scsi/scsi.h" "ac_cv_header_scsi_scsi_h" "$ac_includes_default"
8113 if test "x$ac_cv_header_scsi_scsi_h" = xyes
8115 printf "%s\n" "#define HAVE_SCSI_SCSI_H 1" >>confdefs.h
8118 ac_fn_c_check_header_compile
"$LINENO" "scsi/scsi_ioctl.h" "ac_cv_header_scsi_scsi_ioctl_h" "$ac_includes_default"
8119 if test "x$ac_cv_header_scsi_scsi_ioctl_h" = xyes
8121 printf "%s\n" "#define HAVE_SCSI_SCSI_IOCTL_H 1" >>confdefs.h
8124 ac_fn_c_check_header_compile
"$LINENO" "scsi/sg.h" "ac_cv_header_scsi_sg_h" "$ac_includes_default"
8125 if test "x$ac_cv_header_scsi_sg_h" = xyes
8127 printf "%s\n" "#define HAVE_SCSI_SG_H 1" >>confdefs.h
8130 ac_fn_c_check_header_compile
"$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default"
8131 if test "x$ac_cv_header_stdint_h" = xyes
8133 printf "%s\n" "#define HAVE_STDINT_H 1" >>confdefs.h
8136 ac_fn_c_check_header_compile
"$LINENO" "sys/attr.h" "ac_cv_header_sys_attr_h" "$ac_includes_default"
8137 if test "x$ac_cv_header_sys_attr_h" = xyes
8139 printf "%s\n" "#define HAVE_SYS_ATTR_H 1" >>confdefs.h
8142 ac_fn_c_check_header_compile
"$LINENO" "sys/auxv.h" "ac_cv_header_sys_auxv_h" "$ac_includes_default"
8143 if test "x$ac_cv_header_sys_auxv_h" = xyes
8145 printf "%s\n" "#define HAVE_SYS_AUXV_H 1" >>confdefs.h
8148 ac_fn_c_check_header_compile
"$LINENO" "sys/cdio.h" "ac_cv_header_sys_cdio_h" "$ac_includes_default"
8149 if test "x$ac_cv_header_sys_cdio_h" = xyes
8151 printf "%s\n" "#define HAVE_SYS_CDIO_H 1" >>confdefs.h
8154 ac_fn_c_check_header_compile
"$LINENO" "sys/epoll.h" "ac_cv_header_sys_epoll_h" "$ac_includes_default"
8155 if test "x$ac_cv_header_sys_epoll_h" = xyes
8157 printf "%s\n" "#define HAVE_SYS_EPOLL_H 1" >>confdefs.h
8160 ac_fn_c_check_header_compile
"$LINENO" "sys/event.h" "ac_cv_header_sys_event_h" "$ac_includes_default"
8161 if test "x$ac_cv_header_sys_event_h" = xyes
8163 printf "%s\n" "#define HAVE_SYS_EVENT_H 1" >>confdefs.h
8166 ac_fn_c_check_header_compile
"$LINENO" "sys/extattr.h" "ac_cv_header_sys_extattr_h" "$ac_includes_default"
8167 if test "x$ac_cv_header_sys_extattr_h" = xyes
8169 printf "%s\n" "#define HAVE_SYS_EXTATTR_H 1" >>confdefs.h
8172 ac_fn_c_check_header_compile
"$LINENO" "sys/filio.h" "ac_cv_header_sys_filio_h" "$ac_includes_default"
8173 if test "x$ac_cv_header_sys_filio_h" = xyes
8175 printf "%s\n" "#define HAVE_SYS_FILIO_H 1" >>confdefs.h
8178 ac_fn_c_check_header_compile
"$LINENO" "sys/ipc.h" "ac_cv_header_sys_ipc_h" "$ac_includes_default"
8179 if test "x$ac_cv_header_sys_ipc_h" = xyes
8181 printf "%s\n" "#define HAVE_SYS_IPC_H 1" >>confdefs.h
8184 ac_fn_c_check_header_compile
"$LINENO" "sys/link.h" "ac_cv_header_sys_link_h" "$ac_includes_default"
8185 if test "x$ac_cv_header_sys_link_h" = xyes
8187 printf "%s\n" "#define HAVE_SYS_LINK_H 1" >>confdefs.h
8190 ac_fn_c_check_header_compile
"$LINENO" "sys/modem.h" "ac_cv_header_sys_modem_h" "$ac_includes_default"
8191 if test "x$ac_cv_header_sys_modem_h" = xyes
8193 printf "%s\n" "#define HAVE_SYS_MODEM_H 1" >>confdefs.h
8196 ac_fn_c_check_header_compile
"$LINENO" "sys/mtio.h" "ac_cv_header_sys_mtio_h" "$ac_includes_default"
8197 if test "x$ac_cv_header_sys_mtio_h" = xyes
8199 printf "%s\n" "#define HAVE_SYS_MTIO_H 1" >>confdefs.h
8202 ac_fn_c_check_header_compile
"$LINENO" "sys/param.h" "ac_cv_header_sys_param_h" "$ac_includes_default"
8203 if test "x$ac_cv_header_sys_param_h" = xyes
8205 printf "%s\n" "#define HAVE_SYS_PARAM_H 1" >>confdefs.h
8208 ac_fn_c_check_header_compile
"$LINENO" "sys/prctl.h" "ac_cv_header_sys_prctl_h" "$ac_includes_default"
8209 if test "x$ac_cv_header_sys_prctl_h" = xyes
8211 printf "%s\n" "#define HAVE_SYS_PRCTL_H 1" >>confdefs.h
8214 ac_fn_c_check_header_compile
"$LINENO" "sys/ptrace.h" "ac_cv_header_sys_ptrace_h" "$ac_includes_default"
8215 if test "x$ac_cv_header_sys_ptrace_h" = xyes
8217 printf "%s\n" "#define HAVE_SYS_PTRACE_H 1" >>confdefs.h
8220 ac_fn_c_check_header_compile
"$LINENO" "sys/queue.h" "ac_cv_header_sys_queue_h" "$ac_includes_default"
8221 if test "x$ac_cv_header_sys_queue_h" = xyes
8223 printf "%s\n" "#define HAVE_SYS_QUEUE_H 1" >>confdefs.h
8226 ac_fn_c_check_header_compile
"$LINENO" "sys/random.h" "ac_cv_header_sys_random_h" "$ac_includes_default"
8227 if test "x$ac_cv_header_sys_random_h" = xyes
8229 printf "%s\n" "#define HAVE_SYS_RANDOM_H 1" >>confdefs.h
8232 ac_fn_c_check_header_compile
"$LINENO" "sys/resource.h" "ac_cv_header_sys_resource_h" "$ac_includes_default"
8233 if test "x$ac_cv_header_sys_resource_h" = xyes
8235 printf "%s\n" "#define HAVE_SYS_RESOURCE_H 1" >>confdefs.h
8238 ac_fn_c_check_header_compile
"$LINENO" "sys/scsiio.h" "ac_cv_header_sys_scsiio_h" "$ac_includes_default"
8239 if test "x$ac_cv_header_sys_scsiio_h" = xyes
8241 printf "%s\n" "#define HAVE_SYS_SCSIIO_H 1" >>confdefs.h
8244 ac_fn_c_check_header_compile
"$LINENO" "sys/shm.h" "ac_cv_header_sys_shm_h" "$ac_includes_default"
8245 if test "x$ac_cv_header_sys_shm_h" = xyes
8247 printf "%s\n" "#define HAVE_SYS_SHM_H 1" >>confdefs.h
8250 ac_fn_c_check_header_compile
"$LINENO" "sys/signal.h" "ac_cv_header_sys_signal_h" "$ac_includes_default"
8251 if test "x$ac_cv_header_sys_signal_h" = xyes
8253 printf "%s\n" "#define HAVE_SYS_SIGNAL_H 1" >>confdefs.h
8256 ac_fn_c_check_header_compile
"$LINENO" "sys/socketvar.h" "ac_cv_header_sys_socketvar_h" "$ac_includes_default"
8257 if test "x$ac_cv_header_sys_socketvar_h" = xyes
8259 printf "%s\n" "#define HAVE_SYS_SOCKETVAR_H 1" >>confdefs.h
8262 ac_fn_c_check_header_compile
"$LINENO" "sys/sockio.h" "ac_cv_header_sys_sockio_h" "$ac_includes_default"
8263 if test "x$ac_cv_header_sys_sockio_h" = xyes
8265 printf "%s\n" "#define HAVE_SYS_SOCKIO_H 1" >>confdefs.h
8268 ac_fn_c_check_header_compile
"$LINENO" "sys/statvfs.h" "ac_cv_header_sys_statvfs_h" "$ac_includes_default"
8269 if test "x$ac_cv_header_sys_statvfs_h" = xyes
8271 printf "%s\n" "#define HAVE_SYS_STATVFS_H 1" >>confdefs.h
8274 ac_fn_c_check_header_compile
"$LINENO" "sys/strtio.h" "ac_cv_header_sys_strtio_h" "$ac_includes_default"
8275 if test "x$ac_cv_header_sys_strtio_h" = xyes
8277 printf "%s\n" "#define HAVE_SYS_STRTIO_H 1" >>confdefs.h
8280 ac_fn_c_check_header_compile
"$LINENO" "sys/syscall.h" "ac_cv_header_sys_syscall_h" "$ac_includes_default"
8281 if test "x$ac_cv_header_sys_syscall_h" = xyes
8283 printf "%s\n" "#define HAVE_SYS_SYSCALL_H 1" >>confdefs.h
8286 ac_fn_c_check_header_compile
"$LINENO" "sys/sysinfo.h" "ac_cv_header_sys_sysinfo_h" "$ac_includes_default"
8287 if test "x$ac_cv_header_sys_sysinfo_h" = xyes
8289 printf "%s\n" "#define HAVE_SYS_SYSINFO_H 1" >>confdefs.h
8292 ac_fn_c_check_header_compile
"$LINENO" "sys/times.h" "ac_cv_header_sys_times_h" "$ac_includes_default"
8293 if test "x$ac_cv_header_sys_times_h" = xyes
8295 printf "%s\n" "#define HAVE_SYS_TIMES_H 1" >>confdefs.h
8298 ac_fn_c_check_header_compile
"$LINENO" "sys/uio.h" "ac_cv_header_sys_uio_h" "$ac_includes_default"
8299 if test "x$ac_cv_header_sys_uio_h" = xyes
8301 printf "%s\n" "#define HAVE_SYS_UIO_H 1" >>confdefs.h
8304 ac_fn_c_check_header_compile
"$LINENO" "sys/user.h" "ac_cv_header_sys_user_h" "$ac_includes_default"
8305 if test "x$ac_cv_header_sys_user_h" = xyes
8307 printf "%s\n" "#define HAVE_SYS_USER_H 1" >>confdefs.h
8310 ac_fn_c_check_header_compile
"$LINENO" "sys/utsname.h" "ac_cv_header_sys_utsname_h" "$ac_includes_default"
8311 if test "x$ac_cv_header_sys_utsname_h" = xyes
8313 printf "%s\n" "#define HAVE_SYS_UTSNAME_H 1" >>confdefs.h
8316 ac_fn_c_check_header_compile
"$LINENO" "sys/vnode.h" "ac_cv_header_sys_vnode_h" "$ac_includes_default"
8317 if test "x$ac_cv_header_sys_vnode_h" = xyes
8319 printf "%s\n" "#define HAVE_SYS_VNODE_H 1" >>confdefs.h
8322 ac_fn_c_check_header_compile
"$LINENO" "sys/xattr.h" "ac_cv_header_sys_xattr_h" "$ac_includes_default"
8323 if test "x$ac_cv_header_sys_xattr_h" = xyes
8325 printf "%s\n" "#define HAVE_SYS_XATTR_H 1" >>confdefs.h
8328 ac_fn_c_check_header_compile
"$LINENO" "syscall.h" "ac_cv_header_syscall_h" "$ac_includes_default"
8329 if test "x$ac_cv_header_syscall_h" = xyes
8331 printf "%s\n" "#define HAVE_SYSCALL_H 1" >>confdefs.h
8334 ac_fn_c_check_header_compile
"$LINENO" "utime.h" "ac_cv_header_utime_h" "$ac_includes_default"
8335 if test "x$ac_cv_header_utime_h" = xyes
8337 printf "%s\n" "#define HAVE_UTIME_H 1" >>confdefs.h
8340 ac_fn_c_check_header_compile
"$LINENO" "valgrind/memcheck.h" "ac_cv_header_valgrind_memcheck_h" "$ac_includes_default"
8341 if test "x$ac_cv_header_valgrind_memcheck_h" = xyes
8343 printf "%s\n" "#define HAVE_VALGRIND_MEMCHECK_H 1" >>confdefs.h
8346 ac_fn_c_check_header_compile
"$LINENO" "valgrind/valgrind.h" "ac_cv_header_valgrind_valgrind_h" "$ac_includes_default"
8347 if test "x$ac_cv_header_valgrind_valgrind_h" = xyes
8349 printf "%s\n" "#define HAVE_VALGRIND_VALGRIND_H 1" >>confdefs.h
8353 ac_fn_c_check_header_compile
"$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
8354 if test "x$ac_cv_header_sys_mkdev_h" = xyes
8357 printf "%s\n" "#define MAJOR_IN_MKDEV 1" >>confdefs.h
8361 if test $ac_cv_header_sys_mkdev_h = no
; then
8362 ac_fn_c_check_header_compile
"$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
8363 if test "x$ac_cv_header_sys_sysmacros_h" = xyes
8366 printf "%s\n" "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
8371 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
8372 printf %s
"checking whether stat file-mode macros are broken... " >&6; }
8373 if test ${ac_cv_header_stat_broken+y}
8375 printf %s
"(cached) " >&6
8377 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8378 /* end confdefs.h. */
8379 #include <sys/types.h>
8380 #include <sys/stat.h>
8382 #if defined S_ISBLK && defined S_IFDIR
8383 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
8386 #if defined S_ISBLK && defined S_IFCHR
8387 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
8390 #if defined S_ISLNK && defined S_IFREG
8391 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
8394 #if defined S_ISSOCK && defined S_IFREG
8395 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
8399 if ac_fn_c_try_compile
"$LINENO"
8401 ac_cv_header_stat_broken
=no
8403 ac_cv_header_stat_broken
=yes
8405 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
8407 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
8408 printf "%s\n" "$ac_cv_header_stat_broken" >&6; }
8409 if test $ac_cv_header_stat_broken = yes; then
8411 printf "%s\n" "#define STAT_MACROS_BROKEN 1" >>confdefs.h
8417 ac_fn_c_check_header_compile
"$LINENO" "sys/conf.h" "ac_cv_header_sys_conf_h" "#include <sys/types.h>
8418 #ifdef HAVE_SYS_PARAM_H
8419 # include <sys/param.h>
8422 if test "x$ac_cv_header_sys_conf_h" = xyes
8424 printf "%s\n" "#define HAVE_SYS_CONF_H 1" >>confdefs.h
8427 ac_fn_c_check_header_compile
"$LINENO" "sys/mount.h" "ac_cv_header_sys_mount_h" "#include <sys/types.h>
8428 #ifdef HAVE_SYS_PARAM_H
8429 # include <sys/param.h>
8432 if test "x$ac_cv_header_sys_mount_h" = xyes
8434 printf "%s\n" "#define HAVE_SYS_MOUNT_H 1" >>confdefs.h
8437 ac_fn_c_check_header_compile
"$LINENO" "sys/statfs.h" "ac_cv_header_sys_statfs_h" "#include <sys/types.h>
8438 #ifdef HAVE_SYS_PARAM_H
8439 # include <sys/param.h>
8442 if test "x$ac_cv_header_sys_statfs_h" = xyes
8444 printf "%s\n" "#define HAVE_SYS_STATFS_H 1" >>confdefs.h
8447 ac_fn_c_check_header_compile
"$LINENO" "sys/user.h" "ac_cv_header_sys_user_h" "#include <sys/types.h>
8448 #ifdef HAVE_SYS_PARAM_H
8449 # include <sys/param.h>
8452 if test "x$ac_cv_header_sys_user_h" = xyes
8454 printf "%s\n" "#define HAVE_SYS_USER_H 1" >>confdefs.h
8457 ac_fn_c_check_header_compile
"$LINENO" "sys/vfs.h" "ac_cv_header_sys_vfs_h" "#include <sys/types.h>
8458 #ifdef HAVE_SYS_PARAM_H
8459 # include <sys/param.h>
8462 if test "x$ac_cv_header_sys_vfs_h" = xyes
8464 printf "%s\n" "#define HAVE_SYS_VFS_H 1" >>confdefs.h
8469 saved_sysctl_h_CFLAGS
=$CFLAGS
8470 test "x${GCC}" != xyes || CFLAGS
="$CFLAGS -Werror"
8471 ac_fn_c_check_header_compile
"$LINENO" "sys/sysctl.h" "ac_cv_header_sys_sysctl_h" "#include <sys/types.h>
8472 #ifdef HAVE_SYS_PARAM_H
8473 # include <sys/param.h>
8476 if test "x$ac_cv_header_sys_sysctl_h" = xyes
8478 printf "%s\n" "#define HAVE_SYS_SYSCTL_H 1" >>confdefs.h
8482 CFLAGS
=$saved_sysctl_h_CFLAGS
8484 ac_fn_c_check_header_compile
"$LINENO" "netinet/ip.h" "ac_cv_header_netinet_ip_h" "#include <sys/types.h>
8485 #include <sys/socket.h>
8486 #ifdef HAVE_SYS_SOCKETVAR_H
8487 # include <sys/socketvar.h>
8489 #ifdef HAVE_NET_ROUTE_H
8490 # include <net/route.h>
8492 #ifdef HAVE_NETINET_IN_H
8493 # include <netinet/in.h>
8495 #ifdef HAVE_NETINET_IN_SYSTM_H
8496 # include <netinet/in_systm.h>
8498 #ifdef HAVE_NET_IF_H
8499 # include <net/if.h>
8501 #ifdef HAVE_NETINET_IP_H
8502 # include <netinet/ip.h>
8505 if test "x$ac_cv_header_netinet_ip_h" = xyes
8507 printf "%s\n" "#define HAVE_NETINET_IP_H 1" >>confdefs.h
8510 ac_fn_c_check_header_compile
"$LINENO" "net/if.h" "ac_cv_header_net_if_h" "#include <sys/types.h>
8511 #include <sys/socket.h>
8512 #ifdef HAVE_SYS_SOCKETVAR_H
8513 # include <sys/socketvar.h>
8515 #ifdef HAVE_NET_ROUTE_H
8516 # include <net/route.h>
8518 #ifdef HAVE_NETINET_IN_H
8519 # include <netinet/in.h>
8521 #ifdef HAVE_NETINET_IN_SYSTM_H
8522 # include <netinet/in_systm.h>
8524 #ifdef HAVE_NET_IF_H
8525 # include <net/if.h>
8527 #ifdef HAVE_NETINET_IP_H
8528 # include <netinet/ip.h>
8531 if test "x$ac_cv_header_net_if_h" = xyes
8533 printf "%s\n" "#define HAVE_NET_IF_H 1" >>confdefs.h
8536 ac_fn_c_check_header_compile
"$LINENO" "net/if_arp.h" "ac_cv_header_net_if_arp_h" "#include <sys/types.h>
8537 #include <sys/socket.h>
8538 #ifdef HAVE_SYS_SOCKETVAR_H
8539 # include <sys/socketvar.h>
8541 #ifdef HAVE_NET_ROUTE_H
8542 # include <net/route.h>
8544 #ifdef HAVE_NETINET_IN_H
8545 # include <netinet/in.h>
8547 #ifdef HAVE_NETINET_IN_SYSTM_H
8548 # include <netinet/in_systm.h>
8550 #ifdef HAVE_NET_IF_H
8551 # include <net/if.h>
8553 #ifdef HAVE_NETINET_IP_H
8554 # include <netinet/ip.h>
8557 if test "x$ac_cv_header_net_if_arp_h" = xyes
8559 printf "%s\n" "#define HAVE_NET_IF_ARP_H 1" >>confdefs.h
8562 ac_fn_c_check_header_compile
"$LINENO" "net/if_dl.h" "ac_cv_header_net_if_dl_h" "#include <sys/types.h>
8563 #include <sys/socket.h>
8564 #ifdef HAVE_SYS_SOCKETVAR_H
8565 # include <sys/socketvar.h>
8567 #ifdef HAVE_NET_ROUTE_H
8568 # include <net/route.h>
8570 #ifdef HAVE_NETINET_IN_H
8571 # include <netinet/in.h>
8573 #ifdef HAVE_NETINET_IN_SYSTM_H
8574 # include <netinet/in_systm.h>
8576 #ifdef HAVE_NET_IF_H
8577 # include <net/if.h>
8579 #ifdef HAVE_NETINET_IP_H
8580 # include <netinet/ip.h>
8583 if test "x$ac_cv_header_net_if_dl_h" = xyes
8585 printf "%s\n" "#define HAVE_NET_IF_DL_H 1" >>confdefs.h
8588 ac_fn_c_check_header_compile
"$LINENO" "net/if_types.h" "ac_cv_header_net_if_types_h" "#include <sys/types.h>
8589 #include <sys/socket.h>
8590 #ifdef HAVE_SYS_SOCKETVAR_H
8591 # include <sys/socketvar.h>
8593 #ifdef HAVE_NET_ROUTE_H
8594 # include <net/route.h>
8596 #ifdef HAVE_NETINET_IN_H
8597 # include <netinet/in.h>
8599 #ifdef HAVE_NETINET_IN_SYSTM_H
8600 # include <netinet/in_systm.h>
8602 #ifdef HAVE_NET_IF_H
8603 # include <net/if.h>
8605 #ifdef HAVE_NETINET_IP_H
8606 # include <netinet/ip.h>
8609 if test "x$ac_cv_header_net_if_types_h" = xyes
8611 printf "%s\n" "#define HAVE_NET_IF_TYPES_H 1" >>confdefs.h
8614 ac_fn_c_check_header_compile
"$LINENO" "net/route.h" "ac_cv_header_net_route_h" "#include <sys/types.h>
8615 #include <sys/socket.h>
8616 #ifdef HAVE_SYS_SOCKETVAR_H
8617 # include <sys/socketvar.h>
8619 #ifdef HAVE_NET_ROUTE_H
8620 # include <net/route.h>
8622 #ifdef HAVE_NETINET_IN_H
8623 # include <netinet/in.h>
8625 #ifdef HAVE_NETINET_IN_SYSTM_H
8626 # include <netinet/in_systm.h>
8628 #ifdef HAVE_NET_IF_H
8629 # include <net/if.h>
8631 #ifdef HAVE_NETINET_IP_H
8632 # include <netinet/ip.h>
8635 if test "x$ac_cv_header_net_route_h" = xyes
8637 printf "%s\n" "#define HAVE_NET_ROUTE_H 1" >>confdefs.h
8640 ac_fn_c_check_header_compile
"$LINENO" "netinet/if_ether.h" "ac_cv_header_netinet_if_ether_h" "#include <sys/types.h>
8641 #include <sys/socket.h>
8642 #ifdef HAVE_SYS_SOCKETVAR_H
8643 # include <sys/socketvar.h>
8645 #ifdef HAVE_NET_ROUTE_H
8646 # include <net/route.h>
8648 #ifdef HAVE_NETINET_IN_H
8649 # include <netinet/in.h>
8651 #ifdef HAVE_NETINET_IN_SYSTM_H
8652 # include <netinet/in_systm.h>
8654 #ifdef HAVE_NET_IF_H
8655 # include <net/if.h>
8657 #ifdef HAVE_NETINET_IP_H
8658 # include <netinet/ip.h>
8661 if test "x$ac_cv_header_netinet_if_ether_h" = xyes
8663 printf "%s\n" "#define HAVE_NETINET_IF_ETHER_H 1" >>confdefs.h
8666 ac_fn_c_check_header_compile
"$LINENO" "netinet/in_pcb.h" "ac_cv_header_netinet_in_pcb_h" "#include <sys/types.h>
8667 #include <sys/socket.h>
8668 #ifdef HAVE_SYS_SOCKETVAR_H
8669 # include <sys/socketvar.h>
8671 #ifdef HAVE_NET_ROUTE_H
8672 # include <net/route.h>
8674 #ifdef HAVE_NETINET_IN_H
8675 # include <netinet/in.h>
8677 #ifdef HAVE_NETINET_IN_SYSTM_H
8678 # include <netinet/in_systm.h>
8680 #ifdef HAVE_NET_IF_H
8681 # include <net/if.h>
8683 #ifdef HAVE_NETINET_IP_H
8684 # include <netinet/ip.h>
8687 if test "x$ac_cv_header_netinet_in_pcb_h" = xyes
8689 printf "%s\n" "#define HAVE_NETINET_IN_PCB_H 1" >>confdefs.h
8692 ac_fn_c_check_header_compile
"$LINENO" "netinet/ip_icmp.h" "ac_cv_header_netinet_ip_icmp_h" "#include <sys/types.h>
8693 #include <sys/socket.h>
8694 #ifdef HAVE_SYS_SOCKETVAR_H
8695 # include <sys/socketvar.h>
8697 #ifdef HAVE_NET_ROUTE_H
8698 # include <net/route.h>
8700 #ifdef HAVE_NETINET_IN_H
8701 # include <netinet/in.h>
8703 #ifdef HAVE_NETINET_IN_SYSTM_H
8704 # include <netinet/in_systm.h>
8706 #ifdef HAVE_NET_IF_H
8707 # include <net/if.h>
8709 #ifdef HAVE_NETINET_IP_H
8710 # include <netinet/ip.h>
8713 if test "x$ac_cv_header_netinet_ip_icmp_h" = xyes
8715 printf "%s\n" "#define HAVE_NETINET_IP_ICMP_H 1" >>confdefs.h
8718 ac_fn_c_check_header_compile
"$LINENO" "netinet/ip_var.h" "ac_cv_header_netinet_ip_var_h" "#include <sys/types.h>
8719 #include <sys/socket.h>
8720 #ifdef HAVE_SYS_SOCKETVAR_H
8721 # include <sys/socketvar.h>
8723 #ifdef HAVE_NET_ROUTE_H
8724 # include <net/route.h>
8726 #ifdef HAVE_NETINET_IN_H
8727 # include <netinet/in.h>
8729 #ifdef HAVE_NETINET_IN_SYSTM_H
8730 # include <netinet/in_systm.h>
8732 #ifdef HAVE_NET_IF_H
8733 # include <net/if.h>
8735 #ifdef HAVE_NETINET_IP_H
8736 # include <netinet/ip.h>
8739 if test "x$ac_cv_header_netinet_ip_var_h" = xyes
8741 printf "%s\n" "#define HAVE_NETINET_IP_VAR_H 1" >>confdefs.h
8744 ac_fn_c_check_header_compile
"$LINENO" "netinet/udp.h" "ac_cv_header_netinet_udp_h" "#include <sys/types.h>
8745 #include <sys/socket.h>
8746 #ifdef HAVE_SYS_SOCKETVAR_H
8747 # include <sys/socketvar.h>
8749 #ifdef HAVE_NET_ROUTE_H
8750 # include <net/route.h>
8752 #ifdef HAVE_NETINET_IN_H
8753 # include <netinet/in.h>
8755 #ifdef HAVE_NETINET_IN_SYSTM_H
8756 # include <netinet/in_systm.h>
8758 #ifdef HAVE_NET_IF_H
8759 # include <net/if.h>
8761 #ifdef HAVE_NETINET_IP_H
8762 # include <netinet/ip.h>
8765 if test "x$ac_cv_header_netinet_udp_h" = xyes
8767 printf "%s\n" "#define HAVE_NETINET_UDP_H 1" >>confdefs.h
8770 ac_fn_c_check_header_compile
"$LINENO" "netinet6/ip6_var.h" "ac_cv_header_netinet6_ip6_var_h" "#include <sys/types.h>
8771 #include <sys/socket.h>
8772 #ifdef HAVE_SYS_SOCKETVAR_H
8773 # include <sys/socketvar.h>
8775 #ifdef HAVE_NET_ROUTE_H
8776 # include <net/route.h>
8778 #ifdef HAVE_NETINET_IN_H
8779 # include <netinet/in.h>
8781 #ifdef HAVE_NETINET_IN_SYSTM_H
8782 # include <netinet/in_systm.h>
8784 #ifdef HAVE_NET_IF_H
8785 # include <net/if.h>
8787 #ifdef HAVE_NETINET_IP_H
8788 # include <netinet/ip.h>
8791 if test "x$ac_cv_header_netinet6_ip6_var_h" = xyes
8793 printf "%s\n" "#define HAVE_NETINET6_IP6_VAR_H 1" >>confdefs.h
8796 ac_fn_c_check_header_compile
"$LINENO" "netipx/ipx.h" "ac_cv_header_netipx_ipx_h" "#include <sys/types.h>
8797 #include <sys/socket.h>
8798 #ifdef HAVE_SYS_SOCKETVAR_H
8799 # include <sys/socketvar.h>
8801 #ifdef HAVE_NET_ROUTE_H
8802 # include <net/route.h>
8804 #ifdef HAVE_NETINET_IN_H
8805 # include <netinet/in.h>
8807 #ifdef HAVE_NETINET_IN_SYSTM_H
8808 # include <netinet/in_systm.h>
8810 #ifdef HAVE_NET_IF_H
8811 # include <net/if.h>
8813 #ifdef HAVE_NETINET_IP_H
8814 # include <netinet/ip.h>
8817 if test "x$ac_cv_header_netipx_ipx_h" = xyes
8819 printf "%s\n" "#define HAVE_NETIPX_IPX_H 1" >>confdefs.h
8822 ac_fn_c_check_header_compile
"$LINENO" "sys/un.h" "ac_cv_header_sys_un_h" "#include <sys/types.h>
8823 #include <sys/socket.h>
8824 #ifdef HAVE_SYS_SOCKETVAR_H
8825 # include <sys/socketvar.h>
8827 #ifdef HAVE_NET_ROUTE_H
8828 # include <net/route.h>
8830 #ifdef HAVE_NETINET_IN_H
8831 # include <netinet/in.h>
8833 #ifdef HAVE_NETINET_IN_SYSTM_H
8834 # include <netinet/in_systm.h>
8836 #ifdef HAVE_NET_IF_H
8837 # include <net/if.h>
8839 #ifdef HAVE_NETINET_IP_H
8840 # include <netinet/ip.h>
8843 if test "x$ac_cv_header_sys_un_h" = xyes
8845 printf "%s\n" "#define HAVE_SYS_UN_H 1" >>confdefs.h
8850 ac_fn_c_check_header_compile
"$LINENO" "netinet/udp_var.h" "ac_cv_header_netinet_udp_var_h" "#include <sys/types.h>
8851 #include <sys/socket.h>
8852 #ifdef HAVE_SYS_SOCKETVAR_H
8853 # include <sys/socketvar.h>
8855 #ifdef HAVE_NETINET_IN_H
8856 # include <netinet/in.h>
8858 #ifdef HAVE_NETINET_IN_SYSTM_H
8859 # include <netinet/in_systm.h>
8861 #ifdef HAVE_NETINET_IP_H
8862 # include <netinet/ip.h>
8864 #ifdef HAVE_NETINET_IP_VAR_H
8865 # include <netinet/ip_var.h>
8867 #ifdef HAVE_NETINET_IP_ICMP_H
8868 # include <netinet/ip_icmp.h>
8870 #ifdef HAVE_NETINET_UDP_H
8871 # include <netinet/udp.h>
8873 #ifdef HAVE_NETINET_TCP_H
8874 # include <netinet/tcp.h>
8877 if test "x$ac_cv_header_netinet_udp_var_h" = xyes
8879 printf "%s\n" "#define HAVE_NETINET_UDP_VAR_H 1" >>confdefs.h
8882 ac_fn_c_check_header_compile
"$LINENO" "netinet/icmp_var.h" "ac_cv_header_netinet_icmp_var_h" "#include <sys/types.h>
8883 #include <sys/socket.h>
8884 #ifdef HAVE_SYS_SOCKETVAR_H
8885 # include <sys/socketvar.h>
8887 #ifdef HAVE_NETINET_IN_H
8888 # include <netinet/in.h>
8890 #ifdef HAVE_NETINET_IN_SYSTM_H
8891 # include <netinet/in_systm.h>
8893 #ifdef HAVE_NETINET_IP_H
8894 # include <netinet/ip.h>
8896 #ifdef HAVE_NETINET_IP_VAR_H
8897 # include <netinet/ip_var.h>
8899 #ifdef HAVE_NETINET_IP_ICMP_H
8900 # include <netinet/ip_icmp.h>
8902 #ifdef HAVE_NETINET_UDP_H
8903 # include <netinet/udp.h>
8905 #ifdef HAVE_NETINET_TCP_H
8906 # include <netinet/tcp.h>
8909 if test "x$ac_cv_header_netinet_icmp_var_h" = xyes
8911 printf "%s\n" "#define HAVE_NETINET_ICMP_VAR_H 1" >>confdefs.h
8914 ac_fn_c_check_header_compile
"$LINENO" "netinet/icmp6.h" "ac_cv_header_netinet_icmp6_h" "#include <sys/types.h>
8915 #include <sys/socket.h>
8916 #ifdef HAVE_SYS_SOCKETVAR_H
8917 # include <sys/socketvar.h>
8919 #ifdef HAVE_NETINET_IN_H
8920 # include <netinet/in.h>
8922 #ifdef HAVE_NETINET_IN_SYSTM_H
8923 # include <netinet/in_systm.h>
8925 #ifdef HAVE_NETINET_IP_H
8926 # include <netinet/ip.h>
8928 #ifdef HAVE_NETINET_IP_VAR_H
8929 # include <netinet/ip_var.h>
8931 #ifdef HAVE_NETINET_IP_ICMP_H
8932 # include <netinet/ip_icmp.h>
8934 #ifdef HAVE_NETINET_UDP_H
8935 # include <netinet/udp.h>
8937 #ifdef HAVE_NETINET_TCP_H
8938 # include <netinet/tcp.h>
8941 if test "x$ac_cv_header_netinet_icmp6_h" = xyes
8943 printf "%s\n" "#define HAVE_NETINET_ICMP6_H 1" >>confdefs.h
8946 ac_fn_c_check_header_compile
"$LINENO" "netinet/tcp_var.h" "ac_cv_header_netinet_tcp_var_h" "#include <sys/types.h>
8947 #include <sys/socket.h>
8948 #ifdef HAVE_SYS_SOCKETVAR_H
8949 # include <sys/socketvar.h>
8951 #ifdef HAVE_NETINET_IN_H
8952 # include <netinet/in.h>
8954 #ifdef HAVE_NETINET_IN_SYSTM_H
8955 # include <netinet/in_systm.h>
8957 #ifdef HAVE_NETINET_IP_H
8958 # include <netinet/ip.h>
8960 #ifdef HAVE_NETINET_IP_VAR_H
8961 # include <netinet/ip_var.h>
8963 #ifdef HAVE_NETINET_IP_ICMP_H
8964 # include <netinet/ip_icmp.h>
8966 #ifdef HAVE_NETINET_UDP_H
8967 # include <netinet/udp.h>
8969 #ifdef HAVE_NETINET_TCP_H
8970 # include <netinet/tcp.h>
8973 if test "x$ac_cv_header_netinet_tcp_var_h" = xyes
8975 printf "%s\n" "#define HAVE_NETINET_TCP_VAR_H 1" >>confdefs.h
8980 ac_fn_c_check_header_compile
"$LINENO" "linux/ipx.h" "ac_cv_header_linux_ipx_h" "#include <sys/types.h>
8981 #include <sys/socket.h>
8982 #ifdef HAVE_ASM_TYPES_H
8983 # include <asm/types.h>
8985 #ifdef HAVE_LINUX_TYPES_H
8986 # include <linux/types.h>
8989 if test "x$ac_cv_header_linux_ipx_h" = xyes
8991 printf "%s\n" "#define HAVE_LINUX_IPX_H 1" >>confdefs.h
8994 ac_fn_c_check_header_compile
"$LINENO" "linux/irda.h" "ac_cv_header_linux_irda_h" "#include <sys/types.h>
8995 #include <sys/socket.h>
8996 #ifdef HAVE_ASM_TYPES_H
8997 # include <asm/types.h>
8999 #ifdef HAVE_LINUX_TYPES_H
9000 # include <linux/types.h>
9003 if test "x$ac_cv_header_linux_irda_h" = xyes
9005 printf "%s\n" "#define HAVE_LINUX_IRDA_H 1" >>confdefs.h
9008 ac_fn_c_check_header_compile
"$LINENO" "linux/rtnetlink.h" "ac_cv_header_linux_rtnetlink_h" "#include <sys/types.h>
9009 #include <sys/socket.h>
9010 #ifdef HAVE_ASM_TYPES_H
9011 # include <asm/types.h>
9013 #ifdef HAVE_LINUX_TYPES_H
9014 # include <linux/types.h>
9017 if test "x$ac_cv_header_linux_rtnetlink_h" = xyes
9019 printf "%s\n" "#define HAVE_LINUX_RTNETLINK_H 1" >>confdefs.h
9024 ac_fn_c_check_header_compile
"$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
9025 #include <sys/socket.h>
9026 #ifdef HAVE_NETINET_IN_H
9027 # include <netinet/in.h>
9029 #ifdef HAVE_ARPA_NAMESER_H
9030 # include <arpa/nameser.h>
9033 if test "x$ac_cv_header_resolv_h" = xyes
9035 printf "%s\n" "#define HAVE_RESOLV_H 1" >>confdefs.h
9040 ac_fn_c_check_header_compile
"$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
9042 if test "x$ac_cv_header_ifaddrs_h" = xyes
9044 printf "%s\n" "#define HAVE_IFADDRS_H 1" >>confdefs.h
9049 ac_fn_c_check_header_compile
"$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
9051 if test "x$ac_cv_header_sys_ucontext_h" = xyes
9053 printf "%s\n" "#define HAVE_SYS_UCONTEXT_H 1" >>confdefs.h
9058 ac_fn_c_check_header_compile
"$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
9059 #ifdef HAVE_SYS_UCONTEXT_H
9060 #include <sys/ucontext.h>
9063 if test "x$ac_cv_header_sys_thr_h" = xyes
9065 printf "%s\n" "#define HAVE_SYS_THR_H 1" >>confdefs.h
9070 ac_fn_c_check_header_compile
"$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#include <pthread.h>
9072 if test "x$ac_cv_header_pthread_np_h" = xyes
9074 printf "%s\n" "#define HAVE_PTHREAD_NP_H 1" >>confdefs.h
9079 ac_fn_c_check_header_compile
"$LINENO" "linux/videodev2.h" "ac_cv_header_linux_videodev2_h" "#include <sys/time.h>
9080 #include <sys/types.h>
9081 #ifdef HAVE_ASM_TYPES_H
9082 #include <asm/types.h>
9085 if test "x$ac_cv_header_linux_videodev2_h" = xyes
9087 printf "%s\n" "#define HAVE_LINUX_VIDEODEV2_H 1" >>confdefs.h
9092 ac_fn_c_check_header_compile
"$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
9093 #include <sys/param.h>
9095 #include <sys/socket.h>
9096 #ifdef HAVE_SYS_QUEUE_H
9097 #include <sys/queue.h>
9100 if test "x$ac_cv_header_libprocstat_h" = xyes
9102 printf "%s\n" "#define HAVE_LIBPROCSTAT_H 1" >>confdefs.h
9107 if test "x$ac_cv_header_sys_xattr_h" = xyes
9109 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether getxattr takes additional arguments" >&5
9110 printf %s
"checking whether getxattr takes additional arguments... " >&6; }
9111 if test ${wine_cv_xattr_extra_args+y}
9113 printf %s
"(cached) " >&6
9115 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9116 /* end confdefs.h. */
9117 #include <sys/xattr.h>
9121 getxattr("", "", "", 0, 0, 0);
9126 if ac_fn_c_try_compile
"$LINENO"
9128 wine_cv_xattr_extra_args
=yes
9130 wine_cv_xattr_extra_args
=no
9132 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
9134 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_xattr_extra_args" >&5
9135 printf "%s\n" "$wine_cv_xattr_extra_args" >&6; }
9136 test $wine_cv_xattr_extra_args != yes ||
9137 printf "%s\n" "#define XATTR_ADDITIONAL_OPTIONS 1" >>confdefs.h
9150 UNIXDLLFLAGS
="-fPIC"
9152 UNIXLDFLAGS
="-shared -Wl,-Bsymbolic -Wl,-soname,\$(UNIXLIB)"
9158 WINELOADER_LDFLAGS
=""
9160 WINEPRELOADER_LDFLAGS
=""
9165 # Extract the first word of "ldd", so it can be a program name with args.
9166 set dummy ldd
; ac_word
=$2
9167 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9168 printf %s
"checking for $ac_word... " >&6; }
9169 if test ${ac_cv_path_LDD+y}
9171 printf %s
"(cached) " >&6
9175 ac_cv_path_LDD
="$LDD" # Let the user override the test with a path.
9178 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9179 as_dummy
="/sbin:/usr/sbin:$PATH"
9180 for as_dir
in $as_dummy
9183 case $as_dir in #(((
9186 *) as_dir
=$as_dir/ ;;
9188 for ac_exec_ext
in '' $ac_executable_extensions; do
9189 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
9190 ac_cv_path_LDD
="$as_dir$ac_word$ac_exec_ext"
9191 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9198 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD
="true"
9203 if test -n "$LDD"; then
9204 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
9205 printf "%s\n" "$LDD" >&6; }
9207 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9208 printf "%s\n" "no" >&6; }
9212 if test -n "$ac_tool_prefix"; then
9213 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
9214 set dummy
${ac_tool_prefix}otool
; ac_word
=$2
9215 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9216 printf %s
"checking for $ac_word... " >&6; }
9217 if test ${ac_cv_prog_OTOOL+y}
9219 printf %s
"(cached) " >&6
9221 if test -n "$OTOOL"; then
9222 ac_cv_prog_OTOOL
="$OTOOL" # Let the user override the test.
9224 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9228 case $as_dir in #(((
9231 *) as_dir
=$as_dir/ ;;
9233 for ac_exec_ext
in '' $ac_executable_extensions; do
9234 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
9235 ac_cv_prog_OTOOL
="${ac_tool_prefix}otool"
9236 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9245 OTOOL
=$ac_cv_prog_OTOOL
9246 if test -n "$OTOOL"; then
9247 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
9248 printf "%s\n" "$OTOOL" >&6; }
9250 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9251 printf "%s\n" "no" >&6; }
9256 if test -z "$ac_cv_prog_OTOOL"; then
9258 # Extract the first word of "otool", so it can be a program name with args.
9259 set dummy otool
; ac_word
=$2
9260 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9261 printf %s
"checking for $ac_word... " >&6; }
9262 if test ${ac_cv_prog_ac_ct_OTOOL+y}
9264 printf %s
"(cached) " >&6
9266 if test -n "$ac_ct_OTOOL"; then
9267 ac_cv_prog_ac_ct_OTOOL
="$ac_ct_OTOOL" # Let the user override the test.
9269 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9273 case $as_dir in #(((
9276 *) as_dir
=$as_dir/ ;;
9278 for ac_exec_ext
in '' $ac_executable_extensions; do
9279 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
9280 ac_cv_prog_ac_ct_OTOOL
="otool"
9281 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9290 ac_ct_OTOOL
=$ac_cv_prog_ac_ct_OTOOL
9291 if test -n "$ac_ct_OTOOL"; then
9292 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
9293 printf "%s\n" "$ac_ct_OTOOL" >&6; }
9295 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9296 printf "%s\n" "no" >&6; }
9299 if test "x$ac_ct_OTOOL" = x
; then
9302 case $cross_compiling:$ac_tool_warned in
9304 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9305 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9306 ac_tool_warned
=yes ;;
9311 OTOOL
="$ac_cv_prog_OTOOL"
9314 if test -n "$ac_tool_prefix"; then
9315 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
9316 set dummy
${ac_tool_prefix}readelf
; ac_word
=$2
9317 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9318 printf %s
"checking for $ac_word... " >&6; }
9319 if test ${ac_cv_prog_READELF+y}
9321 printf %s
"(cached) " >&6
9323 if test -n "$READELF"; then
9324 ac_cv_prog_READELF
="$READELF" # Let the user override the test.
9326 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9330 case $as_dir in #(((
9333 *) as_dir
=$as_dir/ ;;
9335 for ac_exec_ext
in '' $ac_executable_extensions; do
9336 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
9337 ac_cv_prog_READELF
="${ac_tool_prefix}readelf"
9338 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9347 READELF
=$ac_cv_prog_READELF
9348 if test -n "$READELF"; then
9349 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
9350 printf "%s\n" "$READELF" >&6; }
9352 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9353 printf "%s\n" "no" >&6; }
9358 if test -z "$ac_cv_prog_READELF"; then
9359 ac_ct_READELF
=$READELF
9360 # Extract the first word of "readelf", so it can be a program name with args.
9361 set dummy readelf
; ac_word
=$2
9362 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9363 printf %s
"checking for $ac_word... " >&6; }
9364 if test ${ac_cv_prog_ac_ct_READELF+y}
9366 printf %s
"(cached) " >&6
9368 if test -n "$ac_ct_READELF"; then
9369 ac_cv_prog_ac_ct_READELF
="$ac_ct_READELF" # Let the user override the test.
9371 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9375 case $as_dir in #(((
9378 *) as_dir
=$as_dir/ ;;
9380 for ac_exec_ext
in '' $ac_executable_extensions; do
9381 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
9382 ac_cv_prog_ac_ct_READELF
="readelf"
9383 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9392 ac_ct_READELF
=$ac_cv_prog_ac_ct_READELF
9393 if test -n "$ac_ct_READELF"; then
9394 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
9395 printf "%s\n" "$ac_ct_READELF" >&6; }
9397 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9398 printf "%s\n" "no" >&6; }
9401 if test "x$ac_ct_READELF" = x
; then
9404 case $cross_compiling:$ac_tool_warned in
9406 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9407 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9408 ac_tool_warned
=yes ;;
9410 READELF
=$ac_ct_READELF
9413 READELF
="$ac_cv_prog_READELF"
9421 CONFIGURE_TARGETS
=""
9424 wine_fn_config_makefile
()
9426 as_fn_append SUBDIRS
" \\$as_nl $1"
9429 no
) as_fn_append DISABLED_SUBDIRS
" $1" ;;
9431 *aarch64
*|
*arm
*|
*i386
*|
*x86_64
*)
9432 if test -n "$PE_ARCHS"
9436 test $
(expr ",$enable," : ".*,$i,") -gt 0 || as_fn_append
${i}_DISABLED_SUBDIRS
" $1"
9439 test $
(expr ",$enable," : ".*,$HOST_ARCH,") -gt 0 || as_fn_append DISABLED_SUBDIRS
" $1"
9442 case "$1, $PE_ARCHS " in
9443 programs
/*,*\ arm64ec\
*) as_fn_append arm64ec_DISABLED_SUBDIRS
" $1" ;;
9448 wine_fn_config_symlink
()
9451 as_fn_append wine_rules
"
9453 @./config.status \$@"
9454 for f
in $ac_links; do as_fn_append CONFIGURE_TARGETS
" $f"; done
9461 EXTRACFLAGS
="-D__WINE_PE_BUILD"
9462 if test "x$HOST_ARCH" = xi386
9464 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--disable-stdcall-fixup" >&5
9465 printf %s
"checking whether the compiler supports -Wl,--disable-stdcall-fixup... " >&6; }
9466 if test ${ac_cv_cflags__Wl___disable_stdcall_fixup+y}
9468 printf %s
"(cached) " >&6
9470 ac_wine_try_cflags_saved
=$CFLAGS
9471 CFLAGS
="$CFLAGS -Wl,--disable-stdcall-fixup"
9472 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9473 /* end confdefs.h. */
9474 int main(int argc, char **argv) { return 0; }
9476 if ac_fn_c_try_link
"$LINENO"
9478 ac_cv_cflags__Wl___disable_stdcall_fixup
=yes
9480 ac_cv_cflags__Wl___disable_stdcall_fixup
=no
9482 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
9483 conftest
$ac_exeext conftest.
$ac_ext
9484 CFLAGS
=$ac_wine_try_cflags_saved
9486 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___disable_stdcall_fixup" >&5
9487 printf "%s\n" "$ac_cv_cflags__Wl___disable_stdcall_fixup" >&6; }
9488 if test "x$ac_cv_cflags__Wl___disable_stdcall_fixup" = xyes
9490 LDDLLFLAGS
="-Wl,--disable-stdcall-fixup"
9493 enable_loader
=${enable_loader:-no}
9494 enable_server
=${enable_server:-no}
9495 with_x
=${with_x:-no}
9496 with_pthread
=${with_pthread:-no}
9501 DLLFLAGS
="$DLLFLAGS -fPIC"
9503 enable_winemac_drv
=${enable_winemac_drv:-yes}
9504 CARBON_LIBS
="-framework Carbon"
9506 COREFOUNDATION_LIBS
="-framework CoreFoundation"
9508 DISKARBITRATION_LIBS
="-framework DiskArbitration -framework CoreFoundation"
9510 IOKIT_LIBS
="-framework IOKit -framework CoreFoundation"
9512 METAL_LIBS
="-framework Metal"
9514 APPLICATIONSERVICES_LIBS
="-framework ApplicationServices"
9516 CORESERVICES_LIBS
="-framework CoreServices"
9518 APPKIT_LIBS
="-framework AppKit"
9520 SECURITY_LIBS
="-framework Security -framework CoreFoundation"
9522 SYSTEMCONFIGURATION_LIBS
="-framework SystemConfiguration"
9525 WINELOADER_LDFLAGS
="-Wl,-segalign,0x1000,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,loader/wine_info.plist"
9528 i386
) wine_use_preloader
=yes ;;
9530 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_huge" >&5
9531 printf %s
"checking whether the compiler supports -Wl,-no_huge... " >&6; }
9532 if test ${ac_cv_cflags__Wl__no_huge+y}
9534 printf %s
"(cached) " >&6
9536 ac_wine_try_cflags_saved
=$CFLAGS
9537 CFLAGS
="$CFLAGS -Wl,-no_huge"
9538 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9539 /* end confdefs.h. */
9540 int main(int argc, char **argv) { return 0; }
9542 if ac_fn_c_try_link
"$LINENO"
9544 ac_cv_cflags__Wl__no_huge
=yes
9546 ac_cv_cflags__Wl__no_huge
=no
9548 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
9549 conftest
$ac_exeext conftest.
$ac_ext
9550 CFLAGS
=$ac_wine_try_cflags_saved
9552 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_huge" >&5
9553 printf "%s\n" "$ac_cv_cflags__Wl__no_huge" >&6; }
9554 if test "x$ac_cv_cflags__Wl__no_huge" = xyes
9556 wine_use_preloader
=no
9557 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"
9559 wine_use_preloader
=yes
9562 *) wine_use_preloader
=no
;;
9565 if test "$wine_use_preloader" = "yes"
9567 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"
9568 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
9569 printf %s
"checking whether the compiler supports -Wl,-no_pie... " >&6; }
9570 if test ${ac_cv_cflags__Wl__no_pie+y}
9572 printf %s
"(cached) " >&6
9574 ac_wine_try_cflags_saved
=$CFLAGS
9575 CFLAGS
="$CFLAGS -Wl,-no_pie"
9576 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9577 /* end confdefs.h. */
9578 int main(int argc, char **argv) { return 0; }
9580 if ac_fn_c_try_link
"$LINENO"
9582 ac_cv_cflags__Wl__no_pie
=yes
9584 ac_cv_cflags__Wl__no_pie
=no
9586 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
9587 conftest
$ac_exeext conftest.
$ac_ext
9588 CFLAGS
=$ac_wine_try_cflags_saved
9590 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
9591 printf "%s\n" "$ac_cv_cflags__Wl__no_pie" >&6; }
9592 if test "x$ac_cv_cflags__Wl__no_pie" = xyes
9594 WINEPRELOADER_LDFLAGS
="-Wl,-no_pie $WINEPRELOADER_LDFLAGS"
9598 WINEPRELOADER_LDFLAGS
="-Wl,-image_base,0x7d400000 $WINEPRELOADER_LDFLAGS"
9601 WINEPRELOADER_LDFLAGS
="-Wl,-image_base,0x200000000,-segalign,0x1000,-segaddr,WINE_RESERVE,0x1000 $WINEPRELOADER_LDFLAGS"
9604 WINELOADER_LDFLAGS
="$WINELOADER_LDFLAGS -mmacosx-version-min=10.7"
9607 if test "x$with_coreaudio" != "xno";
9609 COREAUDIO_LIBS
="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
9611 enable_winecoreaudio_drv
=${enable_winecoreaudio_drv:-yes}
9613 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
9615 OPENCL_LIBS
="-framework OpenCL"
9617 ac_cv_lib_OpenCL_clGetPlatformInfo
=yes
9620 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether MTLDevice protocol supports registryID property" >&5
9621 printf %s
"checking whether MTLDevice protocol supports registryID property... " >&6; }
9623 ac_cpp
='$OBJCPP $CPPFLAGS'
9624 ac_compile
='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9625 ac_link
='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9626 ac_compiler_gnu
=$ac_cv_objc_compiler_gnu
9629 ac_cpp
='$OBJCPP $CPPFLAGS'
9630 ac_compile
='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9631 ac_link
='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9632 ac_compiler_gnu
=$ac_cv_objc_compiler_gnu
9633 if test -n "$ac_tool_prefix"; then
9634 for ac_prog
in gcc objcc objc cc CC clang
9636 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
9637 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
9638 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9639 printf %s
"checking for $ac_word... " >&6; }
9640 if test ${ac_cv_prog_OBJC+y}
9642 printf %s
"(cached) " >&6
9644 if test -n "$OBJC"; then
9645 ac_cv_prog_OBJC
="$OBJC" # Let the user override the test.
9647 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9651 case $as_dir in #(((
9654 *) as_dir
=$as_dir/ ;;
9656 for ac_exec_ext
in '' $ac_executable_extensions; do
9657 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
9658 ac_cv_prog_OBJC
="$ac_tool_prefix$ac_prog"
9659 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9668 OBJC
=$ac_cv_prog_OBJC
9669 if test -n "$OBJC"; then
9670 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OBJC" >&5
9671 printf "%s\n" "$OBJC" >&6; }
9673 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9674 printf "%s\n" "no" >&6; }
9678 test -n "$OBJC" && break
9681 if test -z "$OBJC"; then
9683 for ac_prog
in gcc objcc objc cc CC clang
9685 # Extract the first word of "$ac_prog", so it can be a program name with args.
9686 set dummy
$ac_prog; ac_word
=$2
9687 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9688 printf %s
"checking for $ac_word... " >&6; }
9689 if test ${ac_cv_prog_ac_ct_OBJC+y}
9691 printf %s
"(cached) " >&6
9693 if test -n "$ac_ct_OBJC"; then
9694 ac_cv_prog_ac_ct_OBJC
="$ac_ct_OBJC" # Let the user override the test.
9696 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9700 case $as_dir in #(((
9703 *) as_dir
=$as_dir/ ;;
9705 for ac_exec_ext
in '' $ac_executable_extensions; do
9706 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
9707 ac_cv_prog_ac_ct_OBJC
="$ac_prog"
9708 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9717 ac_ct_OBJC
=$ac_cv_prog_ac_ct_OBJC
9718 if test -n "$ac_ct_OBJC"; then
9719 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJC" >&5
9720 printf "%s\n" "$ac_ct_OBJC" >&6; }
9722 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9723 printf "%s\n" "no" >&6; }
9727 test -n "$ac_ct_OBJC" && break
9730 if test "x$ac_ct_OBJC" = x
; then
9733 case $cross_compiling:$ac_tool_warned in
9735 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9736 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9737 ac_tool_warned
=yes ;;
9743 # Provide some information about the compiler.
9744 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for Objective C compiler version" >&5
9747 for ac_option
in --version -v -V -qversion; do
9748 { { ac_try
="$ac_compiler $ac_option >&5"
9750 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9751 *) ac_try_echo=$ac_try;;
9753 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
9754 printf "%s\n" "$ac_try_echo"; } >&5
9755 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
9757 if test -s conftest.err; then
9759 ... rest of stderr output deleted ...
9760 10q' conftest.err >conftest.er1
9761 cat conftest.er1 >&5
9763 rm -f conftest.er1 conftest.err
9764 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9765 test $ac_status = 0; }
9768 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU Objective C" >&5
9769 printf %s "checking whether the compiler supports GNU Objective C... " >&6; }
9770 if test ${ac_cv_objc_compiler_gnu+y}
9772 printf %s "(cached) " >&6
9774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9775 /* end confdefs.h. */
9788 if ac_fn_objc_try_compile "$LINENO"
9794 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9795 ac_cv_objc_compiler_gnu=$ac_compiler_gnu
9798 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objc_compiler_gnu" >&5
9799 printf "%s\n" "$ac_cv_objc_compiler_gnu" >&6; }
9800 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9802 if test $ac_compiler_gnu = yes; then
9807 ac_test_OBJCFLAGS=${OBJCFLAGS+y}
9808 ac_save_OBJCFLAGS=$OBJCFLAGS
9809 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $OBJC accepts -g" >&5
9810 printf %s "checking whether $OBJC accepts -g... " >&6; }
9811 if test ${ac_cv_prog_objc_g+y}
9813 printf %s "(cached) " >&6
9815 ac_save_objc_werror_flag=$ac_objc_werror_flag
9816 ac_objc_werror_flag=yes
9817 ac_cv_prog_objc_g=no
9819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9820 /* end confdefs.h. */
9830 if ac_fn_objc_try_compile "$LINENO"
9832 ac_cv_prog_objc_g=yes
9835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9836 /* end confdefs.h. */
9846 if ac_fn_objc_try_compile "$LINENO"
9850 ac_objc_werror_flag=$ac_save_objc_werror_flag
9852 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9853 /* end confdefs.h. */
9863 if ac_fn_objc_try_compile "$LINENO"
9865 ac_cv_prog_objc_g=yes
9867 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9869 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9871 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9872 ac_objc_werror_flag=$ac_save_objc_werror_flag
9874 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objc_g" >&5
9875 printf "%s\n" "$ac_cv_prog_objc_g" >&6; }
9876 if test $ac_test_OBJCFLAGS; then
9877 OBJCFLAGS=$ac_save_OBJCFLAGS
9878 elif test $ac_cv_prog_objc_g = yes; then
9879 if test "$GOBJC" = yes; then
9885 if test "$GOBJC" = yes; then
9892 ac_cpp='$OBJCPP $CPPFLAGS'
9893 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9894 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9895 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9899 /* end confdefs.h. */
9900 #include <Metal/Metal.h>
9904 id<MTLDevice> device; device.registryID;
9909 if ac_fn_objc_try_compile "$LINENO"
9911 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9912 printf "%s\n" "yes" >&6; }
9914 printf "%s\n" "#define HAVE_MTLDEVICE_REGISTRYID 1" >>confdefs.h
9917 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9918 printf "%s\n" "no" >&6; }
9920 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9922 ac_cpp='$CPP $CPPFLAGS'
9923 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9924 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9925 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9928 UNIXLDFLAGS="-dynamiclib -install_name @rpath/\$(UNIXLIB) -Wl,-rpath,@loader_path\/"
9929 WINELOADER_DEPENDS="wine_info.plist"
9935 printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h
9937 DLLFLAGS="$DLLFLAGS -fPIC"
9939 LDEXECFLAGS="-Wl,-pie"
9940 enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
9941 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,defs" >&5
9942 printf %s "checking whether the compiler supports -Wl,-z,defs... " >&6; }
9943 if test ${ac_cv_cflags__Wl__z_defs+y}
9945 printf %s "(cached) " >&6
9947 ac_wine_try_cflags_saved=$CFLAGS
9948 CFLAGS="$CFLAGS -Wl,-z,defs"
9949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9950 /* end confdefs.h. */
9951 int main(int argc, char **argv) { return 0; }
9953 if ac_fn_c_try_link "$LINENO"
9955 ac_cv_cflags__Wl__z_defs=yes
9957 ac_cv_cflags__Wl__z_defs=no
9959 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9960 conftest$ac_exeext conftest.$ac_ext
9961 CFLAGS=$ac_wine_try_cflags_saved
9963 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_defs" >&5
9964 printf "%s\n" "$ac_cv_cflags__Wl__z_defs" >&6; }
9965 if test "x$ac_cv_cflags__Wl__z_defs" = xyes
9967 UNIXLDFLAGS="$UNIXLDFLAGS -Wl,-z,defs"
9969 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
9970 printf %s "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
9971 if test ${ac_cv_cflags__fPIC__Wl___export_dynamic+y}
9973 printf %s "(cached) " >&6
9975 ac_wine_try_cflags_saved=$CFLAGS
9976 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
9977 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9978 /* end confdefs.h. */
9979 int main(int argc, char **argv) { return 0; }
9981 if ac_fn_c_try_link "$LINENO"
9983 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
9985 ac_cv_cflags__fPIC__Wl___export_dynamic=no
9987 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9988 conftest$ac_exeext conftest.$ac_ext
9989 CFLAGS=$ac_wine_try_cflags_saved
9991 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
9992 printf "%s\n" "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
9993 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes
9995 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
9997 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
9999 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
10000 printf %s "checking for -lEGL... " >&6; }
10001 if test ${ac_cv_lib_soname_EGL+y}
10003 printf %s "(cached) " >&6
10005 ac_check_soname_save_LIBS=$LIBS
10007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10008 /* end confdefs.h. */
10010 /* Override any GCC internal prototype to avoid an error.
10011 Use char because int might match the return type of a GCC
10012 builtin and then its argument prototype would still apply. */
10013 char eglGetProcAddress ();
10017 return eglGetProcAddress ();
10022 if ac_fn_c_try_link "$LINENO"
10025 dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe |
grep "EGL" |
sed -e "s/dll.*/dll/"';2,$d'` ;;
10026 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'` ;;
10027 *) ac_cv_lib_soname_EGL=`$READELF -d conftest
$ac_exeext |
grep "NEEDED.*libEGL\\.$LIBEXT" |
sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10028 if ${ac_cv_lib_soname_EGL:+false} :
10030 ac_cv_lib_soname_EGL=`$LDD conftest
$ac_exeext |
grep "libEGL\\.$LIBEXT" |
sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10034 ac_cv_lib_soname_EGL=
10036 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10037 conftest$ac_exeext conftest.$ac_ext
10038 LIBS=$ac_check_soname_save_LIBS
10040 if ${ac_cv_lib_soname_EGL:+false} :
10042 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10043 printf "%s\n" "not found" >&6; }
10046 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
10047 printf "%s\n" "$ac_cv_lib_soname_EGL" >&6; }
10049 printf "%s\n" "#define SONAME_LIBEGL \"$ac_cv_lib_soname_EGL\"" >>confdefs.h
10053 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
10054 printf %s "checking for -lGLESv2... " >&6; }
10055 if test ${ac_cv_lib_soname_GLESv2+y}
10057 printf %s "(cached) " >&6
10059 ac_check_soname_save_LIBS=$LIBS
10060 LIBS="-lGLESv2 $LIBS"
10061 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10062 /* end confdefs.h. */
10064 /* Override any GCC internal prototype to avoid an error.
10065 Use char because int might match the return type of a GCC
10066 builtin and then its argument prototype would still apply. */
10076 if ac_fn_c_try_link "$LINENO"
10079 dll) ac_cv_lib_soname_GLESv2=`$ac_cv_path_LDD conftest.exe |
grep "GLESv2" |
sed -e "s/dll.*/dll/"';2,$d'` ;;
10080 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'` ;;
10081 *) ac_cv_lib_soname_GLESv2=`$READELF -d conftest
$ac_exeext |
grep "NEEDED.*libGLESv2\\.$LIBEXT" |
sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10082 if ${ac_cv_lib_soname_GLESv2:+false} :
10084 ac_cv_lib_soname_GLESv2=`$LDD conftest
$ac_exeext |
grep "libGLESv2\\.$LIBEXT" |
sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10088 ac_cv_lib_soname_GLESv2=
10090 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10091 conftest$ac_exeext conftest.$ac_ext
10092 LIBS=$ac_check_soname_save_LIBS
10094 if ${ac_cv_lib_soname_GLESv2:+false} :
10096 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10097 printf "%s\n" "not found" >&6; }
10100 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
10101 printf "%s\n" "$ac_cv_lib_soname_GLESv2" >&6; }
10103 printf "%s\n" "#define SONAME_LIBGLESV2 \"$ac_cv_lib_soname_GLESv2\"" >>confdefs.h
10108 if test "x$exec_prefix" = xNONE
10111 i386) exec_prefix='${prefix}/x86' ;;
10112 x86_64) exec_prefix='${prefix}/x86_64' ;;
10113 arm) exec_prefix='${prefix}/armeabi-v7a' ;;
10114 aarch64) exec_prefix='${prefix}/arm64-v8a' ;;
10121 printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h
10123 if test $HOST_ARCH = i386
10125 DLLFLAGS="$DLLFLAGS -fno-PIC"
10126 LDDLLFLAGS="-fno-PIC"
10127 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-PIC -Wl,-z,notext" >&5
10128 printf %s "checking whether the compiler supports -fno-PIC -Wl,-z,notext... " >&6; }
10129 if test ${ac_cv_cflags__fno_PIC__Wl__z_notext+y}
10131 printf %s "(cached) " >&6
10133 ac_wine_try_cflags_saved=$CFLAGS
10134 CFLAGS="$CFLAGS -fno-PIC -Wl,-z,notext"
10135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10136 /* end confdefs.h. */
10137 int main(int argc, char **argv) { return 0; }
10139 if ac_fn_c_try_link "$LINENO"
10141 ac_cv_cflags__fno_PIC__Wl__z_notext=yes
10143 ac_cv_cflags__fno_PIC__Wl__z_notext=no
10145 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10146 conftest$ac_exeext conftest.$ac_ext
10147 CFLAGS=$ac_wine_try_cflags_saved
10149 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_PIC__Wl__z_notext" >&5
10150 printf "%s\n" "$ac_cv_cflags__fno_PIC__Wl__z_notext" >&6; }
10151 if test "x$ac_cv_cflags__fno_PIC__Wl__z_notext" = xyes
10153 LDDLLFLAGS="$LDDLLFLAGS -Wl,-z,notext"
10156 DLLFLAGS="$DLLFLAGS -fPIC"
10160 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -Wl,-z,defs works correctly" >&5
10161 printf %s "checking whether -Wl,-z,defs works correctly... " >&6; }
10162 if test ${ac_cv_wl_z_defs+y}
10164 printf %s "(cached) " >&6
10166 ac_save_CFLAGS="$CFLAGS"
10167 CFLAGS="$CFLAGS $UNIXDLLFLAGS $UNIXLDFLAGS -Wl,-z,defs"
10168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10169 /* end confdefs.h. */
10170 extern char **environ; char **envp; void myfunc(void) { envp = environ; }
10172 if ac_fn_c_try_link "$LINENO"
10174 ac_cv_wl_z_defs=yes
10178 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10179 conftest$ac_exeext conftest.$ac_ext
10180 CFLAGS=$ac_save_CFLAGS
10182 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_wl_z_defs" >&5
10183 printf "%s\n" "$ac_cv_wl_z_defs" >&6; }
10184 test $ac_cv_wl_z_defs != yes || as_fn_append UNIXLDFLAGS " -Wl,-z,defs"
10186 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--export-dynamic" >&5
10187 printf %s "checking whether the compiler supports -Wl,--export-dynamic... " >&6; }
10188 if test ${ac_cv_cflags__Wl___export_dynamic+y}
10190 printf %s "(cached) " >&6
10192 ac_wine_try_cflags_saved=$CFLAGS
10193 CFLAGS="$CFLAGS -Wl,--export-dynamic"
10194 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10195 /* end confdefs.h. */
10196 int main(int argc, char **argv) { return 0; }
10198 if ac_fn_c_try_link "$LINENO"
10200 ac_cv_cflags__Wl___export_dynamic=yes
10202 ac_cv_cflags__Wl___export_dynamic=no
10204 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10205 conftest$ac_exeext conftest.$ac_ext
10206 CFLAGS=$ac_wine_try_cflags_saved
10208 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___export_dynamic" >&5
10209 printf "%s\n" "$ac_cv_cflags__Wl___export_dynamic" >&6; }
10210 if test "x$ac_cv_cflags__Wl___export_dynamic" = xyes
10212 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
10214 WINEPRELOADER_LDFLAGS="-nostartfiles -nodefaultlibs"
10218 as_fn_append WINELOADER_LDFLAGS " -pie"
10221 as_fn_append WINEPRELOADER_LDFLAGS " -static -Wl,-Ttext=0x7d400000" ;;
10223 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -static-pie" >&5
10224 printf %s "checking whether the compiler supports -static-pie... " >&6; }
10225 if test ${ac_cv_cflags__static_pie+y}
10227 printf %s "(cached) " >&6
10229 ac_wine_try_cflags_saved=$CFLAGS
10230 CFLAGS="$CFLAGS -static-pie"
10231 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10232 /* end confdefs.h. */
10233 int main(int argc, char **argv) { return 0; }
10235 if ac_fn_c_try_link "$LINENO"
10237 ac_cv_cflags__static_pie=yes
10239 ac_cv_cflags__static_pie=no
10241 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10242 conftest$ac_exeext conftest.$ac_ext
10243 CFLAGS=$ac_wine_try_cflags_saved
10245 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__static_pie" >&5
10246 printf "%s\n" "$ac_cv_cflags__static_pie" >&6; }
10247 if test "x$ac_cv_cflags__static_pie" = xyes
10249 as_fn_append WINEPRELOADER_LDFLAGS " -static-pie"
10251 as_fn_append WINEPRELOADER_LDFLAGS " -static -Wl,-Ttext=0x7d7d00000000"
10259 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x60000000" >&5
10260 printf %s "checking whether the compiler supports -Wl,-Ttext-segment=0x60000000... " >&6; }
10261 if test ${ac_cv_cflags__Wl__Ttext_segment_0x60000000+y}
10263 printf %s "(cached) " >&6
10265 ac_wine_try_cflags_saved=$CFLAGS
10266 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x60000000"
10267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10268 /* end confdefs.h. */
10269 int main(int argc, char **argv) { return 0; }
10271 if ac_fn_c_try_link "$LINENO"
10273 ac_cv_cflags__Wl__Ttext_segment_0x60000000=yes
10275 ac_cv_cflags__Wl__Ttext_segment_0x60000000=no
10277 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10278 conftest$ac_exeext conftest.$ac_ext
10279 CFLAGS=$ac_wine_try_cflags_saved
10281 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x60000000" >&5
10282 printf "%s\n" "$ac_cv_cflags__Wl__Ttext_segment_0x60000000" >&6; }
10283 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x60000000" = xyes
10285 as_fn_append WINELOADER_LDFLAGS " -Wl,-Ttext-segment=0x60000000"
10287 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x60000400" >&5
10288 printf %s "checking whether the compiler supports -Wl,--section-start,.interp=0x60000400... " >&6; }
10289 if test ${ac_cv_cflags__Wl___section_start__interp_0x60000400+y}
10291 printf %s "(cached) " >&6
10293 ac_wine_try_cflags_saved=$CFLAGS
10294 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x60000400"
10295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10296 /* end confdefs.h. */
10297 int main(int argc, char **argv) { return 0; }
10299 if ac_fn_c_try_link "$LINENO"
10301 ac_cv_cflags__Wl___section_start__interp_0x60000400=yes
10303 ac_cv_cflags__Wl___section_start__interp_0x60000400=no
10305 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10306 conftest$ac_exeext conftest.$ac_ext
10307 CFLAGS=$ac_wine_try_cflags_saved
10309 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x60000400" >&5
10310 printf "%s\n" "$ac_cv_cflags__Wl___section_start__interp_0x60000400" >&6; }
10311 if test "x$ac_cv_cflags__Wl___section_start__interp_0x60000400" = xyes
10313 as_fn_append WINELOADER_LDFLAGS " -Wl,--section-start,.interp=0x60000400"
10318 as_fn_append WINELOADER_LDFLAGS " -pie"
10326 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
10327 enable_wineandroid_drv=${enable_wineandroid_drv:-no}
10328 enable_winemac_drv=${enable_winemac_drv:-no}
10333 if test ${enable_archs+y}
10335 test "x$with_system_dllpath" = "x" || as_fn_error $? "\"The --with-system-dllpath option is not compatible with --enable-archs\"" "$LINENO" 5
10338 set x $enable_archs
10344 i386|x86_64|arm|aarch64|arm64ec) cross_archs="$cross_archs $arch" ;;
10345 *) as_fn_error $? "Unknown cross-compilation architecture '$arch'" "$LINENO" 5 ;;
10349 if test "x$with_mingw" != xno
10351 test $HOST_ARCH = unknown || cross_archs=$HOST_ARCH
10356 saved_CFLAGS=$CFLAGS
10357 saved_LDFLAGS=$LDFLAGS
10359 { extra_arch=; unset extra_arch;}
10360 for arch in $cross_archs
10363 arm64ec) test ${extra_arch+y} || extra_arch=x86_64 ;;
10364 x86_64) extra_arch="" ;;
10368 for wine_arch in $cross_archs $extra_arch
10370 case "x$with_mingw" in
10371 xclang|x*/clang) eval "${wine_arch}_CC=\$with_mingw" ;;
10373 if eval \${${wine_arch}_CC:+false} :
10377 for ac_prog in aarch64-w64-mingw32-clang aarch64-w64-mingw32-gcc clang
10379 # Extract the first word of "$ac_prog", so it can be a program name with args.
10380 set dummy $ac_prog; ac_word=$2
10381 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10382 printf %s "checking for $ac_word... " >&6; }
10383 if test ${ac_cv_prog_aarch64_CC+y}
10385 printf %s "(cached) " >&6
10387 if test -n "$aarch64_CC"; then
10388 ac_cv_prog_aarch64_CC="$aarch64_CC" # Let the user override the test.
10390 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10391 for as_dir in $PATH
10394 case $as_dir in #(((
10397 *) as_dir=$as_dir/ ;;
10399 for ac_exec_ext in '' $ac_executable_extensions; do
10400 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10401 ac_cv_prog_aarch64_CC="$ac_prog"
10402 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10411 aarch64_CC=$ac_cv_prog_aarch64_CC
10412 if test -n "$aarch64_CC"; then
10413 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $aarch64_CC" >&5
10414 printf "%s\n" "$aarch64_CC" >&6; }
10416 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10417 printf "%s\n" "no" >&6; }
10421 test -n "$aarch64_CC" && break
10423 test -n "$aarch64_CC" || aarch64_CC="false"
10427 for ac_prog in arm64ec-w64-mingw32-clang arm64ec-w64-mingw32-gcc clang
10429 # Extract the first word of "$ac_prog", so it can be a program name with args.
10430 set dummy $ac_prog; ac_word=$2
10431 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10432 printf %s "checking for $ac_word... " >&6; }
10433 if test ${ac_cv_prog_arm64ec_CC+y}
10435 printf %s "(cached) " >&6
10437 if test -n "$arm64ec_CC"; then
10438 ac_cv_prog_arm64ec_CC="$arm64ec_CC" # Let the user override the test.
10440 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10441 for as_dir in $PATH
10444 case $as_dir in #(((
10447 *) as_dir=$as_dir/ ;;
10449 for ac_exec_ext in '' $ac_executable_extensions; do
10450 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10451 ac_cv_prog_arm64ec_CC="$ac_prog"
10452 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10461 arm64ec_CC=$ac_cv_prog_arm64ec_CC
10462 if test -n "$arm64ec_CC"; then
10463 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $arm64ec_CC" >&5
10464 printf "%s\n" "$arm64ec_CC" >&6; }
10466 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10467 printf "%s\n" "no" >&6; }
10471 test -n "$arm64ec_CC" && break
10473 test -n "$arm64ec_CC" || arm64ec_CC="false"
10477 for ac_prog in armv7-w64-mingw32-clang armv7-w64-mingw32-gcc clang
10479 # Extract the first word of "$ac_prog", so it can be a program name with args.
10480 set dummy $ac_prog; ac_word=$2
10481 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10482 printf %s "checking for $ac_word... " >&6; }
10483 if test ${ac_cv_prog_arm_CC+y}
10485 printf %s "(cached) " >&6
10487 if test -n "$arm_CC"; then
10488 ac_cv_prog_arm_CC="$arm_CC" # Let the user override the test.
10490 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10491 for as_dir in $PATH
10494 case $as_dir in #(((
10497 *) as_dir=$as_dir/ ;;
10499 for ac_exec_ext in '' $ac_executable_extensions; do
10500 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10501 ac_cv_prog_arm_CC="$ac_prog"
10502 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10511 arm_CC=$ac_cv_prog_arm_CC
10512 if test -n "$arm_CC"; then
10513 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $arm_CC" >&5
10514 printf "%s\n" "$arm_CC" >&6; }
10516 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10517 printf "%s\n" "no" >&6; }
10521 test -n "$arm_CC" && break
10523 test -n "$arm_CC" || arm_CC="false"
10527 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 "
10528 for ac_prog in $ac_prefix_list clang
10530 # Extract the first word of "$ac_prog", so it can be a program name with args.
10531 set dummy $ac_prog; ac_word=$2
10532 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10533 printf %s "checking for $ac_word... " >&6; }
10534 if test ${ac_cv_prog_i386_CC+y}
10536 printf %s "(cached) " >&6
10538 if test -n "$i386_CC"; then
10539 ac_cv_prog_i386_CC="$i386_CC" # Let the user override the test.
10541 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10542 for as_dir in $PATH
10545 case $as_dir in #(((
10548 *) as_dir=$as_dir/ ;;
10550 for ac_exec_ext in '' $ac_executable_extensions; do
10551 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10552 ac_cv_prog_i386_CC="$ac_prog"
10553 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10562 i386_CC=$ac_cv_prog_i386_CC
10563 if test -n "$i386_CC"; then
10564 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $i386_CC" >&5
10565 printf "%s\n" "$i386_CC" >&6; }
10567 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10568 printf "%s\n" "no" >&6; }
10572 test -n "$i386_CC" && break
10574 test -n "$i386_CC" || i386_CC="false"
10578 ac_prefix_list="x86_64-w64-mingw32-gcc amd64-w64-mingw32-gcc x86_64-w64-mingw32-clang amd64-w64-mingw32-clang "
10579 for ac_prog in $ac_prefix_list clang
10581 # Extract the first word of "$ac_prog", so it can be a program name with args.
10582 set dummy $ac_prog; ac_word=$2
10583 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10584 printf %s "checking for $ac_word... " >&6; }
10585 if test ${ac_cv_prog_x86_64_CC+y}
10587 printf %s "(cached) " >&6
10589 if test -n "$x86_64_CC"; then
10590 ac_cv_prog_x86_64_CC="$x86_64_CC" # Let the user override the test.
10592 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10593 for as_dir in $PATH
10596 case $as_dir in #(((
10599 *) as_dir=$as_dir/ ;;
10601 for ac_exec_ext in '' $ac_executable_extensions; do
10602 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10603 ac_cv_prog_x86_64_CC="$ac_prog"
10604 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10613 x86_64_CC=$ac_cv_prog_x86_64_CC
10614 if test -n "$x86_64_CC"; then
10615 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $x86_64_CC" >&5
10616 printf "%s\n" "$x86_64_CC" >&6; }
10618 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10619 printf "%s\n" "no" >&6; }
10623 test -n "$x86_64_CC" && break
10625 test -n "$x86_64_CC" || x86_64_CC="false"
10631 CFLAGS=${CROSSCFLAGS:-"-g -O2"}
10632 LDFLAGS=$CROSSLDFLAGS
10633 eval CC=\$${wine_arch}_CC
10634 eval ${wine_arch}_CFLAGS=\$CFLAGS
10635 eval ${wine_arch}_LDFLAGS=\$LDFLAGS
10636 eval "${wine_arch}_EXTRACFLAGS=\"-D__WINE_PE_BUILD -Wall\""
10639 as_wine_cv_crosscc=`printf "%s\n" "ac_cv_${wine_arch}_crosscc" |
$as_tr_sh`
10641 if eval test \"x\$"${wine_arch}_CC"\" = x"false"
10645 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
10646 printf %s "checking whether $CC works... " >&6; }
10647 if eval test \${$as_wine_cv_crosscc+y}
10649 printf %s "(cached) " >&6
10651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10652 /* end confdefs.h. */
10662 if ac_fn_c_try_compile "$LINENO"
10664 eval "$as_wine_cv_crosscc=yes"
10666 eval "$as_wine_cv_crosscc=no"
10668 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10670 eval ac_res=\$$as_wine_cv_crosscc
10671 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10672 printf "%s\n" "$ac_res" >&6; }
10674 if eval test \"x\$"$as_wine_cv_crosscc"\" = x"yes"
10678 while test $# -ge 1
10681 */*-gcc) target=`expr "$1" : '.*/\(.*\)-gcc'` ;;
10682 */*-clang) target=`expr "$1" : '.*/\(.*\)-clang'` ;;
10683 *-gcc) target=`expr "$1" : '\(.*\)-gcc'` ;;
10684 *-clang) target=`expr "$1" : '\(.*\)-clang'` ;;
10689 llvm_target=$target
10690 if test -z "$llvm_target"
10693 i386) llvm_target=i686-windows ;;
10694 arm) llvm_target=armv7-windows ;;
10695 *) llvm_target=$wine_arch-windows ;;
10698 llvm_extra_cflags="-target $llvm_target -fuse-ld=lld"
10699 llvm_extra_ldflags=""
10700 case $llvm_target in
10701 *windows) llvm_cflags="-Wl,-subsystem:console -Wl,-WX" ;;
10703 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_$llvm_extra_cflags $llvm_cflags --no-default-config" |
$as_tr_sh`
10704 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports $llvm_extra_cflags $llvm_cflags --no-default-config" >&5
10705 printf %s "checking whether $CC supports $llvm_extra_cflags $llvm_cflags --no-default-config... " >&6; }
10706 if eval test \${$as_ac_var+y}
10708 printf %s "(cached) " >&6
10710 ac_wine_try_cflags_saved=$CFLAGS
10711 ac_wine_try_cflags_saved_exeext=$ac_exeext
10712 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs $llvm_extra_cflags $llvm_cflags --no-default-config"
10714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10715 /* end confdefs.h. */
10716 void *__os_arm64x_dispatch_ret = 0;
10717 int __cdecl mainCRTStartup(void) { return 0; }
10719 if ac_fn_c_try_link "$LINENO"
10721 eval "$as_ac_var=yes"
10723 eval "$as_ac_var=no"
10725 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10726 conftest$ac_exeext conftest.$ac_ext
10727 CFLAGS=$ac_wine_try_cflags_saved
10728 ac_exeext=$ac_wine_try_cflags_saved_exeext
10730 eval ac_res=\$$as_ac_var
10731 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10732 printf "%s\n" "$ac_res" >&6; }
10733 if eval test \"x\$"$as_ac_var"\" = x"yes"
10735 llvm_extra_cflags="$llvm_extra_cflags --no-default-config"
10736 llvm_extra_ldflags="--no-default-config"
10738 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_$llvm_extra_cflags $llvm_cflags" |
$as_tr_sh`
10739 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports $llvm_extra_cflags $llvm_cflags" >&5
10740 printf %s "checking whether $CC supports $llvm_extra_cflags $llvm_cflags... " >&6; }
10741 if eval test \${$as_ac_var+y}
10743 printf %s "(cached) " >&6
10745 ac_wine_try_cflags_saved=$CFLAGS
10746 ac_wine_try_cflags_saved_exeext=$ac_exeext
10747 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs $llvm_extra_cflags $llvm_cflags"
10749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10750 /* end confdefs.h. */
10751 void *__os_arm64x_dispatch_ret = 0;
10752 int __cdecl mainCRTStartup(void) { return 0; }
10754 if ac_fn_c_try_link "$LINENO"
10756 eval "$as_ac_var=yes"
10758 eval "$as_ac_var=no"
10760 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10761 conftest$ac_exeext conftest.$ac_ext
10762 CFLAGS=$ac_wine_try_cflags_saved
10763 ac_exeext=$ac_wine_try_cflags_saved_exeext
10765 eval ac_res=\$$as_ac_var
10766 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10767 printf "%s\n" "$ac_res" >&6; }
10768 if eval test \"x\$"$as_ac_var"\" = x"yes"
10772 llvm_extra_cflags=""
10775 if test -n "$llvm_extra_cflags"
10777 target=$llvm_target
10778 eval "${wine_arch}_DELAYLOADFLAG=\"-Wl,-delayload,\""
10779 as_fn_append ${wine_arch}_EXTRACFLAGS " $llvm_extra_cflags"
10780 as_fn_append ${wine_arch}_LDFLAGS " $llvm_extra_ldflags"
10781 CFLAGS="$llvm_extra_cflags $llvm_cflags"
10783 eval "${wine_arch}_TARGET=\$target"
10787 if test -z "$target"
10789 if test ${enable_archs+y}
10791 as_fn_error $? "$wine_arch PE cross-compiler not found.
10792 This is an error since --enable-archs=$wine_arch was requested." "$LINENO" 5
10797 as_wine_cv_crosscc_c99=`printf "%s\n" "ac_cv_${wine_arch}_crosscc_c99" |
$as_tr_sh`
10799 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
10800 printf %s "checking for $CC option to enable C99 features... " >&6; }
10801 if eval test \${$as_wine_cv_crosscc_c99+y}
10803 printf %s "(cached) " >&6
10805 eval "$as_wine_cv_crosscc_c99=no"
10806 for arg in '' '-std=gnu99' '-D__STDC__'
10808 test -z "$arg" || CC="$CC $arg"
10809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10810 /* end confdefs.h. */
10811 $ac_c_conftest_c99_program
10813 if ac_fn_c_try_compile "$LINENO"
10815 eval "$as_wine_cv_crosscc_c99=\$arg"
10817 eval "$as_wine_cv_crosscc_c99=no"
10819 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10820 eval CC=\$${wine_arch}_CC
10821 if eval test \"x\$"$as_wine_cv_crosscc_c99"\" = x"no"
10830 eval res=\$$as_wine_cv_crosscc_c99
10833 x) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
10834 printf "%s\n" "none needed" >&6; } ;;
10835 xno) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
10836 printf "%s\n" "unsupported" >&6; }
10837 if test ${enable_archs+y}
10839 as_fn_error $? "$wine_arch PE cross-compiler supporting C99 not found.
10840 This is an error since --enable-archs=$wine_arch was requested." "$LINENO" 5
10844 x*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $res" >&5
10845 printf "%s\n" "$res" >&6; }
10846 as_fn_append ${wine_arch}_CC " $res" ;;
10849 if test "x$wine_arch" = xi386
10853 as_wine_cv_seh_support=`printf "%s\n" "ac_cv_${wine_arch}_seh_support" |
$as_tr_sh`
10855 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports SEH directives" >&5
10856 printf %s "checking whether $CC supports SEH directives... " >&6; }
10857 if eval test \${$as_wine_cv_seh_support+y}
10859 printf %s "(cached) " >&6
10861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10862 /* end confdefs.h. */
10863 asm(".text\nac_test:\t.seh_proc ac_test\n\tnop\n\t.seh_stackalloc 16\n\t.seh_endprologue\n\t.seh_endproc");
10872 if ac_fn_c_try_compile "$LINENO"
10874 eval "$as_wine_cv_seh_support=yes"
10876 eval "$as_wine_cv_seh_support=no"
10878 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10880 eval ac_res=\$$as_wine_cv_seh_support
10881 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10882 printf "%s\n" "$ac_res" >&6; }
10883 eval res=\$$as_wine_cv_seh_support
10885 if test "x$res" = xyes
10889 if test ${enable_archs+y}
10891 as_fn_error $? "The $wine_arch PE cross-compiler doesn't support SEH directives.
10892 This is an error since --enable-archs=$wine_arch was requested." "$LINENO" 5
10898 if test "x$wine_arch" = x$extra_arch
10902 as_fn_append PE_ARCHS " $wine_arch"
10905 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-fno-strict-aliasing" |
$as_tr_sh`
10906 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -fno-strict-aliasing" >&5
10907 printf %s "checking whether $CC supports -fno-strict-aliasing... " >&6; }
10908 if eval test \${$as_ac_var+y}
10910 printf %s "(cached) " >&6
10912 ac_wine_try_cflags_saved=$CFLAGS
10913 ac_wine_try_cflags_saved_exeext=$ac_exeext
10914 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -fno-strict-aliasing"
10916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10917 /* end confdefs.h. */
10918 void *__os_arm64x_dispatch_ret = 0;
10919 int __cdecl mainCRTStartup(void) { return 0; }
10921 if ac_fn_c_try_link "$LINENO"
10923 eval "$as_ac_var=yes"
10925 eval "$as_ac_var=no"
10927 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10928 conftest$ac_exeext conftest.$ac_ext
10929 CFLAGS=$ac_wine_try_cflags_saved
10930 ac_exeext=$ac_wine_try_cflags_saved_exeext
10932 eval ac_res=\$$as_ac_var
10933 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10934 printf "%s\n" "$ac_res" >&6; }
10935 if eval test \"x\$"$as_ac_var"\" = x"yes"
10937 as_fn_append ${wine_arch}_EXTRACFLAGS " -fno-strict-aliasing"
10939 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Werror=unknown-warning-option" |
$as_tr_sh`
10940 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Werror=unknown-warning-option" >&5
10941 printf %s "checking whether $CC supports -Werror=unknown-warning-option... " >&6; }
10942 if eval test \${$as_ac_var+y}
10944 printf %s "(cached) " >&6
10946 ac_wine_try_cflags_saved=$CFLAGS
10947 ac_wine_try_cflags_saved_exeext=$ac_exeext
10948 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Werror=unknown-warning-option"
10950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10951 /* end confdefs.h. */
10952 void *__os_arm64x_dispatch_ret = 0;
10953 int __cdecl mainCRTStartup(void) { return 0; }
10955 if ac_fn_c_try_link "$LINENO"
10957 eval "$as_ac_var=yes"
10959 eval "$as_ac_var=no"
10961 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10962 conftest$ac_exeext conftest.$ac_ext
10963 CFLAGS=$ac_wine_try_cflags_saved
10964 ac_exeext=$ac_wine_try_cflags_saved_exeext
10966 eval ac_res=\$$as_ac_var
10967 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10968 printf "%s\n" "$ac_res" >&6; }
10969 if eval test \"x\$"$as_ac_var"\" = x"yes"
10971 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
10973 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Werror=ignored-optimization-argument" |
$as_tr_sh`
10974 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Werror=ignored-optimization-argument" >&5
10975 printf %s "checking whether $CC supports -Werror=ignored-optimization-argument... " >&6; }
10976 if eval test \${$as_ac_var+y}
10978 printf %s "(cached) " >&6
10980 ac_wine_try_cflags_saved=$CFLAGS
10981 ac_wine_try_cflags_saved_exeext=$ac_exeext
10982 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Werror=ignored-optimization-argument"
10984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10985 /* end confdefs.h. */
10986 void *__os_arm64x_dispatch_ret = 0;
10987 int __cdecl mainCRTStartup(void) { return 0; }
10989 if ac_fn_c_try_link "$LINENO"
10991 eval "$as_ac_var=yes"
10993 eval "$as_ac_var=no"
10995 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10996 conftest$ac_exeext conftest.$ac_ext
10997 CFLAGS=$ac_wine_try_cflags_saved
10998 ac_exeext=$ac_wine_try_cflags_saved_exeext
11000 eval ac_res=\$$as_ac_var
11001 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11002 printf "%s\n" "$ac_res" >&6; }
11003 if eval test \"x\$"$as_ac_var"\" = x"yes"
11005 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
11007 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wdeclaration-after-statement" |
$as_tr_sh`
11008 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wdeclaration-after-statement" >&5
11009 printf %s "checking whether $CC supports -Wdeclaration-after-statement... " >&6; }
11010 if eval test \${$as_ac_var+y}
11012 printf %s "(cached) " >&6
11014 ac_wine_try_cflags_saved=$CFLAGS
11015 ac_wine_try_cflags_saved_exeext=$ac_exeext
11016 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wdeclaration-after-statement"
11018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11019 /* end confdefs.h. */
11020 void *__os_arm64x_dispatch_ret = 0;
11021 int __cdecl mainCRTStartup(void) { return 0; }
11023 if ac_fn_c_try_link "$LINENO"
11025 eval "$as_ac_var=yes"
11027 eval "$as_ac_var=no"
11029 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11030 conftest$ac_exeext conftest.$ac_ext
11031 CFLAGS=$ac_wine_try_cflags_saved
11032 ac_exeext=$ac_wine_try_cflags_saved_exeext
11034 eval ac_res=\$$as_ac_var
11035 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11036 printf "%s\n" "$ac_res" >&6; }
11037 if eval test \"x\$"$as_ac_var"\" = x"yes"
11039 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wdeclaration-after-statement"
11041 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wempty-body" |
$as_tr_sh`
11042 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wempty-body" >&5
11043 printf %s "checking whether $CC supports -Wempty-body... " >&6; }
11044 if eval test \${$as_ac_var+y}
11046 printf %s "(cached) " >&6
11048 ac_wine_try_cflags_saved=$CFLAGS
11049 ac_wine_try_cflags_saved_exeext=$ac_exeext
11050 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wempty-body"
11052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11053 /* end confdefs.h. */
11054 void *__os_arm64x_dispatch_ret = 0;
11055 int __cdecl mainCRTStartup(void) { return 0; }
11057 if ac_fn_c_try_link "$LINENO"
11059 eval "$as_ac_var=yes"
11061 eval "$as_ac_var=no"
11063 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11064 conftest$ac_exeext conftest.$ac_ext
11065 CFLAGS=$ac_wine_try_cflags_saved
11066 ac_exeext=$ac_wine_try_cflags_saved_exeext
11068 eval ac_res=\$$as_ac_var
11069 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11070 printf "%s\n" "$ac_res" >&6; }
11071 if eval test \"x\$"$as_ac_var"\" = x"yes"
11073 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wempty-body"
11075 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wignored-qualifiers" |
$as_tr_sh`
11076 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wignored-qualifiers" >&5
11077 printf %s "checking whether $CC supports -Wignored-qualifiers... " >&6; }
11078 if eval test \${$as_ac_var+y}
11080 printf %s "(cached) " >&6
11082 ac_wine_try_cflags_saved=$CFLAGS
11083 ac_wine_try_cflags_saved_exeext=$ac_exeext
11084 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wignored-qualifiers"
11086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11087 /* end confdefs.h. */
11088 void *__os_arm64x_dispatch_ret = 0;
11089 int __cdecl mainCRTStartup(void) { return 0; }
11091 if ac_fn_c_try_link "$LINENO"
11093 eval "$as_ac_var=yes"
11095 eval "$as_ac_var=no"
11097 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11098 conftest$ac_exeext conftest.$ac_ext
11099 CFLAGS=$ac_wine_try_cflags_saved
11100 ac_exeext=$ac_wine_try_cflags_saved_exeext
11102 eval ac_res=\$$as_ac_var
11103 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11104 printf "%s\n" "$ac_res" >&6; }
11105 if eval test \"x\$"$as_ac_var"\" = x"yes"
11107 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wignored-qualifiers"
11109 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Winit-self" |
$as_tr_sh`
11110 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Winit-self" >&5
11111 printf %s "checking whether $CC supports -Winit-self... " >&6; }
11112 if eval test \${$as_ac_var+y}
11114 printf %s "(cached) " >&6
11116 ac_wine_try_cflags_saved=$CFLAGS
11117 ac_wine_try_cflags_saved_exeext=$ac_exeext
11118 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Winit-self"
11120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11121 /* end confdefs.h. */
11122 void *__os_arm64x_dispatch_ret = 0;
11123 int __cdecl mainCRTStartup(void) { return 0; }
11125 if ac_fn_c_try_link "$LINENO"
11127 eval "$as_ac_var=yes"
11129 eval "$as_ac_var=no"
11131 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11132 conftest$ac_exeext conftest.$ac_ext
11133 CFLAGS=$ac_wine_try_cflags_saved
11134 ac_exeext=$ac_wine_try_cflags_saved_exeext
11136 eval ac_res=\$$as_ac_var
11137 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11138 printf "%s\n" "$ac_res" >&6; }
11139 if eval test \"x\$"$as_ac_var"\" = x"yes"
11141 as_fn_append ${wine_arch}_EXTRACFLAGS " -Winit-self"
11143 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wpacked-not-aligned" |
$as_tr_sh`
11144 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wpacked-not-aligned" >&5
11145 printf %s "checking whether $CC supports -Wpacked-not-aligned... " >&6; }
11146 if eval test \${$as_ac_var+y}
11148 printf %s "(cached) " >&6
11150 ac_wine_try_cflags_saved=$CFLAGS
11151 ac_wine_try_cflags_saved_exeext=$ac_exeext
11152 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wpacked-not-aligned"
11154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11155 /* end confdefs.h. */
11156 void *__os_arm64x_dispatch_ret = 0;
11157 int __cdecl mainCRTStartup(void) { return 0; }
11159 if ac_fn_c_try_link "$LINENO"
11161 eval "$as_ac_var=yes"
11163 eval "$as_ac_var=no"
11165 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11166 conftest$ac_exeext conftest.$ac_ext
11167 CFLAGS=$ac_wine_try_cflags_saved
11168 ac_exeext=$ac_wine_try_cflags_saved_exeext
11170 eval ac_res=\$$as_ac_var
11171 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11172 printf "%s\n" "$ac_res" >&6; }
11173 if eval test \"x\$"$as_ac_var"\" = x"yes"
11175 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wno-packed-not-aligned"
11177 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wpragma-pack" |
$as_tr_sh`
11178 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wpragma-pack" >&5
11179 printf %s "checking whether $CC supports -Wpragma-pack... " >&6; }
11180 if eval test \${$as_ac_var+y}
11182 printf %s "(cached) " >&6
11184 ac_wine_try_cflags_saved=$CFLAGS
11185 ac_wine_try_cflags_saved_exeext=$ac_exeext
11186 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wpragma-pack"
11188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11189 /* end confdefs.h. */
11190 void *__os_arm64x_dispatch_ret = 0;
11191 int __cdecl mainCRTStartup(void) { return 0; }
11193 if ac_fn_c_try_link "$LINENO"
11195 eval "$as_ac_var=yes"
11197 eval "$as_ac_var=no"
11199 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11200 conftest$ac_exeext conftest.$ac_ext
11201 CFLAGS=$ac_wine_try_cflags_saved
11202 ac_exeext=$ac_wine_try_cflags_saved_exeext
11204 eval ac_res=\$$as_ac_var
11205 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11206 printf "%s\n" "$ac_res" >&6; }
11207 if eval test \"x\$"$as_ac_var"\" = x"yes"
11209 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wno-pragma-pack"
11211 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wmicrosoft-enum-forward-reference" |
$as_tr_sh`
11212 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wmicrosoft-enum-forward-reference" >&5
11213 printf %s "checking whether $CC supports -Wmicrosoft-enum-forward-reference... " >&6; }
11214 if eval test \${$as_ac_var+y}
11216 printf %s "(cached) " >&6
11218 ac_wine_try_cflags_saved=$CFLAGS
11219 ac_wine_try_cflags_saved_exeext=$ac_exeext
11220 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wmicrosoft-enum-forward-reference"
11222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11223 /* end confdefs.h. */
11224 void *__os_arm64x_dispatch_ret = 0;
11225 int __cdecl mainCRTStartup(void) { return 0; }
11227 if ac_fn_c_try_link "$LINENO"
11229 eval "$as_ac_var=yes"
11231 eval "$as_ac_var=no"
11233 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11234 conftest$ac_exeext conftest.$ac_ext
11235 CFLAGS=$ac_wine_try_cflags_saved
11236 ac_exeext=$ac_wine_try_cflags_saved_exeext
11238 eval ac_res=\$$as_ac_var
11239 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11240 printf "%s\n" "$ac_res" >&6; }
11241 if eval test \"x\$"$as_ac_var"\" = x"yes"
11243 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wno-microsoft-enum-forward-reference"
11245 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wshift-overflow=2" |
$as_tr_sh`
11246 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wshift-overflow=2" >&5
11247 printf %s "checking whether $CC supports -Wshift-overflow=2... " >&6; }
11248 if eval test \${$as_ac_var+y}
11250 printf %s "(cached) " >&6
11252 ac_wine_try_cflags_saved=$CFLAGS
11253 ac_wine_try_cflags_saved_exeext=$ac_exeext
11254 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wshift-overflow=2"
11256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11257 /* end confdefs.h. */
11258 void *__os_arm64x_dispatch_ret = 0;
11259 int __cdecl mainCRTStartup(void) { return 0; }
11261 if ac_fn_c_try_link "$LINENO"
11263 eval "$as_ac_var=yes"
11265 eval "$as_ac_var=no"
11267 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11268 conftest$ac_exeext conftest.$ac_ext
11269 CFLAGS=$ac_wine_try_cflags_saved
11270 ac_exeext=$ac_wine_try_cflags_saved_exeext
11272 eval ac_res=\$$as_ac_var
11273 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11274 printf "%s\n" "$ac_res" >&6; }
11275 if eval test \"x\$"$as_ac_var"\" = x"yes"
11277 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wshift-overflow=2"
11279 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wstrict-prototypes" |
$as_tr_sh`
11280 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wstrict-prototypes" >&5
11281 printf %s "checking whether $CC supports -Wstrict-prototypes... " >&6; }
11282 if eval test \${$as_ac_var+y}
11284 printf %s "(cached) " >&6
11286 ac_wine_try_cflags_saved=$CFLAGS
11287 ac_wine_try_cflags_saved_exeext=$ac_exeext
11288 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wstrict-prototypes"
11290 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11291 /* end confdefs.h. */
11292 void *__os_arm64x_dispatch_ret = 0;
11293 int __cdecl mainCRTStartup(void) { return 0; }
11295 if ac_fn_c_try_link "$LINENO"
11297 eval "$as_ac_var=yes"
11299 eval "$as_ac_var=no"
11301 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11302 conftest$ac_exeext conftest.$ac_ext
11303 CFLAGS=$ac_wine_try_cflags_saved
11304 ac_exeext=$ac_wine_try_cflags_saved_exeext
11306 eval ac_res=\$$as_ac_var
11307 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11308 printf "%s\n" "$ac_res" >&6; }
11309 if eval test \"x\$"$as_ac_var"\" = x"yes"
11311 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wstrict-prototypes"
11313 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wtype-limits" |
$as_tr_sh`
11314 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wtype-limits" >&5
11315 printf %s "checking whether $CC supports -Wtype-limits... " >&6; }
11316 if eval test \${$as_ac_var+y}
11318 printf %s "(cached) " >&6
11320 ac_wine_try_cflags_saved=$CFLAGS
11321 ac_wine_try_cflags_saved_exeext=$ac_exeext
11322 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wtype-limits"
11324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11325 /* end confdefs.h. */
11326 void *__os_arm64x_dispatch_ret = 0;
11327 int __cdecl mainCRTStartup(void) { return 0; }
11329 if ac_fn_c_try_link "$LINENO"
11331 eval "$as_ac_var=yes"
11333 eval "$as_ac_var=no"
11335 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11336 conftest$ac_exeext conftest.$ac_ext
11337 CFLAGS=$ac_wine_try_cflags_saved
11338 ac_exeext=$ac_wine_try_cflags_saved_exeext
11340 eval ac_res=\$$as_ac_var
11341 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11342 printf "%s\n" "$ac_res" >&6; }
11343 if eval test \"x\$"$as_ac_var"\" = x"yes"
11345 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wtype-limits"
11347 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wunused-but-set-parameter" |
$as_tr_sh`
11348 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wunused-but-set-parameter" >&5
11349 printf %s "checking whether $CC supports -Wunused-but-set-parameter... " >&6; }
11350 if eval test \${$as_ac_var+y}
11352 printf %s "(cached) " >&6
11354 ac_wine_try_cflags_saved=$CFLAGS
11355 ac_wine_try_cflags_saved_exeext=$ac_exeext
11356 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wunused-but-set-parameter"
11358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11359 /* end confdefs.h. */
11360 void *__os_arm64x_dispatch_ret = 0;
11361 int __cdecl mainCRTStartup(void) { return 0; }
11363 if ac_fn_c_try_link "$LINENO"
11365 eval "$as_ac_var=yes"
11367 eval "$as_ac_var=no"
11369 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11370 conftest$ac_exeext conftest.$ac_ext
11371 CFLAGS=$ac_wine_try_cflags_saved
11372 ac_exeext=$ac_wine_try_cflags_saved_exeext
11374 eval ac_res=\$$as_ac_var
11375 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11376 printf "%s\n" "$ac_res" >&6; }
11377 if eval test \"x\$"$as_ac_var"\" = x"yes"
11379 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wunused-but-set-parameter"
11381 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wvla" |
$as_tr_sh`
11382 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wvla" >&5
11383 printf %s "checking whether $CC supports -Wvla... " >&6; }
11384 if eval test \${$as_ac_var+y}
11386 printf %s "(cached) " >&6
11388 ac_wine_try_cflags_saved=$CFLAGS
11389 ac_wine_try_cflags_saved_exeext=$ac_exeext
11390 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wvla"
11392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11393 /* end confdefs.h. */
11394 void *__os_arm64x_dispatch_ret = 0;
11395 int __cdecl mainCRTStartup(void) { return 0; }
11397 if ac_fn_c_try_link "$LINENO"
11399 eval "$as_ac_var=yes"
11401 eval "$as_ac_var=no"
11403 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11404 conftest$ac_exeext conftest.$ac_ext
11405 CFLAGS=$ac_wine_try_cflags_saved
11406 ac_exeext=$ac_wine_try_cflags_saved_exeext
11408 eval ac_res=\$$as_ac_var
11409 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11410 printf "%s\n" "$ac_res" >&6; }
11411 if eval test \"x\$"$as_ac_var"\" = x"yes"
11413 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wvla"
11415 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wwrite-strings" |
$as_tr_sh`
11416 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wwrite-strings" >&5
11417 printf %s "checking whether $CC supports -Wwrite-strings... " >&6; }
11418 if eval test \${$as_ac_var+y}
11420 printf %s "(cached) " >&6
11422 ac_wine_try_cflags_saved=$CFLAGS
11423 ac_wine_try_cflags_saved_exeext=$ac_exeext
11424 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wwrite-strings"
11426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11427 /* end confdefs.h. */
11428 void *__os_arm64x_dispatch_ret = 0;
11429 int __cdecl mainCRTStartup(void) { return 0; }
11431 if ac_fn_c_try_link "$LINENO"
11433 eval "$as_ac_var=yes"
11435 eval "$as_ac_var=no"
11437 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11438 conftest$ac_exeext conftest.$ac_ext
11439 CFLAGS=$ac_wine_try_cflags_saved
11440 ac_exeext=$ac_wine_try_cflags_saved_exeext
11442 eval ac_res=\$$as_ac_var
11443 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11444 printf "%s\n" "$ac_res" >&6; }
11445 if eval test \"x\$"$as_ac_var"\" = x"yes"
11447 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wwrite-strings"
11449 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wpointer-arith" |
$as_tr_sh`
11450 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wpointer-arith" >&5
11451 printf %s "checking whether $CC supports -Wpointer-arith... " >&6; }
11452 if eval test \${$as_ac_var+y}
11454 printf %s "(cached) " >&6
11456 ac_wine_try_cflags_saved=$CFLAGS
11457 ac_wine_try_cflags_saved_exeext=$ac_exeext
11458 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wpointer-arith"
11460 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11461 /* end confdefs.h. */
11462 void *__os_arm64x_dispatch_ret = 0;
11463 int __cdecl mainCRTStartup(void) { return 0; }
11465 if ac_fn_c_try_link "$LINENO"
11467 eval "$as_ac_var=yes"
11469 eval "$as_ac_var=no"
11471 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11472 conftest$ac_exeext conftest.$ac_ext
11473 CFLAGS=$ac_wine_try_cflags_saved
11474 ac_exeext=$ac_wine_try_cflags_saved_exeext
11476 eval ac_res=\$$as_ac_var
11477 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11478 printf "%s\n" "$ac_res" >&6; }
11479 if eval test \"x\$"$as_ac_var"\" = x"yes"
11481 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wpointer-arith"
11483 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wlogical-op" |
$as_tr_sh`
11484 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wlogical-op" >&5
11485 printf %s "checking whether $CC supports -Wlogical-op... " >&6; }
11486 if eval test \${$as_ac_var+y}
11488 printf %s "(cached) " >&6
11490 ac_wine_try_cflags_saved=$CFLAGS
11491 ac_wine_try_cflags_saved_exeext=$ac_exeext
11492 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wlogical-op"
11494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11495 /* end confdefs.h. */
11496 void *__os_arm64x_dispatch_ret = 0;
11497 int __cdecl mainCRTStartup(void) { return 0; }
11499 if ac_fn_c_try_link "$LINENO"
11501 eval "$as_ac_var=yes"
11503 eval "$as_ac_var=no"
11505 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11506 conftest$ac_exeext conftest.$ac_ext
11507 CFLAGS=$ac_wine_try_cflags_saved
11508 ac_exeext=$ac_wine_try_cflags_saved_exeext
11510 eval ac_res=\$$as_ac_var
11511 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11512 printf "%s\n" "$ac_res" >&6; }
11513 if eval test \"x\$"$as_ac_var"\" = x"yes"
11515 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wlogical-op"
11517 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wabsolute-value" |
$as_tr_sh`
11518 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wabsolute-value" >&5
11519 printf %s "checking whether $CC supports -Wabsolute-value... " >&6; }
11520 if eval test \${$as_ac_var+y}
11522 printf %s "(cached) " >&6
11524 ac_wine_try_cflags_saved=$CFLAGS
11525 ac_wine_try_cflags_saved_exeext=$ac_exeext
11526 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wabsolute-value"
11528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11529 /* end confdefs.h. */
11530 void *__os_arm64x_dispatch_ret = 0;
11531 int __cdecl mainCRTStartup(void) { return 0; }
11533 if ac_fn_c_try_link "$LINENO"
11535 eval "$as_ac_var=yes"
11537 eval "$as_ac_var=no"
11539 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11540 conftest$ac_exeext conftest.$ac_ext
11541 CFLAGS=$ac_wine_try_cflags_saved
11542 ac_exeext=$ac_wine_try_cflags_saved_exeext
11544 eval ac_res=\$$as_ac_var
11545 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11546 printf "%s\n" "$ac_res" >&6; }
11547 if eval test \"x\$"$as_ac_var"\" = x"yes"
11549 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wabsolute-value"
11551 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wenum-enum-conversion" |
$as_tr_sh`
11552 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wenum-enum-conversion" >&5
11553 printf %s "checking whether $CC supports -Wenum-enum-conversion... " >&6; }
11554 if eval test \${$as_ac_var+y}
11556 printf %s "(cached) " >&6
11558 ac_wine_try_cflags_saved=$CFLAGS
11559 ac_wine_try_cflags_saved_exeext=$ac_exeext
11560 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wenum-enum-conversion"
11562 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11563 /* end confdefs.h. */
11564 void *__os_arm64x_dispatch_ret = 0;
11565 int __cdecl mainCRTStartup(void) { return 0; }
11567 if ac_fn_c_try_link "$LINENO"
11569 eval "$as_ac_var=yes"
11571 eval "$as_ac_var=no"
11573 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11574 conftest$ac_exeext conftest.$ac_ext
11575 CFLAGS=$ac_wine_try_cflags_saved
11576 ac_exeext=$ac_wine_try_cflags_saved_exeext
11578 eval ac_res=\$$as_ac_var
11579 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11580 printf "%s\n" "$ac_res" >&6; }
11581 if eval test \"x\$"$as_ac_var"\" = x"yes"
11585 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wenum-conversion" |
$as_tr_sh`
11586 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wenum-conversion" >&5
11587 printf %s "checking whether $CC supports -Wenum-conversion... " >&6; }
11588 if eval test \${$as_ac_var+y}
11590 printf %s "(cached) " >&6
11592 ac_wine_try_cflags_saved=$CFLAGS
11593 ac_wine_try_cflags_saved_exeext=$ac_exeext
11594 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wenum-conversion"
11596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11597 /* end confdefs.h. */
11598 void *__os_arm64x_dispatch_ret = 0;
11599 int __cdecl mainCRTStartup(void) { return 0; }
11601 if ac_fn_c_try_link "$LINENO"
11603 eval "$as_ac_var=yes"
11605 eval "$as_ac_var=no"
11607 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11608 conftest$ac_exeext conftest.$ac_ext
11609 CFLAGS=$ac_wine_try_cflags_saved
11610 ac_exeext=$ac_wine_try_cflags_saved_exeext
11612 eval ac_res=\$$as_ac_var
11613 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11614 printf "%s\n" "$ac_res" >&6; }
11615 if eval test \"x\$"$as_ac_var"\" = x"yes"
11617 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wenum-conversion"
11621 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-flarge-source-files -Wmisleading-indentation" |
$as_tr_sh`
11622 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -flarge-source-files -Wmisleading-indentation" >&5
11623 printf %s "checking whether $CC supports -flarge-source-files -Wmisleading-indentation... " >&6; }
11624 if eval test \${$as_ac_var+y}
11626 printf %s "(cached) " >&6
11628 ac_wine_try_cflags_saved=$CFLAGS
11629 ac_wine_try_cflags_saved_exeext=$ac_exeext
11630 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -flarge-source-files -Wmisleading-indentation"
11632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11633 /* end confdefs.h. */
11634 void *__os_arm64x_dispatch_ret = 0;
11635 int __cdecl mainCRTStartup(void) { return 0; }
11637 if ac_fn_c_try_link "$LINENO"
11639 eval "$as_ac_var=yes"
11641 eval "$as_ac_var=no"
11643 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11644 conftest$ac_exeext conftest.$ac_ext
11645 CFLAGS=$ac_wine_try_cflags_saved
11646 ac_exeext=$ac_wine_try_cflags_saved_exeext
11648 eval ac_res=\$$as_ac_var
11649 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11650 printf "%s\n" "$ac_res" >&6; }
11651 if eval test \"x\$"$as_ac_var"\" = x"yes"
11653 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wno-misleading-indentation"
11657 i386) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-fno-omit-frame-pointer" |
$as_tr_sh`
11658 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -fno-omit-frame-pointer" >&5
11659 printf %s "checking whether $CC supports -fno-omit-frame-pointer... " >&6; }
11660 if eval test \${$as_ac_var+y}
11662 printf %s "(cached) " >&6
11664 ac_wine_try_cflags_saved=$CFLAGS
11665 ac_wine_try_cflags_saved_exeext=$ac_exeext
11666 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -fno-omit-frame-pointer"
11668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11669 /* end confdefs.h. */
11670 void *__os_arm64x_dispatch_ret = 0;
11671 int __cdecl mainCRTStartup(void) { return 0; }
11673 if ac_fn_c_try_link "$LINENO"
11675 eval "$as_ac_var=yes"
11677 eval "$as_ac_var=no"
11679 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11680 conftest$ac_exeext conftest.$ac_ext
11681 CFLAGS=$ac_wine_try_cflags_saved
11682 ac_exeext=$ac_wine_try_cflags_saved_exeext
11684 eval ac_res=\$$as_ac_var
11685 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11686 printf "%s\n" "$ac_res" >&6; }
11687 if eval test \"x\$"$as_ac_var"\" = x"yes"
11689 as_fn_append ${wine_arch}_EXTRACFLAGS " -fno-omit-frame-pointer"
11691 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-mpreferred-stack-boundary=2" |
$as_tr_sh`
11692 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mpreferred-stack-boundary=2" >&5
11693 printf %s "checking whether $CC supports -mpreferred-stack-boundary=2... " >&6; }
11694 if eval test \${$as_ac_var+y}
11696 printf %s "(cached) " >&6
11698 ac_wine_try_cflags_saved=$CFLAGS
11699 ac_wine_try_cflags_saved_exeext=$ac_exeext
11700 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -mpreferred-stack-boundary=2"
11702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11703 /* end confdefs.h. */
11704 void *__os_arm64x_dispatch_ret = 0;
11705 int __cdecl mainCRTStartup(void) { return 0; }
11707 if ac_fn_c_try_link "$LINENO"
11709 eval "$as_ac_var=yes"
11711 eval "$as_ac_var=no"
11713 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11714 conftest$ac_exeext conftest.$ac_ext
11715 CFLAGS=$ac_wine_try_cflags_saved
11716 ac_exeext=$ac_wine_try_cflags_saved_exeext
11718 eval ac_res=\$$as_ac_var
11719 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11720 printf "%s\n" "$ac_res" >&6; }
11721 if eval test \"x\$"$as_ac_var"\" = x"yes"
11723 as_fn_append ${wine_arch}_EXTRACFLAGS " -mpreferred-stack-boundary=2"
11725 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wl,--disable-stdcall-fixup" |
$as_tr_sh`
11726 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wl,--disable-stdcall-fixup" >&5
11727 printf %s "checking whether $CC supports -Wl,--disable-stdcall-fixup... " >&6; }
11728 if eval test \${$as_ac_var+y}
11730 printf %s "(cached) " >&6
11732 ac_wine_try_cflags_saved=$CFLAGS
11733 ac_wine_try_cflags_saved_exeext=$ac_exeext
11734 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wl,--disable-stdcall-fixup"
11736 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11737 /* end confdefs.h. */
11738 void *__os_arm64x_dispatch_ret = 0;
11739 int __cdecl mainCRTStartup(void) { return 0; }
11741 if ac_fn_c_try_link "$LINENO"
11743 eval "$as_ac_var=yes"
11745 eval "$as_ac_var=no"
11747 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11748 conftest$ac_exeext conftest.$ac_ext
11749 CFLAGS=$ac_wine_try_cflags_saved
11750 ac_exeext=$ac_wine_try_cflags_saved_exeext
11752 eval ac_res=\$$as_ac_var
11753 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11754 printf "%s\n" "$ac_res" >&6; }
11755 if eval test \"x\$"$as_ac_var"\" = x"yes"
11757 as_fn_append ${wine_arch}_LDFLAGS " -Wl,--disable-stdcall-fixup"
11759 x86_64) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wformat-overflow" |
$as_tr_sh`
11760 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wformat-overflow" >&5
11761 printf %s "checking whether $CC supports -Wformat-overflow... " >&6; }
11762 if eval test \${$as_ac_var+y}
11764 printf %s "(cached) " >&6
11766 ac_wine_try_cflags_saved=$CFLAGS
11767 ac_wine_try_cflags_saved_exeext=$ac_exeext
11768 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wformat-overflow"
11770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11771 /* end confdefs.h. */
11772 void *__os_arm64x_dispatch_ret = 0;
11773 int __cdecl mainCRTStartup(void) { return 0; }
11775 if ac_fn_c_try_link "$LINENO"
11777 eval "$as_ac_var=yes"
11779 eval "$as_ac_var=no"
11781 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11782 conftest$ac_exeext conftest.$ac_ext
11783 CFLAGS=$ac_wine_try_cflags_saved
11784 ac_exeext=$ac_wine_try_cflags_saved_exeext
11786 eval ac_res=\$$as_ac_var
11787 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11788 printf "%s\n" "$ac_res" >&6; }
11789 if eval test \"x\$"$as_ac_var"\" = x"yes"
11791 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wformat-overflow"
11793 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wnonnull" |
$as_tr_sh`
11794 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wnonnull" >&5
11795 printf %s "checking whether $CC supports -Wnonnull... " >&6; }
11796 if eval test \${$as_ac_var+y}
11798 printf %s "(cached) " >&6
11800 ac_wine_try_cflags_saved=$CFLAGS
11801 ac_wine_try_cflags_saved_exeext=$ac_exeext
11802 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wnonnull"
11804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11805 /* end confdefs.h. */
11806 void *__os_arm64x_dispatch_ret = 0;
11807 int __cdecl mainCRTStartup(void) { return 0; }
11809 if ac_fn_c_try_link "$LINENO"
11811 eval "$as_ac_var=yes"
11813 eval "$as_ac_var=no"
11815 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11816 conftest$ac_exeext conftest.$ac_ext
11817 CFLAGS=$ac_wine_try_cflags_saved
11818 ac_exeext=$ac_wine_try_cflags_saved_exeext
11820 eval ac_res=\$$as_ac_var
11821 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11822 printf "%s\n" "$ac_res" >&6; }
11823 if eval test \"x\$"$as_ac_var"\" = x"yes"
11825 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wnonnull"
11827 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-mcx16" |
$as_tr_sh`
11828 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mcx16" >&5
11829 printf %s "checking whether $CC supports -mcx16... " >&6; }
11830 if eval test \${$as_ac_var+y}
11832 printf %s "(cached) " >&6
11834 ac_wine_try_cflags_saved=$CFLAGS
11835 ac_wine_try_cflags_saved_exeext=$ac_exeext
11836 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -mcx16"
11838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11839 /* end confdefs.h. */
11840 void *__os_arm64x_dispatch_ret = 0;
11841 int __cdecl mainCRTStartup(void) { return 0; }
11843 if ac_fn_c_try_link "$LINENO"
11845 eval "$as_ac_var=yes"
11847 eval "$as_ac_var=no"
11849 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11850 conftest$ac_exeext conftest.$ac_ext
11851 CFLAGS=$ac_wine_try_cflags_saved
11852 ac_exeext=$ac_wine_try_cflags_saved_exeext
11854 eval ac_res=\$$as_ac_var
11855 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11856 printf "%s\n" "$ac_res" >&6; }
11857 if eval test \"x\$"$as_ac_var"\" = x"yes"
11859 as_fn_append ${wine_arch}_EXTRACFLAGS " -mcx16"
11861 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-mcmodel=small" |
$as_tr_sh`
11862 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mcmodel=small" >&5
11863 printf %s "checking whether $CC supports -mcmodel=small... " >&6; }
11864 if eval test \${$as_ac_var+y}
11866 printf %s "(cached) " >&6
11868 ac_wine_try_cflags_saved=$CFLAGS
11869 ac_wine_try_cflags_saved_exeext=$ac_exeext
11870 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -mcmodel=small"
11872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11873 /* end confdefs.h. */
11874 void *__os_arm64x_dispatch_ret = 0;
11875 int __cdecl mainCRTStartup(void) { return 0; }
11877 if ac_fn_c_try_link "$LINENO"
11879 eval "$as_ac_var=yes"
11881 eval "$as_ac_var=no"
11883 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11884 conftest$ac_exeext conftest.$ac_ext
11885 CFLAGS=$ac_wine_try_cflags_saved
11886 ac_exeext=$ac_wine_try_cflags_saved_exeext
11888 eval ac_res=\$$as_ac_var
11889 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11890 printf "%s\n" "$ac_res" >&6; }
11891 if eval test \"x\$"$as_ac_var"\" = x"yes"
11893 as_fn_append ${wine_arch}_EXTRACFLAGS " -mcmodel=small"
11897 wine_crossdebug=$CROSSDEBUG
11898 if test -z "$wine_crossdebug"
11900 for ac_flag in $CFLAGS; do
11902 -gdwarf*) wine_crossdebug=dwarf ;;
11903 -gcodeview) wine_crossdebug=pdb ;;
11904 -g) wine_crossdebug=${wine_crossdebug:-dwarf} ;;
11909 ac_debug_format_seen=""
11910 for ac_flag in $CFLAGS; do
11912 -gdwarf*|-gcodeview) ac_debug_format_seen=$ac_flag ;;
11915 if test "x$ac_debug_format_seen" = x
11917 case $wine_crossdebug in
11918 *dwarf) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-gdwarf-4" |
$as_tr_sh`
11919 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -gdwarf-4" >&5
11920 printf %s "checking whether $CC supports -gdwarf-4... " >&6; }
11921 if eval test \${$as_ac_var+y}
11923 printf %s "(cached) " >&6
11925 ac_wine_try_cflags_saved=$CFLAGS
11926 ac_wine_try_cflags_saved_exeext=$ac_exeext
11927 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -gdwarf-4"
11929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11930 /* end confdefs.h. */
11931 void *__os_arm64x_dispatch_ret = 0;
11932 int __cdecl mainCRTStartup(void) { return 0; }
11934 if ac_fn_c_try_link "$LINENO"
11936 eval "$as_ac_var=yes"
11938 eval "$as_ac_var=no"
11940 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11941 conftest$ac_exeext conftest.$ac_ext
11942 CFLAGS=$ac_wine_try_cflags_saved
11943 ac_exeext=$ac_wine_try_cflags_saved_exeext
11945 eval ac_res=\$$as_ac_var
11946 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11947 printf "%s\n" "$ac_res" >&6; }
11948 if eval test \"x\$"$as_ac_var"\" = x"yes"
11950 as_fn_append ${wine_arch}_EXTRACFLAGS " -gdwarf-4"
11952 pdb) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-gcodeview" |
$as_tr_sh`
11953 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -gcodeview" >&5
11954 printf %s "checking whether $CC supports -gcodeview... " >&6; }
11955 if eval test \${$as_ac_var+y}
11957 printf %s "(cached) " >&6
11959 ac_wine_try_cflags_saved=$CFLAGS
11960 ac_wine_try_cflags_saved_exeext=$ac_exeext
11961 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -gcodeview"
11963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11964 /* end confdefs.h. */
11965 void *__os_arm64x_dispatch_ret = 0;
11966 int __cdecl mainCRTStartup(void) { return 0; }
11968 if ac_fn_c_try_link "$LINENO"
11970 eval "$as_ac_var=yes"
11972 eval "$as_ac_var=no"
11974 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11975 conftest$ac_exeext conftest.$ac_ext
11976 CFLAGS=$ac_wine_try_cflags_saved
11977 ac_exeext=$ac_wine_try_cflags_saved_exeext
11979 eval ac_res=\$$as_ac_var
11980 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11981 printf "%s\n" "$ac_res" >&6; }
11982 if eval test \"x\$"$as_ac_var"\" = x"yes"
11984 as_fn_append ${wine_arch}_EXTRACFLAGS " -gcodeview"
11988 eval "${wine_arch}_DEBUG=\$wine_crossdebug"
11990 test "x$enable_werror" != xyes || { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Werror" |
$as_tr_sh`
11991 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Werror" >&5
11992 printf %s "checking whether $CC supports -Werror... " >&6; }
11993 if eval test \${$as_ac_var+y}
11995 printf %s "(cached) " >&6
11997 ac_wine_try_cflags_saved=$CFLAGS
11998 ac_wine_try_cflags_saved_exeext=$ac_exeext
11999 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Werror"
12001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12002 /* end confdefs.h. */
12003 void *__os_arm64x_dispatch_ret = 0;
12004 int __cdecl mainCRTStartup(void) { return 0; }
12006 if ac_fn_c_try_link "$LINENO"
12008 eval "$as_ac_var=yes"
12010 eval "$as_ac_var=no"
12012 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12013 conftest$ac_exeext conftest.$ac_ext
12014 CFLAGS=$ac_wine_try_cflags_saved
12015 ac_exeext=$ac_wine_try_cflags_saved_exeext
12017 eval ac_res=\$$as_ac_var
12018 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
12019 printf "%s\n" "$ac_res" >&6; }
12020 if eval test \"x\$"$as_ac_var"\" = x"yes"
12022 as_fn_append ${wine_arch}_EXTRACFLAGS " -Werror"
12024 test "x$enable_build_id" != xyes || { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wl,--build-id" |
$as_tr_sh`
12025 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wl,--build-id" >&5
12026 printf %s "checking whether $CC supports -Wl,--build-id... " >&6; }
12027 if eval test \${$as_ac_var+y}
12029 printf %s "(cached) " >&6
12031 ac_wine_try_cflags_saved=$CFLAGS
12032 ac_wine_try_cflags_saved_exeext=$ac_exeext
12033 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wl,--build-id"
12035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12036 /* end confdefs.h. */
12037 void *__os_arm64x_dispatch_ret = 0;
12038 int __cdecl mainCRTStartup(void) { return 0; }
12040 if ac_fn_c_try_link "$LINENO"
12042 eval "$as_ac_var=yes"
12044 eval "$as_ac_var=no"
12046 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12047 conftest$ac_exeext conftest.$ac_ext
12048 CFLAGS=$ac_wine_try_cflags_saved
12049 ac_exeext=$ac_wine_try_cflags_saved_exeext
12051 eval ac_res=\$$as_ac_var
12052 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
12053 printf "%s\n" "$ac_res" >&6; }
12054 if eval test \"x\$"$as_ac_var"\" = x"yes"
12056 as_fn_append ${wine_arch}_CFLAGS " -Wl,--build-id"
12057 as_fn_append ${wine_arch}_LDFLAGS " -Wl,--build-id"
12063 CFLAGS=$saved_CFLAGS
12064 LDFLAGS=$saved_LDFLAGS
12068 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
12071 if test "x$PE_ARCHS" = "x"
12073 case "x$with_mingw" in
12074 x) as_fn_append wine_notices "|Suitable PE cross-compiler not found, PE files won't be built." ;;
12076 *) as_fn_error $? "Suitable PE cross-compiler not found, PE files won't be built.
12077 This is an error since --with-mingw was requested." "$LINENO" 5 ;;
12084 if test "x$with_system_dllpath" != "x" -a -n "$PE_ARCHS"
12086 if test "x$HOST_ARCH" = xi386
12088 ac_prefix_list="i686-w64-mingw32-pkg-config i586-w64-mingw32-pkg-config i486-w64-mingw32-pkg-config i386-w64-mingw32-pkg-config "
12090 ac_prefix_list="$host_cpu-w64-mingw32-pkg-config"
12092 for ac_prog in $ac_prefix_list
12094 # Extract the first word of "$ac_prog", so it can be a program name with args.
12095 set dummy $ac_prog; ac_word=$2
12096 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12097 printf %s "checking for $ac_word... " >&6; }
12098 if test ${ac_cv_prog_MINGW_PKG_CONFIG+y}
12100 printf %s "(cached) " >&6
12102 if test -n "$MINGW_PKG_CONFIG"; then
12103 ac_cv_prog_MINGW_PKG_CONFIG="$MINGW_PKG_CONFIG" # Let the user override the test.
12105 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12106 for as_dir in $PATH
12109 case $as_dir in #(((
12112 *) as_dir=$as_dir/ ;;
12114 for ac_exec_ext in '' $ac_executable_extensions; do
12115 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
12116 ac_cv_prog_MINGW_PKG_CONFIG="$ac_prog"
12117 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
12126 MINGW_PKG_CONFIG=$ac_cv_prog_MINGW_PKG_CONFIG
12127 if test -n "$MINGW_PKG_CONFIG"; then
12128 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MINGW_PKG_CONFIG" >&5
12129 printf "%s\n" "$MINGW_PKG_CONFIG" >&6; }
12131 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
12132 printf "%s\n" "no" >&6; }
12136 test -n "$MINGW_PKG_CONFIG" && break
12138 test -n "$MINGW_PKG_CONFIG" || MINGW_PKG_CONFIG="false"
12140 if ${FAUDIO_PE_CFLAGS:+false} :
12142 if test ${MINGW_PKG_CONFIG+y}
12144 FAUDIO_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags FAudio
2>/dev
/null
`
12147 if ${FAUDIO_PE_LIBS:+false} :
12149 if test ${MINGW_PKG_CONFIG+y}
12151 FAUDIO_PE_LIBS=`$MINGW_PKG_CONFIG --libs FAudio
2>/dev
/null
`
12154 FAUDIO_PE_LIBS=${FAUDIO_PE_LIBS:-"-lFAudio"}
12155 ac_save_CPPFLAGS=$CPPFLAGS
12156 CPPFLAGS="$CPPFLAGS $FAUDIO_PE_CFLAGS"
12157 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW FAudio.h" >&5
12158 printf %s "checking for MinGW FAudio.h... " >&6; }
12159 if test ${ac_cv_mingw_header_FAudio_h+y}
12161 printf %s "(cached) " >&6
12163 ac_wine_check_headers_saved_cc=$CC
12164 ac_wine_check_headers_saved_exeext=$ac_exeext
12165 eval CC=\$${wine_arch}_CC
12167 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12168 /* end confdefs.h. */
12170 #include <FAudio.h>
12179 if ac_fn_c_try_compile "$LINENO"
12181 ac_cv_mingw_header_FAudio_h=yes
12183 ac_cv_mingw_header_FAudio_h=no
12185 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12186 CC=$ac_wine_check_headers_saved_cc
12187 ac_exeext=$ac_wine_check_headers_saved_exeext
12189 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_FAudio_h" >&5
12190 printf "%s\n" "$ac_cv_mingw_header_FAudio_h" >&6; }
12191 if test "x$ac_cv_mingw_header_FAudio_h" = xyes
12193 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for FAudio_CommitOperationSet in MinGW -lFAudio" >&5
12194 printf %s "checking for FAudio_CommitOperationSet in MinGW -lFAudio... " >&6; }
12195 if test ${ac_cv_mingw_lib_FAudio+y}
12197 printf %s "(cached) " >&6
12199 ac_wine_check_headers_saved_cc=$CC
12200 ac_wine_check_headers_saved_exeext=$ac_exeext
12201 ac_wine_check_headers_saved_libs=$LIBS
12202 eval CC=\$${wine_arch}_CC
12204 LIBS="-lFAudio $FAUDIO_PE_LIBS $LIBS"
12205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12206 /* end confdefs.h. */
12208 /* Override any GCC internal prototype to avoid an error.
12209 Use char because int might match the return type of a GCC
12210 builtin and then its argument prototype would still apply. */
12211 char FAudio_CommitOperationSet ();
12215 return FAudio_CommitOperationSet ();
12220 if ac_fn_c_try_link "$LINENO"
12222 ac_cv_mingw_lib_FAudio=yes
12224 ac_cv_mingw_lib_FAudio=no
12226 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12227 conftest$ac_exeext conftest.$ac_ext
12228 CC=$ac_wine_check_headers_saved_cc
12229 ac_exeext=$ac_wine_check_headers_saved_exeext
12230 LIBS=$ac_wine_check_headers_saved_libs
12232 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_FAudio" >&5
12233 printf "%s\n" "$ac_cv_mingw_lib_FAudio" >&6; }
12234 if test "x$ac_cv_mingw_lib_FAudio" = xyes
12238 FAUDIO_PE_CFLAGS=""; FAUDIO_PE_LIBS=""
12241 FAUDIO_PE_CFLAGS=""; FAUDIO_PE_LIBS=""
12243 CPPFLAGS=$ac_save_CPPFLAGS
12245 if test "x$FAUDIO_PE_LIBS" = "x"
12247 as_fn_append wine_notices "|FAudio ${notice_platform}MinGW development files not found (or too old); using bundled version."
12250 if ${FLUIDSYNTH_PE_CFLAGS:+false} :
12252 if test ${MINGW_PKG_CONFIG+y}
12254 FLUIDSYNTH_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags fluidsynth
2>/dev
/null
`
12257 if ${FLUIDSYNTH_PE_LIBS:+false} :
12259 if test ${MINGW_PKG_CONFIG+y}
12261 FLUIDSYNTH_PE_LIBS=`$MINGW_PKG_CONFIG --libs fluidsynth
2>/dev
/null
`
12264 FLUIDSYNTH_PE_LIBS=${FLUIDSYNTH_PE_LIBS:-"-lfluidsynth"}
12265 ac_save_CPPFLAGS=$CPPFLAGS
12266 CPPFLAGS="$CPPFLAGS $FLUIDSYNTH_PE_CFLAGS"
12267 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW fluidsynth.h" >&5
12268 printf %s "checking for MinGW fluidsynth.h... " >&6; }
12269 if test ${ac_cv_mingw_header_fluidsynth_h+y}
12271 printf %s "(cached) " >&6
12273 ac_wine_check_headers_saved_cc=$CC
12274 ac_wine_check_headers_saved_exeext=$ac_exeext
12275 eval CC=\$${wine_arch}_CC
12277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12278 /* end confdefs.h. */
12280 #include <fluidsynth.h>
12289 if ac_fn_c_try_compile "$LINENO"
12291 ac_cv_mingw_header_fluidsynth_h=yes
12293 ac_cv_mingw_header_fluidsynth_h=no
12295 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12296 CC=$ac_wine_check_headers_saved_cc
12297 ac_exeext=$ac_wine_check_headers_saved_exeext
12299 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_fluidsynth_h" >&5
12300 printf "%s\n" "$ac_cv_mingw_header_fluidsynth_h" >&6; }
12301 if test "x$ac_cv_mingw_header_fluidsynth_h" = xyes
12303 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for new_fluid_synth in MinGW -lfluidsynth" >&5
12304 printf %s "checking for new_fluid_synth in MinGW -lfluidsynth... " >&6; }
12305 if test ${ac_cv_mingw_lib_fluidsynth+y}
12307 printf %s "(cached) " >&6
12309 ac_wine_check_headers_saved_cc=$CC
12310 ac_wine_check_headers_saved_exeext=$ac_exeext
12311 ac_wine_check_headers_saved_libs=$LIBS
12312 eval CC=\$${wine_arch}_CC
12314 LIBS="-lfluidsynth $FLUIDSYNTH_PE_LIBS $LIBS"
12315 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12316 /* end confdefs.h. */
12318 /* Override any GCC internal prototype to avoid an error.
12319 Use char because int might match the return type of a GCC
12320 builtin and then its argument prototype would still apply. */
12321 char new_fluid_synth ();
12325 return new_fluid_synth ();
12330 if ac_fn_c_try_link "$LINENO"
12332 ac_cv_mingw_lib_fluidsynth=yes
12334 ac_cv_mingw_lib_fluidsynth=no
12336 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12337 conftest$ac_exeext conftest.$ac_ext
12338 CC=$ac_wine_check_headers_saved_cc
12339 ac_exeext=$ac_wine_check_headers_saved_exeext
12340 LIBS=$ac_wine_check_headers_saved_libs
12342 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_fluidsynth" >&5
12343 printf "%s\n" "$ac_cv_mingw_lib_fluidsynth" >&6; }
12344 if test "x$ac_cv_mingw_lib_fluidsynth" = xyes
12348 FLUIDSYNTH_PE_CFLAGS=""; FLUIDSYNTH_PE_LIBS=""
12351 FLUIDSYNTH_PE_CFLAGS=""; FLUIDSYNTH_PE_LIBS=""
12353 CPPFLAGS=$ac_save_CPPFLAGS
12355 if test "x$FLUIDSYNTH_PE_LIBS" = "x"
12357 as_fn_append wine_notices "|Fluidsynth ${notice_platform}MinGW development files not found (or too old); using bundled version."
12360 if ${JPEG_PE_CFLAGS:+false} :
12362 if test ${MINGW_PKG_CONFIG+y}
12364 JPEG_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libjpeg
2>/dev
/null
`
12367 if ${JPEG_PE_LIBS:+false} :
12369 if test ${MINGW_PKG_CONFIG+y}
12371 JPEG_PE_LIBS=`$MINGW_PKG_CONFIG --libs libjpeg
2>/dev
/null
`
12375 ac_save_CPPFLAGS=$CPPFLAGS
12376 CPPFLAGS="$CPPFLAGS $JPEG_PE_CFLAGS"
12377 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW jpeglib.h" >&5
12378 printf %s "checking for MinGW jpeglib.h... " >&6; }
12379 if test ${ac_cv_mingw_header_jpeglib_h+y}
12381 printf %s "(cached) " >&6
12383 ac_wine_check_headers_saved_cc=$CC
12384 ac_wine_check_headers_saved_exeext=$ac_exeext
12385 eval CC=\$${wine_arch}_CC
12387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12388 /* end confdefs.h. */
12389 #include <stddef.h>
12391 #include <jpeglib.h>
12400 if ac_fn_c_try_compile "$LINENO"
12402 ac_cv_mingw_header_jpeglib_h=yes
12404 ac_cv_mingw_header_jpeglib_h=no
12406 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12407 CC=$ac_wine_check_headers_saved_cc
12408 ac_exeext=$ac_wine_check_headers_saved_exeext
12410 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_jpeglib_h" >&5
12411 printf "%s\n" "$ac_cv_mingw_header_jpeglib_h" >&6; }
12412 if test "x$ac_cv_mingw_header_jpeglib_h" = xyes
12414 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for jpeg_start_decompress in MinGW -ljpeg" >&5
12415 printf %s "checking for jpeg_start_decompress in MinGW -ljpeg... " >&6; }
12416 if test ${ac_cv_mingw_lib_jpeg+y}
12418 printf %s "(cached) " >&6
12420 ac_wine_check_headers_saved_cc=$CC
12421 ac_wine_check_headers_saved_exeext=$ac_exeext
12422 ac_wine_check_headers_saved_libs=$LIBS
12423 eval CC=\$${wine_arch}_CC
12425 LIBS="-ljpeg $JPEG_PE_LIBS $LIBS"
12426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12427 /* end confdefs.h. */
12429 /* Override any GCC internal prototype to avoid an error.
12430 Use char because int might match the return type of a GCC
12431 builtin and then its argument prototype would still apply. */
12432 char jpeg_start_decompress ();
12436 return jpeg_start_decompress ();
12441 if ac_fn_c_try_link "$LINENO"
12443 ac_cv_mingw_lib_jpeg=yes
12445 ac_cv_mingw_lib_jpeg=no
12447 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12448 conftest$ac_exeext conftest.$ac_ext
12449 CC=$ac_wine_check_headers_saved_cc
12450 ac_exeext=$ac_wine_check_headers_saved_exeext
12451 LIBS=$ac_wine_check_headers_saved_libs
12453 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_jpeg" >&5
12454 printf "%s\n" "$ac_cv_mingw_lib_jpeg" >&6; }
12455 if test "x$ac_cv_mingw_lib_jpeg" = xyes
12459 JPEG_PE_CFLAGS=""; JPEG_PE_LIBS=""
12462 JPEG_PE_CFLAGS=""; JPEG_PE_LIBS=""
12464 CPPFLAGS=$ac_save_CPPFLAGS
12466 if test "x$JPEG_PE_LIBS" = "x"
12468 as_fn_append wine_notices "|libjpeg ${notice_platform}MinGW development files not found; using bundled version."
12471 if ${LCMS2_PE_CFLAGS:+false} :
12473 if test ${MINGW_PKG_CONFIG+y}
12475 LCMS2_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags lcms2
2>/dev
/null
`
12478 if ${LCMS2_PE_LIBS:+false} :
12480 if test ${MINGW_PKG_CONFIG+y}
12482 LCMS2_PE_LIBS=`$MINGW_PKG_CONFIG --libs lcms2
2>/dev
/null
`
12485 LCMS2_PE_LIBS=${LCMS2_PE_LIBS:-"-llcms2"}
12486 ac_save_CPPFLAGS=$CPPFLAGS
12487 CPPFLAGS="$CPPFLAGS $LCMS2_PE_CFLAGS"
12488 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW lcms2.h" >&5
12489 printf %s "checking for MinGW lcms2.h... " >&6; }
12490 if test ${ac_cv_mingw_header_lcms2_h+y}
12492 printf %s "(cached) " >&6
12494 ac_wine_check_headers_saved_cc=$CC
12495 ac_wine_check_headers_saved_exeext=$ac_exeext
12496 eval CC=\$${wine_arch}_CC
12498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12499 /* end confdefs.h. */
12510 if ac_fn_c_try_compile "$LINENO"
12512 ac_cv_mingw_header_lcms2_h=yes
12514 ac_cv_mingw_header_lcms2_h=no
12516 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12517 CC=$ac_wine_check_headers_saved_cc
12518 ac_exeext=$ac_wine_check_headers_saved_exeext
12520 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_lcms2_h" >&5
12521 printf "%s\n" "$ac_cv_mingw_header_lcms2_h" >&6; }
12522 if test "x$ac_cv_mingw_header_lcms2_h" = xyes
12524 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in MinGW -llcms2" >&5
12525 printf %s "checking for cmsOpenProfileFromFile in MinGW -llcms2... " >&6; }
12526 if test ${ac_cv_mingw_lib_lcms2+y}
12528 printf %s "(cached) " >&6
12530 ac_wine_check_headers_saved_cc=$CC
12531 ac_wine_check_headers_saved_exeext=$ac_exeext
12532 ac_wine_check_headers_saved_libs=$LIBS
12533 eval CC=\$${wine_arch}_CC
12535 LIBS="-llcms2 $LCMS2_PE_LIBS $LIBS"
12536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12537 /* end confdefs.h. */
12539 /* Override any GCC internal prototype to avoid an error.
12540 Use char because int might match the return type of a GCC
12541 builtin and then its argument prototype would still apply. */
12542 char cmsOpenProfileFromFile ();
12546 return cmsOpenProfileFromFile ();
12551 if ac_fn_c_try_link "$LINENO"
12553 ac_cv_mingw_lib_lcms2=yes
12555 ac_cv_mingw_lib_lcms2=no
12557 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12558 conftest$ac_exeext conftest.$ac_ext
12559 CC=$ac_wine_check_headers_saved_cc
12560 ac_exeext=$ac_wine_check_headers_saved_exeext
12561 LIBS=$ac_wine_check_headers_saved_libs
12563 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_lcms2" >&5
12564 printf "%s\n" "$ac_cv_mingw_lib_lcms2" >&6; }
12565 if test "x$ac_cv_mingw_lib_lcms2" = xyes
12569 LCMS2_PE_CFLAGS=""; LCMS2_PE_LIBS=""
12572 LCMS2_PE_CFLAGS=""; LCMS2_PE_LIBS=""
12574 CPPFLAGS=$ac_save_CPPFLAGS
12576 if test "x$LCMS2_PE_LIBS" = "x"
12578 as_fn_append wine_notices "|liblcms2 ${notice_platform}MinGW development files not found; using bundled version."
12581 if ${MPG123_PE_CFLAGS:+false} :
12583 if test ${MINGW_PKG_CONFIG+y}
12585 MPG123_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libmpg123
2>/dev
/null
`
12588 if ${MPG123_PE_LIBS:+false} :
12590 if test ${MINGW_PKG_CONFIG+y}
12592 MPG123_PE_LIBS=`$MINGW_PKG_CONFIG --libs libmpg123
2>/dev
/null
`
12595 MPG123_PE_LIBS=${MPG123_PE_LIBS:-"-lmpg123"}
12596 ac_save_CPPFLAGS=$CPPFLAGS
12597 CPPFLAGS="$CPPFLAGS $MPG123_PE_CFLAGS"
12598 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW mpg123.h" >&5
12599 printf %s "checking for MinGW mpg123.h... " >&6; }
12600 if test ${ac_cv_mingw_header_mpg123_h+y}
12602 printf %s "(cached) " >&6
12604 ac_wine_check_headers_saved_cc=$CC
12605 ac_wine_check_headers_saved_exeext=$ac_exeext
12606 eval CC=\$${wine_arch}_CC
12608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12609 /* end confdefs.h. */
12611 #include <mpg123.h>
12620 if ac_fn_c_try_compile "$LINENO"
12622 ac_cv_mingw_header_mpg123_h=yes
12624 ac_cv_mingw_header_mpg123_h=no
12626 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12627 CC=$ac_wine_check_headers_saved_cc
12628 ac_exeext=$ac_wine_check_headers_saved_exeext
12630 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_mpg123_h" >&5
12631 printf "%s\n" "$ac_cv_mingw_header_mpg123_h" >&6; }
12632 if test "x$ac_cv_mingw_header_mpg123_h" = xyes
12634 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in MinGW -lmpg123" >&5
12635 printf %s "checking for mpg123_feed in MinGW -lmpg123... " >&6; }
12636 if test ${ac_cv_mingw_lib_mpg123+y}
12638 printf %s "(cached) " >&6
12640 ac_wine_check_headers_saved_cc=$CC
12641 ac_wine_check_headers_saved_exeext=$ac_exeext
12642 ac_wine_check_headers_saved_libs=$LIBS
12643 eval CC=\$${wine_arch}_CC
12645 LIBS="-lmpg123 $MPG123_PE_LIBS $LIBS"
12646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12647 /* end confdefs.h. */
12649 /* Override any GCC internal prototype to avoid an error.
12650 Use char because int might match the return type of a GCC
12651 builtin and then its argument prototype would still apply. */
12652 char mpg123_feed ();
12656 return mpg123_feed ();
12661 if ac_fn_c_try_link "$LINENO"
12663 ac_cv_mingw_lib_mpg123=yes
12665 ac_cv_mingw_lib_mpg123=no
12667 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12668 conftest$ac_exeext conftest.$ac_ext
12669 CC=$ac_wine_check_headers_saved_cc
12670 ac_exeext=$ac_wine_check_headers_saved_exeext
12671 LIBS=$ac_wine_check_headers_saved_libs
12673 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_mpg123" >&5
12674 printf "%s\n" "$ac_cv_mingw_lib_mpg123" >&6; }
12675 if test "x$ac_cv_mingw_lib_mpg123" = xyes
12679 MPG123_PE_CFLAGS=""; MPG123_PE_LIBS=""
12682 MPG123_PE_CFLAGS=""; MPG123_PE_LIBS=""
12684 CPPFLAGS=$ac_save_CPPFLAGS
12686 if test "x$MPG123_PE_LIBS" = "x"
12688 as_fn_append wine_notices "|libmpg123 ${notice_platform}MinGW development files not found (or too old); using bundled version."
12691 if ${PNG_PE_CFLAGS:+false} :
12693 if test ${MINGW_PKG_CONFIG+y}
12695 PNG_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libpng
2>/dev
/null
`
12698 if ${PNG_PE_LIBS:+false} :
12700 if test ${MINGW_PKG_CONFIG+y}
12702 PNG_PE_LIBS=`$MINGW_PKG_CONFIG --libs libpng
2>/dev
/null
`
12706 ac_save_CPPFLAGS=$CPPFLAGS
12707 CPPFLAGS="$CPPFLAGS $PNG_PE_CFLAGS"
12708 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW png.h" >&5
12709 printf %s "checking for MinGW png.h... " >&6; }
12710 if test ${ac_cv_mingw_header_png_h+y}
12712 printf %s "(cached) " >&6
12714 ac_wine_check_headers_saved_cc=$CC
12715 ac_wine_check_headers_saved_exeext=$ac_exeext
12716 eval CC=\$${wine_arch}_CC
12718 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12719 /* end confdefs.h. */
12730 if ac_fn_c_try_compile "$LINENO"
12732 ac_cv_mingw_header_png_h=yes
12734 ac_cv_mingw_header_png_h=no
12736 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12737 CC=$ac_wine_check_headers_saved_cc
12738 ac_exeext=$ac_wine_check_headers_saved_exeext
12740 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_png_h" >&5
12741 printf "%s\n" "$ac_cv_mingw_header_png_h" >&6; }
12742 if test "x$ac_cv_mingw_header_png_h" = xyes
12744 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for png_create_read_struct in MinGW -lpng" >&5
12745 printf %s "checking for png_create_read_struct in MinGW -lpng... " >&6; }
12746 if test ${ac_cv_mingw_lib_png+y}
12748 printf %s "(cached) " >&6
12750 ac_wine_check_headers_saved_cc=$CC
12751 ac_wine_check_headers_saved_exeext=$ac_exeext
12752 ac_wine_check_headers_saved_libs=$LIBS
12753 eval CC=\$${wine_arch}_CC
12755 LIBS="-lpng $PNG_PE_LIBS $LIBS"
12756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12757 /* end confdefs.h. */
12759 /* Override any GCC internal prototype to avoid an error.
12760 Use char because int might match the return type of a GCC
12761 builtin and then its argument prototype would still apply. */
12762 char png_create_read_struct ();
12766 return png_create_read_struct ();
12771 if ac_fn_c_try_link "$LINENO"
12773 ac_cv_mingw_lib_png=yes
12775 ac_cv_mingw_lib_png=no
12777 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12778 conftest$ac_exeext conftest.$ac_ext
12779 CC=$ac_wine_check_headers_saved_cc
12780 ac_exeext=$ac_wine_check_headers_saved_exeext
12781 LIBS=$ac_wine_check_headers_saved_libs
12783 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_png" >&5
12784 printf "%s\n" "$ac_cv_mingw_lib_png" >&6; }
12785 if test "x$ac_cv_mingw_lib_png" = xyes
12789 PNG_PE_CFLAGS=""; PNG_PE_LIBS=""
12792 PNG_PE_CFLAGS=""; PNG_PE_LIBS=""
12794 CPPFLAGS=$ac_save_CPPFLAGS
12796 if test "x$PNG_PE_LIBS" = "x"
12798 as_fn_append wine_notices "|libpng ${notice_platform}MinGW development files not found; using bundled version."
12801 if ${TIFF_PE_CFLAGS:+false} :
12803 if test ${MINGW_PKG_CONFIG+y}
12805 TIFF_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libtiff-4
2>/dev
/null
`
12808 if ${TIFF_PE_LIBS:+false} :
12810 if test ${MINGW_PKG_CONFIG+y}
12812 TIFF_PE_LIBS=`$MINGW_PKG_CONFIG --libs libtiff-4
2>/dev
/null
`
12816 ac_save_CPPFLAGS=$CPPFLAGS
12817 CPPFLAGS="$CPPFLAGS $TIFF_PE_CFLAGS"
12818 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW tiffio.h" >&5
12819 printf %s "checking for MinGW tiffio.h... " >&6; }
12820 if test ${ac_cv_mingw_header_tiffio_h+y}
12822 printf %s "(cached) " >&6
12824 ac_wine_check_headers_saved_cc=$CC
12825 ac_wine_check_headers_saved_exeext=$ac_exeext
12826 eval CC=\$${wine_arch}_CC
12828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12829 /* end confdefs.h. */
12831 #include <tiffio.h>
12840 if ac_fn_c_try_compile "$LINENO"
12842 ac_cv_mingw_header_tiffio_h=yes
12844 ac_cv_mingw_header_tiffio_h=no
12846 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12847 CC=$ac_wine_check_headers_saved_cc
12848 ac_exeext=$ac_wine_check_headers_saved_exeext
12850 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_tiffio_h" >&5
12851 printf "%s\n" "$ac_cv_mingw_header_tiffio_h" >&6; }
12852 if test "x$ac_cv_mingw_header_tiffio_h" = xyes
12854 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for TIFFClientOpen in MinGW -ltiff" >&5
12855 printf %s "checking for TIFFClientOpen in MinGW -ltiff... " >&6; }
12856 if test ${ac_cv_mingw_lib_tiff+y}
12858 printf %s "(cached) " >&6
12860 ac_wine_check_headers_saved_cc=$CC
12861 ac_wine_check_headers_saved_exeext=$ac_exeext
12862 ac_wine_check_headers_saved_libs=$LIBS
12863 eval CC=\$${wine_arch}_CC
12865 LIBS="-ltiff $TIFF_PE_LIBS $LIBS"
12866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12867 /* end confdefs.h. */
12869 /* Override any GCC internal prototype to avoid an error.
12870 Use char because int might match the return type of a GCC
12871 builtin and then its argument prototype would still apply. */
12872 char TIFFClientOpen ();
12876 return TIFFClientOpen ();
12881 if ac_fn_c_try_link "$LINENO"
12883 ac_cv_mingw_lib_tiff=yes
12885 ac_cv_mingw_lib_tiff=no
12887 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12888 conftest$ac_exeext conftest.$ac_ext
12889 CC=$ac_wine_check_headers_saved_cc
12890 ac_exeext=$ac_wine_check_headers_saved_exeext
12891 LIBS=$ac_wine_check_headers_saved_libs
12893 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_tiff" >&5
12894 printf "%s\n" "$ac_cv_mingw_lib_tiff" >&6; }
12895 if test "x$ac_cv_mingw_lib_tiff" = xyes
12899 TIFF_PE_CFLAGS=""; TIFF_PE_LIBS=""
12902 TIFF_PE_CFLAGS=""; TIFF_PE_LIBS=""
12904 CPPFLAGS=$ac_save_CPPFLAGS
12906 if test "x$TIFF_PE_LIBS" = "x"
12908 as_fn_append wine_notices "|libtiff ${notice_platform}MinGW development files not found; using bundled version."
12911 if ${XML2_PE_CFLAGS:+false} :
12913 if test ${MINGW_PKG_CONFIG+y}
12915 XML2_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libxml-2.0
2>/dev
/null
`
12918 if ${XML2_PE_LIBS:+false} :
12920 if test ${MINGW_PKG_CONFIG+y}
12922 XML2_PE_LIBS=`$MINGW_PKG_CONFIG --libs libxml-2.0
2>/dev
/null
`
12925 XML2_PE_LIBS=${XML2_PE_LIBS:-"-lxml2"}
12926 ac_save_CPPFLAGS=$CPPFLAGS
12927 CPPFLAGS="$CPPFLAGS $XML2_PE_CFLAGS"
12928 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/parser.h" >&5
12929 printf %s "checking for MinGW libxml/parser.h... " >&6; }
12930 if test ${ac_cv_mingw_header_libxml_parser_h+y}
12932 printf %s "(cached) " >&6
12934 ac_wine_check_headers_saved_cc=$CC
12935 ac_wine_check_headers_saved_exeext=$ac_exeext
12936 eval CC=\$${wine_arch}_CC
12938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12939 /* end confdefs.h. */
12941 #include <libxml/parser.h>
12950 if ac_fn_c_try_compile "$LINENO"
12952 ac_cv_mingw_header_libxml_parser_h=yes
12954 ac_cv_mingw_header_libxml_parser_h=no
12956 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12957 CC=$ac_wine_check_headers_saved_cc
12958 ac_exeext=$ac_wine_check_headers_saved_exeext
12960 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_parser_h" >&5
12961 printf "%s\n" "$ac_cv_mingw_header_libxml_parser_h" >&6; }
12962 if test "x$ac_cv_mingw_header_libxml_parser_h" = xyes
12966 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/xmlsave.h" >&5
12967 printf %s "checking for MinGW libxml/xmlsave.h... " >&6; }
12968 if test ${ac_cv_mingw_header_libxml_xmlsave_h+y}
12970 printf %s "(cached) " >&6
12972 ac_wine_check_headers_saved_cc=$CC
12973 ac_wine_check_headers_saved_exeext=$ac_exeext
12974 eval CC=\$${wine_arch}_CC
12976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12977 /* end confdefs.h. */
12979 #include <libxml/xmlsave.h>
12988 if ac_fn_c_try_compile "$LINENO"
12990 ac_cv_mingw_header_libxml_xmlsave_h=yes
12992 ac_cv_mingw_header_libxml_xmlsave_h=no
12994 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12995 CC=$ac_wine_check_headers_saved_cc
12996 ac_exeext=$ac_wine_check_headers_saved_exeext
12998 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_xmlsave_h" >&5
12999 printf "%s\n" "$ac_cv_mingw_header_libxml_xmlsave_h" >&6; }
13000 if test "x$ac_cv_mingw_header_libxml_xmlsave_h" = xyes
13004 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/SAX2.h" >&5
13005 printf %s "checking for MinGW libxml/SAX2.h... " >&6; }
13006 if test ${ac_cv_mingw_header_libxml_SAX2_h+y}
13008 printf %s "(cached) " >&6
13010 ac_wine_check_headers_saved_cc=$CC
13011 ac_wine_check_headers_saved_exeext=$ac_exeext
13012 eval CC=\$${wine_arch}_CC
13014 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13015 /* end confdefs.h. */
13017 #include <libxml/SAX2.h>
13026 if ac_fn_c_try_compile "$LINENO"
13028 ac_cv_mingw_header_libxml_SAX2_h=yes
13030 ac_cv_mingw_header_libxml_SAX2_h=no
13032 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
13033 CC=$ac_wine_check_headers_saved_cc
13034 ac_exeext=$ac_wine_check_headers_saved_exeext
13036 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_SAX2_h" >&5
13037 printf "%s\n" "$ac_cv_mingw_header_libxml_SAX2_h" >&6; }
13038 if test "x$ac_cv_mingw_header_libxml_SAX2_h" = xyes
13042 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"
13044 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in MinGW -lxml2" >&5
13045 printf %s "checking for xmlFirstElementChild in MinGW -lxml2... " >&6; }
13046 if test ${ac_cv_mingw_lib_xml2+y}
13048 printf %s "(cached) " >&6
13050 ac_wine_check_headers_saved_cc=$CC
13051 ac_wine_check_headers_saved_exeext=$ac_exeext
13052 ac_wine_check_headers_saved_libs=$LIBS
13053 eval CC=\$${wine_arch}_CC
13055 LIBS="-lxml2 $XML2_PE_LIBS $LIBS"
13056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13057 /* end confdefs.h. */
13059 /* Override any GCC internal prototype to avoid an error.
13060 Use char because int might match the return type of a GCC
13061 builtin and then its argument prototype would still apply. */
13062 char xmlFirstElementChild ();
13066 return xmlFirstElementChild ();
13071 if ac_fn_c_try_link "$LINENO"
13073 ac_cv_mingw_lib_xml2=yes
13075 ac_cv_mingw_lib_xml2=no
13077 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13078 conftest$ac_exeext conftest.$ac_ext
13079 CC=$ac_wine_check_headers_saved_cc
13080 ac_exeext=$ac_wine_check_headers_saved_exeext
13081 LIBS=$ac_wine_check_headers_saved_libs
13083 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_xml2" >&5
13084 printf "%s\n" "$ac_cv_mingw_lib_xml2" >&6; }
13085 if test "x$ac_cv_mingw_lib_xml2" = xyes
13089 XML2_PE_CFLAGS=""; XML2_PE_LIBS=""
13095 CPPFLAGS=$ac_save_CPPFLAGS
13097 if test "x$XML2_PE_LIBS" = "x"
13099 as_fn_append wine_notices "|libxml2 ${notice_platform}MinGW development files not found (or too old); using bundled version."
13102 if ${XSLT_PE_CFLAGS:+false} :
13104 if test ${MINGW_PKG_CONFIG+y}
13106 XSLT_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libxslt
2>/dev
/null
`
13109 if ${XSLT_PE_LIBS:+false} :
13111 if test ${MINGW_PKG_CONFIG+y}
13113 XSLT_PE_LIBS=`$MINGW_PKG_CONFIG --libs libxslt
2>/dev
/null
`
13116 XSLT_PE_LIBS=${XSLT_PE_LIBS:-"-lxslt"}
13117 ac_save_CPPFLAGS=$CPPFLAGS
13118 CPPFLAGS="$CPPFLAGS $XSLT_PE_CFLAGS"
13119 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxslt/pattern.h" >&5
13120 printf %s "checking for MinGW libxslt/pattern.h... " >&6; }
13121 if test ${ac_cv_mingw_header_libxslt_pattern_h+y}
13123 printf %s "(cached) " >&6
13125 ac_wine_check_headers_saved_cc=$CC
13126 ac_wine_check_headers_saved_exeext=$ac_exeext
13127 eval CC=\$${wine_arch}_CC
13129 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13130 /* end confdefs.h. */
13132 #include <libxslt/pattern.h>
13141 if ac_fn_c_try_compile "$LINENO"
13143 ac_cv_mingw_header_libxslt_pattern_h=yes
13145 ac_cv_mingw_header_libxslt_pattern_h=no
13147 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
13148 CC=$ac_wine_check_headers_saved_cc
13149 ac_exeext=$ac_wine_check_headers_saved_exeext
13151 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxslt_pattern_h" >&5
13152 printf "%s\n" "$ac_cv_mingw_header_libxslt_pattern_h" >&6; }
13153 if test "x$ac_cv_mingw_header_libxslt_pattern_h" = xyes
13157 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxslt/transform.h" >&5
13158 printf %s "checking for MinGW libxslt/transform.h... " >&6; }
13159 if test ${ac_cv_mingw_header_libxslt_transform_h+y}
13161 printf %s "(cached) " >&6
13163 ac_wine_check_headers_saved_cc=$CC
13164 ac_wine_check_headers_saved_exeext=$ac_exeext
13165 eval CC=\$${wine_arch}_CC
13167 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13168 /* end confdefs.h. */
13170 #include <libxslt/transform.h>
13179 if ac_fn_c_try_compile "$LINENO"
13181 ac_cv_mingw_header_libxslt_transform_h=yes
13183 ac_cv_mingw_header_libxslt_transform_h=no
13185 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
13186 CC=$ac_wine_check_headers_saved_cc
13187 ac_exeext=$ac_wine_check_headers_saved_exeext
13189 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxslt_transform_h" >&5
13190 printf "%s\n" "$ac_cv_mingw_header_libxslt_transform_h" >&6; }
13191 if test "x$ac_cv_mingw_header_libxslt_transform_h" = xyes
13195 if test "$ac_cv_mingw_header_libxslt_pattern_h" = "yes" -a "$ac_cv_mingw_header_libxslt_transform_h" = "yes"
13197 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for xsltCompilePattern in MinGW -lxslt" >&5
13198 printf %s "checking for xsltCompilePattern in MinGW -lxslt... " >&6; }
13199 if test ${ac_cv_mingw_lib_xslt+y}
13201 printf %s "(cached) " >&6
13203 ac_wine_check_headers_saved_cc=$CC
13204 ac_wine_check_headers_saved_exeext=$ac_exeext
13205 ac_wine_check_headers_saved_libs=$LIBS
13206 eval CC=\$${wine_arch}_CC
13208 LIBS="-lxslt $XSLT_PE_LIBS $LIBS"
13209 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13210 /* end confdefs.h. */
13212 /* Override any GCC internal prototype to avoid an error.
13213 Use char because int might match the return type of a GCC
13214 builtin and then its argument prototype would still apply. */
13215 char xsltCompilePattern ();
13219 return xsltCompilePattern ();
13224 if ac_fn_c_try_link "$LINENO"
13226 ac_cv_mingw_lib_xslt=yes
13228 ac_cv_mingw_lib_xslt=no
13230 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13231 conftest$ac_exeext conftest.$ac_ext
13232 CC=$ac_wine_check_headers_saved_cc
13233 ac_exeext=$ac_wine_check_headers_saved_exeext
13234 LIBS=$ac_wine_check_headers_saved_libs
13236 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_xslt" >&5
13237 printf "%s\n" "$ac_cv_mingw_lib_xslt" >&6; }
13238 if test "x$ac_cv_mingw_lib_xslt" = xyes
13242 XSLT_PE_CFLAGS=""; XSLT_PE_LIBS=""
13248 CPPFLAGS=$ac_save_CPPFLAGS
13250 if test "x$XSLT_PE_LIBS" = "x"
13252 as_fn_append wine_notices "|libxslt ${notice_platform}MinGW development files not found; using bundled version."
13255 if ${VKD3D_PE_CFLAGS:+false} :
13257 if test ${MINGW_PKG_CONFIG+y}
13259 VKD3D_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libvkd3d libvkd3d-shader
2>/dev
/null
`
13262 if ${VKD3D_PE_LIBS:+false} :
13264 if test ${MINGW_PKG_CONFIG+y}
13266 VKD3D_PE_LIBS=`$MINGW_PKG_CONFIG --libs libvkd3d libvkd3d-shader
2>/dev
/null
`
13269 VKD3D_PE_LIBS=${VKD3D_PE_LIBS:-"-lvkd3d -lvkd3d-shader"}
13270 ac_save_CPPFLAGS=$CPPFLAGS
13271 CPPFLAGS="$CPPFLAGS $VKD3D_PE_CFLAGS"
13272 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW vkd3d.h" >&5
13273 printf %s "checking for MinGW vkd3d.h... " >&6; }
13274 if test ${ac_cv_mingw_header_vkd3d_h+y}
13276 printf %s "(cached) " >&6
13278 ac_wine_check_headers_saved_cc=$CC
13279 ac_wine_check_headers_saved_exeext=$ac_exeext
13280 eval CC=\$${wine_arch}_CC
13282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13283 /* end confdefs.h. */
13294 if ac_fn_c_try_compile "$LINENO"
13296 ac_cv_mingw_header_vkd3d_h=yes
13298 ac_cv_mingw_header_vkd3d_h=no
13300 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
13301 CC=$ac_wine_check_headers_saved_cc
13302 ac_exeext=$ac_wine_check_headers_saved_exeext
13304 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_vkd3d_h" >&5
13305 printf "%s\n" "$ac_cv_mingw_header_vkd3d_h" >&6; }
13306 if test "x$ac_cv_mingw_header_vkd3d_h" = xyes
13310 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW vkd3d_shader.h" >&5
13311 printf %s "checking for MinGW vkd3d_shader.h... " >&6; }
13312 if test ${ac_cv_mingw_header_vkd3d_shader_h+y}
13314 printf %s "(cached) " >&6
13316 ac_wine_check_headers_saved_cc=$CC
13317 ac_wine_check_headers_saved_exeext=$ac_exeext
13318 eval CC=\$${wine_arch}_CC
13320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13321 /* end confdefs.h. */
13323 #include <vkd3d_shader.h>
13332 if ac_fn_c_try_compile "$LINENO"
13334 ac_cv_mingw_header_vkd3d_shader_h=yes
13336 ac_cv_mingw_header_vkd3d_shader_h=no
13338 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
13339 CC=$ac_wine_check_headers_saved_cc
13340 ac_exeext=$ac_wine_check_headers_saved_exeext
13342 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_vkd3d_shader_h" >&5
13343 printf "%s\n" "$ac_cv_mingw_header_vkd3d_shader_h" >&6; }
13344 if test "x$ac_cv_mingw_header_vkd3d_shader_h" = xyes
13348 if test "$ac_cv_mingw_header_vkd3d_h" = "yes" -a "$ac_cv_mingw_header_vkd3d_shader_h" = "yes"
13350 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for vkd3d_set_log_callback in MinGW -lvkd3d" >&5
13351 printf %s "checking for vkd3d_set_log_callback in MinGW -lvkd3d... " >&6; }
13352 if test ${ac_cv_mingw_lib_vkd3d+y}
13354 printf %s "(cached) " >&6
13356 ac_wine_check_headers_saved_cc=$CC
13357 ac_wine_check_headers_saved_exeext=$ac_exeext
13358 ac_wine_check_headers_saved_libs=$LIBS
13359 eval CC=\$${wine_arch}_CC
13361 LIBS="-lvkd3d $VKD3D_PE_LIBS $LIBS"
13362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13363 /* end confdefs.h. */
13365 /* Override any GCC internal prototype to avoid an error.
13366 Use char because int might match the return type of a GCC
13367 builtin and then its argument prototype would still apply. */
13368 char vkd3d_set_log_callback ();
13372 return vkd3d_set_log_callback ();
13377 if ac_fn_c_try_link "$LINENO"
13379 ac_cv_mingw_lib_vkd3d=yes
13381 ac_cv_mingw_lib_vkd3d=no
13383 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13384 conftest$ac_exeext conftest.$ac_ext
13385 CC=$ac_wine_check_headers_saved_cc
13386 ac_exeext=$ac_wine_check_headers_saved_exeext
13387 LIBS=$ac_wine_check_headers_saved_libs
13389 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_vkd3d" >&5
13390 printf "%s\n" "$ac_cv_mingw_lib_vkd3d" >&6; }
13391 if test "x$ac_cv_mingw_lib_vkd3d" = xyes
13397 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for vkd3d_shader_build_varying_map in MinGW -lvkd3d-shader" >&5
13398 printf %s "checking for vkd3d_shader_build_varying_map in MinGW -lvkd3d-shader... " >&6; }
13399 if test ${ac_cv_mingw_lib_vkd3d_shader+y}
13401 printf %s "(cached) " >&6
13403 ac_wine_check_headers_saved_cc=$CC
13404 ac_wine_check_headers_saved_exeext=$ac_exeext
13405 ac_wine_check_headers_saved_libs=$LIBS
13406 eval CC=\$${wine_arch}_CC
13408 LIBS="-lvkd3d-shader $VKD3D_PE_LIBS $LIBS"
13409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13410 /* end confdefs.h. */
13412 /* Override any GCC internal prototype to avoid an error.
13413 Use char because int might match the return type of a GCC
13414 builtin and then its argument prototype would still apply. */
13415 char vkd3d_shader_build_varying_map ();
13419 return vkd3d_shader_build_varying_map ();
13424 if ac_fn_c_try_link "$LINENO"
13426 ac_cv_mingw_lib_vkd3d_shader=yes
13428 ac_cv_mingw_lib_vkd3d_shader=no
13430 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13431 conftest$ac_exeext conftest.$ac_ext
13432 CC=$ac_wine_check_headers_saved_cc
13433 ac_exeext=$ac_wine_check_headers_saved_exeext
13434 LIBS=$ac_wine_check_headers_saved_libs
13436 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_vkd3d_shader" >&5
13437 printf "%s\n" "$ac_cv_mingw_lib_vkd3d_shader" >&6; }
13438 if test "x$ac_cv_mingw_lib_vkd3d_shader" = xyes
13444 if test "$ac_cv_mingw_lib_vkd3d" = "no" -o "$ac_cv_mingw_lib_vkd3d_shader" = "no"
13453 CPPFLAGS=$ac_save_CPPFLAGS
13455 if test "x$VKD3D_PE_LIBS" = "x"
13457 as_fn_append wine_notices "|libvkd3d ${notice_platform}MinGW development files not found (or too old); using bundled version."
13460 if ${ZLIB_PE_CFLAGS:+false} :
13462 if test ${MINGW_PKG_CONFIG+y}
13464 ZLIB_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags zlib
2>/dev
/null
`
13467 if ${ZLIB_PE_LIBS:+false} :
13469 if test ${MINGW_PKG_CONFIG+y}
13471 ZLIB_PE_LIBS=`$MINGW_PKG_CONFIG --libs zlib
2>/dev
/null
`
13474 ZLIB_PE_LIBS=${ZLIB_PE_LIBS:-"-lz"}
13475 ac_save_CPPFLAGS=$CPPFLAGS
13476 CPPFLAGS="$CPPFLAGS $ZLIB_PE_CFLAGS"
13477 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW zlib.h" >&5
13478 printf %s "checking for MinGW zlib.h... " >&6; }
13479 if test ${ac_cv_mingw_header_zlib_h+y}
13481 printf %s "(cached) " >&6
13483 ac_wine_check_headers_saved_cc=$CC
13484 ac_wine_check_headers_saved_exeext=$ac_exeext
13485 eval CC=\$${wine_arch}_CC
13487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13488 /* end confdefs.h. */
13499 if ac_fn_c_try_compile "$LINENO"
13501 ac_cv_mingw_header_zlib_h=yes
13503 ac_cv_mingw_header_zlib_h=no
13505 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
13506 CC=$ac_wine_check_headers_saved_cc
13507 ac_exeext=$ac_wine_check_headers_saved_exeext
13509 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_zlib_h" >&5
13510 printf "%s\n" "$ac_cv_mingw_header_zlib_h" >&6; }
13511 if test "x$ac_cv_mingw_header_zlib_h" = xyes
13513 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inflate in MinGW -lz" >&5
13514 printf %s "checking for inflate in MinGW -lz... " >&6; }
13515 if test ${ac_cv_mingw_lib_z+y}
13517 printf %s "(cached) " >&6
13519 ac_wine_check_headers_saved_cc=$CC
13520 ac_wine_check_headers_saved_exeext=$ac_exeext
13521 ac_wine_check_headers_saved_libs=$LIBS
13522 eval CC=\$${wine_arch}_CC
13524 LIBS="-lz $ZLIB_PE_LIBS $LIBS"
13525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13526 /* end confdefs.h. */
13528 /* Override any GCC internal prototype to avoid an error.
13529 Use char because int might match the return type of a GCC
13530 builtin and then its argument prototype would still apply. */
13540 if ac_fn_c_try_link "$LINENO"
13542 ac_cv_mingw_lib_z=yes
13544 ac_cv_mingw_lib_z=no
13546 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13547 conftest$ac_exeext conftest.$ac_ext
13548 CC=$ac_wine_check_headers_saved_cc
13549 ac_exeext=$ac_wine_check_headers_saved_exeext
13550 LIBS=$ac_wine_check_headers_saved_libs
13552 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_z" >&5
13553 printf "%s\n" "$ac_cv_mingw_lib_z" >&6; }
13554 if test "x$ac_cv_mingw_lib_z" = xyes
13558 ZLIB_PE_CFLAGS=""; ZLIB_PE_LIBS=""
13561 ZLIB_PE_CFLAGS=""; ZLIB_PE_LIBS=""
13563 CPPFLAGS=$ac_save_CPPFLAGS
13565 if test "x$ZLIB_PE_LIBS" = "x"
13567 as_fn_append wine_notices "|zlib ${notice_platform}MinGW development files not found; using bundled version."
13571 if ${FAUDIO_PE_LIBS:+false} :
13573 FAUDIO_PE_LIBS="faudio mfplat mfreadwrite mfuuid propsys"
13574 if ${FAUDIO_PE_CFLAGS:+false} :
13576 FAUDIO_PE_CFLAGS="-I\$(top_srcdir)/libs/faudio/include"
13583 printf "%s\n" "$as_me:${as_lineno-$LINENO}: faudio cflags: $FAUDIO_PE_CFLAGS" >&5
13584 printf "%s\n" "$as_me:${as_lineno-$LINENO}: faudio libs: $FAUDIO_PE_LIBS" >&5
13586 if ${FLUIDSYNTH_PE_LIBS:+false} :
13588 FLUIDSYNTH_PE_LIBS="fluidsynth"
13589 if ${FLUIDSYNTH_PE_CFLAGS:+false} :
13591 FLUIDSYNTH_PE_CFLAGS="-I\$(top_srcdir)/libs/fluidsynth/include"
13593 enable_fluidsynth=no
13596 enable_fluidsynth=no
13598 printf "%s\n" "$as_me:${as_lineno-$LINENO}: fluidsynth cflags: $FLUIDSYNTH_PE_CFLAGS" >&5
13599 printf "%s\n" "$as_me:${as_lineno-$LINENO}: fluidsynth libs: $FLUIDSYNTH_PE_LIBS" >&5
13601 if ${GSM_PE_LIBS:+false} :
13604 if ${GSM_PE_CFLAGS:+false} :
13606 GSM_PE_CFLAGS="-I\$(top_srcdir)/libs/gsm/inc"
13613 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gsm cflags: $GSM_PE_CFLAGS" >&5
13614 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gsm libs: $GSM_PE_LIBS" >&5
13616 if ${JPEG_PE_LIBS:+false} :
13619 if ${JPEG_PE_CFLAGS:+false} :
13621 JPEG_PE_CFLAGS="-I\$(top_srcdir)/libs/jpeg"
13628 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jpeg cflags: $JPEG_PE_CFLAGS" >&5
13629 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jpeg libs: $JPEG_PE_LIBS" >&5
13631 if ${JXR_PE_LIBS:+false} :
13634 if ${JXR_PE_CFLAGS:+false} :
13636 JXR_PE_CFLAGS="-I\$(top_srcdir)/libs/jxr/jxrgluelib -I\$(top_srcdir)/libs/jxr/image/sys"
13643 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jxr cflags: $JXR_PE_CFLAGS" >&5
13644 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jxr libs: $JXR_PE_LIBS" >&5
13646 if ${LCMS2_PE_LIBS:+false} :
13648 LCMS2_PE_LIBS=lcms2
13649 if ${LCMS2_PE_CFLAGS:+false} :
13651 LCMS2_PE_CFLAGS="-I\$(top_srcdir)/libs/lcms2/include"
13658 printf "%s\n" "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_PE_CFLAGS" >&5
13659 printf "%s\n" "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_PE_LIBS" >&5
13661 if ${LDAP_PE_LIBS:+false} :
13664 if ${LDAP_PE_CFLAGS:+false} :
13666 LDAP_PE_CFLAGS="-I\$(top_srcdir)/libs/ldap/include"
13673 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ldap cflags: $LDAP_PE_CFLAGS" >&5
13674 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ldap libs: $LDAP_PE_LIBS" >&5
13676 if ${MPG123_PE_LIBS:+false} :
13678 MPG123_PE_LIBS=mpg123
13679 if ${MPG123_PE_CFLAGS:+false} :
13681 MPG123_PE_CFLAGS="-I\$(top_srcdir)/libs/mpg123/src/include"
13688 printf "%s\n" "$as_me:${as_lineno-$LINENO}: mpg123 cflags: $MPG123_PE_CFLAGS" >&5
13689 printf "%s\n" "$as_me:${as_lineno-$LINENO}: mpg123 libs: $MPG123_PE_LIBS" >&5
13691 if ${MUSL_PE_LIBS:+false} :
13694 if ${MUSL_PE_CFLAGS:+false} :
13703 printf "%s\n" "$as_me:${as_lineno-$LINENO}: musl cflags: $MUSL_PE_CFLAGS" >&5
13704 printf "%s\n" "$as_me:${as_lineno-$LINENO}: musl libs: $MUSL_PE_LIBS" >&5
13706 if ${PNG_PE_LIBS:+false} :
13708 PNG_PE_LIBS="png \$(ZLIB_PE_LIBS)"
13709 if ${PNG_PE_CFLAGS:+false} :
13711 PNG_PE_CFLAGS="-I\$(top_srcdir)/libs/png"
13718 printf "%s\n" "$as_me:${as_lineno-$LINENO}: png cflags: $PNG_PE_CFLAGS" >&5
13719 printf "%s\n" "$as_me:${as_lineno-$LINENO}: png libs: $PNG_PE_LIBS" >&5
13721 if ${TIFF_PE_LIBS:+false} :
13723 TIFF_PE_LIBS="tiff \$(ZLIB_PE_LIBS)"
13724 if ${TIFF_PE_CFLAGS:+false} :
13726 TIFF_PE_CFLAGS="-I\$(top_srcdir)/libs/tiff/libtiff"
13733 printf "%s\n" "$as_me:${as_lineno-$LINENO}: tiff cflags: $TIFF_PE_CFLAGS" >&5
13734 printf "%s\n" "$as_me:${as_lineno-$LINENO}: tiff libs: $TIFF_PE_LIBS" >&5
13736 if ${VKD3D_PE_LIBS:+false} :
13738 VKD3D_PE_LIBS=vkd3d
13739 if ${VKD3D_PE_CFLAGS:+false} :
13741 VKD3D_PE_CFLAGS="-I\$(top_srcdir)/libs/vkd3d/include"
13748 printf "%s\n" "$as_me:${as_lineno-$LINENO}: vkd3d cflags: $VKD3D_PE_CFLAGS" >&5
13749 printf "%s\n" "$as_me:${as_lineno-$LINENO}: vkd3d libs: $VKD3D_PE_LIBS" >&5
13751 if ${XML2_PE_LIBS:+false} :
13754 if ${XML2_PE_CFLAGS:+false} :
13756 XML2_PE_CFLAGS="-I\$(top_srcdir)/libs/xml2/include -DLIBXML_STATIC"
13763 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xml2 cflags: $XML2_PE_CFLAGS" >&5
13764 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xml2 libs: $XML2_PE_LIBS" >&5
13766 if ${XSLT_PE_LIBS:+false} :
13769 if ${XSLT_PE_CFLAGS:+false} :
13771 XSLT_PE_CFLAGS="-I\$(top_srcdir)/libs/xslt/libxslt -I\$(top_srcdir)/libs/xslt -DLIBXSLT_STATIC"
13778 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xslt cflags: $XSLT_PE_CFLAGS" >&5
13779 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xslt libs: $XSLT_PE_LIBS" >&5
13781 if ${ZLIB_PE_LIBS:+false} :
13784 if ${ZLIB_PE_CFLAGS:+false} :
13786 ZLIB_PE_CFLAGS="-I\$(top_srcdir)/libs/zlib -DFAR= -DZ_SOLO"
13793 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zlib cflags: $ZLIB_PE_CFLAGS" >&5
13794 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zlib libs: $ZLIB_PE_LIBS" >&5
13796 if ${ZYDIS_PE_LIBS:+false} :
13798 ZYDIS_PE_LIBS=zydis
13799 if ${ZYDIS_PE_CFLAGS:+false} :
13801 ZYDIS_PE_CFLAGS="-I\$(top_srcdir)/libs/zydis/include"
13808 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zydis cflags: $ZYDIS_PE_CFLAGS" >&5
13809 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zydis libs: $ZYDIS_PE_LIBS" >&5
13813 if test "x$with_pthread" = xno
13817 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
13818 if test "x$ac_cv_func_pthread_create" = xyes
13822 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
13823 printf %s "checking for pthread_create in -lpthread... " >&6; }
13824 if test ${ac_cv_lib_pthread_pthread_create+y}
13826 printf %s "(cached) " >&6
13828 ac_check_lib_save_LIBS=$LIBS
13829 LIBS="-lpthread $LIBS"
13830 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13831 /* end confdefs.h. */
13833 /* Override any GCC internal prototype to avoid an error.
13834 Use char because int might match the return type of a GCC
13835 builtin and then its argument prototype would still apply. */
13836 char pthread_create ();
13840 return pthread_create ();
13845 if ac_fn_c_try_link "$LINENO"
13847 ac_cv_lib_pthread_pthread_create=yes
13849 ac_cv_lib_pthread_pthread_create=no
13851 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13852 conftest$ac_exeext conftest.$ac_ext
13853 LIBS=$ac_check_lib_save_LIBS
13855 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
13856 printf "%s\n" "$ac_cv_lib_pthread_pthread_create" >&6; }
13857 if test "x$ac_cv_lib_pthread_pthread_create" = xyes
13859 PTHREAD_LIBS="-lpthread"
13866 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x
13868 case "x$with_pthread" in
13870 *) as_fn_error $? "pthread ${notice_platform}development files not found.
13871 Wine cannot support threads without libpthread.
13872 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
13879 ac_cpp='$CPP $CPPFLAGS'
13880 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13881 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13882 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13883 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
13884 printf %s "checking how to run the C preprocessor... " >&6; }
13885 # On Suns, sometimes $CPP names a directory.
13886 if test -n "$CPP" && test -d "$CPP"; then
13889 if test -z "$CPP"; then
13890 if test ${ac_cv_prog_CPP+y}
13892 printf %s "(cached) " >&6
13894 # Double quotes because $CC needs to be expanded
13895 for CPP in "$CC -E" "$CC -E -traditional-cpp" cpp /lib/cpp
13897 ac_preproc_ok=false
13898 for ac_c_preproc_warn_flag in '' yes
13900 # Use a header file that comes with gcc, so configuring glibc
13901 # with a fresh cross-compiler works.
13902 # On the NeXT, cc -E runs the code through the compiler's parser,
13903 # not just through cpp. "Syntax error" is here to catch this case.
13904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13905 /* end confdefs.h. */
13906 #include <limits.h>
13909 if ac_fn_c_try_cpp "$LINENO"
13913 # Broken: fails on valid input.
13916 rm -f conftest.err conftest.i conftest.$ac_ext
13918 # OK, works on sane cases. Now check whether nonexistent headers
13919 # can be detected and how.
13920 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13921 /* end confdefs.h. */
13922 #include <ac_nonexistent.h>
13924 if ac_fn_c_try_cpp "$LINENO"
13926 # Broken: success on invalid input.
13929 # Passes both tests.
13933 rm -f conftest.err conftest.i conftest.$ac_ext
13936 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13937 rm -f conftest.i conftest.err conftest.
$ac_ext
13944 ac_cv_prog_CPP
=$CPP
13947 CPP
=$ac_cv_prog_CPP
13949 ac_cv_prog_CPP
=$CPP
13951 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
13952 printf "%s\n" "$CPP" >&6; }
13953 ac_preproc_ok
=false
13954 for ac_c_preproc_warn_flag
in '' yes
13956 # Use a header file that comes with gcc, so configuring glibc
13957 # with a fresh cross-compiler works.
13958 # On the NeXT, cc -E runs the code through the compiler's parser,
13959 # not just through cpp. "Syntax error" is here to catch this case.
13960 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13961 /* end confdefs.h. */
13962 #include <limits.h>
13965 if ac_fn_c_try_cpp
"$LINENO"
13969 # Broken: fails on valid input.
13972 rm -f conftest.err conftest.i conftest.
$ac_ext
13974 # OK, works on sane cases. Now check whether nonexistent headers
13975 # can be detected and how.
13976 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13977 /* end confdefs.h. */
13978 #include <ac_nonexistent.h>
13980 if ac_fn_c_try_cpp
"$LINENO"
13982 # Broken: success on invalid input.
13985 # Passes both tests.
13989 rm -f conftest.err conftest.i conftest.
$ac_ext
13992 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13993 rm -f conftest.i conftest.err conftest.
$ac_ext
13998 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13999 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
14000 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
14001 See \`config.log' for more details" "$LINENO" 5; }
14005 ac_cpp
='$CPP $CPPFLAGS'
14006 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14007 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14008 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14011 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for X" >&5
14012 printf %s
"checking for X... " >&6; }
14015 # Check whether --with-x was given.
14016 if test ${with_x+y}
14021 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
14022 if test "x$with_x" = xno
; then
14023 # The user explicitly disabled X.
14026 case $x_includes,$x_libraries in #(
14027 *\'*) as_fn_error $?
"cannot use X directory names containing '" "$LINENO" 5;; #(
14028 *,NONE | NONE
,*) if test ${ac_cv_have_x+y}
14030 printf %s
"(cached) " >&6
14032 # One or both of the vars are not set, and there is no cached value.
14035 # Do we need to do anything special at all?
14038 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14039 /* end confdefs.h. */
14040 #include <X11/Xlib.h>
14049 if ac_fn_c_try_link
"$LINENO"
14051 # We can compile and link X programs with no special options.
14055 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14056 conftest
$ac_exeext conftest.
$ac_ext
14057 LIBS
="$ac_save_LIBS"
14058 # If that didn't work, only try xmkmf and file system searches
14059 # for native compilation.
14060 if test x
"$ac_x_includes" = xno
&& test "$cross_compiling" = no
14062 rm -f -r conftest.dir
14063 if mkdir conftest.dir
; then
14065 cat >Imakefile
<<'_ACEOF'
14067 @echo incroot='${INCROOT}'
14069 @echo usrlibdir='${USRLIBDIR}'
14071 @echo libdir='${LIBDIR}'
14073 if (export CC
; ${XMKMF-xmkmf}) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
14074 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
14075 for ac_var
in incroot usrlibdir libdir
; do
14076 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
14078 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
14079 for ac_extension
in a so sl dylib la dll
; do
14080 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
14081 test -f "$ac_im_libdir/libX11.$ac_extension"; then
14082 ac_im_usrlibdir
=$ac_im_libdir; break
14085 # Screen out bogus values from the imake configuration. They are
14086 # bogus both because they are the default anyway, and because
14087 # using them would break gcc on systems where it needs fixed includes.
14088 case $ac_im_incroot in
14089 /usr
/include
) ac_x_includes
= ;;
14090 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
14092 case $ac_im_usrlibdir in
14093 /usr
/lib |
/usr
/lib64 |
/lib |
/lib64
) ;;
14094 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
14098 rm -f -r conftest.dir
14101 # Standard set of common directories for X headers.
14102 # Check X11 before X11Rn because it is often a symlink to the current release.
14116 /usr/local/X11/include
14117 /usr/local/X11R7/include
14118 /usr/local/X11R6/include
14119 /usr/local/X11R5/include
14120 /usr/local/X11R4/include
14122 /usr/local/include/X11
14123 /usr/local/include/X11R7
14124 /usr/local/include/X11R6
14125 /usr/local/include/X11R5
14126 /usr/local/include/X11R4
14132 /usr/XFree86/include/X11
14136 /usr/unsupported/include
14137 /usr/athena/include
14138 /usr/local/x11r5/include
14139 /usr/lpp/Xamples/include
14141 /usr/openwin/include
14142 /usr/openwin/share/include'
14144 if test "$ac_x_includes" = no
; then
14145 # Guess where to find include files, by looking for Xlib.h.
14146 # First, try using that file with no special directory specified.
14147 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14148 /* end confdefs.h. */
14149 #include <X11/Xlib.h>
14151 if ac_fn_c_try_cpp
"$LINENO"
14153 # We can compile using X headers with no special include directory.
14156 for ac_dir
in $ac_x_header_dirs; do
14157 if test -r "$ac_dir/X11/Xlib.h"; then
14158 ac_x_includes
=$ac_dir
14163 rm -f conftest.err conftest.i conftest.
$ac_ext
14164 fi # $ac_x_includes = no
14166 if test "$ac_x_libraries" = no
; then
14167 # Check for the libraries.
14168 # See if we find them without any special options.
14169 # Don't add to $LIBS permanently.
14172 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14173 /* end confdefs.h. */
14174 #include <X11/Xlib.h>
14183 if ac_fn_c_try_link
"$LINENO"
14186 # We can link X programs with no special library path.
14190 for ac_dir
in `printf "%s\n" "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
14192 # Don't even attempt the hair of trying to link an X program!
14193 for ac_extension
in a so sl dylib la dll
; do
14194 if test -r "$ac_dir/libX11.$ac_extension"; then
14195 ac_x_libraries
=$ac_dir
14201 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14202 conftest
$ac_exeext conftest.
$ac_ext
14203 fi # $ac_x_libraries = no
14206 # Record the results.
14207 case $ac_x_includes,$ac_x_libraries in #(
14208 no
,* |
*,no |
*\'*) :
14209 # Didn't find X, or a directory has "'" in its name.
14210 ac_cv_have_x
="have_x=no" ;; #(
14212 # Record where we found X for the cache.
14213 ac_cv_have_x
="have_x=yes\
14214 ac_x_includes='$ac_x_includes'\
14215 ac_x_libraries='$ac_x_libraries'" ;;
14221 eval "$ac_cv_have_x"
14224 if test "$have_x" != yes; then
14225 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
14226 printf "%s\n" "$have_x" >&6; }
14229 # If each of the values was on the command line, it overrides each guess.
14230 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
14231 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
14232 # Update the cache value to reflect the command line values.
14233 ac_cv_have_x
="have_x=yes\
14234 ac_x_includes='$x_includes'\
14235 ac_x_libraries='$x_libraries'"
14236 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
14237 printf "%s\n" "libraries $x_libraries, headers $x_includes" >&6; }
14240 if test "$no_x" = yes; then
14241 # Not all programs may use this symbol, but it does not hurt to define it.
14243 printf "%s\n" "#define X_DISPLAY_MISSING 1" >>confdefs.h
14245 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
14247 if test -n "$x_includes"; then
14248 X_CFLAGS
="$X_CFLAGS -I$x_includes"
14251 # It would also be nice to do this for all -L options, not just this one.
14252 if test -n "$x_libraries"; then
14253 X_LIBS
="$X_LIBS -L$x_libraries"
14254 # For Solaris; some versions of Sun CC require a space after -R and
14255 # others require no space. Words are not sufficient . . . .
14256 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
14257 printf %s
"checking whether -R must be followed by a space... " >&6; }
14258 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
14259 ac_xsave_c_werror_flag
=$ac_c_werror_flag
14260 ac_c_werror_flag
=yes
14261 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14262 /* end confdefs.h. */
14272 if ac_fn_c_try_link
"$LINENO"
14274 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
14275 printf "%s\n" "no" >&6; }
14276 X_LIBS
="$X_LIBS -R$x_libraries"
14278 LIBS
="$ac_xsave_LIBS -R $x_libraries"
14279 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14280 /* end confdefs.h. */
14290 if ac_fn_c_try_link
"$LINENO"
14292 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14293 printf "%s\n" "yes" >&6; }
14294 X_LIBS
="$X_LIBS -R $x_libraries"
14296 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
14297 printf "%s\n" "neither works" >&6; }
14299 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14300 conftest
$ac_exeext conftest.
$ac_ext
14302 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14303 conftest
$ac_exeext conftest.
$ac_ext
14304 ac_c_werror_flag
=$ac_xsave_c_werror_flag
14305 LIBS
=$ac_xsave_LIBS
14308 # Check for system-dependent libraries X programs must link with.
14309 # Do this before checking for the system-independent R6 libraries
14310 # (-lICE), since we may need -lsocket or whatever for X linking.
14312 if test "$ISC" = yes; then
14313 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
14315 # Martyn Johnson says this is needed for Ultrix, if the X
14316 # libraries were built with DECnet support. And Karl Berry says
14317 # the Alpha needs dnet_stub (dnet does not exist).
14318 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
14319 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14320 /* end confdefs.h. */
14322 /* Override any GCC internal prototype to avoid an error.
14323 Use char because int might match the return type of a GCC
14324 builtin and then its argument prototype would still apply. */
14325 char XOpenDisplay ();
14329 return XOpenDisplay ();
14334 if ac_fn_c_try_link
"$LINENO"
14338 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
14339 printf %s
"checking for dnet_ntoa in -ldnet... " >&6; }
14340 if test ${ac_cv_lib_dnet_dnet_ntoa+y}
14342 printf %s
"(cached) " >&6
14344 ac_check_lib_save_LIBS
=$LIBS
14345 LIBS
="-ldnet $LIBS"
14346 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14347 /* end confdefs.h. */
14349 /* Override any GCC internal prototype to avoid an error.
14350 Use char because int might match the return type of a GCC
14351 builtin and then its argument prototype would still apply. */
14356 return dnet_ntoa ();
14361 if ac_fn_c_try_link
"$LINENO"
14363 ac_cv_lib_dnet_dnet_ntoa
=yes
14365 ac_cv_lib_dnet_dnet_ntoa
=no
14367 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14368 conftest
$ac_exeext conftest.
$ac_ext
14369 LIBS
=$ac_check_lib_save_LIBS
14371 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
14372 printf "%s\n" "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
14373 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes
14375 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
14378 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
14379 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
14380 printf %s
"checking for dnet_ntoa in -ldnet_stub... " >&6; }
14381 if test ${ac_cv_lib_dnet_stub_dnet_ntoa+y}
14383 printf %s
"(cached) " >&6
14385 ac_check_lib_save_LIBS
=$LIBS
14386 LIBS
="-ldnet_stub $LIBS"
14387 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14388 /* end confdefs.h. */
14390 /* Override any GCC internal prototype to avoid an error.
14391 Use char because int might match the return type of a GCC
14392 builtin and then its argument prototype would still apply. */
14397 return dnet_ntoa ();
14402 if ac_fn_c_try_link
"$LINENO"
14404 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
14406 ac_cv_lib_dnet_stub_dnet_ntoa
=no
14408 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14409 conftest
$ac_exeext conftest.
$ac_ext
14410 LIBS
=$ac_check_lib_save_LIBS
14412 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
14413 printf "%s\n" "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
14414 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes
14416 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
14421 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14422 conftest
$ac_exeext conftest.
$ac_ext
14423 LIBS
="$ac_xsave_LIBS"
14425 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
14426 # to get the SysV transport functions.
14427 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
14429 # The nsl library prevents programs from opening the X display
14430 # on Irix 5.2, according to T.E. Dickey.
14431 # The functions gethostbyname, getservbyname, and inet_addr are
14432 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
14433 ac_fn_c_check_func
"$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
14434 if test "x$ac_cv_func_gethostbyname" = xyes
14439 if test $ac_cv_func_gethostbyname = no
; then
14440 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
14441 printf %s
"checking for gethostbyname in -lnsl... " >&6; }
14442 if test ${ac_cv_lib_nsl_gethostbyname+y}
14444 printf %s
"(cached) " >&6
14446 ac_check_lib_save_LIBS
=$LIBS
14448 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14449 /* end confdefs.h. */
14451 /* Override any GCC internal prototype to avoid an error.
14452 Use char because int might match the return type of a GCC
14453 builtin and then its argument prototype would still apply. */
14454 char gethostbyname ();
14458 return gethostbyname ();
14463 if ac_fn_c_try_link
"$LINENO"
14465 ac_cv_lib_nsl_gethostbyname
=yes
14467 ac_cv_lib_nsl_gethostbyname
=no
14469 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14470 conftest
$ac_exeext conftest.
$ac_ext
14471 LIBS
=$ac_check_lib_save_LIBS
14473 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
14474 printf "%s\n" "$ac_cv_lib_nsl_gethostbyname" >&6; }
14475 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes
14477 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
14480 if test $ac_cv_lib_nsl_gethostbyname = no
; then
14481 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
14482 printf %s
"checking for gethostbyname in -lbsd... " >&6; }
14483 if test ${ac_cv_lib_bsd_gethostbyname+y}
14485 printf %s
"(cached) " >&6
14487 ac_check_lib_save_LIBS
=$LIBS
14489 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14490 /* end confdefs.h. */
14492 /* Override any GCC internal prototype to avoid an error.
14493 Use char because int might match the return type of a GCC
14494 builtin and then its argument prototype would still apply. */
14495 char gethostbyname ();
14499 return gethostbyname ();
14504 if ac_fn_c_try_link
"$LINENO"
14506 ac_cv_lib_bsd_gethostbyname
=yes
14508 ac_cv_lib_bsd_gethostbyname
=no
14510 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14511 conftest
$ac_exeext conftest.
$ac_ext
14512 LIBS
=$ac_check_lib_save_LIBS
14514 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
14515 printf "%s\n" "$ac_cv_lib_bsd_gethostbyname" >&6; }
14516 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes
14518 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
14524 # lieder@skyler.mavd.honeywell.com says without -lsocket,
14525 # socket/setsockopt and other routines are undefined under SCO ODT
14526 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
14527 # on later versions), says Simon Leinen: it contains gethostby*
14528 # variants that don't use the name server (or something). -lsocket
14529 # must be given before -lnsl if both are needed. We assume that
14530 # if connect needs -lnsl, so does gethostbyname.
14531 ac_fn_c_check_func
"$LINENO" "connect" "ac_cv_func_connect"
14532 if test "x$ac_cv_func_connect" = xyes
14537 if test $ac_cv_func_connect = no
; then
14538 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
14539 printf %s
"checking for connect in -lsocket... " >&6; }
14540 if test ${ac_cv_lib_socket_connect+y}
14542 printf %s
"(cached) " >&6
14544 ac_check_lib_save_LIBS
=$LIBS
14545 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
14546 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14547 /* end confdefs.h. */
14549 /* Override any GCC internal prototype to avoid an error.
14550 Use char because int might match the return type of a GCC
14551 builtin and then its argument prototype would still apply. */
14561 if ac_fn_c_try_link
"$LINENO"
14563 ac_cv_lib_socket_connect
=yes
14565 ac_cv_lib_socket_connect
=no
14567 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14568 conftest
$ac_exeext conftest.
$ac_ext
14569 LIBS
=$ac_check_lib_save_LIBS
14571 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
14572 printf "%s\n" "$ac_cv_lib_socket_connect" >&6; }
14573 if test "x$ac_cv_lib_socket_connect" = xyes
14575 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
14580 # Guillermo Gomez says -lposix is necessary on A/UX.
14581 ac_fn_c_check_func
"$LINENO" "remove" "ac_cv_func_remove"
14582 if test "x$ac_cv_func_remove" = xyes
14587 if test $ac_cv_func_remove = no
; then
14588 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
14589 printf %s
"checking for remove in -lposix... " >&6; }
14590 if test ${ac_cv_lib_posix_remove+y}
14592 printf %s
"(cached) " >&6
14594 ac_check_lib_save_LIBS
=$LIBS
14595 LIBS
="-lposix $LIBS"
14596 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14597 /* end confdefs.h. */
14599 /* Override any GCC internal prototype to avoid an error.
14600 Use char because int might match the return type of a GCC
14601 builtin and then its argument prototype would still apply. */
14611 if ac_fn_c_try_link
"$LINENO"
14613 ac_cv_lib_posix_remove
=yes
14615 ac_cv_lib_posix_remove
=no
14617 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14618 conftest
$ac_exeext conftest.
$ac_ext
14619 LIBS
=$ac_check_lib_save_LIBS
14621 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
14622 printf "%s\n" "$ac_cv_lib_posix_remove" >&6; }
14623 if test "x$ac_cv_lib_posix_remove" = xyes
14625 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
14630 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
14631 ac_fn_c_check_func
"$LINENO" "shmat" "ac_cv_func_shmat"
14632 if test "x$ac_cv_func_shmat" = xyes
14637 if test $ac_cv_func_shmat = no
; then
14638 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
14639 printf %s
"checking for shmat in -lipc... " >&6; }
14640 if test ${ac_cv_lib_ipc_shmat+y}
14642 printf %s
"(cached) " >&6
14644 ac_check_lib_save_LIBS
=$LIBS
14646 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14647 /* end confdefs.h. */
14649 /* Override any GCC internal prototype to avoid an error.
14650 Use char because int might match the return type of a GCC
14651 builtin and then its argument prototype would still apply. */
14661 if ac_fn_c_try_link
"$LINENO"
14663 ac_cv_lib_ipc_shmat
=yes
14665 ac_cv_lib_ipc_shmat
=no
14667 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14668 conftest
$ac_exeext conftest.
$ac_ext
14669 LIBS
=$ac_check_lib_save_LIBS
14671 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
14672 printf "%s\n" "$ac_cv_lib_ipc_shmat" >&6; }
14673 if test "x$ac_cv_lib_ipc_shmat" = xyes
14675 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
14681 # Check for libraries that X11R6 Xt/Xaw programs need.
14682 ac_save_LDFLAGS
=$LDFLAGS
14683 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
14684 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
14685 # check for ICE first), but we must link in the order -lSM -lICE or
14686 # we get undefined symbols. So assume we have SM if we have ICE.
14687 # These have to be linked with before -lX11, unlike the other
14688 # libraries we check for below, so use a different variable.
14689 # John Interrante, Karl Berry
14690 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
14691 printf %s
"checking for IceConnectionNumber in -lICE... " >&6; }
14692 if test ${ac_cv_lib_ICE_IceConnectionNumber+y}
14694 printf %s
"(cached) " >&6
14696 ac_check_lib_save_LIBS
=$LIBS
14697 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
14698 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14699 /* end confdefs.h. */
14701 /* Override any GCC internal prototype to avoid an error.
14702 Use char because int might match the return type of a GCC
14703 builtin and then its argument prototype would still apply. */
14704 char IceConnectionNumber ();
14708 return IceConnectionNumber ();
14713 if ac_fn_c_try_link
"$LINENO"
14715 ac_cv_lib_ICE_IceConnectionNumber
=yes
14717 ac_cv_lib_ICE_IceConnectionNumber
=no
14719 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14720 conftest
$ac_exeext conftest.
$ac_ext
14721 LIBS
=$ac_check_lib_save_LIBS
14723 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
14724 printf "%s\n" "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
14725 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes
14727 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
14730 LDFLAGS
=$ac_save_LDFLAGS
14735 if test "$have_x" = "yes"
14737 ac_save_CPPFLAGS
="$CPPFLAGS"
14738 CPPFLAGS
="$CPPFLAGS $X_CFLAGS"
14740 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
14741 printf %s
"checking for -lX11... " >&6; }
14742 if test ${ac_cv_lib_soname_X11+y}
14744 printf %s
"(cached) " >&6
14746 ac_check_soname_save_LIBS
=$LIBS
14747 LIBS
="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
14748 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14749 /* end confdefs.h. */
14751 /* Override any GCC internal prototype to avoid an error.
14752 Use char because int might match the return type of a GCC
14753 builtin and then its argument prototype would still apply. */
14754 char XCreateWindow ();
14758 return XCreateWindow ();
14763 if ac_fn_c_try_link
"$LINENO"
14766 dll
) ac_cv_lib_soname_X11
=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14767 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'` ;;
14768 *) ac_cv_lib_soname_X11
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14769 if ${ac_cv_lib_soname_X11:+false} :
14771 ac_cv_lib_soname_X11
=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14775 ac_cv_lib_soname_X11
=
14777 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14778 conftest
$ac_exeext conftest.
$ac_ext
14779 LIBS
=$ac_check_soname_save_LIBS
14781 if ${ac_cv_lib_soname_X11:+false} :
14783 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14784 printf "%s\n" "not found" >&6; }
14787 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
14788 printf "%s\n" "$ac_cv_lib_soname_X11" >&6; }
14790 printf "%s\n" "#define SONAME_LIBX11 \"$ac_cv_lib_soname_X11\"" >>confdefs.h
14794 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
14795 printf %s
"checking for -lXext... " >&6; }
14796 if test ${ac_cv_lib_soname_Xext+y}
14798 printf %s
"(cached) " >&6
14800 ac_check_soname_save_LIBS
=$LIBS
14801 LIBS
="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
14802 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14803 /* end confdefs.h. */
14805 /* Override any GCC internal prototype to avoid an error.
14806 Use char because int might match the return type of a GCC
14807 builtin and then its argument prototype would still apply. */
14808 char XextCreateExtension ();
14812 return XextCreateExtension ();
14817 if ac_fn_c_try_link
"$LINENO"
14820 dll
) ac_cv_lib_soname_Xext
=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14821 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'` ;;
14822 *) ac_cv_lib_soname_Xext
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14823 if ${ac_cv_lib_soname_Xext:+false} :
14825 ac_cv_lib_soname_Xext
=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14829 ac_cv_lib_soname_Xext
=
14831 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14832 conftest
$ac_exeext conftest.
$ac_ext
14833 LIBS
=$ac_check_soname_save_LIBS
14835 if ${ac_cv_lib_soname_Xext:+false} :
14837 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14838 printf "%s\n" "not found" >&6; }
14841 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
14842 printf "%s\n" "$ac_cv_lib_soname_Xext" >&6; }
14844 printf "%s\n" "#define SONAME_LIBXEXT \"$ac_cv_lib_soname_Xext\"" >>confdefs.h
14846 X_LIBS
="$X_LIBS -lXext"
14848 X_LIBS
="$X_LIBS -lX11"
14850 xlib_includes
="#include <X11/Xlib.h>
14851 #include <X11/Xutil.h>"
14853 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/shape.h" "ac_cv_header_X11_extensions_shape_h" "$xlib_includes
14855 if test "x$ac_cv_header_X11_extensions_shape_h" = xyes
14857 printf "%s\n" "#define HAVE_X11_EXTENSIONS_SHAPE_H 1" >>confdefs.h
14860 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/XInput2.h" "ac_cv_header_X11_extensions_XInput2_h" "$xlib_includes
14862 if test "x$ac_cv_header_X11_extensions_XInput2_h" = xyes
14864 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINPUT2_H 1" >>confdefs.h
14867 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/XShm.h" "ac_cv_header_X11_extensions_XShm_h" "$xlib_includes
14869 if test "x$ac_cv_header_X11_extensions_XShm_h" = xyes
14871 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XSHM_H 1" >>confdefs.h
14874 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/Xfixes.h" "ac_cv_header_X11_extensions_Xfixes_h" "$xlib_includes
14876 if test "x$ac_cv_header_X11_extensions_Xfixes_h" = xyes
14878 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XFIXES_H 1" >>confdefs.h
14881 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/Xinerama.h" "ac_cv_header_X11_extensions_Xinerama_h" "$xlib_includes
14883 if test "x$ac_cv_header_X11_extensions_Xinerama_h" = xyes
14885 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINERAMA_H 1" >>confdefs.h
14888 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/Xrandr.h" "ac_cv_header_X11_extensions_Xrandr_h" "$xlib_includes
14890 if test "x$ac_cv_header_X11_extensions_Xrandr_h" = xyes
14892 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XRANDR_H 1" >>confdefs.h
14895 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/Xrender.h" "ac_cv_header_X11_extensions_Xrender_h" "$xlib_includes
14897 if test "x$ac_cv_header_X11_extensions_Xrender_h" = xyes
14899 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XRENDER_H 1" >>confdefs.h
14902 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/xf86vmode.h" "ac_cv_header_X11_extensions_xf86vmode_h" "$xlib_includes
14904 if test "x$ac_cv_header_X11_extensions_xf86vmode_h" = xyes
14906 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XF86VMODE_H 1" >>confdefs.h
14909 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/xf86vmproto.h" "ac_cv_header_X11_extensions_xf86vmproto_h" "$xlib_includes
14911 if test "x$ac_cv_header_X11_extensions_xf86vmproto_h" = xyes
14913 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XF86VMPROTO_H 1" >>confdefs.h
14918 ac_fn_c_check_header_compile
"$LINENO" "X11/Xcursor/Xcursor.h" "ac_cv_header_X11_Xcursor_Xcursor_h" "$xlib_includes
14920 if test "x$ac_cv_header_X11_Xcursor_Xcursor_h" = xyes
14922 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
14923 printf %s
"checking for -lXcursor... " >&6; }
14924 if test ${ac_cv_lib_soname_Xcursor+y}
14926 printf %s
"(cached) " >&6
14928 ac_check_soname_save_LIBS
=$LIBS
14929 LIBS
="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
14930 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14931 /* end confdefs.h. */
14933 /* Override any GCC internal prototype to avoid an error.
14934 Use char because int might match the return type of a GCC
14935 builtin and then its argument prototype would still apply. */
14936 char XcursorImageLoadCursor ();
14940 return XcursorImageLoadCursor ();
14945 if ac_fn_c_try_link
"$LINENO"
14948 dll
) ac_cv_lib_soname_Xcursor
=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14949 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'` ;;
14950 *) ac_cv_lib_soname_Xcursor
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14951 if ${ac_cv_lib_soname_Xcursor:+false} :
14953 ac_cv_lib_soname_Xcursor
=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14957 ac_cv_lib_soname_Xcursor
=
14959 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14960 conftest
$ac_exeext conftest.
$ac_ext
14961 LIBS
=$ac_check_soname_save_LIBS
14963 if ${ac_cv_lib_soname_Xcursor:+false} :
14965 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14966 printf "%s\n" "not found" >&6; }
14969 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
14970 printf "%s\n" "$ac_cv_lib_soname_Xcursor" >&6; }
14972 printf "%s\n" "#define SONAME_LIBXCURSOR \"$ac_cv_lib_soname_Xcursor\"" >>confdefs.h
14978 if test "x$ac_cv_lib_soname_Xcursor" = "x"
14980 case "x$with_xcursor" in
14981 x
) as_fn_append wine_notices
"|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
14983 *) as_fn_error $?
"libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
14984 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
14989 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/XInput.h" "ac_cv_header_X11_extensions_XInput_h" "$xlib_includes
14991 if test "x$ac_cv_header_X11_extensions_XInput_h" = xyes
14993 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
14994 printf %s
"checking for -lXi... " >&6; }
14995 if test ${ac_cv_lib_soname_Xi+y}
14997 printf %s
"(cached) " >&6
14999 ac_check_soname_save_LIBS
=$LIBS
15000 LIBS
="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
15001 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15002 /* end confdefs.h. */
15004 /* Override any GCC internal prototype to avoid an error.
15005 Use char because int might match the return type of a GCC
15006 builtin and then its argument prototype would still apply. */
15007 char XOpenDevice ();
15011 return XOpenDevice ();
15016 if ac_fn_c_try_link
"$LINENO"
15019 dll
) ac_cv_lib_soname_Xi
=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15020 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'` ;;
15021 *) ac_cv_lib_soname_Xi
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15022 if ${ac_cv_lib_soname_Xi:+false} :
15024 ac_cv_lib_soname_Xi
=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15028 ac_cv_lib_soname_Xi
=
15030 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15031 conftest
$ac_exeext conftest.
$ac_ext
15032 LIBS
=$ac_check_soname_save_LIBS
15034 if ${ac_cv_lib_soname_Xi:+false} :
15036 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15037 printf "%s\n" "not found" >&6; }
15040 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
15041 printf "%s\n" "$ac_cv_lib_soname_Xi" >&6; }
15043 printf "%s\n" "#define SONAME_LIBXI \"$ac_cv_lib_soname_Xi\"" >>confdefs.h
15049 if test "x$ac_cv_lib_soname_Xi" = "x"
15051 case "x$with_xinput" in
15052 x
) as_fn_append wine_notices
"|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
15054 *) as_fn_error $?
"libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
15055 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
15060 if test "x$ac_cv_lib_soname_Xi" != x
15062 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"
15064 case "x$with_xinput2" in
15065 x
) as_fn_append wine_notices
"|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
15067 *) as_fn_error $?
"XInput2 headers not found, the XInput 2 extension won't be supported.
15068 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
15074 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
15076 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
15077 printf %s
"checking for XShmQueryExtension in -lXext... " >&6; }
15078 if test ${ac_cv_lib_Xext_XShmQueryExtension+y}
15080 printf %s
"(cached) " >&6
15082 ac_check_lib_save_LIBS
=$LIBS
15083 LIBS
="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
15084 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15085 /* end confdefs.h. */
15087 /* Override any GCC internal prototype to avoid an error.
15088 Use char because int might match the return type of a GCC
15089 builtin and then its argument prototype would still apply. */
15090 char XShmQueryExtension ();
15094 return XShmQueryExtension ();
15099 if ac_fn_c_try_link
"$LINENO"
15101 ac_cv_lib_Xext_XShmQueryExtension
=yes
15103 ac_cv_lib_Xext_XShmQueryExtension
=no
15105 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15106 conftest
$ac_exeext conftest.
$ac_ext
15107 LIBS
=$ac_check_lib_save_LIBS
15109 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
15110 printf "%s\n" "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
15111 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes
15114 printf "%s\n" "#define HAVE_LIBXXSHM 1" >>confdefs.h
15119 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"
15121 case "x$with_xshm" in
15122 x
) as_fn_append wine_notices
"|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
15124 *) as_fn_error $?
"XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
15125 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
15130 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
15132 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
15133 printf %s
"checking for XShapeQueryExtension in -lXext... " >&6; }
15134 if test ${ac_cv_lib_Xext_XShapeQueryExtension+y}
15136 printf %s
"(cached) " >&6
15138 ac_check_lib_save_LIBS
=$LIBS
15139 LIBS
="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
15140 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15141 /* end confdefs.h. */
15143 /* Override any GCC internal prototype to avoid an error.
15144 Use char because int might match the return type of a GCC
15145 builtin and then its argument prototype would still apply. */
15146 char XShapeQueryExtension ();
15150 return XShapeQueryExtension ();
15155 if ac_fn_c_try_link
"$LINENO"
15157 ac_cv_lib_Xext_XShapeQueryExtension
=yes
15159 ac_cv_lib_Xext_XShapeQueryExtension
=no
15161 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15162 conftest
$ac_exeext conftest.
$ac_ext
15163 LIBS
=$ac_check_lib_save_LIBS
15165 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
15166 printf "%s\n" "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
15167 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes
15170 printf "%s\n" "#define HAVE_LIBXSHAPE 1" >>confdefs.h
15175 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"
15177 case "x$with_xshape" in
15178 x
) as_fn_append wine_notices
"|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
15180 *) as_fn_error $?
"XShape ${notice_platform}development files not found, XShape won't be supported.
15181 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
15186 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
15188 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
15189 printf %s
"checking for -lXxf86vm... " >&6; }
15190 if test ${ac_cv_lib_soname_Xxf86vm+y}
15192 printf %s
"(cached) " >&6
15194 ac_check_soname_save_LIBS
=$LIBS
15195 LIBS
="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
15196 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15197 /* end confdefs.h. */
15199 /* Override any GCC internal prototype to avoid an error.
15200 Use char because int might match the return type of a GCC
15201 builtin and then its argument prototype would still apply. */
15202 char XF86VidModeQueryExtension ();
15206 return XF86VidModeQueryExtension ();
15211 if ac_fn_c_try_link
"$LINENO"
15214 dll
) ac_cv_lib_soname_Xxf86vm
=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15215 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'` ;;
15216 *) ac_cv_lib_soname_Xxf86vm
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15217 if ${ac_cv_lib_soname_Xxf86vm:+false} :
15219 ac_cv_lib_soname_Xxf86vm
=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15223 ac_cv_lib_soname_Xxf86vm
=
15225 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15226 conftest
$ac_exeext conftest.
$ac_ext
15227 LIBS
=$ac_check_soname_save_LIBS
15229 if ${ac_cv_lib_soname_Xxf86vm:+false} :
15231 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15232 printf "%s\n" "not found" >&6; }
15235 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
15236 printf "%s\n" "$ac_cv_lib_soname_Xxf86vm" >&6; }
15238 printf "%s\n" "#define SONAME_LIBXXF86VM \"$ac_cv_lib_soname_Xxf86vm\"" >>confdefs.h
15243 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"
15245 case "x$with_xxf86vm" in
15246 x
) as_fn_append wine_notices
"|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
15248 *) as_fn_error $?
"libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
15249 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
15254 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
15256 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
15257 printf %s
"checking for -lXrender... " >&6; }
15258 if test ${ac_cv_lib_soname_Xrender+y}
15260 printf %s
"(cached) " >&6
15262 ac_check_soname_save_LIBS
=$LIBS
15263 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
15264 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15265 /* end confdefs.h. */
15267 /* Override any GCC internal prototype to avoid an error.
15268 Use char because int might match the return type of a GCC
15269 builtin and then its argument prototype would still apply. */
15270 char XRenderQueryExtension ();
15274 return XRenderQueryExtension ();
15279 if ac_fn_c_try_link
"$LINENO"
15282 dll
) ac_cv_lib_soname_Xrender
=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15283 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'` ;;
15284 *) ac_cv_lib_soname_Xrender
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15285 if ${ac_cv_lib_soname_Xrender:+false} :
15287 ac_cv_lib_soname_Xrender
=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15291 ac_cv_lib_soname_Xrender
=
15293 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15294 conftest
$ac_exeext conftest.
$ac_ext
15295 LIBS
=$ac_check_soname_save_LIBS
15297 if ${ac_cv_lib_soname_Xrender:+false} :
15299 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15300 printf "%s\n" "not found" >&6; }
15303 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
15304 printf "%s\n" "$ac_cv_lib_soname_Xrender" >&6; }
15306 printf "%s\n" "#define SONAME_LIBXRENDER \"$ac_cv_lib_soname_Xrender\"" >>confdefs.h
15308 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
15309 printf %s
"checking for XRenderSetPictureTransform in -lXrender... " >&6; }
15310 if test ${ac_cv_lib_Xrender_XRenderSetPictureTransform+y}
15312 printf %s
"(cached) " >&6
15314 ac_check_lib_save_LIBS
=$LIBS
15315 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
15316 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15317 /* end confdefs.h. */
15319 /* Override any GCC internal prototype to avoid an error.
15320 Use char because int might match the return type of a GCC
15321 builtin and then its argument prototype would still apply. */
15322 char XRenderSetPictureTransform ();
15326 return XRenderSetPictureTransform ();
15331 if ac_fn_c_try_link
"$LINENO"
15333 ac_cv_lib_Xrender_XRenderSetPictureTransform
=yes
15335 ac_cv_lib_Xrender_XRenderSetPictureTransform
=no
15337 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15338 conftest
$ac_exeext conftest.
$ac_ext
15339 LIBS
=$ac_check_lib_save_LIBS
15341 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
15342 printf "%s\n" "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
15343 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes
15346 printf "%s\n" "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
15350 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
15351 printf %s
"checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
15352 if test ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+y}
15354 printf %s
"(cached) " >&6
15356 ac_check_lib_save_LIBS
=$LIBS
15357 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
15358 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15359 /* end confdefs.h. */
15361 /* Override any GCC internal prototype to avoid an error.
15362 Use char because int might match the return type of a GCC
15363 builtin and then its argument prototype would still apply. */
15364 char XRenderCreateLinearGradient ();
15368 return XRenderCreateLinearGradient ();
15373 if ac_fn_c_try_link
"$LINENO"
15375 ac_cv_lib_Xrender_XRenderCreateLinearGradient
=yes
15377 ac_cv_lib_Xrender_XRenderCreateLinearGradient
=no
15379 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15380 conftest
$ac_exeext conftest.
$ac_ext
15381 LIBS
=$ac_check_lib_save_LIBS
15383 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
15384 printf "%s\n" "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
15385 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes
15388 printf "%s\n" "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
15395 if test "x$ac_cv_lib_soname_Xrender" = "x"
15397 case "x$with_xrender" in
15398 x
) as_fn_append wine_warnings
"|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
15400 *) as_fn_error $?
"libxrender ${notice_platform}development files not found, XRender won't be supported.
15401 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
15406 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
15408 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15409 /* end confdefs.h. */
15410 #include <X11/Xlib.h>
15411 #include <X11/extensions/Xrandr.h>
15415 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
15420 if ac_fn_c_try_compile
"$LINENO"
15422 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
15423 printf %s
"checking for -lXrandr... " >&6; }
15424 if test ${ac_cv_lib_soname_Xrandr+y}
15426 printf %s
"(cached) " >&6
15428 ac_check_soname_save_LIBS
=$LIBS
15429 LIBS
="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
15430 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15431 /* end confdefs.h. */
15433 /* Override any GCC internal prototype to avoid an error.
15434 Use char because int might match the return type of a GCC
15435 builtin and then its argument prototype would still apply. */
15436 char XRRQueryExtension ();
15440 return XRRQueryExtension ();
15445 if ac_fn_c_try_link
"$LINENO"
15448 dll
) ac_cv_lib_soname_Xrandr
=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15449 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'` ;;
15450 *) ac_cv_lib_soname_Xrandr
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15451 if ${ac_cv_lib_soname_Xrandr:+false} :
15453 ac_cv_lib_soname_Xrandr
=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15457 ac_cv_lib_soname_Xrandr
=
15459 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15460 conftest
$ac_exeext conftest.
$ac_ext
15461 LIBS
=$ac_check_soname_save_LIBS
15463 if ${ac_cv_lib_soname_Xrandr:+false} :
15465 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15466 printf "%s\n" "not found" >&6; }
15469 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
15470 printf "%s\n" "$ac_cv_lib_soname_Xrandr" >&6; }
15472 printf "%s\n" "#define SONAME_LIBXRANDR \"$ac_cv_lib_soname_Xrandr\"" >>confdefs.h
15474 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15475 /* end confdefs.h. */
15476 #include <X11/Xlib.h>
15477 #include <X11/extensions/Xrandr.h>
15481 static typeof(XRRGetProviderResources) *f; if (f) return 0;
15486 if ac_fn_c_try_compile
"$LINENO"
15489 printf "%s\n" "#define HAVE_XRRGETPROVIDERRESOURCES 1" >>confdefs.h
15492 as_fn_append wine_notices
"|libxrandr ${notice_platform}development files too old, XRandR display device handler won't be supported."
15494 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
15497 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
15499 if test "x$ac_cv_lib_soname_Xrandr" = "x"
15501 case "x$with_xrandr" in
15502 x
) as_fn_append wine_notices
"|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
15504 *) as_fn_error $?
"libxrandr ${notice_platform}development files not found, XRandr won't be supported.
15505 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
15510 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
15512 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15513 /* end confdefs.h. */
15514 #include <X11/Xlib.h>
15515 #include <X11/extensions/Xfixes.h>
15519 static typeof(XFixesQueryVersion) * func; if (func) return 0;
15524 if ac_fn_c_try_compile
"$LINENO"
15526 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
15527 printf %s
"checking for -lXfixes... " >&6; }
15528 if test ${ac_cv_lib_soname_Xfixes+y}
15530 printf %s
"(cached) " >&6
15532 ac_check_soname_save_LIBS
=$LIBS
15533 LIBS
="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
15534 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15535 /* end confdefs.h. */
15537 /* Override any GCC internal prototype to avoid an error.
15538 Use char because int might match the return type of a GCC
15539 builtin and then its argument prototype would still apply. */
15540 char XFixesQueryVersion ();
15544 return XFixesQueryVersion ();
15549 if ac_fn_c_try_link
"$LINENO"
15552 dll
) ac_cv_lib_soname_Xfixes
=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15553 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'` ;;
15554 *) ac_cv_lib_soname_Xfixes
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15555 if ${ac_cv_lib_soname_Xfixes:+false} :
15557 ac_cv_lib_soname_Xfixes
=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15561 ac_cv_lib_soname_Xfixes
=
15563 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15564 conftest
$ac_exeext conftest.
$ac_ext
15565 LIBS
=$ac_check_soname_save_LIBS
15567 if ${ac_cv_lib_soname_Xfixes:+false} :
15569 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15570 printf "%s\n" "not found" >&6; }
15573 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
15574 printf "%s\n" "$ac_cv_lib_soname_Xfixes" >&6; }
15576 printf "%s\n" "#define SONAME_LIBXFIXES \"$ac_cv_lib_soname_Xfixes\"" >>confdefs.h
15581 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
15583 if test "x$ac_cv_lib_soname_Xfixes" = "x"
15585 case "x$with_xfixes" in
15586 x
) as_fn_append wine_notices
"|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
15588 *) as_fn_error $?
"libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
15589 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
15594 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
15596 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15597 /* end confdefs.h. */
15598 #include <X11/Xlib.h>
15599 #include <X11/extensions/Xinerama.h>
15603 static typeof(XineramaQueryScreens) * func; if (func) return 0;
15608 if ac_fn_c_try_compile
"$LINENO"
15610 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
15611 printf %s
"checking for -lXinerama... " >&6; }
15612 if test ${ac_cv_lib_soname_Xinerama+y}
15614 printf %s
"(cached) " >&6
15616 ac_check_soname_save_LIBS
=$LIBS
15617 LIBS
="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
15618 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15619 /* end confdefs.h. */
15621 /* Override any GCC internal prototype to avoid an error.
15622 Use char because int might match the return type of a GCC
15623 builtin and then its argument prototype would still apply. */
15624 char XineramaQueryScreens ();
15628 return XineramaQueryScreens ();
15633 if ac_fn_c_try_link
"$LINENO"
15636 dll
) ac_cv_lib_soname_Xinerama
=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15637 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'` ;;
15638 *) ac_cv_lib_soname_Xinerama
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15639 if ${ac_cv_lib_soname_Xinerama:+false} :
15641 ac_cv_lib_soname_Xinerama
=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15645 ac_cv_lib_soname_Xinerama
=
15647 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15648 conftest
$ac_exeext conftest.
$ac_ext
15649 LIBS
=$ac_check_soname_save_LIBS
15651 if ${ac_cv_lib_soname_Xinerama:+false} :
15653 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15654 printf "%s\n" "not found" >&6; }
15657 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
15658 printf "%s\n" "$ac_cv_lib_soname_Xinerama" >&6; }
15660 printf "%s\n" "#define SONAME_LIBXINERAMA \"$ac_cv_lib_soname_Xinerama\"" >>confdefs.h
15665 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
15667 if test "x$ac_cv_lib_soname_Xinerama" = "x"
15669 case "x$with_xinerama" in
15670 x
) as_fn_append wine_notices
"|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
15672 *) as_fn_error $?
"libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
15673 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
15678 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/Xcomposite.h" "ac_cv_header_X11_extensions_Xcomposite_h" "$xlib_includes
15680 if test "x$ac_cv_header_X11_extensions_Xcomposite_h" = xyes
15682 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
15683 printf %s
"checking for -lXcomposite... " >&6; }
15684 if test ${ac_cv_lib_soname_Xcomposite+y}
15686 printf %s
"(cached) " >&6
15688 ac_check_soname_save_LIBS
=$LIBS
15689 LIBS
="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
15690 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15691 /* end confdefs.h. */
15693 /* Override any GCC internal prototype to avoid an error.
15694 Use char because int might match the return type of a GCC
15695 builtin and then its argument prototype would still apply. */
15696 char XCompositeRedirectWindow ();
15700 return XCompositeRedirectWindow ();
15705 if ac_fn_c_try_link
"$LINENO"
15708 dll
) ac_cv_lib_soname_Xcomposite
=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15709 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'` ;;
15710 *) ac_cv_lib_soname_Xcomposite
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15711 if ${ac_cv_lib_soname_Xcomposite:+false} :
15713 ac_cv_lib_soname_Xcomposite
=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15717 ac_cv_lib_soname_Xcomposite
=
15719 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15720 conftest
$ac_exeext conftest.
$ac_ext
15721 LIBS
=$ac_check_soname_save_LIBS
15723 if ${ac_cv_lib_soname_Xcomposite:+false} :
15725 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15726 printf "%s\n" "not found" >&6; }
15729 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
15730 printf "%s\n" "$ac_cv_lib_soname_Xcomposite" >&6; }
15732 printf "%s\n" "#define SONAME_LIBXCOMPOSITE \"$ac_cv_lib_soname_Xcomposite\"" >>confdefs.h
15738 if test "x$ac_cv_lib_soname_Xcomposite" = "x"
15740 case "x$with_xcomposite" in
15741 x
) as_fn_append wine_notices
"|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
15743 *) as_fn_error $?
"libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
15744 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
15749 ac_fn_c_check_member
"$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "$xlib_includes
15751 if test "x$ac_cv_member_XICCallback_callback" = xyes
15754 printf "%s\n" "#define HAVE_XICCALLBACK_CALLBACK 1" >>confdefs.h
15758 ac_fn_c_check_member
"$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "$xlib_includes
15760 if test "x$ac_cv_member_XEvent_xcookie" = xyes
15763 printf "%s\n" "#define HAVE_XEVENT_XCOOKIE 1" >>confdefs.h
15771 if test "x$with_opengl" != "xno"
15773 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
15774 printf %s
"checking for -lGL... " >&6; }
15775 if test ${ac_cv_lib_soname_GL+y}
15777 printf %s
"(cached) " >&6
15779 ac_check_soname_save_LIBS
=$LIBS
15780 LIBS
="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
15781 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15782 /* end confdefs.h. */
15784 /* Override any GCC internal prototype to avoid an error.
15785 Use char because int might match the return type of a GCC
15786 builtin and then its argument prototype would still apply. */
15787 char glXCreateContext ();
15791 return glXCreateContext ();
15796 if ac_fn_c_try_link
"$LINENO"
15799 dll
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15800 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'` ;;
15801 *) ac_cv_lib_soname_GL
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15802 if ${ac_cv_lib_soname_GL:+false} :
15804 ac_cv_lib_soname_GL
=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15808 ac_cv_lib_soname_GL
=
15810 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15811 conftest
$ac_exeext conftest.
$ac_ext
15812 LIBS
=$ac_check_soname_save_LIBS
15814 if ${ac_cv_lib_soname_GL:+false} :
15816 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15817 printf "%s\n" "not found" >&6; }
15818 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
15819 printf %s
"checking for -lGL... " >&6; }
15820 if test ${ac_cv_lib_soname_GL+y}
15822 printf %s
"(cached) " >&6
15824 ac_check_soname_save_LIBS
=$LIBS
15825 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"
15826 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15827 /* end confdefs.h. */
15829 /* Override any GCC internal prototype to avoid an error.
15830 Use char because int might match the return type of a GCC
15831 builtin and then its argument prototype would still apply. */
15832 char glXCreateContext ();
15836 return glXCreateContext ();
15841 if ac_fn_c_try_link
"$LINENO"
15844 dll
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15845 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'` ;;
15846 *) ac_cv_lib_soname_GL
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15847 if ${ac_cv_lib_soname_GL:+false} :
15849 ac_cv_lib_soname_GL
=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15853 ac_cv_lib_soname_GL
=
15855 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15856 conftest
$ac_exeext conftest.
$ac_ext
15857 LIBS
=$ac_check_soname_save_LIBS
15859 if ${ac_cv_lib_soname_GL:+false} :
15861 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15862 printf "%s\n" "not found" >&6; }
15863 if test -f /usr
/X11R
6/lib
/libGL.a
15865 opengl_msg
="/usr/X11R6/lib/libGL.a is present on your system.
15866 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
15868 opengl_msg
="No OpenGL library found on this system."
15871 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
15872 printf "%s\n" "$ac_cv_lib_soname_GL" >&6; }
15874 printf "%s\n" "#define SONAME_LIBGL \"$ac_cv_lib_soname_GL\"" >>confdefs.h
15876 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"
15879 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
15880 printf "%s\n" "$ac_cv_lib_soname_GL" >&6; }
15882 printf "%s\n" "#define SONAME_LIBGL \"$ac_cv_lib_soname_GL\"" >>confdefs.h
15886 if test "x$with_osmesa" != "xno"
15888 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
15889 printf %s
"checking for -lOSMesa... " >&6; }
15890 if test ${ac_cv_lib_soname_OSMesa+y}
15892 printf %s
"(cached) " >&6
15894 ac_check_soname_save_LIBS
=$LIBS
15895 LIBS
="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
15896 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15897 /* end confdefs.h. */
15899 /* Override any GCC internal prototype to avoid an error.
15900 Use char because int might match the return type of a GCC
15901 builtin and then its argument prototype would still apply. */
15902 char OSMesaGetProcAddress ();
15906 return OSMesaGetProcAddress ();
15911 if ac_fn_c_try_link
"$LINENO"
15914 dll
) ac_cv_lib_soname_OSMesa
=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15915 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'` ;;
15916 *) ac_cv_lib_soname_OSMesa
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15917 if ${ac_cv_lib_soname_OSMesa:+false} :
15919 ac_cv_lib_soname_OSMesa
=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15923 ac_cv_lib_soname_OSMesa
=
15925 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15926 conftest
$ac_exeext conftest.
$ac_ext
15927 LIBS
=$ac_check_soname_save_LIBS
15929 if ${ac_cv_lib_soname_OSMesa:+false} :
15931 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15932 printf "%s\n" "not found" >&6; }
15935 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
15936 printf "%s\n" "$ac_cv_lib_soname_OSMesa" >&6; }
15938 printf "%s\n" "#define SONAME_LIBOSMESA \"$ac_cv_lib_soname_OSMesa\"" >>confdefs.h
15942 if test "x$ac_cv_lib_soname_OSMesa" = "x"
15944 case "x$with_osmesa" in
15945 x
) as_fn_append wine_notices
"|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
15947 *) as_fn_error $?
"libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
15948 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
15954 if test -n "$opengl_msg"
15956 case "x$with_opengl" in
15957 x
) as_fn_append wine_warnings
"|$opengl_msg
15958 OpenGL and Direct3D won't be supported." ;;
15960 *) as_fn_error $?
"$opengl_msg
15961 OpenGL and Direct3D won't be supported.
15962 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
15967 CPPFLAGS
="$ac_save_CPPFLAGS"
15973 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
15975 if test "x$X_LIBS" = "x"
15979 *) as_fn_error $?
"X ${notice_platform}development files not found. Wine will be built
15980 without X support, which probably isn't what you want. You will need
15981 to install ${notice_platform}development packages of Xlib at the very least.
15982 Use the --without-x option if you really want this." "$LINENO" 5 ;;
15984 enable_winex11_drv
=${enable_winex11_drv:-no}
15987 if test "x$X_LIBS" = "x"
15990 x
) as_fn_append wine_notices
"|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
15992 *) as_fn_error $?
"X ${notice_platform}development files not found, the X11 driver won't be supported.
15993 This is an error since --with-x was requested." "$LINENO" 5 ;;
15995 enable_winex11_drv
=${enable_winex11_drv:-no}
15999 if test "x$with_wayland" != "xno"
16002 if ${WAYLAND_CLIENT_CFLAGS:+false} :
16004 if test ${PKG_CONFIG+y}
16006 WAYLAND_CLIENT_CFLAGS
=`$PKG_CONFIG --cflags wayland-client 2>conftest.err`
16010 if ${WAYLAND_CLIENT_LIBS:+false} :
16012 if test ${PKG_CONFIG+y}
16014 WAYLAND_CLIENT_LIBS
=`$PKG_CONFIG --libs wayland-client 2>/dev/null`
16019 printf "%s\n" "$as_me:${as_lineno-$LINENO}: wayland-client cflags: $WAYLAND_CLIENT_CFLAGS" >&5
16020 printf "%s\n" "$as_me:${as_lineno-$LINENO}: wayland-client libs: $WAYLAND_CLIENT_LIBS" >&5
16021 if test -s conftest.err
; then
16022 printf %s
"$as_me:${as_lineno-$LINENO}: wayland-client errors: " >&5
16023 cat conftest.err
>&5
16026 ac_save_CPPFLAGS
=$CPPFLAGS
16027 CPPFLAGS
="$CPPFLAGS $WAYLAND_CLIENT_CFLAGS"
16028 ac_fn_c_check_header_compile
"$LINENO" "wayland-client.h" "ac_cv_header_wayland_client_h" "$ac_includes_default"
16029 if test "x$ac_cv_header_wayland_client_h" = xyes
16031 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for wl_display_connect in -lwayland-client" >&5
16032 printf %s
"checking for wl_display_connect in -lwayland-client... " >&6; }
16033 if test ${ac_cv_lib_wayland_client_wl_display_connect+y}
16035 printf %s
"(cached) " >&6
16037 ac_check_lib_save_LIBS
=$LIBS
16038 LIBS
="-lwayland-client $WAYLAND_CLIENT_LIBS $LIBS"
16039 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16040 /* end confdefs.h. */
16042 /* Override any GCC internal prototype to avoid an error.
16043 Use char because int might match the return type of a GCC
16044 builtin and then its argument prototype would still apply. */
16045 char wl_display_connect ();
16049 return wl_display_connect ();
16054 if ac_fn_c_try_link
"$LINENO"
16056 ac_cv_lib_wayland_client_wl_display_connect
=yes
16058 ac_cv_lib_wayland_client_wl_display_connect
=no
16060 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16061 conftest
$ac_exeext conftest.
$ac_ext
16062 LIBS
=$ac_check_lib_save_LIBS
16064 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_wayland_client_wl_display_connect" >&5
16065 printf "%s\n" "$ac_cv_lib_wayland_client_wl_display_connect" >&6; }
16066 if test "x$ac_cv_lib_wayland_client_wl_display_connect" = xyes
16068 # Extract the first word of "wayland-scanner", so it can be a program name with args.
16069 set dummy wayland-scanner
; ac_word
=$2
16070 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16071 printf %s
"checking for $ac_word... " >&6; }
16072 if test ${ac_cv_path_WAYLAND_SCANNER+y}
16074 printf %s
"(cached) " >&6
16076 case $WAYLAND_SCANNER in
16078 ac_cv_path_WAYLAND_SCANNER
="$WAYLAND_SCANNER" # Let the user override the test with a path.
16081 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16082 for as_dir
in $PATH
16085 case $as_dir in #(((
16088 *) as_dir
=$as_dir/ ;;
16090 for ac_exec_ext
in '' $ac_executable_extensions; do
16091 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
16092 ac_cv_path_WAYLAND_SCANNER
="$as_dir$ac_word$ac_exec_ext"
16093 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
16100 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`"
16104 WAYLAND_SCANNER
=$ac_cv_path_WAYLAND_SCANNER
16105 if test -n "$WAYLAND_SCANNER"; then
16106 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $WAYLAND_SCANNER" >&5
16107 printf "%s\n" "$WAYLAND_SCANNER" >&6; }
16109 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
16110 printf "%s\n" "no" >&6; }
16115 WAYLAND_CLIENT_LIBS
=""
16120 CPPFLAGS
=$ac_save_CPPFLAGS
16123 if ${XKBCOMMON_CFLAGS:+false} :
16125 if test ${PKG_CONFIG+y}
16127 XKBCOMMON_CFLAGS
=`$PKG_CONFIG --cflags xkbcommon 2>conftest.err`
16131 if ${XKBCOMMON_LIBS:+false} :
16133 if test ${PKG_CONFIG+y}
16135 XKBCOMMON_LIBS
=`$PKG_CONFIG --libs xkbcommon 2>/dev/null`
16140 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xkbcommon cflags: $XKBCOMMON_CFLAGS" >&5
16141 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xkbcommon libs: $XKBCOMMON_LIBS" >&5
16142 if test -s conftest.err
; then
16143 printf %s
"$as_me:${as_lineno-$LINENO}: xkbcommon errors: " >&5
16144 cat conftest.err
>&5
16147 ac_save_CPPFLAGS
=$CPPFLAGS
16148 CPPFLAGS
="$CPPFLAGS $XKBCOMMON_CFLAGS"
16149 ac_fn_c_check_header_compile
"$LINENO" "xkbcommon/xkbcommon.h" "ac_cv_header_xkbcommon_xkbcommon_h" "$ac_includes_default"
16150 if test "x$ac_cv_header_xkbcommon_xkbcommon_h" = xyes
16152 printf "%s\n" "#define HAVE_XKBCOMMON_XKBCOMMON_H 1" >>confdefs.h
16156 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for xkb_context_new in -lxkbcommon" >&5
16157 printf %s
"checking for xkb_context_new in -lxkbcommon... " >&6; }
16158 if test ${ac_cv_lib_xkbcommon_xkb_context_new+y}
16160 printf %s
"(cached) " >&6
16162 ac_check_lib_save_LIBS
=$LIBS
16163 LIBS
="-lxkbcommon $XKBCOMMON_LIBS $LIBS"
16164 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16165 /* end confdefs.h. */
16167 /* Override any GCC internal prototype to avoid an error.
16168 Use char because int might match the return type of a GCC
16169 builtin and then its argument prototype would still apply. */
16170 char xkb_context_new ();
16174 return xkb_context_new ();
16179 if ac_fn_c_try_link
"$LINENO"
16181 ac_cv_lib_xkbcommon_xkb_context_new
=yes
16183 ac_cv_lib_xkbcommon_xkb_context_new
=no
16185 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16186 conftest
$ac_exeext conftest.
$ac_ext
16187 LIBS
=$ac_check_lib_save_LIBS
16189 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xkbcommon_xkb_context_new" >&5
16190 printf "%s\n" "$ac_cv_lib_xkbcommon_xkb_context_new" >&6; }
16191 if test "x$ac_cv_lib_xkbcommon_xkb_context_new" = xyes
16198 CPPFLAGS
=$ac_save_CPPFLAGS
16201 if ${XKBREGISTRY_CFLAGS:+false} :
16203 if test ${PKG_CONFIG+y}
16205 XKBREGISTRY_CFLAGS
=`$PKG_CONFIG --cflags xkbregistry 2>conftest.err`
16209 if ${XKBREGISTRY_LIBS:+false} :
16211 if test ${PKG_CONFIG+y}
16213 XKBREGISTRY_LIBS
=`$PKG_CONFIG --libs xkbregistry 2>/dev/null`
16218 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xkbregistry cflags: $XKBREGISTRY_CFLAGS" >&5
16219 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xkbregistry libs: $XKBREGISTRY_LIBS" >&5
16220 if test -s conftest.err
; then
16221 printf %s
"$as_me:${as_lineno-$LINENO}: xkbregistry errors: " >&5
16222 cat conftest.err
>&5
16225 ac_save_CPPFLAGS
=$CPPFLAGS
16226 CPPFLAGS
="$CPPFLAGS $XKBREGISTRY_CFLAGS"
16227 ac_fn_c_check_header_compile
"$LINENO" "xkbcommon/xkbregistry.h" "ac_cv_header_xkbcommon_xkbregistry_h" "$ac_includes_default"
16228 if test "x$ac_cv_header_xkbcommon_xkbregistry_h" = xyes
16230 printf "%s\n" "#define HAVE_XKBCOMMON_XKBREGISTRY_H 1" >>confdefs.h
16234 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for rxkb_context_new in -lxkbregistry" >&5
16235 printf %s
"checking for rxkb_context_new in -lxkbregistry... " >&6; }
16236 if test ${ac_cv_lib_xkbregistry_rxkb_context_new+y}
16238 printf %s
"(cached) " >&6
16240 ac_check_lib_save_LIBS
=$LIBS
16241 LIBS
="-lxkbregistry $XKBREGISTRY_LIBS $LIBS"
16242 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16243 /* end confdefs.h. */
16245 /* Override any GCC internal prototype to avoid an error.
16246 Use char because int might match the return type of a GCC
16247 builtin and then its argument prototype would still apply. */
16248 char rxkb_context_new ();
16252 return rxkb_context_new ();
16257 if ac_fn_c_try_link
"$LINENO"
16259 ac_cv_lib_xkbregistry_rxkb_context_new
=yes
16261 ac_cv_lib_xkbregistry_rxkb_context_new
=no
16263 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16264 conftest
$ac_exeext conftest.
$ac_ext
16265 LIBS
=$ac_check_lib_save_LIBS
16267 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xkbregistry_rxkb_context_new" >&5
16268 printf "%s\n" "$ac_cv_lib_xkbregistry_rxkb_context_new" >&6; }
16269 if test "x$ac_cv_lib_xkbregistry_rxkb_context_new" = xyes
16273 XKBREGISTRY_LIBS
=""
16276 CPPFLAGS
=$ac_save_CPPFLAGS
16278 if test "x$with_opengl" != "xno"
16281 if ${EGL_CFLAGS:+false} :
16283 if test ${PKG_CONFIG+y}
16285 EGL_CFLAGS
=`$PKG_CONFIG --cflags egl 2>conftest.err`
16289 if ${EGL_LIBS:+false} :
16291 if test ${PKG_CONFIG+y}
16293 EGL_LIBS
=`$PKG_CONFIG --libs egl 2>/dev/null`
16297 EGL_LIBS
=${EGL_LIBS:-"-lEGL"}
16298 printf "%s\n" "$as_me:${as_lineno-$LINENO}: egl cflags: $EGL_CFLAGS" >&5
16299 printf "%s\n" "$as_me:${as_lineno-$LINENO}: egl libs: $EGL_LIBS" >&5
16300 if test -s conftest.err
; then
16301 printf %s
"$as_me:${as_lineno-$LINENO}: egl errors: " >&5
16302 cat conftest.err
>&5
16305 ac_save_CPPFLAGS
=$CPPFLAGS
16306 CPPFLAGS
="$CPPFLAGS $EGL_CFLAGS"
16307 ac_fn_c_check_header_compile
"$LINENO" "EGL/egl.h" "ac_cv_header_EGL_egl_h" "$ac_includes_default"
16308 if test "x$ac_cv_header_EGL_egl_h" = xyes
16310 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
16311 printf %s
"checking for -lEGL... " >&6; }
16312 if test ${ac_cv_lib_soname_EGL+y}
16314 printf %s
"(cached) " >&6
16316 ac_check_soname_save_LIBS
=$LIBS
16317 LIBS
="-lEGL $EGL_LIBS $LIBS"
16318 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16319 /* end confdefs.h. */
16321 /* Override any GCC internal prototype to avoid an error.
16322 Use char because int might match the return type of a GCC
16323 builtin and then its argument prototype would still apply. */
16324 char eglGetProcAddress ();
16328 return eglGetProcAddress ();
16333 if ac_fn_c_try_link
"$LINENO"
16336 dll
) ac_cv_lib_soname_EGL
=`$ac_cv_path_LDD conftest.exe | grep "EGL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16337 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'` ;;
16338 *) ac_cv_lib_soname_EGL
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libEGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16339 if ${ac_cv_lib_soname_EGL:+false} :
16341 ac_cv_lib_soname_EGL
=`$LDD conftest$ac_exeext | grep "libEGL\\.$LIBEXT" | sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16345 ac_cv_lib_soname_EGL
=
16347 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16348 conftest
$ac_exeext conftest.
$ac_ext
16349 LIBS
=$ac_check_soname_save_LIBS
16351 if ${ac_cv_lib_soname_EGL:+false} :
16353 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16354 printf "%s\n" "not found" >&6; }
16357 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
16358 printf "%s\n" "$ac_cv_lib_soname_EGL" >&6; }
16360 printf "%s\n" "#define SONAME_LIBEGL \"$ac_cv_lib_soname_EGL\"" >>confdefs.h
16366 CPPFLAGS
=$ac_save_CPPFLAGS
16369 if ${WAYLAND_EGL_CFLAGS:+false} :
16371 if test ${PKG_CONFIG+y}
16373 WAYLAND_EGL_CFLAGS
=`$PKG_CONFIG --cflags wayland-egl 2>conftest.err`
16377 if ${WAYLAND_EGL_LIBS:+false} :
16379 if test ${PKG_CONFIG+y}
16381 WAYLAND_EGL_LIBS
=`$PKG_CONFIG --libs wayland-egl 2>/dev/null`
16386 printf "%s\n" "$as_me:${as_lineno-$LINENO}: wayland-egl cflags: $WAYLAND_EGL_CFLAGS" >&5
16387 printf "%s\n" "$as_me:${as_lineno-$LINENO}: wayland-egl libs: $WAYLAND_EGL_LIBS" >&5
16388 if test -s conftest.err
; then
16389 printf %s
"$as_me:${as_lineno-$LINENO}: wayland-egl errors: " >&5
16390 cat conftest.err
>&5
16393 ac_save_CPPFLAGS
=$CPPFLAGS
16394 CPPFLAGS
="$CPPFLAGS $WAYLAND_EGL_CFLAGS"
16395 ac_fn_c_check_header_compile
"$LINENO" "wayland-egl.h" "ac_cv_header_wayland_egl_h" "$ac_includes_default"
16396 if test "x$ac_cv_header_wayland_egl_h" = xyes
16398 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for wl_egl_window_create in -lwayland-egl" >&5
16399 printf %s
"checking for wl_egl_window_create in -lwayland-egl... " >&6; }
16400 if test ${ac_cv_lib_wayland_egl_wl_egl_window_create+y}
16402 printf %s
"(cached) " >&6
16404 ac_check_lib_save_LIBS
=$LIBS
16405 LIBS
="-lwayland-egl $WAYLAND_EGL_LIBS $LIBS"
16406 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16407 /* end confdefs.h. */
16409 /* Override any GCC internal prototype to avoid an error.
16410 Use char because int might match the return type of a GCC
16411 builtin and then its argument prototype would still apply. */
16412 char wl_egl_window_create ();
16416 return wl_egl_window_create ();
16421 if ac_fn_c_try_link
"$LINENO"
16423 ac_cv_lib_wayland_egl_wl_egl_window_create
=yes
16425 ac_cv_lib_wayland_egl_wl_egl_window_create
=no
16427 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16428 conftest
$ac_exeext conftest.
$ac_ext
16429 LIBS
=$ac_check_lib_save_LIBS
16431 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_wayland_egl_wl_egl_window_create" >&5
16432 printf "%s\n" "$ac_cv_lib_wayland_egl_wl_egl_window_create" >&6; }
16433 if test "x$ac_cv_lib_wayland_egl_wl_egl_window_create" = xyes
16436 printf "%s\n" "#define HAVE_LIBWAYLAND_EGL 1" >>confdefs.h
16439 WAYLAND_EGL_LIBS
=""
16444 CPPFLAGS
=$ac_save_CPPFLAGS
16446 if test "x$with_wayland" != "x"
16448 if test -z "$ac_cv_lib_soname_EGL" -o "$ac_cv_lib_wayland_egl_wl_egl_window_create" != yes
16450 case "x$with_opengl" in
16451 x
) as_fn_append wine_notices
"|EGL ${notice_platform}development files not found, the Wayland driver won't support OpenGL" ;;
16453 *) as_fn_error $?
"EGL ${notice_platform}development files not found, the Wayland driver won't support OpenGL
16454 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
16461 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"
16463 case "x$with_wayland" in
16464 x
) as_fn_append wine_notices
"|Wayland ${notice_platform}development files not found, the Wayland driver won't be supported." ;;
16466 *) as_fn_error $?
"Wayland ${notice_platform}development files not found, the Wayland driver won't be supported.
16467 This is an error since --with-wayland was requested." "$LINENO" 5 ;;
16469 enable_winewayland_drv
=${enable_winewayland_drv:-no}
16472 if test "$ac_cv_header_CL_cl_h" = "yes"
16474 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
16475 printf %s
"checking for clGetPlatformInfo in -lOpenCL... " >&6; }
16476 if test ${ac_cv_lib_OpenCL_clGetPlatformInfo+y}
16478 printf %s
"(cached) " >&6
16480 ac_check_lib_save_LIBS
=$LIBS
16481 LIBS
="-lOpenCL $LIBS"
16482 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16483 /* end confdefs.h. */
16485 /* Override any GCC internal prototype to avoid an error.
16486 Use char because int might match the return type of a GCC
16487 builtin and then its argument prototype would still apply. */
16488 char clGetPlatformInfo ();
16492 return clGetPlatformInfo ();
16497 if ac_fn_c_try_link
"$LINENO"
16499 ac_cv_lib_OpenCL_clGetPlatformInfo
=yes
16501 ac_cv_lib_OpenCL_clGetPlatformInfo
=no
16503 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16504 conftest
$ac_exeext conftest.
$ac_ext
16505 LIBS
=$ac_check_lib_save_LIBS
16507 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
16508 printf "%s\n" "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
16509 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes
16511 OPENCL_LIBS
="-lOpenCL"
16516 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
16518 case "x$with_opencl" in
16519 x
) as_fn_append wine_notices
"|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
16521 *) as_fn_error $?
"OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
16522 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
16524 enable_opencl
=${enable_opencl:-no}
16527 if test "$ac_cv_header_pcap_pcap_h" = "yes"
16529 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pcap_init in -lpcap" >&5
16530 printf %s
"checking for pcap_init in -lpcap... " >&6; }
16531 if test ${ac_cv_lib_pcap_pcap_init+y}
16533 printf %s
"(cached) " >&6
16535 ac_check_lib_save_LIBS
=$LIBS
16536 LIBS
="-lpcap $LIBS"
16537 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16538 /* end confdefs.h. */
16540 /* Override any GCC internal prototype to avoid an error.
16541 Use char because int might match the return type of a GCC
16542 builtin and then its argument prototype would still apply. */
16547 return pcap_init ();
16552 if ac_fn_c_try_link
"$LINENO"
16554 ac_cv_lib_pcap_pcap_init
=yes
16556 ac_cv_lib_pcap_pcap_init
=no
16558 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16559 conftest
$ac_exeext conftest.
$ac_ext
16560 LIBS
=$ac_check_lib_save_LIBS
16562 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_init" >&5
16563 printf "%s\n" "$ac_cv_lib_pcap_pcap_init" >&6; }
16564 if test "x$ac_cv_lib_pcap_pcap_init" = xyes
16571 if test "x$ac_cv_lib_pcap_pcap_init" != xyes
16573 case "x$with_pcap" in
16574 x
) as_fn_append wine_notices
"|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
16576 *) as_fn_error $?
"pcap ${notice_platform}development files not found, wpcap won't be supported.
16577 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
16579 enable_wpcap
=${enable_wpcap:-no}
16582 if test "x$with_pcsclite" != "xno"
16584 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for SCardEstablishContext in -lpcsclite" >&5
16585 printf %s
"checking for SCardEstablishContext in -lpcsclite... " >&6; }
16586 if test ${ac_cv_lib_pcsclite_SCardEstablishContext+y}
16588 printf %s
"(cached) " >&6
16590 ac_check_lib_save_LIBS
=$LIBS
16591 LIBS
="-lpcsclite $LIBS"
16592 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16593 /* end confdefs.h. */
16595 /* Override any GCC internal prototype to avoid an error.
16596 Use char because int might match the return type of a GCC
16597 builtin and then its argument prototype would still apply. */
16598 char SCardEstablishContext ();
16602 return SCardEstablishContext ();
16607 if ac_fn_c_try_link
"$LINENO"
16609 ac_cv_lib_pcsclite_SCardEstablishContext
=yes
16611 ac_cv_lib_pcsclite_SCardEstablishContext
=no
16613 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16614 conftest
$ac_exeext conftest.
$ac_ext
16615 LIBS
=$ac_check_lib_save_LIBS
16617 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcsclite_SCardEstablishContext" >&5
16618 printf "%s\n" "$ac_cv_lib_pcsclite_SCardEstablishContext" >&6; }
16619 if test "x$ac_cv_lib_pcsclite_SCardEstablishContext" = xyes
16621 PCSCLITE_LIBS
="-lpcsclite"
16625 darwin
*|macosx
*) PCSCLITE_LIBS
="-framework PCSC"
16631 if test "x$PCSCLITE_LIBS" = x
16633 case "x$with_pcsclite" in
16634 x
) as_fn_append wine_notices
"|libpcsclite not found, smart cards won't be supported." ;;
16636 *) as_fn_error $?
"libpcsclite not found, smart cards won't be supported.
16637 This is an error since --with-pcsclite was requested." "$LINENO" 5 ;;
16639 enable_winscard
=${enable_winscard:-no}
16642 if test "x$with_odbc" != "xno"
16645 if ${ODBC_CFLAGS:+false} :
16647 if test ${PKG_CONFIG+y}
16649 ODBC_CFLAGS
=`$PKG_CONFIG --cflags odbc 2>conftest.err`
16653 if ${ODBC_LIBS:+false} :
16655 if test ${PKG_CONFIG+y}
16657 ODBC_LIBS
=`$PKG_CONFIG --libs odbc 2>/dev/null`
16661 ODBC_LIBS
=${ODBC_LIBS:-"-lodbc"}
16662 printf "%s\n" "$as_me:${as_lineno-$LINENO}: odbc cflags: $ODBC_CFLAGS" >&5
16663 printf "%s\n" "$as_me:${as_lineno-$LINENO}: odbc libs: $ODBC_LIBS" >&5
16664 if test -s conftest.err
; then
16665 printf %s
"$as_me:${as_lineno-$LINENO}: odbc errors: " >&5
16666 cat conftest.err
>&5
16669 ac_save_CPPFLAGS
=$CPPFLAGS
16670 CPPFLAGS
="$CPPFLAGS $ODBC_CFLAGS"
16671 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for SQLConnect in -lodbc" >&5
16672 printf %s
"checking for SQLConnect in -lodbc... " >&6; }
16673 if test ${ac_cv_lib_odbc_SQLConnect+y}
16675 printf %s
"(cached) " >&6
16677 ac_check_lib_save_LIBS
=$LIBS
16678 LIBS
="-lodbc $ODBC_LIBS $LIBS"
16679 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16680 /* end confdefs.h. */
16682 /* Override any GCC internal prototype to avoid an error.
16683 Use char because int might match the return type of a GCC
16684 builtin and then its argument prototype would still apply. */
16685 char SQLConnect ();
16689 return SQLConnect ();
16694 if ac_fn_c_try_link
"$LINENO"
16696 ac_cv_lib_odbc_SQLConnect
=yes
16698 ac_cv_lib_odbc_SQLConnect
=no
16700 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16701 conftest
$ac_exeext conftest.
$ac_ext
16702 LIBS
=$ac_check_lib_save_LIBS
16704 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_odbc_SQLConnect" >&5
16705 printf "%s\n" "$ac_cv_lib_odbc_SQLConnect" >&6; }
16706 if test "x$ac_cv_lib_odbc_SQLConnect" = xyes
16713 CPPFLAGS
=$ac_save_CPPFLAGS
16716 if test "x$ODBC_LIBS" = x
16718 case "x$with_odbc" in
16719 x
) as_fn_append wine_notices
"|libodbc not found, ODBC won't be supported." ;;
16721 *) as_fn_error $?
"libodbc not found, ODBC won't be supported.
16722 This is an error since --with-odbc was requested." "$LINENO" 5 ;;
16724 enable_odbc32
=${enable_odbc32:-no}
16727 if test "x$with_inotify" != "xno"
16730 if ${INOTIFY_CFLAGS:+false} :
16732 if test ${PKG_CONFIG+y}
16734 INOTIFY_CFLAGS
=`$PKG_CONFIG --cflags libinotify 2>conftest.err`
16738 if ${INOTIFY_LIBS:+false} :
16740 if test ${PKG_CONFIG+y}
16742 INOTIFY_LIBS
=`$PKG_CONFIG --libs libinotify 2>/dev/null`
16747 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libinotify cflags: $INOTIFY_CFLAGS" >&5
16748 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libinotify libs: $INOTIFY_LIBS" >&5
16749 if test -s conftest.err
; then
16750 printf %s
"$as_me:${as_lineno-$LINENO}: libinotify errors: " >&5
16751 cat conftest.err
>&5
16754 ac_save_CPPFLAGS
=$CPPFLAGS
16755 CPPFLAGS
="$CPPFLAGS $INOTIFY_CFLAGS"
16756 ac_fn_c_check_header_compile
"$LINENO" "sys/inotify.h" "ac_cv_header_sys_inotify_h" "$ac_includes_default"
16757 if test "x$ac_cv_header_sys_inotify_h" = xyes
16759 printf "%s\n" "#define HAVE_SYS_INOTIFY_H 1" >>confdefs.h
16763 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inotify_add_watch in -linotify" >&5
16764 printf %s
"checking for inotify_add_watch in -linotify... " >&6; }
16765 if test ${ac_cv_lib_inotify_inotify_add_watch+y}
16767 printf %s
"(cached) " >&6
16769 ac_check_lib_save_LIBS
=$LIBS
16770 LIBS
="-linotify $INOTIFY_LIBS $LIBS"
16771 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16772 /* end confdefs.h. */
16774 /* Override any GCC internal prototype to avoid an error.
16775 Use char because int might match the return type of a GCC
16776 builtin and then its argument prototype would still apply. */
16777 char inotify_add_watch ();
16781 return inotify_add_watch ();
16786 if ac_fn_c_try_link
"$LINENO"
16788 ac_cv_lib_inotify_inotify_add_watch
=yes
16790 ac_cv_lib_inotify_inotify_add_watch
=no
16792 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16793 conftest
$ac_exeext conftest.
$ac_ext
16794 LIBS
=$ac_check_lib_save_LIBS
16796 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_inotify_inotify_add_watch" >&5
16797 printf "%s\n" "$ac_cv_lib_inotify_inotify_add_watch" >&6; }
16798 if test "x$ac_cv_lib_inotify_inotify_add_watch" = xyes
16805 CPPFLAGS
=$ac_save_CPPFLAGS
16808 if test "$ac_cv_header_sys_inotify_h" != "yes"
16810 case "x$with_inotify" in
16811 x
) as_fn_append wine_notices
"|libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported." ;;
16813 *) as_fn_error $?
"libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported.
16814 This is an error since --with-inotify was requested." "$LINENO" 5 ;;
16819 if test "x$with_dbus" != "xno"
16822 if ${DBUS_CFLAGS:+false} :
16824 if test ${PKG_CONFIG+y}
16826 DBUS_CFLAGS
=`$PKG_CONFIG --cflags dbus-1 2>conftest.err`
16830 if ${DBUS_LIBS:+false} :
16832 if test ${PKG_CONFIG+y}
16834 DBUS_LIBS
=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
16839 printf "%s\n" "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
16840 printf "%s\n" "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
16841 if test -s conftest.err
; then
16842 printf %s
"$as_me:${as_lineno-$LINENO}: dbus-1 errors: " >&5
16843 cat conftest.err
>&5
16846 ac_save_CPPFLAGS
=$CPPFLAGS
16847 CPPFLAGS
="$CPPFLAGS $DBUS_CFLAGS"
16848 ac_fn_c_check_header_compile
"$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
16849 if test "x$ac_cv_header_dbus_dbus_h" = xyes
16851 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
16852 printf %s
"checking for -ldbus-1... " >&6; }
16853 if test ${ac_cv_lib_soname_dbus_1+y}
16855 printf %s
"(cached) " >&6
16857 ac_check_soname_save_LIBS
=$LIBS
16858 LIBS
="-ldbus-1 $DBUS_LIBS $LIBS"
16859 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16860 /* end confdefs.h. */
16862 /* Override any GCC internal prototype to avoid an error.
16863 Use char because int might match the return type of a GCC
16864 builtin and then its argument prototype would still apply. */
16865 char dbus_connection_close ();
16869 return dbus_connection_close ();
16874 if ac_fn_c_try_link
"$LINENO"
16877 dll
) ac_cv_lib_soname_dbus_1
=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16878 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'` ;;
16879 *) 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'`
16880 if ${ac_cv_lib_soname_dbus_1:+false} :
16882 ac_cv_lib_soname_dbus_1
=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16886 ac_cv_lib_soname_dbus_1
=
16888 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16889 conftest
$ac_exeext conftest.
$ac_ext
16890 LIBS
=$ac_check_soname_save_LIBS
16892 if ${ac_cv_lib_soname_dbus_1:+false} :
16894 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16895 printf "%s\n" "not found" >&6; }
16898 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
16899 printf "%s\n" "$ac_cv_lib_soname_dbus_1" >&6; }
16901 printf "%s\n" "#define SONAME_LIBDBUS_1 \"$ac_cv_lib_soname_dbus_1\"" >>confdefs.h
16909 CPPFLAGS
=$ac_save_CPPFLAGS
16913 darwin
*|macosx
*) ;;
16914 *) if test "x$ac_cv_lib_soname_dbus_1" = "x"
16916 case "x$with_dbus" in
16917 x
) as_fn_append wine_notices
"|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
16919 *) as_fn_error $?
"libdbus ${notice_platform}development files not found, no dynamic device support.
16920 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
16926 if test "x$with_gnutls" != "xno"
16929 if ${GNUTLS_CFLAGS:+false} :
16931 if test ${PKG_CONFIG+y}
16933 GNUTLS_CFLAGS
=`$PKG_CONFIG --cflags gnutls 2>conftest.err`
16937 if ${GNUTLS_LIBS:+false} :
16939 if test ${PKG_CONFIG+y}
16941 GNUTLS_LIBS
=`$PKG_CONFIG --libs gnutls 2>/dev/null`
16945 GNUTLS_LIBS
=${GNUTLS_LIBS:-"-lgnutls"}
16946 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
16947 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
16948 if test -s conftest.err
; then
16949 printf %s
"$as_me:${as_lineno-$LINENO}: gnutls errors: " >&5
16950 cat conftest.err
>&5
16953 ac_save_CPPFLAGS
=$CPPFLAGS
16954 CPPFLAGS
="$CPPFLAGS $GNUTLS_CFLAGS"
16955 ac_fn_c_check_header_compile
"$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
16956 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes
16958 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16959 /* end confdefs.h. */
16960 #include <gnutls/gnutls.h>
16961 #include <gnutls/crypto.h>
16965 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
16970 if ac_fn_c_try_compile
"$LINENO"
16972 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
16973 printf %s
"checking for -lgnutls... " >&6; }
16974 if test ${ac_cv_lib_soname_gnutls+y}
16976 printf %s
"(cached) " >&6
16978 ac_check_soname_save_LIBS
=$LIBS
16979 LIBS
="-lgnutls $GNUTLS_LIBS $LIBS"
16980 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16981 /* end confdefs.h. */
16983 /* Override any GCC internal prototype to avoid an error.
16984 Use char because int might match the return type of a GCC
16985 builtin and then its argument prototype would still apply. */
16986 char gnutls_global_init ();
16990 return gnutls_global_init ();
16995 if ac_fn_c_try_link
"$LINENO"
16998 dll
) ac_cv_lib_soname_gnutls
=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16999 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'` ;;
17000 *) 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'`
17001 if ${ac_cv_lib_soname_gnutls:+false} :
17003 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'`
17007 ac_cv_lib_soname_gnutls
=
17009 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17010 conftest
$ac_exeext conftest.
$ac_ext
17011 LIBS
=$ac_check_soname_save_LIBS
17013 if ${ac_cv_lib_soname_gnutls:+false} :
17015 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17016 printf "%s\n" "not found" >&6; }
17019 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
17020 printf "%s\n" "$ac_cv_lib_soname_gnutls" >&6; }
17022 printf "%s\n" "#define SONAME_LIBGNUTLS \"$ac_cv_lib_soname_gnutls\"" >>confdefs.h
17026 ac_wine_check_funcs_save_LIBS
="$LIBS"
17027 LIBS
="$LIBS $GNUTLS_LIBS"
17029 for ac_func
in gnutls_cipher_init
17031 ac_fn_c_check_func
"$LINENO" "gnutls_cipher_init" "ac_cv_func_gnutls_cipher_init"
17032 if test "x$ac_cv_func_gnutls_cipher_init" = xyes
17034 printf "%s\n" "#define HAVE_GNUTLS_CIPHER_INIT 1" >>confdefs.h
17037 as_fn_append wine_notices
"|libgnutls ${notice_platform}development files too old, bcrypt encryption won't be supported."
17041 LIBS
="$ac_wine_check_funcs_save_LIBS"
17043 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
17048 CPPFLAGS
=$ac_save_CPPFLAGS
17051 if test "x$ac_cv_lib_soname_gnutls" = "x"
17053 case "x$with_gnutls" in
17054 x
) as_fn_append wine_warnings
"|libgnutls ${notice_platform}development files not found, no schannel support." ;;
17056 *) as_fn_error $?
"libgnutls ${notice_platform}development files not found, no schannel support.
17057 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
17062 if test "x$with_sane" != "xno"
17065 if ${SANE_CFLAGS:+false} :
17067 if test ${PKG_CONFIG+y}
17069 SANE_CFLAGS
=`$PKG_CONFIG --cflags sane-backends 2>conftest.err`
17072 test "$cross_compiling" = yes || SANE_CFLAGS
=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
17073 if ${SANE_LIBS:+false} :
17075 if test ${PKG_CONFIG+y}
17077 SANE_LIBS
=`$PKG_CONFIG --libs sane-backends 2>/dev/null`
17080 test "$cross_compiling" = yes || SANE_LIBS
=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
17082 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sane-backends cflags: $SANE_CFLAGS" >&5
17083 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sane-backends libs: $SANE_LIBS" >&5
17084 if test -s conftest.err
; then
17085 printf %s
"$as_me:${as_lineno-$LINENO}: sane-backends errors: " >&5
17086 cat conftest.err
>&5
17089 ac_save_CPPFLAGS
=$CPPFLAGS
17090 CPPFLAGS
="$CPPFLAGS $SANE_CFLAGS"
17091 ac_fn_c_check_header_compile
"$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
17092 if test "x$ac_cv_header_sane_sane_h" = xyes
17094 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sane_init in -lsane" >&5
17095 printf %s
"checking for sane_init in -lsane... " >&6; }
17096 if test ${ac_cv_lib_sane_sane_init+y}
17098 printf %s
"(cached) " >&6
17100 ac_check_lib_save_LIBS
=$LIBS
17101 LIBS
="-lsane $SANE_LIBS $LIBS"
17102 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17103 /* end confdefs.h. */
17105 /* Override any GCC internal prototype to avoid an error.
17106 Use char because int might match the return type of a GCC
17107 builtin and then its argument prototype would still apply. */
17112 return sane_init ();
17117 if ac_fn_c_try_link
"$LINENO"
17119 ac_cv_lib_sane_sane_init
=yes
17121 ac_cv_lib_sane_sane_init
=no
17123 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17124 conftest
$ac_exeext conftest.
$ac_ext
17125 LIBS
=$ac_check_lib_save_LIBS
17127 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sane_sane_init" >&5
17128 printf "%s\n" "$ac_cv_lib_sane_sane_init" >&6; }
17129 if test "x$ac_cv_lib_sane_sane_init" = xyes
17136 CPPFLAGS
=$ac_save_CPPFLAGS
17139 if test "$ac_cv_lib_sane_sane_init" != "yes"
17141 case "x$with_sane" in
17142 x
) as_fn_append wine_notices
"|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
17144 *) as_fn_error $?
"libsane ${notice_platform}development files not found, scanners won't be supported.
17145 This is an error since --with-sane was requested." "$LINENO" 5 ;;
17147 enable_sane_ds
=${enable_sane_ds:-no}
17150 if test "x$with_usb" != "xno"
17153 if ${USB_CFLAGS:+false} :
17155 if test ${PKG_CONFIG+y}
17157 USB_CFLAGS
=`$PKG_CONFIG --cflags libusb-1.0 2>conftest.err`
17161 if ${USB_LIBS:+false} :
17163 if test ${PKG_CONFIG+y}
17165 USB_LIBS
=`$PKG_CONFIG --libs libusb-1.0 2>/dev/null`
17169 USB_LIBS
=${USB_LIBS:-"-lusb-1.0"}
17170 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libusb-1.0 cflags: $USB_CFLAGS" >&5
17171 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libusb-1.0 libs: $USB_LIBS" >&5
17172 if test -s conftest.err
; then
17173 printf %s
"$as_me:${as_lineno-$LINENO}: libusb-1.0 errors: " >&5
17174 cat conftest.err
>&5
17177 ac_save_CPPFLAGS
=$CPPFLAGS
17178 CPPFLAGS
="$CPPFLAGS $USB_CFLAGS"
17179 ac_fn_c_check_header_compile
"$LINENO" "libusb.h" "ac_cv_header_libusb_h" "$ac_includes_default"
17180 if test "x$ac_cv_header_libusb_h" = xyes
17182 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libusb_interrupt_event_handler in -lusb-1.0" >&5
17183 printf %s
"checking for libusb_interrupt_event_handler in -lusb-1.0... " >&6; }
17184 if test ${ac_cv_lib_usb_1_0_libusb_interrupt_event_handler+y}
17186 printf %s
"(cached) " >&6
17188 ac_check_lib_save_LIBS
=$LIBS
17189 LIBS
="-lusb-1.0 $USB_LIBS $LIBS"
17190 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17191 /* end confdefs.h. */
17193 /* Override any GCC internal prototype to avoid an error.
17194 Use char because int might match the return type of a GCC
17195 builtin and then its argument prototype would still apply. */
17196 char libusb_interrupt_event_handler ();
17200 return libusb_interrupt_event_handler ();
17205 if ac_fn_c_try_link
"$LINENO"
17207 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler
=yes
17209 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler
=no
17211 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17212 conftest
$ac_exeext conftest.
$ac_ext
17213 LIBS
=$ac_check_lib_save_LIBS
17215 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&5
17216 printf "%s\n" "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&6; }
17217 if test "x$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" = xyes
17228 CPPFLAGS
=$ac_save_CPPFLAGS
17231 if test "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" != "yes"
17233 case "x$with_usb" in
17234 x
) as_fn_append wine_notices
"|libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported." ;;
17236 *) as_fn_error $?
"libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported.
17237 This is an error since --with-usb was requested." "$LINENO" 5 ;;
17239 enable_wineusb_sys
=${enable_wineusb_sys:-no}
17242 if test "x$with_v4l2" != "xno"
17244 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lv4l2" >&5
17245 printf %s
"checking for -lv4l2... " >&6; }
17246 if test ${ac_cv_lib_soname_v4l2+y}
17248 printf %s
"(cached) " >&6
17250 ac_check_soname_save_LIBS
=$LIBS
17251 LIBS
="-lv4l2 $LIBS"
17252 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17253 /* end confdefs.h. */
17255 /* Override any GCC internal prototype to avoid an error.
17256 Use char because int might match the return type of a GCC
17257 builtin and then its argument prototype would still apply. */
17262 return v4l2_open ();
17267 if ac_fn_c_try_link
"$LINENO"
17270 dll
) ac_cv_lib_soname_v4l2
=`$ac_cv_path_LDD conftest.exe | grep "v4l2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17271 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'` ;;
17272 *) ac_cv_lib_soname_v4l2
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17273 if ${ac_cv_lib_soname_v4l2:+false} :
17275 ac_cv_lib_soname_v4l2
=`$LDD conftest$ac_exeext | grep "libv4l2\\.$LIBEXT" | sed -e "s/^.*\(libv4l2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17279 ac_cv_lib_soname_v4l2
=
17281 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17282 conftest
$ac_exeext conftest.
$ac_ext
17283 LIBS
=$ac_check_soname_save_LIBS
17285 if ${ac_cv_lib_soname_v4l2:+false} :
17287 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17288 printf "%s\n" "not found" >&6; }
17291 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l2" >&5
17292 printf "%s\n" "$ac_cv_lib_soname_v4l2" >&6; }
17294 printf "%s\n" "#define SONAME_LIBV4L2 \"$ac_cv_lib_soname_v4l2\"" >>confdefs.h
17299 if test "x$ac_cv_lib_soname_v4l2" = "x"
17301 case "x$with_v4l2" in
17302 x
) as_fn_append wine_notices
"|libv4l2 ${notice_platform}development files not found." ;;
17304 *) as_fn_error $?
"libv4l2 ${notice_platform}development files not found.
17305 This is an error since --with-v4l2 was requested." "$LINENO" 5 ;;
17310 if test "x$with_gphoto" != "xno"
17313 if ${GPHOTO2_CFLAGS:+false} :
17315 if test ${PKG_CONFIG+y}
17317 GPHOTO2_CFLAGS
=`$PKG_CONFIG --cflags libgphoto2 2>conftest.err`
17320 test "$cross_compiling" = yes || GPHOTO2_CFLAGS
=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
17321 if ${GPHOTO2_LIBS:+false} :
17323 if test ${PKG_CONFIG+y}
17325 GPHOTO2_LIBS
=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
17328 test "$cross_compiling" = yes || GPHOTO2_LIBS
=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
17329 GPHOTO2_LIBS
=${GPHOTO2_LIBS:-"-lgphoto2"}
17330 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
17331 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
17332 if test -s conftest.err
; then
17333 printf %s
"$as_me:${as_lineno-$LINENO}: libgphoto2 errors: " >&5
17334 cat conftest.err
>&5
17337 ac_save_CPPFLAGS
=$CPPFLAGS
17338 CPPFLAGS
="$CPPFLAGS $GPHOTO2_CFLAGS"
17339 ac_fn_c_check_header_compile
"$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
17340 if test "x$ac_cv_header_gphoto2_camera_h" = xyes
17342 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
17343 printf %s
"checking for gp_camera_new in -lgphoto2... " >&6; }
17344 if test ${ac_cv_lib_gphoto2_gp_camera_new+y}
17346 printf %s
"(cached) " >&6
17348 ac_check_lib_save_LIBS
=$LIBS
17349 LIBS
="-lgphoto2 $GPHOTO2_LIBS $LIBS"
17350 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17351 /* end confdefs.h. */
17353 /* Override any GCC internal prototype to avoid an error.
17354 Use char because int might match the return type of a GCC
17355 builtin and then its argument prototype would still apply. */
17356 char gp_camera_new ();
17360 return gp_camera_new ();
17365 if ac_fn_c_try_link
"$LINENO"
17367 ac_cv_lib_gphoto2_gp_camera_new
=yes
17369 ac_cv_lib_gphoto2_gp_camera_new
=no
17371 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17372 conftest
$ac_exeext conftest.
$ac_ext
17373 LIBS
=$ac_check_lib_save_LIBS
17375 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
17376 printf "%s\n" "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
17377 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes
17384 CPPFLAGS
=$ac_save_CPPFLAGS
17387 if ${GPHOTO2_PORT_CFLAGS:+false} :
17389 if test ${PKG_CONFIG+y}
17391 GPHOTO2_PORT_CFLAGS
=`$PKG_CONFIG --cflags libgphoto2_port 2>conftest.err`
17394 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS
=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
17395 if ${GPHOTO2_PORT_LIBS:+false} :
17397 if test ${PKG_CONFIG+y}
17399 GPHOTO2_PORT_LIBS
=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
17402 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS
=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
17403 GPHOTO2_PORT_LIBS
=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
17404 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
17405 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
17406 if test -s conftest.err
; then
17407 printf %s
"$as_me:${as_lineno-$LINENO}: libgphoto2_port errors: " >&5
17408 cat conftest.err
>&5
17411 ac_save_CPPFLAGS
=$CPPFLAGS
17412 CPPFLAGS
="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
17413 ac_fn_c_check_header_compile
"$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
17414 if test "x$ac_cv_header_gphoto2_port_h" = xyes
17416 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
17417 printf %s
"checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
17418 if test ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+y}
17420 printf %s
"(cached) " >&6
17422 ac_check_lib_save_LIBS
=$LIBS
17423 LIBS
="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
17424 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17425 /* end confdefs.h. */
17427 /* Override any GCC internal prototype to avoid an error.
17428 Use char because int might match the return type of a GCC
17429 builtin and then its argument prototype would still apply. */
17430 char gp_port_info_list_new ();
17434 return gp_port_info_list_new ();
17439 if ac_fn_c_try_link
"$LINENO"
17441 ac_cv_lib_gphoto2_port_gp_port_info_list_new
=yes
17443 ac_cv_lib_gphoto2_port_gp_port_info_list_new
=no
17445 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17446 conftest
$ac_exeext conftest.
$ac_ext
17447 LIBS
=$ac_check_lib_save_LIBS
17449 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
17450 printf "%s\n" "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
17451 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes
17454 printf "%s\n" "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
17457 GPHOTO2_PORT_LIBS
=""; GPHOTO2_PORT_CFLAGS
=""
17461 GPHOTO2_PORT_LIBS
=""; GPHOTO2_PORT_CFLAGS
=""
17464 CPPFLAGS
=$ac_save_CPPFLAGS
17467 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"
17469 case "x$with_gphoto" in
17470 x
) as_fn_append wine_notices
"|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
17472 *) as_fn_error $?
"libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
17473 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
17475 enable_gphoto2_ds
=${enable_gphoto2_ds:-no}
17477 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"
17479 case "x$with_gphoto" in
17480 x
) as_fn_append wine_notices
"|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
17482 *) as_fn_error $?
"libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
17483 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
17489 if test "$ac_cv_header_resolv_h" = "yes"
17491 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
17492 printf %s
"checking for resolver library... " >&6; }
17493 if test ${ac_cv_have_resolv+y}
17495 printf %s
"(cached) " >&6
17497 ac_save_LIBS
="$LIBS"
17498 for lib
in '' -lresolv
17500 LIBS
="$lib $ac_save_LIBS"
17501 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17502 /* end confdefs.h. */
17503 #ifdef HAVE_NETINET_IN_H
17504 #include <netinet/in.h>
17506 #include <resolv.h>
17510 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0); ns_initparse(0,0,0)
17515 if ac_fn_c_try_link
"$LINENO"
17517 ac_cv_have_resolv
=${lib:-"none required"}
17519 ac_cv_have_resolv
="not found"
17521 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17522 conftest
$ac_exeext conftest.
$ac_ext
17523 test "x$ac_cv_have_resolv" = "xnot found" ||
break
17525 LIBS
="$ac_save_LIBS"
17527 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
17528 printf "%s\n" "$ac_cv_have_resolv" >&6; }
17530 case "$ac_cv_have_resolv" in
17534 printf "%s\n" "#define HAVE_RESOLV 1" >>confdefs.h
17537 printf "%s\n" "#define HAVE_RESOLV 1" >>confdefs.h
17539 RESOLV_LIBS
=$ac_cv_have_resolv
17543 if test "x$ac_cv_have_resolv" != "xnot found"
17545 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for res_getservers" >&5
17546 printf %s
"checking for res_getservers... " >&6; }
17547 if test ${ac_cv_have_res_getservers+y}
17549 printf %s
"(cached) " >&6
17551 ac_save_LIBS
="$LIBS"
17552 LIBS
="$RESOLV_LIBS $LIBS"
17553 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17554 /* end confdefs.h. */
17555 #include <resolv.h>
17559 res_getservers(NULL, NULL, 0);
17564 if ac_fn_c_try_link
"$LINENO"
17566 ac_cv_have_res_getservers
=yes
17568 ac_cv_have_res_getservers
=no
17570 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17571 conftest
$ac_exeext conftest.
$ac_ext
17572 LIBS
="$ac_save_LIBS"
17574 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_res_getservers" >&5
17575 printf "%s\n" "$ac_cv_have_res_getservers" >&6; }
17576 if test "$ac_cv_have_res_getservers" = "yes"
17579 printf "%s\n" "#define HAVE_RES_GETSERVERS 1" >>confdefs.h
17585 if test "x$with_freetype" != "xno"
17588 if ${FREETYPE_CFLAGS:+false} :
17590 if test ${PKG_CONFIG+y}
17592 FREETYPE_CFLAGS
=`$PKG_CONFIG --cflags freetype2 2>conftest.err`
17595 test "$cross_compiling" = yes || FREETYPE_CFLAGS
=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
17596 if ${FREETYPE_LIBS:+false} :
17598 if test ${PKG_CONFIG+y}
17600 FREETYPE_LIBS
=`$PKG_CONFIG --libs freetype2 2>/dev/null`
17603 test "$cross_compiling" = yes || FREETYPE_LIBS
=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
17604 FREETYPE_LIBS
=${FREETYPE_LIBS:-"-lfreetype"}
17605 printf "%s\n" "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
17606 printf "%s\n" "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
17607 if test -s conftest.err
; then
17608 printf %s
"$as_me:${as_lineno-$LINENO}: freetype2 errors: " >&5
17609 cat conftest.err
>&5
17612 ac_save_CPPFLAGS
=$CPPFLAGS
17613 CPPFLAGS
="$CPPFLAGS $FREETYPE_CFLAGS"
17614 ac_fn_c_check_header_compile
"$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
17615 if test "x$ac_cv_header_ft2build_h" = xyes
17617 printf "%s\n" "#define HAVE_FT2BUILD_H 1" >>confdefs.h
17621 if test "$ac_cv_header_ft2build_h" = "yes"
17623 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
17624 printf %s
"checking for -lfreetype... " >&6; }
17625 if test ${ac_cv_lib_soname_freetype+y}
17627 printf %s
"(cached) " >&6
17629 ac_check_soname_save_LIBS
=$LIBS
17630 LIBS
="-lfreetype $FREETYPE_LIBS $LIBS"
17631 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17632 /* end confdefs.h. */
17634 /* Override any GCC internal prototype to avoid an error.
17635 Use char because int might match the return type of a GCC
17636 builtin and then its argument prototype would still apply. */
17637 char FT_Init_FreeType ();
17641 return FT_Init_FreeType ();
17646 if ac_fn_c_try_link
"$LINENO"
17649 dll
) ac_cv_lib_soname_freetype
=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17650 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'` ;;
17651 *) ac_cv_lib_soname_freetype
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17652 if ${ac_cv_lib_soname_freetype:+false} :
17654 ac_cv_lib_soname_freetype
=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17658 ac_cv_lib_soname_freetype
=
17660 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17661 conftest
$ac_exeext conftest.
$ac_ext
17662 LIBS
=$ac_check_soname_save_LIBS
17664 if ${ac_cv_lib_soname_freetype:+false} :
17666 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17667 printf "%s\n" "not found" >&6; }
17670 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
17671 printf "%s\n" "$ac_cv_lib_soname_freetype" >&6; }
17673 printf "%s\n" "#define SONAME_LIBFREETYPE \"$ac_cv_lib_soname_freetype\"" >>confdefs.h
17676 printf "%s\n" "#define HAVE_FREETYPE 1" >>confdefs.h
17678 ac_fn_c_check_type
"$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
17679 #include FT_MODULE_H
17681 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes
17684 printf "%s\n" "#define HAVE_FT_TRUETYPEENGINETYPE 1" >>confdefs.h
17694 CPPFLAGS
=$ac_save_CPPFLAGS
17697 if test "x$ac_cv_lib_soname_freetype" = x
17699 case "x$with_freetype" in
17701 *) as_fn_error $?
"FreeType ${notice_platform}development files not found. Fonts will not be built.
17702 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
17704 enable_fonts
=${enable_fonts:-no}
17707 ac_wine_check_funcs_save_LIBS
="$LIBS"
17708 LIBS
="$LIBS $PTHREAD_LIBS"
17709 ac_fn_c_check_func
"$LINENO" "pthread_getthreadid_np" "ac_cv_func_pthread_getthreadid_np"
17710 if test "x$ac_cv_func_pthread_getthreadid_np" = xyes
17712 printf "%s\n" "#define HAVE_PTHREAD_GETTHREADID_NP 1" >>confdefs.h
17716 LIBS
="$ac_wine_check_funcs_save_LIBS"
17718 if test "x$enable_tools" != xno
-a "x$with_gettextpo" = xyes
17720 if test "$ac_cv_header_gettext_po_h" = "yes"
17722 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
17723 printf %s
"checking for po_message_msgctxt in -lgettextpo... " >&6; }
17724 if test ${ac_cv_lib_gettextpo_po_message_msgctxt+y}
17726 printf %s
"(cached) " >&6
17728 ac_check_lib_save_LIBS
=$LIBS
17729 LIBS
="-lgettextpo $LIBS"
17730 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17731 /* end confdefs.h. */
17733 /* Override any GCC internal prototype to avoid an error.
17734 Use char because int might match the return type of a GCC
17735 builtin and then its argument prototype would still apply. */
17736 char po_message_msgctxt ();
17740 return po_message_msgctxt ();
17745 if ac_fn_c_try_link
"$LINENO"
17747 ac_cv_lib_gettextpo_po_message_msgctxt
=yes
17749 ac_cv_lib_gettextpo_po_message_msgctxt
=no
17751 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17752 conftest
$ac_exeext conftest.
$ac_ext
17753 LIBS
=$ac_check_lib_save_LIBS
17755 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
17756 printf "%s\n" "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
17757 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes
17760 printf "%s\n" "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
17762 GETTEXTPO_LIBS
="-lgettextpo"
17767 if test "x$GETTEXTPO_LIBS" = "x"
17769 case "x$with_gettextpo" in
17770 x
) as_fn_append wine_notices
"|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
17772 *) as_fn_error $?
"GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
17773 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
17777 if test "$srcdir" != .
17779 case "x$with_gettextpo" in
17780 x
) as_fn_append wine_notices
"|Rebuilding po files is not supported for out of tree builds." ;;
17782 *) as_fn_error $?
"Rebuilding po files is not supported for out of tree builds.
17783 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
17789 if test "x$with_pulse" != "xno";
17792 if ${PULSE_CFLAGS:+false} :
17794 if test ${PKG_CONFIG+y}
17796 PULSE_CFLAGS
=`$PKG_CONFIG --cflags libpulse 2>conftest.err`
17800 if ${PULSE_LIBS:+false} :
17802 if test ${PKG_CONFIG+y}
17804 PULSE_LIBS
=`$PKG_CONFIG --libs libpulse 2>/dev/null`
17809 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
17810 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
17811 if test -s conftest.err
; then
17812 printf %s
"$as_me:${as_lineno-$LINENO}: libpulse errors: " >&5
17813 cat conftest.err
>&5
17816 ac_save_CPPFLAGS
=$CPPFLAGS
17817 CPPFLAGS
="$CPPFLAGS $PULSE_CFLAGS"
17818 ac_fn_c_check_header_compile
"$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
17819 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes
17821 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
17822 printf %s
"checking for pa_stream_is_corked in -lpulse... " >&6; }
17823 if test ${ac_cv_lib_pulse_pa_stream_is_corked+y}
17825 printf %s
"(cached) " >&6
17827 ac_check_lib_save_LIBS
=$LIBS
17828 LIBS
="-lpulse $PULSE_LIBS $LIBS"
17829 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17830 /* end confdefs.h. */
17832 /* Override any GCC internal prototype to avoid an error.
17833 Use char because int might match the return type of a GCC
17834 builtin and then its argument prototype would still apply. */
17835 char pa_stream_is_corked ();
17839 return pa_stream_is_corked ();
17844 if ac_fn_c_try_link
"$LINENO"
17846 ac_cv_lib_pulse_pa_stream_is_corked
=yes
17848 ac_cv_lib_pulse_pa_stream_is_corked
=no
17850 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17851 conftest
$ac_exeext conftest.
$ac_ext
17852 LIBS
=$ac_check_lib_save_LIBS
17854 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
17855 printf "%s\n" "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
17856 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes
17867 CPPFLAGS
=$ac_save_CPPFLAGS
17870 if test -z "$PULSE_LIBS"
17872 case "x$with_pulse" in
17873 x
) as_fn_append wine_notices
"|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
17875 *) as_fn_error $?
"libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
17876 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
17878 enable_winepulse_drv
=${enable_winepulse_drv:-no}
17881 if test "x$with_gstreamer" != "xno"
17884 if ${GSTREAMER_CFLAGS:+false} :
17886 if test ${PKG_CONFIG+y}
17888 GSTREAMER_CFLAGS
=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 gstreamer-tag-1.0 2>conftest.err`
17892 if ${GSTREAMER_LIBS:+false} :
17894 if test ${PKG_CONFIG+y}
17896 GSTREAMER_LIBS
=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 gstreamer-tag-1.0 2>/dev/null`
17901 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
17902 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
17903 if test -s conftest.err
; then
17904 printf %s
"$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 gstreamer-tag-1.0 errors: " >&5
17905 cat conftest.err
>&5
17908 ac_save_CPPFLAGS
=$CPPFLAGS
17909 CPPFLAGS
="$CPPFLAGS $GSTREAMER_CFLAGS"
17910 ac_fn_c_check_header_compile
"$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
17911 if test "x$ac_cv_header_gst_gst_h" = xyes
17913 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
17914 printf %s
"checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
17915 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17916 /* end confdefs.h. */
17917 #include <gst/gst.h>
17921 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
17926 if ac_fn_c_try_compile
"$LINENO"
17928 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17929 printf "%s\n" "yes" >&6; }
17930 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
17931 printf %s
"checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
17932 if test ${ac_cv_lib_gstreamer_1_0_gst_pad_new+y}
17934 printf %s
"(cached) " >&6
17936 ac_check_lib_save_LIBS
=$LIBS
17937 LIBS
="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
17938 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17939 /* end confdefs.h. */
17941 /* Override any GCC internal prototype to avoid an error.
17942 Use char because int might match the return type of a GCC
17943 builtin and then its argument prototype would still apply. */
17944 char gst_pad_new ();
17948 return gst_pad_new ();
17953 if ac_fn_c_try_link
"$LINENO"
17955 ac_cv_lib_gstreamer_1_0_gst_pad_new
=yes
17957 ac_cv_lib_gstreamer_1_0_gst_pad_new
=no
17959 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17960 conftest
$ac_exeext conftest.
$ac_ext
17961 LIBS
=$ac_check_lib_save_LIBS
17963 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
17964 printf "%s\n" "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
17965 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes
17971 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
17972 printf "%s\n" "no" >&6; }
17973 ac_glib2_broken
=yes
17974 enable_winegstreamer
=${enable_winegstreamer:-no}
17975 as_fn_append wine_notices
"|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
17977 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
17980 CPPFLAGS
=$ac_save_CPPFLAGS
17983 if test "x$ac_glib2_broken" != xyes
-a "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" != xyes
17985 case "x$with_gstreamer" in
17986 x
) as_fn_append wine_notices
"|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
17988 *) as_fn_error $?
"gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
17989 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
17991 enable_winegstreamer
=${enable_winegstreamer:-no}
17996 if test "x$with_alsa" != "xno"
17998 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
17999 printf %s
"checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
18000 if test ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+y}
18002 printf %s
"(cached) " >&6
18004 ac_check_lib_save_LIBS
=$LIBS
18005 LIBS
="-lasound $LIBS"
18006 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18007 /* end confdefs.h. */
18009 /* Override any GCC internal prototype to avoid an error.
18010 Use char because int might match the return type of a GCC
18011 builtin and then its argument prototype would still apply. */
18012 char snd_pcm_hw_params_get_access_mask ();
18016 return snd_pcm_hw_params_get_access_mask ();
18021 if ac_fn_c_try_link
"$LINENO"
18023 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask
=yes
18025 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask
=no
18027 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18028 conftest
$ac_exeext conftest.
$ac_ext
18029 LIBS
=$ac_check_lib_save_LIBS
18031 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
18032 printf "%s\n" "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
18033 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes
18035 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18036 /* end confdefs.h. */
18037 #include <alsa/asoundlib.h>
18041 snd_pcm_hw_params_get_access_mask(NULL, NULL)
18046 if ac_fn_c_try_compile
"$LINENO"
18048 ALSA_LIBS
="-lasound"
18050 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
18054 test -n "$ALSA_LIBS" || enable_winealsa_drv
=${enable_winealsa_drv:-no}
18056 if test "x$with_oss" != xno
18058 ac_save_CPPFLAGS
="$CPPFLAGS"
18059 if test -f /etc
/oss.conf
18063 ac_oss_incl
="-I${OSSLIBDIR:-/usr/lib/oss}/include"
18064 CPPFLAGS
="$CPPFLAGS $ac_oss_incl"
18065 ac_fn_c_check_header_compile
"$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
18066 if test "x$ac_cv_header_sys_soundcard_h" = xyes
18068 ac_fn_c_check_member
"$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
18070 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes
18073 printf "%s\n" "#define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1" >>confdefs.h
18075 OSS4_CFLAGS
="$ac_oss_incl"
18077 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
18078 printf %s
"checking for _oss_ioctl in -lossaudio... " >&6; }
18079 if test ${ac_cv_lib_ossaudio__oss_ioctl+y}
18081 printf %s
"(cached) " >&6
18083 ac_check_lib_save_LIBS
=$LIBS
18084 LIBS
="-lossaudio $LIBS"
18085 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18086 /* end confdefs.h. */
18088 /* Override any GCC internal prototype to avoid an error.
18089 Use char because int might match the return type of a GCC
18090 builtin and then its argument prototype would still apply. */
18091 char _oss_ioctl ();
18095 return _oss_ioctl ();
18100 if ac_fn_c_try_link
"$LINENO"
18102 ac_cv_lib_ossaudio__oss_ioctl
=yes
18104 ac_cv_lib_ossaudio__oss_ioctl
=no
18106 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18107 conftest
$ac_exeext conftest.
$ac_ext
18108 LIBS
=$ac_check_lib_save_LIBS
18110 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
18111 printf "%s\n" "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
18112 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes
18114 OSS4_LIBS
="-lossaudio"
18122 CPPFLAGS
="$ac_save_CPPFLAGS"
18124 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
18126 case "x$with_oss" in
18127 x
) as_fn_append wine_notices
"|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
18129 *) as_fn_error $?
"OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
18130 This is an error since --with-oss was requested." "$LINENO" 5 ;;
18132 enable_wineoss_drv
=${enable_wineoss_drv:-no}
18135 if test "x$with_udev" != "xno"
18138 if ${UDEV_CFLAGS:+false} :
18140 if test ${PKG_CONFIG+y}
18142 UDEV_CFLAGS
=`$PKG_CONFIG --cflags libudev 2>conftest.err`
18146 if ${UDEV_LIBS:+false} :
18148 if test ${PKG_CONFIG+y}
18150 UDEV_LIBS
=`$PKG_CONFIG --libs libudev 2>/dev/null`
18154 UDEV_LIBS
=${UDEV_LIBS:-"-ludev"}
18155 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
18156 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
18157 if test -s conftest.err
; then
18158 printf %s
"$as_me:${as_lineno-$LINENO}: libudev errors: " >&5
18159 cat conftest.err
>&5
18162 ac_save_CPPFLAGS
=$CPPFLAGS
18163 CPPFLAGS
="$CPPFLAGS $UDEV_CFLAGS"
18164 for ac_header
in libudev.h
18166 ac_fn_c_check_header_compile
"$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
18167 if test "x$ac_cv_header_libudev_h" = xyes
18169 printf "%s\n" "#define HAVE_LIBUDEV_H 1" >>confdefs.h
18170 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
18171 printf %s
"checking for udev_new in -ludev... " >&6; }
18172 if test ${ac_cv_lib_udev_udev_new+y}
18174 printf %s
"(cached) " >&6
18176 ac_check_lib_save_LIBS
=$LIBS
18177 LIBS
="-ludev $UDEV_LIBS $LIBS"
18178 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18179 /* end confdefs.h. */
18181 /* Override any GCC internal prototype to avoid an error.
18182 Use char because int might match the return type of a GCC
18183 builtin and then its argument prototype would still apply. */
18188 return udev_new ();
18193 if ac_fn_c_try_link
"$LINENO"
18195 ac_cv_lib_udev_udev_new
=yes
18197 ac_cv_lib_udev_udev_new
=no
18199 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18200 conftest
$ac_exeext conftest.
$ac_ext
18201 LIBS
=$ac_check_lib_save_LIBS
18203 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
18204 printf "%s\n" "$ac_cv_lib_udev_udev_new" >&6; }
18205 if test "x$ac_cv_lib_udev_udev_new" = xyes
18208 printf "%s\n" "#define HAVE_UDEV 1" >>confdefs.h
18219 CPPFLAGS
=$ac_save_CPPFLAGS
18222 if test "x$UDEV_LIBS" = "x"
18224 case "x$with_udev" in
18225 x
) as_fn_append wine_notices
"|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
18227 *) as_fn_error $?
"libudev ${notice_platform}development files not found, plug and play won't be supported.
18228 This is an error since --with-udev was requested." "$LINENO" 5 ;;
18233 if test $HOST_ARCH = x86_64
18235 if test "x$with_unwind" != xno
18238 if ${UNWIND_CFLAGS:+false} :
18240 if test ${PKG_CONFIG+y}
18242 UNWIND_CFLAGS
=`$PKG_CONFIG --cflags libunwind 2>conftest.err`
18246 if ${UNWIND_LIBS:+false} :
18248 if test ${PKG_CONFIG+y}
18250 UNWIND_LIBS
=`$PKG_CONFIG --libs libunwind 2>/dev/null`
18254 UNWIND_LIBS
=${UNWIND_LIBS:-"-lunwind"}
18255 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libunwind cflags: $UNWIND_CFLAGS" >&5
18256 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libunwind libs: $UNWIND_LIBS" >&5
18257 if test -s conftest.err
; then
18258 printf %s
"$as_me:${as_lineno-$LINENO}: libunwind errors: " >&5
18259 cat conftest.err
>&5
18262 ac_save_CPPFLAGS
=$CPPFLAGS
18263 CPPFLAGS
="$CPPFLAGS $UNWIND_CFLAGS"
18264 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for unw_step" >&5
18265 printf %s
"checking for unw_step... " >&6; }
18266 if test ${wine_cv_have_unw_step+y}
18268 printf %s
"(cached) " >&6
18270 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18271 /* end confdefs.h. */
18272 #define UNW_LOCAL_ONLY
18273 #include <libunwind.h>
18277 unw_cursor_t cursor; unw_step( &cursor );
18282 if ac_fn_c_try_link
"$LINENO"
18284 wine_cv_have_unw_step
="yes"
18286 wine_cv_have_unw_step
="no"
18288 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18289 conftest
$ac_exeext conftest.
$ac_ext
18291 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_unw_step" >&5
18292 printf "%s\n" "$wine_cv_have_unw_step" >&6; }
18293 if test "$wine_cv_have_unw_step" = no
-a -n "$UNWIND_LIBS"
18296 UNWIND_LIBS
="-static-libgcc $UNWIND_LIBS"
18297 LIBS
="$UNWIND_LIBS $LIBS"
18298 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for unw_step in libunwind" >&5
18299 printf %s
"checking for unw_step in libunwind... " >&6; }
18300 if test ${wine_cv_have_libunwind_unw_step+y}
18302 printf %s
"(cached) " >&6
18304 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18305 /* end confdefs.h. */
18306 #define UNW_LOCAL_ONLY
18307 #include <libunwind.h>
18311 unw_cursor_t cursor; unw_step( &cursor );
18316 if ac_fn_c_try_link
"$LINENO"
18318 wine_cv_have_libunwind_unw_step
="yes"
18320 wine_cv_have_libunwind_unw_step
="no"
18322 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18323 conftest
$ac_exeext conftest.
$ac_ext
18325 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_libunwind_unw_step" >&5
18326 printf "%s\n" "$wine_cv_have_libunwind_unw_step" >&6; }
18329 test "$wine_cv_have_libunwind_unw_step" = yes || UNWIND_LIBS
=""
18330 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" != xnono
18333 printf "%s\n" "#define HAVE_LIBUNWIND 1" >>confdefs.h
18336 CPPFLAGS
=$ac_save_CPPFLAGS
18341 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" = xnono
18343 case "x$with_unwind" in
18344 x
) as_fn_append wine_notices
"|libunwind ${notice_platform}development files not found, stack unwinding won't work." ;;
18346 *) as_fn_error $?
"libunwind ${notice_platform}development files not found, stack unwinding won't work.
18347 This is an error since --with-unwind was requested." "$LINENO" 5 ;;
18354 if test "x$with_sdl" != "xno"
18357 if ${SDL2_CFLAGS:+false} :
18359 if test ${PKG_CONFIG+y}
18361 SDL2_CFLAGS
=`$PKG_CONFIG --cflags sdl2 2>conftest.err`
18365 if ${SDL2_LIBS:+false} :
18367 if test ${PKG_CONFIG+y}
18369 SDL2_LIBS
=`$PKG_CONFIG --libs sdl2 2>/dev/null`
18373 SDL2_LIBS
=${SDL2_LIBS:-"-lSDL2"}
18374 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sdl2 cflags: $SDL2_CFLAGS" >&5
18375 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sdl2 libs: $SDL2_LIBS" >&5
18376 if test -s conftest.err
; then
18377 printf %s
"$as_me:${as_lineno-$LINENO}: sdl2 errors: " >&5
18378 cat conftest.err
>&5
18381 ac_save_CPPFLAGS
=$CPPFLAGS
18382 CPPFLAGS
="$CPPFLAGS $SDL2_CFLAGS"
18383 for ac_header
in SDL.h
18385 ac_fn_c_check_header_compile
"$LINENO" "SDL.h" "ac_cv_header_SDL_h" "$ac_includes_default"
18386 if test "x$ac_cv_header_SDL_h" = xyes
18388 printf "%s\n" "#define HAVE_SDL_H 1" >>confdefs.h
18389 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lSDL2" >&5
18390 printf %s
"checking for -lSDL2... " >&6; }
18391 if test ${ac_cv_lib_soname_SDL2+y}
18393 printf %s
"(cached) " >&6
18395 ac_check_soname_save_LIBS
=$LIBS
18396 LIBS
="-lSDL2 $SDL2_LIBS $LIBS"
18397 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18398 /* end confdefs.h. */
18400 /* Override any GCC internal prototype to avoid an error.
18401 Use char because int might match the return type of a GCC
18402 builtin and then its argument prototype would still apply. */
18407 return SDL_Init ();
18412 if ac_fn_c_try_link
"$LINENO"
18415 dll
) ac_cv_lib_soname_SDL2
=`$ac_cv_path_LDD conftest.exe | grep "SDL2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18416 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'` ;;
18417 *) 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'`
18418 if ${ac_cv_lib_soname_SDL2:+false} :
18420 ac_cv_lib_soname_SDL2
=`$LDD conftest$ac_exeext | grep "libSDL2-2.0*\\.$LIBEXT" | sed -e "s/^.*\(libSDL2-2.0*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18424 ac_cv_lib_soname_SDL2
=
18426 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18427 conftest
$ac_exeext conftest.
$ac_ext
18428 LIBS
=$ac_check_soname_save_LIBS
18430 if ${ac_cv_lib_soname_SDL2:+false} :
18432 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18433 printf "%s\n" "not found" >&6; }
18436 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_SDL2" >&5
18437 printf "%s\n" "$ac_cv_lib_soname_SDL2" >&6; }
18439 printf "%s\n" "#define SONAME_LIBSDL2 \"$ac_cv_lib_soname_SDL2\"" >>confdefs.h
18446 CPPFLAGS
=$ac_save_CPPFLAGS
18449 if test "x$ac_cv_lib_soname_SDL2" = "x"
18451 case "x$with_sdl" in
18452 x
) as_fn_append wine_notices
"|libSDL2 ${notice_platform}development files not found, SDL2 won't be supported." ;;
18454 *) as_fn_error $?
"libSDL2 ${notice_platform}development files not found, SDL2 won't be supported.
18455 This is an error since --with-sdl was requested." "$LINENO" 5 ;;
18460 if test "x$with_capi" != "xno"
18463 if ${CAPI20_CFLAGS:+false} :
18465 if test ${PKG_CONFIG+y}
18467 CAPI20_CFLAGS
=`$PKG_CONFIG --cflags capi20 2>conftest.err`
18471 if ${CAPI20_LIBS:+false} :
18473 if test ${PKG_CONFIG+y}
18475 CAPI20_LIBS
=`$PKG_CONFIG --libs capi20 2>/dev/null`
18480 printf "%s\n" "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
18481 printf "%s\n" "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
18482 if test -s conftest.err
; then
18483 printf %s
"$as_me:${as_lineno-$LINENO}: capi20 errors: " >&5
18484 cat conftest.err
>&5
18487 ac_save_CPPFLAGS
=$CPPFLAGS
18488 CPPFLAGS
="$CPPFLAGS $CAPI20_CFLAGS"
18489 ac_fn_c_check_header_compile
"$LINENO" "capi20.h" "ac_cv_header_capi20_h" "#define __user
18491 if test "x$ac_cv_header_capi20_h" = xyes
18493 printf "%s\n" "#define HAVE_CAPI20_H 1" >>confdefs.h
18496 ac_fn_c_check_header_compile
"$LINENO" "linux/capi.h" "ac_cv_header_linux_capi_h" "#define __user
18498 if test "x$ac_cv_header_linux_capi_h" = xyes
18500 printf "%s\n" "#define HAVE_LINUX_CAPI_H 1" >>confdefs.h
18504 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
18506 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for capi20_register in -lcapi20" >&5
18507 printf %s
"checking for capi20_register in -lcapi20... " >&6; }
18508 if test ${ac_cv_lib_capi20_capi20_register+y}
18510 printf %s
"(cached) " >&6
18512 ac_check_lib_save_LIBS
=$LIBS
18513 LIBS
="-lcapi20 $CAPI20_LIBS $LIBS"
18514 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18515 /* end confdefs.h. */
18517 /* Override any GCC internal prototype to avoid an error.
18518 Use char because int might match the return type of a GCC
18519 builtin and then its argument prototype would still apply. */
18520 char capi20_register ();
18524 return capi20_register ();
18529 if ac_fn_c_try_link
"$LINENO"
18531 ac_cv_lib_capi20_capi20_register
=yes
18533 ac_cv_lib_capi20_capi20_register
=no
18535 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18536 conftest
$ac_exeext conftest.
$ac_ext
18537 LIBS
=$ac_check_lib_save_LIBS
18539 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_capi20_capi20_register" >&5
18540 printf "%s\n" "$ac_cv_lib_capi20_capi20_register" >&6; }
18541 if test "x$ac_cv_lib_capi20_capi20_register" = xyes
18549 CPPFLAGS
=$ac_save_CPPFLAGS
18552 if test "x$ac_cv_lib_capi20_capi20_register" != xyes
18554 case "x$with_capi" in
18555 x
) as_fn_append wine_notices
"|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
18557 *) as_fn_error $?
"libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
18558 This is an error since --with-capi was requested." "$LINENO" 5 ;;
18560 enable_capi2032
=${enable_capi2032:-no}
18563 if test "x$with_cups" != "xno"
18566 if ${CUPS_CFLAGS:+false} :
18568 if test ${PKG_CONFIG+y}
18570 CUPS_CFLAGS
=`$PKG_CONFIG --cflags cups 2>conftest.err`
18573 test "$cross_compiling" = yes || CUPS_CFLAGS
=${CUPS_CFLAGS:-`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`}
18574 if ${CUPS_LIBS:+false} :
18576 if test ${PKG_CONFIG+y}
18578 CUPS_LIBS
=`$PKG_CONFIG --libs cups 2>/dev/null`
18581 test "$cross_compiling" = yes || CUPS_LIBS
=${CUPS_LIBS:-`${CUPS_CONFIG:-cups-config} --libs 2>/dev/null`}
18582 CUPS_LIBS
=${CUPS_LIBS:-"-lcups"}
18583 printf "%s\n" "$as_me:${as_lineno-$LINENO}: cups cflags: $CUPS_CFLAGS" >&5
18584 printf "%s\n" "$as_me:${as_lineno-$LINENO}: cups libs: $CUPS_LIBS" >&5
18585 if test -s conftest.err
; then
18586 printf %s
"$as_me:${as_lineno-$LINENO}: cups errors: " >&5
18587 cat conftest.err
>&5
18590 ac_save_CPPFLAGS
=$CPPFLAGS
18591 CPPFLAGS
="$CPPFLAGS $CUPS_CFLAGS"
18592 ac_fn_c_check_header_compile
"$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
18593 if test "x$ac_cv_header_cups_cups_h" = xyes
18595 printf "%s\n" "#define HAVE_CUPS_CUPS_H 1" >>confdefs.h
18598 ac_fn_c_check_header_compile
"$LINENO" "cups/ppd.h" "ac_cv_header_cups_ppd_h" "$ac_includes_default"
18599 if test "x$ac_cv_header_cups_ppd_h" = xyes
18601 printf "%s\n" "#define HAVE_CUPS_PPD_H 1" >>confdefs.h
18605 if test "$ac_cv_header_cups_cups_h" = "yes"
18607 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
18608 printf %s
"checking for -lcups... " >&6; }
18609 if test ${ac_cv_lib_soname_cups+y}
18611 printf %s
"(cached) " >&6
18613 ac_check_soname_save_LIBS
=$LIBS
18614 LIBS
="-lcups $CUPS_LIBS $LIBS"
18615 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18616 /* end confdefs.h. */
18618 /* Override any GCC internal prototype to avoid an error.
18619 Use char because int might match the return type of a GCC
18620 builtin and then its argument prototype would still apply. */
18621 char cupsGetDefault ();
18625 return cupsGetDefault ();
18630 if ac_fn_c_try_link
"$LINENO"
18633 dll
) ac_cv_lib_soname_cups
=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18634 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'` ;;
18635 *) ac_cv_lib_soname_cups
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18636 if ${ac_cv_lib_soname_cups:+false} :
18638 ac_cv_lib_soname_cups
=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18642 ac_cv_lib_soname_cups
=
18644 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18645 conftest
$ac_exeext conftest.
$ac_ext
18646 LIBS
=$ac_check_soname_save_LIBS
18648 if ${ac_cv_lib_soname_cups:+false} :
18650 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18651 printf "%s\n" "not found" >&6; }
18654 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
18655 printf "%s\n" "$ac_cv_lib_soname_cups" >&6; }
18657 printf "%s\n" "#define SONAME_LIBCUPS \"$ac_cv_lib_soname_cups\"" >>confdefs.h
18665 CPPFLAGS
=$ac_save_CPPFLAGS
18668 if test "x$ac_cv_lib_soname_cups" = "x"
18670 case "x$with_cups" in
18671 x
) as_fn_append wine_notices
"|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
18673 *) as_fn_error $?
"libcups ${notice_platform}development files not found, CUPS won't be supported.
18674 This is an error since --with-cups was requested." "$LINENO" 5 ;;
18679 if test "x$with_fontconfig" != "xno"
18682 if ${FONTCONFIG_CFLAGS:+false} :
18684 if test ${PKG_CONFIG+y}
18686 FONTCONFIG_CFLAGS
=`$PKG_CONFIG --cflags fontconfig 2>conftest.err`
18689 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS
=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
18690 if ${FONTCONFIG_LIBS:+false} :
18692 if test ${PKG_CONFIG+y}
18694 FONTCONFIG_LIBS
=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
18697 test "$cross_compiling" = yes || FONTCONFIG_LIBS
=${FONTCONFIG_LIBS:-$X_LIBS}
18699 printf "%s\n" "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
18700 printf "%s\n" "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
18701 if test -s conftest.err
; then
18702 printf %s
"$as_me:${as_lineno-$LINENO}: fontconfig errors: " >&5
18703 cat conftest.err
>&5
18706 ac_save_CPPFLAGS
=$CPPFLAGS
18707 CPPFLAGS
="$CPPFLAGS $FONTCONFIG_CFLAGS"
18708 ac_fn_c_check_header_compile
"$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
18709 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes
18711 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
18712 printf %s
"checking for -lfontconfig... " >&6; }
18713 if test ${ac_cv_lib_soname_fontconfig+y}
18715 printf %s
"(cached) " >&6
18717 ac_check_soname_save_LIBS
=$LIBS
18718 LIBS
="-lfontconfig $FONTCONFIG_LIBS $LIBS"
18719 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18720 /* end confdefs.h. */
18722 /* Override any GCC internal prototype to avoid an error.
18723 Use char because int might match the return type of a GCC
18724 builtin and then its argument prototype would still apply. */
18734 if ac_fn_c_try_link
"$LINENO"
18737 dll
) ac_cv_lib_soname_fontconfig
=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18738 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'` ;;
18739 *) ac_cv_lib_soname_fontconfig
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18740 if ${ac_cv_lib_soname_fontconfig:+false} :
18742 ac_cv_lib_soname_fontconfig
=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18746 ac_cv_lib_soname_fontconfig
=
18748 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18749 conftest
$ac_exeext conftest.
$ac_ext
18750 LIBS
=$ac_check_soname_save_LIBS
18752 if ${ac_cv_lib_soname_fontconfig:+false} :
18754 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18755 printf "%s\n" "not found" >&6; }
18756 FONTCONFIG_CFLAGS
=""
18758 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
18759 printf "%s\n" "$ac_cv_lib_soname_fontconfig" >&6; }
18761 printf "%s\n" "#define SONAME_LIBFONTCONFIG \"$ac_cv_lib_soname_fontconfig\"" >>confdefs.h
18766 FONTCONFIG_CFLAGS
=""
18769 CPPFLAGS
=$ac_save_CPPFLAGS
18772 if test "x$ac_cv_lib_soname_fontconfig" = "x"
18774 case "x$with_fontconfig" in
18775 x
) as_fn_append wine_notices
"|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
18777 *) as_fn_error $?
"fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
18778 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
18783 if test "x$with_krb5" != "xno"
18786 if ${KRB5_CFLAGS:+false} :
18788 if test ${PKG_CONFIG+y}
18790 KRB5_CFLAGS
=`$PKG_CONFIG --cflags krb5 2>conftest.err`
18793 test "$cross_compiling" = yes || KRB5_CFLAGS
=${KRB5_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags 2>/dev/null`}
18794 if ${KRB5_LIBS:+false} :
18796 if test ${PKG_CONFIG+y}
18798 KRB5_LIBS
=`$PKG_CONFIG --libs krb5 2>/dev/null`
18801 test "$cross_compiling" = yes || KRB5_LIBS
=${KRB5_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs 2>/dev/null`}
18803 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5 cflags: $KRB5_CFLAGS" >&5
18804 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5 libs: $KRB5_LIBS" >&5
18805 if test -s conftest.err
; then
18806 printf %s
"$as_me:${as_lineno-$LINENO}: krb5 errors: " >&5
18807 cat conftest.err
>&5
18810 ac_save_CPPFLAGS
=$CPPFLAGS
18811 CPPFLAGS
="$CPPFLAGS $KRB5_CFLAGS"
18812 ac_fn_c_check_header_compile
"$LINENO" "krb5/krb5.h" "ac_cv_header_krb5_krb5_h" "$ac_includes_default"
18813 if test "x$ac_cv_header_krb5_krb5_h" = xyes
18815 printf "%s\n" "#define HAVE_KRB5_KRB5_H 1" >>confdefs.h
18819 if test "$ac_cv_header_krb5_krb5_h" = "yes"
18821 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lkrb5" >&5
18822 printf %s
"checking for -lkrb5... " >&6; }
18823 if test ${ac_cv_lib_soname_krb5+y}
18825 printf %s
"(cached) " >&6
18827 ac_check_soname_save_LIBS
=$LIBS
18828 LIBS
="-lkrb5 $KRB5_LIBS $LIBS"
18829 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18830 /* end confdefs.h. */
18832 /* Override any GCC internal prototype to avoid an error.
18833 Use char because int might match the return type of a GCC
18834 builtin and then its argument prototype would still apply. */
18835 char krb5_is_config_principal ();
18839 return krb5_is_config_principal ();
18844 if ac_fn_c_try_link
"$LINENO"
18847 dll
) ac_cv_lib_soname_krb5
=`$ac_cv_path_LDD conftest.exe | grep "krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18848 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'` ;;
18849 *) ac_cv_lib_soname_krb5
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libkrb5\\.$LIBEXT" | sed -e "s/^.*\\[\\(libkrb5\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18850 if ${ac_cv_lib_soname_krb5:+false} :
18852 ac_cv_lib_soname_krb5
=`$LDD conftest$ac_exeext | grep "libkrb5\\.$LIBEXT" | sed -e "s/^.*\(libkrb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18856 ac_cv_lib_soname_krb5
=
18858 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18859 conftest
$ac_exeext conftest.
$ac_ext
18860 LIBS
=$ac_check_soname_save_LIBS
18862 if ${ac_cv_lib_soname_krb5:+false} :
18864 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18865 printf "%s\n" "not found" >&6; }
18868 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_krb5" >&5
18869 printf "%s\n" "$ac_cv_lib_soname_krb5" >&6; }
18871 printf "%s\n" "#define SONAME_LIBKRB5 \"$ac_cv_lib_soname_krb5\"" >>confdefs.h
18878 CPPFLAGS
=$ac_save_CPPFLAGS
18881 if test "x$ac_cv_lib_soname_krb5" = "x"
18883 case "x$with_krb5" in
18884 x
) as_fn_append wine_notices
"|libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported." ;;
18886 *) as_fn_error $?
"libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported.
18887 This is an error since --with-krb5 was requested." "$LINENO" 5 ;;
18891 test "x$ac_cv_lib_soname_krb5" != "x" || with_gssapi
=${with_gssapi:-no}
18893 if test "x$with_gssapi" != "xno"
18896 if ${GSSAPI_CFLAGS:+false} :
18898 if test ${PKG_CONFIG+y}
18900 GSSAPI_CFLAGS
=`$PKG_CONFIG --cflags krb5-gssapi 2>conftest.err`
18903 test "$cross_compiling" = yes || GSSAPI_CFLAGS
=${GSSAPI_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags gssapi 2>/dev/null`}
18904 if ${GSSAPI_LIBS:+false} :
18906 if test ${PKG_CONFIG+y}
18908 GSSAPI_LIBS
=`$PKG_CONFIG --libs krb5-gssapi 2>/dev/null`
18911 test "$cross_compiling" = yes || GSSAPI_LIBS
=${GSSAPI_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs gssapi 2>/dev/null`}
18913 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5-gssapi cflags: $GSSAPI_CFLAGS" >&5
18914 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5-gssapi libs: $GSSAPI_LIBS" >&5
18915 if test -s conftest.err
; then
18916 printf %s
"$as_me:${as_lineno-$LINENO}: krb5-gssapi errors: " >&5
18917 cat conftest.err
>&5
18920 ac_save_CPPFLAGS
=$CPPFLAGS
18921 CPPFLAGS
="$CPPFLAGS $GSSAPI_CFLAGS"
18922 ac_fn_c_check_header_compile
"$LINENO" "gssapi/gssapi.h" "ac_cv_header_gssapi_gssapi_h" "$ac_includes_default"
18923 if test "x$ac_cv_header_gssapi_gssapi_h" = xyes
18925 printf "%s\n" "#define HAVE_GSSAPI_GSSAPI_H 1" >>confdefs.h
18928 ac_fn_c_check_header_compile
"$LINENO" "gssapi/gssapi_ext.h" "ac_cv_header_gssapi_gssapi_ext_h" "$ac_includes_default"
18929 if test "x$ac_cv_header_gssapi_gssapi_ext_h" = xyes
18931 printf "%s\n" "#define HAVE_GSSAPI_GSSAPI_EXT_H 1" >>confdefs.h
18935 if test "$ac_cv_header_gssapi_gssapi_h" = "yes" -a "$ac_cv_header_gssapi_gssapi_ext_h" = "yes"
18937 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lgssapi_krb5" >&5
18938 printf %s
"checking for -lgssapi_krb5... " >&6; }
18939 if test ${ac_cv_lib_soname_gssapi_krb5+y}
18941 printf %s
"(cached) " >&6
18943 ac_check_soname_save_LIBS
=$LIBS
18944 LIBS
="-lgssapi_krb5 $GSSAPI_LIBS $LIBS"
18945 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18946 /* end confdefs.h. */
18948 /* Override any GCC internal prototype to avoid an error.
18949 Use char because int might match the return type of a GCC
18950 builtin and then its argument prototype would still apply. */
18951 char gss_init_sec_context ();
18955 return gss_init_sec_context ();
18960 if ac_fn_c_try_link
"$LINENO"
18963 dll
) ac_cv_lib_soname_gssapi_krb5
=`$ac_cv_path_LDD conftest.exe | grep "gssapi_krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18964 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'` ;;
18965 *) 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'`
18966 if ${ac_cv_lib_soname_gssapi_krb5:+false} :
18968 ac_cv_lib_soname_gssapi_krb5
=`$LDD conftest$ac_exeext | grep "libgssapi_krb5\\.$LIBEXT" | sed -e "s/^.*\(libgssapi_krb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18972 ac_cv_lib_soname_gssapi_krb5
=
18974 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18975 conftest
$ac_exeext conftest.
$ac_ext
18976 LIBS
=$ac_check_soname_save_LIBS
18978 if ${ac_cv_lib_soname_gssapi_krb5:+false} :
18980 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18981 printf "%s\n" "not found" >&6; }
18984 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gssapi_krb5" >&5
18985 printf "%s\n" "$ac_cv_lib_soname_gssapi_krb5" >&6; }
18987 printf "%s\n" "#define SONAME_LIBGSSAPI_KRB5 \"$ac_cv_lib_soname_gssapi_krb5\"" >>confdefs.h
18994 CPPFLAGS
=$ac_save_CPPFLAGS
18997 if test "x$ac_cv_lib_soname_gssapi_krb5" = "x"
18999 case "x$with_gssapi" in
19000 x
) as_fn_append wine_notices
"|libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support." ;;
19002 *) as_fn_error $?
"libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support.
19003 This is an error since --with-gssapi was requested." "$LINENO" 5 ;;
19008 if test "$ac_cv_header_libprocstat_h" = "yes"
19010 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
19011 printf %s
"checking for procstat_open_sysctl in -lprocstat... " >&6; }
19012 if test ${ac_cv_lib_procstat_procstat_open_sysctl+y}
19014 printf %s
"(cached) " >&6
19016 ac_check_lib_save_LIBS
=$LIBS
19017 LIBS
="-lprocstat $LIBS"
19018 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19019 /* end confdefs.h. */
19021 /* Override any GCC internal prototype to avoid an error.
19022 Use char because int might match the return type of a GCC
19023 builtin and then its argument prototype would still apply. */
19024 char procstat_open_sysctl ();
19028 return procstat_open_sysctl ();
19033 if ac_fn_c_try_link
"$LINENO"
19035 ac_cv_lib_procstat_procstat_open_sysctl
=yes
19037 ac_cv_lib_procstat_procstat_open_sysctl
=no
19039 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19040 conftest
$ac_exeext conftest.
$ac_ext
19041 LIBS
=$ac_check_lib_save_LIBS
19043 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
19044 printf "%s\n" "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
19045 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes
19048 printf "%s\n" "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
19050 PROCSTAT_LIBS
="-lprocstat"
19056 if test "x$with_netapi" != "xno"
19059 if ${NETAPI_CFLAGS:+false} :
19061 if test ${PKG_CONFIG+y}
19063 NETAPI_CFLAGS
=`$PKG_CONFIG --cflags netapi 2>conftest.err`
19067 if ${NETAPI_LIBS:+false} :
19069 if test ${PKG_CONFIG+y}
19071 NETAPI_LIBS
=`$PKG_CONFIG --libs netapi 2>/dev/null`
19076 printf "%s\n" "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
19077 printf "%s\n" "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
19078 if test -s conftest.err
; then
19079 printf %s
"$as_me:${as_lineno-$LINENO}: netapi errors: " >&5
19080 cat conftest.err
>&5
19083 ac_save_CPPFLAGS
=$CPPFLAGS
19084 CPPFLAGS
="$CPPFLAGS $NETAPI_CFLAGS"
19085 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
19086 printf %s
"checking for -lnetapi... " >&6; }
19087 if test ${ac_cv_lib_soname_netapi+y}
19089 printf %s
"(cached) " >&6
19091 ac_check_soname_save_LIBS
=$LIBS
19092 LIBS
="-lnetapi $NETAPI_LIBS $LIBS"
19093 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19094 /* end confdefs.h. */
19096 /* Override any GCC internal prototype to avoid an error.
19097 Use char because int might match the return type of a GCC
19098 builtin and then its argument prototype would still apply. */
19099 char libnetapi_init ();
19103 return libnetapi_init ();
19108 if ac_fn_c_try_link
"$LINENO"
19111 dll
) ac_cv_lib_soname_netapi
=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
19112 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'` ;;
19113 *) ac_cv_lib_soname_netapi
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
19114 if ${ac_cv_lib_soname_netapi:+false} :
19116 ac_cv_lib_soname_netapi
=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
19120 ac_cv_lib_soname_netapi
=
19122 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19123 conftest
$ac_exeext conftest.
$ac_ext
19124 LIBS
=$ac_check_soname_save_LIBS
19126 if ${ac_cv_lib_soname_netapi:+false} :
19128 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
19129 printf "%s\n" "not found" >&6; }
19130 printf "%s\n" "#define SONAME_LIBNETAPI \"libnetapi.$LIBEXT\"" >>confdefs.h
19133 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
19134 printf "%s\n" "$ac_cv_lib_soname_netapi" >&6; }
19136 printf "%s\n" "#define SONAME_LIBNETAPI \"$ac_cv_lib_soname_netapi\"" >>confdefs.h
19140 CPPFLAGS
=$ac_save_CPPFLAGS
19143 if test "x$ac_cv_lib_soname_netapi" = "x"
19145 case "x$with_netapi" in
19146 x
) as_fn_append wine_notices
"|libnetapi not found, Samba NetAPI won't be supported." ;;
19148 *) as_fn_error $?
"libnetapi not found, Samba NetAPI won't be supported.
19149 This is an error since --with-netapi was requested." "$LINENO" 5 ;;
19151 enable_netapi
=${enable_netapi:-no}
19155 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono
-a \
19156 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
19158 as_fn_append wine_warnings
"|No sound system was found. Windows applications will be silent."
19161 if test "x$with_vulkan" != "xno"
19163 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lvulkan" >&5
19164 printf %s
"checking for -lvulkan... " >&6; }
19165 if test ${ac_cv_lib_soname_vulkan+y}
19167 printf %s
"(cached) " >&6
19169 ac_check_soname_save_LIBS
=$LIBS
19170 LIBS
="-lvulkan $LIBS"
19171 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19172 /* end confdefs.h. */
19174 /* Override any GCC internal prototype to avoid an error.
19175 Use char because int might match the return type of a GCC
19176 builtin and then its argument prototype would still apply. */
19177 char vkGetInstanceProcAddr ();
19181 return vkGetInstanceProcAddr ();
19186 if ac_fn_c_try_link
"$LINENO"
19189 dll
) ac_cv_lib_soname_vulkan
=`$ac_cv_path_LDD conftest.exe | grep "vulkan" | sed -e "s/dll.*/dll/"';2,$d'` ;;
19190 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'` ;;
19191 *) ac_cv_lib_soname_vulkan
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvulkan\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvulkan\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
19192 if ${ac_cv_lib_soname_vulkan:+false} :
19194 ac_cv_lib_soname_vulkan
=`$LDD conftest$ac_exeext | grep "libvulkan\\.$LIBEXT" | sed -e "s/^.*\(libvulkan\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
19198 ac_cv_lib_soname_vulkan
=
19200 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19201 conftest
$ac_exeext conftest.
$ac_ext
19202 LIBS
=$ac_check_soname_save_LIBS
19204 if ${ac_cv_lib_soname_vulkan:+false} :
19206 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
19207 printf "%s\n" "not found" >&6; }
19210 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vulkan" >&5
19211 printf "%s\n" "$ac_cv_lib_soname_vulkan" >&6; }
19213 printf "%s\n" "#define SONAME_LIBVULKAN \"$ac_cv_lib_soname_vulkan\"" >>confdefs.h
19217 if test "x$ac_cv_lib_soname_vulkan" = "x"
19219 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lMoltenVK" >&5
19220 printf %s
"checking for -lMoltenVK... " >&6; }
19221 if test ${ac_cv_lib_soname_MoltenVK+y}
19223 printf %s
"(cached) " >&6
19225 ac_check_soname_save_LIBS
=$LIBS
19226 LIBS
="-lMoltenVK $LIBS"
19227 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19228 /* end confdefs.h. */
19230 /* Override any GCC internal prototype to avoid an error.
19231 Use char because int might match the return type of a GCC
19232 builtin and then its argument prototype would still apply. */
19233 char vkGetInstanceProcAddr ();
19237 return vkGetInstanceProcAddr ();
19242 if ac_fn_c_try_link
"$LINENO"
19245 dll
) ac_cv_lib_soname_MoltenVK
=`$ac_cv_path_LDD conftest.exe | grep "MoltenVK" | sed -e "s/dll.*/dll/"';2,$d'` ;;
19246 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'` ;;
19247 *) ac_cv_lib_soname_MoltenVK
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\\[\\(libMoltenVK\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
19248 if ${ac_cv_lib_soname_MoltenVK:+false} :
19250 ac_cv_lib_soname_MoltenVK
=`$LDD conftest$ac_exeext | grep "libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\(libMoltenVK\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
19254 ac_cv_lib_soname_MoltenVK
=
19256 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19257 conftest
$ac_exeext conftest.
$ac_ext
19258 LIBS
=$ac_check_soname_save_LIBS
19260 if ${ac_cv_lib_soname_MoltenVK:+false} :
19262 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
19263 printf "%s\n" "not found" >&6; }
19266 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_MoltenVK" >&5
19267 printf "%s\n" "$ac_cv_lib_soname_MoltenVK" >&6; }
19269 printf "%s\n" "#define SONAME_LIBMOLTENVK \"$ac_cv_lib_soname_MoltenVK\"" >>confdefs.h
19271 printf "%s\n" "#define SONAME_LIBVULKAN \"$ac_cv_lib_soname_MoltenVK\"" >>confdefs.h
19276 if test "x$ac_cv_lib_soname_vulkan" = "x" -a "x$ac_cv_lib_soname_MoltenVK" = "x"
19278 case "x$with_vulkan" in
19279 x
) as_fn_append wine_notices
"|libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported." ;;
19281 *) as_fn_error $?
"libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported.
19282 This is an error since --with-vulkan was requested." "$LINENO" 5 ;;
19288 if test "x${GCC}" = "xyes"
19290 EXTRACFLAGS
="$EXTRACFLAGS -Wall -pipe"
19292 saved_CFLAGS
=$CFLAGS
19293 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
19294 printf %s
"checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
19295 if test ${ac_cv_cflags__Werror_unknown_warning_option+y}
19297 printf %s
"(cached) " >&6
19299 ac_wine_try_cflags_saved
=$CFLAGS
19300 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
19301 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19302 /* end confdefs.h. */
19303 int main(int argc, char **argv) { return 0; }
19305 if ac_fn_c_try_link
"$LINENO"
19307 ac_cv_cflags__Werror_unknown_warning_option
=yes
19309 ac_cv_cflags__Werror_unknown_warning_option
=no
19311 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19312 conftest
$ac_exeext conftest.
$ac_ext
19313 CFLAGS
=$ac_wine_try_cflags_saved
19315 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
19316 printf "%s\n" "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
19317 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes
19319 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
19321 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unused-command-line-argument" >&5
19322 printf %s
"checking whether the compiler supports -Werror=unused-command-line-argument... " >&6; }
19323 if test ${ac_cv_cflags__Werror_unused_command_line_argument+y}
19325 printf %s
"(cached) " >&6
19327 ac_wine_try_cflags_saved
=$CFLAGS
19328 CFLAGS
="$CFLAGS -Werror=unused-command-line-argument"
19329 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19330 /* end confdefs.h. */
19331 int main(int argc, char **argv) { return 0; }
19333 if ac_fn_c_try_link
"$LINENO"
19335 ac_cv_cflags__Werror_unused_command_line_argument
=yes
19337 ac_cv_cflags__Werror_unused_command_line_argument
=no
19339 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19340 conftest
$ac_exeext conftest.
$ac_ext
19341 CFLAGS
=$ac_wine_try_cflags_saved
19343 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unused_command_line_argument" >&5
19344 printf "%s\n" "$ac_cv_cflags__Werror_unused_command_line_argument" >&6; }
19345 if test "x$ac_cv_cflags__Werror_unused_command_line_argument" = xyes
19347 CFLAGS
="$CFLAGS -Werror=unused-command-line-argument"
19349 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=ignored-optimization-argument" >&5
19350 printf %s
"checking whether the compiler supports -Werror=ignored-optimization-argument... " >&6; }
19351 if test ${ac_cv_cflags__Werror_ignored_optimization_argument+y}
19353 printf %s
"(cached) " >&6
19355 ac_wine_try_cflags_saved
=$CFLAGS
19356 CFLAGS
="$CFLAGS -Werror=ignored-optimization-argument"
19357 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19358 /* end confdefs.h. */
19359 int main(int argc, char **argv) { return 0; }
19361 if ac_fn_c_try_link
"$LINENO"
19363 ac_cv_cflags__Werror_ignored_optimization_argument
=yes
19365 ac_cv_cflags__Werror_ignored_optimization_argument
=no
19367 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19368 conftest
$ac_exeext conftest.
$ac_ext
19369 CFLAGS
=$ac_wine_try_cflags_saved
19371 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_ignored_optimization_argument" >&5
19372 printf "%s\n" "$ac_cv_cflags__Werror_ignored_optimization_argument" >&6; }
19373 if test "x$ac_cv_cflags__Werror_ignored_optimization_argument" = xyes
19375 CFLAGS
="$CFLAGS -Werror=ignored-optimization-argument"
19377 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fcf-protection=none" >&5
19378 printf %s
"checking whether the compiler supports -fcf-protection=none... " >&6; }
19379 if test ${ac_cv_cflags__fcf_protection_none+y}
19381 printf %s
"(cached) " >&6
19383 ac_wine_try_cflags_saved
=$CFLAGS
19384 CFLAGS
="$CFLAGS -fcf-protection=none"
19385 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19386 /* end confdefs.h. */
19387 int main(int argc, char **argv) { return 0; }
19389 if ac_fn_c_try_link
"$LINENO"
19391 ac_cv_cflags__fcf_protection_none
=yes
19393 ac_cv_cflags__fcf_protection_none
=no
19395 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19396 conftest
$ac_exeext conftest.
$ac_ext
19397 CFLAGS
=$ac_wine_try_cflags_saved
19399 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fcf_protection_none" >&5
19400 printf "%s\n" "$ac_cv_cflags__fcf_protection_none" >&6; }
19401 if test "x$ac_cv_cflags__fcf_protection_none" = xyes
19403 EXTRACFLAGS
="$EXTRACFLAGS -fcf-protection=none"
19405 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fvisibility=hidden" >&5
19406 printf %s
"checking whether the compiler supports -fvisibility=hidden... " >&6; }
19407 if test ${ac_cv_cflags__fvisibility_hidden+y}
19409 printf %s
"(cached) " >&6
19411 ac_wine_try_cflags_saved
=$CFLAGS
19412 CFLAGS
="$CFLAGS -fvisibility=hidden"
19413 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19414 /* end confdefs.h. */
19415 int main(int argc, char **argv) { return 0; }
19417 if ac_fn_c_try_link
"$LINENO"
19419 ac_cv_cflags__fvisibility_hidden
=yes
19421 ac_cv_cflags__fvisibility_hidden
=no
19423 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19424 conftest
$ac_exeext conftest.
$ac_ext
19425 CFLAGS
=$ac_wine_try_cflags_saved
19427 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fvisibility_hidden" >&5
19428 printf "%s\n" "$ac_cv_cflags__fvisibility_hidden" >&6; }
19429 if test "x$ac_cv_cflags__fvisibility_hidden" = xyes
19431 EXTRACFLAGS
="$EXTRACFLAGS -fvisibility=hidden"
19433 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-stack-protector" >&5
19434 printf %s
"checking whether the compiler supports -fno-stack-protector... " >&6; }
19435 if test ${ac_cv_cflags__fno_stack_protector+y}
19437 printf %s
"(cached) " >&6
19439 ac_wine_try_cflags_saved
=$CFLAGS
19440 CFLAGS
="$CFLAGS -fno-stack-protector"
19441 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19442 /* end confdefs.h. */
19443 int main(int argc, char **argv) { return 0; }
19445 if ac_fn_c_try_link
"$LINENO"
19447 ac_cv_cflags__fno_stack_protector
=yes
19449 ac_cv_cflags__fno_stack_protector
=no
19451 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19452 conftest
$ac_exeext conftest.
$ac_ext
19453 CFLAGS
=$ac_wine_try_cflags_saved
19455 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_stack_protector" >&5
19456 printf "%s\n" "$ac_cv_cflags__fno_stack_protector" >&6; }
19457 if test "x$ac_cv_cflags__fno_stack_protector" = xyes
19459 EXTRACFLAGS
="$EXTRACFLAGS -fno-stack-protector"
19461 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
19462 printf %s
"checking whether the compiler supports -fno-strict-aliasing... " >&6; }
19463 if test ${ac_cv_cflags__fno_strict_aliasing+y}
19465 printf %s
"(cached) " >&6
19467 ac_wine_try_cflags_saved
=$CFLAGS
19468 CFLAGS
="$CFLAGS -fno-strict-aliasing"
19469 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19470 /* end confdefs.h. */
19471 int main(int argc, char **argv) { return 0; }
19473 if ac_fn_c_try_link
"$LINENO"
19475 ac_cv_cflags__fno_strict_aliasing
=yes
19477 ac_cv_cflags__fno_strict_aliasing
=no
19479 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19480 conftest
$ac_exeext conftest.
$ac_ext
19481 CFLAGS
=$ac_wine_try_cflags_saved
19483 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
19484 printf "%s\n" "$ac_cv_cflags__fno_strict_aliasing" >&6; }
19485 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes
19487 EXTRACFLAGS
="$EXTRACFLAGS -fno-strict-aliasing"
19489 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
19490 printf %s
"checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
19491 if test ${ac_cv_cflags__Wdeclaration_after_statement+y}
19493 printf %s
"(cached) " >&6
19495 ac_wine_try_cflags_saved
=$CFLAGS
19496 CFLAGS
="$CFLAGS -Wdeclaration-after-statement"
19497 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19498 /* end confdefs.h. */
19499 int main(int argc, char **argv) { return 0; }
19501 if ac_fn_c_try_link
"$LINENO"
19503 ac_cv_cflags__Wdeclaration_after_statement
=yes
19505 ac_cv_cflags__Wdeclaration_after_statement
=no
19507 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19508 conftest
$ac_exeext conftest.
$ac_ext
19509 CFLAGS
=$ac_wine_try_cflags_saved
19511 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
19512 printf "%s\n" "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
19513 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes
19515 EXTRACFLAGS
="$EXTRACFLAGS -Wdeclaration-after-statement"
19517 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
19518 printf %s
"checking whether the compiler supports -Wempty-body... " >&6; }
19519 if test ${ac_cv_cflags__Wempty_body+y}
19521 printf %s
"(cached) " >&6
19523 ac_wine_try_cflags_saved
=$CFLAGS
19524 CFLAGS
="$CFLAGS -Wempty-body"
19525 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19526 /* end confdefs.h. */
19527 int main(int argc, char **argv) { return 0; }
19529 if ac_fn_c_try_link
"$LINENO"
19531 ac_cv_cflags__Wempty_body
=yes
19533 ac_cv_cflags__Wempty_body
=no
19535 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19536 conftest
$ac_exeext conftest.
$ac_ext
19537 CFLAGS
=$ac_wine_try_cflags_saved
19539 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
19540 printf "%s\n" "$ac_cv_cflags__Wempty_body" >&6; }
19541 if test "x$ac_cv_cflags__Wempty_body" = xyes
19543 EXTRACFLAGS
="$EXTRACFLAGS -Wempty-body"
19545 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
19546 printf %s
"checking whether the compiler supports -Wignored-qualifiers... " >&6; }
19547 if test ${ac_cv_cflags__Wignored_qualifiers+y}
19549 printf %s
"(cached) " >&6
19551 ac_wine_try_cflags_saved
=$CFLAGS
19552 CFLAGS
="$CFLAGS -Wignored-qualifiers"
19553 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19554 /* end confdefs.h. */
19555 int main(int argc, char **argv) { return 0; }
19557 if ac_fn_c_try_link
"$LINENO"
19559 ac_cv_cflags__Wignored_qualifiers
=yes
19561 ac_cv_cflags__Wignored_qualifiers
=no
19563 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19564 conftest
$ac_exeext conftest.
$ac_ext
19565 CFLAGS
=$ac_wine_try_cflags_saved
19567 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
19568 printf "%s\n" "$ac_cv_cflags__Wignored_qualifiers" >&6; }
19569 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes
19571 EXTRACFLAGS
="$EXTRACFLAGS -Wignored-qualifiers"
19573 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Winit-self" >&5
19574 printf %s
"checking whether the compiler supports -Winit-self... " >&6; }
19575 if test ${ac_cv_cflags__Winit_self+y}
19577 printf %s
"(cached) " >&6
19579 ac_wine_try_cflags_saved
=$CFLAGS
19580 CFLAGS
="$CFLAGS -Winit-self"
19581 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19582 /* end confdefs.h. */
19583 int main(int argc, char **argv) { return 0; }
19585 if ac_fn_c_try_link
"$LINENO"
19587 ac_cv_cflags__Winit_self
=yes
19589 ac_cv_cflags__Winit_self
=no
19591 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19592 conftest
$ac_exeext conftest.
$ac_ext
19593 CFLAGS
=$ac_wine_try_cflags_saved
19595 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Winit_self" >&5
19596 printf "%s\n" "$ac_cv_cflags__Winit_self" >&6; }
19597 if test "x$ac_cv_cflags__Winit_self" = xyes
19599 EXTRACFLAGS
="$EXTRACFLAGS -Winit-self"
19601 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpacked-not-aligned" >&5
19602 printf %s
"checking whether the compiler supports -Wpacked-not-aligned... " >&6; }
19603 if test ${ac_cv_cflags__Wpacked_not_aligned+y}
19605 printf %s
"(cached) " >&6
19607 ac_wine_try_cflags_saved
=$CFLAGS
19608 CFLAGS
="$CFLAGS -Wpacked-not-aligned"
19609 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19610 /* end confdefs.h. */
19611 int main(int argc, char **argv) { return 0; }
19613 if ac_fn_c_try_link
"$LINENO"
19615 ac_cv_cflags__Wpacked_not_aligned
=yes
19617 ac_cv_cflags__Wpacked_not_aligned
=no
19619 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19620 conftest
$ac_exeext conftest.
$ac_ext
19621 CFLAGS
=$ac_wine_try_cflags_saved
19623 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpacked_not_aligned" >&5
19624 printf "%s\n" "$ac_cv_cflags__Wpacked_not_aligned" >&6; }
19625 if test "x$ac_cv_cflags__Wpacked_not_aligned" = xyes
19627 EXTRACFLAGS
="$EXTRACFLAGS -Wno-packed-not-aligned"
19629 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpragma-pack" >&5
19630 printf %s
"checking whether the compiler supports -Wpragma-pack... " >&6; }
19631 if test ${ac_cv_cflags__Wpragma_pack+y}
19633 printf %s
"(cached) " >&6
19635 ac_wine_try_cflags_saved
=$CFLAGS
19636 CFLAGS
="$CFLAGS -Wpragma-pack"
19637 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19638 /* end confdefs.h. */
19639 int main(int argc, char **argv) { return 0; }
19641 if ac_fn_c_try_link
"$LINENO"
19643 ac_cv_cflags__Wpragma_pack
=yes
19645 ac_cv_cflags__Wpragma_pack
=no
19647 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19648 conftest
$ac_exeext conftest.
$ac_ext
19649 CFLAGS
=$ac_wine_try_cflags_saved
19651 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpragma_pack" >&5
19652 printf "%s\n" "$ac_cv_cflags__Wpragma_pack" >&6; }
19653 if test "x$ac_cv_cflags__Wpragma_pack" = xyes
19655 EXTRACFLAGS
="$EXTRACFLAGS -Wno-pragma-pack"
19657 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
19658 printf %s
"checking whether the compiler supports -Wshift-overflow=2... " >&6; }
19659 if test ${ac_cv_cflags__Wshift_overflow_2+y}
19661 printf %s
"(cached) " >&6
19663 ac_wine_try_cflags_saved
=$CFLAGS
19664 CFLAGS
="$CFLAGS -Wshift-overflow=2"
19665 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19666 /* end confdefs.h. */
19667 int main(int argc, char **argv) { return 0; }
19669 if ac_fn_c_try_link
"$LINENO"
19671 ac_cv_cflags__Wshift_overflow_2
=yes
19673 ac_cv_cflags__Wshift_overflow_2
=no
19675 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19676 conftest
$ac_exeext conftest.
$ac_ext
19677 CFLAGS
=$ac_wine_try_cflags_saved
19679 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
19680 printf "%s\n" "$ac_cv_cflags__Wshift_overflow_2" >&6; }
19681 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes
19683 EXTRACFLAGS
="$EXTRACFLAGS -Wshift-overflow=2"
19685 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
19686 printf %s
"checking whether the compiler supports -Wstrict-prototypes... " >&6; }
19687 if test ${ac_cv_cflags__Wstrict_prototypes+y}
19689 printf %s
"(cached) " >&6
19691 ac_wine_try_cflags_saved
=$CFLAGS
19692 CFLAGS
="$CFLAGS -Wstrict-prototypes"
19693 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19694 /* end confdefs.h. */
19695 int main(int argc, char **argv) { return 0; }
19697 if ac_fn_c_try_link
"$LINENO"
19699 ac_cv_cflags__Wstrict_prototypes
=yes
19701 ac_cv_cflags__Wstrict_prototypes
=no
19703 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19704 conftest
$ac_exeext conftest.
$ac_ext
19705 CFLAGS
=$ac_wine_try_cflags_saved
19707 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
19708 printf "%s\n" "$ac_cv_cflags__Wstrict_prototypes" >&6; }
19709 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes
19711 EXTRACFLAGS
="$EXTRACFLAGS -Wstrict-prototypes"
19713 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
19714 printf %s
"checking whether the compiler supports -Wtype-limits... " >&6; }
19715 if test ${ac_cv_cflags__Wtype_limits+y}
19717 printf %s
"(cached) " >&6
19719 ac_wine_try_cflags_saved
=$CFLAGS
19720 CFLAGS
="$CFLAGS -Wtype-limits"
19721 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19722 /* end confdefs.h. */
19723 int main(int argc, char **argv) { return 0; }
19725 if ac_fn_c_try_link
"$LINENO"
19727 ac_cv_cflags__Wtype_limits
=yes
19729 ac_cv_cflags__Wtype_limits
=no
19731 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19732 conftest
$ac_exeext conftest.
$ac_ext
19733 CFLAGS
=$ac_wine_try_cflags_saved
19735 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
19736 printf "%s\n" "$ac_cv_cflags__Wtype_limits" >&6; }
19737 if test "x$ac_cv_cflags__Wtype_limits" = xyes
19739 EXTRACFLAGS
="$EXTRACFLAGS -Wtype-limits"
19741 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
19742 printf %s
"checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
19743 if test ${ac_cv_cflags__Wunused_but_set_parameter+y}
19745 printf %s
"(cached) " >&6
19747 ac_wine_try_cflags_saved
=$CFLAGS
19748 CFLAGS
="$CFLAGS -Wunused-but-set-parameter"
19749 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19750 /* end confdefs.h. */
19751 int main(int argc, char **argv) { return 0; }
19753 if ac_fn_c_try_link
"$LINENO"
19755 ac_cv_cflags__Wunused_but_set_parameter
=yes
19757 ac_cv_cflags__Wunused_but_set_parameter
=no
19759 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19760 conftest
$ac_exeext conftest.
$ac_ext
19761 CFLAGS
=$ac_wine_try_cflags_saved
19763 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
19764 printf "%s\n" "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
19765 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes
19767 EXTRACFLAGS
="$EXTRACFLAGS -Wunused-but-set-parameter"
19769 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
19770 printf %s
"checking whether the compiler supports -Wvla... " >&6; }
19771 if test ${ac_cv_cflags__Wvla+y}
19773 printf %s
"(cached) " >&6
19775 ac_wine_try_cflags_saved
=$CFLAGS
19776 CFLAGS
="$CFLAGS -Wvla"
19777 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19778 /* end confdefs.h. */
19779 int main(int argc, char **argv) { return 0; }
19781 if ac_fn_c_try_link
"$LINENO"
19783 ac_cv_cflags__Wvla
=yes
19785 ac_cv_cflags__Wvla
=no
19787 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19788 conftest
$ac_exeext conftest.
$ac_ext
19789 CFLAGS
=$ac_wine_try_cflags_saved
19791 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
19792 printf "%s\n" "$ac_cv_cflags__Wvla" >&6; }
19793 if test "x$ac_cv_cflags__Wvla" = xyes
19795 EXTRACFLAGS
="$EXTRACFLAGS -Wvla"
19797 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
19798 printf %s
"checking whether the compiler supports -Wwrite-strings... " >&6; }
19799 if test ${ac_cv_cflags__Wwrite_strings+y}
19801 printf %s
"(cached) " >&6
19803 ac_wine_try_cflags_saved
=$CFLAGS
19804 CFLAGS
="$CFLAGS -Wwrite-strings"
19805 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19806 /* end confdefs.h. */
19807 int main(int argc, char **argv) { return 0; }
19809 if ac_fn_c_try_link
"$LINENO"
19811 ac_cv_cflags__Wwrite_strings
=yes
19813 ac_cv_cflags__Wwrite_strings
=no
19815 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19816 conftest
$ac_exeext conftest.
$ac_ext
19817 CFLAGS
=$ac_wine_try_cflags_saved
19819 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
19820 printf "%s\n" "$ac_cv_cflags__Wwrite_strings" >&6; }
19821 if test "x$ac_cv_cflags__Wwrite_strings" = xyes
19823 EXTRACFLAGS
="$EXTRACFLAGS -Wwrite-strings"
19826 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -flarge-source-files -Wmisleading-indentation" >&5
19827 printf %s
"checking whether the compiler supports -flarge-source-files -Wmisleading-indentation... " >&6; }
19828 if test ${ac_cv_cflags__flarge_source_files__Wmisleading_indentation+y}
19830 printf %s
"(cached) " >&6
19832 ac_wine_try_cflags_saved
=$CFLAGS
19833 CFLAGS
="$CFLAGS -flarge-source-files -Wmisleading-indentation"
19834 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19835 /* end confdefs.h. */
19836 int main(int argc, char **argv) { return 0; }
19838 if ac_fn_c_try_link
"$LINENO"
19840 ac_cv_cflags__flarge_source_files__Wmisleading_indentation
=yes
19842 ac_cv_cflags__flarge_source_files__Wmisleading_indentation
=no
19844 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19845 conftest
$ac_exeext conftest.
$ac_ext
19846 CFLAGS
=$ac_wine_try_cflags_saved
19848 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__flarge_source_files__Wmisleading_indentation" >&5
19849 printf "%s\n" "$ac_cv_cflags__flarge_source_files__Wmisleading_indentation" >&6; }
19850 if test "x$ac_cv_cflags__flarge_source_files__Wmisleading_indentation" = xyes
19852 EXTRACFLAGS
="$EXTRACFLAGS -Wno-misleading-indentation"
19855 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
19856 printf %s
"checking whether the compiler supports -Wpointer-arith... " >&6; }
19857 if test ${ac_cv_cflags__Wpointer_arith+y}
19859 printf %s
"(cached) " >&6
19861 ac_wine_try_cflags_saved
=$CFLAGS
19862 CFLAGS
="$CFLAGS -Wpointer-arith"
19863 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19864 /* end confdefs.h. */
19865 int main(int argc, char **argv) { return 0; }
19867 if ac_fn_c_try_link
"$LINENO"
19869 ac_cv_cflags__Wpointer_arith
=yes
19871 ac_cv_cflags__Wpointer_arith
=no
19873 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19874 conftest
$ac_exeext conftest.
$ac_ext
19875 CFLAGS
=$ac_wine_try_cflags_saved
19877 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
19878 printf "%s\n" "$ac_cv_cflags__Wpointer_arith" >&6; }
19879 if test "x$ac_cv_cflags__Wpointer_arith" = xyes
19881 saved_string_h_CFLAGS
=$CFLAGS
19882 CFLAGS
="$CFLAGS -Wpointer-arith -Werror"
19883 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
19884 printf %s
"checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
19885 if test ${ac_cv_c_string_h_warnings+y}
19887 printf %s
"(cached) " >&6
19889 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19890 /* end confdefs.h. */
19891 #include <string.h>
19900 if ac_fn_c_try_compile
"$LINENO"
19902 ac_cv_c_string_h_warnings
=no
19904 ac_cv_c_string_h_warnings
=yes
19906 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
19908 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
19909 printf "%s\n" "$ac_cv_c_string_h_warnings" >&6; }
19910 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS
="$EXTRACFLAGS -Wpointer-arith"
19911 CFLAGS
=$saved_string_h_CFLAGS
19914 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
19915 printf %s
"checking whether the compiler supports -Wlogical-op... " >&6; }
19916 if test ${ac_cv_cflags__Wlogical_op+y}
19918 printf %s
"(cached) " >&6
19920 ac_wine_try_cflags_saved
=$CFLAGS
19921 CFLAGS
="$CFLAGS -Wlogical-op"
19922 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19923 /* end confdefs.h. */
19924 int main(int argc, char **argv) { return 0; }
19926 if ac_fn_c_try_link
"$LINENO"
19928 ac_cv_cflags__Wlogical_op
=yes
19930 ac_cv_cflags__Wlogical_op
=no
19932 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19933 conftest
$ac_exeext conftest.
$ac_ext
19934 CFLAGS
=$ac_wine_try_cflags_saved
19936 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
19937 printf "%s\n" "$ac_cv_cflags__Wlogical_op" >&6; }
19938 if test "x$ac_cv_cflags__Wlogical_op" = xyes
19940 saved_string_h_CFLAGS
=$CFLAGS
19941 CFLAGS
="$CFLAGS -Wlogical-op -Werror"
19942 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
19943 printf %s
"checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
19944 if test ${ac_cv_c_logicalop_noisy+y}
19946 printf %s
"(cached) " >&6
19948 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19949 /* end confdefs.h. */
19950 #include <string.h>
19951 char*f(const char *h,char n) {return strchr(h,n);}
19960 if ac_fn_c_try_compile
"$LINENO"
19962 ac_cv_c_logicalop_noisy
=no
19964 ac_cv_c_logicalop_noisy
=yes
19966 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
19968 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
19969 printf "%s\n" "$ac_cv_c_logicalop_noisy" >&6; }
19970 CFLAGS
=$saved_string_h_CFLAGS
19971 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS
="$EXTRACFLAGS -Wlogical-op"
19974 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for flags needed for 64-bit compare-and-swap support" >&5
19975 printf %s
"checking for flags needed for 64-bit compare-and-swap support... " >&6; }
19976 if test ${wine_cv_64bit_compare_swap+y}
19978 printf %s
"(cached) " >&6
19980 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19981 /* end confdefs.h. */
19982 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
19993 if ac_fn_c_try_compile
"$LINENO"
19995 wine_cv_64bit_compare_swap
="none needed"
19998 i386
) wine_cv_64bit_compare_swap
="-march=i586" ;;
19999 arm
) wine_cv_64bit_compare_swap
="-march=armv7-a" ;;
20000 *) wine_cv_64bit_compare_swap
="unknown" ;;
20002 if test "x$wine_cv_64bit_compare_swap" != xunknown
20004 CFLAGS
="$CFLAGS $wine_cv_64bit_compare_swap"
20005 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20006 /* end confdefs.h. */
20007 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
20018 if ac_fn_c_try_compile
"$LINENO"
20022 wine_cv_64bit_compare_swap
="unknown"
20024 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
20025 CFLAGS
=$saved_CFLAGS
20028 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
20030 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_64bit_compare_swap" >&5
20031 printf "%s\n" "$wine_cv_64bit_compare_swap" >&6; }
20032 case "$wine_cv_64bit_compare_swap" in
20033 unknown
) as_fn_error $?
"gcc doesn't support 64-bit compare-and-swap on this platform" "$LINENO" 5 ;;
20035 *) EXTRACFLAGS
="$EXTRACFLAGS $wine_cv_64bit_compare_swap" ;;
20038 ac_debug_format_seen
=""
20039 for ac_flag
in $CFLAGS; do
20041 -gdwarf*) ac_debug_format_seen
=yes ;;
20042 -g) ac_debug_format_seen
=${ac_debug_format_seen:-default} ;;
20045 if test "x$ac_debug_format_seen" = xdefault
20047 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-4" >&5
20048 printf %s
"checking whether the compiler supports -gdwarf-4... " >&6; }
20049 if test ${ac_cv_cflags__gdwarf_4+y}
20051 printf %s
"(cached) " >&6
20053 ac_wine_try_cflags_saved
=$CFLAGS
20054 CFLAGS
="$CFLAGS -gdwarf-4"
20055 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20056 /* end confdefs.h. */
20057 int main(int argc, char **argv) { return 0; }
20059 if ac_fn_c_try_link
"$LINENO"
20061 ac_cv_cflags__gdwarf_4
=yes
20063 ac_cv_cflags__gdwarf_4
=no
20065 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
20066 conftest
$ac_exeext conftest.
$ac_ext
20067 CFLAGS
=$ac_wine_try_cflags_saved
20069 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_4" >&5
20070 printf "%s\n" "$ac_cv_cflags__gdwarf_4" >&6; }
20071 if test "x$ac_cv_cflags__gdwarf_4" = xyes
20073 EXTRACFLAGS
="$EXTRACFLAGS -gdwarf-4"
20080 mingw32
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-delayload,autoconftest.dll" >&5
20081 printf %s
"checking whether the compiler supports -Wl,-delayload,autoconftest.dll... " >&6; }
20082 if test ${ac_cv_cflags__Wl__delayload_autoconftest_dll+y}
20084 printf %s
"(cached) " >&6
20086 ac_wine_try_cflags_saved
=$CFLAGS
20087 CFLAGS
="$CFLAGS -Wl,-delayload,autoconftest.dll"
20088 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20089 /* end confdefs.h. */
20090 int main(int argc, char **argv) { return 0; }
20092 if ac_fn_c_try_link
"$LINENO"
20094 ac_cv_cflags__Wl__delayload_autoconftest_dll
=yes
20096 ac_cv_cflags__Wl__delayload_autoconftest_dll
=no
20098 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
20099 conftest
$ac_exeext conftest.
$ac_ext
20100 CFLAGS
=$ac_wine_try_cflags_saved
20102 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__delayload_autoconftest_dll" >&5
20103 printf "%s\n" "$ac_cv_cflags__Wl__delayload_autoconftest_dll" >&6; }
20104 if test "x$ac_cv_cflags__Wl__delayload_autoconftest_dll" = xyes
20106 DELAYLOADFLAG
="-Wl,-delayload,"
20109 *) MSVCRTFLAGS
="-D_WIN32"
20110 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
20111 printf %s
"checking whether the compiler supports -fno-builtin... " >&6; }
20112 if test ${ac_cv_cflags__fno_builtin+y}
20114 printf %s
"(cached) " >&6
20116 ac_wine_try_cflags_saved
=$CFLAGS
20117 CFLAGS
="$CFLAGS -fno-builtin"
20118 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20119 /* end confdefs.h. */
20120 int main(int argc, char **argv) { return 0; }
20122 if ac_fn_c_try_link
"$LINENO"
20124 ac_cv_cflags__fno_builtin
=yes
20126 ac_cv_cflags__fno_builtin
=no
20128 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
20129 conftest
$ac_exeext conftest.
$ac_ext
20130 CFLAGS
=$ac_wine_try_cflags_saved
20132 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
20133 printf "%s\n" "$ac_cv_cflags__fno_builtin" >&6; }
20134 if test "x$ac_cv_cflags__fno_builtin" = xyes
20136 MSVCRTFLAGS
="$MSVCRTFLAGS -fno-builtin"
20138 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fshort-wchar" >&5
20139 printf %s
"checking whether the compiler supports -fshort-wchar... " >&6; }
20140 if test ${ac_cv_cflags__fshort_wchar+y}
20142 printf %s
"(cached) " >&6
20144 ac_wine_try_cflags_saved
=$CFLAGS
20145 CFLAGS
="$CFLAGS -fshort-wchar"
20146 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20147 /* end confdefs.h. */
20148 int main(int argc, char **argv) { return 0; }
20150 if ac_fn_c_try_link
"$LINENO"
20152 ac_cv_cflags__fshort_wchar
=yes
20154 ac_cv_cflags__fshort_wchar
=no
20156 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
20157 conftest
$ac_exeext conftest.
$ac_ext
20158 CFLAGS
=$ac_wine_try_cflags_saved
20160 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fshort_wchar" >&5
20161 printf "%s\n" "$ac_cv_cflags__fshort_wchar" >&6; }
20162 if test "x$ac_cv_cflags__fshort_wchar" = xyes
20164 MSVCRTFLAGS
="$MSVCRTFLAGS -fshort-wchar"
20166 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
20167 printf %s
"checking whether the compiler supports -Wno-format... " >&6; }
20168 if test ${ac_cv_cflags__Wno_format+y}
20170 printf %s
"(cached) " >&6
20172 ac_wine_try_cflags_saved
=$CFLAGS
20173 CFLAGS
="$CFLAGS -Wno-format"
20174 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20175 /* end confdefs.h. */
20176 int main(int argc, char **argv) { return 0; }
20178 if ac_fn_c_try_link
"$LINENO"
20180 ac_cv_cflags__Wno_format
=yes
20182 ac_cv_cflags__Wno_format
=no
20184 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
20185 conftest
$ac_exeext conftest.
$ac_ext
20186 CFLAGS
=$ac_wine_try_cflags_saved
20188 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
20189 printf "%s\n" "$ac_cv_cflags__Wno_format" >&6; }
20190 if test "x$ac_cv_cflags__Wno_format" = xyes
20192 MSVCRTFLAGS
="$MSVCRTFLAGS -Wno-format"
20197 i386
) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
20198 printf %s
"checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
20199 if test ${ac_cv_cflags__fno_omit_frame_pointer+y}
20201 printf %s
"(cached) " >&6
20203 ac_wine_try_cflags_saved
=$CFLAGS
20204 CFLAGS
="$CFLAGS -fno-omit-frame-pointer"
20205 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20206 /* end confdefs.h. */
20207 int main(int argc, char **argv) { return 0; }
20209 if ac_fn_c_try_link
"$LINENO"
20211 ac_cv_cflags__fno_omit_frame_pointer
=yes
20213 ac_cv_cflags__fno_omit_frame_pointer
=no
20215 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
20216 conftest
$ac_exeext conftest.
$ac_ext
20217 CFLAGS
=$ac_wine_try_cflags_saved
20219 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
20220 printf "%s\n" "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
20221 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes
20223 MSVCRTFLAGS
="$MSVCRTFLAGS -fno-omit-frame-pointer"
20227 cygwin
*|mingw32
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
20228 printf %s
"checking whether the compiler supports -Wno-format... " >&6; }
20229 if test ${ac_cv_cflags__Wno_format+y}
20231 printf %s
"(cached) " >&6
20233 ac_wine_try_cflags_saved
=$CFLAGS
20234 CFLAGS
="$CFLAGS -Wno-format"
20235 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20236 /* end confdefs.h. */
20237 int main(int argc, char **argv) { return 0; }
20239 if ac_fn_c_try_link
"$LINENO"
20241 ac_cv_cflags__Wno_format
=yes
20243 ac_cv_cflags__Wno_format
=no
20245 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
20246 conftest
$ac_exeext conftest.
$ac_ext
20247 CFLAGS
=$ac_wine_try_cflags_saved
20249 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
20250 printf "%s\n" "$ac_cv_cflags__Wno_format" >&6; }
20251 if test "x$ac_cv_cflags__Wno_format" = xyes
20253 EXTRACFLAGS
="$EXTRACFLAGS -Wno-format"
20255 *) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for working -mabi=ms" >&5
20256 printf %s
"checking for working -mabi=ms... " >&6; }
20257 if test ${ac_cv_mabi_ms+y}
20259 printf %s
"(cached) " >&6
20261 CFLAGS
="$CFLAGS -mabi=ms"
20262 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20263 /* end confdefs.h. */
20264 #include <stdarg.h>
20265 int a(int b, ...) { __builtin_ms_va_list list; __builtin_ms_va_start(list,b); }
20274 if ac_fn_c_try_compile
"$LINENO"
20280 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
20281 CFLAGS
=$saved_CFLAGS
20283 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mabi_ms" >&5
20284 printf "%s\n" "$ac_cv_mabi_ms" >&6; }
20285 if test "x$ac_cv_mabi_ms" = xyes
20287 MSVCRTFLAGS
="$MSVCRTFLAGS -mabi=ms"
20289 test -n "$PE_ARCHS" || as_fn_error $?
"The compiler doesn't support -mabi=ms. Use gcc instead of clang, or install mingw-w64." "$LINENO" 5
20294 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wincompatible-function-pointer-types" >&5
20295 printf %s
"checking whether the compiler supports -Wincompatible-function-pointer-types... " >&6; }
20296 if test ${ac_cv_cflags__Wincompatible_function_pointer_types+y}
20298 printf %s
"(cached) " >&6
20300 ac_wine_try_cflags_saved
=$CFLAGS
20301 CFLAGS
="$CFLAGS -Wincompatible-function-pointer-types"
20302 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20303 /* end confdefs.h. */
20304 int main(int argc, char **argv) { return 0; }
20306 if ac_fn_c_try_link
"$LINENO"
20308 ac_cv_cflags__Wincompatible_function_pointer_types
=yes
20310 ac_cv_cflags__Wincompatible_function_pointer_types
=no
20312 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
20313 conftest
$ac_exeext conftest.
$ac_ext
20314 CFLAGS
=$ac_wine_try_cflags_saved
20316 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wincompatible_function_pointer_types" >&5
20317 printf "%s\n" "$ac_cv_cflags__Wincompatible_function_pointer_types" >&6; }
20318 if test "x$ac_cv_cflags__Wincompatible_function_pointer_types" = xyes
20320 EXTRACFLAGS
="$EXTRACFLAGS -Wno-error=incompatible-function-pointer-types"
20324 CFLAGS
=$saved_CFLAGS
20326 if test "x$enable_werror" = "xyes"
20328 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
20329 printf %s
"checking whether the compiler supports -Werror... " >&6; }
20330 if test ${ac_cv_cflags__Werror+y}
20332 printf %s
"(cached) " >&6
20334 ac_wine_try_cflags_saved
=$CFLAGS
20335 CFLAGS
="$CFLAGS -Werror"
20336 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20337 /* end confdefs.h. */
20338 int main(int argc, char **argv) { return 0; }
20340 if ac_fn_c_try_link
"$LINENO"
20342 ac_cv_cflags__Werror
=yes
20344 ac_cv_cflags__Werror
=no
20346 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
20347 conftest
$ac_exeext conftest.
$ac_ext
20348 CFLAGS
=$ac_wine_try_cflags_saved
20350 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
20351 printf "%s\n" "$ac_cv_cflags__Werror" >&6; }
20352 if test "x$ac_cv_cflags__Werror" = xyes
20354 EXTRACFLAGS
="$EXTRACFLAGS -Werror"
20357 if test "x$enable_build_id" = "xyes"
20359 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--build-id" >&5
20360 printf %s
"checking whether the compiler supports -Wl,--build-id... " >&6; }
20361 if test ${ac_cv_cflags__Wl___build_id+y}
20363 printf %s
"(cached) " >&6
20365 ac_wine_try_cflags_saved
=$CFLAGS
20366 CFLAGS
="$CFLAGS -Wl,--build-id"
20367 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20368 /* end confdefs.h. */
20369 int main(int argc, char **argv) { return 0; }
20371 if ac_fn_c_try_link
"$LINENO"
20373 ac_cv_cflags__Wl___build_id
=yes
20375 ac_cv_cflags__Wl___build_id
=no
20377 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
20378 conftest
$ac_exeext conftest.
$ac_ext
20379 CFLAGS
=$ac_wine_try_cflags_saved
20381 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___build_id" >&5
20382 printf "%s\n" "$ac_cv_cflags__Wl___build_id" >&6; }
20383 if test "x$ac_cv_cflags__Wl___build_id" = xyes
20385 CFLAGS
="$CFLAGS -Wl,--build-id"
20386 LDFLAGS
="$LDFLAGS -Wl,--build-id"
20392 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
20393 printf %s
"checking for the need to disable Fortify... " >&6; }
20394 if test ${ac_cv_c_fortify_enabled+y}
20396 printf %s
"(cached) " >&6
20398 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20399 /* end confdefs.h. */
20400 #include <string.h>
20404 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
20405 #error Fortify enabled
20411 if ac_fn_c_try_compile
"$LINENO"
20413 ac_cv_c_fortify_enabled
=no
20415 ac_cv_c_fortify_enabled
=yes
20417 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
20419 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
20420 printf "%s\n" "$ac_cv_c_fortify_enabled" >&6; }
20421 if test "$ac_cv_c_fortify_enabled" = yes
20423 CFLAGS
="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
20427 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
20428 printf %s
"checking whether CFI directives are supported in assembly code... " >&6; }
20429 if test ${ac_cv_c_cfi_support+y}
20431 printf %s
"(cached) " >&6
20433 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20434 /* end confdefs.h. */
20435 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
20444 if ac_fn_c_try_compile
"$LINENO"
20446 ac_cv_c_cfi_support
="yes"
20448 ac_cv_c_cfi_support
="no"
20450 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
20452 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
20453 printf "%s\n" "$ac_cv_c_cfi_support" >&6; }
20454 if test "$ac_cv_c_cfi_support" = "yes"
20456 DLLFLAGS
="$DLLFLAGS -fasynchronous-unwind-tables"
20457 LDDLLFLAGS
="$LDDLLFLAGS -fasynchronous-unwind-tables"
20458 UNIXDLLFLAGS
="$UNIXDLLFLAGS -fasynchronous-unwind-tables"
20459 elif test $HOST_ARCH = x86_64
20461 as_fn_append wine_warnings
"|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
20465 case "$HOST_ARCH,$PE_ARCHS" in
20466 x86_64
,*i386
*) wine_binary
="wine" ;;
20467 x86_64
,*) wine_binary
="wine64" ;;
20468 *) wine_binary
="wine" ;;
20470 WINELOADER_PROGRAMS
="$wine_binary"
20475 if test $HOST_ARCH != unknown
20477 wine_use_preloader
=yes
20482 if test "$wine_use_preloader" = "yes"
20484 test "$wine_binary" = wine || as_fn_append CONFIGURE_TARGETS
" loader/wine-preloader"
20485 WINELOADER_PROGRAMS
="$WINELOADER_PROGRAMS $wine_binary-preloader"
20487 printf "%s\n" "#define HAVE_WINE_PRELOADER 1" >>confdefs.h
20492 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
20493 printf %s
"checking for library containing dlopen... " >&6; }
20494 if test ${ac_cv_search_dlopen+y}
20496 printf %s
"(cached) " >&6
20498 ac_func_search_save_LIBS
=$LIBS
20499 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20500 /* end confdefs.h. */
20502 /* Override any GCC internal prototype to avoid an error.
20503 Use char because int might match the return type of a GCC
20504 builtin and then its argument prototype would still apply. */
20514 for ac_lib
in '' dl
20516 if test -z "$ac_lib"; then
20517 ac_res
="none required"
20520 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
20522 if ac_fn_c_try_link
"$LINENO"
20524 ac_cv_search_dlopen
=$ac_res
20526 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
20528 if test ${ac_cv_search_dlopen+y}
20533 if test ${ac_cv_search_dlopen+y}
20537 ac_cv_search_dlopen
=no
20539 rm conftest.
$ac_ext
20540 LIBS
=$ac_func_search_save_LIBS
20542 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
20543 printf "%s\n" "$ac_cv_search_dlopen" >&6; }
20544 ac_res
=$ac_cv_search_dlopen
20545 if test "$ac_res" != no
20547 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
20552 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
20553 printf %s
"checking for library containing gethostbyname... " >&6; }
20554 if test ${ac_cv_search_gethostbyname+y}
20556 printf %s
"(cached) " >&6
20558 ac_func_search_save_LIBS
=$LIBS
20559 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20560 /* end confdefs.h. */
20562 /* Override any GCC internal prototype to avoid an error.
20563 Use char because int might match the return type of a GCC
20564 builtin and then its argument prototype would still apply. */
20565 char gethostbyname ();
20569 return gethostbyname ();
20574 for ac_lib
in '' nsl
20576 if test -z "$ac_lib"; then
20577 ac_res
="none required"
20580 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
20582 if ac_fn_c_try_link
"$LINENO"
20584 ac_cv_search_gethostbyname
=$ac_res
20586 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
20588 if test ${ac_cv_search_gethostbyname+y}
20593 if test ${ac_cv_search_gethostbyname+y}
20597 ac_cv_search_gethostbyname
=no
20599 rm conftest.
$ac_ext
20600 LIBS
=$ac_func_search_save_LIBS
20602 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
20603 printf "%s\n" "$ac_cv_search_gethostbyname" >&6; }
20604 ac_res
=$ac_cv_search_gethostbyname
20605 if test "$ac_res" != no
20607 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
20612 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
20613 printf %s
"checking for library containing connect... " >&6; }
20614 if test ${ac_cv_search_connect+y}
20616 printf %s
"(cached) " >&6
20618 ac_func_search_save_LIBS
=$LIBS
20619 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20620 /* end confdefs.h. */
20622 /* Override any GCC internal prototype to avoid an error.
20623 Use char because int might match the return type of a GCC
20624 builtin and then its argument prototype would still apply. */
20634 for ac_lib
in '' socket
20636 if test -z "$ac_lib"; then
20637 ac_res
="none required"
20640 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
20642 if ac_fn_c_try_link
"$LINENO"
20644 ac_cv_search_connect
=$ac_res
20646 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
20648 if test ${ac_cv_search_connect+y}
20653 if test ${ac_cv_search_connect+y}
20657 ac_cv_search_connect
=no
20659 rm conftest.
$ac_ext
20660 LIBS
=$ac_func_search_save_LIBS
20662 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
20663 printf "%s\n" "$ac_cv_search_connect" >&6; }
20664 ac_res
=$ac_cv_search_connect
20665 if test "$ac_res" != no
20667 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
20672 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
20673 printf %s
"checking for library containing inet_aton... " >&6; }
20674 if test ${ac_cv_search_inet_aton+y}
20676 printf %s
"(cached) " >&6
20678 ac_func_search_save_LIBS
=$LIBS
20679 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20680 /* end confdefs.h. */
20682 /* Override any GCC internal prototype to avoid an error.
20683 Use char because int might match the return type of a GCC
20684 builtin and then its argument prototype would still apply. */
20689 return inet_aton ();
20694 for ac_lib
in '' resolv
20696 if test -z "$ac_lib"; then
20697 ac_res
="none required"
20700 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
20702 if ac_fn_c_try_link
"$LINENO"
20704 ac_cv_search_inet_aton
=$ac_res
20706 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
20708 if test ${ac_cv_search_inet_aton+y}
20713 if test ${ac_cv_search_inet_aton+y}
20717 ac_cv_search_inet_aton
=no
20719 rm conftest.
$ac_ext
20720 LIBS
=$ac_func_search_save_LIBS
20722 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
20723 printf "%s\n" "$ac_cv_search_inet_aton" >&6; }
20724 ac_res
=$ac_cv_search_inet_aton
20725 if test "$ac_res" != no
20727 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
20732 ac_save_CFLAGS
="$CFLAGS"
20733 CFLAGS
="$CFLAGS $BUILTINFLAG"
20734 ac_fn_c_check_func
"$LINENO" "dladdr1" "ac_cv_func_dladdr1"
20735 if test "x$ac_cv_func_dladdr1" = xyes
20737 printf "%s\n" "#define HAVE_DLADDR1 1" >>confdefs.h
20740 ac_fn_c_check_func
"$LINENO" "dlinfo" "ac_cv_func_dlinfo"
20741 if test "x$ac_cv_func_dlinfo" = xyes
20743 printf "%s\n" "#define HAVE_DLINFO 1" >>confdefs.h
20746 ac_fn_c_check_func
"$LINENO" "epoll_create" "ac_cv_func_epoll_create"
20747 if test "x$ac_cv_func_epoll_create" = xyes
20749 printf "%s\n" "#define HAVE_EPOLL_CREATE 1" >>confdefs.h
20752 ac_fn_c_check_func
"$LINENO" "fstatfs" "ac_cv_func_fstatfs"
20753 if test "x$ac_cv_func_fstatfs" = xyes
20755 printf "%s\n" "#define HAVE_FSTATFS 1" >>confdefs.h
20758 ac_fn_c_check_func
"$LINENO" "futimens" "ac_cv_func_futimens"
20759 if test "x$ac_cv_func_futimens" = xyes
20761 printf "%s\n" "#define HAVE_FUTIMENS 1" >>confdefs.h
20764 ac_fn_c_check_func
"$LINENO" "futimes" "ac_cv_func_futimes"
20765 if test "x$ac_cv_func_futimes" = xyes
20767 printf "%s\n" "#define HAVE_FUTIMES 1" >>confdefs.h
20770 ac_fn_c_check_func
"$LINENO" "futimesat" "ac_cv_func_futimesat"
20771 if test "x$ac_cv_func_futimesat" = xyes
20773 printf "%s\n" "#define HAVE_FUTIMESAT 1" >>confdefs.h
20776 ac_fn_c_check_func
"$LINENO" "getaddrinfo" "ac_cv_func_getaddrinfo"
20777 if test "x$ac_cv_func_getaddrinfo" = xyes
20779 printf "%s\n" "#define HAVE_GETADDRINFO 1" >>confdefs.h
20782 ac_fn_c_check_func
"$LINENO" "getattrlist" "ac_cv_func_getattrlist"
20783 if test "x$ac_cv_func_getattrlist" = xyes
20785 printf "%s\n" "#define HAVE_GETATTRLIST 1" >>confdefs.h
20788 ac_fn_c_check_func
"$LINENO" "getauxval" "ac_cv_func_getauxval"
20789 if test "x$ac_cv_func_getauxval" = xyes
20791 printf "%s\n" "#define HAVE_GETAUXVAL 1" >>confdefs.h
20794 ac_fn_c_check_func
"$LINENO" "getifaddrs" "ac_cv_func_getifaddrs"
20795 if test "x$ac_cv_func_getifaddrs" = xyes
20797 printf "%s\n" "#define HAVE_GETIFADDRS 1" >>confdefs.h
20800 ac_fn_c_check_func
"$LINENO" "getrandom" "ac_cv_func_getrandom"
20801 if test "x$ac_cv_func_getrandom" = xyes
20803 printf "%s\n" "#define HAVE_GETRANDOM 1" >>confdefs.h
20806 ac_fn_c_check_func
"$LINENO" "kqueue" "ac_cv_func_kqueue"
20807 if test "x$ac_cv_func_kqueue" = xyes
20809 printf "%s\n" "#define HAVE_KQUEUE 1" >>confdefs.h
20812 ac_fn_c_check_func
"$LINENO" "mach_continuous_time" "ac_cv_func_mach_continuous_time"
20813 if test "x$ac_cv_func_mach_continuous_time" = xyes
20815 printf "%s\n" "#define HAVE_MACH_CONTINUOUS_TIME 1" >>confdefs.h
20818 ac_fn_c_check_func
"$LINENO" "pipe2" "ac_cv_func_pipe2"
20819 if test "x$ac_cv_func_pipe2" = xyes
20821 printf "%s\n" "#define HAVE_PIPE2 1" >>confdefs.h
20824 ac_fn_c_check_func
"$LINENO" "port_create" "ac_cv_func_port_create"
20825 if test "x$ac_cv_func_port_create" = xyes
20827 printf "%s\n" "#define HAVE_PORT_CREATE 1" >>confdefs.h
20830 ac_fn_c_check_func
"$LINENO" "posix_fadvise" "ac_cv_func_posix_fadvise"
20831 if test "x$ac_cv_func_posix_fadvise" = xyes
20833 printf "%s\n" "#define HAVE_POSIX_FADVISE 1" >>confdefs.h
20836 ac_fn_c_check_func
"$LINENO" "posix_fallocate" "ac_cv_func_posix_fallocate"
20837 if test "x$ac_cv_func_posix_fallocate" = xyes
20839 printf "%s\n" "#define HAVE_POSIX_FALLOCATE 1" >>confdefs.h
20842 ac_fn_c_check_func
"$LINENO" "prctl" "ac_cv_func_prctl"
20843 if test "x$ac_cv_func_prctl" = xyes
20845 printf "%s\n" "#define HAVE_PRCTL 1" >>confdefs.h
20848 ac_fn_c_check_func
"$LINENO" "proc_pidinfo" "ac_cv_func_proc_pidinfo"
20849 if test "x$ac_cv_func_proc_pidinfo" = xyes
20851 printf "%s\n" "#define HAVE_PROC_PIDINFO 1" >>confdefs.h
20854 ac_fn_c_check_func
"$LINENO" "sched_yield" "ac_cv_func_sched_yield"
20855 if test "x$ac_cv_func_sched_yield" = xyes
20857 printf "%s\n" "#define HAVE_SCHED_YIELD 1" >>confdefs.h
20860 ac_fn_c_check_func
"$LINENO" "setproctitle" "ac_cv_func_setproctitle"
20861 if test "x$ac_cv_func_setproctitle" = xyes
20863 printf "%s\n" "#define HAVE_SETPROCTITLE 1" >>confdefs.h
20866 ac_fn_c_check_func
"$LINENO" "setprogname" "ac_cv_func_setprogname"
20867 if test "x$ac_cv_func_setprogname" = xyes
20869 printf "%s\n" "#define HAVE_SETPROGNAME 1" >>confdefs.h
20872 ac_fn_c_check_func
"$LINENO" "sigprocmask" "ac_cv_func_sigprocmask"
20873 if test "x$ac_cv_func_sigprocmask" = xyes
20875 printf "%s\n" "#define HAVE_SIGPROCMASK 1" >>confdefs.h
20878 ac_fn_c_check_func
"$LINENO" "sysinfo" "ac_cv_func_sysinfo"
20879 if test "x$ac_cv_func_sysinfo" = xyes
20881 printf "%s\n" "#define HAVE_SYSINFO 1" >>confdefs.h
20884 ac_fn_c_check_func
"$LINENO" "tcdrain" "ac_cv_func_tcdrain"
20885 if test "x$ac_cv_func_tcdrain" = xyes
20887 printf "%s\n" "#define HAVE_TCDRAIN 1" >>confdefs.h
20890 ac_fn_c_check_func
"$LINENO" "thr_kill2" "ac_cv_func_thr_kill2"
20891 if test "x$ac_cv_func_thr_kill2" = xyes
20893 printf "%s\n" "#define HAVE_THR_KILL2 1" >>confdefs.h
20897 CFLAGS
="$ac_save_CFLAGS"
20900 darwin
*|macosx
*) ;;
20901 *) ac_save_LIBS
=$LIBS
20902 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
20903 printf %s
"checking for library containing clock_gettime... " >&6; }
20904 if test ${ac_cv_search_clock_gettime+y}
20906 printf %s
"(cached) " >&6
20908 ac_func_search_save_LIBS
=$LIBS
20909 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20910 /* end confdefs.h. */
20912 /* Override any GCC internal prototype to avoid an error.
20913 Use char because int might match the return type of a GCC
20914 builtin and then its argument prototype would still apply. */
20915 char clock_gettime ();
20919 return clock_gettime ();
20924 for ac_lib
in '' rt
20926 if test -z "$ac_lib"; then
20927 ac_res
="none required"
20930 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
20932 if ac_fn_c_try_link
"$LINENO"
20934 ac_cv_search_clock_gettime
=$ac_res
20936 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
20938 if test ${ac_cv_search_clock_gettime+y}
20943 if test ${ac_cv_search_clock_gettime+y}
20947 ac_cv_search_clock_gettime
=no
20949 rm conftest.
$ac_ext
20950 LIBS
=$ac_func_search_save_LIBS
20952 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
20953 printf "%s\n" "$ac_cv_search_clock_gettime" >&6; }
20954 ac_res
=$ac_cv_search_clock_gettime
20955 if test "$ac_res" != no
20957 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
20959 printf "%s\n" "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
20961 test "$ac_res" = "none required" || RT_LIBS
="$ac_res"
20969 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
20970 printf %s
"checking for sched_setaffinity... " >&6; }
20971 if test ${wine_cv_have_sched_setaffinity+y}
20973 printf %s
"(cached) " >&6
20975 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20976 /* end confdefs.h. */
20981 sched_setaffinity(0, 0, 0);
20986 if ac_fn_c_try_link
"$LINENO"
20988 wine_cv_have_sched_setaffinity
=yes
20990 wine_cv_have_sched_setaffinity
=no
20992 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
20993 conftest
$ac_exeext conftest.
$ac_ext
20995 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
20996 printf "%s\n" "$wine_cv_have_sched_setaffinity" >&6; }
20997 if test "$wine_cv_have_sched_setaffinity" = "yes"
21000 printf "%s\n" "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
21005 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
21006 printf %s
"checking for inline... " >&6; }
21007 if test ${ac_cv_c_inline+y}
21009 printf %s
"(cached) " >&6
21012 for ac_kw
in inline __inline__ __inline
; do
21013 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21014 /* end confdefs.h. */
21015 #ifndef __cplusplus
21017 static $ac_kw foo_t static_foo (void) {return 0; }
21018 $ac_kw foo_t foo (void) {return 0; }
21022 if ac_fn_c_try_compile
"$LINENO"
21024 ac_cv_c_inline
=$ac_kw
21026 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
21027 test "$ac_cv_c_inline" != no
&& break
21031 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
21032 printf "%s\n" "$ac_cv_c_inline" >&6; }
21034 case $ac_cv_c_inline in
21037 case $ac_cv_c_inline in
21039 *) ac_val
=$ac_cv_c_inline;;
21041 cat >>confdefs.h
<<_ACEOF
21042 #ifndef __cplusplus
21043 #define inline $ac_val
21049 ac_fn_c_check_type
"$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
21051 if test "x$ac_cv_type_request_sense" = xyes
21054 printf "%s\n" "#define HAVE_REQUEST_SENSE 1" >>confdefs.h
21060 ac_fn_c_check_type
"$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
21061 #include <sys/socket.h>
21062 #ifdef HAVE_SYS_SOCKETVAR_H
21063 #include <sys/socketvar.h>
21065 #ifdef HAVE_NET_ROUTE_H
21066 #include <net/route.h>
21068 #ifdef HAVE_NETINET_IN_H
21069 #include <netinet/in.h>
21071 #ifdef HAVE_NETINET_IN_SYSTM_H
21072 #include <netinet/in_systm.h>
21074 #ifdef HAVE_NETINET_IP_H
21075 #include <netinet/ip.h>
21077 #ifdef HAVE_NETINET_IN_PCB_H
21078 #include <netinet/in_pcb.h>
21081 if test "x$ac_cv_type_struct_xinpgen" = xyes
21084 printf "%s\n" "#define HAVE_STRUCT_XINPGEN 1" >>confdefs.h
21090 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
21091 printf %s
"checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
21092 if test ${wine_cv_linux_gethostbyname_r_6+y}
21094 printf %s
"(cached) " >&6
21096 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21097 /* end confdefs.h. */
21105 struct hostent *result;
21112 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
21113 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
21119 if ac_fn_c_try_link
"$LINENO"
21121 wine_cv_linux_gethostbyname_r_6
=yes
21123 wine_cv_linux_gethostbyname_r_6
=no
21126 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
21127 conftest
$ac_exeext conftest.
$ac_ext
21130 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
21131 printf "%s\n" "$wine_cv_linux_gethostbyname_r_6" >&6; }
21132 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
21135 printf "%s\n" "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
21139 ac_fn_c_check_member
"$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
21140 #include <sys/socket.h>
21141 #ifdef HAVE_SYS_UN_H
21142 # include <sys/un.h>
21145 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes
21148 printf "%s\n" "#define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1" >>confdefs.h
21154 ac_fn_c_check_member
"$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
21155 #ifdef HAVE_SCSI_SG_H
21156 #include <scsi/sg.h>
21159 if test "x$ac_cv_member_scsireq_t_cmd" = xyes
21162 printf "%s\n" "#define HAVE_SCSIREQ_T_CMD 1" >>confdefs.h
21166 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>
21167 #ifdef HAVE_SCSI_SG_H
21168 #include <scsi/sg.h>
21171 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes
21174 printf "%s\n" "#define HAVE_SG_IO_HDR_T_INTERFACE_ID 1" >>confdefs.h
21180 ac_fn_c_check_member
"$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
21182 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes
21185 printf "%s\n" "#define HAVE_SIGINFO_T_SI_FD 1" >>confdefs.h
21191 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
21192 #ifdef HAVE_SYS_MTIO_H
21193 #include <sys/mtio.h>
21196 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes
21199 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_BLKSIZ 1" >>confdefs.h
21203 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
21204 #ifdef HAVE_SYS_MTIO_H
21205 #include <sys/mtio.h>
21208 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes
21211 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_GSTAT 1" >>confdefs.h
21215 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
21216 #ifdef HAVE_SYS_MTIO_H
21217 #include <sys/mtio.h>
21220 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes
21223 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_BLKNO 1" >>confdefs.h
21229 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
21230 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes
21233 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_MTIM 1" >>confdefs.h
21237 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
21238 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes
21241 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_MTIMESPEC 1" >>confdefs.h
21245 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
21246 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes
21249 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_CTIM 1" >>confdefs.h
21253 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
21254 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes
21257 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_CTIMESPEC 1" >>confdefs.h
21261 ac_fn_c_check_member
"$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
21262 if test "x$ac_cv_member_struct_stat_st_atim" = xyes
21265 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_ATIM 1" >>confdefs.h
21269 ac_fn_c_check_member
"$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
21270 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes
21273 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_ATIMESPEC 1" >>confdefs.h
21277 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
21278 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes
21281 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIME 1" >>confdefs.h
21285 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
21286 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes
21289 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIM 1" >>confdefs.h
21293 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
21294 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes
21297 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1" >>confdefs.h
21301 ac_fn_c_check_member
"$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
21302 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes
21305 printf "%s\n" "#define HAVE_STRUCT_STAT___ST_BIRTHTIME 1" >>confdefs.h
21309 ac_fn_c_check_member
"$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
21310 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes
21313 printf "%s\n" "#define HAVE_STRUCT_STAT___ST_BIRTHTIM 1" >>confdefs.h
21319 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>
21320 #ifdef HAVE_NETINET_IN_H
21321 #include <netinet/in.h>
21324 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes
21327 printf "%s\n" "#define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1" >>confdefs.h
21333 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
21334 #include <resolv.h>
21337 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes
21340 printf "%s\n" "#define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1" >>confdefs.h
21346 ac_fn_c_check_member
"$LINENO" "struct in6_pktinfo" "ipi6_addr" "ac_cv_member_struct_in6_pktinfo_ipi6_addr" "#ifdef HAVE_NETINET_IN_H
21347 #include <netinet/in.h>
21350 if test "x$ac_cv_member_struct_in6_pktinfo_ipi6_addr" = xyes
21353 printf "%s\n" "#define HAVE_STRUCT_IN6_PKTINFO_IPI6_ADDR 1" >>confdefs.h
21359 ac_fn_c_check_member
"$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#include <sys/types.h>
21360 #ifdef HAVE_SYS_SOCKETVAR_H
21361 #include <sys/socketvar.h>
21363 #ifdef HAVE_NETINET_IN_H
21364 #include <netinet/in.h>
21366 #ifdef HAVE_NETINET_IP_VAR_H
21367 #include <netinet/ip_var.h>
21370 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes
21373 printf "%s\n" "#define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1" >>confdefs.h
21379 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
21380 #include <netinet/ip_var.h>
21383 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes
21386 printf "%s\n" "#define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1" >>confdefs.h
21392 ac_fn_c_check_member
"$LINENO" "struct ip6stat" "ip6s_total" "ac_cv_member_struct_ip6stat_ip6s_total" "#include <sys/types.h>
21393 #ifdef HAVE_SYS_SOCKETVAR_H
21394 #include <sys/socketvar.h>
21396 #ifdef HAVE_NETINET_IN_H
21397 #include <netinet/in.h>
21399 #ifdef HAVE_NETINET6_IP6_VAR_H
21400 #include <netinet6/ip6_var.h>
21403 if test "x$ac_cv_member_struct_ip6stat_ip6s_total" = xyes
21406 printf "%s\n" "#define HAVE_STRUCT_IP6STAT_IP6S_TOTAL 1" >>confdefs.h
21412 ac_fn_c_check_member
"$LINENO" "struct icmpstat" "icps_error" "ac_cv_member_struct_icmpstat_icps_error" "#include <sys/types.h>
21413 #ifdef HAVE_SYS_SOCKETVAR_H
21414 #include <sys/socketvar.h>
21416 #ifdef HAVE_NETINET_IN_H
21417 #include <netinet/in.h>
21419 #ifdef HAVE_NETINET_IP_H
21420 #include <netinet/ip.h>
21422 #ifdef HAVE_NETINET_IP_ICMP_H
21423 #include <netinet/ip_icmp.h>
21425 #ifdef HAVE_NETINET_ICMP_VAR_H
21426 #include <netinet/icmp_var.h>
21429 if test "x$ac_cv_member_struct_icmpstat_icps_error" = xyes
21432 printf "%s\n" "#define HAVE_STRUCT_ICMPSTAT_ICPS_ERROR 1" >>confdefs.h
21438 ac_fn_c_check_member
"$LINENO" "struct icmp6stat" "icp6s_error" "ac_cv_member_struct_icmp6stat_icp6s_error" "#include <sys/types.h>
21439 #ifdef HAVE_SYS_SOCKETVAR_H
21440 #include <sys/socketvar.h>
21442 #ifdef HAVE_NETINET_IN_H
21443 #include <netinet/in.h>
21445 #ifdef HAVE_NETINET_ICMP6_H
21446 #include <netinet/icmp6.h>
21449 if test "x$ac_cv_member_struct_icmp6stat_icp6s_error" = xyes
21452 printf "%s\n" "#define HAVE_STRUCT_ICMP6STAT_ICP6S_ERROR 1" >>confdefs.h
21458 ac_fn_c_check_member
"$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#include <sys/types.h>
21459 #ifdef HAVE_SYS_SOCKETVAR_H
21460 #include <sys/socketvar.h>
21462 #ifdef HAVE_NETINET_IN_H
21463 #include <netinet/in.h>
21465 #ifdef HAVE_NETINET_TCP_H
21466 #include <netinet/tcp.h>
21468 #ifdef HAVE_NETINET_TCP_VAR_H
21469 #include <netinet/tcp_var.h>
21472 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes
21475 printf "%s\n" "#define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1" >>confdefs.h
21481 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
21482 #include <netinet/tcp_var.h>
21485 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes
21488 printf "%s\n" "#define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1" >>confdefs.h
21494 ac_fn_c_check_member
"$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#include <sys/types.h>
21495 #ifdef HAVE_NETINET_IN_H
21496 #include <netinet/in.h>
21498 #ifdef HAVE_NETINET_IP_VAR_H
21499 #include <netinet/ip_var.h>
21501 #ifdef HAVE_NETINET_UDP_H
21502 #include <netinet/udp.h>
21504 #ifdef HAVE_NETINET_UDP_VAR_H
21505 #include <netinet/udp_var.h>
21508 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes
21511 printf "%s\n" "#define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1" >>confdefs.h
21517 ac_fn_c_check_member
"$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#include <sys/types.h>
21518 #ifdef HAVE_NET_IF_H
21519 # include <net/if.h>
21522 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes
21525 printf "%s\n" "#define HAVE_STRUCT_IFREQ_IFR_HWADDR 1" >>confdefs.h
21531 ac_fn_c_check_member
"$LINENO" "struct sysinfo" "totalram" "ac_cv_member_struct_sysinfo_totalram" "#ifdef HAVE_SYS_SYSINFO_H
21532 # include <sys/sysinfo.h>
21535 if test "x$ac_cv_member_struct_sysinfo_totalram" = xyes
21538 printf "%s\n" "#define HAVE_STRUCT_SYSINFO_TOTALRAM 1" >>confdefs.h
21542 ac_fn_c_check_member
"$LINENO" "struct sysinfo" "mem_unit" "ac_cv_member_struct_sysinfo_mem_unit" "#ifdef HAVE_SYS_SYSINFO_H
21543 # include <sys/sysinfo.h>
21546 if test "x$ac_cv_member_struct_sysinfo_mem_unit" = xyes
21549 printf "%s\n" "#define HAVE_STRUCT_SYSINFO_MEM_UNIT 1" >>confdefs.h
21555 LIBS
="$ac_save_LIBS"
21557 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
21558 printf %s
"checking for __builtin_popcount... " >&6; }
21559 if test ${ac_cv_have___builtin_popcount+y}
21561 printf %s
"(cached) " >&6
21563 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21564 /* end confdefs.h. */
21569 return __builtin_popcount(1)
21574 if ac_fn_c_try_link
"$LINENO"
21576 ac_cv_have___builtin_popcount
="yes"
21578 ac_cv_have___builtin_popcount
="no"
21580 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
21581 conftest
$ac_exeext conftest.
$ac_ext
21583 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
21584 printf "%s\n" "$ac_cv_have___builtin_popcount" >&6; }
21585 if test "$ac_cv_have___builtin_popcount" = "yes"
21588 printf "%s\n" "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
21592 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __clear_cache" >&5
21593 printf %s
"checking for __clear_cache... " >&6; }
21594 if test ${ac_cv_have___clear_cache+y}
21596 printf %s
"(cached) " >&6
21598 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21599 /* end confdefs.h. */
21604 __clear_cache((void*)0, (void*)0); return 0;
21609 if ac_fn_c_try_link
"$LINENO"
21611 ac_cv_have___clear_cache
="yes"
21613 ac_cv_have___clear_cache
="no"
21615 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
21616 conftest
$ac_exeext conftest.
$ac_ext
21618 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___clear_cache" >&5
21619 printf "%s\n" "$ac_cv_have___clear_cache" >&6; }
21620 if test "$ac_cv_have___clear_cache" = "yes"
21623 printf "%s\n" "#define HAVE___CLEAR_CACHE 1" >>confdefs.h
21629 *i
[3456789]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
21630 printf %s
"checking whether we need to define __i386__... " >&6; }
21631 if test ${ac_cv_cpp_def___i386__+y}
21633 printf %s
"(cached) " >&6
21635 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21636 /* end confdefs.h. */
21641 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21642 $EGREP "yes" >/dev
/null
2>&1
21644 ac_cv_cpp_def___i386__
=yes
21646 ac_cv_cpp_def___i386__
=no
21651 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
21652 printf "%s\n" "$ac_cv_cpp_def___i386__" >&6; }
21653 if test "x$ac_cv_cpp_def___i386__" = xyes
21655 CFLAGS
="$CFLAGS -D__i386__"
21656 LINTFLAGS
="$LINTFLAGS -D__i386__"
21658 *x86_64
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
21659 printf %s
"checking whether we need to define __x86_64__... " >&6; }
21660 if test ${ac_cv_cpp_def___x86_64__+y}
21662 printf %s
"(cached) " >&6
21664 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21665 /* end confdefs.h. */
21670 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21671 $EGREP "yes" >/dev
/null
2>&1
21673 ac_cv_cpp_def___x86_64__
=yes
21675 ac_cv_cpp_def___x86_64__
=no
21680 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
21681 printf "%s\n" "$ac_cv_cpp_def___x86_64__" >&6; }
21682 if test "x$ac_cv_cpp_def___x86_64__" = xyes
21684 CFLAGS
="$CFLAGS -D__x86_64__"
21685 LINTFLAGS
="$LINTFLAGS -D__x86_64__"
21687 *sparc64
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
21688 printf %s
"checking whether we need to define __sparc64__... " >&6; }
21689 if test ${ac_cv_cpp_def___sparc64__+y}
21691 printf %s
"(cached) " >&6
21693 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21694 /* end confdefs.h. */
21695 #ifndef __sparc64__
21699 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21700 $EGREP "yes" >/dev
/null
2>&1
21702 ac_cv_cpp_def___sparc64__
=yes
21704 ac_cv_cpp_def___sparc64__
=no
21709 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
21710 printf "%s\n" "$ac_cv_cpp_def___sparc64__" >&6; }
21711 if test "x$ac_cv_cpp_def___sparc64__" = xyes
21713 CFLAGS
="$CFLAGS -D__sparc64__"
21714 LINTFLAGS
="$LINTFLAGS -D__sparc64__"
21716 *sparc
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
21717 printf %s
"checking whether we need to define __sparc__... " >&6; }
21718 if test ${ac_cv_cpp_def___sparc__+y}
21720 printf %s
"(cached) " >&6
21722 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21723 /* end confdefs.h. */
21728 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21729 $EGREP "yes" >/dev
/null
2>&1
21731 ac_cv_cpp_def___sparc__
=yes
21733 ac_cv_cpp_def___sparc__
=no
21738 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
21739 printf "%s\n" "$ac_cv_cpp_def___sparc__" >&6; }
21740 if test "x$ac_cv_cpp_def___sparc__" = xyes
21742 CFLAGS
="$CFLAGS -D__sparc__"
21743 LINTFLAGS
="$LINTFLAGS -D__sparc__"
21745 *powerpc64
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
21746 printf %s
"checking whether we need to define __powerpc64__... " >&6; }
21747 if test ${ac_cv_cpp_def___powerpc64__+y}
21749 printf %s
"(cached) " >&6
21751 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21752 /* end confdefs.h. */
21753 #ifndef __powerpc64__
21757 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21758 $EGREP "yes" >/dev
/null
2>&1
21760 ac_cv_cpp_def___powerpc64__
=yes
21762 ac_cv_cpp_def___powerpc64__
=no
21767 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
21768 printf "%s\n" "$ac_cv_cpp_def___powerpc64__" >&6; }
21769 if test "x$ac_cv_cpp_def___powerpc64__" = xyes
21771 CFLAGS
="$CFLAGS -D__powerpc64__"
21772 LINTFLAGS
="$LINTFLAGS -D__powerpc64__"
21774 *powerpc
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
21775 printf %s
"checking whether we need to define __powerpc__... " >&6; }
21776 if test ${ac_cv_cpp_def___powerpc__+y}
21778 printf %s
"(cached) " >&6
21780 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21781 /* end confdefs.h. */
21782 #ifndef __powerpc__
21786 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21787 $EGREP "yes" >/dev
/null
2>&1
21789 ac_cv_cpp_def___powerpc__
=yes
21791 ac_cv_cpp_def___powerpc__
=no
21796 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
21797 printf "%s\n" "$ac_cv_cpp_def___powerpc__" >&6; }
21798 if test "x$ac_cv_cpp_def___powerpc__" = xyes
21800 CFLAGS
="$CFLAGS -D__powerpc__"
21801 LINTFLAGS
="$LINTFLAGS -D__powerpc__"
21803 *aarch64
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
21804 printf %s
"checking whether we need to define __aarch64__... " >&6; }
21805 if test ${ac_cv_cpp_def___aarch64__+y}
21807 printf %s
"(cached) " >&6
21809 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21810 /* end confdefs.h. */
21811 #ifndef __aarch64__
21815 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21816 $EGREP "yes" >/dev
/null
2>&1
21818 ac_cv_cpp_def___aarch64__
=yes
21820 ac_cv_cpp_def___aarch64__
=no
21825 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
21826 printf "%s\n" "$ac_cv_cpp_def___aarch64__" >&6; }
21827 if test "x$ac_cv_cpp_def___aarch64__" = xyes
21829 CFLAGS
="$CFLAGS -D__aarch64__"
21830 LINTFLAGS
="$LINTFLAGS -D__aarch64__"
21832 *arm
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
21833 printf %s
"checking whether we need to define __arm__... " >&6; }
21834 if test ${ac_cv_cpp_def___arm__+y}
21836 printf %s
"(cached) " >&6
21838 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21839 /* end confdefs.h. */
21844 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21845 $EGREP "yes" >/dev
/null
2>&1
21847 ac_cv_cpp_def___arm__
=yes
21849 ac_cv_cpp_def___arm__
=no
21854 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
21855 printf "%s\n" "$ac_cv_cpp_def___arm__" >&6; }
21856 if test "x$ac_cv_cpp_def___arm__" = xyes
21858 CFLAGS
="$CFLAGS -D__arm__"
21859 LINTFLAGS
="$LINTFLAGS -D__arm__"
21863 case $host_vendor in
21864 *sun
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
21865 printf %s
"checking whether we need to define __sun__... " >&6; }
21866 if test ${ac_cv_cpp_def___sun__+y}
21868 printf %s
"(cached) " >&6
21870 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21871 /* end confdefs.h. */
21876 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21877 $EGREP "yes" >/dev
/null
2>&1
21879 ac_cv_cpp_def___sun__
=yes
21881 ac_cv_cpp_def___sun__
=no
21886 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
21887 printf "%s\n" "$ac_cv_cpp_def___sun__" >&6; }
21888 if test "x$ac_cv_cpp_def___sun__" = xyes
21890 CFLAGS
="$CFLAGS -D__sun__"
21891 LINTFLAGS
="$LINTFLAGS -D__sun__"
21896 enable_win16
=${enable_win16:-i386}
21897 enable_vcruntime140_1
=${enable_vcruntime140_1:-x86_64,arm64ec}
21899 if test -n "$PE_ARCHS"
21901 enable_wow64
=${enable_wow64:-aarch64,x86_64}
21902 enable_wow64win
=${enable_wow64win:-aarch64,x86_64}
21903 enable_wow64cpu
=${enable_wow64cpu:-x86_64}
21904 enable_xtajit64
=${enable_xtajit64:-arm64ec}
21906 enable_wow64
=${enable_wow64:-no}
21907 enable_wow64win
=${enable_wow64win:-no}
21908 enable_wow64cpu
=${enable_wow64cpu:-no}
21909 enable_xtajit64
=${enable_xtajit64:-no}
21912 enable_cmd
=${enable_cmd:-yes}
21913 enable_dllhost
=${enable_dllhost:-yes}
21914 enable_dpnsvr
=${enable_dpnsvr:-i386,x86_64,arm64ec}
21915 enable_dxdiag
=${enable_dxdiag:-yes}
21916 enable_msiexec
=${enable_msiexec:-yes}
21917 enable_netsh
=${enable_netsh:-yes}
21918 enable_regsvr32
=${enable_regsvr32:-yes}
21919 enable_rundll32
=${enable_rundll32:-yes}
21921 enable_winetest
=${enable_winetest:-$enable_tests}
21927 ac_config_commands
="$ac_config_commands include/stamp-h"
21929 printf %s
"creating Makefile rules..." >&6
21931 makedep_flags
=" -C"
21932 test "x$enable_silent_rules" = xyes
&& makedep_flags
="$makedep_flags -S"
21935 test "$srcdir" = . || wine_srcdir
="$srcdir/"
21937 ac_config_links
="$ac_config_links wine:tools/winewrapper"
21938 wine_fn_config_symlink wine
21939 if test "$wine_binary" = wine64
-o -n "$with_wine64"; then
21940 ac_config_links
="$ac_config_links wine64:tools/winewrapper"
21941 wine_fn_config_symlink wine64
21944 wine_fn_config_makefile dlls
/acledit enable_acledit
21945 wine_fn_config_makefile dlls
/aclui enable_aclui
21946 wine_fn_config_makefile dlls
/activeds.tlb enable_activeds_tlb
21947 wine_fn_config_makefile dlls
/activeds enable_activeds
21948 wine_fn_config_makefile dlls
/activeds
/tests enable_tests
21949 wine_fn_config_makefile dlls
/actxprxy enable_actxprxy
21950 wine_fn_config_makefile dlls
/adsldp enable_adsldp
21951 wine_fn_config_makefile dlls
/adsldp
/tests enable_tests
21952 wine_fn_config_makefile dlls
/adsldpc enable_adsldpc
21953 wine_fn_config_makefile dlls
/advapi32 enable_advapi32
21954 wine_fn_config_makefile dlls
/advapi32
/tests enable_tests
21955 wine_fn_config_makefile dlls
/advpack enable_advpack
21956 wine_fn_config_makefile dlls
/advpack
/tests enable_tests
21957 wine_fn_config_makefile dlls
/amsi enable_amsi
21958 wine_fn_config_makefile dlls
/amstream enable_amstream
21959 wine_fn_config_makefile dlls
/amstream
/tests enable_tests
21960 wine_fn_config_makefile dlls
/apisetschema enable_apisetschema
21961 wine_fn_config_makefile dlls
/apphelp enable_apphelp
21962 wine_fn_config_makefile dlls
/apphelp
/tests enable_tests
21963 wine_fn_config_makefile dlls
/appwiz.cpl enable_appwiz_cpl
21964 wine_fn_config_makefile dlls
/appxdeploymentclient enable_appxdeploymentclient
21965 wine_fn_config_makefile dlls
/atl enable_atl
21966 wine_fn_config_makefile dlls
/atl
/tests enable_tests
21967 wine_fn_config_makefile dlls
/atl100 enable_atl100
21968 wine_fn_config_makefile dlls
/atl100
/tests enable_tests
21969 wine_fn_config_makefile dlls
/atl110 enable_atl110
21970 wine_fn_config_makefile dlls
/atl110
/tests enable_tests
21971 wine_fn_config_makefile dlls
/atl80 enable_atl80
21972 wine_fn_config_makefile dlls
/atl80
/tests enable_tests
21973 wine_fn_config_makefile dlls
/atl90 enable_atl90
21974 wine_fn_config_makefile dlls
/atlthunk enable_atlthunk
21975 wine_fn_config_makefile dlls
/atlthunk
/tests enable_tests
21976 wine_fn_config_makefile dlls
/atmlib enable_atmlib
21977 wine_fn_config_makefile dlls
/authz enable_authz
21978 wine_fn_config_makefile dlls
/avicap32 enable_avicap32
21979 wine_fn_config_makefile dlls
/avifil32 enable_avifil32
21980 wine_fn_config_makefile dlls
/avifil32
/tests enable_tests
21981 wine_fn_config_makefile dlls
/avifile.dll16 enable_win16
21982 wine_fn_config_makefile dlls
/avrt enable_avrt
21983 wine_fn_config_makefile dlls
/bcp47langs enable_bcp47langs
21984 wine_fn_config_makefile dlls
/bcrypt enable_bcrypt
21985 wine_fn_config_makefile dlls
/bcrypt
/tests enable_tests
21986 wine_fn_config_makefile dlls
/bcryptprimitives enable_bcryptprimitives
21987 wine_fn_config_makefile dlls
/bluetoothapis enable_bluetoothapis
21988 wine_fn_config_makefile dlls
/browseui enable_browseui
21989 wine_fn_config_makefile dlls
/browseui
/tests enable_tests
21990 wine_fn_config_makefile dlls
/bthprops.cpl enable_bthprops_cpl
21991 wine_fn_config_makefile dlls
/cabinet enable_cabinet
21992 wine_fn_config_makefile dlls
/cabinet
/tests enable_tests
21993 wine_fn_config_makefile dlls
/capi2032 enable_capi2032
21994 wine_fn_config_makefile dlls
/cards enable_cards
21995 wine_fn_config_makefile dlls
/cdosys enable_cdosys
21996 wine_fn_config_makefile dlls
/cfgmgr32 enable_cfgmgr32
21997 wine_fn_config_makefile dlls
/cfgmgr32
/tests enable_tests
21998 wine_fn_config_makefile dlls
/clusapi enable_clusapi
21999 wine_fn_config_makefile dlls
/cng.sys enable_cng_sys
22000 wine_fn_config_makefile dlls
/combase enable_combase
22001 wine_fn_config_makefile dlls
/combase
/tests enable_tests
22002 wine_fn_config_makefile dlls
/comcat enable_comcat
22003 wine_fn_config_makefile dlls
/comcat
/tests enable_tests
22004 wine_fn_config_makefile dlls
/comctl32 enable_comctl32
22005 wine_fn_config_makefile dlls
/comctl32
/tests enable_tests
22006 wine_fn_config_makefile dlls
/comdlg32 enable_comdlg32
22007 wine_fn_config_makefile dlls
/comdlg32
/tests enable_tests
22008 wine_fn_config_makefile dlls
/coml2 enable_coml2
22009 wine_fn_config_makefile dlls
/comm.drv16 enable_win16
22010 wine_fn_config_makefile dlls
/commdlg.dll16 enable_win16
22011 wine_fn_config_makefile dlls
/compobj.dll16 enable_win16
22012 wine_fn_config_makefile dlls
/compstui enable_compstui
22013 wine_fn_config_makefile dlls
/compstui
/tests enable_tests
22014 wine_fn_config_makefile dlls
/comsvcs enable_comsvcs
22015 wine_fn_config_makefile dlls
/comsvcs
/tests enable_tests
22016 wine_fn_config_makefile dlls
/concrt140 enable_concrt140
22017 wine_fn_config_makefile dlls
/concrt140
/tests enable_tests
22018 wine_fn_config_makefile dlls
/connect enable_connect
22019 wine_fn_config_makefile dlls
/coremessaging enable_coremessaging
22020 wine_fn_config_makefile dlls
/credui enable_credui
22021 wine_fn_config_makefile dlls
/credui
/tests enable_tests
22022 wine_fn_config_makefile dlls
/crtdll enable_crtdll
22023 wine_fn_config_makefile dlls
/crypt32 enable_crypt32
22024 wine_fn_config_makefile dlls
/crypt32
/tests enable_tests
22025 wine_fn_config_makefile dlls
/cryptdlg enable_cryptdlg
22026 wine_fn_config_makefile dlls
/cryptdll enable_cryptdll
22027 wine_fn_config_makefile dlls
/cryptext enable_cryptext
22028 wine_fn_config_makefile dlls
/cryptnet enable_cryptnet
22029 wine_fn_config_makefile dlls
/cryptnet
/tests enable_tests
22030 wine_fn_config_makefile dlls
/cryptowinrt enable_cryptowinrt
22031 wine_fn_config_makefile dlls
/cryptowinrt
/tests enable_tests
22032 wine_fn_config_makefile dlls
/cryptsp enable_cryptsp
22033 wine_fn_config_makefile dlls
/cryptui enable_cryptui
22034 wine_fn_config_makefile dlls
/cryptui
/tests enable_tests
22035 wine_fn_config_makefile dlls
/ctapi32 enable_ctapi32
22036 wine_fn_config_makefile dlls
/ctl3d.dll16 enable_win16
22037 wine_fn_config_makefile dlls
/ctl3d32 enable_ctl3d32
22038 wine_fn_config_makefile dlls
/ctl3dv2.dll16 enable_win16
22039 wine_fn_config_makefile dlls
/d2d1 enable_d2d1
22040 wine_fn_config_makefile dlls
/d2d
1/tests enable_tests
22041 wine_fn_config_makefile dlls
/d3d10 enable_d3d10
22042 wine_fn_config_makefile dlls
/d3d10
/tests enable_tests
22043 wine_fn_config_makefile dlls
/d3d10_1 enable_d3d10_1
22044 wine_fn_config_makefile dlls
/d3d10_
1/tests enable_tests
22045 wine_fn_config_makefile dlls
/d3d10core enable_d3d10core
22046 wine_fn_config_makefile dlls
/d3d10core
/tests enable_tests
22047 wine_fn_config_makefile dlls
/d3d11 enable_d3d11
22048 wine_fn_config_makefile dlls
/d3d11
/tests enable_tests
22049 wine_fn_config_makefile dlls
/d3d12 enable_d3d12
22050 wine_fn_config_makefile dlls
/d3d12
/tests enable_tests
22051 wine_fn_config_makefile dlls
/d3d12core enable_d3d12core
22052 wine_fn_config_makefile dlls
/d3d8 enable_d3d8
22053 wine_fn_config_makefile dlls
/d3d
8/tests enable_tests
22054 wine_fn_config_makefile dlls
/d3d8thk enable_d3d8thk
22055 wine_fn_config_makefile dlls
/d3d9 enable_d3d9
22056 wine_fn_config_makefile dlls
/d3d
9/tests enable_tests
22057 wine_fn_config_makefile dlls
/d3dcompiler_33 enable_d3dcompiler_33
22058 wine_fn_config_makefile dlls
/d3dcompiler_34 enable_d3dcompiler_34
22059 wine_fn_config_makefile dlls
/d3dcompiler_35 enable_d3dcompiler_35
22060 wine_fn_config_makefile dlls
/d3dcompiler_36 enable_d3dcompiler_36
22061 wine_fn_config_makefile dlls
/d3dcompiler_37 enable_d3dcompiler_37
22062 wine_fn_config_makefile dlls
/d3dcompiler_38 enable_d3dcompiler_38
22063 wine_fn_config_makefile dlls
/d3dcompiler_39 enable_d3dcompiler_39
22064 wine_fn_config_makefile dlls
/d3dcompiler_40 enable_d3dcompiler_40
22065 wine_fn_config_makefile dlls
/d3dcompiler_41 enable_d3dcompiler_41
22066 wine_fn_config_makefile dlls
/d3dcompiler_42 enable_d3dcompiler_42
22067 wine_fn_config_makefile dlls
/d3dcompiler_43 enable_d3dcompiler_43
22068 wine_fn_config_makefile dlls
/d3dcompiler_43
/tests enable_tests
22069 wine_fn_config_makefile dlls
/d3dcompiler_46 enable_d3dcompiler_46
22070 wine_fn_config_makefile dlls
/d3dcompiler_46
/tests enable_tests
22071 wine_fn_config_makefile dlls
/d3dcompiler_47 enable_d3dcompiler_47
22072 wine_fn_config_makefile dlls
/d3dcompiler_47
/tests enable_tests
22073 wine_fn_config_makefile dlls
/d3dim enable_d3dim
22074 wine_fn_config_makefile dlls
/d3dim700 enable_d3dim700
22075 wine_fn_config_makefile dlls
/d3drm enable_d3drm
22076 wine_fn_config_makefile dlls
/d3drm
/tests enable_tests
22077 wine_fn_config_makefile dlls
/d3dx10_33 enable_d3dx10_33
22078 wine_fn_config_makefile dlls
/d3dx10_34 enable_d3dx10_34
22079 wine_fn_config_makefile dlls
/d3dx10_34
/tests enable_tests
22080 wine_fn_config_makefile dlls
/d3dx10_35 enable_d3dx10_35
22081 wine_fn_config_makefile dlls
/d3dx10_35
/tests enable_tests
22082 wine_fn_config_makefile dlls
/d3dx10_36 enable_d3dx10_36
22083 wine_fn_config_makefile dlls
/d3dx10_36
/tests enable_tests
22084 wine_fn_config_makefile dlls
/d3dx10_37 enable_d3dx10_37
22085 wine_fn_config_makefile dlls
/d3dx10_37
/tests enable_tests
22086 wine_fn_config_makefile dlls
/d3dx10_38 enable_d3dx10_38
22087 wine_fn_config_makefile dlls
/d3dx10_38
/tests enable_tests
22088 wine_fn_config_makefile dlls
/d3dx10_39 enable_d3dx10_39
22089 wine_fn_config_makefile dlls
/d3dx10_39
/tests enable_tests
22090 wine_fn_config_makefile dlls
/d3dx10_40 enable_d3dx10_40
22091 wine_fn_config_makefile dlls
/d3dx10_40
/tests enable_tests
22092 wine_fn_config_makefile dlls
/d3dx10_41 enable_d3dx10_41
22093 wine_fn_config_makefile dlls
/d3dx10_41
/tests enable_tests
22094 wine_fn_config_makefile dlls
/d3dx10_42 enable_d3dx10_42
22095 wine_fn_config_makefile dlls
/d3dx10_42
/tests enable_tests
22096 wine_fn_config_makefile dlls
/d3dx10_43 enable_d3dx10_43
22097 wine_fn_config_makefile dlls
/d3dx10_43
/tests enable_tests
22098 wine_fn_config_makefile dlls
/d3dx11_42 enable_d3dx11_42
22099 wine_fn_config_makefile dlls
/d3dx11_42
/tests enable_tests
22100 wine_fn_config_makefile dlls
/d3dx11_43 enable_d3dx11_43
22101 wine_fn_config_makefile dlls
/d3dx11_43
/tests enable_tests
22102 wine_fn_config_makefile dlls
/d3dx9_24 enable_d3dx9_24
22103 wine_fn_config_makefile dlls
/d3dx9_25 enable_d3dx9_25
22104 wine_fn_config_makefile dlls
/d3dx9_26 enable_d3dx9_26
22105 wine_fn_config_makefile dlls
/d3dx9_27 enable_d3dx9_27
22106 wine_fn_config_makefile dlls
/d3dx9_28 enable_d3dx9_28
22107 wine_fn_config_makefile dlls
/d3dx9_29 enable_d3dx9_29
22108 wine_fn_config_makefile dlls
/d3dx9_30 enable_d3dx9_30
22109 wine_fn_config_makefile dlls
/d3dx9_31 enable_d3dx9_31
22110 wine_fn_config_makefile dlls
/d3dx9_32 enable_d3dx9_32
22111 wine_fn_config_makefile dlls
/d3dx9_33 enable_d3dx9_33
22112 wine_fn_config_makefile dlls
/d3dx9_34 enable_d3dx9_34
22113 wine_fn_config_makefile dlls
/d3dx9_35 enable_d3dx9_35
22114 wine_fn_config_makefile dlls
/d3dx9_36 enable_d3dx9_36
22115 wine_fn_config_makefile dlls
/d3dx9_36
/tests enable_tests
22116 wine_fn_config_makefile dlls
/d3dx9_37 enable_d3dx9_37
22117 wine_fn_config_makefile dlls
/d3dx9_38 enable_d3dx9_38
22118 wine_fn_config_makefile dlls
/d3dx9_39 enable_d3dx9_39
22119 wine_fn_config_makefile dlls
/d3dx9_40 enable_d3dx9_40
22120 wine_fn_config_makefile dlls
/d3dx9_41 enable_d3dx9_41
22121 wine_fn_config_makefile dlls
/d3dx9_42 enable_d3dx9_42
22122 wine_fn_config_makefile dlls
/d3dx9_43 enable_d3dx9_43
22123 wine_fn_config_makefile dlls
/d3dxof enable_d3dxof
22124 wine_fn_config_makefile dlls
/d3dxof
/tests enable_tests
22125 wine_fn_config_makefile dlls
/davclnt enable_davclnt
22126 wine_fn_config_makefile dlls
/dbgeng enable_dbgeng
22127 wine_fn_config_makefile dlls
/dbgeng
/tests enable_tests
22128 wine_fn_config_makefile dlls
/dbghelp enable_dbghelp
22129 wine_fn_config_makefile dlls
/dbghelp
/tests enable_tests
22130 wine_fn_config_makefile dlls
/dciman32 enable_dciman32
22131 wine_fn_config_makefile dlls
/dcomp enable_dcomp
22132 wine_fn_config_makefile dlls
/ddeml.dll16 enable_win16
22133 wine_fn_config_makefile dlls
/ddraw enable_ddraw
22134 wine_fn_config_makefile dlls
/ddraw
/tests enable_tests
22135 wine_fn_config_makefile dlls
/ddrawex enable_ddrawex
22136 wine_fn_config_makefile dlls
/ddrawex
/tests enable_tests
22137 wine_fn_config_makefile dlls
/devenum enable_devenum
22138 wine_fn_config_makefile dlls
/devenum
/tests enable_tests
22139 wine_fn_config_makefile dlls
/dhcpcsvc enable_dhcpcsvc
22140 wine_fn_config_makefile dlls
/dhcpcsvc
/tests enable_tests
22141 wine_fn_config_makefile dlls
/dhcpcsvc6 enable_dhcpcsvc6
22142 wine_fn_config_makefile dlls
/dhtmled.ocx enable_dhtmled_ocx
22143 wine_fn_config_makefile dlls
/diasymreader enable_diasymreader
22144 wine_fn_config_makefile dlls
/difxapi enable_difxapi
22145 wine_fn_config_makefile dlls
/dinput enable_dinput
22146 wine_fn_config_makefile dlls
/dinput
/tests enable_tests
22147 wine_fn_config_makefile dlls
/dinput8 enable_dinput8
22148 wine_fn_config_makefile dlls
/directmanipulation enable_directmanipulation
22149 wine_fn_config_makefile dlls
/directmanipulation
/tests enable_tests
22150 wine_fn_config_makefile dlls
/dispdib.dll16 enable_win16
22151 wine_fn_config_makefile dlls
/dispex enable_dispex
22152 wine_fn_config_makefile dlls
/dispex
/tests enable_tests
22153 wine_fn_config_makefile dlls
/display.drv16 enable_win16
22154 wine_fn_config_makefile dlls
/dmband enable_dmband
22155 wine_fn_config_makefile dlls
/dmband
/tests enable_tests
22156 wine_fn_config_makefile dlls
/dmcompos enable_dmcompos
22157 wine_fn_config_makefile dlls
/dmcompos
/tests enable_tests
22158 wine_fn_config_makefile dlls
/dmime enable_dmime
22159 wine_fn_config_makefile dlls
/dmime
/tests enable_tests
22160 wine_fn_config_makefile dlls
/dmloader enable_dmloader
22161 wine_fn_config_makefile dlls
/dmloader
/tests enable_tests
22162 wine_fn_config_makefile dlls
/dmscript enable_dmscript
22163 wine_fn_config_makefile dlls
/dmscript
/tests enable_tests
22164 wine_fn_config_makefile dlls
/dmstyle enable_dmstyle
22165 wine_fn_config_makefile dlls
/dmstyle
/tests enable_tests
22166 wine_fn_config_makefile dlls
/dmsynth enable_dmsynth
22167 wine_fn_config_makefile dlls
/dmsynth
/tests enable_tests
22168 wine_fn_config_makefile dlls
/dmusic enable_dmusic
22169 wine_fn_config_makefile dlls
/dmusic
/tests enable_tests
22170 wine_fn_config_makefile dlls
/dmusic32 enable_dmusic32
22171 wine_fn_config_makefile dlls
/dnsapi enable_dnsapi
22172 wine_fn_config_makefile dlls
/dnsapi
/tests enable_tests
22173 wine_fn_config_makefile dlls
/dplay enable_dplay
22174 wine_fn_config_makefile dlls
/dplayx enable_dplayx
22175 wine_fn_config_makefile dlls
/dplayx
/tests enable_tests
22176 wine_fn_config_makefile dlls
/dpnaddr enable_dpnaddr
22177 wine_fn_config_makefile dlls
/dpnet enable_dpnet
22178 wine_fn_config_makefile dlls
/dpnet
/tests enable_tests
22179 wine_fn_config_makefile dlls
/dpnhpast enable_dpnhpast
22180 wine_fn_config_makefile dlls
/dpnhupnp enable_dpnhupnp
22181 wine_fn_config_makefile dlls
/dpnlobby enable_dpnlobby
22182 wine_fn_config_makefile dlls
/dpvoice enable_dpvoice
22183 wine_fn_config_makefile dlls
/dpvoice
/tests enable_tests
22184 wine_fn_config_makefile dlls
/dpwsockx enable_dpwsockx
22185 wine_fn_config_makefile dlls
/drmclien enable_drmclien
22186 wine_fn_config_makefile dlls
/dsdmo enable_dsdmo
22187 wine_fn_config_makefile dlls
/dsdmo
/tests enable_tests
22188 wine_fn_config_makefile dlls
/dsound enable_dsound
22189 wine_fn_config_makefile dlls
/dsound
/tests enable_tests
22190 wine_fn_config_makefile dlls
/dsquery enable_dsquery
22191 wine_fn_config_makefile dlls
/dssenh enable_dssenh
22192 wine_fn_config_makefile dlls
/dssenh
/tests enable_tests
22193 wine_fn_config_makefile dlls
/dsuiext enable_dsuiext
22194 wine_fn_config_makefile dlls
/dswave enable_dswave
22195 wine_fn_config_makefile dlls
/dswave
/tests enable_tests
22196 wine_fn_config_makefile dlls
/dwmapi enable_dwmapi
22197 wine_fn_config_makefile dlls
/dwmapi
/tests enable_tests
22198 wine_fn_config_makefile dlls
/dwrite enable_dwrite
22199 wine_fn_config_makefile dlls
/dwrite
/tests enable_tests
22200 wine_fn_config_makefile dlls
/dx8vb enable_dx8vb
22201 wine_fn_config_makefile dlls
/dxcore enable_dxcore
22202 wine_fn_config_makefile dlls
/dxdiagn enable_dxdiagn
22203 wine_fn_config_makefile dlls
/dxdiagn
/tests enable_tests
22204 wine_fn_config_makefile dlls
/dxgi enable_dxgi
22205 wine_fn_config_makefile dlls
/dxgi
/tests enable_tests
22206 wine_fn_config_makefile dlls
/dxtrans enable_dxtrans
22207 wine_fn_config_makefile dlls
/dxva2 enable_dxva2
22208 wine_fn_config_makefile dlls
/dxva
2/tests enable_tests
22209 wine_fn_config_makefile dlls
/esent enable_esent
22210 wine_fn_config_makefile dlls
/evr enable_evr
22211 wine_fn_config_makefile dlls
/evr
/tests enable_tests
22212 wine_fn_config_makefile dlls
/explorerframe enable_explorerframe
22213 wine_fn_config_makefile dlls
/explorerframe
/tests enable_tests
22214 wine_fn_config_makefile dlls
/faultrep enable_faultrep
22215 wine_fn_config_makefile dlls
/faultrep
/tests enable_tests
22216 wine_fn_config_makefile dlls
/feclient enable_feclient
22217 wine_fn_config_makefile dlls
/fltlib enable_fltlib
22218 wine_fn_config_makefile dlls
/fltmgr.sys enable_fltmgr_sys
22219 wine_fn_config_makefile dlls
/fntcache enable_fntcache
22220 wine_fn_config_makefile dlls
/fontsub enable_fontsub
22221 wine_fn_config_makefile dlls
/fusion enable_fusion
22222 wine_fn_config_makefile dlls
/fusion
/tests enable_tests
22223 wine_fn_config_makefile dlls
/fwpuclnt enable_fwpuclnt
22224 wine_fn_config_makefile dlls
/gameux enable_gameux
22225 wine_fn_config_makefile dlls
/gameux
/tests enable_tests
22226 wine_fn_config_makefile dlls
/gamingtcui enable_gamingtcui
22227 wine_fn_config_makefile dlls
/gdi.exe16 enable_win16
22228 wine_fn_config_makefile dlls
/gdi32 enable_gdi32
22229 wine_fn_config_makefile dlls
/gdi32
/tests enable_tests
22230 wine_fn_config_makefile dlls
/gdiplus enable_gdiplus
22231 wine_fn_config_makefile dlls
/gdiplus
/tests enable_tests
22232 wine_fn_config_makefile dlls
/geolocation enable_geolocation
22233 wine_fn_config_makefile dlls
/geolocation
/tests enable_tests
22234 wine_fn_config_makefile dlls
/glu32 enable_glu32
22235 wine_fn_config_makefile dlls
/glu32
/tests enable_tests
22236 wine_fn_config_makefile dlls
/gphoto2.ds enable_gphoto2_ds
22237 wine_fn_config_makefile dlls
/gpkcsp enable_gpkcsp
22238 wine_fn_config_makefile dlls
/graphicscapture enable_graphicscapture
22239 wine_fn_config_makefile dlls
/graphicscapture
/tests enable_tests
22240 wine_fn_config_makefile dlls
/hal enable_hal
22241 wine_fn_config_makefile dlls
/hhctrl.ocx enable_hhctrl_ocx
22242 wine_fn_config_makefile dlls
/hid enable_hid
22243 wine_fn_config_makefile dlls
/hid
/tests enable_tests
22244 wine_fn_config_makefile dlls
/hidclass.sys enable_hidclass_sys
22245 wine_fn_config_makefile dlls
/hidparse.sys enable_hidparse_sys
22246 wine_fn_config_makefile dlls
/hlink enable_hlink
22247 wine_fn_config_makefile dlls
/hlink
/tests enable_tests
22248 wine_fn_config_makefile dlls
/hnetcfg enable_hnetcfg
22249 wine_fn_config_makefile dlls
/hnetcfg
/tests enable_tests
22250 wine_fn_config_makefile dlls
/hrtfapo enable_hrtfapo
22251 wine_fn_config_makefile dlls
/http.sys enable_http_sys
22252 wine_fn_config_makefile dlls
/httpapi enable_httpapi
22253 wine_fn_config_makefile dlls
/httpapi
/tests enable_tests
22254 wine_fn_config_makefile dlls
/hvsimanagementapi enable_hvsimanagementapi
22255 wine_fn_config_makefile dlls
/hvsimanagementapi
/tests enable_tests
22256 wine_fn_config_makefile dlls
/ia2comproxy enable_ia2comproxy
22257 wine_fn_config_makefile dlls
/iccvid enable_iccvid
22258 wine_fn_config_makefile dlls
/icmp enable_icmp
22259 wine_fn_config_makefile dlls
/ieframe enable_ieframe
22260 wine_fn_config_makefile dlls
/ieframe
/tests enable_tests
22261 wine_fn_config_makefile dlls
/ieproxy enable_ieproxy
22262 wine_fn_config_makefile dlls
/ifsmgr.vxd enable_win16
22263 wine_fn_config_makefile dlls
/imaadp32.acm enable_imaadp32_acm
22264 wine_fn_config_makefile dlls
/imagehlp enable_imagehlp
22265 wine_fn_config_makefile dlls
/imagehlp
/tests enable_tests
22266 wine_fn_config_makefile dlls
/imm.dll16 enable_win16
22267 wine_fn_config_makefile dlls
/imm32 enable_imm32
22268 wine_fn_config_makefile dlls
/imm32
/tests enable_tests
22269 wine_fn_config_makefile dlls
/inetcomm enable_inetcomm
22270 wine_fn_config_makefile dlls
/inetcomm
/tests enable_tests
22271 wine_fn_config_makefile dlls
/inetcpl.cpl enable_inetcpl_cpl
22272 wine_fn_config_makefile dlls
/inetmib1 enable_inetmib1
22273 wine_fn_config_makefile dlls
/inetmib
1/tests enable_tests
22274 wine_fn_config_makefile dlls
/infosoft enable_infosoft
22275 wine_fn_config_makefile dlls
/infosoft
/tests enable_tests
22276 wine_fn_config_makefile dlls
/initpki enable_initpki
22277 wine_fn_config_makefile dlls
/inkobj enable_inkobj
22278 wine_fn_config_makefile dlls
/inseng enable_inseng
22279 wine_fn_config_makefile dlls
/iphlpapi enable_iphlpapi
22280 wine_fn_config_makefile dlls
/iphlpapi
/tests enable_tests
22281 wine_fn_config_makefile dlls
/iprop enable_iprop
22282 wine_fn_config_makefile dlls
/ir50_32 enable_ir50_32
22283 wine_fn_config_makefile dlls
/irprops.cpl enable_irprops_cpl
22284 wine_fn_config_makefile dlls
/itircl enable_itircl
22285 wine_fn_config_makefile dlls
/itss enable_itss
22286 wine_fn_config_makefile dlls
/itss
/tests enable_tests
22287 wine_fn_config_makefile dlls
/joy.cpl enable_joy_cpl
22288 wine_fn_config_makefile dlls
/jscript enable_jscript
22289 wine_fn_config_makefile dlls
/jscript
/tests enable_tests
22290 wine_fn_config_makefile dlls
/jsproxy enable_jsproxy
22291 wine_fn_config_makefile dlls
/jsproxy
/tests enable_tests
22292 wine_fn_config_makefile dlls
/kerberos enable_kerberos
22293 wine_fn_config_makefile dlls
/kernel32 enable_kernel32
22294 wine_fn_config_makefile dlls
/kernel32
/tests enable_tests
22295 wine_fn_config_makefile dlls
/kernelbase enable_kernelbase
22296 wine_fn_config_makefile dlls
/kernelbase
/tests enable_tests
22297 wine_fn_config_makefile dlls
/keyboard.drv16 enable_win16
22298 wine_fn_config_makefile dlls
/krnl386.exe16 enable_win16
22299 wine_fn_config_makefile dlls
/ksecdd.sys enable_ksecdd_sys
22300 wine_fn_config_makefile dlls
/ksproxy.ax enable_ksproxy_ax
22301 wine_fn_config_makefile dlls
/ksuser enable_ksuser
22302 wine_fn_config_makefile dlls
/ktmw32 enable_ktmw32
22303 wine_fn_config_makefile dlls
/l3codeca.acm enable_l3codeca_acm
22304 wine_fn_config_makefile dlls
/light.msstyles enable_light_msstyles
22305 wine_fn_config_makefile dlls
/loadperf enable_loadperf
22306 wine_fn_config_makefile dlls
/localspl enable_localspl
22307 wine_fn_config_makefile dlls
/localspl
/tests enable_tests
22308 wine_fn_config_makefile dlls
/localui enable_localui
22309 wine_fn_config_makefile dlls
/localui
/tests enable_tests
22310 wine_fn_config_makefile dlls
/lz32 enable_lz32
22311 wine_fn_config_makefile dlls
/lz32
/tests enable_tests
22312 wine_fn_config_makefile dlls
/lzexpand.dll16 enable_win16
22313 wine_fn_config_makefile dlls
/magnification enable_magnification
22314 wine_fn_config_makefile dlls
/mapi32 enable_mapi32
22315 wine_fn_config_makefile dlls
/mapi32
/tests enable_tests
22316 wine_fn_config_makefile dlls
/mapistub enable_mapistub
22317 wine_fn_config_makefile dlls
/mciavi32 enable_mciavi32
22318 wine_fn_config_makefile dlls
/mcicda enable_mcicda
22319 wine_fn_config_makefile dlls
/mciqtz32 enable_mciqtz32
22320 wine_fn_config_makefile dlls
/mciseq enable_mciseq
22321 wine_fn_config_makefile dlls
/mciwave enable_mciwave
22322 wine_fn_config_makefile dlls
/mf enable_mf
22323 wine_fn_config_makefile dlls
/mf
/tests enable_tests
22324 wine_fn_config_makefile dlls
/mf3216 enable_mf3216
22325 wine_fn_config_makefile dlls
/mferror enable_mferror
22326 wine_fn_config_makefile dlls
/mfmediaengine enable_mfmediaengine
22327 wine_fn_config_makefile dlls
/mfmediaengine
/tests enable_tests
22328 wine_fn_config_makefile dlls
/mfplat enable_mfplat
22329 wine_fn_config_makefile dlls
/mfplat
/tests enable_tests
22330 wine_fn_config_makefile dlls
/mfplay enable_mfplay
22331 wine_fn_config_makefile dlls
/mfplay
/tests enable_tests
22332 wine_fn_config_makefile dlls
/mfreadwrite enable_mfreadwrite
22333 wine_fn_config_makefile dlls
/mfreadwrite
/tests enable_tests
22334 wine_fn_config_makefile dlls
/mfsrcsnk enable_mfsrcsnk
22335 wine_fn_config_makefile dlls
/mfsrcsnk
/tests enable_tests
22336 wine_fn_config_makefile dlls
/mgmtapi enable_mgmtapi
22337 wine_fn_config_makefile dlls
/midimap enable_midimap
22338 wine_fn_config_makefile dlls
/mlang enable_mlang
22339 wine_fn_config_makefile dlls
/mlang
/tests enable_tests
22340 wine_fn_config_makefile dlls
/mmcndmgr enable_mmcndmgr
22341 wine_fn_config_makefile dlls
/mmcndmgr
/tests enable_tests
22342 wine_fn_config_makefile dlls
/mmdevapi enable_mmdevapi
22343 wine_fn_config_makefile dlls
/mmdevapi
/tests enable_tests
22344 wine_fn_config_makefile dlls
/mmdevldr.vxd enable_win16
22345 wine_fn_config_makefile dlls
/mmsystem.dll16 enable_win16
22346 wine_fn_config_makefile dlls
/monodebg.vxd enable_win16
22347 wine_fn_config_makefile dlls
/mouhid.sys enable_mouhid_sys
22348 wine_fn_config_makefile dlls
/mountmgr.sys enable_mountmgr_sys
22349 wine_fn_config_makefile dlls
/mouse.drv16 enable_win16
22350 wine_fn_config_makefile dlls
/mp3dmod enable_mp3dmod
22351 wine_fn_config_makefile dlls
/mp3dmod
/tests enable_tests
22352 wine_fn_config_makefile dlls
/mpr enable_mpr
22353 wine_fn_config_makefile dlls
/mpr
/tests enable_tests
22354 wine_fn_config_makefile dlls
/mprapi enable_mprapi
22355 wine_fn_config_makefile dlls
/msacm.dll16 enable_win16
22356 wine_fn_config_makefile dlls
/msacm32.drv enable_msacm32_drv
22357 wine_fn_config_makefile dlls
/msacm32 enable_msacm32
22358 wine_fn_config_makefile dlls
/msacm32
/tests enable_tests
22359 wine_fn_config_makefile dlls
/msado15 enable_msado15
22360 wine_fn_config_makefile dlls
/msado15
/tests enable_tests
22361 wine_fn_config_makefile dlls
/msadp32.acm enable_msadp32_acm
22362 wine_fn_config_makefile dlls
/msasn1 enable_msasn1
22363 wine_fn_config_makefile dlls
/msasn
1/tests enable_tests
22364 wine_fn_config_makefile dlls
/msauddecmft enable_msauddecmft
22365 wine_fn_config_makefile dlls
/mscat32 enable_mscat32
22366 wine_fn_config_makefile dlls
/mscms enable_mscms
22367 wine_fn_config_makefile dlls
/mscms
/tests enable_tests
22368 wine_fn_config_makefile dlls
/mscoree enable_mscoree
22369 wine_fn_config_makefile dlls
/mscoree
/tests enable_tests
22370 wine_fn_config_makefile dlls
/mscorwks enable_mscorwks
22371 wine_fn_config_makefile dlls
/msctf enable_msctf
22372 wine_fn_config_makefile dlls
/msctf
/tests enable_tests
22373 wine_fn_config_makefile dlls
/msctfmonitor enable_msctfmonitor
22374 wine_fn_config_makefile dlls
/msctfp enable_msctfp
22375 wine_fn_config_makefile dlls
/msdaps enable_msdaps
22376 wine_fn_config_makefile dlls
/msdasql enable_msdasql
22377 wine_fn_config_makefile dlls
/msdasql
/tests enable_tests
22378 wine_fn_config_makefile dlls
/msdelta enable_msdelta
22379 wine_fn_config_makefile dlls
/msdmo enable_msdmo
22380 wine_fn_config_makefile dlls
/msdmo
/tests enable_tests
22381 wine_fn_config_makefile dlls
/msdrm enable_msdrm
22382 wine_fn_config_makefile dlls
/msftedit enable_msftedit
22383 wine_fn_config_makefile dlls
/msftedit
/tests enable_tests
22384 wine_fn_config_makefile dlls
/msg711.acm enable_msg711_acm
22385 wine_fn_config_makefile dlls
/msgsm32.acm enable_msgsm32_acm
22386 wine_fn_config_makefile dlls
/mshtml.tlb enable_mshtml_tlb
22387 wine_fn_config_makefile dlls
/mshtml enable_mshtml
22388 wine_fn_config_makefile dlls
/mshtml
/tests enable_tests
22389 wine_fn_config_makefile dlls
/msi enable_msi
22390 wine_fn_config_makefile dlls
/msi
/tests enable_tests
22391 wine_fn_config_makefile dlls
/msident enable_msident
22392 wine_fn_config_makefile dlls
/msimg32 enable_msimg32
22393 wine_fn_config_makefile dlls
/msimsg enable_msimsg
22394 wine_fn_config_makefile dlls
/msimtf enable_msimtf
22395 wine_fn_config_makefile dlls
/msisip enable_msisip
22396 wine_fn_config_makefile dlls
/msisys.ocx enable_msisys_ocx
22397 wine_fn_config_makefile dlls
/msls31 enable_msls31
22398 wine_fn_config_makefile dlls
/msmpeg2vdec enable_msmpeg2vdec
22399 wine_fn_config_makefile dlls
/msnet32 enable_msnet32
22400 wine_fn_config_makefile dlls
/mspatcha enable_mspatcha
22401 wine_fn_config_makefile dlls
/mspatcha
/tests enable_tests
22402 wine_fn_config_makefile dlls
/msports enable_msports
22403 wine_fn_config_makefile dlls
/msrle32 enable_msrle32
22404 wine_fn_config_makefile dlls
/msrle32
/tests enable_tests
22405 wine_fn_config_makefile dlls
/msscript.ocx enable_msscript_ocx
22406 wine_fn_config_makefile dlls
/msscript.ocx
/tests enable_tests
22407 wine_fn_config_makefile dlls
/mssign32 enable_mssign32
22408 wine_fn_config_makefile dlls
/mssip32 enable_mssip32
22409 wine_fn_config_makefile dlls
/mstask enable_mstask
22410 wine_fn_config_makefile dlls
/mstask
/tests enable_tests
22411 wine_fn_config_makefile dlls
/msttsengine enable_msttsengine
22412 wine_fn_config_makefile dlls
/msv1_0 enable_msv1_0
22413 wine_fn_config_makefile dlls
/msvcirt enable_msvcirt
22414 wine_fn_config_makefile dlls
/msvcirt
/tests enable_tests
22415 wine_fn_config_makefile dlls
/msvcm80 enable_msvcm80
22416 wine_fn_config_makefile dlls
/msvcm90 enable_msvcm90
22417 wine_fn_config_makefile dlls
/msvcp100 enable_msvcp100
22418 wine_fn_config_makefile dlls
/msvcp100
/tests enable_tests
22419 wine_fn_config_makefile dlls
/msvcp110 enable_msvcp110
22420 wine_fn_config_makefile dlls
/msvcp110
/tests enable_tests
22421 wine_fn_config_makefile dlls
/msvcp120 enable_msvcp120
22422 wine_fn_config_makefile dlls
/msvcp120
/tests enable_tests
22423 wine_fn_config_makefile dlls
/msvcp120_app enable_msvcp120_app
22424 wine_fn_config_makefile dlls
/msvcp140 enable_msvcp140
22425 wine_fn_config_makefile dlls
/msvcp140
/tests enable_tests
22426 wine_fn_config_makefile dlls
/msvcp140_1 enable_msvcp140_1
22427 wine_fn_config_makefile dlls
/msvcp140_
1/tests enable_tests
22428 wine_fn_config_makefile dlls
/msvcp140_2 enable_msvcp140_2
22429 wine_fn_config_makefile dlls
/msvcp140_
2/tests enable_tests
22430 wine_fn_config_makefile dlls
/msvcp140_atomic_wait enable_msvcp140_atomic_wait
22431 wine_fn_config_makefile dlls
/msvcp140_atomic_wait
/tests enable_tests
22432 wine_fn_config_makefile dlls
/msvcp140_codecvt_ids enable_msvcp140_codecvt_ids
22433 wine_fn_config_makefile dlls
/msvcp60 enable_msvcp60
22434 wine_fn_config_makefile dlls
/msvcp60
/tests enable_tests
22435 wine_fn_config_makefile dlls
/msvcp70 enable_msvcp70
22436 wine_fn_config_makefile dlls
/msvcp71 enable_msvcp71
22437 wine_fn_config_makefile dlls
/msvcp80 enable_msvcp80
22438 wine_fn_config_makefile dlls
/msvcp90 enable_msvcp90
22439 wine_fn_config_makefile dlls
/msvcp90
/tests enable_tests
22440 wine_fn_config_makefile dlls
/msvcp_win enable_msvcp_win
22441 wine_fn_config_makefile dlls
/msvcr100 enable_msvcr100
22442 wine_fn_config_makefile dlls
/msvcr100
/tests enable_tests
22443 wine_fn_config_makefile dlls
/msvcr110 enable_msvcr110
22444 wine_fn_config_makefile dlls
/msvcr110
/tests enable_tests
22445 wine_fn_config_makefile dlls
/msvcr120 enable_msvcr120
22446 wine_fn_config_makefile dlls
/msvcr120
/tests enable_tests
22447 wine_fn_config_makefile dlls
/msvcr120_app enable_msvcr120_app
22448 wine_fn_config_makefile dlls
/msvcr70 enable_msvcr70
22449 wine_fn_config_makefile dlls
/msvcr70
/tests enable_tests
22450 wine_fn_config_makefile dlls
/msvcr71 enable_msvcr71
22451 wine_fn_config_makefile dlls
/msvcr71
/tests enable_tests
22452 wine_fn_config_makefile dlls
/msvcr80 enable_msvcr80
22453 wine_fn_config_makefile dlls
/msvcr80
/tests enable_tests
22454 wine_fn_config_makefile dlls
/msvcr90 enable_msvcr90
22455 wine_fn_config_makefile dlls
/msvcr90
/tests enable_tests
22456 wine_fn_config_makefile dlls
/msvcrt enable_msvcrt
22457 wine_fn_config_makefile dlls
/msvcrt
/tests enable_tests
22458 wine_fn_config_makefile dlls
/msvcrt20 enable_msvcrt20
22459 wine_fn_config_makefile dlls
/msvcrt40 enable_msvcrt40
22460 wine_fn_config_makefile dlls
/msvcrtd enable_msvcrtd
22461 wine_fn_config_makefile dlls
/msvcrtd
/tests enable_tests
22462 wine_fn_config_makefile dlls
/msvfw32 enable_msvfw32
22463 wine_fn_config_makefile dlls
/msvfw32
/tests enable_tests
22464 wine_fn_config_makefile dlls
/msvidc32 enable_msvidc32
22465 wine_fn_config_makefile dlls
/msvideo.dll16 enable_win16
22466 wine_fn_config_makefile dlls
/mswsock enable_mswsock
22467 wine_fn_config_makefile dlls
/msxml enable_msxml
22468 wine_fn_config_makefile dlls
/msxml2 enable_msxml2
22469 wine_fn_config_makefile dlls
/msxml3 enable_msxml3
22470 wine_fn_config_makefile dlls
/msxml
3/tests enable_tests
22471 wine_fn_config_makefile dlls
/msxml4 enable_msxml4
22472 wine_fn_config_makefile dlls
/msxml
4/tests enable_tests
22473 wine_fn_config_makefile dlls
/msxml6 enable_msxml6
22474 wine_fn_config_makefile dlls
/msxml
6/tests enable_tests
22475 wine_fn_config_makefile dlls
/mtxdm enable_mtxdm
22476 wine_fn_config_makefile dlls
/ncrypt enable_ncrypt
22477 wine_fn_config_makefile dlls
/ncrypt
/tests enable_tests
22478 wine_fn_config_makefile dlls
/nddeapi enable_nddeapi
22479 wine_fn_config_makefile dlls
/ndis.sys enable_ndis_sys
22480 wine_fn_config_makefile dlls
/ndis.sys
/tests enable_tests
22481 wine_fn_config_makefile dlls
/netapi32 enable_netapi32
22482 wine_fn_config_makefile dlls
/netapi32
/tests enable_tests
22483 wine_fn_config_makefile dlls
/netcfgx enable_netcfgx
22484 wine_fn_config_makefile dlls
/netcfgx
/tests enable_tests
22485 wine_fn_config_makefile dlls
/netio.sys enable_netio_sys
22486 wine_fn_config_makefile dlls
/netprofm enable_netprofm
22487 wine_fn_config_makefile dlls
/netprofm
/tests enable_tests
22488 wine_fn_config_makefile dlls
/netutils enable_netutils
22489 wine_fn_config_makefile dlls
/newdev enable_newdev
22490 wine_fn_config_makefile dlls
/ninput enable_ninput
22491 wine_fn_config_makefile dlls
/ninput
/tests enable_tests
22492 wine_fn_config_makefile dlls
/normaliz enable_normaliz
22493 wine_fn_config_makefile dlls
/npmshtml enable_npmshtml
22494 wine_fn_config_makefile dlls
/npptools enable_npptools
22495 wine_fn_config_makefile dlls
/nsi enable_nsi
22496 wine_fn_config_makefile dlls
/nsi
/tests enable_tests
22497 wine_fn_config_makefile dlls
/nsiproxy.sys enable_nsiproxy_sys
22498 wine_fn_config_makefile dlls
/ntdll enable_ntdll
22499 wine_fn_config_makefile dlls
/ntdll
/tests enable_tests
22500 wine_fn_config_makefile dlls
/ntdsapi enable_ntdsapi
22501 wine_fn_config_makefile dlls
/ntdsapi
/tests enable_tests
22502 wine_fn_config_makefile dlls
/ntoskrnl.exe enable_ntoskrnl_exe
22503 wine_fn_config_makefile dlls
/ntoskrnl.exe
/tests enable_tests
22504 wine_fn_config_makefile dlls
/ntprint enable_ntprint
22505 wine_fn_config_makefile dlls
/ntprint
/tests enable_tests
22506 wine_fn_config_makefile dlls
/objsel enable_objsel
22507 wine_fn_config_makefile dlls
/odbc32 enable_odbc32
22508 wine_fn_config_makefile dlls
/odbc32
/tests enable_tests
22509 wine_fn_config_makefile dlls
/odbcbcp enable_odbcbcp
22510 wine_fn_config_makefile dlls
/odbccp32 enable_odbccp32
22511 wine_fn_config_makefile dlls
/odbccp32
/tests enable_tests
22512 wine_fn_config_makefile dlls
/odbccu32 enable_odbccu32
22513 wine_fn_config_makefile dlls
/ole2.dll16 enable_win16
22514 wine_fn_config_makefile dlls
/ole2conv.dll16 enable_win16
22515 wine_fn_config_makefile dlls
/ole2disp.dll16 enable_win16
22516 wine_fn_config_makefile dlls
/ole2nls.dll16 enable_win16
22517 wine_fn_config_makefile dlls
/ole2prox.dll16 enable_win16
22518 wine_fn_config_makefile dlls
/ole2thk.dll16 enable_win16
22519 wine_fn_config_makefile dlls
/ole32 enable_ole32
22520 wine_fn_config_makefile dlls
/ole32
/tests enable_tests
22521 wine_fn_config_makefile dlls
/oleacc enable_oleacc
22522 wine_fn_config_makefile dlls
/oleacc
/tests enable_tests
22523 wine_fn_config_makefile dlls
/oleaut32 enable_oleaut32
22524 wine_fn_config_makefile dlls
/oleaut32
/tests enable_tests
22525 wine_fn_config_makefile dlls
/olecli.dll16 enable_win16
22526 wine_fn_config_makefile dlls
/olecli32 enable_olecli32
22527 wine_fn_config_makefile dlls
/oledb32 enable_oledb32
22528 wine_fn_config_makefile dlls
/oledb32
/tests enable_tests
22529 wine_fn_config_makefile dlls
/oledlg enable_oledlg
22530 wine_fn_config_makefile dlls
/oledlg
/tests enable_tests
22531 wine_fn_config_makefile dlls
/olepro32 enable_olepro32
22532 wine_fn_config_makefile dlls
/olesvr.dll16 enable_win16
22533 wine_fn_config_makefile dlls
/olesvr32 enable_olesvr32
22534 wine_fn_config_makefile dlls
/olethk32 enable_olethk32
22535 wine_fn_config_makefile dlls
/opcservices enable_opcservices
22536 wine_fn_config_makefile dlls
/opcservices
/tests enable_tests
22537 wine_fn_config_makefile dlls
/opencl enable_opencl
22538 wine_fn_config_makefile dlls
/opengl32 enable_opengl32
22539 wine_fn_config_makefile dlls
/opengl32
/tests enable_tests
22540 wine_fn_config_makefile dlls
/packager enable_packager
22541 wine_fn_config_makefile dlls
/packager
/tests enable_tests
22542 wine_fn_config_makefile dlls
/pdh enable_pdh
22543 wine_fn_config_makefile dlls
/pdh
/tests enable_tests
22544 wine_fn_config_makefile dlls
/photometadatahandler enable_photometadatahandler
22545 wine_fn_config_makefile dlls
/pidgen enable_pidgen
22546 wine_fn_config_makefile dlls
/powrprof enable_powrprof
22547 wine_fn_config_makefile dlls
/printui enable_printui
22548 wine_fn_config_makefile dlls
/prntvpt enable_prntvpt
22549 wine_fn_config_makefile dlls
/prntvpt
/tests enable_tests
22550 wine_fn_config_makefile dlls
/profapi enable_profapi
22551 wine_fn_config_makefile dlls
/propsys enable_propsys
22552 wine_fn_config_makefile dlls
/propsys
/tests enable_tests
22553 wine_fn_config_makefile dlls
/psapi enable_psapi
22554 wine_fn_config_makefile dlls
/psapi
/tests enable_tests
22555 wine_fn_config_makefile dlls
/pstorec enable_pstorec
22556 wine_fn_config_makefile dlls
/pstorec
/tests enable_tests
22557 wine_fn_config_makefile dlls
/pwrshplugin enable_pwrshplugin
22558 wine_fn_config_makefile dlls
/qasf enable_qasf
22559 wine_fn_config_makefile dlls
/qasf
/tests enable_tests
22560 wine_fn_config_makefile dlls
/qcap enable_qcap
22561 wine_fn_config_makefile dlls
/qcap
/tests enable_tests
22562 wine_fn_config_makefile dlls
/qdvd enable_qdvd
22563 wine_fn_config_makefile dlls
/qdvd
/tests enable_tests
22564 wine_fn_config_makefile dlls
/qedit enable_qedit
22565 wine_fn_config_makefile dlls
/qedit
/tests enable_tests
22566 wine_fn_config_makefile dlls
/qmgr enable_qmgr
22567 wine_fn_config_makefile dlls
/qmgr
/tests enable_tests
22568 wine_fn_config_makefile dlls
/qmgrprxy enable_qmgrprxy
22569 wine_fn_config_makefile dlls
/quartz enable_quartz
22570 wine_fn_config_makefile dlls
/quartz
/tests enable_tests
22571 wine_fn_config_makefile dlls
/query enable_query
22572 wine_fn_config_makefile dlls
/qwave enable_qwave
22573 wine_fn_config_makefile dlls
/qwave
/tests enable_tests
22574 wine_fn_config_makefile dlls
/rasapi16.dll16 enable_win16
22575 wine_fn_config_makefile dlls
/rasapi32 enable_rasapi32
22576 wine_fn_config_makefile dlls
/rasapi32
/tests enable_tests
22577 wine_fn_config_makefile dlls
/rasdlg enable_rasdlg
22578 wine_fn_config_makefile dlls
/regapi enable_regapi
22579 wine_fn_config_makefile dlls
/resutils enable_resutils
22580 wine_fn_config_makefile dlls
/riched20 enable_riched20
22581 wine_fn_config_makefile dlls
/riched20
/tests enable_tests
22582 wine_fn_config_makefile dlls
/riched32 enable_riched32
22583 wine_fn_config_makefile dlls
/riched32
/tests enable_tests
22584 wine_fn_config_makefile dlls
/rometadata enable_rometadata
22585 wine_fn_config_makefile dlls
/rometadata
/tests enable_tests
22586 wine_fn_config_makefile dlls
/rpcrt4 enable_rpcrt4
22587 wine_fn_config_makefile dlls
/rpcrt
4/tests enable_tests
22588 wine_fn_config_makefile dlls
/rsabase enable_rsabase
22589 wine_fn_config_makefile dlls
/rsaenh enable_rsaenh
22590 wine_fn_config_makefile dlls
/rsaenh
/tests enable_tests
22591 wine_fn_config_makefile dlls
/rstrtmgr enable_rstrtmgr
22592 wine_fn_config_makefile dlls
/rtutils enable_rtutils
22593 wine_fn_config_makefile dlls
/rtworkq enable_rtworkq
22594 wine_fn_config_makefile dlls
/rtworkq
/tests enable_tests
22595 wine_fn_config_makefile dlls
/samlib enable_samlib
22596 wine_fn_config_makefile dlls
/sane.ds enable_sane_ds
22597 wine_fn_config_makefile dlls
/sapi enable_sapi
22598 wine_fn_config_makefile dlls
/sapi
/tests enable_tests
22599 wine_fn_config_makefile dlls
/sas enable_sas
22600 wine_fn_config_makefile dlls
/scarddlg enable_scarddlg
22601 wine_fn_config_makefile dlls
/scardsvr enable_scardsvr
22602 wine_fn_config_makefile dlls
/sccbase enable_sccbase
22603 wine_fn_config_makefile dlls
/schannel enable_schannel
22604 wine_fn_config_makefile dlls
/schannel
/tests enable_tests
22605 wine_fn_config_makefile dlls
/schedsvc enable_schedsvc
22606 wine_fn_config_makefile dlls
/schedsvc
/tests enable_tests
22607 wine_fn_config_makefile dlls
/scrobj enable_scrobj
22608 wine_fn_config_makefile dlls
/scrobj
/tests enable_tests
22609 wine_fn_config_makefile dlls
/scrrun enable_scrrun
22610 wine_fn_config_makefile dlls
/scrrun
/tests enable_tests
22611 wine_fn_config_makefile dlls
/scsiport.sys enable_scsiport_sys
22612 wine_fn_config_makefile dlls
/sechost enable_sechost
22613 wine_fn_config_makefile dlls
/secur32 enable_secur32
22614 wine_fn_config_makefile dlls
/secur32
/tests enable_tests
22615 wine_fn_config_makefile dlls
/security enable_security
22616 wine_fn_config_makefile dlls
/sensapi enable_sensapi
22617 wine_fn_config_makefile dlls
/serialui enable_serialui
22618 wine_fn_config_makefile dlls
/serialui
/tests enable_tests
22619 wine_fn_config_makefile dlls
/setupapi enable_setupapi
22620 wine_fn_config_makefile dlls
/setupapi
/tests enable_tests
22621 wine_fn_config_makefile dlls
/setupx.dll16 enable_win16
22622 wine_fn_config_makefile dlls
/sfc enable_sfc
22623 wine_fn_config_makefile dlls
/sfc_os enable_sfc_os
22624 wine_fn_config_makefile dlls
/shcore enable_shcore
22625 wine_fn_config_makefile dlls
/shcore
/tests enable_tests
22626 wine_fn_config_makefile dlls
/shdoclc enable_shdoclc
22627 wine_fn_config_makefile dlls
/shdocvw enable_shdocvw
22628 wine_fn_config_makefile dlls
/shdocvw
/tests enable_tests
22629 wine_fn_config_makefile dlls
/shell.dll16 enable_win16
22630 wine_fn_config_makefile dlls
/shell32 enable_shell32
22631 wine_fn_config_makefile dlls
/shell32
/tests enable_tests
22632 wine_fn_config_makefile dlls
/shfolder enable_shfolder
22633 wine_fn_config_makefile dlls
/shlwapi enable_shlwapi
22634 wine_fn_config_makefile dlls
/shlwapi
/tests enable_tests
22635 wine_fn_config_makefile dlls
/slbcsp enable_slbcsp
22636 wine_fn_config_makefile dlls
/slc enable_slc
22637 wine_fn_config_makefile dlls
/slc
/tests enable_tests
22638 wine_fn_config_makefile dlls
/snmpapi enable_snmpapi
22639 wine_fn_config_makefile dlls
/snmpapi
/tests enable_tests
22640 wine_fn_config_makefile dlls
/softpub enable_softpub
22641 wine_fn_config_makefile dlls
/sound.drv16 enable_win16
22642 wine_fn_config_makefile dlls
/spoolss enable_spoolss
22643 wine_fn_config_makefile dlls
/spoolss
/tests enable_tests
22644 wine_fn_config_makefile dlls
/sppc enable_sppc
22645 wine_fn_config_makefile dlls
/srclient enable_srclient
22646 wine_fn_config_makefile dlls
/srvcli enable_srvcli
22647 wine_fn_config_makefile dlls
/srvsvc enable_srvsvc
22648 wine_fn_config_makefile dlls
/sspicli enable_sspicli
22649 wine_fn_config_makefile dlls
/stdole2.tlb enable_stdole2_tlb
22650 wine_fn_config_makefile dlls
/stdole32.tlb enable_stdole32_tlb
22651 wine_fn_config_makefile dlls
/sti enable_sti
22652 wine_fn_config_makefile dlls
/sti
/tests enable_tests
22653 wine_fn_config_makefile dlls
/storage.dll16 enable_win16
22654 wine_fn_config_makefile dlls
/stress.dll16 enable_win16
22655 wine_fn_config_makefile dlls
/strmdll enable_strmdll
22656 wine_fn_config_makefile dlls
/svrapi enable_svrapi
22657 wine_fn_config_makefile dlls
/sxs enable_sxs
22658 wine_fn_config_makefile dlls
/sxs
/tests enable_tests
22659 wine_fn_config_makefile dlls
/system.drv16 enable_win16
22660 wine_fn_config_makefile dlls
/t2embed enable_t2embed
22661 wine_fn_config_makefile dlls
/t2embed
/tests enable_tests
22662 wine_fn_config_makefile dlls
/tapi32 enable_tapi32
22663 wine_fn_config_makefile dlls
/tapi32
/tests enable_tests
22664 wine_fn_config_makefile dlls
/taskschd enable_taskschd
22665 wine_fn_config_makefile dlls
/taskschd
/tests enable_tests
22666 wine_fn_config_makefile dlls
/tbs enable_tbs
22667 wine_fn_config_makefile dlls
/tdh enable_tdh
22668 wine_fn_config_makefile dlls
/tdi.sys enable_tdi_sys
22669 wine_fn_config_makefile dlls
/threadpoolwinrt enable_threadpoolwinrt
22670 wine_fn_config_makefile dlls
/threadpoolwinrt
/tests enable_tests
22671 wine_fn_config_makefile dlls
/toolhelp.dll16 enable_win16
22672 wine_fn_config_makefile dlls
/traffic enable_traffic
22673 wine_fn_config_makefile dlls
/twain.dll16 enable_win16
22674 wine_fn_config_makefile dlls
/twain_32 enable_twain_32
22675 wine_fn_config_makefile dlls
/twain_32
/tests enable_tests
22676 wine_fn_config_makefile dlls
/twinapi.appcore enable_twinapi_appcore
22677 wine_fn_config_makefile dlls
/twinapi.appcore
/tests enable_tests
22678 wine_fn_config_makefile dlls
/typelib.dll16 enable_win16
22679 wine_fn_config_makefile dlls
/tzres enable_tzres
22680 wine_fn_config_makefile dlls
/ucrtbase enable_ucrtbase
22681 wine_fn_config_makefile dlls
/ucrtbase
/tests enable_tests
22682 wine_fn_config_makefile dlls
/uianimation enable_uianimation
22683 wine_fn_config_makefile dlls
/uianimation
/tests enable_tests
22684 wine_fn_config_makefile dlls
/uiautomationcore enable_uiautomationcore
22685 wine_fn_config_makefile dlls
/uiautomationcore
/tests enable_tests
22686 wine_fn_config_makefile dlls
/uiribbon enable_uiribbon
22687 wine_fn_config_makefile dlls
/unicows enable_unicows
22688 wine_fn_config_makefile dlls
/updspapi enable_updspapi
22689 wine_fn_config_makefile dlls
/url enable_url
22690 wine_fn_config_makefile dlls
/urlmon enable_urlmon
22691 wine_fn_config_makefile dlls
/urlmon
/tests enable_tests
22692 wine_fn_config_makefile dlls
/usbd.sys enable_usbd_sys
22693 wine_fn_config_makefile dlls
/user.exe16 enable_win16
22694 wine_fn_config_makefile dlls
/user32 enable_user32
22695 wine_fn_config_makefile dlls
/user32
/tests enable_tests
22696 wine_fn_config_makefile dlls
/userenv enable_userenv
22697 wine_fn_config_makefile dlls
/userenv
/tests enable_tests
22698 wine_fn_config_makefile dlls
/usp10 enable_usp10
22699 wine_fn_config_makefile dlls
/usp10
/tests enable_tests
22700 wine_fn_config_makefile dlls
/utildll enable_utildll
22701 wine_fn_config_makefile dlls
/uxtheme enable_uxtheme
22702 wine_fn_config_makefile dlls
/uxtheme
/tests enable_tests
22703 wine_fn_config_makefile dlls
/vbscript enable_vbscript
22704 wine_fn_config_makefile dlls
/vbscript
/tests enable_tests
22705 wine_fn_config_makefile dlls
/vcomp enable_vcomp
22706 wine_fn_config_makefile dlls
/vcomp
/tests enable_tests
22707 wine_fn_config_makefile dlls
/vcomp100 enable_vcomp100
22708 wine_fn_config_makefile dlls
/vcomp110 enable_vcomp110
22709 wine_fn_config_makefile dlls
/vcomp110
/tests enable_tests
22710 wine_fn_config_makefile dlls
/vcomp120 enable_vcomp120
22711 wine_fn_config_makefile dlls
/vcomp140 enable_vcomp140
22712 wine_fn_config_makefile dlls
/vcomp90 enable_vcomp90
22713 wine_fn_config_makefile dlls
/vcruntime140 enable_vcruntime140
22714 wine_fn_config_makefile dlls
/vcruntime140_1 enable_vcruntime140_1
22715 wine_fn_config_makefile dlls
/vdhcp.vxd enable_win16
22716 wine_fn_config_makefile dlls
/vdmdbg enable_vdmdbg
22717 wine_fn_config_makefile dlls
/ver.dll16 enable_win16
22718 wine_fn_config_makefile dlls
/version enable_version
22719 wine_fn_config_makefile dlls
/version
/tests enable_tests
22720 wine_fn_config_makefile dlls
/vga enable_vga
22721 wine_fn_config_makefile dlls
/virtdisk enable_virtdisk
22722 wine_fn_config_makefile dlls
/virtdisk
/tests enable_tests
22723 wine_fn_config_makefile dlls
/vmm.vxd enable_win16
22724 wine_fn_config_makefile dlls
/vnbt.vxd enable_win16
22725 wine_fn_config_makefile dlls
/vnetbios.vxd enable_win16
22726 wine_fn_config_makefile dlls
/vssapi enable_vssapi
22727 wine_fn_config_makefile dlls
/vtdapi.vxd enable_win16
22728 wine_fn_config_makefile dlls
/vulkan-1 enable_vulkan_1
22729 wine_fn_config_makefile dlls
/vulkan-
1/tests enable_tests
22730 wine_fn_config_makefile dlls
/vwin32.vxd enable_win16
22731 wine_fn_config_makefile dlls
/w32skrnl enable_win16
22732 wine_fn_config_makefile dlls
/w32sys.dll16 enable_win16
22733 wine_fn_config_makefile dlls
/wbemdisp enable_wbemdisp
22734 wine_fn_config_makefile dlls
/wbemdisp
/tests enable_tests
22735 wine_fn_config_makefile dlls
/wbemprox enable_wbemprox
22736 wine_fn_config_makefile dlls
/wbemprox
/tests enable_tests
22737 wine_fn_config_makefile dlls
/wdscore enable_wdscore
22738 wine_fn_config_makefile dlls
/webservices enable_webservices
22739 wine_fn_config_makefile dlls
/webservices
/tests enable_tests
22740 wine_fn_config_makefile dlls
/websocket enable_websocket
22741 wine_fn_config_makefile dlls
/wer enable_wer
22742 wine_fn_config_makefile dlls
/wer
/tests enable_tests
22743 wine_fn_config_makefile dlls
/wevtapi enable_wevtapi
22744 wine_fn_config_makefile dlls
/wevtapi
/tests enable_tests
22745 wine_fn_config_makefile dlls
/wevtsvc enable_wevtsvc
22746 wine_fn_config_makefile dlls
/wiaservc enable_wiaservc
22747 wine_fn_config_makefile dlls
/wiaservc
/tests enable_tests
22748 wine_fn_config_makefile dlls
/wimgapi enable_wimgapi
22749 wine_fn_config_makefile dlls
/win32s16.dll16 enable_win16
22750 wine_fn_config_makefile dlls
/win32u enable_win32u
22751 wine_fn_config_makefile dlls
/win32u
/tests enable_tests
22752 wine_fn_config_makefile dlls
/win87em.dll16 enable_win16
22753 wine_fn_config_makefile dlls
/winaspi.dll16 enable_win16
22754 wine_fn_config_makefile dlls
/windebug.dll16 enable_win16
22755 wine_fn_config_makefile dlls
/windows.applicationmodel enable_windows_applicationmodel
22756 wine_fn_config_makefile dlls
/windows.applicationmodel
/tests enable_tests
22757 wine_fn_config_makefile dlls
/windows.devices.bluetooth enable_windows_devices_bluetooth
22758 wine_fn_config_makefile dlls
/windows.devices.bluetooth
/tests enable_tests
22759 wine_fn_config_makefile dlls
/windows.devices.enumeration enable_windows_devices_enumeration
22760 wine_fn_config_makefile dlls
/windows.devices.enumeration
/tests enable_tests
22761 wine_fn_config_makefile dlls
/windows.devices.usb enable_windows_devices_usb
22762 wine_fn_config_makefile dlls
/windows.devices.usb
/tests enable_tests
22763 wine_fn_config_makefile dlls
/windows.gaming.input enable_windows_gaming_input
22764 wine_fn_config_makefile dlls
/windows.gaming.input
/tests enable_tests
22765 wine_fn_config_makefile dlls
/windows.gaming.ui.gamebar enable_windows_gaming_ui_gamebar
22766 wine_fn_config_makefile dlls
/windows.gaming.ui.gamebar
/tests enable_tests
22767 wine_fn_config_makefile dlls
/windows.globalization enable_windows_globalization
22768 wine_fn_config_makefile dlls
/windows.globalization
/tests enable_tests
22769 wine_fn_config_makefile dlls
/windows.media.devices enable_windows_media_devices
22770 wine_fn_config_makefile dlls
/windows.media.devices
/tests enable_tests
22771 wine_fn_config_makefile dlls
/windows.media.mediacontrol enable_windows_media_mediacontrol
22772 wine_fn_config_makefile dlls
/windows.media.mediacontrol
/tests enable_tests
22773 wine_fn_config_makefile dlls
/windows.media.speech enable_windows_media_speech
22774 wine_fn_config_makefile dlls
/windows.media.speech
/tests enable_tests
22775 wine_fn_config_makefile dlls
/windows.media enable_windows_media
22776 wine_fn_config_makefile dlls
/windows.media
/tests enable_tests
22777 wine_fn_config_makefile dlls
/windows.networking.hostname enable_windows_networking_hostname
22778 wine_fn_config_makefile dlls
/windows.networking.hostname
/tests enable_tests
22779 wine_fn_config_makefile dlls
/windows.networking enable_windows_networking
22780 wine_fn_config_makefile dlls
/windows.perception.stub enable_windows_perception_stub
22781 wine_fn_config_makefile dlls
/windows.perception.stub
/tests enable_tests
22782 wine_fn_config_makefile dlls
/windows.security.authentication.onlineid enable_windows_security_authentication_onlineid
22783 wine_fn_config_makefile dlls
/windows.security.authentication.onlineid
/tests enable_tests
22784 wine_fn_config_makefile dlls
/windows.security.credentials.ui.userconsentverifier enable_windows_security_credentials_ui_userconsentverifier
22785 wine_fn_config_makefile dlls
/windows.security.credentials.ui.userconsentverifier
/tests enable_tests
22786 wine_fn_config_makefile dlls
/windows.storage.applicationdata enable_windows_storage_applicationdata
22787 wine_fn_config_makefile dlls
/windows.storage.applicationdata
/tests enable_tests
22788 wine_fn_config_makefile dlls
/windows.system.profile.systemmanufacturers enable_windows_system_profile_systemmanufacturers
22789 wine_fn_config_makefile dlls
/windows.system.profile.systemmanufacturers
/tests enable_tests
22790 wine_fn_config_makefile dlls
/windows.ui enable_windows_ui
22791 wine_fn_config_makefile dlls
/windows.ui
/tests enable_tests
22792 wine_fn_config_makefile dlls
/windows.web enable_windows_web
22793 wine_fn_config_makefile dlls
/windows.web
/tests enable_tests
22794 wine_fn_config_makefile dlls
/windowscodecs enable_windowscodecs
22795 wine_fn_config_makefile dlls
/windowscodecs
/tests enable_tests
22796 wine_fn_config_makefile dlls
/windowscodecsext enable_windowscodecsext
22797 wine_fn_config_makefile dlls
/windowscodecsext
/tests enable_tests
22798 wine_fn_config_makefile dlls
/winealsa.drv enable_winealsa_drv
22799 wine_fn_config_makefile dlls
/wineandroid.drv enable_wineandroid_drv
22800 wine_fn_config_makefile dlls
/winebus.sys enable_winebus_sys
22801 wine_fn_config_makefile dlls
/winecoreaudio.drv enable_winecoreaudio_drv
22802 wine_fn_config_makefile dlls
/winecrt0 enable_winecrt0
22803 wine_fn_config_makefile dlls
/wined3d enable_wined3d
22804 wine_fn_config_makefile dlls
/winegstreamer enable_winegstreamer
22805 wine_fn_config_makefile dlls
/winehid.sys enable_winehid_sys
22806 wine_fn_config_makefile dlls
/winemac.drv enable_winemac_drv
22807 wine_fn_config_makefile dlls
/winemapi enable_winemapi
22808 wine_fn_config_makefile dlls
/wineoss.drv enable_wineoss_drv
22809 wine_fn_config_makefile dlls
/wineps.drv enable_wineps_drv
22810 wine_fn_config_makefile dlls
/wineps16.drv16 enable_win16
22811 wine_fn_config_makefile dlls
/winepulse.drv enable_winepulse_drv
22812 wine_fn_config_makefile dlls
/wineusb.sys enable_wineusb_sys
22813 wine_fn_config_makefile dlls
/winevulkan enable_winevulkan
22814 wine_fn_config_makefile dlls
/winewayland.drv enable_winewayland_drv
22815 wine_fn_config_makefile dlls
/winex11.drv enable_winex11_drv
22816 wine_fn_config_makefile dlls
/winexinput.sys enable_winexinput_sys
22817 wine_fn_config_makefile dlls
/wing.dll16 enable_win16
22818 wine_fn_config_makefile dlls
/wing32 enable_wing32
22819 wine_fn_config_makefile dlls
/wing32
/tests enable_tests
22820 wine_fn_config_makefile dlls
/winhttp enable_winhttp
22821 wine_fn_config_makefile dlls
/winhttp
/tests enable_tests
22822 wine_fn_config_makefile dlls
/wininet enable_wininet
22823 wine_fn_config_makefile dlls
/wininet
/tests enable_tests
22824 wine_fn_config_makefile dlls
/winmm enable_winmm
22825 wine_fn_config_makefile dlls
/winmm
/tests enable_tests
22826 wine_fn_config_makefile dlls
/winnls.dll16 enable_win16
22827 wine_fn_config_makefile dlls
/winnls32 enable_winnls32
22828 wine_fn_config_makefile dlls
/winprint enable_winprint
22829 wine_fn_config_makefile dlls
/winscard enable_winscard
22830 wine_fn_config_makefile dlls
/winscard
/tests enable_tests
22831 wine_fn_config_makefile dlls
/winsock.dll16 enable_win16
22832 wine_fn_config_makefile dlls
/winspool.drv enable_winspool_drv
22833 wine_fn_config_makefile dlls
/winspool.drv
/tests enable_tests
22834 wine_fn_config_makefile dlls
/winsta enable_winsta
22835 wine_fn_config_makefile dlls
/wintab.dll16 enable_win16
22836 wine_fn_config_makefile dlls
/wintab32 enable_wintab32
22837 wine_fn_config_makefile dlls
/wintab32
/tests enable_tests
22838 wine_fn_config_makefile dlls
/wintrust enable_wintrust
22839 wine_fn_config_makefile dlls
/wintrust
/tests enable_tests
22840 wine_fn_config_makefile dlls
/wintypes enable_wintypes
22841 wine_fn_config_makefile dlls
/wintypes
/tests enable_tests
22842 wine_fn_config_makefile dlls
/winusb enable_winusb
22843 wine_fn_config_makefile dlls
/wlanapi enable_wlanapi
22844 wine_fn_config_makefile dlls
/wlanapi
/tests enable_tests
22845 wine_fn_config_makefile dlls
/wlanui enable_wlanui
22846 wine_fn_config_makefile dlls
/wldap32 enable_wldap32
22847 wine_fn_config_makefile dlls
/wldap32
/tests enable_tests
22848 wine_fn_config_makefile dlls
/wldp enable_wldp
22849 wine_fn_config_makefile dlls
/wldp
/tests enable_tests
22850 wine_fn_config_makefile dlls
/wmasf enable_wmasf
22851 wine_fn_config_makefile dlls
/wmi enable_wmi
22852 wine_fn_config_makefile dlls
/wmiutils enable_wmiutils
22853 wine_fn_config_makefile dlls
/wmiutils
/tests enable_tests
22854 wine_fn_config_makefile dlls
/wmp enable_wmp
22855 wine_fn_config_makefile dlls
/wmp
/tests enable_tests
22856 wine_fn_config_makefile dlls
/wmphoto enable_wmphoto
22857 wine_fn_config_makefile dlls
/wmvcore enable_wmvcore
22858 wine_fn_config_makefile dlls
/wmvcore
/tests enable_tests
22859 wine_fn_config_makefile dlls
/wnaspi32 enable_wnaspi32
22860 wine_fn_config_makefile dlls
/wofutil enable_wofutil
22861 wine_fn_config_makefile dlls
/wow32 enable_win16
22862 wine_fn_config_makefile dlls
/wow64 enable_wow64
22863 wine_fn_config_makefile dlls
/wow64cpu enable_wow64cpu
22864 wine_fn_config_makefile dlls
/wow64win enable_wow64win
22865 wine_fn_config_makefile dlls
/wpc enable_wpc
22866 wine_fn_config_makefile dlls
/wpc
/tests enable_tests
22867 wine_fn_config_makefile dlls
/wpcap enable_wpcap
22868 wine_fn_config_makefile dlls
/wpcap
/tests enable_tests
22869 wine_fn_config_makefile dlls
/ws2_32 enable_ws2_32
22870 wine_fn_config_makefile dlls
/ws2_32
/tests enable_tests
22871 wine_fn_config_makefile dlls
/wsdapi enable_wsdapi
22872 wine_fn_config_makefile dlls
/wsdapi
/tests enable_tests
22873 wine_fn_config_makefile dlls
/wshom.ocx enable_wshom_ocx
22874 wine_fn_config_makefile dlls
/wshom.ocx
/tests enable_tests
22875 wine_fn_config_makefile dlls
/wsnmp32 enable_wsnmp32
22876 wine_fn_config_makefile dlls
/wsnmp32
/tests enable_tests
22877 wine_fn_config_makefile dlls
/wsock32 enable_wsock32
22878 wine_fn_config_makefile dlls
/wtsapi32 enable_wtsapi32
22879 wine_fn_config_makefile dlls
/wtsapi32
/tests enable_tests
22880 wine_fn_config_makefile dlls
/wuapi enable_wuapi
22881 wine_fn_config_makefile dlls
/wuaueng enable_wuaueng
22882 wine_fn_config_makefile dlls
/x3daudio1_0 enable_x3daudio1_0
22883 wine_fn_config_makefile dlls
/x3daudio1_1 enable_x3daudio1_1
22884 wine_fn_config_makefile dlls
/x3daudio1_2 enable_x3daudio1_2
22885 wine_fn_config_makefile dlls
/x3daudio1_3 enable_x3daudio1_3
22886 wine_fn_config_makefile dlls
/x3daudio1_4 enable_x3daudio1_4
22887 wine_fn_config_makefile dlls
/x3daudio1_5 enable_x3daudio1_5
22888 wine_fn_config_makefile dlls
/x3daudio1_6 enable_x3daudio1_6
22889 wine_fn_config_makefile dlls
/x3daudio1_7 enable_x3daudio1_7
22890 wine_fn_config_makefile dlls
/xactengine2_0 enable_xactengine2_0
22891 wine_fn_config_makefile dlls
/xactengine2_4 enable_xactengine2_4
22892 wine_fn_config_makefile dlls
/xactengine2_7 enable_xactengine2_7
22893 wine_fn_config_makefile dlls
/xactengine2_9 enable_xactengine2_9
22894 wine_fn_config_makefile dlls
/xactengine3_0 enable_xactengine3_0
22895 wine_fn_config_makefile dlls
/xactengine3_1 enable_xactengine3_1
22896 wine_fn_config_makefile dlls
/xactengine3_2 enable_xactengine3_2
22897 wine_fn_config_makefile dlls
/xactengine3_3 enable_xactengine3_3
22898 wine_fn_config_makefile dlls
/xactengine3_4 enable_xactengine3_4
22899 wine_fn_config_makefile dlls
/xactengine3_5 enable_xactengine3_5
22900 wine_fn_config_makefile dlls
/xactengine3_6 enable_xactengine3_6
22901 wine_fn_config_makefile dlls
/xactengine3_7 enable_xactengine3_7
22902 wine_fn_config_makefile dlls
/xactengine3_
7/tests enable_tests
22903 wine_fn_config_makefile dlls
/xapofx1_1 enable_xapofx1_1
22904 wine_fn_config_makefile dlls
/xapofx1_2 enable_xapofx1_2
22905 wine_fn_config_makefile dlls
/xapofx1_3 enable_xapofx1_3
22906 wine_fn_config_makefile dlls
/xapofx1_4 enable_xapofx1_4
22907 wine_fn_config_makefile dlls
/xapofx1_5 enable_xapofx1_5
22908 wine_fn_config_makefile dlls
/xaudio2_0 enable_xaudio2_0
22909 wine_fn_config_makefile dlls
/xaudio2_1 enable_xaudio2_1
22910 wine_fn_config_makefile dlls
/xaudio2_2 enable_xaudio2_2
22911 wine_fn_config_makefile dlls
/xaudio2_3 enable_xaudio2_3
22912 wine_fn_config_makefile dlls
/xaudio2_4 enable_xaudio2_4
22913 wine_fn_config_makefile dlls
/xaudio2_5 enable_xaudio2_5
22914 wine_fn_config_makefile dlls
/xaudio2_6 enable_xaudio2_6
22915 wine_fn_config_makefile dlls
/xaudio2_7 enable_xaudio2_7
22916 wine_fn_config_makefile dlls
/xaudio2_
7/tests enable_tests
22917 wine_fn_config_makefile dlls
/xaudio2_8 enable_xaudio2_8
22918 wine_fn_config_makefile dlls
/xaudio2_
8/tests enable_tests
22919 wine_fn_config_makefile dlls
/xaudio2_9 enable_xaudio2_9
22920 wine_fn_config_makefile dlls
/xinput1_1 enable_xinput1_1
22921 wine_fn_config_makefile dlls
/xinput1_2 enable_xinput1_2
22922 wine_fn_config_makefile dlls
/xinput1_3 enable_xinput1_3
22923 wine_fn_config_makefile dlls
/xinput1_
3/tests enable_tests
22924 wine_fn_config_makefile dlls
/xinput1_4 enable_xinput1_4
22925 wine_fn_config_makefile dlls
/xinput9_1_0 enable_xinput9_1_0
22926 wine_fn_config_makefile dlls
/xinputuap enable_xinputuap
22927 wine_fn_config_makefile dlls
/xmllite enable_xmllite
22928 wine_fn_config_makefile dlls
/xmllite
/tests enable_tests
22929 wine_fn_config_makefile dlls
/xolehlp enable_xolehlp
22930 wine_fn_config_makefile dlls
/xpsprint enable_xpsprint
22931 wine_fn_config_makefile dlls
/xpssvcs enable_xpssvcs
22932 wine_fn_config_makefile dlls
/xtajit64 enable_xtajit64
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
" compile_commands.json"
23105 as_fn_append CONFIGURE_TARGETS
" config.log"
23106 as_fn_append CONFIGURE_TARGETS
" config.status"
23107 as_fn_append CONFIGURE_TARGETS
" include/config.h"
23108 as_fn_append CONFIGURE_TARGETS
" include/stamp-h"
23109 test "$wine_binary" = wine || as_fn_append CONFIGURE_TARGETS
" loader/wine"
23111 if test "x$enable_tools" != xno
23113 ac_config_commands
="$ac_config_commands tools/makedep"
23117 ac_config_commands
="$ac_config_commands Makefile"
23125 as_fn_append wine_rules
"
23127 @echo \"Wine build complete.\"
23128 Makefile: config.status
23129 @./config.status Makefile
23130 config.status: ${wine_srcdir}configure
23131 @./config.status --recheck
23132 include/config.h: include/stamp-h
23133 include/stamp-h: ${wine_srcdir}include/config.h.in config.status
23134 @./config.status include/config.h include/stamp-h"
23136 if test "x$enable_maintainer_mode" = xyes
23138 as_fn_append wine_rules
"
23139 configure: configure.ac aclocal.m4
23140 autoconf --warnings=all
23141 include/config.h.in: include/stamp-h.in
23142 include/stamp-h.in: configure.ac aclocal.m4
23143 autoheader --warnings=all
23144 @echo timestamp > \$@"
23148 if test -n "$with_wine64"
23150 case "$with_wine64" in
23154 rm -f fonts server
2>/dev
/null
23155 as_fn_append wine_rules
"
23156 all: loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader
23157 loader/wine64 loader/wine64-preloader:
23158 rm -f \$@ && \$(LN_S) $reldir$with_wine64/\$@ \$@
23159 $with_wine64/loader/wine:
23160 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
23161 $with_wine64/loader/wine-preloader:
23162 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
23164 rm -f loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
23166 TOP_INSTALL_DEV
="$TOP_INSTALL_DEV include"
23167 TOP_INSTALL_LIB
="$TOP_INSTALL_LIB \
23171 programs/msidb/msidb \
23172 programs/msiexec/msiexec \
23173 programs/notepad/notepad \
23174 programs/regedit/regedit \
23175 programs/regsvr32/regsvr32 \
23176 programs/wineboot/wineboot \
23177 programs/winecfg/winecfg \
23178 programs/wineconsole/wineconsole \
23179 programs/winedbg/winedbg \
23180 programs/winefile/winefile \
23181 programs/winemine/winemine \
23182 programs/winepath/winepath \
23186 cygwin
*|mingw32
*|darwin
*|macosx
*|linux-android
*) ;;
23187 *) TOP_INSTALL_LIB
="$TOP_INSTALL_LIB loader/wine.desktop" ;;
23192 as_fn_append wine_rules
"
23194 rm -rf autom4te.cache
23196 rm -f configure include/config.h.in"
23199 as_fn_append wine_rules
"
23200 dlls/ntdll/unix/version.c: dummy
23201 @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)
23202 programs/winetest/build.rc: dummy
23203 @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)
23204 programs/winetest/build.nfo:
23206 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
23207 cd dlls/wineandroid.drv && gradle -q -Psrcdir=$srcdir assembleDebug
23208 mv dlls/wineandroid.drv/build/outputs/apk/wine-debug.apk \$@"
23211 TAGSFLAGS
="--langmap='c:+.idl.l.rh,make:(Make*.in)'"
23213 as_fn_append wine_rules
"
23216 (test -d .git && git ls-files || find -L $srcdir -name '*.[ch]' -print) | xargs etags -a \$(TAGSFLAGS)
23219 (test -d .git && git ls-files || find -L $srcdir -name '*.[ch]' -print) | xargs ctags -a \$(TAGSFLAGS)
23223 printf "%s\n" " done" >&6
23224 cat >confcache
<<\_ACEOF
23225 # This file is a shell script that caches the results of configure
23226 # tests run on this system so they can be shared between configure
23227 # scripts and configure runs, see configure's option --config-cache.
23228 # It is not useful on other systems. If it contains results you don't
23229 # want to keep, you may remove or edit it.
23231 # config.status only pays attention to the cache file if you give it
23232 # the --recheck option to rerun configure.
23234 # `ac_cv_env_foo' variables (set or unset) will be overridden when
23235 # loading this file, other *unset* `ac_cv_foo' will be assigned the
23236 # following values.
23240 # The following way of writing the cache mishandles newlines in values,
23241 # but we know of no workaround that is simple, portable, and efficient.
23242 # So, we kill variables containing newlines.
23243 # Ultrix sh set writes to stderr and can't be redirected directly,
23244 # and sets the high bit in the cache file unless we assign to the vars.
23246 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
23247 eval ac_val
=\$
$ac_var
23251 *_cv_
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
23252 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
23255 _ | IFS | as_nl
) ;; #(
23256 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
23257 *) { eval $ac_var=; unset $ac_var;} ;;
23263 case $as_nl`(ac_space=' '; set) 2>&1` in #(
23264 *${as_nl}ac_space
=\
*)
23265 # `set' does not quote correctly, so add quotes: double-quote
23266 # substitution turns \\\\ into \\, and sed turns \\ into \.
23269 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
23272 # `set' quotes correctly as required by POSIX, so do not add quotes.
23273 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
23282 s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
23284 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
23286 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
23287 if test -w "$cache_file"; then
23288 if test "x$cache_file" != "x/dev/null"; then
23289 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
23290 printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
23291 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
23292 cat confcache
>"$cache_file"
23294 case $cache_file in #(
23296 mv -f confcache
"$cache_file"$$
&&
23297 mv -f "$cache_file"$$
"$cache_file" ;; #(
23299 mv -f confcache
"$cache_file" ;;
23304 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
23305 printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
23310 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
23311 # Let make expand exec_prefix.
23312 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
23314 DEFS
=-DHAVE_CONFIG_H
23319 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
23320 # 1. Remove the extension, and $U if already installed.
23321 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
23322 ac_i
=`printf "%s\n" "$ac_i" | sed "$ac_script"`
23323 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
23324 # will be set to the directory where LIBOBJS objects are built.
23325 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
23326 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
23328 LIBOBJS
=$ac_libobjs
23330 LTLIBOBJS
=$ac_ltlibobjs
23334 : "${CONFIG_STATUS=./config.status}"
23336 ac_clean_files_save
=$ac_clean_files
23337 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
23338 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
23339 printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
23341 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
23343 # Generated by $as_me.
23344 # Run this file to recreate the current configuration.
23345 # Compiler output produced by configure, useful for debugging
23346 # configure, is in config.log if it exists.
23349 ac_cs_recheck=false
23352 SHELL=\${CONFIG_SHELL-$SHELL}
23355 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
23356 ## -------------------- ##
23357 ## M4sh Initialization. ##
23358 ## -------------------- ##
23360 # Be more Bourne compatible
23361 DUALCASE
=1; export DUALCASE
# for MKS sh
23363 if test ${ZSH_VERSION+y} && (emulate sh
) >/dev
/null
2>&1
23367 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23368 # is contrary to our usage. Disable this feature.
23369 alias -g '${1+"$@"}'='"$@"'
23370 setopt NO_GLOB_SUBST
23372 case `(set -o) 2>/dev/null` in #(
23382 # Reset variables that may have inherited troublesome values from
23385 # IFS needs to be set, to space, tab, and newline, in precisely that order.
23386 # (If _AS_PATH_WALK were called with IFS unset, it would have the
23387 # side effect of setting IFS to empty, thus disabling word splitting.)
23388 # Quoting is to prevent editors from complaining about space-tab.
23398 # Ensure predictable behavior from utilities with locale-dependent output.
23404 # We cannot yet rely on "unset" to work, but we need these variables
23405 # to be unset--not just set to an empty or harmless value--now, to
23406 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
23407 # also avoids known problems related to "unset" and subshell syntax
23408 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
23409 for as_var
in BASH_ENV ENV MAIL MAILPATH CDPATH
23410 do eval test \
${$as_var+y} \
23411 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
23414 # Ensure that fds 0, 1, and 2 are open.
23415 if (exec 3>&0) 2>/dev
/null
; then :; else exec 0</dev
/null
; fi
23416 if (exec 3>&1) 2>/dev
/null
; then :; else exec 1>/dev
/null
; fi
23417 if (exec 3>&2) ; then :; else exec 2>/dev
/null
; fi
23419 # The user is always right.
23420 if ${PATH_SEPARATOR+false} :; then
23422 (PATH
='/bin;/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 && {
23423 (PATH
='/bin:/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 ||
23429 # Find who we are. Look in the path if we contain no directory separator.
23432 *[\\/]* ) as_myself
=$0 ;;
23433 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
23434 for as_dir
in $PATH
23437 case $as_dir in #(((
23440 *) as_dir
=$as_dir/ ;;
23442 test -r "$as_dir$0" && as_myself
=$as_dir$0 && break
23448 # We did not find ourselves, most probably we were run as `sh COMMAND'
23449 # in which case we are not to be found in the path.
23450 if test "x$as_myself" = x
; then
23453 if test ! -f "$as_myself"; then
23454 printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
23460 # as_fn_error STATUS ERROR [LINENO LOG_FD]
23461 # ----------------------------------------
23462 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
23463 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
23464 # script with STATUS, using 1 if that was 0.
23467 as_status
=$1; test $as_status -eq 0 && as_status
=1
23469 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
23470 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
23472 printf "%s\n" "$as_me: error: $2" >&2
23473 as_fn_exit
$as_status
23478 # as_fn_set_status STATUS
23479 # -----------------------
23480 # Set $? to STATUS, without forking.
23481 as_fn_set_status
()
23484 } # as_fn_set_status
23486 # as_fn_exit STATUS
23487 # -----------------
23488 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
23492 as_fn_set_status
$1
23498 # Portably unset VAR.
23501 { eval $1=; unset $1;}
23503 as_unset
=as_fn_unset
23505 # as_fn_append VAR VALUE
23506 # ----------------------
23507 # Append the text in VALUE to the end of the definition contained in VAR. Take
23508 # advantage of any shell optimizations that allow amortized linear growth over
23509 # repeated appends, instead of the typical quadratic growth present in naive
23511 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
23513 eval 'as_fn_append ()
23524 # as_fn_arith ARG...
23525 # ------------------
23526 # Perform arithmetic evaluation on the ARGs, and store the result in the
23527 # global $as_val. Take advantage of shells that can avoid forks. The arguments
23528 # must be portable across $(()) and expr.
23529 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
23531 eval 'as_fn_arith ()
23538 as_val
=`expr "$@" || test $? -eq 1`
23543 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
23544 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
23550 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
23551 as_basename
=basename
23556 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
23562 as_me
=`$as_basename -- "$0" ||
23563 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
23564 X"$0" : 'X\(//\)$' \| \
23565 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
23566 printf "%s\n" X/"$0" |
23567 sed '/^.*\/\([^/][^/]*\)\/*$/{
23581 # Avoid depending upon Character Ranges.
23582 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
23583 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
23584 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
23585 as_cr_digits
='0123456789'
23586 as_cr_alnum
=$as_cr_Letters$as_cr_digits
23589 # Determine whether it's possible to make 'echo' print without a newline.
23590 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
23591 # for compatibility with existing Makefiles.
23592 ECHO_C
= ECHO_N
= ECHO_T
=
23593 case `echo -n x` in #(((((
23595 case `echo 'xy\c'` in
23596 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
23598 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
23605 # For backward compatibility with old third-party macros, we provide
23606 # the shell variables $as_echo and $as_echo_n. New code should use
23607 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
23608 as_echo
='printf %s\n'
23609 as_echo_n
='printf %s'
23611 rm -f conf$$ conf$$.exe conf$$.
file
23612 if test -d conf$$.dir
; then
23613 rm -f conf$$.dir
/conf$$.
file
23616 mkdir conf$$.dir
2>/dev
/null
23618 if (echo >conf$$.
file) 2>/dev
/null
; then
23619 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
23621 # ... but there are two gotchas:
23622 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
23623 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
23624 # In both cases, we have to default to `cp -pR'.
23625 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
23627 elif ln conf$$.
file conf$$
2>/dev
/null
; then
23635 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
23636 rmdir conf$$.dir
2>/dev
/null
23641 # Create "$as_dir" as a directory, including parents if necessary.
23646 -*) as_dir
=.
/$as_dir;;
23648 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
23652 *\'*) as_qdir
=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
23653 *) as_qdir
=$as_dir;;
23655 as_dirs
="'$as_qdir' $as_dirs"
23656 as_dir
=`$as_dirname -- "$as_dir" ||
23657 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23658 X"$as_dir" : 'X\(//\)[^/]' \| \
23659 X"$as_dir" : 'X\(//\)$' \| \
23660 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
23661 printf "%s\n" X"$as_dir" |
23662 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23666 /^X\(\/\/\)[^/].*/{
23679 test -d "$as_dir" && break
23681 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
23682 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
23686 if mkdir
-p .
2>/dev
/null
; then
23687 as_mkdir_p
='mkdir -p "$as_dir"'
23689 test -d .
/-p && rmdir .
/-p
23694 # as_fn_executable_p FILE
23695 # -----------------------
23696 # Test if FILE is an executable regular file.
23697 as_fn_executable_p
()
23699 test -f "$1" && test -x "$1"
23700 } # as_fn_executable_p
23701 as_test_x
='test -x'
23702 as_executable_p
=as_fn_executable_p
23704 # Sed expression to map a string onto a valid CPP name.
23705 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
23707 # Sed expression to map a string onto a valid variable name.
23708 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
23712 ## ----------------------------------- ##
23713 ## Main body of $CONFIG_STATUS script. ##
23714 ## ----------------------------------- ##
23716 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
23718 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
23719 # Save the log message, to keep $0 and so on meaningful, and to
23720 # report actual input values of CONFIG_FILES etc. instead of their
23721 # values after options handling.
23723 This file was extended by Wine $as_me 9.13, which was
23724 generated by GNU Autoconf 2.71. Invocation command line was
23726 CONFIG_FILES = $CONFIG_FILES
23727 CONFIG_HEADERS = $CONFIG_HEADERS
23728 CONFIG_LINKS = $CONFIG_LINKS
23729 CONFIG_COMMANDS = $CONFIG_COMMANDS
23732 on `(hostname || uname -n) 2>/dev/null | sed 1q`
23738 case $ac_config_headers in *"
23739 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
23743 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23744 # Files that config.status was made for.
23745 config_headers="$ac_config_headers"
23746 config_links="$ac_config_links"
23747 config_commands="$ac_config_commands"
23751 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
23753 \`$as_me' instantiates files and other configuration actions
23754 from templates according to the current configuration. Unless the files
23755 and actions are specified as TAGs, all are instantiated by default.
23757 Usage: $0 [OPTION]... [TAG]...
23759 -h, --help print this help, then exit
23760 -V, --version print version number and configuration settings, then exit
23761 --config print configuration, then exit
23762 -q, --quiet, --silent
23763 do not print progress messages
23764 -d, --debug don't remove temporary files
23765 --recheck update $as_me by reconfiguring in the same conditions
23766 --header=FILE[:TEMPLATE]
23767 instantiate the configuration header FILE
23769 Configuration headers:
23772 Configuration links:
23775 Configuration commands:
23778 Report bugs to <wine-devel@winehq.org>.
23779 Wine home page: <https://www.winehq.org>."
23782 ac_cs_config
=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
23783 ac_cs_config_escaped
=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
23784 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23785 ac_cs_config='$ac_cs_config_escaped'
23787 Wine config.status 9.13
23788 configured by $0, generated by GNU Autoconf 2.71,
23789 with options \\"\$ac_cs_config\\"
23791 Copyright (C) 2021 Free Software Foundation, Inc.
23792 This config.status script is free software; the Free Software Foundation
23793 gives unlimited permission to copy, distribute and modify it."
23797 test -n "\$AWK" || AWK=awk
23800 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
23801 # The default lists apply if the user does not specify any file.
23807 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
23808 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
23812 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
23824 # Handling of the options.
23825 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
23827 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
23828 printf "%s\n" "$ac_cs_version"; exit ;;
23829 --config |
--confi |
--conf |
--con |
--co |
--c )
23830 printf "%s\n" "$ac_cs_config"; exit ;;
23831 --debug |
--debu |
--deb |
--de |
--d |
-d )
23833 --header |
--heade |
--head |
--hea )
23836 *\'*) ac_optarg
=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
23838 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
23839 ac_need_defaults
=false
;;
23841 # Conflict between --help and --header
23842 as_fn_error $?
"ambiguous option: \`$1'
23843 Try \`$0 --help' for more information.";;
23844 --help |
--hel |
-h )
23845 printf "%s\n" "$ac_cs_usage"; exit ;;
23846 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
23847 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
23850 # This is an error.
23851 -*) as_fn_error $?
"unrecognized option: \`$1'
23852 Try \`$0 --help' for more information." ;;
23854 *) as_fn_append ac_config_targets
" $1"
23855 ac_need_defaults
=false
;;
23861 ac_configure_extra_args
=
23863 if $ac_cs_silent; then
23865 ac_configure_extra_args
="$ac_configure_extra_args --silent"
23869 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23870 if \$ac_cs_recheck; then
23871 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
23873 \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
23874 CONFIG_SHELL='$SHELL'
23875 export CONFIG_SHELL
23880 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
23884 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
23885 ## Running $as_me. ##
23887 printf "%s\n" "$ac_log"
23891 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23895 wine_fn_output_makedep ()
23897 as_dir=tools; as_fn_mkdir_p
23898 $CC -c -I${wine_srcdir}tools -Iinclude -I${wine_srcdir}include -D__WINESRC__ -DWINE_UNIX_LIB $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep.o ${wine_srcdir}tools/makedep.c
23899 $CC -o tools/makedep$ac_exeext tools/makedep.o $LDFLAGS
23901 wine_fn_output_makefile ()
23903 cat <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && "$wine_makedep"$makedep_flags && return
23904 # This Makefile understands the following targets:
23906 # all (default): build wine
23907 # clean: remove all intermediate files
23908 # distclean: also remove all files created by configure
23910 # testclean: clean test results to force running all tests again
23911 # install-lib: install libraries needed to run applications
23912 # install-dev: install development environment
23913 # install: install everything
23914 # uninstall: uninstall everything
23915 # ctags: create a tags file for vim and others.
23916 # etags: create a TAGS file for Emacs.
23919 PATH_SEPARATOR = $PATH_SEPARATOR
23920 PACKAGE_NAME = $PACKAGE_NAME
23921 PACKAGE_TARNAME = $PACKAGE_TARNAME
23922 PACKAGE_VERSION = $PACKAGE_VERSION
23923 PACKAGE_STRING = $PACKAGE_STRING
23924 PACKAGE_BUGREPORT = $PACKAGE_BUGREPORT
23925 PACKAGE_URL = $PACKAGE_URL
23926 exec_prefix = $exec_prefix
23928 program_transform_name = $program_transform_name
23931 libexecdir = $libexecdir
23932 datarootdir = $datarootdir
23934 sysconfdir = $sysconfdir
23935 sharedstatedir = $sharedstatedir
23936 localstatedir = $localstatedir
23937 runstatedir = $runstatedir
23938 includedir = $includedir
23939 oldincludedir = $oldincludedir
23947 localedir = $localedir
23954 build_alias = $build_alias
23955 host_alias = $host_alias
23956 target_alias = $target_alias
23957 system_dllpath = $system_dllpath
23959 build_cpu = $build_cpu
23960 build_vendor = $build_vendor
23961 build_os = $build_os
23963 host_cpu = $host_cpu
23964 host_vendor = $host_vendor
23967 SET_MAKE = $SET_MAKE
23971 CPPFLAGS = $CPPFLAGS
23972 ac_ct_CC = $ac_ct_CC
23976 CXXFLAGS = $CXXFLAGS
23977 ac_ct_CXX = $ac_ct_CXX
23980 TARGETFLAGS = $TARGETFLAGS
23981 toolsext = $toolsext
23982 HOST_ARCH = $HOST_ARCH
23983 aarch64_CC = $aarch64_CC
23984 aarch64_CFLAGS = $aarch64_CFLAGS
23985 aarch64_EXTRACFLAGS = $aarch64_EXTRACFLAGS
23986 aarch64_LDFLAGS = $aarch64_LDFLAGS
23987 aarch64_DEBUG = $aarch64_DEBUG
23988 aarch64_TARGET = $aarch64_TARGET
23989 aarch64_DELAYLOADFLAG = $aarch64_DELAYLOADFLAG
23990 aarch64_DISABLED_SUBDIRS = $aarch64_DISABLED_SUBDIRS
23992 arm_CFLAGS = $arm_CFLAGS
23993 arm_EXTRACFLAGS = $arm_EXTRACFLAGS
23994 arm_LDFLAGS = $arm_LDFLAGS
23995 arm_DEBUG = $arm_DEBUG
23996 arm_TARGET = $arm_TARGET
23997 arm_DELAYLOADFLAG = $arm_DELAYLOADFLAG
23998 arm_DISABLED_SUBDIRS = $arm_DISABLED_SUBDIRS
23999 arm64ec_CC = $arm64ec_CC
24000 arm64ec_CFLAGS = $arm64ec_CFLAGS
24001 arm64ec_EXTRACFLAGS = $arm64ec_EXTRACFLAGS
24002 arm64ec_LDFLAGS = $arm64ec_LDFLAGS
24003 arm64ec_DEBUG = $arm64ec_DEBUG
24004 arm64ec_TARGET = $arm64ec_TARGET
24005 arm64ec_DELAYLOADFLAG = $arm64ec_DELAYLOADFLAG
24006 arm64ec_DISABLED_SUBDIRS = $arm64ec_DISABLED_SUBDIRS
24008 i386_CFLAGS = $i386_CFLAGS
24009 i386_EXTRACFLAGS = $i386_EXTRACFLAGS
24010 i386_LDFLAGS = $i386_LDFLAGS
24011 i386_DEBUG = $i386_DEBUG
24012 i386_TARGET = $i386_TARGET
24013 i386_DELAYLOADFLAG = $i386_DELAYLOADFLAG
24014 i386_DISABLED_SUBDIRS = $i386_DISABLED_SUBDIRS
24015 x86_64_CC = $x86_64_CC
24016 x86_64_CFLAGS = $x86_64_CFLAGS
24017 x86_64_EXTRACFLAGS = $x86_64_EXTRACFLAGS
24018 x86_64_LDFLAGS = $x86_64_LDFLAGS
24019 x86_64_DEBUG = $x86_64_DEBUG
24020 x86_64_TARGET = $x86_64_TARGET
24021 x86_64_DELAYLOADFLAG = $x86_64_DELAYLOADFLAG
24022 x86_64_DISABLED_SUBDIRS = $x86_64_DISABLED_SUBDIRS
24023 toolsdir = $toolsdir
24024 RUNTESTFLAGS = $RUNTESTFLAGS
24029 ac_ct_AR = $ac_ct_AR
24035 LDCONFIG = $LDCONFIG
24037 PKG_CONFIG = $PKG_CONFIG
24038 FONTFORGE = $FONTFORGE
24042 I386_LIBS = $I386_LIBS
24043 OPENGL_LIBS = $OPENGL_LIBS
24044 DLLFLAGS = $DLLFLAGS
24045 LDDLLFLAGS = $LDDLLFLAGS
24046 LDEXECFLAGS = $LDEXECFLAGS
24047 EXTRACFLAGS = $EXTRACFLAGS
24048 UNIXDLLFLAGS = $UNIXDLLFLAGS
24049 UNIXLDFLAGS = $UNIXLDFLAGS
24050 TOP_INSTALL_LIB = $TOP_INSTALL_LIB
24051 TOP_INSTALL_DEV = $TOP_INSTALL_DEV
24052 WINELOADER_LDFLAGS = $WINELOADER_LDFLAGS
24053 WINEPRELOADER_LDFLAGS = $WINEPRELOADER_LDFLAGS
24059 DISABLED_SUBDIRS = $DISABLED_SUBDIRS
24060 CONFIGURE_TARGETS = $CONFIGURE_TARGETS
24061 CARBON_LIBS = $CARBON_LIBS
24062 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
24063 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
24064 IOKIT_LIBS = $IOKIT_LIBS
24065 METAL_LIBS = $METAL_LIBS
24066 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
24067 CORESERVICES_LIBS = $CORESERVICES_LIBS
24068 APPKIT_LIBS = $APPKIT_LIBS
24069 SECURITY_LIBS = $SECURITY_LIBS
24070 SYSTEMCONFIGURATION_LIBS = $SYSTEMCONFIGURATION_LIBS
24071 COREAUDIO_LIBS = $COREAUDIO_LIBS
24072 OPENCL_LIBS = $OPENCL_LIBS
24074 OBJCFLAGS = $OBJCFLAGS
24075 ac_ct_OBJC = $ac_ct_OBJC
24076 WINELOADER_DEPENDS = $WINELOADER_DEPENDS
24077 PE_ARCHS = $PE_ARCHS
24078 MINGW_PKG_CONFIG = $MINGW_PKG_CONFIG
24079 FAUDIO_PE_CFLAGS = $FAUDIO_PE_CFLAGS
24080 FAUDIO_PE_LIBS = $FAUDIO_PE_LIBS
24081 FLUIDSYNTH_PE_CFLAGS = $FLUIDSYNTH_PE_CFLAGS
24082 FLUIDSYNTH_PE_LIBS = $FLUIDSYNTH_PE_LIBS
24083 GSM_PE_CFLAGS = $GSM_PE_CFLAGS
24084 GSM_PE_LIBS = $GSM_PE_LIBS
24085 JPEG_PE_CFLAGS = $JPEG_PE_CFLAGS
24086 JPEG_PE_LIBS = $JPEG_PE_LIBS
24087 JXR_PE_CFLAGS = $JXR_PE_CFLAGS
24088 JXR_PE_LIBS = $JXR_PE_LIBS
24089 LCMS2_PE_CFLAGS = $LCMS2_PE_CFLAGS
24090 LCMS2_PE_LIBS = $LCMS2_PE_LIBS
24091 LDAP_PE_CFLAGS = $LDAP_PE_CFLAGS
24092 LDAP_PE_LIBS = $LDAP_PE_LIBS
24093 MPG123_PE_CFLAGS = $MPG123_PE_CFLAGS
24094 MPG123_PE_LIBS = $MPG123_PE_LIBS
24095 MUSL_PE_CFLAGS = $MUSL_PE_CFLAGS
24096 MUSL_PE_LIBS = $MUSL_PE_LIBS
24097 PNG_PE_CFLAGS = $PNG_PE_CFLAGS
24098 PNG_PE_LIBS = $PNG_PE_LIBS
24099 TIFF_PE_CFLAGS = $TIFF_PE_CFLAGS
24100 TIFF_PE_LIBS = $TIFF_PE_LIBS
24101 VKD3D_PE_CFLAGS = $VKD3D_PE_CFLAGS
24102 VKD3D_PE_LIBS = $VKD3D_PE_LIBS
24103 XML2_PE_CFLAGS = $XML2_PE_CFLAGS
24104 XML2_PE_LIBS = $XML2_PE_LIBS
24105 XSLT_PE_CFLAGS = $XSLT_PE_CFLAGS
24106 XSLT_PE_LIBS = $XSLT_PE_LIBS
24107 ZLIB_PE_CFLAGS = $ZLIB_PE_CFLAGS
24108 ZLIB_PE_LIBS = $ZLIB_PE_LIBS
24109 ZYDIS_PE_CFLAGS = $ZYDIS_PE_CFLAGS
24110 ZYDIS_PE_LIBS = $ZYDIS_PE_LIBS
24111 PTHREAD_LIBS = $PTHREAD_LIBS
24114 X_CFLAGS = $X_CFLAGS
24115 X_PRE_LIBS = $X_PRE_LIBS
24117 X_EXTRA_LIBS = $X_EXTRA_LIBS
24118 WAYLAND_CLIENT_CFLAGS = $WAYLAND_CLIENT_CFLAGS
24119 WAYLAND_CLIENT_LIBS = $WAYLAND_CLIENT_LIBS
24120 WAYLAND_SCANNER = $WAYLAND_SCANNER
24121 XKBCOMMON_CFLAGS = $XKBCOMMON_CFLAGS
24122 XKBCOMMON_LIBS = $XKBCOMMON_LIBS
24123 XKBREGISTRY_CFLAGS = $XKBREGISTRY_CFLAGS
24124 XKBREGISTRY_LIBS = $XKBREGISTRY_LIBS
24125 EGL_CFLAGS = $EGL_CFLAGS
24126 EGL_LIBS = $EGL_LIBS
24127 WAYLAND_EGL_CFLAGS = $WAYLAND_EGL_CFLAGS
24128 WAYLAND_EGL_LIBS = $WAYLAND_EGL_LIBS
24129 PCAP_LIBS = $PCAP_LIBS
24130 PCSCLITE_LIBS = $PCSCLITE_LIBS
24131 ODBC_CFLAGS = $ODBC_CFLAGS
24132 ODBC_LIBS = $ODBC_LIBS
24133 INOTIFY_CFLAGS = $INOTIFY_CFLAGS
24134 INOTIFY_LIBS = $INOTIFY_LIBS
24135 DBUS_CFLAGS = $DBUS_CFLAGS
24136 DBUS_LIBS = $DBUS_LIBS
24137 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
24138 GNUTLS_LIBS = $GNUTLS_LIBS
24139 SANE_CFLAGS = $SANE_CFLAGS
24140 SANE_LIBS = $SANE_LIBS
24141 USB_CFLAGS = $USB_CFLAGS
24142 USB_LIBS = $USB_LIBS
24143 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
24144 GPHOTO2_LIBS = $GPHOTO2_LIBS
24145 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
24146 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
24147 RESOLV_LIBS = $RESOLV_LIBS
24148 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
24149 FREETYPE_LIBS = $FREETYPE_LIBS
24150 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
24151 PULSE_CFLAGS = $PULSE_CFLAGS
24152 PULSE_LIBS = $PULSE_LIBS
24153 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
24154 GSTREAMER_LIBS = $GSTREAMER_LIBS
24155 ALSA_LIBS = $ALSA_LIBS
24156 OSS4_CFLAGS = $OSS4_CFLAGS
24157 OSS4_LIBS = $OSS4_LIBS
24158 UDEV_CFLAGS = $UDEV_CFLAGS
24159 UDEV_LIBS = $UDEV_LIBS
24160 UNWIND_CFLAGS = $UNWIND_CFLAGS
24161 UNWIND_LIBS = $UNWIND_LIBS
24162 SDL2_CFLAGS = $SDL2_CFLAGS
24163 SDL2_LIBS = $SDL2_LIBS
24164 CAPI20_CFLAGS = $CAPI20_CFLAGS
24165 CAPI20_LIBS = $CAPI20_LIBS
24166 CUPS_CFLAGS = $CUPS_CFLAGS
24167 CUPS_LIBS = $CUPS_LIBS
24168 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
24169 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
24170 KRB5_CFLAGS = $KRB5_CFLAGS
24171 KRB5_LIBS = $KRB5_LIBS
24172 GSSAPI_CFLAGS = $GSSAPI_CFLAGS
24173 GSSAPI_LIBS = $GSSAPI_LIBS
24174 PROCSTAT_LIBS = $PROCSTAT_LIBS
24175 NETAPI_CFLAGS = $NETAPI_CFLAGS
24176 NETAPI_LIBS = $NETAPI_LIBS
24177 MSVCRTFLAGS = $MSVCRTFLAGS
24178 DELAYLOADFLAG = $DELAYLOADFLAG
24179 WINELOADER_PROGRAMS = $WINELOADER_PROGRAMS
24181 TAGSFLAGS = $TAGSFLAGS
24183 LTLIBOBJS = $LTLIBOBJS
24187 as_fn_error $? "could not create Makefile" "$LINENO" 5
24192 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
24194 # Handling of arguments.
24195 for ac_config_target
in $ac_config_targets
24197 case $ac_config_target in
24198 "include/config.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/config.h" ;;
24199 "include/stamp-h") CONFIG_COMMANDS
="$CONFIG_COMMANDS include/stamp-h" ;;
24200 "wine") CONFIG_LINKS
="$CONFIG_LINKS wine:tools/winewrapper" ;;
24201 "wine64") CONFIG_LINKS
="$CONFIG_LINKS wine64:tools/winewrapper" ;;
24202 "tools/makedep") CONFIG_COMMANDS
="$CONFIG_COMMANDS tools/makedep" ;;
24203 "Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS Makefile" ;;
24205 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
24210 # If the user did not use the arguments to specify the items to instantiate,
24211 # then the envvar interface is used. Set only those that are not.
24212 # We use the long form for the default assignment because of an extremely
24213 # bizarre bug on SunOS 4.1.3.
24214 if $ac_need_defaults; then
24215 test ${CONFIG_HEADERS+y} || CONFIG_HEADERS
=$config_headers
24216 test ${CONFIG_LINKS+y} || CONFIG_LINKS
=$config_links
24217 test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS
=$config_commands
24220 # Have a temporary directory for convenience. Make it in the build tree
24221 # simply because there is no reason against having it here, and in addition,
24222 # creating and moving files from /tmp can sometimes cause problems.
24223 # Hook for its removal unless debugging.
24224 # Note that there is a small window in which the directory will not be cleaned:
24225 # after its creation but before its name has been assigned to `$tmp'.
24229 trap 'exit_status=$?
24230 : "${ac_tmp:=$tmp}"
24231 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
24233 trap 'as_fn_exit 1' 1 2 13 15
24235 # Create a (secure) tmp directory for tmp files.
24238 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
24242 tmp
=.
/conf$$
-$RANDOM
24243 (umask 077 && mkdir
"$tmp")
24244 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
24247 # Set up the scripts for CONFIG_HEADERS section.
24248 # No need to generate them if there are no CONFIG_HEADERS.
24249 # This happens for instance with `./config.status Makefile'.
24250 if test -n "$CONFIG_HEADERS"; then
24251 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
24255 # Transform confdefs.h into an awk script `defines.awk', embedded as
24256 # here-document in config.status, that substitutes the proper values into
24257 # config.h.in to produce config.h.
24259 # Create a delimiter string that does not exist in confdefs.h, to ease
24260 # handling of long lines.
24262 for ac_last_try
in false false
:; do
24263 ac_tt
=`sed -n "/$ac_delim/p" confdefs.h`
24264 if test -z "$ac_tt"; then
24266 elif $ac_last_try; then
24267 as_fn_error $?
"could not make $CONFIG_HEADERS" "$LINENO" 5
24269 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
24273 # For the awk script, D is an array of macro values keyed by name,
24274 # likewise P contains macro parameters if any. Preserve backslash
24275 # newline sequences.
24277 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
24279 s/.\{148\}/&'"$ac_delim"'/g
24282 s/^[ ]*#[ ]*define[ ][ ]*/ /
24289 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
24291 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
24295 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
24296 D["\1"]=" \3\\\\\\n"\\/p
24298 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
24303 s/.\{148\}/&'"$ac_delim"'/g
24308 s/["\\]/\\&/g; s/^/"/; s/$/"/p
24311 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
24313 ' <confdefs.h |
sed '
24314 s/'"$ac_delim"'/"\\\
24315 "/g' >>$CONFIG_STATUS || ac_write_fail
=1
24317 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
24318 for (key in D) D_is_set[key] = 1
24321 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
24323 split(line, arg, " ")
24324 if (arg[1] == "#") {
24328 defundef = substr(arg[1], 2)
24331 split(mac1, mac2, "(") #)
24333 prefix = substr(line, 1, index(line, defundef) - 1)
24334 if (D_is_set[macro]) {
24335 # Preserve the white space surrounding the "#".
24336 print prefix "define", macro P[macro] D[macro]
24339 # Replace #undef with comments. This is necessary, for example,
24340 # in the case of _POSIX_SOURCE, which is predefined and required
24341 # on some systems where configure will not decide to define it.
24342 if (defundef == "undef") {
24343 print "/*", prefix defundef, macro, "*/"
24351 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
24352 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
24353 fi # test -n "$CONFIG_HEADERS"
24356 eval set X
" :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
24361 :[FHLC
]) ac_mode
=$ac_tag; continue;;
24363 case $ac_mode$ac_tag in
24365 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
24366 :[FH
]-) ac_tag
=-:-;;
24367 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
24384 -) ac_f
="$ac_tmp/stdin";;
24385 *) # Look for the file first in the build tree, then in the source tree
24386 # (if the path is not absolute). The absolute path cannot be DOS-style,
24387 # because $ac_f cannot contain `:'.
24391 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
24393 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
24395 case $ac_f in *\'*) ac_f
=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
24396 as_fn_append ac_file_inputs
" '$ac_f'"
24399 # Let's still pretend it is `configure' which instantiates (i.e., don't
24400 # use $as_me), people would be surprised to read:
24401 # /* config.h. Generated by config.status. */
24402 configure_input
='Generated from '`
24403 printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
24405 if test x
"$ac_file" != x-
; then
24406 configure_input
="$ac_file. $configure_input"
24407 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
24408 printf "%s\n" "$as_me: creating $ac_file" >&6;}
24410 # Neutralize special characters interpreted by sed in replacement strings.
24411 case $configure_input in #(
24412 *\
&* |
*\|
* |
*\\* )
24413 ac_sed_conf_input
=`printf "%s\n" "$configure_input" |
24414 sed 's/[\\\\&|]/\\\\&/g'`;; #(
24415 *) ac_sed_conf_input
=$configure_input;;
24419 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
24420 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
24425 ac_dir
=`$as_dirname -- "$ac_file" ||
24426 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24427 X"$ac_file" : 'X\(//\)[^/]' \| \
24428 X"$ac_file" : 'X\(//\)$' \| \
24429 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
24430 printf "%s\n" X"$ac_file" |
24431 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
24435 /^X\(\/\/\)[^/].*/{
24448 as_dir
="$ac_dir"; as_fn_mkdir_p
24452 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
24454 ac_dir_suffix
=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
24455 # A ".." for each directory in $ac_dir_suffix.
24456 ac_top_builddir_sub
=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
24457 case $ac_top_builddir_sub in
24458 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
24459 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
24462 ac_abs_top_builddir
=$ac_pwd
24463 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
24464 # for backward compatibility:
24465 ac_top_builddir
=$ac_top_build_prefix
24468 .
) # We are building in place.
24470 ac_top_srcdir
=$ac_top_builddir_sub
24471 ac_abs_top_srcdir
=$ac_pwd ;;
24472 [\\/]* | ?
:[\\/]* ) # Absolute name.
24473 ac_srcdir
=$srcdir$ac_dir_suffix;
24474 ac_top_srcdir
=$srcdir
24475 ac_abs_top_srcdir
=$srcdir ;;
24476 *) # Relative name.
24477 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
24478 ac_top_srcdir
=$ac_top_build_prefix$srcdir
24479 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
24481 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
24490 if test x
"$ac_file" != x-
; then
24492 printf "%s\n" "/* $configure_input */" >&1 \
24493 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
24494 } >"$ac_tmp/config.h" \
24495 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5
24496 if diff "$ac_file" "$ac_tmp/config.h" >/dev
/null
2>&1; then
24497 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
24498 printf "%s\n" "$as_me: $ac_file is unchanged" >&6;}
24501 mv "$ac_tmp/config.h" "$ac_file" \
24502 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5
24505 printf "%s\n" "/* $configure_input */" >&1 \
24506 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
24507 || as_fn_error $?
"could not create -" "$LINENO" 5
24515 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
24518 # Prefer the file from the source tree if names are identical.
24519 if test "$ac_source" = "$ac_file" ||
test ! -r "$ac_source"; then
24520 ac_source
=$srcdir/$ac_source
24523 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
24524 printf "%s\n" "$as_me: linking $ac_source to $ac_file" >&6;}
24526 if test ! -r "$ac_source"; then
24527 as_fn_error $?
"$ac_source: file not found" "$LINENO" 5
24531 # Try a relative symlink, then a hard link, then a copy.
24533 [\\/$
]* | ?
:[\\/]* ) ac_rel_source
=$ac_source ;;
24534 *) ac_rel_source
=$ac_top_build_prefix$ac_source ;;
24536 ln -s "$ac_rel_source" "$ac_file" 2>/dev
/null ||
24537 ln "$ac_source" "$ac_file" 2>/dev
/null ||
24538 cp -p "$ac_source" "$ac_file" ||
24539 as_fn_error $?
"cannot link or copy $ac_source to $ac_file" "$LINENO" 5
24542 :C
) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
24543 printf "%s\n" "$as_me: executing $ac_file commands" >&6;}
24548 case $ac_file$ac_mode in
24549 "include/stamp-h":C
) echo timestamp
> include
/stamp-h
;;
24550 "tools/makedep":C
) wine_fn_output_makedep || as_fn_exit $?
;;
24551 "Makefile":C
) wine_fn_output_makefile Makefile
;;
24559 ac_clean_files
=$ac_clean_files_save
24561 test $ac_write_fail = 0 ||
24562 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
24565 # configure is writing to config.log, and then calls config.status.
24566 # config.status does its own redirection, appending to config.log.
24567 # Unfortunately, on DOS this fails, as config.log is still kept open
24568 # by configure, so config.status won't be able to write to it; its
24569 # output is simply discarded. So we exec the FD to /dev/null,
24570 # effectively closing config.log, so it can be properly (re)opened and
24571 # appended to by config.status. When coming back to configure, we
24572 # need to make the FD available again.
24573 if test "$no_create" != yes; then
24575 ac_config_status_args
=
24576 test "$silent" = yes &&
24577 ac_config_status_args
="$ac_config_status_args --quiet"
24579 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
24581 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
24582 # would make configure fail if this is the last instruction.
24583 $ac_cs_success || as_fn_exit
1
24585 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
24586 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
24587 printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
24591 if test "$no_create" = "yes"
24597 if test "x$wine_notices" != x
; then
24600 for msg
in $wine_notices; do
24606 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $msg" >&5
24607 printf "%s\n" "$as_me: $msg" >&6;}
24612 for msg
in $wine_warnings; do
24619 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
24620 printf "%s\n" "$as_me: WARNING: $msg" >&2;}
24626 $as_me: Finished. Do '${ac_make}' to compile Wine.