2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 3.2.
5 # Report bugs to <wine-devel@winehq.org>.
8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
17 # Be more Bourne compatible
18 DUALCASE
=1; export DUALCASE
# for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
27 case `(set -o) 2>/dev/null` in #(
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo_n='print
-rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
55 as_echo_n='/usr
/ucb
/echo -n'
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
65 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
68 as_echo_n='sh
-c $as_echo_n_body as_echo
'
71 as_echo='sh
-c $as_echo_body as_echo
'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
77 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
91 # Find who we are. Look in the path if we contain no directory separator.
94 *[\\/]* ) as_myself=$0 ;;
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
99 test -z "$as_dir" && as_dir=.
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 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there. '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var
in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\
${$as_var+set} = xset \
122 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
135 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
137 # Use a proper internal environment variable to ensure we don't fall
138 # into an infinite loop, continuously re-executing ourselves.
139 if test x
"${_as_can_reexec}" != xno
&& test "x$CONFIG_SHELL" != x
; then
140 _as_can_reexec
=no
; export _as_can_reexec
;
141 # We cannot yet assume a decent shell, so we have to provide a
142 # neutralization value for shells without unset; and this also
143 # works around shells that cannot unset nonexistent variables.
144 # Preserve -v and -x to the replacement shell.
147 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
149 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155 # Admittedly, this is quite paranoid, since all the known shells bail
156 # out after a failed `exec'.
157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
160 # We don't want this to propagate to other subprocesses.
161 { _as_can_reexec
=; unset _as_can_reexec
;}
162 if test "x$CONFIG_SHELL" = x
; then
163 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
166 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167 # is contrary to our usage. Disable this feature.
168 alias -g '\${1+\"\$@\"}'='\"\$@\"'
171 case \`(set -o) 2>/dev/null\` in #(
179 as_required
="as_fn_return () { (exit \$1); }
180 as_fn_success () { as_fn_return 0; }
181 as_fn_failure () { as_fn_return 1; }
182 as_fn_ret_success () { return 0; }
183 as_fn_ret_failure () { return 1; }
186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
193 exitcode=1; echo positional parameters were not saved.
195 test x\$exitcode = x0 || exit 1
197 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
198 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
199 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
201 test \$(( 1 + 1 )) = 2 || exit 1"
202 if (eval "$as_required") 2>/dev
/null
; then :
207 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
210 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
212 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
215 test -z "$as_dir" && as_dir
=.
219 for as_base
in sh bash ksh sh5
; do
220 # Try only shells that exist, to save several forks.
221 as_shell
=$as_dir/$as_base
222 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
223 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
224 CONFIG_SHELL
=$as_shell as_have_required
=yes
225 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
233 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
234 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
235 CONFIG_SHELL
=$SHELL as_have_required
=yes
240 if test "x$CONFIG_SHELL" != x
; then :
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 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
262 if test x
$as_have_required = xno
; then :
263 $as_echo "$0: This script requires a shell more modern than all"
264 $as_echo "$0: the shells that I found on your system."
265 if test x
${ZSH_VERSION+set} = xset
; then
266 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
267 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
269 $as_echo "$0: Please tell bug-autoconf@gnu.org and
270 $0: wine-devel@winehq.org about your system, including any
271 $0: error possibly output before this message. Then install
272 $0: a modern shell, or manually run the script under such a
273 $0: shell if you do have one."
279 SHELL
=${CONFIG_SHELL-/bin/sh}
281 # Unset more variables known to interfere with behavior of common tools.
282 CLICOLOR_FORCE
= GREP_OPTIONS
=
283 unset CLICOLOR_FORCE GREP_OPTIONS
285 ## --------------------- ##
286 ## M4sh Shell Functions. ##
287 ## --------------------- ##
290 # Portably unset VAR.
293 { eval $1=; unset $1;}
297 # as_fn_set_status STATUS
298 # -----------------------
299 # Set $? to STATUS, without forking.
307 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
317 # Create "$as_dir" as a directory, including parents if necessary.
322 -*) as_dir
=.
/$as_dir;;
324 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
328 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
331 as_dirs
="'$as_qdir' $as_dirs"
332 as_dir
=`$as_dirname -- "$as_dir" ||
333 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
334 X"$as_dir" : 'X\(//\)[^/]' \| \
335 X"$as_dir" : 'X\(//\)$' \| \
336 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
337 $as_echo X"$as_dir" |
338 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
355 test -d "$as_dir" && break
357 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
358 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
363 # as_fn_executable_p FILE
364 # -----------------------
365 # Test if FILE is an executable regular file.
366 as_fn_executable_p
()
368 test -f "$1" && test -x "$1"
369 } # as_fn_executable_p
370 # as_fn_append VAR VALUE
371 # ----------------------
372 # Append the text in VALUE to the end of the definition contained in VAR. Take
373 # advantage of any shell optimizations that allow amortized linear growth over
374 # repeated appends, instead of the typical quadratic growth present in naive
376 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
377 eval 'as_fn_append ()
390 # Perform arithmetic evaluation on the ARGs, and store the result in the
391 # global $as_val. Take advantage of shells that can avoid forks. The arguments
392 # must be portable across $(()) and expr.
393 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
401 as_val
=`expr "$@" || test $? -eq 1`
406 # as_fn_error STATUS ERROR [LINENO LOG_FD]
407 # ----------------------------------------
408 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
409 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
410 # script with STATUS, using 1 if that was 0.
413 as_status
=$1; test $as_status -eq 0 && as_status
=1
415 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
416 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
418 $as_echo "$as_me: error: $2" >&2
419 as_fn_exit
$as_status
422 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
423 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
429 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
435 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
441 as_me
=`$as_basename -- "$0" ||
442 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
443 X"$0" : 'X\(//\)$' \| \
444 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
446 sed '/^.*\/\([^/][^/]*\)\/*$/{
460 # Avoid depending upon Character Ranges.
461 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
462 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
463 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
464 as_cr_digits
='0123456789'
465 as_cr_alnum
=$as_cr_Letters$as_cr_digits
468 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
469 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
470 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
471 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
472 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
484 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
488 chmod +x
"$as_me.lineno" ||
489 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
491 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
492 # already done that, so ensure we don't try to do so again and fall
493 # in an infinite loop. This has already happened in practice.
494 _as_can_reexec
=no
; export _as_can_reexec
495 # Don't try to exec as it changes $[0], causing all sort of problems
496 # (the dirname of $[0] is not the place where we might find the
497 # original and so on. Autoconf is especially sensitive to this).
499 # Exit status is that of the last command.
503 ECHO_C
= ECHO_N
= ECHO_T
=
504 case `echo -n x` in #(((((
506 case `echo 'xy\c'` in
507 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
509 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
516 rm -f conf$$ conf$$.exe conf$$.
file
517 if test -d conf$$.dir
; then
518 rm -f conf$$.dir
/conf$$.
file
521 mkdir conf$$.dir
2>/dev
/null
523 if (echo >conf$$.
file) 2>/dev
/null
; then
524 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
526 # ... but there are two gotchas:
527 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
528 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
529 # In both cases, we have to default to `cp -pR'.
530 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
532 elif ln conf$$.
file conf$$
2>/dev
/null
; then
540 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
541 rmdir conf$$.dir
2>/dev
/null
543 if mkdir
-p .
2>/dev
/null
; then
544 as_mkdir_p
='mkdir -p "$as_dir"'
546 test -d .
/-p && rmdir .
/-p
551 as_executable_p
=as_fn_executable_p
553 # Sed expression to map a string onto a valid CPP name.
554 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
556 # Sed expression to map a string onto a valid variable name.
557 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
560 test -n "$DJDIR" ||
exec 7<&0 </dev
/null
564 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
565 # so uname gets run too.
566 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
571 ac_default_prefix
=/usr
/local
573 ac_config_libobj_dir
=.
580 # Identity of this package.
582 PACKAGE_TARNAME
='wine'
583 PACKAGE_VERSION
='3.2'
584 PACKAGE_STRING
='Wine 3.2'
585 PACKAGE_BUGREPORT
='wine-devel@winehq.org'
586 PACKAGE_URL
='https://www.winehq.org'
588 ac_unique_file
="server/atom.c"
589 # Factoring default headers for most tests.
590 ac_includes_default
="\
592 #ifdef HAVE_SYS_TYPES_H
593 # include <sys/types.h>
595 #ifdef HAVE_SYS_STAT_H
596 # include <sys/stat.h>
602 # ifdef HAVE_STDLIB_H
607 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
612 #ifdef HAVE_STRINGS_H
613 # include <strings.h>
615 #ifdef HAVE_INTTYPES_H
616 # include <inttypes.h>
625 ac_subst_vars
='LTLIBOBJS
636 EXCESS_PRECISION_CFLAGS
713 APPLICATIONSERVICES_LIBS
809 program_transform_name
822 enable_option_checking
826 enable_maintainer_mode
891 enable_api_ms_win_appmodel_identity_l1_1_0
892 enable_api_ms_win_appmodel_runtime_l1_1_1
893 enable_api_ms_win_appmodel_runtime_l1_1_2
894 enable_api_ms_win_core_apiquery_l1_1_0
895 enable_api_ms_win_core_appcompat_l1_1_1
896 enable_api_ms_win_core_appinit_l1_1_0
897 enable_api_ms_win_core_atoms_l1_1_0
898 enable_api_ms_win_core_bem_l1_1_0
899 enable_api_ms_win_core_com_l1_1_0
900 enable_api_ms_win_core_com_l1_1_1
901 enable_api_ms_win_core_com_private_l1_1_0
902 enable_api_ms_win_core_console_l1_1_0
903 enable_api_ms_win_core_console_l2_1_0
904 enable_api_ms_win_core_crt_l1_1_0
905 enable_api_ms_win_core_crt_l2_1_0
906 enable_api_ms_win_core_datetime_l1_1_0
907 enable_api_ms_win_core_datetime_l1_1_1
908 enable_api_ms_win_core_debug_l1_1_0
909 enable_api_ms_win_core_debug_l1_1_1
910 enable_api_ms_win_core_delayload_l1_1_0
911 enable_api_ms_win_core_delayload_l1_1_1
912 enable_api_ms_win_core_errorhandling_l1_1_0
913 enable_api_ms_win_core_errorhandling_l1_1_1
914 enable_api_ms_win_core_errorhandling_l1_1_2
915 enable_api_ms_win_core_errorhandling_l1_1_3
916 enable_api_ms_win_core_fibers_l1_1_0
917 enable_api_ms_win_core_fibers_l1_1_1
918 enable_api_ms_win_core_file_l1_1_0
919 enable_api_ms_win_core_file_l1_2_0
920 enable_api_ms_win_core_file_l1_2_1
921 enable_api_ms_win_core_file_l1_2_2
922 enable_api_ms_win_core_file_l2_1_0
923 enable_api_ms_win_core_file_l2_1_1
924 enable_api_ms_win_core_file_l2_1_2
925 enable_api_ms_win_core_handle_l1_1_0
926 enable_api_ms_win_core_heap_l1_1_0
927 enable_api_ms_win_core_heap_l1_2_0
928 enable_api_ms_win_core_heap_l2_1_0
929 enable_api_ms_win_core_heap_obsolete_l1_1_0
930 enable_api_ms_win_core_interlocked_l1_1_0
931 enable_api_ms_win_core_interlocked_l1_2_0
932 enable_api_ms_win_core_io_l1_1_0
933 enable_api_ms_win_core_io_l1_1_1
934 enable_api_ms_win_core_job_l1_1_0
935 enable_api_ms_win_core_job_l2_1_0
936 enable_api_ms_win_core_kernel32_legacy_l1_1_0
937 enable_api_ms_win_core_kernel32_legacy_l1_1_1
938 enable_api_ms_win_core_kernel32_private_l1_1_1
939 enable_api_ms_win_core_libraryloader_l1_1_0
940 enable_api_ms_win_core_libraryloader_l1_1_1
941 enable_api_ms_win_core_libraryloader_l1_2_0
942 enable_api_ms_win_core_libraryloader_l1_2_1
943 enable_api_ms_win_core_libraryloader_l1_2_2
944 enable_api_ms_win_core_localization_l1_1_0
945 enable_api_ms_win_core_localization_l1_2_0
946 enable_api_ms_win_core_localization_l1_2_1
947 enable_api_ms_win_core_localization_l2_1_0
948 enable_api_ms_win_core_localization_obsolete_l1_1_0
949 enable_api_ms_win_core_localization_obsolete_l1_2_0
950 enable_api_ms_win_core_localization_obsolete_l1_3_0
951 enable_api_ms_win_core_localization_private_l1_1_0
952 enable_api_ms_win_core_localregistry_l1_1_0
953 enable_api_ms_win_core_memory_l1_1_0
954 enable_api_ms_win_core_memory_l1_1_1
955 enable_api_ms_win_core_memory_l1_1_2
956 enable_api_ms_win_core_misc_l1_1_0
957 enable_api_ms_win_core_namedpipe_l1_1_0
958 enable_api_ms_win_core_namedpipe_l1_2_0
959 enable_api_ms_win_core_namespace_l1_1_0
960 enable_api_ms_win_core_normalization_l1_1_0
961 enable_api_ms_win_core_path_l1_1_0
962 enable_api_ms_win_core_privateprofile_l1_1_1
963 enable_api_ms_win_core_processenvironment_l1_1_0
964 enable_api_ms_win_core_processenvironment_l1_2_0
965 enable_api_ms_win_core_processthreads_l1_1_0
966 enable_api_ms_win_core_processthreads_l1_1_1
967 enable_api_ms_win_core_processthreads_l1_1_2
968 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
969 enable_api_ms_win_core_profile_l1_1_0
970 enable_api_ms_win_core_psapi_ansi_l1_1_0
971 enable_api_ms_win_core_psapi_l1_1_0
972 enable_api_ms_win_core_psapi_obsolete_l1_1_0
973 enable_api_ms_win_core_quirks_l1_1_0
974 enable_api_ms_win_core_realtime_l1_1_0
975 enable_api_ms_win_core_registry_l1_1_0
976 enable_api_ms_win_core_registry_l2_1_0
977 enable_api_ms_win_core_registryuserspecific_l1_1_0
978 enable_api_ms_win_core_rtlsupport_l1_1_0
979 enable_api_ms_win_core_rtlsupport_l1_2_0
980 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
981 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
982 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
983 enable_api_ms_win_core_shutdown_l1_1_0
984 enable_api_ms_win_core_sidebyside_l1_1_0
985 enable_api_ms_win_core_string_l1_1_0
986 enable_api_ms_win_core_string_l2_1_0
987 enable_api_ms_win_core_string_obsolete_l1_1_0
988 enable_api_ms_win_core_stringansi_l1_1_0
989 enable_api_ms_win_core_synch_ansi_l1_1_0
990 enable_api_ms_win_core_synch_l1_1_0
991 enable_api_ms_win_core_synch_l1_2_0
992 enable_api_ms_win_core_synch_l1_2_1
993 enable_api_ms_win_core_sysinfo_l1_1_0
994 enable_api_ms_win_core_sysinfo_l1_2_0
995 enable_api_ms_win_core_sysinfo_l1_2_1
996 enable_api_ms_win_core_threadpool_l1_1_0
997 enable_api_ms_win_core_threadpool_l1_2_0
998 enable_api_ms_win_core_threadpool_legacy_l1_1_0
999 enable_api_ms_win_core_threadpool_private_l1_1_0
1000 enable_api_ms_win_core_timezone_l1_1_0
1001 enable_api_ms_win_core_toolhelp_l1_1_0
1002 enable_api_ms_win_core_url_l1_1_0
1003 enable_api_ms_win_core_util_l1_1_0
1004 enable_api_ms_win_core_version_l1_1_0
1005 enable_api_ms_win_core_version_l1_1_1
1006 enable_api_ms_win_core_version_private_l1_1_0
1007 enable_api_ms_win_core_versionansi_l1_1_0
1008 enable_api_ms_win_core_windowserrorreporting_l1_1_0
1009 enable_api_ms_win_core_winrt_error_l1_1_0
1010 enable_api_ms_win_core_winrt_error_l1_1_1
1011 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
1012 enable_api_ms_win_core_winrt_l1_1_0
1013 enable_api_ms_win_core_winrt_registration_l1_1_0
1014 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
1015 enable_api_ms_win_core_winrt_string_l1_1_0
1016 enable_api_ms_win_core_wow64_l1_1_0
1017 enable_api_ms_win_core_wow64_l1_1_1
1018 enable_api_ms_win_core_xstate_l1_1_0
1019 enable_api_ms_win_core_xstate_l2_1_0
1020 enable_api_ms_win_crt_conio_l1_1_0
1021 enable_api_ms_win_crt_convert_l1_1_0
1022 enable_api_ms_win_crt_environment_l1_1_0
1023 enable_api_ms_win_crt_filesystem_l1_1_0
1024 enable_api_ms_win_crt_heap_l1_1_0
1025 enable_api_ms_win_crt_locale_l1_1_0
1026 enable_api_ms_win_crt_math_l1_1_0
1027 enable_api_ms_win_crt_multibyte_l1_1_0
1028 enable_api_ms_win_crt_private_l1_1_0
1029 enable_api_ms_win_crt_process_l1_1_0
1030 enable_api_ms_win_crt_runtime_l1_1_0
1031 enable_api_ms_win_crt_stdio_l1_1_0
1032 enable_api_ms_win_crt_string_l1_1_0
1033 enable_api_ms_win_crt_time_l1_1_0
1034 enable_api_ms_win_crt_utility_l1_1_0
1035 enable_api_ms_win_devices_config_l1_1_1
1036 enable_api_ms_win_devices_query_l1_1_1
1037 enable_api_ms_win_downlevel_advapi32_l1_1_0
1038 enable_api_ms_win_downlevel_advapi32_l2_1_0
1039 enable_api_ms_win_downlevel_normaliz_l1_1_0
1040 enable_api_ms_win_downlevel_ole32_l1_1_0
1041 enable_api_ms_win_downlevel_shell32_l1_1_0
1042 enable_api_ms_win_downlevel_shlwapi_l1_1_0
1043 enable_api_ms_win_downlevel_shlwapi_l2_1_0
1044 enable_api_ms_win_downlevel_user32_l1_1_0
1045 enable_api_ms_win_downlevel_version_l1_1_0
1046 enable_api_ms_win_dx_d3dkmt_l1_1_0
1047 enable_api_ms_win_eventing_classicprovider_l1_1_0
1048 enable_api_ms_win_eventing_consumer_l1_1_0
1049 enable_api_ms_win_eventing_controller_l1_1_0
1050 enable_api_ms_win_eventing_legacy_l1_1_0
1051 enable_api_ms_win_eventing_provider_l1_1_0
1052 enable_api_ms_win_eventlog_legacy_l1_1_0
1053 enable_api_ms_win_mm_joystick_l1_1_0
1054 enable_api_ms_win_mm_misc_l1_1_1
1055 enable_api_ms_win_mm_mme_l1_1_0
1056 enable_api_ms_win_mm_time_l1_1_0
1057 enable_api_ms_win_ntuser_dc_access_l1_1_0
1058 enable_api_ms_win_ntuser_rectangle_l1_1_0
1059 enable_api_ms_win_perf_legacy_l1_1_0
1060 enable_api_ms_win_power_base_l1_1_0
1061 enable_api_ms_win_power_setting_l1_1_0
1062 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
1063 enable_api_ms_win_security_activedirectoryclient_l1_1_0
1064 enable_api_ms_win_security_audit_l1_1_1
1065 enable_api_ms_win_security_base_l1_1_0
1066 enable_api_ms_win_security_base_l1_2_0
1067 enable_api_ms_win_security_base_private_l1_1_1
1068 enable_api_ms_win_security_credentials_l1_1_0
1069 enable_api_ms_win_security_grouppolicy_l1_1_0
1070 enable_api_ms_win_security_lsalookup_l1_1_0
1071 enable_api_ms_win_security_lsalookup_l1_1_1
1072 enable_api_ms_win_security_lsalookup_l2_1_0
1073 enable_api_ms_win_security_lsalookup_l2_1_1
1074 enable_api_ms_win_security_lsapolicy_l1_1_0
1075 enable_api_ms_win_security_provider_l1_1_0
1076 enable_api_ms_win_security_sddl_l1_1_0
1077 enable_api_ms_win_security_systemfunctions_l1_1_0
1078 enable_api_ms_win_service_core_l1_1_0
1079 enable_api_ms_win_service_core_l1_1_1
1080 enable_api_ms_win_service_management_l1_1_0
1081 enable_api_ms_win_service_management_l2_1_0
1082 enable_api_ms_win_service_private_l1_1_1
1083 enable_api_ms_win_service_winsvc_l1_1_0
1084 enable_api_ms_win_service_winsvc_l1_2_0
1085 enable_api_ms_win_shcore_scaling_l1_1_1
1086 enable_api_ms_win_shell_shellcom_l1_1_0
1087 enable_api_ms_win_shell_shellfolders_l1_1_0
1100 enable_bluetoothapis
1135 enable_d3dcompiler_33
1136 enable_d3dcompiler_34
1137 enable_d3dcompiler_35
1138 enable_d3dcompiler_36
1139 enable_d3dcompiler_37
1140 enable_d3dcompiler_38
1141 enable_d3dcompiler_39
1142 enable_d3dcompiler_40
1143 enable_d3dcompiler_41
1144 enable_d3dcompiler_42
1145 enable_d3dcompiler_43
1146 enable_d3dcompiler_46
1147 enable_d3dcompiler_47
1228 enable_explorerframe
1229 enable_ext_ms_win_authz_context_l1_1_0
1230 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
1231 enable_ext_ms_win_gdi_dc_create_l1_1_1
1232 enable_ext_ms_win_gdi_dc_l1_2_0
1233 enable_ext_ms_win_gdi_devcaps_l1_1_0
1234 enable_ext_ms_win_gdi_draw_l1_1_1
1235 enable_ext_ms_win_gdi_render_l1_1_0
1236 enable_ext_ms_win_kernel32_package_current_l1_1_0
1237 enable_ext_ms_win_kernel32_package_l1_1_1
1238 enable_ext_ms_win_ntuser_message_l1_1_1
1239 enable_ext_ms_win_ntuser_private_l1_1_1
1240 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
1241 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
1242 enable_ext_ms_win_ntuser_window_l1_1_1
1243 enable_ext_ms_win_ntuser_windowclass_l1_1_1
1244 enable_ext_ms_win_ras_rasapi32_l1_1_0
1245 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
1246 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
1247 enable_ext_ms_win_rtcore_ntuser_dc_access_l1_1_0
1248 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
1249 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
1250 enable_ext_ms_win_security_credui_l1_1_0
1251 enable_ext_ms_win_security_cryptui_l1_1_0
1423 enable_photometadatahandler
1490 enable_uiautomationcore
1521 enable_windowscodecs
1522 enable_windowscodecsext
1524 enable_wineandroid_drv
1526 enable_winecoreaudio_drv
1528 enable_winegstreamer
1530 enable_winejoystick_drv
1535 enable_winepulse_drv
1536 enable_wineqtdecoder
1608 enable_aspnet_regiis
1645 enable_presentationfontcache
1658 enable_servicemodelreg
1681 enable_winemenubuilder
1683 enable_winemsibuilder
1698 ac_precious_vars
='build_alias
1761 # Initialize some variables set by options.
1763 ac_init_version
=false
1764 ac_unrecognized_opts
=
1765 ac_unrecognized_sep
=
1766 # The variables have the same names as the options, with
1767 # dashes changed to underlines.
1768 cache_file
=/dev
/null
1775 program_transform_name
=s
,x
,x
,
1783 # Installation directory options.
1784 # These are left unexpanded so users can "make install exec_prefix=/foo"
1785 # and all the variables that are supposed to be based on exec_prefix
1786 # by default will actually change.
1787 # Use braces instead of parens because sh, perl, etc. also accept them.
1788 # (The list follows the same order as the GNU Coding Standards.)
1789 bindir
='${exec_prefix}/bin'
1790 sbindir
='${exec_prefix}/sbin'
1791 libexecdir
='${exec_prefix}/libexec'
1792 datarootdir
='${prefix}/share'
1793 datadir
='${datarootdir}'
1794 sysconfdir
='${prefix}/etc'
1795 sharedstatedir
='${prefix}/com'
1796 localstatedir
='${prefix}/var'
1797 runstatedir
='${localstatedir}/run'
1798 includedir
='${prefix}/include'
1799 oldincludedir
='/usr/include'
1800 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
1801 infodir
='${datarootdir}/info'
1806 libdir
='${exec_prefix}/lib'
1807 localedir
='${datarootdir}/locale'
1808 mandir
='${datarootdir}/man'
1814 # If the previous option needs an argument, assign it.
1815 if test -n "$ac_prev"; then
1816 eval $ac_prev=\
$ac_option
1822 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1827 # Accept the important Cygnus configure options, so we can diagnose typos.
1829 case $ac_dashdash$ac_option in
1833 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
1835 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
1836 bindir
=$ac_optarg ;;
1838 -build |
--build |
--buil |
--bui |
--bu)
1839 ac_prev
=build_alias
;;
1840 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
1841 build_alias
=$ac_optarg ;;
1843 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
1844 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
1845 ac_prev
=cache_file
;;
1846 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
1847 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
1848 cache_file
=$ac_optarg ;;
1850 --config-cache |
-C)
1851 cache_file
=config.cache
;;
1853 -datadir |
--datadir |
--datadi |
--datad)
1855 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
1856 datadir
=$ac_optarg ;;
1858 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1859 |
--dataroo |
--dataro |
--datar)
1860 ac_prev
=datarootdir
;;
1861 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1862 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1863 datarootdir
=$ac_optarg ;;
1865 -disable-* |
--disable-*)
1866 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1867 # Reject names that are not valid shell variable names.
1868 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1869 as_fn_error $?
"invalid feature name: $ac_useropt"
1870 ac_useropt_orig
=$ac_useropt
1871 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1872 case $ac_user_opts in
1874 "enable_
$ac_useropt"
1876 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1877 ac_unrecognized_sep
=', ';;
1879 eval enable_
$ac_useropt=no
;;
1881 -docdir |
--docdir |
--docdi |
--doc |
--do)
1883 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1884 docdir
=$ac_optarg ;;
1886 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1888 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1889 dvidir
=$ac_optarg ;;
1891 -enable-* |
--enable-*)
1892 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1893 # Reject names that are not valid shell variable names.
1894 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1895 as_fn_error $?
"invalid feature name: $ac_useropt"
1896 ac_useropt_orig
=$ac_useropt
1897 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1898 case $ac_user_opts in
1900 "enable_
$ac_useropt"
1902 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1903 ac_unrecognized_sep
=', ';;
1905 eval enable_
$ac_useropt=\
$ac_optarg ;;
1907 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1908 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1909 |
--exec |
--exe |
--ex)
1910 ac_prev
=exec_prefix
;;
1911 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1912 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1913 |
--exec=* |
--exe=* |
--ex=*)
1914 exec_prefix
=$ac_optarg ;;
1916 -gas |
--gas |
--ga |
--g)
1917 # Obsolete; use --with-gas.
1920 -help |
--help |
--hel |
--he |
-h)
1921 ac_init_help
=long
;;
1922 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1923 ac_init_help
=recursive
;;
1924 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1925 ac_init_help
=short
;;
1927 -host |
--host |
--hos |
--ho)
1928 ac_prev
=host_alias
;;
1929 -host=* |
--host=* |
--hos=* |
--ho=*)
1930 host_alias
=$ac_optarg ;;
1932 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1934 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1936 htmldir
=$ac_optarg ;;
1938 -includedir |
--includedir |
--includedi |
--included |
--include \
1939 |
--includ |
--inclu |
--incl |
--inc)
1940 ac_prev
=includedir
;;
1941 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1942 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1943 includedir
=$ac_optarg ;;
1945 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1947 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1948 infodir
=$ac_optarg ;;
1950 -libdir |
--libdir |
--libdi |
--libd)
1952 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1953 libdir
=$ac_optarg ;;
1955 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1956 |
--libexe |
--libex |
--libe)
1957 ac_prev
=libexecdir
;;
1958 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1959 |
--libexe=* |
--libex=* |
--libe=*)
1960 libexecdir
=$ac_optarg ;;
1962 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1963 ac_prev
=localedir
;;
1964 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1965 localedir
=$ac_optarg ;;
1967 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1968 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1969 ac_prev
=localstatedir
;;
1970 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1971 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1972 localstatedir
=$ac_optarg ;;
1974 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1976 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1977 mandir
=$ac_optarg ;;
1979 -nfp |
--nfp |
--nf)
1980 # Obsolete; use --without-fp.
1983 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1984 |
--no-cr |
--no-c |
-n)
1987 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1988 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1991 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1992 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1993 |
--oldin |
--oldi |
--old |
--ol |
--o)
1994 ac_prev
=oldincludedir
;;
1995 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1996 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1997 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1998 oldincludedir
=$ac_optarg ;;
2000 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
2002 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
2003 prefix
=$ac_optarg ;;
2005 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
2006 |
--program-pre |
--program-pr |
--program-p)
2007 ac_prev
=program_prefix
;;
2008 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
2009 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
2010 program_prefix
=$ac_optarg ;;
2012 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
2013 |
--program-suf |
--program-su |
--program-s)
2014 ac_prev
=program_suffix
;;
2015 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
2016 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
2017 program_suffix
=$ac_optarg ;;
2019 -program-transform-name |
--program-transform-name \
2020 |
--program-transform-nam |
--program-transform-na \
2021 |
--program-transform-n |
--program-transform- \
2022 |
--program-transform |
--program-transfor \
2023 |
--program-transfo |
--program-transf \
2024 |
--program-trans |
--program-tran \
2025 |
--progr-tra |
--program-tr |
--program-t)
2026 ac_prev
=program_transform_name
;;
2027 -program-transform-name=* |
--program-transform-name=* \
2028 |
--program-transform-nam=* |
--program-transform-na=* \
2029 |
--program-transform-n=* |
--program-transform-=* \
2030 |
--program-transform=* |
--program-transfor=* \
2031 |
--program-transfo=* |
--program-transf=* \
2032 |
--program-trans=* |
--program-tran=* \
2033 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
2034 program_transform_name
=$ac_optarg ;;
2036 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
2038 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
2039 pdfdir
=$ac_optarg ;;
2041 -psdir |
--psdir |
--psdi |
--psd |
--ps)
2043 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
2046 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2047 |
-silent |
--silent |
--silen |
--sile |
--sil)
2050 -runstatedir |
--runstatedir |
--runstatedi |
--runstated \
2051 |
--runstate |
--runstat |
--runsta |
--runst |
--runs \
2052 |
--run |
--ru |
--r)
2053 ac_prev
=runstatedir
;;
2054 -runstatedir=* |
--runstatedir=* |
--runstatedi=* |
--runstated=* \
2055 |
--runstate=* |
--runstat=* |
--runsta=* |
--runst=* |
--runs=* \
2056 |
--run=* |
--ru=* |
--r=*)
2057 runstatedir
=$ac_optarg ;;
2059 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
2061 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
2063 sbindir
=$ac_optarg ;;
2065 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
2066 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
2067 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
2069 ac_prev
=sharedstatedir
;;
2070 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
2071 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
2072 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
2074 sharedstatedir
=$ac_optarg ;;
2076 -site |
--site |
--sit)
2078 -site=* |
--site=* |
--sit=*)
2081 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
2083 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
2084 srcdir
=$ac_optarg ;;
2086 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
2087 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
2088 ac_prev
=sysconfdir
;;
2089 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
2090 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
2091 sysconfdir
=$ac_optarg ;;
2093 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
2094 ac_prev
=target_alias
;;
2095 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
2096 target_alias
=$ac_optarg ;;
2098 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
2101 -version |
--version |
--versio |
--versi |
--vers |
-V)
2102 ac_init_version
=: ;;
2105 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2106 # Reject names that are not valid shell variable names.
2107 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
2108 as_fn_error $?
"invalid package name: $ac_useropt"
2109 ac_useropt_orig
=$ac_useropt
2110 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2111 case $ac_user_opts in
2115 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2116 ac_unrecognized_sep
=', ';;
2118 eval with_
$ac_useropt=\
$ac_optarg ;;
2120 -without-* |
--without-*)
2121 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2122 # Reject names that are not valid shell variable names.
2123 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
2124 as_fn_error $?
"invalid package name: $ac_useropt"
2125 ac_useropt_orig
=$ac_useropt
2126 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2127 case $ac_user_opts in
2131 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2132 ac_unrecognized_sep
=', ';;
2134 eval with_
$ac_useropt=no
;;
2137 # Obsolete; use --with-x.
2140 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
2141 |
--x-incl |
--x-inc |
--x-in |
--x-i)
2142 ac_prev
=x_includes
;;
2143 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
2144 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
2145 x_includes
=$ac_optarg ;;
2147 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
2148 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
2149 ac_prev
=x_libraries
;;
2150 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
2151 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
2152 x_libraries
=$ac_optarg ;;
2154 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
2155 Try \`$0 --help' for more information"
2159 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
2160 # Reject names that are not valid shell variable names.
2161 case $ac_envvar in #(
2162 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
2163 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
2165 eval $ac_envvar=\
$ac_optarg
2166 export $ac_envvar ;;
2169 # FIXME: should be removed in autoconf 3.0.
2170 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
2171 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
2172 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
2173 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2179 if test -n "$ac_prev"; then
2180 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
2181 as_fn_error $?
"missing argument to $ac_option"
2184 if test -n "$ac_unrecognized_opts"; then
2185 case $enable_option_checking in
2187 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
2188 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2192 # Check all directory arguments for consistency.
2193 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2194 datadir sysconfdir sharedstatedir localstatedir includedir \
2195 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2196 libdir localedir mandir runstatedir
2198 eval ac_val
=\$
$ac_var
2199 # Remove trailing slashes.
2202 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2203 eval $ac_var=\
$ac_val;;
2205 # Be sure to have absolute directory names.
2207 [\\/$
]* | ?
:[\\/]* ) continue;;
2208 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
2210 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
2213 # There might be people who depend on the old broken behavior: `$host'
2214 # used to hold the argument of --host etc.
2215 # FIXME: To remove some day.
2218 target
=$target_alias
2220 # FIXME: To remove some day.
2221 if test "x$host_alias" != x
; then
2222 if test "x$build_alias" = x
; then
2223 cross_compiling
=maybe
2224 elif test "x$build_alias" != "x$host_alias"; then
2230 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
2232 test "$silent" = yes && exec 6>/dev
/null
2235 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
2236 ac_ls_di
=`ls -di .` &&
2237 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
2238 as_fn_error $?
"working directory cannot be determined"
2239 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2240 as_fn_error $?
"pwd does not report name of working directory"
2243 # Find the source files, if location was not specified.
2244 if test -z "$srcdir"; then
2245 ac_srcdir_defaulted
=yes
2246 # Try the directory containing this script, then the parent directory.
2247 ac_confdir
=`$as_dirname -- "$as_myself" ||
2248 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2249 X"$as_myself" : 'X\(//\)[^/]' \| \
2250 X"$as_myself" : 'X\(//\)$' \| \
2251 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2252 $as_echo X"$as_myself" |
2253 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2271 if test ! -r "$srcdir/$ac_unique_file"; then
2275 ac_srcdir_defaulted
=no
2277 if test ! -r "$srcdir/$ac_unique_file"; then
2278 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
2279 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
2281 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
2283 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2285 # When building in place, set srcdir=.
2286 if test "$ac_abs_confdir" = "$ac_pwd"; then
2289 # Remove unnecessary trailing slashes from srcdir.
2290 # Double slashes in file names in object file debugging info
2291 # mess up M-x gdb in Emacs.
2293 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2295 for ac_var
in $ac_precious_vars; do
2296 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
2297 eval ac_env_
${ac_var}_value
=\$
${ac_var}
2298 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
2299 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
2303 # Report the --help message.
2305 if test "$ac_init_help" = "long"; then
2306 # Omit some internal or obsolete options to make the list less imposing.
2307 # This message is too long to be a string in the A/UX 3.1 sh.
2309 \`configure' configures Wine 3.2 to adapt to many kinds of systems.
2311 Usage: $0 [OPTION]... [VAR=VALUE]...
2313 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2314 VAR=VALUE. See below for descriptions of some of the useful variables.
2316 Defaults for the options are specified in brackets.
2319 -h, --help display this help and exit
2320 --help=short display options specific to this package
2321 --help=recursive display the short help of all the included packages
2322 -V, --version display version information and exit
2323 -q, --quiet, --silent do not print \`checking ...' messages
2324 --cache-file=FILE cache test results in FILE [disabled]
2325 -C, --config-cache alias for \`--cache-file=config.cache'
2326 -n, --no-create do not create output files
2327 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2329 Installation directories:
2330 --prefix=PREFIX install architecture-independent files in PREFIX
2331 [$ac_default_prefix]
2332 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2335 By default, \`make install' will install all the files in
2336 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2337 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2338 for instance \`--prefix=\$HOME'.
2340 For better control, use the options below.
2342 Fine tuning of the installation directories:
2343 --bindir=DIR user executables [EPREFIX/bin]
2344 --sbindir=DIR system admin executables [EPREFIX/sbin]
2345 --libexecdir=DIR program executables [EPREFIX/libexec]
2346 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2347 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2348 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2349 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2350 --libdir=DIR object code libraries [EPREFIX/lib]
2351 --includedir=DIR C header files [PREFIX/include]
2352 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2353 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2354 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2355 --infodir=DIR info documentation [DATAROOTDIR/info]
2356 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2357 --mandir=DIR man documentation [DATAROOTDIR/man]
2358 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2359 --htmldir=DIR html documentation [DOCDIR]
2360 --dvidir=DIR dvi documentation [DOCDIR]
2361 --pdfdir=DIR pdf documentation [DOCDIR]
2362 --psdir=DIR ps documentation [DOCDIR]
2368 --x-includes=DIR X include files are
in DIR
2369 --x-libraries=DIR X library files are
in DIR
2372 --build=BUILD configure
for building on BUILD
[guessed
]
2373 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
2377 if test -n "$ac_init_help"; then
2378 case $ac_init_help in
2379 short | recursive
) echo "Configuration of Wine 3.2:";;
2384 --disable-option-checking ignore unrecognized
--enable/--with options
2385 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
2386 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
2387 --disable-win16 do not include Win16 support
2388 --enable-win64 build a Win64 emulator on AMD64
(won
't run Win32
2390 --disable-tests do not build the regression tests
2391 --enable-maintainer-mode
2392 enable maintainer-specific build rules
2393 --disable-largefile omit support for large files
2396 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2397 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2398 --without-alsa do not use the Alsa sound support
2399 --without-capi do not use CAPI (ISDN support)
2400 --without-cms do not use CMS (color management support)
2401 --without-coreaudio do not use the CoreAudio sound support
2402 --without-cups do not use CUPS
2403 --without-curses do not use (n)curses
2404 --without-dbus do not use DBus (dynamic device support)
2405 --with-float-abi=abi specify the ABI (soft|softfp|hard) for ARM platforms
2406 --without-fontconfig do not use fontconfig
2407 --without-freetype do not use the FreeType library
2408 --without-gettext do not use gettext
2409 --with-gettextpo use the GetTextPO library to rebuild po files
2410 --without-gphoto do not use gphoto (Digital Camera support)
2411 --without-glu do not use the GLU library
2412 --without-gnutls do not use GnuTLS (schannel support)
2413 --without-gsm do not use libgsm (GSM 06.10 codec support)
2414 --without-gssapi do not use GSSAPI (Kerberos SSP support)
2415 --without-gstreamer do not use GStreamer (codecs support)
2416 --without-hal do not use HAL (dynamic device support)
2417 --without-jpeg do not use JPEG
2418 --without-krb5 do not use krb5 (Kerberos)
2419 --without-ldap do not use LDAP
2420 --without-mpg123 do not use the mpg123 library
2421 --without-netapi do not use the Samba NetAPI library
2422 --without-openal do not use OpenAL
2423 --without-opencl do not use OpenCL
2424 --without-opengl do not use OpenGL
2425 --without-osmesa do not use the OSMesa library
2426 --without-oss do not use the OSS sound support
2427 --without-pcap do not use the Packet Capture library
2428 --without-png do not use PNG
2429 --without-pthread do not use the pthread library
2430 --without-pulse do not use PulseAudio sound support
2431 --without-sane do not use SANE (scanner support)
2432 --without-tiff do not use TIFF
2433 --without-udev do not use udev (plug and play support)
2434 --without-v4l do not use v4l1 (v4l support)
2435 --without-xcomposite do not use the Xcomposite extension
2436 --without-xcursor do not use the Xcursor extension
2437 --without-xfixes do not use Xfixes for clipboard change notifications
2438 --without-xinerama do not use Xinerama (multi-monitor support)
2439 --without-xinput do not use the Xinput extension
2440 --without-xinput2 do not use the Xinput 2 extension
2441 --without-xml do not use XML
2442 --without-xrandr do not use Xrandr (resolution changes)
2443 --without-xrender do not use the Xrender extension
2444 --without-xshape do not use the Xshape extension
2445 --without-xshm do not use XShm (shared memory extension)
2446 --without-xslt do not use XSLT
2447 --without-xxf86vm do not use XFree video mode extension
2448 --without-zlib do not use Zlib (data compression)
2449 --with-wine-tools=DIR use Wine tools from directory DIR
2450 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2451 --with-x use the X Window System
2453 Some influential environment variables:
2454 CC C compiler command
2455 CFLAGS C compiler flags
2456 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2457 nonstandard directory <lib dir>
2458 LIBS libraries to pass to the linker, e.g. -l<library>
2459 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2460 you have headers in a nonstandard directory <include dir>
2461 CXX C++ compiler command
2462 CXXFLAGS C++ compiler flags
2464 XMKMF Path to xmkmf, Makefile generator for X Window System
2465 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2466 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2467 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2468 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2469 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2470 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2471 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2472 HAL_LIBS Linker flags for hal, overriding pkg-config
2474 C compiler flags for gnutls, overriding pkg-config
2475 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2476 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2477 SANE_LIBS Linker flags for libsane, overriding pkg-config
2479 C compiler flags for libgphoto2, overriding pkg-config
2481 Linker flags for libgphoto2, overriding pkg-config
2483 C compiler flags for libgphoto2_port, overriding pkg-config
2485 Linker flags for libgphoto2_port, overriding pkg-config
2487 C compiler flags for lcms2, overriding pkg-config
2488 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2490 C compiler flags for freetype2, overriding pkg-config
2492 Linker flags for freetype2, overriding pkg-config
2494 C compiler flags for libpulse, overriding pkg-config
2495 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2497 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2498 gstreamer-audio-1.0, overriding pkg-config
2500 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2501 gstreamer-audio-1.0, overriding pkg-config
2502 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2503 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2505 C compiler flags for capi20, overriding pkg-config
2506 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2507 CUPS_CFLAGS C compiler flags for cups, overriding pkg-config
2508 CUPS_LIBS Linker flags for cups, overriding pkg-config
2510 C compiler flags for fontconfig, overriding pkg-config
2512 Linker flags for fontconfig, overriding pkg-config
2513 KRB5_CFLAGS C compiler flags for krb5, overriding pkg-config
2514 KRB5_LIBS Linker flags for krb5, overriding pkg-config
2516 C compiler flags for krb5-gssapi, overriding pkg-config
2517 GSSAPI_LIBS Linker flags for krb5-gssapi, overriding pkg-config
2518 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2519 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2520 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2521 PNG_LIBS Linker flags for libpng, overriding pkg-config
2522 TIFF_CFLAGS C compiler flags for libtiff-4, overriding pkg-config
2523 TIFF_LIBS Linker flags for libtiff-4, overriding pkg-config
2525 C compiler flags for libmpg123, overriding pkg-config
2526 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2528 C compiler flags for netapi, overriding pkg-config
2529 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2530 LDAP_CFLAGS C compiler flags for openldap, overriding pkg-config
2531 LDAP_LIBS Linker flags for openldap, overriding pkg-config
2533 Use these variables to override the choices made by `configure' or to
help
2534 it to
find libraries and programs with nonstandard names
/locations.
2536 Report bugs to
<wine-devel@winehq.org
>.
2537 Wine home page
: <https
://www.winehq.org
>.
2542 if test "$ac_init_help" = "recursive"; then
2543 # If there are subdirs, report their specific --help.
2544 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
2545 test -d "$ac_dir" ||
2546 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
2551 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2553 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2554 # A ".." for each directory in $ac_dir_suffix.
2555 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2556 case $ac_top_builddir_sub in
2557 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2558 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
2561 ac_abs_top_builddir
=$ac_pwd
2562 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
2563 # for backward compatibility:
2564 ac_top_builddir
=$ac_top_build_prefix
2567 .
) # We are building in place.
2569 ac_top_srcdir
=$ac_top_builddir_sub
2570 ac_abs_top_srcdir
=$ac_pwd ;;
2571 [\\/]* | ?
:[\\/]* ) # Absolute name.
2572 ac_srcdir
=$srcdir$ac_dir_suffix;
2573 ac_top_srcdir
=$srcdir
2574 ac_abs_top_srcdir
=$srcdir ;;
2576 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
2577 ac_top_srcdir
=$ac_top_build_prefix$srcdir
2578 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
2580 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
2582 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
2583 # Check for guested configure.
2584 if test -f "$ac_srcdir/configure.gnu"; then
2586 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2587 elif test -f "$ac_srcdir/configure"; then
2589 $SHELL "$ac_srcdir/configure" --help=recursive
2591 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2593 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
2597 test -n "$ac_init_help" && exit $ac_status
2598 if $ac_init_version; then
2601 generated by GNU Autoconf
2.69
2603 Copyright
(C
) 2012 Free Software Foundation
, Inc.
2604 This configure
script is free software
; the Free Software Foundation
2605 gives unlimited permission to copy
, distribute and modify it.
2610 ## ------------------------ ##
2611 ## Autoconf initialization. ##
2612 ## ------------------------ ##
2614 # ac_fn_c_try_compile LINENO
2615 # --------------------------
2616 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2617 ac_fn_c_try_compile
()
2619 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2620 rm -f conftest.
$ac_objext
2621 if { { ac_try
="$ac_compile"
2623 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2624 *) ac_try_echo=$ac_try;;
2626 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2627 $as_echo "$ac_try_echo"; } >&5
2628 (eval "$ac_compile") 2>conftest.err
2630 if test -s conftest.err; then
2631 grep -v '^ *+' conftest.err >conftest.er1
2632 cat conftest.er1 >&5
2633 mv -f conftest.er1 conftest.err
2635 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2636 test $ac_status = 0; } && {
2637 test -z "$ac_c_werror_flag" ||
2638 test ! -s conftest.err
2639 } && test -s conftest.$ac_objext; then :
2642 $as_echo "$as_me: failed program was:" >&5
2643 sed 's/^/| /' conftest.$ac_ext >&5
2647 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2648 as_fn_set_status $ac_retval
2650 } # ac_fn_c_try_compile
2652 # ac_fn_cxx_try_compile LINENO
2653 # ----------------------------
2654 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2655 ac_fn_cxx_try_compile ()
2657 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2658 rm -f conftest.$ac_objext
2659 if { { ac_try="$ac_compile"
2661 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2662 *) ac_try_echo
=$ac_try;;
2664 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2665 $as_echo "$ac_try_echo"; } >&5
2666 (eval "$ac_compile") 2>conftest.err
2668 if test -s conftest.err
; then
2669 grep -v '^ *+' conftest.err
>conftest.er1
2670 cat conftest.er1
>&5
2671 mv -f conftest.er1 conftest.err
2673 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2674 test $ac_status = 0; } && {
2675 test -z "$ac_cxx_werror_flag" ||
2676 test ! -s conftest.err
2677 } && test -s conftest.
$ac_objext; then :
2680 $as_echo "$as_me: failed program was:" >&5
2681 sed 's/^/| /' conftest.
$ac_ext >&5
2685 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2686 as_fn_set_status
$ac_retval
2688 } # ac_fn_cxx_try_compile
2690 # ac_fn_c_try_link LINENO
2691 # -----------------------
2692 # Try to link conftest.$ac_ext, and return whether this succeeded.
2695 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2696 rm -f conftest.
$ac_objext conftest
$ac_exeext
2697 if { { ac_try
="$ac_link"
2699 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2700 *) ac_try_echo=$ac_try;;
2702 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2703 $as_echo "$ac_try_echo"; } >&5
2704 (eval "$ac_link") 2>conftest.err
2706 if test -s conftest.err; then
2707 grep -v '^ *+' conftest.err >conftest.er1
2708 cat conftest.er1 >&5
2709 mv -f conftest.er1 conftest.err
2711 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2712 test $ac_status = 0; } && {
2713 test -z "$ac_c_werror_flag" ||
2714 test ! -s conftest.err
2715 } && test -s conftest$ac_exeext && {
2716 test "$cross_compiling" = yes ||
2717 test -x conftest$ac_exeext
2721 $as_echo "$as_me: failed program was:" >&5
2722 sed 's/^/| /' conftest.$ac_ext >&5
2726 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2727 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2728 # interfere with the next link command; also delete a directory that is
2729 # left behind by Apple's compiler. We do this before executing the actions.
2730 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2731 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2732 as_fn_set_status $ac_retval
2734 } # ac_fn_c_try_link
2736 # ac_fn_c_try_cpp LINENO
2737 # ----------------------
2738 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2741 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2742 if { { ac_try="$ac_cpp conftest.$ac_ext"
2744 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2745 *) ac_try_echo
=$ac_try;;
2747 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2748 $as_echo "$ac_try_echo"; } >&5
2749 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2751 if test -s conftest.err
; then
2752 grep -v '^ *+' conftest.err
>conftest.er1
2753 cat conftest.er1
>&5
2754 mv -f conftest.er1 conftest.err
2756 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2757 test $ac_status = 0; } > conftest.i
&& {
2758 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2759 test ! -s conftest.err
2763 $as_echo "$as_me: failed program was:" >&5
2764 sed 's/^/| /' conftest.
$ac_ext >&5
2768 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2769 as_fn_set_status
$ac_retval
2773 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2774 # -------------------------------------------------------
2775 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2776 # the include files in INCLUDES and setting the cache variable VAR
2778 ac_fn_c_check_header_mongrel
()
2780 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2781 if eval \
${$3+:} false
; then :
2782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2783 $as_echo_n "checking for $2... " >&6; }
2784 if eval \
${$3+:} false
; then :
2785 $as_echo_n "(cached) " >&6
2788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2789 $as_echo "$ac_res" >&6; }
2791 # Is the header compilable?
2792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2793 $as_echo_n "checking $2 usability... " >&6; }
2794 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2795 /* end confdefs.h. */
2799 if ac_fn_c_try_compile
"$LINENO"; then :
2800 ac_header_compiler
=yes
2802 ac_header_compiler
=no
2804 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2806 $as_echo "$ac_header_compiler" >&6; }
2808 # Is the header present?
2809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2810 $as_echo_n "checking $2 presence... " >&6; }
2811 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2812 /* end confdefs.h. */
2815 if ac_fn_c_try_cpp
"$LINENO"; then :
2816 ac_header_preproc
=yes
2818 ac_header_preproc
=no
2820 rm -f conftest.err conftest.i conftest.
$ac_ext
2821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2822 $as_echo "$ac_header_preproc" >&6; }
2824 # So? What about this header?
2825 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2827 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2828 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2829 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2830 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2833 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2834 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2835 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2836 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2837 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2838 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2839 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2840 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2841 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2842 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2843 ( $as_echo "## ------------------------------------ ##
2844 ## Report this to wine-devel@winehq.org ##
2845 ## ------------------------------------ ##"
2846 ) |
sed "s/^/$as_me: WARNING: /" >&2
2849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2850 $as_echo_n "checking for $2... " >&6; }
2851 if eval \
${$3+:} false
; then :
2852 $as_echo_n "(cached) " >&6
2854 eval "$3=\$ac_header_compiler"
2857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2858 $as_echo "$ac_res" >&6; }
2860 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2862 } # ac_fn_c_check_header_mongrel
2864 # ac_fn_c_try_run LINENO
2865 # ----------------------
2866 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2867 # that executables *can* be run.
2870 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2871 if { { ac_try
="$ac_link"
2873 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2874 *) ac_try_echo=$ac_try;;
2876 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2877 $as_echo "$ac_try_echo"; } >&5
2878 (eval "$ac_link") 2>&5
2880 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2881 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2882 { { case "(($ac_try" in
2883 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2884 *) ac_try_echo
=$ac_try;;
2886 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2887 $as_echo "$ac_try_echo"; } >&5
2888 (eval "$ac_try") 2>&5
2890 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2891 test $ac_status = 0; }; }; then :
2894 $as_echo "$as_me: program exited with status $ac_status" >&5
2895 $as_echo "$as_me: failed program was:" >&5
2896 sed 's/^/| /' conftest.
$ac_ext >&5
2898 ac_retval
=$ac_status
2900 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2901 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2902 as_fn_set_status
$ac_retval
2906 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2907 # -------------------------------------------------------
2908 # Tests whether HEADER exists and can be compiled using the include files in
2909 # INCLUDES, setting the cache variable VAR accordingly.
2910 ac_fn_c_check_header_compile
()
2912 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2914 $as_echo_n "checking for $2... " >&6; }
2915 if eval \
${$3+:} false
; then :
2916 $as_echo_n "(cached) " >&6
2918 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2919 /* end confdefs.h. */
2923 if ac_fn_c_try_compile
"$LINENO"; then :
2928 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2932 $as_echo "$ac_res" >&6; }
2933 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2935 } # ac_fn_c_check_header_compile
2937 # ac_fn_c_check_func LINENO FUNC VAR
2938 # ----------------------------------
2939 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2940 ac_fn_c_check_func
()
2942 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2944 $as_echo_n "checking for $2... " >&6; }
2945 if eval \
${$3+:} false
; then :
2946 $as_echo_n "(cached) " >&6
2948 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2949 /* end confdefs.h. */
2950 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2951 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2952 #define $2 innocuous_$2
2954 /* System header to define __stub macros and hopefully few prototypes,
2955 which can conflict with char $2 (); below.
2956 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2957 <limits.h> exists even on freestanding compilers. */
2960 # include <limits.h>
2962 # include <assert.h>
2967 /* Override any GCC internal prototype to avoid an error.
2968 Use char because int might match the return type of a GCC
2969 builtin and then its argument prototype would still apply. */
2974 /* The GNU C library defines this for functions which it implements
2975 to always fail with ENOSYS. Some functions are actually named
2976 something starting with __ and the normal name is an alias. */
2977 #if defined __stub_$2 || defined __stub___$2
2989 if ac_fn_c_try_link
"$LINENO"; then :
2994 rm -f core conftest.err conftest.
$ac_objext \
2995 conftest
$ac_exeext conftest.
$ac_ext
2998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2999 $as_echo "$ac_res" >&6; }
3000 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3002 } # ac_fn_c_check_func
3004 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
3005 # ----------------------------------------------------
3006 # Tries to find if the field MEMBER exists in type AGGR, after including
3007 # INCLUDES, setting cache variable VAR accordingly.
3008 ac_fn_c_check_member
()
3010 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
3011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
3012 $as_echo_n "checking for $2.$3... " >&6; }
3013 if eval \
${$4+:} false
; then :
3014 $as_echo_n "(cached) " >&6
3016 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3017 /* end confdefs.h. */
3029 if ac_fn_c_try_compile
"$LINENO"; then :
3032 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3033 /* end confdefs.h. */
3039 if (sizeof ac_aggr.$3)
3045 if ac_fn_c_try_compile
"$LINENO"; then :
3050 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3052 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3056 $as_echo "$ac_res" >&6; }
3057 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3059 } # ac_fn_c_check_member
3061 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3062 # -------------------------------------------
3063 # Tests whether TYPE exists after having included INCLUDES, setting cache
3064 # variable VAR accordingly.
3065 ac_fn_c_check_type
()
3067 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
3068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3069 $as_echo_n "checking for $2... " >&6; }
3070 if eval \
${$3+:} false
; then :
3071 $as_echo_n "(cached) " >&6
3074 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3075 /* end confdefs.h. */
3086 if ac_fn_c_try_compile
"$LINENO"; then :
3087 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3088 /* end confdefs.h. */
3099 if ac_fn_c_try_compile
"$LINENO"; then :
3104 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3106 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3110 $as_echo "$ac_res" >&6; }
3111 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3113 } # ac_fn_c_check_type
3114 cat >config.log
<<_ACEOF
3115 This file contains any messages produced by compilers while
3116 running configure, to aid debugging if configure makes a mistake.
3118 It was created by Wine $as_me 3.2, which was
3119 generated by GNU Autoconf 2.69. Invocation command line was
3131 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3132 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3133 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3134 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3135 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3137 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3138 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3140 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3141 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3142 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3143 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3144 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3145 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3146 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3150 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3154 test -z "$as_dir" && as_dir
=.
3155 $as_echo "PATH: $as_dir"
3171 # Keep a trace of the command line.
3172 # Strip out --no-create and --no-recursion so they do not pile up.
3173 # Strip out --silent because we don't want to record it for future runs.
3174 # Also quote any args containing shell meta-characters.
3175 # Make two passes to allow for proper duplicate-argument suppression.
3179 ac_must_keep_next
=false
3185 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
3186 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
3187 |
-silent |
--silent |
--silen |
--sile |
--sil)
3190 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3193 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
3195 as_fn_append ac_configure_args1
" '$ac_arg'"
3196 if test $ac_must_keep_next = true
; then
3197 ac_must_keep_next
=false
# Got value, back to normal.
3200 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
3201 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
3202 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
3203 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
3204 case "$ac_configure_args0 " in
3205 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3208 -* ) ac_must_keep_next
=true
;;
3211 as_fn_append ac_configure_args
" '$ac_arg'"
3216 { ac_configure_args0
=; unset ac_configure_args0
;}
3217 { ac_configure_args1
=; unset ac_configure_args1
;}
3219 # When interrupted or exit'd, cleanup temporary files, and complete
3220 # config.log. We remove comments because anyway the quotes in there
3221 # would cause problems or look ugly.
3222 # WARNING: Use '\'' to represent an apostrophe within the trap.
3223 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3224 trap 'exit_status=$?
3225 # Save into config.log some information that might help in debugging.
3229 $as_echo "## ---------------- ##
3230 ## Cache variables. ##
3231 ## ---------------- ##"
3233 # The following way of writing the cache mishandles newlines in values,
3235 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3236 eval ac_val=\$$ac_var
3240 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3241 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3244 _ | IFS | as_nl) ;; #(
3245 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3246 *) { eval $ac_var=; unset $ac_var;} ;;
3251 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3252 *${as_nl}ac_space=\ *)
3254 "s/'\''/'\''\\\\'\'''\''/g;
3255 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3258 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3265 $as_echo "## ----------------- ##
3266 ## Output variables. ##
3267 ## ----------------- ##"
3269 for ac_var in $ac_subst_vars
3271 eval ac_val=\$$ac_var
3273 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3275 $as_echo "$ac_var='\''$ac_val'\''"
3279 if test -n "$ac_subst_files"; then
3280 $as_echo "## ------------------- ##
3281 ## File substitutions. ##
3282 ## ------------------- ##"
3284 for ac_var
in $ac_subst_files
3286 eval ac_val
=\$
$ac_var
3288 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3290 $as_echo "$ac_var='\''$ac_val'\''"
3295 if test -s confdefs.h; then
3296 $as_echo "## ----------- ##
3303 test "$ac_signal" != 0 &&
3304 $as_echo "$as_me: caught signal $ac_signal"
3305 $as_echo "$as_me: exit $exit_status"
3307 rm -f core *.core core.conftest.* &&
3308 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3311 for ac_signal
in 1 2 13 15; do
3312 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3316 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3317 rm -f -r conftest
* confdefs.h
3319 $as_echo "/* confdefs.h */" > confdefs.h
3321 # Predefined preprocessor variables.
3323 cat >>confdefs.h
<<_ACEOF
3324 #define PACKAGE_NAME "$PACKAGE_NAME"
3327 cat >>confdefs.h
<<_ACEOF
3328 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3331 cat >>confdefs.h
<<_ACEOF
3332 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3335 cat >>confdefs.h
<<_ACEOF
3336 #define PACKAGE_STRING "$PACKAGE_STRING"
3339 cat >>confdefs.h
<<_ACEOF
3340 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3343 cat >>confdefs.h
<<_ACEOF
3344 #define PACKAGE_URL "$PACKAGE_URL"
3348 # Let the site file select an alternate cache file if it wants to.
3349 # Prefer an explicitly selected file to automatically selected ones.
3352 if test -n "$CONFIG_SITE"; then
3353 # We do not want a PATH search for config.site.
3354 case $CONFIG_SITE in #((
3355 -*) ac_site_file1
=.
/$CONFIG_SITE;;
3356 */*) ac_site_file1
=$CONFIG_SITE;;
3357 *) ac_site_file1
=.
/$CONFIG_SITE;;
3359 elif test "x$prefix" != xNONE
; then
3360 ac_site_file1
=$prefix/share
/config.site
3361 ac_site_file2
=$prefix/etc
/config.site
3363 ac_site_file1
=$ac_default_prefix/share
/config.site
3364 ac_site_file2
=$ac_default_prefix/etc
/config.site
3366 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
3368 test "x$ac_site_file" = xNONE
&& continue
3369 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
3370 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3371 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3372 sed 's/^/| /' "$ac_site_file" >&5
3374 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3375 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3376 as_fn_error $?
"failed to load site script $ac_site_file
3377 See \`config.log' for more details" "$LINENO" 5; }
3381 if test -r "$cache_file"; then
3382 # Some versions of bash will fail to source /dev/null (special files
3383 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3384 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
3385 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3386 $as_echo "$as_me: loading cache $cache_file" >&6;}
3388 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
3389 *) .
"./$cache_file";;
3393 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3394 $as_echo "$as_me: creating cache $cache_file" >&6;}
3398 # Check that the precious variables saved in the cache have kept the same
3400 ac_cache_corrupted
=false
3401 for ac_var
in $ac_precious_vars; do
3402 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
3403 eval ac_new_set
=\
$ac_env_${ac_var}_set
3404 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
3405 eval ac_new_val
=\
$ac_env_${ac_var}_value
3406 case $ac_old_set,$ac_new_set in
3408 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3409 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3410 ac_cache_corrupted
=: ;;
3412 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3413 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3414 ac_cache_corrupted
=: ;;
3417 if test "x$ac_old_val" != "x$ac_new_val"; then
3418 # differences in whitespace do not lead to failure.
3419 ac_old_val_w
=`echo x $ac_old_val`
3420 ac_new_val_w
=`echo x $ac_new_val`
3421 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3422 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3423 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3424 ac_cache_corrupted
=:
3426 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3427 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3428 eval $ac_var=\
$ac_old_val
3430 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3431 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3432 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3433 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3436 # Pass precious variables to config.status.
3437 if test "$ac_new_set" = set; then
3439 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3440 *) ac_arg
=$ac_var=$ac_new_val ;;
3442 case " $ac_configure_args " in
3443 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3444 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
3448 if $ac_cache_corrupted; then
3449 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3450 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3451 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3452 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3453 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3455 ## -------------------- ##
3456 ## Main body of script. ##
3457 ## -------------------- ##
3460 ac_cpp
='$CPP $CPPFLAGS'
3461 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3462 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3463 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3467 ac_config_headers
="$ac_config_headers include/config.h"
3470 for ac_dir
in tools
"$srcdir"/tools
; do
3471 if test -f "$ac_dir/install-sh"; then
3473 ac_install_sh
="$ac_aux_dir/install-sh -c"
3475 elif test -f "$ac_dir/install.sh"; then
3477 ac_install_sh
="$ac_aux_dir/install.sh -c"
3479 elif test -f "$ac_dir/shtool"; then
3481 ac_install_sh
="$ac_aux_dir/shtool install -c"
3485 if test -z "$ac_aux_dir"; then
3486 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3489 # These three variables are undocumented and unsupported,
3490 # and are intended to be withdrawn in a future Autoconf release.
3491 # They can cause serious problems if a builder's source tree is in a directory
3492 # whose full name contains unusual characters.
3493 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3494 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3495 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3499 libwine_version
="1.0"
3503 # Check whether --enable-win16 was given.
3504 if test "${enable_win16+set}" = set; then :
3505 enableval
=$enable_win16;
3508 # Check whether --enable-win64 was given.
3509 if test "${enable_win64+set}" = set; then :
3510 enableval
=$enable_win64;
3513 # Check whether --enable-tests was given.
3514 if test "${enable_tests+set}" = set; then :
3515 enableval
=$enable_tests;
3518 # Check whether --enable-maintainer-mode was given.
3519 if test "${enable_maintainer_mode+set}" = set; then :
3520 enableval
=$enable_maintainer_mode;
3525 # Check whether --with-alsa was given.
3526 if test "${with_alsa+set}" = set; then :
3527 withval
=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h
=no
; ac_cv_header_alsa_asoundlib_h
=no
; fi
3531 # Check whether --with-capi was given.
3532 if test "${with_capi+set}" = set; then :
3537 # Check whether --with-cms was given.
3538 if test "${with_cms+set}" = set; then :
3543 # Check whether --with-coreaudio was given.
3544 if test "${with_coreaudio+set}" = set; then :
3545 withval
=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h
=no
; fi
3549 # Check whether --with-cups was given.
3550 if test "${with_cups+set}" = set; then :
3555 # Check whether --with-curses was given.
3556 if test "${with_curses+set}" = set; then :
3557 withval
=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h
=no
; ac_cv_header_curses_h
=no
; fi
3561 # Check whether --with-dbus was given.
3562 if test "${with_dbus+set}" = set; then :
3567 # Check whether --with-float-abi was given.
3568 if test "${with_float_abi+set}" = set; then :
3569 withval
=$with_float_abi;
3573 # Check whether --with-fontconfig was given.
3574 if test "${with_fontconfig+set}" = set; then :
3575 withval
=$with_fontconfig;
3579 # Check whether --with-freetype was given.
3580 if test "${with_freetype+set}" = set; then :
3581 withval
=$with_freetype;
3585 # Check whether --with-gettext was given.
3586 if test "${with_gettext+set}" = set; then :
3587 withval
=$with_gettext;
3591 # Check whether --with-gettextpo was given.
3592 if test "${with_gettextpo+set}" = set; then :
3593 withval
=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h
=no
; fi
3597 # Check whether --with-gphoto was given.
3598 if test "${with_gphoto+set}" = set; then :
3599 withval
=$with_gphoto;
3603 # Check whether --with-glu was given.
3604 if test "${with_glu+set}" = set; then :
3609 # Check whether --with-gnutls was given.
3610 if test "${with_gnutls+set}" = set; then :
3611 withval
=$with_gnutls;
3615 # Check whether --with-gsm was given.
3616 if test "${with_gsm+set}" = set; then :
3617 withval
=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h
=no
; ac_cv_header_gsm_gsm_h
=no
; fi
3621 # Check whether --with-gssapi was given.
3622 if test "${with_gssapi+set}" = set; then :
3623 withval
=$with_gssapi;
3627 # Check whether --with-gstreamer was given.
3628 if test "${with_gstreamer+set}" = set; then :
3629 withval
=$with_gstreamer;
3633 # Check whether --with-hal was given.
3634 if test "${with_hal+set}" = set; then :
3639 # Check whether --with-jpeg was given.
3640 if test "${with_jpeg+set}" = set; then :
3645 # Check whether --with-krb5 was given.
3646 if test "${with_krb5+set}" = set; then :
3651 # Check whether --with-ldap was given.
3652 if test "${with_ldap+set}" = set; then :
3653 withval
=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h
=no
; ac_cv_header_lber_h
=no
; fi
3657 # Check whether --with-mpg123 was given.
3658 if test "${with_mpg123+set}" = set; then :
3659 withval
=$with_mpg123;
3663 # Check whether --with-netapi was given.
3664 if test "${with_netapi+set}" = set; then :
3665 withval
=$with_netapi;
3669 # Check whether --with-openal was given.
3670 if test "${with_openal+set}" = set; then :
3671 withval
=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h
=no
; ac_cv_header_OpenAL_al_h
=no
; fi
3675 # Check whether --with-opencl was given.
3676 if test "${with_opencl+set}" = set; then :
3677 withval
=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h
=no
; ac_cv_header_OpenCL_opencl_h
=no
; fi
3681 # Check whether --with-opengl was given.
3682 if test "${with_opengl+set}" = set; then :
3683 withval
=$with_opengl;
3687 # Check whether --with-osmesa was given.
3688 if test "${with_osmesa+set}" = set; then :
3689 withval
=$with_osmesa;
3693 # Check whether --with-oss was given.
3694 if test "${with_oss+set}" = set; then :
3699 # Check whether --with-pcap was given.
3700 if test "${with_pcap+set}" = set; then :
3701 withval
=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h
=no
; fi
3705 # Check whether --with-png was given.
3706 if test "${with_png+set}" = set; then :
3711 # Check whether --with-pthread was given.
3712 if test "${with_pthread+set}" = set; then :
3713 withval
=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h
=no
; fi
3717 # Check whether --with-pulse was given.
3718 if test "${with_pulse+set}" = set; then :
3719 withval
=$with_pulse;
3723 # Check whether --with-sane was given.
3724 if test "${with_sane+set}" = set; then :
3729 # Check whether --with-tiff was given.
3730 if test "${with_tiff+set}" = set; then :
3735 # Check whether --with-udev was given.
3736 if test "${with_udev+set}" = set; then :
3741 # Check whether --with-v4l was given.
3742 if test "${with_v4l+set}" = set; then :
3747 # Check whether --with-xcomposite was given.
3748 if test "${with_xcomposite+set}" = set; then :
3749 withval
=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h
=no
; fi
3753 # Check whether --with-xcursor was given.
3754 if test "${with_xcursor+set}" = set; then :
3755 withval
=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h
=no
; fi
3759 # Check whether --with-xfixes was given.
3760 if test "${with_xfixes+set}" = set; then :
3761 withval
=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h
=no
; fi
3765 # Check whether --with-xinerama was given.
3766 if test "${with_xinerama+set}" = set; then :
3767 withval
=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h
=no
; fi
3771 # Check whether --with-xinput was given.
3772 if test "${with_xinput+set}" = set; then :
3773 withval
=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h
=no
; fi
3777 # Check whether --with-xinput2 was given.
3778 if test "${with_xinput2+set}" = set; then :
3779 withval
=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h
=no
; fi
3783 # Check whether --with-xml was given.
3784 if test "${with_xml+set}" = set; then :
3789 # Check whether --with-xrandr was given.
3790 if test "${with_xrandr+set}" = set; then :
3791 withval
=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h
=no
; fi
3795 # Check whether --with-xrender was given.
3796 if test "${with_xrender+set}" = set; then :
3797 withval
=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h
=no
; fi
3801 # Check whether --with-xshape was given.
3802 if test "${with_xshape+set}" = set; then :
3803 withval
=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h
=no
; fi
3807 # Check whether --with-xshm was given.
3808 if test "${with_xshm+set}" = set; then :
3809 withval
=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h
=no
; fi
3813 # Check whether --with-xslt was given.
3814 if test "${with_xslt+set}" = set; then :
3819 # Check whether --with-xxf86vm was given.
3820 if test "${with_xxf86vm+set}" = set; then :
3821 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
3825 # Check whether --with-zlib was given.
3826 if test "${with_zlib+set}" = set; then :
3827 withval
=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h
=no
; fi
3832 # Check whether --with-wine-tools was given.
3833 if test "${with_wine_tools+set}" = set; then :
3834 withval
=$with_wine_tools;
3838 # Check whether --with-wine64 was given.
3839 if test "${with_wine64+set}" = set; then :
3840 withval
=$with_wine64;
3844 # Make sure we can run config.sub.
3845 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
3846 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3849 $as_echo_n "checking build system type... " >&6; }
3850 if ${ac_cv_build+:} false
; then :
3851 $as_echo_n "(cached) " >&6
3853 ac_build_alias
=$build_alias
3854 test "x$ac_build_alias" = x
&&
3855 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
3856 test "x$ac_build_alias" = x
&&
3857 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
3858 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3859 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3863 $as_echo "$ac_cv_build" >&6; }
3864 case $ac_cv_build in
3866 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
3869 ac_save_IFS
=$IFS; IFS
='-'
3875 # Remember, the first character of IFS is used to create $*,
3876 # except with old shells:
3879 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
3882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3883 $as_echo_n "checking host system type... " >&6; }
3884 if ${ac_cv_host+:} false
; then :
3885 $as_echo_n "(cached) " >&6
3887 if test "x$host_alias" = x
; then
3888 ac_cv_host
=$ac_cv_build
3890 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3891 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3896 $as_echo "$ac_cv_host" >&6; }
3899 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
3902 ac_save_IFS
=$IFS; IFS
='-'
3908 # Remember, the first character of IFS is used to create $*,
3909 # except with old shells:
3912 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
3918 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
3919 as_fn_error $?
"you are building out of the source tree, but the source tree contains object files.
3920 You need to run 'make distclean' in the source tree first." "$LINENO" 5
3925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3926 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3928 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3929 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
3930 $as_echo_n "(cached) " >&6
3932 cat >conftest.
make <<\_ACEOF
3935 @
echo '@@@%%%=$(MAKE)=@@@%%%'
3937 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3938 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3940 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
3942 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
3946 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
3947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3948 $as_echo "yes" >&6; }
3951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3952 $as_echo "no" >&6; }
3953 SET_MAKE
="MAKE=${MAKE-make}"
3957 ac_cpp
='$CPP $CPPFLAGS'
3958 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3959 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3960 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3961 if test -n "$ac_tool_prefix"; then
3962 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3963 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3965 $as_echo_n "checking for $ac_word... " >&6; }
3966 if ${ac_cv_prog_CC+:} false
; then :
3967 $as_echo_n "(cached) " >&6
3969 if test -n "$CC"; then
3970 ac_cv_prog_CC
="$CC" # Let the user override the test.
3972 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3976 test -z "$as_dir" && as_dir
=.
3977 for ac_exec_ext
in '' $ac_executable_extensions; do
3978 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3979 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3980 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3990 if test -n "$CC"; then
3991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3992 $as_echo "$CC" >&6; }
3994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3995 $as_echo "no" >&6; }
4000 if test -z "$ac_cv_prog_CC"; then
4002 # Extract the first word of "gcc", so it can be a program name with args.
4003 set dummy gcc
; ac_word
=$2
4004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4005 $as_echo_n "checking for $ac_word... " >&6; }
4006 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
4007 $as_echo_n "(cached) " >&6
4009 if test -n "$ac_ct_CC"; then
4010 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4012 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4016 test -z "$as_dir" && as_dir
=.
4017 for ac_exec_ext
in '' $ac_executable_extensions; do
4018 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4019 ac_cv_prog_ac_ct_CC
="gcc"
4020 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4029 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4030 if test -n "$ac_ct_CC"; then
4031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4032 $as_echo "$ac_ct_CC" >&6; }
4034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4035 $as_echo "no" >&6; }
4038 if test "x$ac_ct_CC" = x
; then
4041 case $cross_compiling:$ac_tool_warned in
4043 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4044 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4045 ac_tool_warned
=yes ;;
4053 if test -z "$CC"; then
4054 if test -n "$ac_tool_prefix"; then
4055 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4056 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
4057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4058 $as_echo_n "checking for $ac_word... " >&6; }
4059 if ${ac_cv_prog_CC+:} false
; then :
4060 $as_echo_n "(cached) " >&6
4062 if test -n "$CC"; then
4063 ac_cv_prog_CC
="$CC" # Let the user override the test.
4065 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4069 test -z "$as_dir" && as_dir
=.
4070 for ac_exec_ext
in '' $ac_executable_extensions; do
4071 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4072 ac_cv_prog_CC
="${ac_tool_prefix}cc"
4073 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4083 if test -n "$CC"; then
4084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4085 $as_echo "$CC" >&6; }
4087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4088 $as_echo "no" >&6; }
4094 if test -z "$CC"; then
4095 # Extract the first word of "cc", so it can be a program name with args.
4096 set dummy cc
; ac_word
=$2
4097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4098 $as_echo_n "checking for $ac_word... " >&6; }
4099 if ${ac_cv_prog_CC+:} false
; then :
4100 $as_echo_n "(cached) " >&6
4102 if test -n "$CC"; then
4103 ac_cv_prog_CC
="$CC" # Let the user override the test.
4106 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4110 test -z "$as_dir" && as_dir
=.
4111 for ac_exec_ext
in '' $ac_executable_extensions; do
4112 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4113 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4114 ac_prog_rejected
=yes
4118 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4125 if test $ac_prog_rejected = yes; then
4126 # We found a bogon in the path, so make sure we never use it.
4127 set dummy
$ac_cv_prog_CC
4129 if test $# != 0; then
4130 # We chose a different compiler from the bogus one.
4131 # However, it has the same basename, so the bogon will be chosen
4132 # first if we set CC to just the basename; use the full file name.
4134 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
4140 if test -n "$CC"; then
4141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4142 $as_echo "$CC" >&6; }
4144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4145 $as_echo "no" >&6; }
4150 if test -z "$CC"; then
4151 if test -n "$ac_tool_prefix"; then
4152 for ac_prog
in cl.exe
4154 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4155 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4157 $as_echo_n "checking for $ac_word... " >&6; }
4158 if ${ac_cv_prog_CC+:} false
; then :
4159 $as_echo_n "(cached) " >&6
4161 if test -n "$CC"; then
4162 ac_cv_prog_CC
="$CC" # Let the user override the test.
4164 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4168 test -z "$as_dir" && as_dir
=.
4169 for ac_exec_ext
in '' $ac_executable_extensions; do
4170 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4171 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
4172 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4182 if test -n "$CC"; then
4183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4184 $as_echo "$CC" >&6; }
4186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4187 $as_echo "no" >&6; }
4191 test -n "$CC" && break
4194 if test -z "$CC"; then
4196 for ac_prog
in cl.exe
4198 # Extract the first word of "$ac_prog", so it can be a program name with args.
4199 set dummy
$ac_prog; ac_word
=$2
4200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4201 $as_echo_n "checking for $ac_word... " >&6; }
4202 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
4203 $as_echo_n "(cached) " >&6
4205 if test -n "$ac_ct_CC"; then
4206 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4208 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4212 test -z "$as_dir" && as_dir
=.
4213 for ac_exec_ext
in '' $ac_executable_extensions; do
4214 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4215 ac_cv_prog_ac_ct_CC
="$ac_prog"
4216 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4225 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4226 if test -n "$ac_ct_CC"; then
4227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4228 $as_echo "$ac_ct_CC" >&6; }
4230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4231 $as_echo "no" >&6; }
4235 test -n "$ac_ct_CC" && break
4238 if test "x$ac_ct_CC" = x
; then
4241 case $cross_compiling:$ac_tool_warned in
4243 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4244 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4245 ac_tool_warned
=yes ;;
4254 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4255 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4256 as_fn_error $?
"no acceptable C compiler found in \$PATH
4257 See \`config.log' for more details" "$LINENO" 5; }
4259 # Provide some information about the compiler.
4260 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4263 for ac_option
in --version -v -V -qversion; do
4264 { { ac_try
="$ac_compiler $ac_option >&5"
4266 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4267 *) ac_try_echo=$ac_try;;
4269 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4270 $as_echo "$ac_try_echo"; } >&5
4271 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4273 if test -s conftest.err; then
4275 ... rest of stderr output deleted ...
4276 10q' conftest.err >conftest.er1
4277 cat conftest.er1 >&5
4279 rm -f conftest.er1 conftest.err
4280 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4281 test $ac_status = 0; }
4284 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4285 /* end confdefs.h. */
4295 ac_clean_files_save=$ac_clean_files
4296 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4297 # Try to create an executable without -o first, disregard a.out.
4298 # It will help us diagnose broken compilers, and finding out an intuition
4300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4301 $as_echo_n "checking whether the C compiler works... " >&6; }
4302 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
4304 # The possible output files:
4305 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4308 for ac_file in $ac_files
4311 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4312 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4317 if { { ac_try="$ac_link_default"
4319 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4320 *) ac_try_echo
=$ac_try;;
4322 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4323 $as_echo "$ac_try_echo"; } >&5
4324 (eval "$ac_link_default") 2>&5
4326 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4327 test $ac_status = 0; }; then :
4328 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4329 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4330 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4331 # so that the user can short-circuit this test for compilers unknown to
4333 for ac_file
in $ac_files ''
4335 test -f "$ac_file" ||
continue
4337 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
4340 # We found the default executable, but exeext='' is most
4344 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
4346 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4348 # We set ac_cv_exeext here because the later test for it is not
4349 # safe: cross compilers may not add the suffix if given an `-o'
4350 # argument, so we may need to know it at that point already.
4351 # Even if this section looks crufty: it has the advantage of
4358 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
4363 if test -z "$ac_file"; then :
4364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4365 $as_echo "no" >&6; }
4366 $as_echo "$as_me: failed program was:" >&5
4367 sed 's/^/| /' conftest.
$ac_ext >&5
4369 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4370 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4371 as_fn_error
77 "C compiler cannot create executables
4372 See \`config.log' for more details" "$LINENO" 5; }
4374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4375 $as_echo "yes" >&6; }
4377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4378 $as_echo_n "checking for C compiler default output file name... " >&6; }
4379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4380 $as_echo "$ac_file" >&6; }
4381 ac_exeext
=$ac_cv_exeext
4383 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
4384 ac_clean_files
=$ac_clean_files_save
4385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4386 $as_echo_n "checking for suffix of executables... " >&6; }
4387 if { { ac_try
="$ac_link"
4389 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4390 *) ac_try_echo=$ac_try;;
4392 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4393 $as_echo "$ac_try_echo"; } >&5
4394 (eval "$ac_link") 2>&5
4396 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4397 test $ac_status = 0; }; then :
4398 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
4399 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
4400 # work properly (i.e., refer to `conftest.exe'), while it won't with
4402 for ac_file
in conftest.exe conftest conftest.
*; do
4403 test -f "$ac_file" ||
continue
4405 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
4406 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4412 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4413 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4414 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
4415 See \`config.log' for more details" "$LINENO" 5; }
4417 rm -f conftest conftest
$ac_cv_exeext
4418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4419 $as_echo "$ac_cv_exeext" >&6; }
4421 rm -f conftest.
$ac_ext
4422 EXEEXT
=$ac_cv_exeext
4424 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4425 /* end confdefs.h. */
4430 FILE *f = fopen ("conftest.out", "w");
4431 return ferror (f) || fclose (f) != 0;
4437 ac_clean_files
="$ac_clean_files conftest.out"
4438 # Check that the compiler produces executables we can run. If not, either
4439 # the compiler is broken, or we cross compile.
4440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4441 $as_echo_n "checking whether we are cross compiling... " >&6; }
4442 if test "$cross_compiling" != yes; then
4443 { { ac_try
="$ac_link"
4445 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4446 *) ac_try_echo=$ac_try;;
4448 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4449 $as_echo "$ac_try_echo"; } >&5
4450 (eval "$ac_link") 2>&5
4452 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4453 test $ac_status = 0; }
4454 if { ac_try='./conftest$ac_cv_exeext'
4455 { { case "(($ac_try" in
4456 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4457 *) ac_try_echo
=$ac_try;;
4459 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4460 $as_echo "$ac_try_echo"; } >&5
4461 (eval "$ac_try") 2>&5
4463 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4464 test $ac_status = 0; }; }; then
4467 if test "$cross_compiling" = maybe
; then
4470 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4471 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4472 as_fn_error $?
"cannot run C compiled programs.
4473 If you meant to cross compile, use \`--host'.
4474 See \`config.log' for more details" "$LINENO" 5; }
4478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4479 $as_echo "$cross_compiling" >&6; }
4481 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
4482 ac_clean_files
=$ac_clean_files_save
4483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4484 $as_echo_n "checking for suffix of object files... " >&6; }
4485 if ${ac_cv_objext+:} false
; then :
4486 $as_echo_n "(cached) " >&6
4488 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4489 /* end confdefs.h. */
4499 rm -f conftest.o conftest.obj
4500 if { { ac_try
="$ac_compile"
4502 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4503 *) ac_try_echo=$ac_try;;
4505 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4506 $as_echo "$ac_try_echo"; } >&5
4507 (eval "$ac_compile") 2>&5
4509 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4510 test $ac_status = 0; }; then :
4511 for ac_file in conftest.o conftest.obj conftest.*; do
4512 test -f "$ac_file" || continue;
4514 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4515 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4520 $as_echo "$as_me: failed program was:" >&5
4521 sed 's/^/| /' conftest.$ac_ext >&5
4523 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4524 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4525 as_fn_error $? "cannot compute suffix of object files
: cannot compile
4526 See \
`config.log' for more details" "$LINENO" 5; }
4528 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4531 $as_echo "$ac_cv_objext" >&6; }
4532 OBJEXT=$ac_cv_objext
4534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4535 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4536 if ${ac_cv_c_compiler_gnu+:} false; then :
4537 $as_echo_n "(cached) " >&6
4539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4540 /* end confdefs.h. */
4553 if ac_fn_c_try_compile "$LINENO"; then :
4558 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4559 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4563 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4564 if test $ac_compiler_gnu = yes; then
4569 ac_test_CFLAGS=${CFLAGS+set}
4570 ac_save_CFLAGS=$CFLAGS
4571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4572 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4573 if ${ac_cv_prog_cc_g+:} false; then :
4574 $as_echo_n "(cached) " >&6
4576 ac_save_c_werror_flag=$ac_c_werror_flag
4577 ac_c_werror_flag=yes
4580 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4581 /* end confdefs.h. */
4591 if ac_fn_c_try_compile "$LINENO"; then :
4595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4596 /* end confdefs.h. */
4606 if ac_fn_c_try_compile "$LINENO"; then :
4609 ac_c_werror_flag=$ac_save_c_werror_flag
4611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4612 /* end confdefs.h. */
4622 if ac_fn_c_try_compile "$LINENO"; then :
4625 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4627 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4629 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4630 ac_c_werror_flag=$ac_save_c_werror_flag
4632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4633 $as_echo "$ac_cv_prog_cc_g" >&6; }
4634 if test "$ac_test_CFLAGS" = set; then
4635 CFLAGS=$ac_save_CFLAGS
4636 elif test $ac_cv_prog_cc_g = yes; then
4637 if test "$GCC" = yes; then
4643 if test "$GCC" = yes; then
4649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4650 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4651 if ${ac_cv_prog_cc_c89+:} false; then :
4652 $as_echo_n "(cached) " >&6
4654 ac_cv_prog_cc_c89=no
4656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4657 /* end confdefs.h. */
4661 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4662 struct buf { int x; };
4663 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4664 static char *e (p, i)
4670 static char *f (char * (*g) (char **, int), char **p, ...)
4675 s = g (p, va_arg (v,int));
4680 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4681 function prototypes and stuff, but not '\xHH' hex character constants.
4682 These don't provoke an error unfortunately, instead are silently treated
4683 as 'x'. The following induces an error, until -std is added to get
4684 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4685 array size at least. It's necessary to write '\x00'==0 to get something
4686 that's true only with -std. */
4687 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4689 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4690 inside strings and character constants. */
4692 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4694 int test (int i, double x);
4695 struct s1 {int (*f) (int a);};
4696 struct s2 {int (*f) (double a);};
4697 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4703 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4708 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4709 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4711 CC="$ac_save_CC $ac_arg"
4712 if ac_fn_c_try_compile "$LINENO"; then :
4713 ac_cv_prog_cc_c89=$ac_arg
4715 rm -f core conftest.err conftest.$ac_objext
4716 test "x$ac_cv_prog_cc_c89" != "xno" && break
4718 rm -f conftest.$ac_ext
4723 case "x$ac_cv_prog_cc_c89" in
4725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4726 $as_echo "none needed" >&6; } ;;
4728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4729 $as_echo "unsupported" >&6; } ;;
4731 CC="$CC $ac_cv_prog_cc_c89"
4732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4733 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4735 if test "x$ac_cv_prog_cc_c89" != xno; then :
4740 ac_cpp='$CPP $CPPFLAGS'
4741 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4742 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4743 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4746 ac_cpp='$CXXCPP $CPPFLAGS'
4747 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4748 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4749 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4750 if test -z "$CXX"; then
4751 if test -n "$CCC"; then
4754 if test -n "$ac_tool_prefix"; then
4755 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4757 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4758 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4760 $as_echo_n "checking for $ac_word... " >&6; }
4761 if ${ac_cv_prog_CXX+:} false; then :
4762 $as_echo_n "(cached) " >&6
4764 if test -n "$CXX"; then
4765 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4767 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4771 test -z "$as_dir" && as_dir=.
4772 for ac_exec_ext in '' $ac_executable_extensions; do
4773 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4774 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4775 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4785 if test -n "$CXX"; then
4786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4787 $as_echo "$CXX" >&6; }
4789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4790 $as_echo "no" >&6; }
4794 test -n "$CXX" && break
4797 if test -z "$CXX"; then
4799 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4801 # Extract the first word of "$ac_prog", so it can be a program name with args.
4802 set dummy $ac_prog; ac_word=$2
4803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4804 $as_echo_n "checking for $ac_word... " >&6; }
4805 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4806 $as_echo_n "(cached) " >&6
4808 if test -n "$ac_ct_CXX"; then
4809 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4811 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4815 test -z "$as_dir" && as_dir=.
4816 for ac_exec_ext in '' $ac_executable_extensions; do
4817 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4818 ac_cv_prog_ac_ct_CXX="$ac_prog"
4819 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4828 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4829 if test -n "$ac_ct_CXX"; then
4830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4831 $as_echo "$ac_ct_CXX" >&6; }
4833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4834 $as_echo "no" >&6; }
4838 test -n "$ac_ct_CXX" && break
4841 if test "x$ac_ct_CXX" = x; then
4844 case $cross_compiling:$ac_tool_warned in
4846 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4847 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4848 ac_tool_warned=yes ;;
4856 # Provide some information about the compiler.
4857 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4860 for ac_option in --version -v -V -qversion; do
4861 { { ac_try="$ac_compiler $ac_option >&5"
4863 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4864 *) ac_try_echo
=$ac_try;;
4866 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4867 $as_echo "$ac_try_echo"; } >&5
4868 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4870 if test -s conftest.err
; then
4872 ... rest of stderr output deleted ...
4873 10q' conftest.err
>conftest.er1
4874 cat conftest.er1
>&5
4876 rm -f conftest.er1 conftest.err
4877 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4878 test $ac_status = 0; }
4881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4882 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4883 if ${ac_cv_cxx_compiler_gnu+:} false
; then :
4884 $as_echo_n "(cached) " >&6
4886 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4887 /* end confdefs.h. */
4900 if ac_fn_cxx_try_compile
"$LINENO"; then :
4905 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4906 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
4909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4910 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4911 if test $ac_compiler_gnu = yes; then
4916 ac_test_CXXFLAGS
=${CXXFLAGS+set}
4917 ac_save_CXXFLAGS
=$CXXFLAGS
4918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4919 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4920 if ${ac_cv_prog_cxx_g+:} false
; then :
4921 $as_echo_n "(cached) " >&6
4923 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
4924 ac_cxx_werror_flag
=yes
4927 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4928 /* end confdefs.h. */
4938 if ac_fn_cxx_try_compile
"$LINENO"; then :
4939 ac_cv_prog_cxx_g
=yes
4942 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4943 /* end confdefs.h. */
4953 if ac_fn_cxx_try_compile
"$LINENO"; then :
4956 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4958 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4959 /* end confdefs.h. */
4969 if ac_fn_cxx_try_compile
"$LINENO"; then :
4970 ac_cv_prog_cxx_g
=yes
4972 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4974 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4976 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4977 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4980 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4981 if test "$ac_test_CXXFLAGS" = set; then
4982 CXXFLAGS
=$ac_save_CXXFLAGS
4983 elif test $ac_cv_prog_cxx_g = yes; then
4984 if test "$GXX" = yes; then
4990 if test "$GXX" = yes; then
4997 ac_cpp
='$CPP $CPPFLAGS'
4998 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4999 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5000 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5002 if test -n "$ac_tool_prefix"; then
5003 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
5004 set dummy
${ac_tool_prefix}cpp
; ac_word
=$2
5005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5006 $as_echo_n "checking for $ac_word... " >&6; }
5007 if ${ac_cv_prog_CPPBIN+:} false
; then :
5008 $as_echo_n "(cached) " >&6
5010 if test -n "$CPPBIN"; then
5011 ac_cv_prog_CPPBIN
="$CPPBIN" # Let the user override the test.
5013 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5017 test -z "$as_dir" && as_dir
=.
5018 for ac_exec_ext
in '' $ac_executable_extensions; do
5019 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5020 ac_cv_prog_CPPBIN
="${ac_tool_prefix}cpp"
5021 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5030 CPPBIN
=$ac_cv_prog_CPPBIN
5031 if test -n "$CPPBIN"; then
5032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
5033 $as_echo "$CPPBIN" >&6; }
5035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5036 $as_echo "no" >&6; }
5041 if test -z "$ac_cv_prog_CPPBIN"; then
5042 ac_ct_CPPBIN
=$CPPBIN
5043 # Extract the first word of "cpp", so it can be a program name with args.
5044 set dummy cpp
; ac_word
=$2
5045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5046 $as_echo_n "checking for $ac_word... " >&6; }
5047 if ${ac_cv_prog_ac_ct_CPPBIN+:} false
; then :
5048 $as_echo_n "(cached) " >&6
5050 if test -n "$ac_ct_CPPBIN"; then
5051 ac_cv_prog_ac_ct_CPPBIN
="$ac_ct_CPPBIN" # Let the user override the test.
5053 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5057 test -z "$as_dir" && as_dir
=.
5058 for ac_exec_ext
in '' $ac_executable_extensions; do
5059 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5060 ac_cv_prog_ac_ct_CPPBIN
="cpp"
5061 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5070 ac_ct_CPPBIN
=$ac_cv_prog_ac_ct_CPPBIN
5071 if test -n "$ac_ct_CPPBIN"; then
5072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
5073 $as_echo "$ac_ct_CPPBIN" >&6; }
5075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5076 $as_echo "no" >&6; }
5079 if test "x$ac_ct_CPPBIN" = x
; then
5082 case $cross_compiling:$ac_tool_warned in
5084 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5085 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5086 ac_tool_warned
=yes ;;
5088 CPPBIN
=$ac_ct_CPPBIN
5091 CPPBIN
="$ac_cv_prog_CPPBIN"
5095 cat >>confdefs.h
<<_ACEOF
5096 #define EXEEXT "$ac_exeext"
5099 if test -n "$ac_tool_prefix"; then
5100 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
5101 set dummy
${ac_tool_prefix}ld
; ac_word
=$2
5102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5103 $as_echo_n "checking for $ac_word... " >&6; }
5104 if ${ac_cv_prog_LD+:} false
; then :
5105 $as_echo_n "(cached) " >&6
5107 if test -n "$LD"; then
5108 ac_cv_prog_LD
="$LD" # Let the user override the test.
5110 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5114 test -z "$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_LD
="${ac_tool_prefix}ld"
5118 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5128 if test -n "$LD"; then
5129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5130 $as_echo "$LD" >&6; }
5132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5133 $as_echo "no" >&6; }
5138 if test -z "$ac_cv_prog_LD"; then
5140 # Extract the first word of "ld", so it can be a program name with args.
5141 set dummy ld
; ac_word
=$2
5142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5143 $as_echo_n "checking for $ac_word... " >&6; }
5144 if ${ac_cv_prog_ac_ct_LD+:} false
; then :
5145 $as_echo_n "(cached) " >&6
5147 if test -n "$ac_ct_LD"; then
5148 ac_cv_prog_ac_ct_LD
="$ac_ct_LD" # Let the user override the test.
5150 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5154 test -z "$as_dir" && as_dir
=.
5155 for ac_exec_ext
in '' $ac_executable_extensions; do
5156 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5157 ac_cv_prog_ac_ct_LD
="ld"
5158 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5167 ac_ct_LD
=$ac_cv_prog_ac_ct_LD
5168 if test -n "$ac_ct_LD"; then
5169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
5170 $as_echo "$ac_ct_LD" >&6; }
5172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5173 $as_echo "no" >&6; }
5176 if test "x$ac_ct_LD" = x
; then
5179 case $cross_compiling:$ac_tool_warned in
5181 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5182 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5183 ac_tool_warned
=yes ;;
5194 with_fontconfig
=${with_fontconfig:-no}
5196 *-mingw32*|
*-cygwin*)
5197 enable_win16
=${enable_win16:-no}
5198 CFLAGS
="$CFLAGS -D_WIN32"
5204 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
5208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
5209 $as_echo_n "checking whether $CC works... " >&6; }
5211 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5212 /* end confdefs.h. */
5222 if ac_fn_c_try_link
"$LINENO"; then :
5223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5224 $as_echo "yes" >&6; }
5226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5227 $as_echo "no" >&6; }
5228 as_fn_error $?
"Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
5230 rm -f core conftest.err conftest.
$ac_objext \
5231 conftest
$ac_exeext conftest.
$ac_ext
5233 notice_platform
="32-bit "
5236 PKG_CONFIG_PATH
=${PKG_CONFIG_PATH:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib/pkgconfig}
5237 export PKG_CONFIG_PATH
5238 enable_win16
=${enable_win16:-yes}
5240 if test "x${GCC}" = "xyes"
5242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5243 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5244 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5245 /* end confdefs.h. */
5250 void func(__builtin_ms_va_list *args);
5255 if ac_fn_c_try_compile
"$LINENO"; then :
5256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5257 $as_echo "yes" >&6; }
5259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5260 $as_echo "no" >&6; }
5261 as_fn_error $?
"You need gcc >= 4.4 or clang >= 3.8 to build Wine as 64-bit." "$LINENO" 5
5263 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5268 notice_platform
="64-bit "
5274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
5275 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
5276 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5277 /* end confdefs.h. */
5278 int ac_test(int i) { return i; }
5282 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
5287 if ac_fn_c_try_link
"$LINENO"; then :
5288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5289 $as_echo "yes" >&6; }
5291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5292 $as_echo "no" >&6; }
5293 as_fn_error $?
"You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
5295 rm -f core conftest.err conftest.
$ac_objext \
5296 conftest
$ac_exeext conftest.
$ac_ext
5297 case $with_float_abi in
5299 float_abi
=$with_float_abi ;;
5306 saved_CFLAGS
=$CFLAGS
5307 CFLAGS
="$CFLAGS -marm -mfloat-abi=$float_abi"
5308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mfloat-abi=$float_abi" >&5
5309 $as_echo_n "checking whether $CC supports -mfloat-abi=$float_abi... " >&6; }
5310 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5311 /* end confdefs.h. */
5316 asm("vmrs r2,fpscr");
5321 if ac_fn_c_try_link
"$LINENO"; then :
5322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5323 $as_echo "yes" >&6; }
5325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5326 $as_echo "no" >&6; }
5328 as_fn_append wine_warnings
"|Floating point is not supported for this target. The resulting build won't be compatible with Windows ARM binaries."
5330 rm -f core conftest.err conftest.
$ac_objext \
5331 conftest
$ac_exeext conftest.
$ac_ext
5332 CFLAGS
=$saved_CFLAGS
5336 CFLAGS
="$CFLAGS -marm -mfloat-abi=$float_abi"
5337 TARGETFLAGS
="-marm -mfloat-abi=$float_abi"
5341 enable_win16
=${enable_win16:-yes}
5345 enable_win16
=${enable_win16:-no}
5346 enable_win64
=${enable_win64:-no}
5348 enable_winetest
=${enable_winetest:-$enable_tests}
5350 if test -n "$with_wine64"
5352 if test "x$enable_win64" = "xyes"
5354 as_fn_error $?
"--enable-win64 and --with-wine64 are mutually exclusive.
5355 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
5357 test "$srcdir" != . || as_fn_error $?
"--with-wine64 cannot be used when building inside the source tree.
5358 You should create a separate build directory and run configure from there." "$LINENO" 5
5359 enable_fonts
=${enable_fonts:-no}
5360 enable_server
=${enable_server:-no}
5361 elif test "x$enable_win64" = "xyes"
5363 test "x$libdir" != "x\${exec_prefix}/lib" || libdir
="\${exec_prefix}/lib64"
5366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
5367 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
5368 if ${wine_cv_toolsdir+:} false
; then :
5369 $as_echo_n "(cached) " >&6
5371 wine_cv_toolsdir
="$with_wine_tools"
5372 if test -z "$with_wine_tools"; then
5373 if test "$cross_compiling" = "yes"; then
5374 as_fn_error $?
"you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
5375 elif test -n "$with_wine64"; then
5376 wine_cv_toolsdir
="$with_wine64"
5379 if test -z "$wine_cv_toolsdir"; then
5380 wine_makedep
=tools
/makedep
5381 wine_cv_toolsdir
="\$(top_builddir)"
5382 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5383 wine_makedep
=$wine_cv_toolsdir/tools
/makedep
5384 case "$wine_cv_toolsdir" in
5386 *) wine_cv_toolsdir
="\$(top_builddir)/$wine_cv_toolsdir" ;;
5388 enable_tools
=${enable_tools:-no}
5389 test -f "$wine_makedep" || as_fn_error $?
"the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5391 as_fn_error $?
"could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5395 $as_echo "$wine_cv_toolsdir" >&6; }
5396 TOOLSDIR
=$wine_cv_toolsdir
5398 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5400 TARGETFLAGS
="-b $host_alias $TARGETFLAGS"
5406 # Extract the first word of "$ac_prog", so it can be a program name with args.
5407 set dummy
$ac_prog; ac_word
=$2
5408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5409 $as_echo_n "checking for $ac_word... " >&6; }
5410 if ${ac_cv_prog_FLEX+:} false
; then :
5411 $as_echo_n "(cached) " >&6
5413 if test -n "$FLEX"; then
5414 ac_cv_prog_FLEX
="$FLEX" # Let the user override the test.
5416 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5420 test -z "$as_dir" && as_dir
=.
5421 for ac_exec_ext
in '' $ac_executable_extensions; do
5422 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5423 ac_cv_prog_FLEX
="$ac_prog"
5424 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5433 FLEX
=$ac_cv_prog_FLEX
5434 if test -n "$FLEX"; then
5435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5436 $as_echo "$FLEX" >&6; }
5438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5439 $as_echo "no" >&6; }
5443 test -n "$FLEX" && break
5445 test -n "$FLEX" || FLEX
="none"
5447 if test "$FLEX" = "none"
5449 as_fn_error $?
"no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5452 $as_echo_n "checking whether flex is recent enough... " >&6; }
5453 cat >conftest.l
<<EOF
5455 #include "prediluvian.h"
5459 if $FLEX -t conftest.l
>/dev
/null
2>&5
5461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5462 $as_echo "yes" >&6; }
5464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5465 $as_echo "no" >&6; }
5466 as_fn_error $?
"Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
5469 for ac_prog
in bison
5471 # Extract the first word of "$ac_prog", so it can be a program name with args.
5472 set dummy
$ac_prog; ac_word
=$2
5473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5474 $as_echo_n "checking for $ac_word... " >&6; }
5475 if ${ac_cv_prog_BISON+:} false
; then :
5476 $as_echo_n "(cached) " >&6
5478 if test -n "$BISON"; then
5479 ac_cv_prog_BISON
="$BISON" # Let the user override the test.
5481 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5485 test -z "$as_dir" && as_dir
=.
5486 for ac_exec_ext
in '' $ac_executable_extensions; do
5487 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5488 ac_cv_prog_BISON
="$ac_prog"
5489 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5498 BISON
=$ac_cv_prog_BISON
5499 if test -n "$BISON"; then
5500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5501 $as_echo "$BISON" >&6; }
5503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5504 $as_echo "no" >&6; }
5508 test -n "$BISON" && break
5510 test -n "$BISON" || BISON
="none"
5512 if test "$BISON" = "none"
5514 as_fn_error $?
"no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5517 if test -n "$ac_tool_prefix"; then
5518 for ac_prog
in ar gar
5520 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5521 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5523 $as_echo_n "checking for $ac_word... " >&6; }
5524 if ${ac_cv_prog_AR+:} false
; then :
5525 $as_echo_n "(cached) " >&6
5527 if test -n "$AR"; then
5528 ac_cv_prog_AR
="$AR" # Let the user override the test.
5530 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5534 test -z "$as_dir" && as_dir
=.
5535 for ac_exec_ext
in '' $ac_executable_extensions; do
5536 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5537 ac_cv_prog_AR
="$ac_tool_prefix$ac_prog"
5538 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5548 if test -n "$AR"; then
5549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5550 $as_echo "$AR" >&6; }
5552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5553 $as_echo "no" >&6; }
5557 test -n "$AR" && break
5560 if test -z "$AR"; then
5562 for ac_prog
in ar gar
5564 # Extract the first word of "$ac_prog", so it can be a program name with args.
5565 set dummy
$ac_prog; ac_word
=$2
5566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5567 $as_echo_n "checking for $ac_word... " >&6; }
5568 if ${ac_cv_prog_ac_ct_AR+:} false
; then :
5569 $as_echo_n "(cached) " >&6
5571 if test -n "$ac_ct_AR"; then
5572 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
5574 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5578 test -z "$as_dir" && as_dir
=.
5579 for ac_exec_ext
in '' $ac_executable_extensions; do
5580 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5581 ac_cv_prog_ac_ct_AR
="$ac_prog"
5582 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5591 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
5592 if test -n "$ac_ct_AR"; then
5593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5594 $as_echo "$ac_ct_AR" >&6; }
5596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5597 $as_echo "no" >&6; }
5601 test -n "$ac_ct_AR" && break
5604 if test "x$ac_ct_AR" = x
; then
5607 case $cross_compiling:$ac_tool_warned in
5609 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5610 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5611 ac_tool_warned
=yes ;;
5617 if test -n "$ac_tool_prefix"; then
5618 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5619 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
5620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5621 $as_echo_n "checking for $ac_word... " >&6; }
5622 if ${ac_cv_prog_STRIP+:} false
; then :
5623 $as_echo_n "(cached) " >&6
5625 if test -n "$STRIP"; then
5626 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
5628 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5632 test -z "$as_dir" && as_dir
=.
5633 for ac_exec_ext
in '' $ac_executable_extensions; do
5634 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5635 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
5636 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5645 STRIP
=$ac_cv_prog_STRIP
5646 if test -n "$STRIP"; then
5647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5648 $as_echo "$STRIP" >&6; }
5650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5651 $as_echo "no" >&6; }
5656 if test -z "$ac_cv_prog_STRIP"; then
5658 # Extract the first word of "strip", so it can be a program name with args.
5659 set dummy strip
; ac_word
=$2
5660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5661 $as_echo_n "checking for $ac_word... " >&6; }
5662 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
5663 $as_echo_n "(cached) " >&6
5665 if test -n "$ac_ct_STRIP"; then
5666 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
5668 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5672 test -z "$as_dir" && as_dir
=.
5673 for ac_exec_ext
in '' $ac_executable_extensions; do
5674 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5675 ac_cv_prog_ac_ct_STRIP
="strip"
5676 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5685 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
5686 if test -n "$ac_ct_STRIP"; then
5687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5688 $as_echo "$ac_ct_STRIP" >&6; }
5690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5691 $as_echo "no" >&6; }
5694 if test "x$ac_ct_STRIP" = x
; then
5697 case $cross_compiling:$ac_tool_warned in
5699 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5700 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5701 ac_tool_warned
=yes ;;
5706 STRIP
="$ac_cv_prog_STRIP"
5711 if test -n "$ac_tool_prefix"; then
5712 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5713 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
5714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5715 $as_echo_n "checking for $ac_word... " >&6; }
5716 if ${ac_cv_prog_RANLIB+:} false
; then :
5717 $as_echo_n "(cached) " >&6
5719 if test -n "$RANLIB"; then
5720 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
5722 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5726 test -z "$as_dir" && as_dir
=.
5727 for ac_exec_ext
in '' $ac_executable_extensions; do
5728 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5729 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
5730 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5739 RANLIB
=$ac_cv_prog_RANLIB
5740 if test -n "$RANLIB"; then
5741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5742 $as_echo "$RANLIB" >&6; }
5744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5745 $as_echo "no" >&6; }
5750 if test -z "$ac_cv_prog_RANLIB"; then
5751 ac_ct_RANLIB
=$RANLIB
5752 # Extract the first word of "ranlib", so it can be a program name with args.
5753 set dummy ranlib
; ac_word
=$2
5754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5755 $as_echo_n "checking for $ac_word... " >&6; }
5756 if ${ac_cv_prog_ac_ct_RANLIB+:} false
; then :
5757 $as_echo_n "(cached) " >&6
5759 if test -n "$ac_ct_RANLIB"; then
5760 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
5762 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5766 test -z "$as_dir" && as_dir
=.
5767 for ac_exec_ext
in '' $ac_executable_extensions; do
5768 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5769 ac_cv_prog_ac_ct_RANLIB
="ranlib"
5770 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5779 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
5780 if test -n "$ac_ct_RANLIB"; then
5781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5782 $as_echo "$ac_ct_RANLIB" >&6; }
5784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5785 $as_echo "no" >&6; }
5788 if test "x$ac_ct_RANLIB" = x
; then
5791 case $cross_compiling:$ac_tool_warned in
5793 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5794 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5795 ac_tool_warned
=yes ;;
5797 RANLIB
=$ac_ct_RANLIB
5800 RANLIB
="$ac_cv_prog_RANLIB"
5803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5804 $as_echo_n "checking whether ln -s works... " >&6; }
5806 if test "$LN_S" = "ln -s"; then
5807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5808 $as_echo "yes" >&6; }
5810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5811 $as_echo "no, using $LN_S" >&6; }
5814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5815 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5816 if ${ac_cv_path_GREP+:} false
; then :
5817 $as_echo_n "(cached) " >&6
5819 if test -z "$GREP"; then
5820 ac_path_GREP_found
=false
5821 # Loop through the user's path and test for each of PROGNAME-LIST
5822 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5823 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5826 test -z "$as_dir" && as_dir
=.
5827 for ac_prog
in grep ggrep
; do
5828 for ac_exec_ext
in '' $ac_executable_extensions; do
5829 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
5830 as_fn_executable_p
"$ac_path_GREP" ||
continue
5831 # Check for GNU ac_path_GREP and select it if it is found.
5832 # Check for GNU $ac_path_GREP
5833 case `"$ac_path_GREP" --version 2>&1` in
5835 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
5838 $as_echo_n 0123456789 >"conftest.in"
5841 cat "conftest.in" "conftest.in" >"conftest.tmp"
5842 mv "conftest.tmp" "conftest.in"
5843 cp "conftest.in" "conftest.nl"
5844 $as_echo 'GREP' >> "conftest.nl"
5845 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5846 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5847 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5848 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5849 # Best one so far, save it but keep looking for a better one
5850 ac_cv_path_GREP
="$ac_path_GREP"
5851 ac_path_GREP_max
=$ac_count
5853 # 10*(2^10) chars as input seems more than enough
5854 test $ac_count -gt 10 && break
5856 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5859 $ac_path_GREP_found && break 3
5864 if test -z "$ac_cv_path_GREP"; then
5865 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5868 ac_cv_path_GREP
=$GREP
5872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5873 $as_echo "$ac_cv_path_GREP" >&6; }
5874 GREP
="$ac_cv_path_GREP"
5877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5878 $as_echo_n "checking for egrep... " >&6; }
5879 if ${ac_cv_path_EGREP+:} false
; then :
5880 $as_echo_n "(cached) " >&6
5882 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
5883 then ac_cv_path_EGREP
="$GREP -E"
5885 if test -z "$EGREP"; then
5886 ac_path_EGREP_found
=false
5887 # Loop through the user's path and test for each of PROGNAME-LIST
5888 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5889 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5892 test -z "$as_dir" && as_dir
=.
5893 for ac_prog
in egrep; do
5894 for ac_exec_ext
in '' $ac_executable_extensions; do
5895 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
5896 as_fn_executable_p
"$ac_path_EGREP" ||
continue
5897 # Check for GNU ac_path_EGREP and select it if it is found.
5898 # Check for GNU $ac_path_EGREP
5899 case `"$ac_path_EGREP" --version 2>&1` in
5901 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
5904 $as_echo_n 0123456789 >"conftest.in"
5907 cat "conftest.in" "conftest.in" >"conftest.tmp"
5908 mv "conftest.tmp" "conftest.in"
5909 cp "conftest.in" "conftest.nl"
5910 $as_echo 'EGREP' >> "conftest.nl"
5911 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5912 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5913 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5914 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5915 # Best one so far, save it but keep looking for a better one
5916 ac_cv_path_EGREP
="$ac_path_EGREP"
5917 ac_path_EGREP_max
=$ac_count
5919 # 10*(2^10) chars as input seems more than enough
5920 test $ac_count -gt 10 && break
5922 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5925 $ac_path_EGREP_found && break 3
5930 if test -z "$ac_cv_path_EGREP"; then
5931 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5934 ac_cv_path_EGREP
=$EGREP
5939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5940 $as_echo "$ac_cv_path_EGREP" >&6; }
5941 EGREP
="$ac_cv_path_EGREP"
5944 # Extract the first word of "ldconfig", so it can be a program name with args.
5945 set dummy ldconfig
; ac_word
=$2
5946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5947 $as_echo_n "checking for $ac_word... " >&6; }
5948 if ${ac_cv_path_LDCONFIG+:} false
; then :
5949 $as_echo_n "(cached) " >&6
5953 ac_cv_path_LDCONFIG
="$LDCONFIG" # Let the user override the test with a path.
5956 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5957 for as_dir
in /sbin
/usr
/sbin
$PATH
5960 test -z "$as_dir" && as_dir
=.
5961 for ac_exec_ext
in '' $ac_executable_extensions; do
5962 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5963 ac_cv_path_LDCONFIG
="$as_dir/$ac_word$ac_exec_ext"
5964 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5971 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG
="true"
5975 LDCONFIG
=$ac_cv_path_LDCONFIG
5976 if test -n "$LDCONFIG"; then
5977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
5978 $as_echo "$LDCONFIG" >&6; }
5980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5981 $as_echo "no" >&6; }
5985 for ac_prog
in msgfmt
5987 # Extract the first word of "$ac_prog", so it can be a program name with args.
5988 set dummy
$ac_prog; ac_word
=$2
5989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5990 $as_echo_n "checking for $ac_word... " >&6; }
5991 if ${ac_cv_prog_MSGFMT+:} false
; then :
5992 $as_echo_n "(cached) " >&6
5994 if test -n "$MSGFMT"; then
5995 ac_cv_prog_MSGFMT
="$MSGFMT" # Let the user override the test.
5997 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6001 test -z "$as_dir" && as_dir
=.
6002 for ac_exec_ext
in '' $ac_executable_extensions; do
6003 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6004 ac_cv_prog_MSGFMT
="$ac_prog"
6005 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6014 MSGFMT
=$ac_cv_prog_MSGFMT
6015 if test -n "$MSGFMT"; then
6016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
6017 $as_echo "$MSGFMT" >&6; }
6019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6020 $as_echo "no" >&6; }
6024 test -n "$MSGFMT" && break
6026 test -n "$MSGFMT" || MSGFMT
="false"
6028 if ${ac_tool_prefix+:} false
; then :
6029 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
6030 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
6031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6032 $as_echo_n "checking for $ac_word... " >&6; }
6033 if ${ac_cv_prog_PKG_CONFIG+:} false
; then :
6034 $as_echo_n "(cached) " >&6
6036 if test -n "$PKG_CONFIG"; then
6037 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
6039 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6043 test -z "$as_dir" && as_dir
=.
6044 for ac_exec_ext
in '' $ac_executable_extensions; do
6045 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6046 ac_cv_prog_PKG_CONFIG
="${ac_tool_prefix}pkg-config"
6047 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6056 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
6057 if test -n "$PKG_CONFIG"; then
6058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6059 $as_echo "$PKG_CONFIG" >&6; }
6061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6062 $as_echo "no" >&6; }
6067 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
6068 if test "x$cross_compiling" = xyes
; then :
6071 { ac_cv_prog_PKG_CONFIG
=; unset ac_cv_prog_PKG_CONFIG
;}
6072 # Extract the first word of "pkg-config", so it can be a program name with args.
6073 set dummy pkg-config
; ac_word
=$2
6074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6075 $as_echo_n "checking for $ac_word... " >&6; }
6076 if ${ac_cv_prog_PKG_CONFIG+:} false
; then :
6077 $as_echo_n "(cached) " >&6
6079 if test -n "$PKG_CONFIG"; then
6080 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
6082 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6086 test -z "$as_dir" && as_dir
=.
6087 for ac_exec_ext
in '' $ac_executable_extensions; do
6088 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6089 ac_cv_prog_PKG_CONFIG
="pkg-config"
6090 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6099 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
6100 if test -n "$PKG_CONFIG"; then
6101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6102 $as_echo "$PKG_CONFIG" >&6; }
6104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6105 $as_echo "no" >&6; }
6111 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
6114 if test "x$enable_maintainer_mode" != "xyes"
6121 test "$srcdir" = . || as_fn_error $?
"Maintainer mode cannot work out of tree." "$LINENO" 5
6122 for ac_prog
in fontforge
6124 # Extract the first word of "$ac_prog", so it can be a program name with args.
6125 set dummy
$ac_prog; ac_word
=$2
6126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6127 $as_echo_n "checking for $ac_word... " >&6; }
6128 if ${ac_cv_prog_FONTFORGE+:} false
; then :
6129 $as_echo_n "(cached) " >&6
6131 if test -n "$FONTFORGE"; then
6132 ac_cv_prog_FONTFORGE
="$FONTFORGE" # Let the user override the test.
6134 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6138 test -z "$as_dir" && as_dir
=.
6139 for ac_exec_ext
in '' $ac_executable_extensions; do
6140 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6141 ac_cv_prog_FONTFORGE
="$ac_prog"
6142 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6151 FONTFORGE
=$ac_cv_prog_FONTFORGE
6152 if test -n "$FONTFORGE"; then
6153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
6154 $as_echo "$FONTFORGE" >&6; }
6156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6157 $as_echo "no" >&6; }
6161 test -n "$FONTFORGE" && break
6163 test -n "$FONTFORGE" || FONTFORGE
="false"
6165 for ac_prog
in rsvg-convert rsvg
6167 # Extract the first word of "$ac_prog", so it can be a program name with args.
6168 set dummy
$ac_prog; ac_word
=$2
6169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6170 $as_echo_n "checking for $ac_word... " >&6; }
6171 if ${ac_cv_prog_RSVG+:} false
; then :
6172 $as_echo_n "(cached) " >&6
6174 if test -n "$RSVG"; then
6175 ac_cv_prog_RSVG
="$RSVG" # Let the user override the test.
6177 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6181 test -z "$as_dir" && as_dir
=.
6182 for ac_exec_ext
in '' $ac_executable_extensions; do
6183 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6184 ac_cv_prog_RSVG
="$ac_prog"
6185 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6194 RSVG
=$ac_cv_prog_RSVG
6195 if test -n "$RSVG"; then
6196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
6197 $as_echo "$RSVG" >&6; }
6199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6200 $as_echo "no" >&6; }
6204 test -n "$RSVG" && break
6206 test -n "$RSVG" || RSVG
="false"
6208 for ac_prog
in convert
6210 # Extract the first word of "$ac_prog", so it can be a program name with args.
6211 set dummy
$ac_prog; ac_word
=$2
6212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6213 $as_echo_n "checking for $ac_word... " >&6; }
6214 if ${ac_cv_prog_CONVERT+:} false
; then :
6215 $as_echo_n "(cached) " >&6
6217 if test -n "$CONVERT"; then
6218 ac_cv_prog_CONVERT
="$CONVERT" # Let the user override the test.
6220 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6224 test -z "$as_dir" && as_dir
=.
6225 for ac_exec_ext
in '' $ac_executable_extensions; do
6226 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6227 ac_cv_prog_CONVERT
="$ac_prog"
6228 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6237 CONVERT
=$ac_cv_prog_CONVERT
6238 if test -n "$CONVERT"; then
6239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
6240 $as_echo "$CONVERT" >&6; }
6242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6243 $as_echo "no" >&6; }
6247 test -n "$CONVERT" && break
6249 test -n "$CONVERT" || CONVERT
="false"
6251 for ac_prog
in icotool
6253 # Extract the first word of "$ac_prog", so it can be a program name with args.
6254 set dummy
$ac_prog; ac_word
=$2
6255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6256 $as_echo_n "checking for $ac_word... " >&6; }
6257 if ${ac_cv_prog_ICOTOOL+:} false
; then :
6258 $as_echo_n "(cached) " >&6
6260 if test -n "$ICOTOOL"; then
6261 ac_cv_prog_ICOTOOL
="$ICOTOOL" # Let the user override the test.
6263 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6267 test -z "$as_dir" && as_dir
=.
6268 for ac_exec_ext
in '' $ac_executable_extensions; do
6269 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6270 ac_cv_prog_ICOTOOL
="$ac_prog"
6271 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6280 ICOTOOL
=$ac_cv_prog_ICOTOOL
6281 if test -n "$ICOTOOL"; then
6282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
6283 $as_echo "$ICOTOOL" >&6; }
6285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6286 $as_echo "no" >&6; }
6290 test -n "$ICOTOOL" && break
6292 test -n "$ICOTOOL" || ICOTOOL
="false"
6294 test "$FONTFORGE" != "false" || as_fn_error $?
"You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
6295 test "$RSVG" != "false" || as_fn_error $?
"You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
6297 if test "$CONVERT" = false
6299 as_fn_error $?
"You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
6301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
6302 $as_echo_n "checking for recent enough imagemagick... " >&6; }
6303 convert_version
=`convert --version | head -n1`
6304 if test "x$convert_version" != "x"
6306 convert_version_major
=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
6307 convert_version_minor
=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
6308 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
6313 if test "$CONVERT" = false
6315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
6316 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
6317 as_fn_error $?
"You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
6320 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
6324 if test "$ICOTOOL" = false
6326 as_fn_error $?
"You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
6328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
6329 $as_echo_n "checking for recent enough icotool... " >&6; }
6330 icotool_version
=`icotool --version | head -n1`
6331 if test "x$icotool_version" != "x"
6333 icotool_version_major
=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
6334 icotool_version_minor
=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
6335 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
6338 as_fn_append wine_warnings
"|icotool version 0.29.0 or newer is needed to rebuild icons."
6341 if test "$ICOTOOL" = false
6343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
6344 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
6345 as_fn_error $?
"You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
6348 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
6354 { ac_cv_header_gettext_po_h
=; unset ac_cv_header_gettext_po_h
;}
6357 test "x$with_gettext" != xno || MSGFMT
=false
6358 if test "$MSGFMT" != "false"
6360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
6361 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
6362 cat >conftest.po
<<EOF
6368 if $MSGFMT -o /dev
/null conftest.po
2>&5
6370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6371 $as_echo "yes" >&6; }
6373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6374 $as_echo "no" >&6; }
6378 if test "$MSGFMT" = false
; then :
6379 case "x$with_gettext" in
6380 x
) as_fn_append wine_warnings
"|gettext tools not found (or too old), translations won't be built." ;;
6382 *) as_fn_error $?
"gettext tools not found (or too old), translations won't be built.
6383 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6385 enable_po
=${enable_po:-no}
6389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6390 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6391 if ${ac_cv_lib_i386_i386_set_ldt+:} false
; then :
6392 $as_echo_n "(cached) " >&6
6394 ac_check_lib_save_LIBS
=$LIBS
6396 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6397 /* end confdefs.h. */
6399 /* Override any GCC internal prototype to avoid an error.
6400 Use char because int might match the return type of a GCC
6401 builtin and then its argument prototype would still apply. */
6405 char i386_set_ldt ();
6409 return i386_set_ldt ();
6414 if ac_fn_c_try_link
"$LINENO"; then :
6415 ac_cv_lib_i386_i386_set_ldt
=yes
6417 ac_cv_lib_i386_i386_set_ldt
=no
6419 rm -f core conftest.err conftest.
$ac_objext \
6420 conftest
$ac_exeext conftest.
$ac_ext
6421 LIBS
=$ac_check_lib_save_LIBS
6423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6424 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6425 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes
; then :
6426 cat >>confdefs.h
<<_ACEOF
6427 #define HAVE_LIBI386 1
6434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
6435 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
6436 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false
; then :
6437 $as_echo_n "(cached) " >&6
6439 ac_check_lib_save_LIBS
=$LIBS
6440 LIBS
="-lossaudio $LIBS"
6441 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6442 /* end confdefs.h. */
6444 /* Override any GCC internal prototype to avoid an error.
6445 Use char because int might match the return type of a GCC
6446 builtin and then its argument prototype would still apply. */
6454 return _oss_ioctl ();
6459 if ac_fn_c_try_link
"$LINENO"; then :
6460 ac_cv_lib_ossaudio__oss_ioctl
=yes
6462 ac_cv_lib_ossaudio__oss_ioctl
=no
6464 rm -f core conftest.err conftest.
$ac_objext \
6465 conftest
$ac_exeext conftest.
$ac_ext
6466 LIBS
=$ac_check_lib_save_LIBS
6468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6469 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6470 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes
; then :
6471 cat >>confdefs.h
<<_ACEOF
6472 #define HAVE_LIBOSSAUDIO 1
6475 LIBS
="-lossaudio $LIBS"
6484 # Check whether --enable-largefile was given.
6485 if test "${enable_largefile+set}" = set; then :
6486 enableval
=$enable_largefile;
6489 if test "$enable_largefile" != no
; then
6491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6492 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6493 if ${ac_cv_sys_largefile_CC+:} false
; then :
6494 $as_echo_n "(cached) " >&6
6496 ac_cv_sys_largefile_CC
=no
6497 if test "$GCC" != yes; then
6500 # IRIX 6.2 and later do not support large files by default,
6501 # so use the C compiler's -n32 option if that helps.
6502 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6503 /* end confdefs.h. */
6504 #include <sys/types.h>
6505 /* Check that off_t can represent 2**63 - 1 correctly.
6506 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6507 since some C++ compilers masquerading as C compilers
6508 incorrectly reject 9223372036854775807. */
6509 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6510 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6511 && LARGE_OFF_T % 2147483647 == 1)
6521 if ac_fn_c_try_compile
"$LINENO"; then :
6524 rm -f core conftest.err conftest.
$ac_objext
6526 if ac_fn_c_try_compile
"$LINENO"; then :
6527 ac_cv_sys_largefile_CC
=' -n32'; break
6529 rm -f core conftest.err conftest.
$ac_objext
6533 rm -f conftest.
$ac_ext
6536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6537 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6538 if test "$ac_cv_sys_largefile_CC" != no
; then
6539 CC
=$CC$ac_cv_sys_largefile_CC
6542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6543 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6544 if ${ac_cv_sys_file_offset_bits+:} false
; then :
6545 $as_echo_n "(cached) " >&6
6548 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6549 /* end confdefs.h. */
6550 #include <sys/types.h>
6551 /* Check that off_t can represent 2**63 - 1 correctly.
6552 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6553 since some C++ compilers masquerading as C compilers
6554 incorrectly reject 9223372036854775807. */
6555 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6556 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6557 && LARGE_OFF_T % 2147483647 == 1)
6567 if ac_fn_c_try_compile
"$LINENO"; then :
6568 ac_cv_sys_file_offset_bits
=no
; break
6570 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6571 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6572 /* end confdefs.h. */
6573 #define _FILE_OFFSET_BITS 64
6574 #include <sys/types.h>
6575 /* Check that off_t can represent 2**63 - 1 correctly.
6576 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6577 since some C++ compilers masquerading as C compilers
6578 incorrectly reject 9223372036854775807. */
6579 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6580 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6581 && LARGE_OFF_T % 2147483647 == 1)
6591 if ac_fn_c_try_compile
"$LINENO"; then :
6592 ac_cv_sys_file_offset_bits
=64; break
6594 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6595 ac_cv_sys_file_offset_bits
=unknown
6599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6600 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6601 case $ac_cv_sys_file_offset_bits in #(
6604 cat >>confdefs.h
<<_ACEOF
6605 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6610 if test $ac_cv_sys_file_offset_bits = unknown
; then
6611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6612 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6613 if ${ac_cv_sys_large_files+:} false
; then :
6614 $as_echo_n "(cached) " >&6
6617 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6618 /* end confdefs.h. */
6619 #include <sys/types.h>
6620 /* Check that off_t can represent 2**63 - 1 correctly.
6621 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6622 since some C++ compilers masquerading as C compilers
6623 incorrectly reject 9223372036854775807. */
6624 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6625 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6626 && LARGE_OFF_T % 2147483647 == 1)
6636 if ac_fn_c_try_compile
"$LINENO"; then :
6637 ac_cv_sys_large_files
=no
; break
6639 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6640 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6641 /* end confdefs.h. */
6642 #define _LARGE_FILES 1
6643 #include <sys/types.h>
6644 /* Check that off_t can represent 2**63 - 1 correctly.
6645 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6646 since some C++ compilers masquerading as C compilers
6647 incorrectly reject 9223372036854775807. */
6648 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6649 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6650 && LARGE_OFF_T % 2147483647 == 1)
6660 if ac_fn_c_try_compile
"$LINENO"; then :
6661 ac_cv_sys_large_files
=1; break
6663 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6664 ac_cv_sys_large_files
=unknown
6668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6669 $as_echo "$ac_cv_sys_large_files" >&6; }
6670 case $ac_cv_sys_large_files in #(
6673 cat >>confdefs.h
<<_ACEOF
6674 #define _LARGE_FILES $ac_cv_sys_large_files
6686 ac_cpp
='$CPP $CPPFLAGS'
6687 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6688 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6689 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6691 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6692 # On Suns, sometimes $CPP names a directory.
6693 if test -n "$CPP" && test -d "$CPP"; then
6696 if test -z "$CPP"; then
6697 if ${ac_cv_prog_CPP+:} false
; then :
6698 $as_echo_n "(cached) " >&6
6700 # Double quotes because CPP needs to be expanded
6701 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6704 for ac_c_preproc_warn_flag
in '' yes
6706 # Use a header file that comes with gcc, so configuring glibc
6707 # with a fresh cross-compiler works.
6708 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6709 # <limits.h> exists even on freestanding compilers.
6710 # On the NeXT, cc -E runs the code through the compiler's parser,
6711 # not just through cpp. "Syntax error" is here to catch this case.
6712 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6713 /* end confdefs.h. */
6715 # include <limits.h>
6717 # include <assert.h>
6721 if ac_fn_c_try_cpp
"$LINENO"; then :
6724 # Broken: fails on valid input.
6727 rm -f conftest.err conftest.i conftest.
$ac_ext
6729 # OK, works on sane cases. Now check whether nonexistent headers
6730 # can be detected and how.
6731 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6732 /* end confdefs.h. */
6733 #include <ac_nonexistent.h>
6735 if ac_fn_c_try_cpp
"$LINENO"; then :
6736 # Broken: success on invalid input.
6739 # Passes both tests.
6743 rm -f conftest.err conftest.i conftest.
$ac_ext
6746 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6747 rm -f conftest.i conftest.err conftest.
$ac_ext
6748 if $ac_preproc_ok; then :
6760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6761 $as_echo "$CPP" >&6; }
6763 for ac_c_preproc_warn_flag
in '' yes
6765 # Use a header file that comes with gcc, so configuring glibc
6766 # with a fresh cross-compiler works.
6767 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6768 # <limits.h> exists even on freestanding compilers.
6769 # On the NeXT, cc -E runs the code through the compiler's parser,
6770 # not just through cpp. "Syntax error" is here to catch this case.
6771 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6772 /* end confdefs.h. */
6774 # include <limits.h>
6776 # include <assert.h>
6780 if ac_fn_c_try_cpp
"$LINENO"; then :
6783 # Broken: fails on valid input.
6786 rm -f conftest.err conftest.i conftest.
$ac_ext
6788 # OK, works on sane cases. Now check whether nonexistent headers
6789 # can be detected and how.
6790 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6791 /* end confdefs.h. */
6792 #include <ac_nonexistent.h>
6794 if ac_fn_c_try_cpp
"$LINENO"; then :
6795 # Broken: success on invalid input.
6798 # Passes both tests.
6802 rm -f conftest.err conftest.i conftest.
$ac_ext
6805 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6806 rm -f conftest.i conftest.err conftest.
$ac_ext
6807 if $ac_preproc_ok; then :
6810 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6811 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6812 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
6813 See \`config.log' for more details" "$LINENO" 5; }
6817 ac_cpp
='$CPP $CPPFLAGS'
6818 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6819 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6820 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6824 $as_echo_n "checking for ANSI C header files... " >&6; }
6825 if ${ac_cv_header_stdc+:} false
; then :
6826 $as_echo_n "(cached) " >&6
6828 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6829 /* end confdefs.h. */
6843 if ac_fn_c_try_compile
"$LINENO"; then :
6844 ac_cv_header_stdc
=yes
6846 ac_cv_header_stdc
=no
6848 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6850 if test $ac_cv_header_stdc = yes; then
6851 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6852 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6853 /* end confdefs.h. */
6857 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6858 $EGREP "memchr" >/dev
/null
2>&1; then :
6861 ac_cv_header_stdc
=no
6867 if test $ac_cv_header_stdc = yes; then
6868 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6869 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6870 /* end confdefs.h. */
6874 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6875 $EGREP "free" >/dev
/null
2>&1; then :
6878 ac_cv_header_stdc
=no
6884 if test $ac_cv_header_stdc = yes; then
6885 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6886 if test "$cross_compiling" = yes; then :
6889 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6890 /* end confdefs.h. */
6893 #if ((' ' & 0x0FF) == 0x020)
6894 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6895 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6897 # define ISLOWER(c) \
6898 (('a' <= (c) && (c) <= 'i') \
6899 || ('j' <= (c) && (c) <= 'r') \
6900 || ('s' <= (c) && (c) <= 'z'))
6901 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6904 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6909 for (i = 0; i < 256; i++)
6910 if (XOR (islower (i), ISLOWER (i))
6911 || toupper (i) != TOUPPER (i))
6916 if ac_fn_c_try_run
"$LINENO"; then :
6919 ac_cv_header_stdc
=no
6921 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6922 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6928 $as_echo "$ac_cv_header_stdc" >&6; }
6929 if test $ac_cv_header_stdc = yes; then
6931 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6935 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6936 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
6937 inttypes.h stdint.h unistd.h
6939 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6940 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6942 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6943 cat >>confdefs.h
<<_ACEOF
6944 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6954 ApplicationServices
/ApplicationServices.h \
6955 AudioToolbox
/AudioConverter.h \
6956 AudioUnit
/AudioUnit.h \
6957 AudioUnit
/AudioComponent.h \
6960 CommonCrypto
/CommonCryptor.h \
6961 CoreAudio
/CoreAudio.h \
6962 CoreServices
/CoreServices.h \
6963 DiskArbitration
/DiskArbitration.h \
6966 IOKit
/hid
/IOHIDLib.h \
6969 QuickTime
/ImageCompression.h \
6970 Security
/Security.h \
7020 netinet
/in_systm.h \
7084 valgrind
/memcheck.h \
7085 valgrind
/valgrind.h \
7089 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7090 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
7091 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
7092 cat >>confdefs.h
<<_ACEOF
7093 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7100 ac_fn_c_check_header_mongrel
"$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
7101 if test "x$ac_cv_header_sys_mkdev_h" = xyes
; then :
7103 $as_echo "#define MAJOR_IN_MKDEV 1" >>confdefs.h
7108 if test $ac_cv_header_sys_mkdev_h = no
; then
7109 ac_fn_c_check_header_mongrel
"$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
7110 if test "x$ac_cv_header_sys_sysmacros_h" = xyes
; then :
7112 $as_echo "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
7118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
7119 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
7120 if ${ac_cv_header_stat_broken+:} false
; then :
7121 $as_echo_n "(cached) " >&6
7123 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7124 /* end confdefs.h. */
7125 #include <sys/types.h>
7126 #include <sys/stat.h>
7128 #if defined S_ISBLK && defined S_IFDIR
7129 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7132 #if defined S_ISBLK && defined S_IFCHR
7133 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7136 #if defined S_ISLNK && defined S_IFREG
7137 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7140 #if defined S_ISSOCK && defined S_IFREG
7141 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7145 if ac_fn_c_try_compile
"$LINENO"; then :
7146 ac_cv_header_stat_broken
=no
7148 ac_cv_header_stat_broken
=yes
7150 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
7153 $as_echo "$ac_cv_header_stat_broken" >&6; }
7154 if test $ac_cv_header_stat_broken = yes; then
7156 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
7162 for ac_header
in sys
/mount.h sys
/statfs.h sys
/sysctl.h sys
/user.h sys
/vfs.h
7164 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7165 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7166 #ifdef HAVE_SYS_PARAM_H
7167 # include <sys/param.h>
7170 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
7171 cat >>confdefs.h
<<_ACEOF
7172 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7187 netinet
/if_ether.h \
7188 netinet
/if_inarp.h \
7197 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7198 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7199 #ifdef HAVE_SYS_SOCKET_H
7200 # include <sys/socket.h>
7202 #ifdef HAVE_SYS_SOCKETVAR_H
7203 # include <sys/socketvar.h>
7205 #ifdef HAVE_NET_ROUTE_H
7206 # include <net/route.h>
7208 #ifdef HAVE_NETINET_IN_H
7209 # include <netinet/in.h>
7211 #ifdef HAVE_NETINET_IN_SYSTM_H
7212 # include <netinet/in_systm.h>
7214 #ifdef HAVE_NET_IF_H
7215 # include <net/if.h>
7217 #ifdef HAVE_NETINET_IP_H
7218 # include <netinet/ip.h>
7221 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
7222 cat >>confdefs.h
<<_ACEOF
7223 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7231 for ac_header
in netinet
/tcp_timer.h netinet
/udp_var.h netinet
/icmp_var.h netinet
/tcp_var.h
7233 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7234 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7238 #ifdef HAVE_SYS_SOCKET_H
7239 # include <sys/socket.h>
7241 #ifdef HAVE_SYS_SOCKETVAR_H
7242 # include <sys/socketvar.h>
7244 #ifdef HAVE_SYS_TIMEOUT_H
7245 # include <sys/timeout.h>
7247 #ifdef HAVE_NETINET_IN_H
7248 # include <netinet/in.h>
7250 #ifdef HAVE_NETINET_IN_SYSTM_H
7251 # include <netinet/in_systm.h>
7253 #ifdef HAVE_NETINET_IP_H
7254 # include <netinet/ip.h>
7256 #ifdef HAVE_NETINET_IP_VAR_H
7257 # include <netinet/ip_var.h>
7259 #ifdef HAVE_NETINET_IP_ICMP_H
7260 # include <netinet/ip_icmp.h>
7262 #ifdef HAVE_NETINET_UDP_H
7263 # include <netinet/udp.h>
7265 #ifdef HAVE_NETINET_TCP_H
7266 # include <netinet/tcp.h>
7268 #ifdef HAVE_NETINET_TCP_TIMER_H
7269 #include <netinet/tcp_timer.h>
7272 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
7273 cat >>confdefs.h
<<_ACEOF
7274 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7282 for ac_header
in linux
/ipx.h linux
/irda.h linux
/rtnetlink.h
7284 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7285 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7286 #ifdef HAVE_ASM_TYPES_H
7287 # include <asm/types.h>
7289 #ifdef HAVE_SYS_SOCKET_H
7290 # include <sys/socket.h>
7292 #ifdef HAVE_LINUX_TYPES_H
7293 # include <linux/types.h>
7296 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
7297 cat >>confdefs.h
<<_ACEOF
7298 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7306 for ac_header
in mach-o
/dyld_images.h
7308 ac_fn_c_check_header_compile
"$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
7309 # include <stdbool.h>
7311 #ifdef HAVE_STDINT_H
7312 # include <stdint.h>
7315 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes
; then :
7316 cat >>confdefs.h
<<_ACEOF
7317 #define HAVE_MACH_O_DYLD_IMAGES_H 1
7325 for ac_header
in resolv.h
7327 ac_fn_c_check_header_compile
"$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
7328 #ifdef HAVE_SYS_SOCKET_H
7329 # include <sys/socket.h>
7331 #ifdef HAVE_NETINET_IN_H
7332 # include <netinet/in.h>
7334 #ifdef HAVE_ARPA_NAMESER_H
7335 # include <arpa/nameser.h>
7338 if test "x$ac_cv_header_resolv_h" = xyes
; then :
7339 cat >>confdefs.h
<<_ACEOF
7340 #define HAVE_RESOLV_H 1
7348 for ac_header
in ifaddrs.h
7350 ac_fn_c_check_header_compile
"$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
7352 if test "x$ac_cv_header_ifaddrs_h" = xyes
; then :
7353 cat >>confdefs.h
<<_ACEOF
7354 #define HAVE_IFADDRS_H 1
7362 for ac_header
in sys
/ucontext.h
7364 ac_fn_c_check_header_compile
"$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
7366 if test "x$ac_cv_header_sys_ucontext_h" = xyes
; then :
7367 cat >>confdefs.h
<<_ACEOF
7368 #define HAVE_SYS_UCONTEXT_H 1
7376 for ac_header
in sys
/thr.h
7378 ac_fn_c_check_header_compile
"$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
7379 #ifdef HAVE_SYS_UCONTEXT_H
7380 #include <sys/ucontext.h>
7383 if test "x$ac_cv_header_sys_thr_h" = xyes
; then :
7384 cat >>confdefs.h
<<_ACEOF
7385 #define HAVE_SYS_THR_H 1
7393 for ac_header
in pthread_np.h
7395 ac_fn_c_check_header_compile
"$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7396 #include <pthread.h>
7399 if test "x$ac_cv_header_pthread_np_h" = xyes
; then :
7400 cat >>confdefs.h
<<_ACEOF
7401 #define HAVE_PTHREAD_NP_H 1
7409 for ac_header
in linux
/videodev.h linux
/videodev2.h libv4l1.h
7411 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7412 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
7413 #include <sys/time.h>
7415 #include <sys/types.h>
7416 #ifdef HAVE_ASM_TYPES_H
7417 #include <asm/types.h>
7420 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
7421 cat >>confdefs.h
<<_ACEOF
7422 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7430 for ac_header
in libprocstat.h
7432 ac_fn_c_check_header_compile
"$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7433 #include <sys/param.h>
7435 #ifdef HAVE_SYS_QUEUE_H
7436 #include <sys/queue.h>
7438 #ifdef HAVE_SYS_SOCKET_H
7439 #include <sys/socket.h>
7442 if test "x$ac_cv_header_libprocstat_h" = xyes
; then :
7443 cat >>confdefs.h
<<_ACEOF
7444 #define HAVE_LIBPROCSTAT_H 1
7453 dlldir
="\${libdir}/wine"
7455 DLLFLAGS
="-D_REENTRANT"
7463 WINELOADER_LDFLAGS
=""
7468 # Extract the first word of "ldd", so it can be a program name with args.
7469 set dummy ldd
; ac_word
=$2
7470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7471 $as_echo_n "checking for $ac_word... " >&6; }
7472 if ${ac_cv_path_LDD+:} false
; then :
7473 $as_echo_n "(cached) " >&6
7477 ac_cv_path_LDD
="$LDD" # Let the user override the test with a path.
7480 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7481 as_dummy
="/sbin:/usr/sbin:$PATH"
7482 for as_dir
in $as_dummy
7485 test -z "$as_dir" && as_dir
=.
7486 for ac_exec_ext
in '' $ac_executable_extensions; do
7487 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7488 ac_cv_path_LDD
="$as_dir/$ac_word$ac_exec_ext"
7489 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7496 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD
="true"
7501 if test -n "$LDD"; then
7502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7503 $as_echo "$LDD" >&6; }
7505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7506 $as_echo "no" >&6; }
7510 if test -n "$ac_tool_prefix"; then
7511 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7512 set dummy
${ac_tool_prefix}otool
; ac_word
=$2
7513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7514 $as_echo_n "checking for $ac_word... " >&6; }
7515 if ${ac_cv_prog_OTOOL+:} false
; then :
7516 $as_echo_n "(cached) " >&6
7518 if test -n "$OTOOL"; then
7519 ac_cv_prog_OTOOL
="$OTOOL" # Let the user override the test.
7521 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7525 test -z "$as_dir" && as_dir
=.
7526 for ac_exec_ext
in '' $ac_executable_extensions; do
7527 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7528 ac_cv_prog_OTOOL
="${ac_tool_prefix}otool"
7529 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7538 OTOOL
=$ac_cv_prog_OTOOL
7539 if test -n "$OTOOL"; then
7540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7541 $as_echo "$OTOOL" >&6; }
7543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7544 $as_echo "no" >&6; }
7549 if test -z "$ac_cv_prog_OTOOL"; then
7551 # Extract the first word of "otool", so it can be a program name with args.
7552 set dummy otool
; ac_word
=$2
7553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7554 $as_echo_n "checking for $ac_word... " >&6; }
7555 if ${ac_cv_prog_ac_ct_OTOOL+:} false
; then :
7556 $as_echo_n "(cached) " >&6
7558 if test -n "$ac_ct_OTOOL"; then
7559 ac_cv_prog_ac_ct_OTOOL
="$ac_ct_OTOOL" # Let the user override the test.
7561 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7565 test -z "$as_dir" && as_dir
=.
7566 for ac_exec_ext
in '' $ac_executable_extensions; do
7567 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7568 ac_cv_prog_ac_ct_OTOOL
="otool"
7569 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7578 ac_ct_OTOOL
=$ac_cv_prog_ac_ct_OTOOL
7579 if test -n "$ac_ct_OTOOL"; then
7580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7581 $as_echo "$ac_ct_OTOOL" >&6; }
7583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7584 $as_echo "no" >&6; }
7587 if test "x$ac_ct_OTOOL" = x
; then
7590 case $cross_compiling:$ac_tool_warned in
7592 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7593 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7594 ac_tool_warned
=yes ;;
7599 OTOOL
="$ac_cv_prog_OTOOL"
7602 if test -n "$ac_tool_prefix"; then
7603 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
7604 set dummy
${ac_tool_prefix}readelf
; ac_word
=$2
7605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7606 $as_echo_n "checking for $ac_word... " >&6; }
7607 if ${ac_cv_prog_READELF+:} false
; then :
7608 $as_echo_n "(cached) " >&6
7610 if test -n "$READELF"; then
7611 ac_cv_prog_READELF
="$READELF" # Let the user override the test.
7613 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7617 test -z "$as_dir" && as_dir
=.
7618 for ac_exec_ext
in '' $ac_executable_extensions; do
7619 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7620 ac_cv_prog_READELF
="${ac_tool_prefix}readelf"
7621 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7630 READELF
=$ac_cv_prog_READELF
7631 if test -n "$READELF"; then
7632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
7633 $as_echo "$READELF" >&6; }
7635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7636 $as_echo "no" >&6; }
7641 if test -z "$ac_cv_prog_READELF"; then
7642 ac_ct_READELF
=$READELF
7643 # Extract the first word of "readelf", so it can be a program name with args.
7644 set dummy readelf
; ac_word
=$2
7645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7646 $as_echo_n "checking for $ac_word... " >&6; }
7647 if ${ac_cv_prog_ac_ct_READELF+:} false
; then :
7648 $as_echo_n "(cached) " >&6
7650 if test -n "$ac_ct_READELF"; then
7651 ac_cv_prog_ac_ct_READELF
="$ac_ct_READELF" # Let the user override the test.
7653 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7657 test -z "$as_dir" && as_dir
=.
7658 for ac_exec_ext
in '' $ac_executable_extensions; do
7659 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7660 ac_cv_prog_ac_ct_READELF
="readelf"
7661 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7670 ac_ct_READELF
=$ac_cv_prog_ac_ct_READELF
7671 if test -n "$ac_ct_READELF"; then
7672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7673 $as_echo "$ac_ct_READELF" >&6; }
7675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7676 $as_echo "no" >&6; }
7679 if test "x$ac_ct_READELF" = x
; then
7682 case $cross_compiling:$ac_tool_warned in
7684 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7685 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7686 ac_tool_warned
=yes ;;
7688 READELF
=$ac_ct_READELF
7691 READELF
="$ac_cv_prog_READELF"
7694 wine_rules_file
=conf$
$rules.
make
7695 rm -f $wine_rules_file
7700 CONFIGURE_TARGETS
=""
7702 ALL_TEST_RESOURCES
=""
7705 wine_fn_append_file
()
7707 as_fn_append
$1 " \\$as_nl $2"
7710 wine_fn_append_rule
()
7712 $as_echo "$1" >>$wine_rules_file
7717 expr ",$ac_flags," : ".*,$1,.*" >/dev
/null
7720 wine_fn_all_rules
()
7722 wine_fn_append_file SUBDIRS
$ac_dir
7723 wine_fn_append_rule \
7727 @cd $ac_dir && \$(MAKE)"
7730 wine_fn_install_rules
()
7732 wine_fn_has_flag install-lib || wine_fn_has_flag install-dev ||
return
7734 wine_fn_append_rule \
7735 ".PHONY: $ac_dir/install $ac_dir/uninstall
7736 $ac_dir/install:: $ac_dir
7737 @cd $ac_dir && \$(MAKE) install
7739 @cd $ac_dir && \$(MAKE) uninstall
7740 install:: $ac_dir/install
7741 __uninstall__: $ac_dir/uninstall"
7743 if wine_fn_has_flag install-lib
7745 wine_fn_append_rule \
7746 ".PHONY: $ac_dir/install-lib
7747 $ac_dir/install-lib:: $ac_dir
7748 @cd $ac_dir && \$(MAKE) install-lib
7749 install-lib:: $ac_dir/install-lib"
7752 if wine_fn_has_flag install-dev
7754 wine_fn_append_rule \
7755 ".PHONY: $ac_dir/install-dev
7756 $ac_dir/install-dev:: $ac_dir
7757 @cd $ac_dir && \$(MAKE) install-dev
7758 install-dev:: $ac_dir/install-dev"
7762 wine_fn_disabled_rules
()
7764 wine_fn_append_file SUBDIRS
$ac_dir
7765 wine_fn_append_file DISABLED_SUBDIRS
$ac_dir
7768 wine_fn_config_makefile
()
7775 fonts|server
) test -z "$with_wine64" ||
return ;;
7777 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
7778 wine_fn_disabled_rules
; return
7781 wine_fn_install_rules
7784 wine_fn_config_lib
()
7788 ac_dir
=dlls
/$ac_name
7791 if test "x$enable_tools" = xno
; then :
7794 ac_deps
="tools/widl tools/winebuild tools/winegcc $ac_deps"
7798 wine_fn_append_rule \
7799 ".PHONY: $ac_dir/install $ac_dir/uninstall
7800 $ac_dir/install:: $ac_dir
7801 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7803 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7804 install install-dev:: $ac_dir/install
7805 __uninstall__: $ac_dir/uninstall
7806 __builddeps__: $ac_dir
7810 wine_fn_config_dll
()
7813 ac_dir
=dlls
/$ac_name
7816 ac_implib
=${4:-$ac_name}
7817 ac_file
=$ac_dir/lib
$ac_implib
7822 if test "x$enable_tools" = xno
; then :
7825 ac_deps
="tools/widl tools/winebuild tools/winegcc $ac_deps"
7828 *.
*16) ac_implibflags
=" -m16" ;;
7830 *) ac_dll
=$ac_dll.dll
;;
7833 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
7834 if test "$ac_enable" != enable_win16
7836 wine_fn_append_file SUBDIRS
$ac_dir
7837 wine_fn_append_file DISABLED_SUBDIRS
$ac_dir
7839 wine_fn_disabled_rules
7844 wine_fn_append_rule \
7845 "$ac_dir: __builddeps__
7846 manpages htmlpages sgmlpages xmlpages::
7847 @cd $ac_dir && \$(MAKE) \$@
7848 .PHONY: $ac_dir/install-lib $ac_dir/uninstall
7849 install install-lib:: $ac_dir/install-lib
7850 __uninstall__: $ac_dir/uninstall"
7851 if test -n "$DLLEXT"
7853 wine_fn_append_rule \
7854 "$ac_dir/install-lib:: $ac_dir
7855 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT
7856 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
7858 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
7860 wine_fn_append_rule \
7861 "$ac_dir/install-lib:: $ac_dir
7862 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
7864 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
7868 if wine_fn_has_flag staticimplib
7870 wine_fn_append_rule \
7871 "__builddeps__: $ac_file.a
7872 $ac_file.a $ac_file.cross.a: $ac_deps
7874 @cd $ac_dir && \$(MAKE) lib$ac_implib.a
7875 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7876 $ac_dir/install-dev:: $ac_file.a
7877 \$(INSTALL_DATA) $ac_file.a \$(DESTDIR)\$(dlldir)/lib$ac_implib.a
7879 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.a
7880 install install-dev:: $ac_dir/install-dev
7881 __uninstall__: $ac_dir/uninstall"
7883 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7885 wine_fn_append_rule \
7886 "__builddeps__: $ac_file.cross.a
7887 $ac_file.cross.a: dummy
7888 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
7891 elif wine_fn_has_flag implib
7893 wine_fn_append_rule \
7894 "__builddeps__: $ac_file.$IMPLIBEXT
7895 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7896 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7897 $ac_file.a: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7898 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7899 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7900 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7901 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7903 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7904 install install-dev:: $ac_dir/install-dev
7905 __uninstall__: $ac_dir/uninstall"
7906 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7908 wine_fn_append_rule \
7909 "__builddeps__: $ac_file.cross.a
7910 $ac_file.cross.a: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7911 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec"
7916 wine_fn_config_program
()
7919 ac_dir
=programs
/$ac_name
7926 *) ac_program
=$ac_program.exe
;;
7929 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
7930 wine_fn_disabled_rules
; return
7934 wine_fn_append_rule
"$ac_dir: __builddeps__"
7936 wine_fn_has_flag
install ||
return
7937 wine_fn_append_rule \
7938 ".PHONY: $ac_dir/install $ac_dir/uninstall
7939 install install-lib:: $ac_dir/install
7940 __uninstall__: $ac_dir/uninstall"
7942 if test -n "$DLLEXT"
7944 wine_fn_append_rule \
7945 "$ac_dir/install:: $ac_dir
7946 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT
7947 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
7949 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
7951 if test -z "$with_wine64" && wine_fn_has_flag installbin
7953 wine_fn_append_rule \
7954 "$ac_dir/install:: __tooldeps__
7955 \$(INSTALL_SCRIPT) \$(TOOLSDIR)/tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
7957 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
7960 wine_fn_append_rule \
7961 "$ac_dir/install:: $ac_dir
7962 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(bindir)/$ac_program
7964 \$(RM) \$(DESTDIR)\$(bindir)/$ac_program"
7967 if test -z "$with_wine64" && wine_fn_has_flag manpage
7969 wine_fn_append_rule \
7970 "$ac_dir/install:: $ac_dir
7971 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
7973 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
7977 wine_fn_config_test
()
7983 if test "x$enable_tests" = xno
; then :
7984 wine_fn_disabled_rules
; return
7987 wine_fn_append_file ALL_TEST_RESOURCES
$ac_name.res
7990 wine_fn_append_rule \
7991 "$ac_dir: __builddeps__
7992 programs/winetest: $ac_dir
7993 check test: $ac_dir/test
7994 .PHONY: $ac_dir/test
7996 @cd $ac_dir && \$(MAKE) test"
7998 if test -n "$CROSSTARGET"
8000 wine_fn_append_rule \
8001 "crosstest: $ac_dir/crosstest
8002 .PHONY: $ac_dir/crosstest
8003 $ac_dir/crosstest: __builddeps__ dummy
8004 @cd $ac_dir && \$(MAKE) crosstest"
8008 wine_fn_config_tool
()
8012 if test "x$enable_tools" = xno
; then :
8013 wine_fn_append_file DISABLED_SUBDIRS
$ac_dir; return
8017 wine_fn_install_rules
8019 wine_fn_append_rule
"__tooldeps__: $ac_dir"
8020 wine_fn_append_rule
"$ac_dir: libs/port"
8022 tools
/winebuild
) wine_fn_append_rule
"\$(WINEBUILD): $ac_dir" ;;
8026 wine_fn_config_symlink
()
8029 if test "x$1" = "x-d"
8035 wine_fn_append_rule \
8037 @./config.status \$@"
8038 for f
in $ac_links; do wine_fn_append_file CONFIGURE_TARGETS
$f; done
8039 test -n "$ac_linkdir" ||
return
8040 wine_fn_append_rule
"$ac_linkdir/depend: $ac_links"
8044 test "x$enable_win64" != "xyes" || wine_binary
="wine64"
8045 WINELOADER_PROGRAMS
="$wine_binary"
8047 libwine_soversion
=`expr $libwine_version : '\([0-9]*\)\..*'`
8051 if test -n "$ac_tool_prefix"; then
8052 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
8053 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
8054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8055 $as_echo_n "checking for $ac_word... " >&6; }
8056 if ${ac_cv_prog_DLLTOOL+:} false
; then :
8057 $as_echo_n "(cached) " >&6
8059 if test -n "$DLLTOOL"; then
8060 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
8062 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8066 test -z "$as_dir" && as_dir
=.
8067 for ac_exec_ext
in '' $ac_executable_extensions; do
8068 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8069 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
8070 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8079 DLLTOOL
=$ac_cv_prog_DLLTOOL
8080 if test -n "$DLLTOOL"; then
8081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
8082 $as_echo "$DLLTOOL" >&6; }
8084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8085 $as_echo "no" >&6; }
8090 if test -z "$ac_cv_prog_DLLTOOL"; then
8091 ac_ct_DLLTOOL
=$DLLTOOL
8092 # Extract the first word of "dlltool", so it can be a program name with args.
8093 set dummy dlltool
; ac_word
=$2
8094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8095 $as_echo_n "checking for $ac_word... " >&6; }
8096 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false
; then :
8097 $as_echo_n "(cached) " >&6
8099 if test -n "$ac_ct_DLLTOOL"; then
8100 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
8102 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8106 test -z "$as_dir" && as_dir
=.
8107 for ac_exec_ext
in '' $ac_executable_extensions; do
8108 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8109 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
8110 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8119 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
8120 if test -n "$ac_ct_DLLTOOL"; then
8121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
8122 $as_echo "$ac_ct_DLLTOOL" >&6; }
8124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8125 $as_echo "no" >&6; }
8128 if test "x$ac_ct_DLLTOOL" = x
; then
8131 case $cross_compiling:$ac_tool_warned in
8133 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8134 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8135 ac_tool_warned
=yes ;;
8137 DLLTOOL
=$ac_ct_DLLTOOL
8140 DLLTOOL
="$ac_cv_prog_DLLTOOL"
8146 enable_iphlpapi
=${enable_iphlpapi:-no}
8147 enable_kernel32
=${enable_kernel32:-no}
8148 enable_msvcrt
=${enable_msvcrt:-no}
8149 enable_ntdll
=${enable_ntdll:-no}
8150 enable_ws2_32
=${enable_ws2_32:-no}
8151 enable_loader
=${enable_loader:-no}
8152 enable_server
=${enable_server:-no}
8153 with_x
=${with_x:-no}
8154 with_pthread
=${with_pthread:-no}
8160 SOCKET_LIBS
="-lws2_32"
8164 LIBWINE_SHAREDLIB
="libwine.dll"
8166 LIBWINE_IMPORTLIB
="libwine.a"
8168 LIBWINE_INSTALL_LIB
="libwine.dll"
8170 LIBWINE_INSTALL_DEV
="libwine.a"
8172 LIBWINE_LDFLAGS
="-shared \$(srcdir)/wine.def"
8174 LIBWINE_DEPENDS
="wine.def"
8179 for ac_header
in libunwind.h
8181 ac_fn_c_check_header_mongrel
"$LINENO" "libunwind.h" "ac_cv_header_libunwind_h" "$ac_includes_default"
8182 if test "x$ac_cv_header_libunwind_h" = xyes
; then :
8183 cat >>confdefs.h
<<_ACEOF
8184 #define HAVE_LIBUNWIND_H 1
8192 DLLFLAGS
="$DLLFLAGS -fPIC"
8193 LDRPATH_INSTALL
="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8194 LDRPATH_LOCAL
="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
8195 COREFOUNDATION_LIBS
="-framework CoreFoundation"
8197 IOKIT_LIBS
="-framework IOKit -framework CoreFoundation"
8199 FORCEFEEDBACK_LIBS
="-framework ForceFeedback -framework CoreFoundation"
8201 APPLICATIONSERVICES_LIBS
="-framework ApplicationServices"
8203 CORESERVICES_LIBS
="-framework CoreServices"
8205 APPKIT_LIBS
="-framework AppKit"
8207 WINELOADER_LDFLAGS
="-image_base 0x7bf00000 -Wl,-pagezero_size,0x1000,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
8208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
8209 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
8210 if ${ac_cv_cflags__Wl__no_pie+:} false
; then :
8211 $as_echo_n "(cached) " >&6
8213 ac_wine_try_cflags_saved
=$CFLAGS
8214 CFLAGS
="$CFLAGS -Wl,-no_pie"
8215 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8216 /* end confdefs.h. */
8217 int main(int argc, char **argv) { return 0; }
8219 if ac_fn_c_try_link
"$LINENO"; then :
8220 ac_cv_cflags__Wl__no_pie
=yes
8222 ac_cv_cflags__Wl__no_pie
=no
8224 rm -f core conftest.err conftest.
$ac_objext \
8225 conftest
$ac_exeext conftest.
$ac_ext
8226 CFLAGS
=$ac_wine_try_cflags_saved
8228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
8229 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
8230 if test "x$ac_cv_cflags__Wl__no_pie" = xyes
; then :
8231 WINELOADER_LDFLAGS
="-Wl,-no_pie $WINELOADER_LDFLAGS"
8233 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8235 DISKARBITRATION_LIBS
="-framework DiskArbitration -framework CoreFoundation"
8238 if test "$ac_cv_header_Security_Security_h" = "yes"
8240 SECURITY_LIBS
="-framework Security -framework CoreFoundation"
8242 ac_save_LIBS
="$LIBS"
8243 LIBS
="$LIBS $SECURITY_LIBS"
8244 for ac_func
in SSLCopyPeerCertificates
8246 ac_fn_c_check_func
"$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
8247 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes
; then :
8248 cat >>confdefs.h
<<_ACEOF
8249 #define HAVE_SSLCOPYPEERCERTIFICATES 1
8255 LIBS
="$ac_save_LIBS"
8256 with_gnutls
=${with_gnutls:-no}
8258 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8260 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
8262 COREAUDIO_LIBS
="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
8265 COREAUDIO_LIBS
="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8268 enable_winecoreaudio_drv
=${enable_winecoreaudio_drv:-yes}
8269 ac_save_LIBS
="$LIBS"
8270 LIBS
="$LIBS $COREAUDIO_LIBS"
8271 for ac_func
in AUGraphAddNode
8273 ac_fn_c_check_func
"$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
8274 if test "x$ac_cv_func_AUGraphAddNode" = xyes
; then :
8275 cat >>confdefs.h
<<_ACEOF
8276 #define HAVE_AUGRAPHADDNODE 1
8282 LIBS
="$ac_save_LIBS"
8284 if test "$ac_cv_header_OpenAL_al_h" = "yes"
8286 OPENAL_LIBS
="-framework OpenAL"
8289 cat >>confdefs.h
<<_ACEOF
8290 #define HAVE_OPENAL 1
8293 ac_cv_lib_openal
=yes
8295 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
8297 OPENCL_LIBS
="-framework OpenCL"
8299 ac_cv_lib_OpenCL_clGetPlatformInfo
=yes
8301 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
8303 ac_save_LIBS
="$LIBS"
8304 LIBS
="$LIBS $IOKIT_LIBS"
8305 for ac_func
in IOHIDManagerCreate
8307 ac_fn_c_check_func
"$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
8308 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes
; then :
8309 cat >>confdefs.h
<<_ACEOF
8310 #define HAVE_IOHIDMANAGERCREATE 1
8316 LIBS
="$ac_save_LIBS"
8318 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
8320 ac_save_LIBS
="$LIBS"
8321 LIBS
="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
8322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
8323 $as_echo_n "checking for the QuickTime framework... " >&6; }
8324 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8325 /* end confdefs.h. */
8326 #include <QuickTime/ImageCompression.h>
8330 CodecManagerVersion(NULL);
8335 if ac_fn_c_try_link
"$LINENO"; then :
8336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8337 $as_echo "yes" >&6; }
8338 QUICKTIME_LIBS
="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
8340 enable_wineqtdecoder
=${enable_wineqtdecoder:-yes}
8342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8343 $as_echo "no" >&6; }
8344 ac_cv_header_QuickTime_ImageCompression_h
=no
8346 rm -f core conftest.err conftest.
$ac_objext \
8347 conftest
$ac_exeext conftest.
$ac_ext
8348 LIBS
="$ac_save_LIBS"
8350 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"
8352 as_fn_append wine_notices
"|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
8354 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8356 CARBON_LIBS
="-framework Carbon"
8360 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
8362 ac_save_LIBS
="$LIBS"
8363 LIBS
="$LIBS $APPLICATIONSERVICES_LIBS"
8364 ac_fn_c_check_func
"$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
8365 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes
; then :
8366 enable_winemac_drv
=${enable_winemac_drv:-yes}
8369 LIBS
="$ac_save_LIBS"
8372 if test "x$enable_win16" = "xyes"
8374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
8375 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
8376 if test "$cross_compiling" = yes; then :
8377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
8378 $as_echo "cross-compiling, assuming yes" >&6; }
8380 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8381 /* end confdefs.h. */
8384 "good:\tnop;nop\n\t"
8385 ".globl _testfunc\n"
8386 "_testfunc:\tcallw good");
8387 extern void testfunc();
8391 unsigned short *p = (unsigned short *)testfunc;
8392 return p[0] != 0xe866 || p[1] != 0xfffa
8397 if ac_fn_c_try_run
"$LINENO"; then :
8398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8399 $as_echo "yes" >&6; }
8401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8402 $as_echo "no" >&6; }
8403 as_fn_error $?
"Xcode 3.x cannot build 16-bit code correctly. Use --disable-win16 if you don't need 16-bit support." "$LINENO" 5
8405 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
8406 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
8411 LIBWINE_SHAREDLIB
="libwine.$libwine_version.dylib"
8413 LIBWINE_INSTALL_LIB
="libwine.$libwine_version.dylib libwine.$libwine_soversion.dylib"
8415 LIBWINE_INSTALL_DEV
="libwine.dylib"
8417 LIBWINE_LDFLAGS
="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
8419 WINELOADER_DEPENDS
="wine_info.plist"
8424 DLLFLAGS
="$DLLFLAGS -fPIC"
8425 LDEXECFLAGS
="-Wl,-pie"
8426 enable_wineandroid_drv
=${enable_wineandroid_drv:-yes}
8427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8428 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8429 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false
; then :
8430 $as_echo_n "(cached) " >&6
8432 ac_wine_try_cflags_saved
=$CFLAGS
8433 CFLAGS
="$CFLAGS -fPIC -Wl,--export-dynamic"
8434 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8435 /* end confdefs.h. */
8436 int main(int argc, char **argv) { return 0; }
8438 if ac_fn_c_try_link
"$LINENO"; then :
8439 ac_cv_cflags__fPIC__Wl___export_dynamic
=yes
8441 ac_cv_cflags__fPIC__Wl___export_dynamic
=no
8443 rm -f core conftest.err conftest.
$ac_objext \
8444 conftest
$ac_exeext conftest.
$ac_ext
8445 CFLAGS
=$ac_wine_try_cflags_saved
8447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8448 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8449 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes
; then :
8450 WINELOADER_LDFLAGS
="-Wl,--export-dynamic"
8452 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8454 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8455 if eval \
${$as_ac_var+:} false
; then :
8456 $as_echo_n "(cached) " >&6
8458 ac_wine_try_cflags_saved
=$CFLAGS
8459 CFLAGS
="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8460 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8461 /* end confdefs.h. */
8462 int main(int argc, char **argv) { return 0; }
8464 if ac_fn_c_try_link
"$LINENO"; then :
8465 eval "$as_ac_var=yes"
8467 eval "$as_ac_var=no"
8469 rm -f core conftest.err conftest.
$ac_objext \
8470 conftest
$ac_exeext conftest.
$ac_ext
8471 CFLAGS
=$ac_wine_try_cflags_saved
8473 eval ac_res
=\$
$as_ac_var
8474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8475 $as_echo "$ac_res" >&6; }
8476 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
8477 LDRPATH_INSTALL
="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8478 LDRPATH_LOCAL
="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8480 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8482 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8483 if eval \
${$as_ac_var+:} false
; then :
8484 $as_echo_n "(cached) " >&6
8486 ac_wine_try_cflags_saved
=$CFLAGS
8487 CFLAGS
="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8488 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8489 /* end confdefs.h. */
8490 int main(int argc, char **argv) { return 0; }
8492 if ac_fn_c_try_link
"$LINENO"; then :
8493 eval "$as_ac_var=yes"
8495 eval "$as_ac_var=no"
8497 rm -f core conftest.err conftest.
$ac_objext \
8498 conftest
$ac_exeext conftest.
$ac_ext
8499 CFLAGS
=$ac_wine_try_cflags_saved
8501 eval ac_res
=\$
$as_ac_var
8502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8503 $as_echo "$ac_res" >&6; }
8504 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
8505 LDRPATH_INSTALL
="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8506 LDRPATH_LOCAL
="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8510 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8511 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false
; then :
8512 $as_echo_n "(cached) " >&6
8514 ac_wine_try_cflags_saved
=$CFLAGS
8515 CFLAGS
="$CFLAGS -Wl,--enable-new-dtags"
8516 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8517 /* end confdefs.h. */
8518 int main(int argc, char **argv) { return 0; }
8520 if ac_fn_c_try_link
"$LINENO"; then :
8521 ac_cv_cflags__Wl___enable_new_dtags
=yes
8523 ac_cv_cflags__Wl___enable_new_dtags
=no
8525 rm -f core conftest.err conftest.
$ac_objext \
8526 conftest
$ac_exeext conftest.
$ac_ext
8527 CFLAGS
=$ac_wine_try_cflags_saved
8529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8530 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8531 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes
; then :
8532 LDRPATH_INSTALL
="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8535 LIBWINE_SHAREDLIB
="libwine.so"
8537 LIBWINE_INSTALL_LIB
="libwine.so"
8539 LIBWINE_LDFLAGS
="-shared -Wl,-soname,libwine.so"
8542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
8543 $as_echo_n "checking for -lEGL... " >&6; }
8544 if ${ac_cv_lib_soname_EGL+:} false
; then :
8545 $as_echo_n "(cached) " >&6
8547 ac_check_soname_save_LIBS
=$LIBS
8549 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8550 /* end confdefs.h. */
8552 /* Override any GCC internal prototype to avoid an error.
8553 Use char because int might match the return type of a GCC
8554 builtin and then its argument prototype would still apply. */
8558 char eglGetProcAddress ();
8562 return eglGetProcAddress ();
8567 if ac_fn_c_try_link
"$LINENO"; then :
8569 dll
) ac_cv_lib_soname_EGL
=`$ac_cv_path_LDD conftest.exe | grep "EGL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8570 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'` ;;
8571 *) ac_cv_lib_soname_EGL
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libEGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
8572 if ${ac_cv_lib_soname_EGL:+false} :; then :
8573 ac_cv_lib_soname_EGL
=`$LDD conftest$ac_exeext | grep "libEGL\\.$LIBEXT" | sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
8577 rm -f core conftest.err conftest.
$ac_objext \
8578 conftest
$ac_exeext conftest.
$ac_ext
8579 LIBS
=$ac_check_soname_save_LIBS
8581 if ${ac_cv_lib_soname_EGL:+false} :; then :
8582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8583 $as_echo "not found" >&6; }
8586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
8587 $as_echo "$ac_cv_lib_soname_EGL" >&6; }
8589 cat >>confdefs.h
<<_ACEOF
8590 #define SONAME_LIBEGL "$ac_cv_lib_soname_EGL"
8595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
8596 $as_echo_n "checking for -lGLESv2... " >&6; }
8597 if ${ac_cv_lib_soname_GLESv2+:} false
; then :
8598 $as_echo_n "(cached) " >&6
8600 ac_check_soname_save_LIBS
=$LIBS
8601 LIBS
="-lGLESv2 $LIBS"
8602 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8603 /* end confdefs.h. */
8605 /* Override any GCC internal prototype to avoid an error.
8606 Use char because int might match the return type of a GCC
8607 builtin and then its argument prototype would still apply. */
8620 if ac_fn_c_try_link
"$LINENO"; then :
8622 dll
) ac_cv_lib_soname_GLESv2
=`$ac_cv_path_LDD conftest.exe | grep "GLESv2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8623 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'` ;;
8624 *) ac_cv_lib_soname_GLESv2
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLESv2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
8625 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
8626 ac_cv_lib_soname_GLESv2
=`$LDD conftest$ac_exeext | grep "libGLESv2\\.$LIBEXT" | sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
8630 rm -f core conftest.err conftest.
$ac_objext \
8631 conftest
$ac_exeext conftest.
$ac_ext
8632 LIBS
=$ac_check_soname_save_LIBS
8634 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
8635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8636 $as_echo "not found" >&6; }
8639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
8640 $as_echo "$ac_cv_lib_soname_GLESv2" >&6; }
8642 cat >>confdefs.h
<<_ACEOF
8643 #define SONAME_LIBGLESV2 "$ac_cv_lib_soname_GLESv2"
8649 if test "x$exec_prefix" = xNONE
8652 *i
[3456]86*) exec_prefix
='${prefix}/x86' ;;
8653 *x86_64
*) exec_prefix
='${prefix}/x86_64' ;;
8654 *arm
*) exec_prefix
='${prefix}/armeabi-v7a' ;;
8655 *aarch64
*) exec_prefix
='${prefix}/arm64-v8a' ;;
8661 DLLFLAGS
="$DLLFLAGS -fPIC"
8662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
8663 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
8664 if ${ac_cv_c_dll_gnuelf+:} false
; then :
8665 $as_echo_n "(cached) " >&6
8667 ac_wine_try_cflags_saved
=$CFLAGS
8668 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8669 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8670 /* end confdefs.h. */
8673 if ac_fn_c_try_link
"$LINENO"; then :
8674 ac_cv_c_dll_gnuelf
="yes"
8676 ac_cv_c_dll_gnuelf
="no"
8678 rm -f core conftest.err conftest.
$ac_objext \
8679 conftest
$ac_exeext conftest.
$ac_ext
8680 CFLAGS
=$ac_wine_try_cflags_saved
8682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
8683 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
8684 if test "$ac_cv_c_dll_gnuelf" = "yes"
8686 LIBWINE_LDFLAGS
="-shared"
8687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8688 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
8689 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false
; then :
8690 $as_echo_n "(cached) " >&6
8692 ac_wine_try_cflags_saved
=$CFLAGS
8693 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8694 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8695 /* end confdefs.h. */
8696 int main(int argc, char **argv) { return 0; }
8698 if ac_fn_c_try_link
"$LINENO"; then :
8699 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1
=yes
8701 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1
=no
8703 rm -f core conftest.err conftest.
$ac_objext \
8704 conftest
$ac_exeext conftest.
$ac_ext
8705 CFLAGS
=$ac_wine_try_cflags_saved
8707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8708 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8709 if test "x$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" = xyes
; then :
8710 LIBWINE_LDFLAGS
="-shared -Wl,-soname,libwine.so.$libwine_soversion"
8712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8713 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
8714 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false
; then :
8715 $as_echo_n "(cached) " >&6
8717 ac_wine_try_cflags_saved
=$CFLAGS
8718 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8719 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8720 /* end confdefs.h. */
8721 int main(int argc, char **argv) { return 0; }
8723 if ac_fn_c_try_link
"$LINENO"; then :
8724 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1
=yes
8726 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1
=no
8728 rm -f core conftest.err conftest.
$ac_objext \
8729 conftest
$ac_exeext conftest.
$ac_ext
8730 CFLAGS
=$ac_wine_try_cflags_saved
8732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8733 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8734 if test "x$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" = xyes
; then :
8735 LIBWINE_LDFLAGS
="-shared -Wl,-h,libwine.so.$libwine_soversion"
8739 echo '{ global: *; };' >conftest.map
8740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8741 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
8742 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false
; then :
8743 $as_echo_n "(cached) " >&6
8745 ac_wine_try_cflags_saved
=$CFLAGS
8746 CFLAGS
="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8747 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8748 /* end confdefs.h. */
8749 int main(int argc, char **argv) { return 0; }
8751 if ac_fn_c_try_link
"$LINENO"; then :
8752 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map
=yes
8754 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map
=no
8756 rm -f core conftest.err conftest.
$ac_objext \
8757 conftest
$ac_exeext conftest.
$ac_ext
8758 CFLAGS
=$ac_wine_try_cflags_saved
8760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8761 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8762 if test "x$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" = xyes
; then :
8763 LIBWINE_LDFLAGS
="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
8767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8768 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8769 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false
; then :
8770 $as_echo_n "(cached) " >&6
8772 ac_wine_try_cflags_saved
=$CFLAGS
8773 CFLAGS
="$CFLAGS -fPIC -Wl,--export-dynamic"
8774 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8775 /* end confdefs.h. */
8776 int main(int argc, char **argv) { return 0; }
8778 if ac_fn_c_try_link
"$LINENO"; then :
8779 ac_cv_cflags__fPIC__Wl___export_dynamic
=yes
8781 ac_cv_cflags__fPIC__Wl___export_dynamic
=no
8783 rm -f core conftest.err conftest.
$ac_objext \
8784 conftest
$ac_exeext conftest.
$ac_ext
8785 CFLAGS
=$ac_wine_try_cflags_saved
8787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8788 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8789 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes
; then :
8790 WINELOADER_LDFLAGS
="-Wl,--export-dynamic"
8793 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8795 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8796 if eval \
${$as_ac_var+:} false
; then :
8797 $as_echo_n "(cached) " >&6
8799 ac_wine_try_cflags_saved
=$CFLAGS
8800 CFLAGS
="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8801 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8802 /* end confdefs.h. */
8803 int main(int argc, char **argv) { return 0; }
8805 if ac_fn_c_try_link
"$LINENO"; then :
8806 eval "$as_ac_var=yes"
8808 eval "$as_ac_var=no"
8810 rm -f core conftest.err conftest.
$ac_objext \
8811 conftest
$ac_exeext conftest.
$ac_ext
8812 CFLAGS
=$ac_wine_try_cflags_saved
8814 eval ac_res
=\$
$as_ac_var
8815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8816 $as_echo "$ac_res" >&6; }
8817 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
8818 LDRPATH_INSTALL
="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8819 LDRPATH_LOCAL
="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8821 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8823 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8824 if eval \
${$as_ac_var+:} false
; then :
8825 $as_echo_n "(cached) " >&6
8827 ac_wine_try_cflags_saved
=$CFLAGS
8828 CFLAGS
="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8829 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8830 /* end confdefs.h. */
8831 int main(int argc, char **argv) { return 0; }
8833 if ac_fn_c_try_link
"$LINENO"; then :
8834 eval "$as_ac_var=yes"
8836 eval "$as_ac_var=no"
8838 rm -f core conftest.err conftest.
$ac_objext \
8839 conftest
$ac_exeext conftest.
$ac_ext
8840 CFLAGS
=$ac_wine_try_cflags_saved
8842 eval ac_res
=\$
$as_ac_var
8843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8844 $as_echo "$ac_res" >&6; }
8845 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
8846 LDRPATH_INSTALL
="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8847 LDRPATH_LOCAL
="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8852 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8853 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false
; then :
8854 $as_echo_n "(cached) " >&6
8856 ac_wine_try_cflags_saved
=$CFLAGS
8857 CFLAGS
="$CFLAGS -Wl,--enable-new-dtags"
8858 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8859 /* end confdefs.h. */
8860 int main(int argc, char **argv) { return 0; }
8862 if ac_fn_c_try_link
"$LINENO"; then :
8863 ac_cv_cflags__Wl___enable_new_dtags
=yes
8865 ac_cv_cflags__Wl___enable_new_dtags
=no
8867 rm -f core conftest.err conftest.
$ac_objext \
8868 conftest
$ac_exeext conftest.
$ac_ext
8869 CFLAGS
=$ac_wine_try_cflags_saved
8871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8872 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8873 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes
; then :
8874 LDRPATH_INSTALL
="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8878 *i
[3456789]86* | x86_64 |
*aarch64
*)
8879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
8880 $as_echo_n "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
8881 if ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+:} false
; then :
8882 $as_echo_n "(cached) " >&6
8884 ac_wine_try_cflags_saved
=$CFLAGS
8885 CFLAGS
="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
8886 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8887 /* end confdefs.h. */
8888 int main(int argc, char **argv) { return 0; }
8890 if ac_fn_c_try_link
"$LINENO"; then :
8891 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000
=yes
8893 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000
=no
8895 rm -f core conftest.err conftest.
$ac_objext \
8896 conftest
$ac_exeext conftest.
$ac_ext
8897 CFLAGS
=$ac_wine_try_cflags_saved
8899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
8900 $as_echo "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
8901 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes
; then :
8903 freebsd
* | kfreebsd
*-gnu) WINELOADER_LDFLAGS
="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x60000000" ;;
8904 *) WINELOADER_LDFLAGS
="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x7c000000" ;;
8907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400" >&5
8908 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400... " >&6; }
8909 if ${ac_cv_cflags__Wl___section_start__interp_0x7c000400+:} false
; then :
8910 $as_echo_n "(cached) " >&6
8912 ac_wine_try_cflags_saved
=$CFLAGS
8913 CFLAGS
="$CFLAGS -Wl,--section-start,.interp=0x7c000400"
8914 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8915 /* end confdefs.h. */
8916 int main(int argc, char **argv) { return 0; }
8918 if ac_fn_c_try_link
"$LINENO"; then :
8919 ac_cv_cflags__Wl___section_start__interp_0x7c000400
=yes
8921 ac_cv_cflags__Wl___section_start__interp_0x7c000400
=no
8923 rm -f core conftest.err conftest.
$ac_objext \
8924 conftest
$ac_exeext conftest.
$ac_ext
8925 CFLAGS
=$ac_wine_try_cflags_saved
8927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&5
8928 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&6; }
8929 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7c000400" = xyes
; then :
8931 freebsd
* | kfreebsd
*-gnu) WINELOADER_LDFLAGS
="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x60000400" ;;
8932 *) WINELOADER_LDFLAGS
="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x7c000400" ;;
8935 # Extract the first word of "prelink", so it can be a program name with args.
8936 set dummy prelink
; ac_word
=$2
8937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8938 $as_echo_n "checking for $ac_word... " >&6; }
8939 if ${ac_cv_path_PRELINK+:} false
; then :
8940 $as_echo_n "(cached) " >&6
8944 ac_cv_path_PRELINK
="$PRELINK" # Let the user override the test with a path.
8947 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8948 for as_dir
in /sbin
/usr
/sbin
$PATH
8951 test -z "$as_dir" && as_dir
=.
8952 for ac_exec_ext
in '' $ac_executable_extensions; do
8953 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8954 ac_cv_path_PRELINK
="$as_dir/$ac_word$ac_exec_ext"
8955 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8962 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK
="false"
8966 PRELINK
=$ac_cv_path_PRELINK
8967 if test -n "$PRELINK"; then
8968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
8969 $as_echo "$PRELINK" >&6; }
8971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8972 $as_echo "no" >&6; }
8976 if test "x$PRELINK" = xfalse
8978 as_fn_append wine_warnings
"|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
8981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
8982 $as_echo_n "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
8983 if ${ac_cv_cflags__Wl__z_max_page_size_0x1000+:} false
; then :
8984 $as_echo_n "(cached) " >&6
8986 ac_wine_try_cflags_saved
=$CFLAGS
8987 CFLAGS
="$CFLAGS -Wl,-z,max-page-size=0x1000"
8988 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8989 /* end confdefs.h. */
8990 int main(int argc, char **argv) { return 0; }
8992 if ac_fn_c_try_link
"$LINENO"; then :
8993 ac_cv_cflags__Wl__z_max_page_size_0x1000
=yes
8995 ac_cv_cflags__Wl__z_max_page_size_0x1000
=no
8997 rm -f core conftest.err conftest.
$ac_objext \
8998 conftest
$ac_exeext conftest.
$ac_ext
8999 CFLAGS
=$ac_wine_try_cflags_saved
9001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
9002 $as_echo "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
9003 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes
; then :
9004 WINELOADER_LDFLAGS
="$WINELOADER_LDFLAGS -Wl,-z,max-page-size=0x1000"
9010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
9011 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
9012 if ${ac_cv_c_dll_unixware+:} false
; then :
9013 $as_echo_n "(cached) " >&6
9015 ac_wine_try_cflags_saved
=$CFLAGS
9016 CFLAGS
="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
9017 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9018 /* end confdefs.h. */
9021 if ac_fn_c_try_link
"$LINENO"; then :
9022 ac_cv_c_dll_unixware
="yes"
9024 ac_cv_c_dll_unixware
="no"
9026 rm -f core conftest.err conftest.
$ac_objext \
9027 conftest
$ac_exeext conftest.
$ac_ext
9028 CFLAGS
=$ac_wine_try_cflags_saved
9030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
9031 $as_echo "$ac_cv_c_dll_unixware" >&6; }
9032 if test "$ac_cv_c_dll_unixware" = "yes"
9034 LIBWINE_LDFLAGS
="-Wl,-G,-h,libwine.so.$libwine_soversion"
9037 LIBWINE_SHAREDLIB
="libwine.so.$libwine_version"
9039 LIBWINE_INSTALL_LIB
="libwine.so.$libwine_version libwine.so.$libwine_soversion"
9041 LIBWINE_INSTALL_DEV
="libwine.so"
9043 LIBWINE_DEPENDS
="wine.map"
9048 enable_winecoreaudio_drv
=${enable_winecoreaudio_drv:-no}
9049 enable_wineqtdecoder
=${enable_wineqtdecoder:-no}
9050 enable_wineandroid_drv
=${enable_wineandroid_drv:-no}
9051 enable_winemac_drv
=${enable_winemac_drv:-no}
9052 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv
=${enable_winejoystick_drv:-no}
9056 if test "x$enable_tests" != xno
-a "$LIBEXT" != "dll"
9060 ac_prefix_list
="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc" ;;
9062 ac_prefix_list
="i686-w64-mingw32-gcc i586-w64-mingw32-gcc i486-w64-mingw32-gcc i386-w64-mingw32-gcc i686-pc-mingw32-gcc i586-pc-mingw32-gcc i486-pc-mingw32-gcc i386-pc-mingw32-gcc i686-mingw32msvc-gcc i586-mingw32msvc-gcc i486-mingw32msvc-gcc i386-mingw32msvc-gcc i686-mingw32-gcc i586-mingw32-gcc i486-mingw32-gcc i386-mingw32-gcc
9063 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
9066 ac_prefix_list
="x86_64-pc-mingw32-gcc amd64-pc-mingw32-gcc x86_64-w64-mingw32-gcc amd64-w64-mingw32-gcc x86_64-mingw32msvc-gcc amd64-mingw32msvc-gcc
9067 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang " ;;
9069 ac_prefix_list
="" ;;
9071 for ac_prog
in $ac_prefix_list
9073 # Extract the first word of "$ac_prog", so it can be a program name with args.
9074 set dummy
$ac_prog; ac_word
=$2
9075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9076 $as_echo_n "checking for $ac_word... " >&6; }
9077 if ${ac_cv_prog_CROSSCC+:} false
; then :
9078 $as_echo_n "(cached) " >&6
9080 if test -n "$CROSSCC"; then
9081 ac_cv_prog_CROSSCC
="$CROSSCC" # Let the user override the test.
9083 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9087 test -z "$as_dir" && as_dir
=.
9088 for ac_exec_ext
in '' $ac_executable_extensions; do
9089 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9090 ac_cv_prog_CROSSCC
="$ac_prog"
9091 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9100 CROSSCC
=$ac_cv_prog_CROSSCC
9101 if test -n "$CROSSCC"; then
9102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
9103 $as_echo "$CROSSCC" >&6; }
9105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9106 $as_echo "no" >&6; }
9110 test -n "$CROSSCC" && break
9112 test -n "$CROSSCC" || CROSSCC
="false"
9114 if test "$CROSSCC" != "false"
9118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
9119 $as_echo_n "checking whether $CROSSCC works... " >&6; }
9120 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9121 /* end confdefs.h. */
9131 if ac_fn_c_try_compile
"$LINENO"; then :
9132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9133 $as_echo "yes" >&6; }
9139 *-gcc) CROSSTARGET
=`expr "$1" : '\(.*\)-gcc'` ;;
9140 *-clang) CROSSTARGET
=`expr "$1" : '\(.*\)-clang'` ;;
9145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9146 $as_echo "no" >&6; }
9148 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9150 CROSSCFLAGS
=${CROSSCFLAGS:-$CFLAGS}
9156 if test "$ac_cv_header_pthread_h" = "yes"
9158 ac_fn_c_check_func
"$LINENO" "pthread_create" "ac_cv_func_pthread_create"
9159 if test "x$ac_cv_func_pthread_create" = xyes
; then :
9162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
9163 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
9164 if ${ac_cv_lib_pthread_pthread_create+:} false
; then :
9165 $as_echo_n "(cached) " >&6
9167 ac_check_lib_save_LIBS
=$LIBS
9168 LIBS
="-lpthread $LIBS"
9169 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9170 /* end confdefs.h. */
9172 /* Override any GCC internal prototype to avoid an error.
9173 Use char because int might match the return type of a GCC
9174 builtin and then its argument prototype would still apply. */
9178 char pthread_create ();
9182 return pthread_create ();
9187 if ac_fn_c_try_link
"$LINENO"; then :
9188 ac_cv_lib_pthread_pthread_create
=yes
9190 ac_cv_lib_pthread_pthread_create
=no
9192 rm -f core conftest.err conftest.
$ac_objext \
9193 conftest
$ac_exeext conftest.
$ac_ext
9194 LIBS
=$ac_check_lib_save_LIBS
9196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
9197 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
9198 if test "x$ac_cv_lib_pthread_pthread_create" = xyes
; then :
9199 PTHREAD_LIBS
="-lpthread"
9206 if test "x$ac_cv_func_pthread_create" != xyes
-a "x$PTHREAD_LIBS" = x
; then :
9207 case "x$with_pthread" in
9209 *) as_fn_error $?
"pthread ${notice_platform}development files not found.
9210 Wine cannot support threads without libpthread.
9211 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
9217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
9218 $as_echo_n "checking for X... " >&6; }
9221 # Check whether --with-x was given.
9222 if test "${with_x+set}" = set; then :
9226 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
9227 if test "x$with_x" = xno
; then
9228 # The user explicitly disabled X.
9231 case $x_includes,$x_libraries in #(
9232 *\'*) as_fn_error $?
"cannot use X directory names containing '" "$LINENO" 5;; #(
9233 *,NONE | NONE
,*) if ${ac_cv_have_x+:} false
; then :
9234 $as_echo_n "(cached) " >&6
9236 # One or both of the vars are not set, and there is no cached value.
9237 ac_x_includes
=no ac_x_libraries
=no
9238 rm -f -r conftest.dir
9239 if mkdir conftest.dir
; then
9241 cat >Imakefile
<<'_ACEOF'
9243 @echo incroot='${INCROOT}'
9245 @echo usrlibdir='${USRLIBDIR}'
9247 @echo libdir='${LIBDIR}'
9249 if (export CC
; ${XMKMF-xmkmf}) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
9250 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
9251 for ac_var
in incroot usrlibdir libdir
; do
9252 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
9254 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
9255 for ac_extension
in a so sl dylib la dll
; do
9256 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
9257 test -f "$ac_im_libdir/libX11.$ac_extension"; then
9258 ac_im_usrlibdir
=$ac_im_libdir; break
9261 # Screen out bogus values from the imake configuration. They are
9262 # bogus both because they are the default anyway, and because
9263 # using them would break gcc on systems where it needs fixed includes.
9264 case $ac_im_incroot in
9265 /usr
/include
) ac_x_includes
= ;;
9266 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
9268 case $ac_im_usrlibdir in
9269 /usr
/lib |
/usr
/lib64 |
/lib |
/lib64
) ;;
9270 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
9274 rm -f -r conftest.dir
9277 # Standard set of common directories for X headers.
9278 # Check X11 before X11Rn because it is often a symlink to the current release.
9292 /usr/local/X11/include
9293 /usr/local/X11R7/include
9294 /usr/local/X11R6/include
9295 /usr/local/X11R5/include
9296 /usr/local/X11R4/include
9298 /usr/local/include/X11
9299 /usr/local/include/X11R7
9300 /usr/local/include/X11R6
9301 /usr/local/include/X11R5
9302 /usr/local/include/X11R4
9306 /usr/XFree86/include/X11
9310 /usr/unsupported/include
9312 /usr/local/x11r5/include
9313 /usr/lpp/Xamples/include
9315 /usr/openwin/include
9316 /usr/openwin/share/include'
9318 if test "$ac_x_includes" = no
; then
9319 # Guess where to find include files, by looking for Xlib.h.
9320 # First, try using that file with no special directory specified.
9321 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9322 /* end confdefs.h. */
9323 #include <X11/Xlib.h>
9325 if ac_fn_c_try_cpp
"$LINENO"; then :
9326 # We can compile using X headers with no special include directory.
9329 for ac_dir
in $ac_x_header_dirs; do
9330 if test -r "$ac_dir/X11/Xlib.h"; then
9331 ac_x_includes
=$ac_dir
9336 rm -f conftest.err conftest.i conftest.
$ac_ext
9337 fi # $ac_x_includes = no
9339 if test "$ac_x_libraries" = no
; then
9340 # Check for the libraries.
9341 # See if we find them without any special options.
9342 # Don't add to $LIBS permanently.
9345 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9346 /* end confdefs.h. */
9347 #include <X11/Xlib.h>
9356 if ac_fn_c_try_link
"$LINENO"; then :
9358 # We can link X programs with no special library path.
9362 for ac_dir
in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
9364 # Don't even attempt the hair of trying to link an X program!
9365 for ac_extension
in a so sl dylib la dll
; do
9366 if test -r "$ac_dir/libX11.$ac_extension"; then
9367 ac_x_libraries
=$ac_dir
9373 rm -f core conftest.err conftest.
$ac_objext \
9374 conftest
$ac_exeext conftest.
$ac_ext
9375 fi # $ac_x_libraries = no
9377 case $ac_x_includes,$ac_x_libraries in #(
9379 # Didn't find X, or a directory has "'" in its name.
9380 ac_cv_have_x
="have_x=no";; #(
9382 # Record where we found X for the cache.
9383 ac_cv_have_x
="have_x=yes\
9384 ac_x_includes='$ac_x_includes'\
9385 ac_x_libraries='$ac_x_libraries'"
9391 eval "$ac_cv_have_x"
9394 if test "$have_x" != yes; then
9395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
9396 $as_echo "$have_x" >&6; }
9399 # If each of the values was on the command line, it overrides each guess.
9400 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
9401 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
9402 # Update the cache value to reflect the command line values.
9403 ac_cv_have_x
="have_x=yes\
9404 ac_x_includes='$x_includes'\
9405 ac_x_libraries='$x_libraries'"
9406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
9407 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
9410 if test "$no_x" = yes; then
9411 # Not all programs may use this symbol, but it does not hurt to define it.
9413 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
9415 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
9417 if test -n "$x_includes"; then
9418 X_CFLAGS
="$X_CFLAGS -I$x_includes"
9421 # It would also be nice to do this for all -L options, not just this one.
9422 if test -n "$x_libraries"; then
9423 X_LIBS
="$X_LIBS -L$x_libraries"
9424 # For Solaris; some versions of Sun CC require a space after -R and
9425 # others require no space. Words are not sufficient . . . .
9426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
9427 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
9428 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
9429 ac_xsave_c_werror_flag
=$ac_c_werror_flag
9430 ac_c_werror_flag
=yes
9431 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9432 /* end confdefs.h. */
9442 if ac_fn_c_try_link
"$LINENO"; then :
9443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9444 $as_echo "no" >&6; }
9445 X_LIBS
="$X_LIBS -R$x_libraries"
9447 LIBS
="$ac_xsave_LIBS -R $x_libraries"
9448 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9449 /* end confdefs.h. */
9459 if ac_fn_c_try_link
"$LINENO"; then :
9460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9461 $as_echo "yes" >&6; }
9462 X_LIBS
="$X_LIBS -R $x_libraries"
9464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
9465 $as_echo "neither works" >&6; }
9467 rm -f core conftest.err conftest.
$ac_objext \
9468 conftest
$ac_exeext conftest.
$ac_ext
9470 rm -f core conftest.err conftest.
$ac_objext \
9471 conftest
$ac_exeext conftest.
$ac_ext
9472 ac_c_werror_flag
=$ac_xsave_c_werror_flag
9476 # Check for system-dependent libraries X programs must link with.
9477 # Do this before checking for the system-independent R6 libraries
9478 # (-lICE), since we may need -lsocket or whatever for X linking.
9480 if test "$ISC" = yes; then
9481 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
9483 # Martyn Johnson says this is needed for Ultrix, if the X
9484 # libraries were built with DECnet support. And Karl Berry says
9485 # the Alpha needs dnet_stub (dnet does not exist).
9486 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
9487 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9488 /* end confdefs.h. */
9490 /* Override any GCC internal prototype to avoid an error.
9491 Use char because int might match the return type of a GCC
9492 builtin and then its argument prototype would still apply. */
9496 char XOpenDisplay ();
9500 return XOpenDisplay ();
9505 if ac_fn_c_try_link
"$LINENO"; then :
9508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
9509 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
9510 if ${ac_cv_lib_dnet_dnet_ntoa+:} false
; then :
9511 $as_echo_n "(cached) " >&6
9513 ac_check_lib_save_LIBS
=$LIBS
9515 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9516 /* end confdefs.h. */
9518 /* Override any GCC internal prototype to avoid an error.
9519 Use char because int might match the return type of a GCC
9520 builtin and then its argument prototype would still apply. */
9528 return dnet_ntoa ();
9533 if ac_fn_c_try_link
"$LINENO"; then :
9534 ac_cv_lib_dnet_dnet_ntoa
=yes
9536 ac_cv_lib_dnet_dnet_ntoa
=no
9538 rm -f core conftest.err conftest.
$ac_objext \
9539 conftest
$ac_exeext conftest.
$ac_ext
9540 LIBS
=$ac_check_lib_save_LIBS
9542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
9543 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
9544 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes
; then :
9545 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
9548 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
9549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
9550 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
9551 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false
; then :
9552 $as_echo_n "(cached) " >&6
9554 ac_check_lib_save_LIBS
=$LIBS
9555 LIBS
="-ldnet_stub $LIBS"
9556 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9557 /* end confdefs.h. */
9559 /* Override any GCC internal prototype to avoid an error.
9560 Use char because int might match the return type of a GCC
9561 builtin and then its argument prototype would still apply. */
9569 return dnet_ntoa ();
9574 if ac_fn_c_try_link
"$LINENO"; then :
9575 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
9577 ac_cv_lib_dnet_stub_dnet_ntoa
=no
9579 rm -f core conftest.err conftest.
$ac_objext \
9580 conftest
$ac_exeext conftest.
$ac_ext
9581 LIBS
=$ac_check_lib_save_LIBS
9583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
9584 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
9585 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes
; then :
9586 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
9591 rm -f core conftest.err conftest.
$ac_objext \
9592 conftest
$ac_exeext conftest.
$ac_ext
9593 LIBS
="$ac_xsave_LIBS"
9595 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
9596 # to get the SysV transport functions.
9597 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
9599 # The nsl library prevents programs from opening the X display
9600 # on Irix 5.2, according to T.E. Dickey.
9601 # The functions gethostbyname, getservbyname, and inet_addr are
9602 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
9603 ac_fn_c_check_func
"$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
9604 if test "x$ac_cv_func_gethostbyname" = xyes
; then :
9608 if test $ac_cv_func_gethostbyname = no
; then
9609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
9610 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
9611 if ${ac_cv_lib_nsl_gethostbyname+:} false
; then :
9612 $as_echo_n "(cached) " >&6
9614 ac_check_lib_save_LIBS
=$LIBS
9616 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9617 /* end confdefs.h. */
9619 /* Override any GCC internal prototype to avoid an error.
9620 Use char because int might match the return type of a GCC
9621 builtin and then its argument prototype would still apply. */
9625 char gethostbyname ();
9629 return gethostbyname ();
9634 if ac_fn_c_try_link
"$LINENO"; then :
9635 ac_cv_lib_nsl_gethostbyname
=yes
9637 ac_cv_lib_nsl_gethostbyname
=no
9639 rm -f core conftest.err conftest.
$ac_objext \
9640 conftest
$ac_exeext conftest.
$ac_ext
9641 LIBS
=$ac_check_lib_save_LIBS
9643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
9644 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
9645 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes
; then :
9646 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
9649 if test $ac_cv_lib_nsl_gethostbyname = no
; then
9650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
9651 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
9652 if ${ac_cv_lib_bsd_gethostbyname+:} false
; then :
9653 $as_echo_n "(cached) " >&6
9655 ac_check_lib_save_LIBS
=$LIBS
9657 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9658 /* end confdefs.h. */
9660 /* Override any GCC internal prototype to avoid an error.
9661 Use char because int might match the return type of a GCC
9662 builtin and then its argument prototype would still apply. */
9666 char gethostbyname ();
9670 return gethostbyname ();
9675 if ac_fn_c_try_link
"$LINENO"; then :
9676 ac_cv_lib_bsd_gethostbyname
=yes
9678 ac_cv_lib_bsd_gethostbyname
=no
9680 rm -f core conftest.err conftest.
$ac_objext \
9681 conftest
$ac_exeext conftest.
$ac_ext
9682 LIBS
=$ac_check_lib_save_LIBS
9684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
9685 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
9686 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes
; then :
9687 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
9693 # lieder@skyler.mavd.honeywell.com says without -lsocket,
9694 # socket/setsockopt and other routines are undefined under SCO ODT
9695 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
9696 # on later versions), says Simon Leinen: it contains gethostby*
9697 # variants that don't use the name server (or something). -lsocket
9698 # must be given before -lnsl if both are needed. We assume that
9699 # if connect needs -lnsl, so does gethostbyname.
9700 ac_fn_c_check_func
"$LINENO" "connect" "ac_cv_func_connect"
9701 if test "x$ac_cv_func_connect" = xyes
; then :
9705 if test $ac_cv_func_connect = no
; then
9706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
9707 $as_echo_n "checking for connect in -lsocket... " >&6; }
9708 if ${ac_cv_lib_socket_connect+:} false
; then :
9709 $as_echo_n "(cached) " >&6
9711 ac_check_lib_save_LIBS
=$LIBS
9712 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
9713 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9714 /* end confdefs.h. */
9716 /* Override any GCC internal prototype to avoid an error.
9717 Use char because int might match the return type of a GCC
9718 builtin and then its argument prototype would still apply. */
9731 if ac_fn_c_try_link
"$LINENO"; then :
9732 ac_cv_lib_socket_connect
=yes
9734 ac_cv_lib_socket_connect
=no
9736 rm -f core conftest.err conftest.
$ac_objext \
9737 conftest
$ac_exeext conftest.
$ac_ext
9738 LIBS
=$ac_check_lib_save_LIBS
9740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
9741 $as_echo "$ac_cv_lib_socket_connect" >&6; }
9742 if test "x$ac_cv_lib_socket_connect" = xyes
; then :
9743 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
9748 # Guillermo Gomez says -lposix is necessary on A/UX.
9749 ac_fn_c_check_func
"$LINENO" "remove" "ac_cv_func_remove"
9750 if test "x$ac_cv_func_remove" = xyes
; then :
9754 if test $ac_cv_func_remove = no
; then
9755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
9756 $as_echo_n "checking for remove in -lposix... " >&6; }
9757 if ${ac_cv_lib_posix_remove+:} false
; then :
9758 $as_echo_n "(cached) " >&6
9760 ac_check_lib_save_LIBS
=$LIBS
9761 LIBS
="-lposix $LIBS"
9762 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9763 /* end confdefs.h. */
9765 /* Override any GCC internal prototype to avoid an error.
9766 Use char because int might match the return type of a GCC
9767 builtin and then its argument prototype would still apply. */
9780 if ac_fn_c_try_link
"$LINENO"; then :
9781 ac_cv_lib_posix_remove
=yes
9783 ac_cv_lib_posix_remove
=no
9785 rm -f core conftest.err conftest.
$ac_objext \
9786 conftest
$ac_exeext conftest.
$ac_ext
9787 LIBS
=$ac_check_lib_save_LIBS
9789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
9790 $as_echo "$ac_cv_lib_posix_remove" >&6; }
9791 if test "x$ac_cv_lib_posix_remove" = xyes
; then :
9792 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
9797 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
9798 ac_fn_c_check_func
"$LINENO" "shmat" "ac_cv_func_shmat"
9799 if test "x$ac_cv_func_shmat" = xyes
; then :
9803 if test $ac_cv_func_shmat = no
; then
9804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
9805 $as_echo_n "checking for shmat in -lipc... " >&6; }
9806 if ${ac_cv_lib_ipc_shmat+:} false
; then :
9807 $as_echo_n "(cached) " >&6
9809 ac_check_lib_save_LIBS
=$LIBS
9811 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9812 /* end confdefs.h. */
9814 /* Override any GCC internal prototype to avoid an error.
9815 Use char because int might match the return type of a GCC
9816 builtin and then its argument prototype would still apply. */
9829 if ac_fn_c_try_link
"$LINENO"; then :
9830 ac_cv_lib_ipc_shmat
=yes
9832 ac_cv_lib_ipc_shmat
=no
9834 rm -f core conftest.err conftest.
$ac_objext \
9835 conftest
$ac_exeext conftest.
$ac_ext
9836 LIBS
=$ac_check_lib_save_LIBS
9838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
9839 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
9840 if test "x$ac_cv_lib_ipc_shmat" = xyes
; then :
9841 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
9847 # Check for libraries that X11R6 Xt/Xaw programs need.
9848 ac_save_LDFLAGS
=$LDFLAGS
9849 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
9850 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
9851 # check for ICE first), but we must link in the order -lSM -lICE or
9852 # we get undefined symbols. So assume we have SM if we have ICE.
9853 # These have to be linked with before -lX11, unlike the other
9854 # libraries we check for below, so use a different variable.
9855 # John Interrante, Karl Berry
9856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
9857 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
9858 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false
; then :
9859 $as_echo_n "(cached) " >&6
9861 ac_check_lib_save_LIBS
=$LIBS
9862 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
9863 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9864 /* end confdefs.h. */
9866 /* Override any GCC internal prototype to avoid an error.
9867 Use char because int might match the return type of a GCC
9868 builtin and then its argument prototype would still apply. */
9872 char IceConnectionNumber ();
9876 return IceConnectionNumber ();
9881 if ac_fn_c_try_link
"$LINENO"; then :
9882 ac_cv_lib_ICE_IceConnectionNumber
=yes
9884 ac_cv_lib_ICE_IceConnectionNumber
=no
9886 rm -f core conftest.err conftest.
$ac_objext \
9887 conftest
$ac_exeext conftest.
$ac_ext
9888 LIBS
=$ac_check_lib_save_LIBS
9890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
9891 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
9892 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes
; then :
9893 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
9896 LDFLAGS
=$ac_save_LDFLAGS
9901 if test "$have_x" = "yes"
9903 ac_save_CPPFLAGS
="$CPPFLAGS"
9904 CPPFLAGS
="$CPPFLAGS $X_CFLAGS"
9906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
9907 $as_echo_n "checking for -lX11... " >&6; }
9908 if ${ac_cv_lib_soname_X11+:} false
; then :
9909 $as_echo_n "(cached) " >&6
9911 ac_check_soname_save_LIBS
=$LIBS
9912 LIBS
="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9913 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9914 /* end confdefs.h. */
9916 /* Override any GCC internal prototype to avoid an error.
9917 Use char because int might match the return type of a GCC
9918 builtin and then its argument prototype would still apply. */
9922 char XCreateWindow ();
9926 return XCreateWindow ();
9931 if ac_fn_c_try_link
"$LINENO"; then :
9933 dll
) ac_cv_lib_soname_X11
=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9934 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'` ;;
9935 *) ac_cv_lib_soname_X11
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9936 if ${ac_cv_lib_soname_X11:+false} :; then :
9937 ac_cv_lib_soname_X11
=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9941 rm -f core conftest.err conftest.
$ac_objext \
9942 conftest
$ac_exeext conftest.
$ac_ext
9943 LIBS
=$ac_check_soname_save_LIBS
9945 if ${ac_cv_lib_soname_X11:+false} :; then :
9946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9947 $as_echo "not found" >&6; }
9950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
9951 $as_echo "$ac_cv_lib_soname_X11" >&6; }
9953 cat >>confdefs.h
<<_ACEOF
9954 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
9960 $as_echo_n "checking for -lXext... " >&6; }
9961 if ${ac_cv_lib_soname_Xext+:} false
; then :
9962 $as_echo_n "(cached) " >&6
9964 ac_check_soname_save_LIBS
=$LIBS
9965 LIBS
="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9966 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9967 /* end confdefs.h. */
9969 /* Override any GCC internal prototype to avoid an error.
9970 Use char because int might match the return type of a GCC
9971 builtin and then its argument prototype would still apply. */
9975 char XextCreateExtension ();
9979 return XextCreateExtension ();
9984 if ac_fn_c_try_link
"$LINENO"; then :
9986 dll
) ac_cv_lib_soname_Xext
=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9987 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'` ;;
9988 *) ac_cv_lib_soname_Xext
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9989 if ${ac_cv_lib_soname_Xext:+false} :; then :
9990 ac_cv_lib_soname_Xext
=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9994 rm -f core conftest.err conftest.
$ac_objext \
9995 conftest
$ac_exeext conftest.
$ac_ext
9996 LIBS
=$ac_check_soname_save_LIBS
9998 if ${ac_cv_lib_soname_Xext:+false} :; then :
9999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10000 $as_echo "not found" >&6; }
10003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
10004 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
10006 cat >>confdefs.h
<<_ACEOF
10007 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
10010 X_LIBS
="$X_LIBS -lXext"
10012 X_LIBS
="$X_LIBS -lX11"
10014 for ac_header
in X11
/Xlib.h \
10017 X11
/Xcursor
/Xcursor.h \
10018 X11
/extensions
/shape.h \
10019 X11
/extensions
/XInput.h \
10020 X11
/extensions
/XInput2.h \
10021 X11
/extensions
/XShm.h \
10022 X11
/extensions
/Xcomposite.h \
10023 X11
/extensions
/Xfixes.h \
10024 X11
/extensions
/Xinerama.h \
10025 X11
/extensions
/Xrandr.h \
10026 X11
/extensions
/Xrender.h \
10027 X11
/extensions
/xf86vmode.h \
10028 X11
/extensions
/xf86vmproto.h
10030 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10031 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
10032 # include <X11/Xlib.h>
10034 #ifdef HAVE_X11_XUTIL_H
10035 # include <X11/Xutil.h>
10038 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
10039 cat >>confdefs.h
<<_ACEOF
10040 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10048 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
10050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
10051 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
10052 if ${ac_cv_lib_X11_XkbQueryExtension+:} false
; then :
10053 $as_echo_n "(cached) " >&6
10055 ac_check_lib_save_LIBS
=$LIBS
10056 LIBS
="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
10057 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10058 /* end confdefs.h. */
10060 /* Override any GCC internal prototype to avoid an error.
10061 Use char because int might match the return type of a GCC
10062 builtin and then its argument prototype would still apply. */
10066 char XkbQueryExtension ();
10070 return XkbQueryExtension ();
10075 if ac_fn_c_try_link
"$LINENO"; then :
10076 ac_cv_lib_X11_XkbQueryExtension
=yes
10078 ac_cv_lib_X11_XkbQueryExtension
=no
10080 rm -f core conftest.err conftest.
$ac_objext \
10081 conftest
$ac_exeext conftest.
$ac_ext
10082 LIBS
=$ac_check_lib_save_LIBS
10084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
10085 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
10086 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes
; then :
10088 $as_echo "#define HAVE_XKB 1" >>confdefs.h
10094 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
10096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
10097 $as_echo_n "checking for -lXcursor... " >&6; }
10098 if ${ac_cv_lib_soname_Xcursor+:} false
; then :
10099 $as_echo_n "(cached) " >&6
10101 ac_check_soname_save_LIBS
=$LIBS
10102 LIBS
="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
10103 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10104 /* end confdefs.h. */
10106 /* Override any GCC internal prototype to avoid an error.
10107 Use char because int might match the return type of a GCC
10108 builtin and then its argument prototype would still apply. */
10112 char XcursorImageLoadCursor ();
10116 return XcursorImageLoadCursor ();
10121 if ac_fn_c_try_link
"$LINENO"; then :
10123 dll
) ac_cv_lib_soname_Xcursor
=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10124 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'` ;;
10125 *) ac_cv_lib_soname_Xcursor
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10126 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
10127 ac_cv_lib_soname_Xcursor
=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10131 rm -f core conftest.err conftest.
$ac_objext \
10132 conftest
$ac_exeext conftest.
$ac_ext
10133 LIBS
=$ac_check_soname_save_LIBS
10135 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
10136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10137 $as_echo "not found" >&6; }
10140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
10141 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
10143 cat >>confdefs.h
<<_ACEOF
10144 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
10150 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
10151 case "x$with_xcursor" in
10152 x
) as_fn_append wine_notices
"|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
10154 *) as_fn_error $?
"libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
10155 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
10160 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
10162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
10163 $as_echo_n "checking for -lXi... " >&6; }
10164 if ${ac_cv_lib_soname_Xi+:} false
; then :
10165 $as_echo_n "(cached) " >&6
10167 ac_check_soname_save_LIBS
=$LIBS
10168 LIBS
="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
10169 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10170 /* end confdefs.h. */
10172 /* Override any GCC internal prototype to avoid an error.
10173 Use char because int might match the return type of a GCC
10174 builtin and then its argument prototype would still apply. */
10178 char XOpenDevice ();
10182 return XOpenDevice ();
10187 if ac_fn_c_try_link
"$LINENO"; then :
10189 dll
) ac_cv_lib_soname_Xi
=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10190 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'` ;;
10191 *) ac_cv_lib_soname_Xi
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10192 if ${ac_cv_lib_soname_Xi:+false} :; then :
10193 ac_cv_lib_soname_Xi
=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10197 rm -f core conftest.err conftest.
$ac_objext \
10198 conftest
$ac_exeext conftest.
$ac_ext
10199 LIBS
=$ac_check_soname_save_LIBS
10201 if ${ac_cv_lib_soname_Xi:+false} :; then :
10202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10203 $as_echo "not found" >&6; }
10206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
10207 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
10209 cat >>confdefs.h
<<_ACEOF
10210 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
10216 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
10217 case "x$with_xinput" in
10218 x
) as_fn_append wine_notices
"|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
10220 *) as_fn_error $?
"libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
10221 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
10226 if test "x$ac_cv_lib_soname_Xi" != x
10228 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
10229 case "x$with_xinput2" in
10230 x
) as_fn_append wine_notices
"|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
10232 *) as_fn_error $?
"XInput2 headers not found, the XInput 2 extension won't be supported.
10233 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
10239 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
10241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
10242 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
10243 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false
; then :
10244 $as_echo_n "(cached) " >&6
10246 ac_check_lib_save_LIBS
=$LIBS
10247 LIBS
="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
10248 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10249 /* end confdefs.h. */
10251 /* Override any GCC internal prototype to avoid an error.
10252 Use char because int might match the return type of a GCC
10253 builtin and then its argument prototype would still apply. */
10257 char XShmQueryExtension ();
10261 return XShmQueryExtension ();
10266 if ac_fn_c_try_link
"$LINENO"; then :
10267 ac_cv_lib_Xext_XShmQueryExtension
=yes
10269 ac_cv_lib_Xext_XShmQueryExtension
=no
10271 rm -f core conftest.err conftest.
$ac_objext \
10272 conftest
$ac_exeext conftest.
$ac_ext
10273 LIBS
=$ac_check_lib_save_LIBS
10275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
10276 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
10277 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes
; then :
10279 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
10284 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
10285 case "x$with_xshm" in
10286 x
) as_fn_append wine_notices
"|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
10288 *) as_fn_error $?
"XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
10289 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
10294 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
10296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
10297 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
10298 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false
; then :
10299 $as_echo_n "(cached) " >&6
10301 ac_check_lib_save_LIBS
=$LIBS
10302 LIBS
="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
10303 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10304 /* end confdefs.h. */
10306 /* Override any GCC internal prototype to avoid an error.
10307 Use char because int might match the return type of a GCC
10308 builtin and then its argument prototype would still apply. */
10312 char XShapeQueryExtension ();
10316 return XShapeQueryExtension ();
10321 if ac_fn_c_try_link
"$LINENO"; then :
10322 ac_cv_lib_Xext_XShapeQueryExtension
=yes
10324 ac_cv_lib_Xext_XShapeQueryExtension
=no
10326 rm -f core conftest.err conftest.
$ac_objext \
10327 conftest
$ac_exeext conftest.
$ac_ext
10328 LIBS
=$ac_check_lib_save_LIBS
10330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
10331 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
10332 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes
; then :
10334 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
10339 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
10340 case "x$with_xshape" in
10341 x
) as_fn_append wine_notices
"|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
10343 *) as_fn_error $?
"XShape ${notice_platform}development files not found, XShape won't be supported.
10344 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
10349 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
10351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
10352 $as_echo_n "checking for -lXxf86vm... " >&6; }
10353 if ${ac_cv_lib_soname_Xxf86vm+:} false
; then :
10354 $as_echo_n "(cached) " >&6
10356 ac_check_soname_save_LIBS
=$LIBS
10357 LIBS
="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
10358 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10359 /* end confdefs.h. */
10361 /* Override any GCC internal prototype to avoid an error.
10362 Use char because int might match the return type of a GCC
10363 builtin and then its argument prototype would still apply. */
10367 char XF86VidModeQueryExtension ();
10371 return XF86VidModeQueryExtension ();
10376 if ac_fn_c_try_link
"$LINENO"; then :
10378 dll
) ac_cv_lib_soname_Xxf86vm
=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10379 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'` ;;
10380 *) ac_cv_lib_soname_Xxf86vm
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10381 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10382 ac_cv_lib_soname_Xxf86vm
=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10386 rm -f core conftest.err conftest.
$ac_objext \
10387 conftest
$ac_exeext conftest.
$ac_ext
10388 LIBS
=$ac_check_soname_save_LIBS
10390 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10392 $as_echo "not found" >&6; }
10395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
10396 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
10398 cat >>confdefs.h
<<_ACEOF
10399 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
10405 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
10406 case "x$with_xxf86vm" in
10407 x
) as_fn_append wine_notices
"|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
10409 *) as_fn_error $?
"libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
10410 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
10415 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
10417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
10418 $as_echo_n "checking for -lXrender... " >&6; }
10419 if ${ac_cv_lib_soname_Xrender+:} false
; then :
10420 $as_echo_n "(cached) " >&6
10422 ac_check_soname_save_LIBS
=$LIBS
10423 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10424 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10425 /* end confdefs.h. */
10427 /* Override any GCC internal prototype to avoid an error.
10428 Use char because int might match the return type of a GCC
10429 builtin and then its argument prototype would still apply. */
10433 char XRenderQueryExtension ();
10437 return XRenderQueryExtension ();
10442 if ac_fn_c_try_link
"$LINENO"; then :
10444 dll
) ac_cv_lib_soname_Xrender
=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10445 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'` ;;
10446 *) ac_cv_lib_soname_Xrender
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10447 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10448 ac_cv_lib_soname_Xrender
=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10452 rm -f core conftest.err conftest.
$ac_objext \
10453 conftest
$ac_exeext conftest.
$ac_ext
10454 LIBS
=$ac_check_soname_save_LIBS
10456 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10458 $as_echo "not found" >&6; }
10461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
10462 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
10464 cat >>confdefs.h
<<_ACEOF
10465 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
10468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
10469 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
10470 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false
; then :
10471 $as_echo_n "(cached) " >&6
10473 ac_check_lib_save_LIBS
=$LIBS
10474 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10475 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10476 /* end confdefs.h. */
10478 /* Override any GCC internal prototype to avoid an error.
10479 Use char because int might match the return type of a GCC
10480 builtin and then its argument prototype would still apply. */
10484 char XRenderSetPictureTransform ();
10488 return XRenderSetPictureTransform ();
10493 if ac_fn_c_try_link
"$LINENO"; then :
10494 ac_cv_lib_Xrender_XRenderSetPictureTransform
=yes
10496 ac_cv_lib_Xrender_XRenderSetPictureTransform
=no
10498 rm -f core conftest.err conftest.
$ac_objext \
10499 conftest
$ac_exeext conftest.
$ac_ext
10500 LIBS
=$ac_check_lib_save_LIBS
10502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
10503 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
10504 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes
; then :
10506 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
10510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
10511 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
10512 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false
; then :
10513 $as_echo_n "(cached) " >&6
10515 ac_check_lib_save_LIBS
=$LIBS
10516 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10517 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10518 /* end confdefs.h. */
10520 /* Override any GCC internal prototype to avoid an error.
10521 Use char because int might match the return type of a GCC
10522 builtin and then its argument prototype would still apply. */
10526 char XRenderCreateLinearGradient ();
10530 return XRenderCreateLinearGradient ();
10535 if ac_fn_c_try_link
"$LINENO"; then :
10536 ac_cv_lib_Xrender_XRenderCreateLinearGradient
=yes
10538 ac_cv_lib_Xrender_XRenderCreateLinearGradient
=no
10540 rm -f core conftest.err conftest.
$ac_objext \
10541 conftest
$ac_exeext conftest.
$ac_ext
10542 LIBS
=$ac_check_lib_save_LIBS
10544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
10545 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
10546 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes
; then :
10548 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
10555 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
10556 case "x$with_xrender" in
10557 x
) as_fn_append wine_warnings
"|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
10559 *) as_fn_error $?
"libxrender ${notice_platform}development files not found, XRender won't be supported.
10560 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
10565 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
10567 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10568 /* end confdefs.h. */
10569 #include <X11/Xlib.h>
10570 #include <X11/extensions/Xrandr.h>
10574 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
10579 if ac_fn_c_try_compile
"$LINENO"; then :
10580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
10581 $as_echo_n "checking for -lXrandr... " >&6; }
10582 if ${ac_cv_lib_soname_Xrandr+:} false
; then :
10583 $as_echo_n "(cached) " >&6
10585 ac_check_soname_save_LIBS
=$LIBS
10586 LIBS
="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
10587 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10588 /* end confdefs.h. */
10590 /* Override any GCC internal prototype to avoid an error.
10591 Use char because int might match the return type of a GCC
10592 builtin and then its argument prototype would still apply. */
10596 char XRRQueryExtension ();
10600 return XRRQueryExtension ();
10605 if ac_fn_c_try_link
"$LINENO"; then :
10607 dll
) ac_cv_lib_soname_Xrandr
=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10608 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'` ;;
10609 *) ac_cv_lib_soname_Xrandr
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10610 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10611 ac_cv_lib_soname_Xrandr
=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10615 rm -f core conftest.err conftest.
$ac_objext \
10616 conftest
$ac_exeext conftest.
$ac_ext
10617 LIBS
=$ac_check_soname_save_LIBS
10619 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10621 $as_echo "not found" >&6; }
10624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
10625 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
10627 cat >>confdefs.h
<<_ACEOF
10628 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10631 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10632 /* end confdefs.h. */
10633 #include <X11/Xlib.h>
10634 #include <X11/extensions/Xrandr.h>
10638 static typeof(XRRGetScreenResources) *f; if (f) return 0;
10643 if ac_fn_c_try_compile
"$LINENO"; then :
10645 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
10648 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10651 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10653 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
10654 case "x$with_xrandr" in
10655 x
) as_fn_append wine_notices
"|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
10657 *) as_fn_error $?
"libxrandr ${notice_platform}development files not found, XRandr won't be supported.
10658 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
10663 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
10665 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10666 /* end confdefs.h. */
10667 #include <X11/Xlib.h>
10668 #include <X11/extensions/Xfixes.h>
10672 static typeof(XFixesQueryVersion) * func; if (func) return 0;
10677 if ac_fn_c_try_compile
"$LINENO"; then :
10678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
10679 $as_echo_n "checking for -lXfixes... " >&6; }
10680 if ${ac_cv_lib_soname_Xfixes+:} false
; then :
10681 $as_echo_n "(cached) " >&6
10683 ac_check_soname_save_LIBS
=$LIBS
10684 LIBS
="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
10685 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10686 /* end confdefs.h. */
10688 /* Override any GCC internal prototype to avoid an error.
10689 Use char because int might match the return type of a GCC
10690 builtin and then its argument prototype would still apply. */
10694 char XFixesQueryVersion ();
10698 return XFixesQueryVersion ();
10703 if ac_fn_c_try_link
"$LINENO"; then :
10705 dll
) ac_cv_lib_soname_Xfixes
=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10706 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'` ;;
10707 *) ac_cv_lib_soname_Xfixes
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10708 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
10709 ac_cv_lib_soname_Xfixes
=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10713 rm -f core conftest.err conftest.
$ac_objext \
10714 conftest
$ac_exeext conftest.
$ac_ext
10715 LIBS
=$ac_check_soname_save_LIBS
10717 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
10718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10719 $as_echo "not found" >&6; }
10722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
10723 $as_echo "$ac_cv_lib_soname_Xfixes" >&6; }
10725 cat >>confdefs.h
<<_ACEOF
10726 #define SONAME_LIBXFIXES "$ac_cv_lib_soname_Xfixes"
10732 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10734 if test "x$ac_cv_lib_soname_Xfixes" = "x"; then :
10735 case "x$with_xfixes" in
10736 x
) as_fn_append wine_notices
"|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
10738 *) as_fn_error $?
"libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
10739 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
10744 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10746 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10747 /* end confdefs.h. */
10748 #include <X11/Xlib.h>
10749 #include <X11/extensions/Xinerama.h>
10753 static typeof(XineramaQueryScreens) * func; if (func) return 0;
10758 if ac_fn_c_try_compile
"$LINENO"; then :
10759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
10760 $as_echo_n "checking for -lXinerama... " >&6; }
10761 if ${ac_cv_lib_soname_Xinerama+:} false
; then :
10762 $as_echo_n "(cached) " >&6
10764 ac_check_soname_save_LIBS
=$LIBS
10765 LIBS
="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
10766 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10767 /* end confdefs.h. */
10769 /* Override any GCC internal prototype to avoid an error.
10770 Use char because int might match the return type of a GCC
10771 builtin and then its argument prototype would still apply. */
10775 char XineramaQueryScreens ();
10779 return XineramaQueryScreens ();
10784 if ac_fn_c_try_link
"$LINENO"; then :
10786 dll
) ac_cv_lib_soname_Xinerama
=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10787 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'` ;;
10788 *) ac_cv_lib_soname_Xinerama
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10789 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10790 ac_cv_lib_soname_Xinerama
=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10794 rm -f core conftest.err conftest.
$ac_objext \
10795 conftest
$ac_exeext conftest.
$ac_ext
10796 LIBS
=$ac_check_soname_save_LIBS
10798 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10800 $as_echo "not found" >&6; }
10803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
10804 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
10806 cat >>confdefs.h
<<_ACEOF
10807 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10813 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10815 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
10816 case "x$with_xinerama" in
10817 x
) as_fn_append wine_notices
"|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
10819 *) as_fn_error $?
"libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
10820 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
10825 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
10828 $as_echo_n "checking for -lXcomposite... " >&6; }
10829 if ${ac_cv_lib_soname_Xcomposite+:} false
; then :
10830 $as_echo_n "(cached) " >&6
10832 ac_check_soname_save_LIBS
=$LIBS
10833 LIBS
="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
10834 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10835 /* end confdefs.h. */
10837 /* Override any GCC internal prototype to avoid an error.
10838 Use char because int might match the return type of a GCC
10839 builtin and then its argument prototype would still apply. */
10843 char XCompositeRedirectWindow ();
10847 return XCompositeRedirectWindow ();
10852 if ac_fn_c_try_link
"$LINENO"; then :
10854 dll
) ac_cv_lib_soname_Xcomposite
=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10855 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'` ;;
10856 *) ac_cv_lib_soname_Xcomposite
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10857 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10858 ac_cv_lib_soname_Xcomposite
=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10862 rm -f core conftest.err conftest.
$ac_objext \
10863 conftest
$ac_exeext conftest.
$ac_ext
10864 LIBS
=$ac_check_soname_save_LIBS
10866 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10868 $as_echo "not found" >&6; }
10871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
10872 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
10874 cat >>confdefs.h
<<_ACEOF
10875 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10881 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
10882 case "x$with_xcomposite" in
10883 x
) as_fn_append wine_notices
"|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
10885 *) as_fn_error $?
"libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
10886 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
10891 ac_fn_c_check_member
"$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
10892 #include <X11/Xlib.h>
10895 if test "x$ac_cv_member_XICCallback_callback" = xyes
; then :
10897 cat >>confdefs.h
<<_ACEOF
10898 #define HAVE_XICCALLBACK_CALLBACK 1
10903 ac_fn_c_check_member
"$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
10904 #include <X11/Xlib.h>
10907 if test "x$ac_cv_member_XEvent_xcookie" = xyes
; then :
10909 cat >>confdefs.h
<<_ACEOF
10910 #define HAVE_XEVENT_XCOOKIE 1
10919 if test "x$with_opengl" != "xno"
10921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10922 $as_echo_n "checking for -lGL... " >&6; }
10923 if ${ac_cv_lib_soname_GL+:} false
; then :
10924 $as_echo_n "(cached) " >&6
10926 ac_check_soname_save_LIBS
=$LIBS
10927 LIBS
="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10928 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10929 /* end confdefs.h. */
10931 /* Override any GCC internal prototype to avoid an error.
10932 Use char because int might match the return type of a GCC
10933 builtin and then its argument prototype would still apply. */
10937 char glXCreateContext ();
10941 return glXCreateContext ();
10946 if ac_fn_c_try_link
"$LINENO"; then :
10948 dll
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10949 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'` ;;
10950 *) ac_cv_lib_soname_GL
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10951 if ${ac_cv_lib_soname_GL:+false} :; then :
10952 ac_cv_lib_soname_GL
=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10956 rm -f core conftest.err conftest.
$ac_objext \
10957 conftest
$ac_exeext conftest.
$ac_ext
10958 LIBS
=$ac_check_soname_save_LIBS
10960 if ${ac_cv_lib_soname_GL:+false} :; then :
10961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10962 $as_echo "not found" >&6; }
10963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10964 $as_echo_n "checking for -lGL... " >&6; }
10965 if ${ac_cv_lib_soname_GL+:} false
; then :
10966 $as_echo_n "(cached) " >&6
10968 ac_check_soname_save_LIBS
=$LIBS
10969 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"
10970 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10971 /* end confdefs.h. */
10973 /* Override any GCC internal prototype to avoid an error.
10974 Use char because int might match the return type of a GCC
10975 builtin and then its argument prototype would still apply. */
10979 char glXCreateContext ();
10983 return glXCreateContext ();
10988 if ac_fn_c_try_link
"$LINENO"; then :
10990 dll
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10991 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'` ;;
10992 *) ac_cv_lib_soname_GL
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10993 if ${ac_cv_lib_soname_GL:+false} :; then :
10994 ac_cv_lib_soname_GL
=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10998 rm -f core conftest.err conftest.
$ac_objext \
10999 conftest
$ac_exeext conftest.
$ac_ext
11000 LIBS
=$ac_check_soname_save_LIBS
11002 if ${ac_cv_lib_soname_GL:+false} :; then :
11003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11004 $as_echo "not found" >&6; }
11005 if test -f /usr
/X11R
6/lib
/libGL.a
11007 opengl_msg
="/usr/X11R6/lib/libGL.a is present on your system.
11008 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
11010 opengl_msg
="No OpenGL library found on this system."
11013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
11014 $as_echo "$ac_cv_lib_soname_GL" >&6; }
11016 cat >>confdefs.h
<<_ACEOF
11017 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
11020 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"
11023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
11024 $as_echo "$ac_cv_lib_soname_GL" >&6; }
11026 cat >>confdefs.h
<<_ACEOF
11027 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
11032 if test "x$with_glu" != "xno"
11034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLU" >&5
11035 $as_echo_n "checking for -lGLU... " >&6; }
11036 if ${ac_cv_lib_soname_GLU+:} false
; then :
11037 $as_echo_n "(cached) " >&6
11039 ac_check_soname_save_LIBS
=$LIBS
11040 LIBS
="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
11041 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11042 /* end confdefs.h. */
11044 /* Override any GCC internal prototype to avoid an error.
11045 Use char because int might match the return type of a GCC
11046 builtin and then its argument prototype would still apply. */
11054 return gluLookAt ();
11059 if ac_fn_c_try_link
"$LINENO"; then :
11061 dll
) ac_cv_lib_soname_GLU
=`$ac_cv_path_LDD conftest.exe | grep "GLU" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11062 dylib
) ac_cv_lib_soname_GLU
=`$OTOOL -L conftest$ac_exeext | grep "libGLU\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libGLU\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
11063 *) ac_cv_lib_soname_GLU
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLU\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLU\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11064 if ${ac_cv_lib_soname_GLU:+false} :; then :
11065 ac_cv_lib_soname_GLU
=`$LDD conftest$ac_exeext | grep "libGLU\\.$LIBEXT" | sed -e "s/^.*\(libGLU\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11069 rm -f core conftest.err conftest.
$ac_objext \
11070 conftest
$ac_exeext conftest.
$ac_ext
11071 LIBS
=$ac_check_soname_save_LIBS
11073 if ${ac_cv_lib_soname_GLU:+false} :; then :
11074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11075 $as_echo "not found" >&6; }
11078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLU" >&5
11079 $as_echo "$ac_cv_lib_soname_GLU" >&6; }
11081 cat >>confdefs.h
<<_ACEOF
11082 #define SONAME_LIBGLU "$ac_cv_lib_soname_GLU"
11087 if test "x$ac_cv_lib_soname_GLU" = "x"; then :
11088 case "x$with_glu" in
11089 x
) as_fn_append wine_notices
"|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
11091 *) as_fn_error $?
"libGLU ${notice_platform}development files not found, GLU won't be supported.
11092 This is an error since --with-glu was requested." "$LINENO" 5 ;;
11098 if test "x$with_osmesa" != "xno"
11100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
11101 $as_echo_n "checking for -lOSMesa... " >&6; }
11102 if ${ac_cv_lib_soname_OSMesa+:} false
; then :
11103 $as_echo_n "(cached) " >&6
11105 ac_check_soname_save_LIBS
=$LIBS
11106 LIBS
="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
11107 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11108 /* end confdefs.h. */
11110 /* Override any GCC internal prototype to avoid an error.
11111 Use char because int might match the return type of a GCC
11112 builtin and then its argument prototype would still apply. */
11116 char OSMesaGetProcAddress ();
11120 return OSMesaGetProcAddress ();
11125 if ac_fn_c_try_link
"$LINENO"; then :
11127 dll
) ac_cv_lib_soname_OSMesa
=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11128 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'` ;;
11129 *) ac_cv_lib_soname_OSMesa
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11130 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
11131 ac_cv_lib_soname_OSMesa
=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11135 rm -f core conftest.err conftest.
$ac_objext \
11136 conftest
$ac_exeext conftest.
$ac_ext
11137 LIBS
=$ac_check_soname_save_LIBS
11139 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
11140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11141 $as_echo "not found" >&6; }
11144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
11145 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
11147 cat >>confdefs.h
<<_ACEOF
11148 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
11153 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
11154 case "x$with_osmesa" in
11155 x
) as_fn_append wine_notices
"|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
11157 *) as_fn_error $?
"libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
11158 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
11164 if test -n "$opengl_msg"; then :
11165 case "x$with_opengl" in
11166 x
) as_fn_append wine_warnings
"|$opengl_msg
11167 OpenGL and Direct3D won't be supported." ;;
11169 *) as_fn_error $?
"$opengl_msg
11170 OpenGL and Direct3D won't be supported.
11171 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
11176 CPPFLAGS
="$ac_save_CPPFLAGS"
11182 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
11184 if test "x$X_LIBS" = "x"; then :
11187 *) as_fn_error $?
"X ${notice_platform}development files not found. Wine will be built
11188 without X support, which probably isn't what you want. You will need
11189 to install ${notice_platform}development packages of Xlib at the very least.
11190 Use the --without-x option if you really want this." "$LINENO" 5 ;;
11192 enable_winex11_drv
=${enable_winex11_drv:-no}
11195 if test "x$X_LIBS" = "x"; then :
11197 x
) as_fn_append wine_notices
"|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
11199 *) as_fn_error $?
"X ${notice_platform}development files not found, the X11 driver won't be supported.
11200 This is an error since --with-x was requested." "$LINENO" 5 ;;
11202 enable_winex11_drv
=${enable_winex11_drv:-no}
11206 if test "$ac_cv_header_CL_cl_h" = "yes"
11208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
11209 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
11210 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false
; then :
11211 $as_echo_n "(cached) " >&6
11213 ac_check_lib_save_LIBS
=$LIBS
11214 LIBS
="-lOpenCL $LIBS"
11215 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11216 /* end confdefs.h. */
11218 /* Override any GCC internal prototype to avoid an error.
11219 Use char because int might match the return type of a GCC
11220 builtin and then its argument prototype would still apply. */
11224 char clGetPlatformInfo ();
11228 return clGetPlatformInfo ();
11233 if ac_fn_c_try_link
"$LINENO"; then :
11234 ac_cv_lib_OpenCL_clGetPlatformInfo
=yes
11236 ac_cv_lib_OpenCL_clGetPlatformInfo
=no
11238 rm -f core conftest.err conftest.
$ac_objext \
11239 conftest
$ac_exeext conftest.
$ac_ext
11240 LIBS
=$ac_check_lib_save_LIBS
11242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
11243 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
11244 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes
; then :
11245 OPENCL_LIBS
="-lOpenCL"
11250 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
; then :
11251 case "x$with_opencl" in
11252 x
) as_fn_append wine_notices
"|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
11254 *) as_fn_error $?
"OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
11255 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
11257 enable_opencl
=${enable_opencl:-no}
11260 if test "$ac_cv_header_pcap_pcap_h" = "yes"
11262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
11263 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
11264 if ${ac_cv_lib_pcap_pcap_create+:} false
; then :
11265 $as_echo_n "(cached) " >&6
11267 ac_check_lib_save_LIBS
=$LIBS
11268 LIBS
="-lpcap $LIBS"
11269 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11270 /* end confdefs.h. */
11272 /* Override any GCC internal prototype to avoid an error.
11273 Use char because int might match the return type of a GCC
11274 builtin and then its argument prototype would still apply. */
11278 char pcap_create ();
11282 return pcap_create ();
11287 if ac_fn_c_try_link
"$LINENO"; then :
11288 ac_cv_lib_pcap_pcap_create
=yes
11290 ac_cv_lib_pcap_pcap_create
=no
11292 rm -f core conftest.err conftest.
$ac_objext \
11293 conftest
$ac_exeext conftest.
$ac_ext
11294 LIBS
=$ac_check_lib_save_LIBS
11296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
11297 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
11298 if test "x$ac_cv_lib_pcap_pcap_create" = xyes
; then :
11304 if test "x$ac_cv_lib_pcap_pcap_create" != xyes
; then :
11305 case "x$with_pcap" in
11306 x
) as_fn_append wine_notices
"|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
11308 *) as_fn_error $?
"pcap ${notice_platform}development files not found, wpcap won't be supported.
11309 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
11311 enable_wpcap
=${enable_wpcap:-no}
11315 if test "x$with_xml" != "xno"
11317 if ${XML2_CFLAGS:+false} :; then :
11318 if ${PKG_CONFIG+:} false
; then :
11319 XML2_CFLAGS
=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
11322 test "$cross_compiling" = yes || XML2_CFLAGS
=${XML2_CFLAGS:-`${XML2_CONFIG:-xml2-config} --cflags 2>/dev/null`}
11323 if ${XML2_LIBS:+false} :; then :
11324 if ${PKG_CONFIG+:} false
; then :
11325 XML2_LIBS
=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
11328 test "$cross_compiling" = yes || XML2_LIBS
=${XML2_LIBS:-`${XML2_CONFIG:-xml2-config} --libs 2>/dev/null`}
11329 XML2_LIBS
=${XML2_LIBS:-"-lxml2"}
11330 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
11331 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
11332 ac_save_CPPFLAGS
=$CPPFLAGS
11333 CPPFLAGS
="$CPPFLAGS $XML2_CFLAGS"
11334 for ac_header
in libxml
/parser.h libxml
/xmlsave.h libxml
/SAX2.h
11336 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11337 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
11338 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
11339 cat >>confdefs.h
<<_ACEOF
11340 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11347 if test "$ac_cv_header_libxml_parser_h" = "yes" -a "$ac_cv_header_libxml_xmlsave_h" = "yes" -a "$ac_cv_header_libxml_SAX2_h" = "yes"
11349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
11350 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
11351 if ${ac_cv_lib_xml2_xmlParseMemory+:} false
; then :
11352 $as_echo_n "(cached) " >&6
11354 ac_check_lib_save_LIBS
=$LIBS
11355 LIBS
="-lxml2 $XML2_LIBS $LIBS"
11356 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11357 /* end confdefs.h. */
11359 /* Override any GCC internal prototype to avoid an error.
11360 Use char because int might match the return type of a GCC
11361 builtin and then its argument prototype would still apply. */
11365 char xmlParseMemory ();
11369 return xmlParseMemory ();
11374 if ac_fn_c_try_link
"$LINENO"; then :
11375 ac_cv_lib_xml2_xmlParseMemory
=yes
11377 ac_cv_lib_xml2_xmlParseMemory
=no
11379 rm -f core conftest.err conftest.
$ac_objext \
11380 conftest
$ac_exeext conftest.
$ac_ext
11381 LIBS
=$ac_check_lib_save_LIBS
11383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
11384 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
11385 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes
; then :
11387 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
11393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
11394 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
11395 if ${ac_cv_lib_xml2_xmlReadMemory+:} false
; then :
11396 $as_echo_n "(cached) " >&6
11398 ac_check_lib_save_LIBS
=$LIBS
11399 LIBS
="-lxml2 $XML2_LIBS $LIBS"
11400 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11401 /* end confdefs.h. */
11403 /* Override any GCC internal prototype to avoid an error.
11404 Use char because int might match the return type of a GCC
11405 builtin and then its argument prototype would still apply. */
11409 char xmlReadMemory ();
11413 return xmlReadMemory ();
11418 if ac_fn_c_try_link
"$LINENO"; then :
11419 ac_cv_lib_xml2_xmlReadMemory
=yes
11421 ac_cv_lib_xml2_xmlReadMemory
=no
11423 rm -f core conftest.err conftest.
$ac_objext \
11424 conftest
$ac_exeext conftest.
$ac_ext
11425 LIBS
=$ac_check_lib_save_LIBS
11427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
11428 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
11429 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes
; then :
11431 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
11435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
11436 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
11437 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false
; then :
11438 $as_echo_n "(cached) " >&6
11440 ac_check_lib_save_LIBS
=$LIBS
11441 LIBS
="-lxml2 $XML2_LIBS $LIBS"
11442 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11443 /* end confdefs.h. */
11445 /* Override any GCC internal prototype to avoid an error.
11446 Use char because int might match the return type of a GCC
11447 builtin and then its argument prototype would still apply. */
11451 char xmlNewDocPI ();
11455 return xmlNewDocPI ();
11460 if ac_fn_c_try_link
"$LINENO"; then :
11461 ac_cv_lib_xml2_xmlNewDocPI
=yes
11463 ac_cv_lib_xml2_xmlNewDocPI
=no
11465 rm -f core conftest.err conftest.
$ac_objext \
11466 conftest
$ac_exeext conftest.
$ac_ext
11467 LIBS
=$ac_check_lib_save_LIBS
11469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
11470 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
11471 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes
; then :
11473 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
11477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
11478 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
11479 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false
; then :
11480 $as_echo_n "(cached) " >&6
11482 ac_check_lib_save_LIBS
=$LIBS
11483 LIBS
="-lxml2 $XML2_LIBS $LIBS"
11484 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11485 /* end confdefs.h. */
11487 /* Override any GCC internal prototype to avoid an error.
11488 Use char because int might match the return type of a GCC
11489 builtin and then its argument prototype would still apply. */
11493 char xmlSchemaSetParserStructuredErrors ();
11497 return xmlSchemaSetParserStructuredErrors ();
11502 if ac_fn_c_try_link
"$LINENO"; then :
11503 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors
=yes
11505 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors
=no
11507 rm -f core conftest.err conftest.
$ac_objext \
11508 conftest
$ac_exeext conftest.
$ac_ext
11509 LIBS
=$ac_check_lib_save_LIBS
11511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
11512 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
11513 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes
; then :
11515 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
11519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
11520 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
11521 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false
; then :
11522 $as_echo_n "(cached) " >&6
11524 ac_check_lib_save_LIBS
=$LIBS
11525 LIBS
="-lxml2 $XML2_LIBS $LIBS"
11526 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11527 /* end confdefs.h. */
11529 /* Override any GCC internal prototype to avoid an error.
11530 Use char because int might match the return type of a GCC
11531 builtin and then its argument prototype would still apply. */
11535 char xmlSchemaSetValidStructuredErrors ();
11539 return xmlSchemaSetValidStructuredErrors ();
11544 if ac_fn_c_try_link
"$LINENO"; then :
11545 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors
=yes
11547 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors
=no
11549 rm -f core conftest.err conftest.
$ac_objext \
11550 conftest
$ac_exeext conftest.
$ac_ext
11551 LIBS
=$ac_check_lib_save_LIBS
11553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
11554 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
11555 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes
; then :
11557 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
11561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
11562 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
11563 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false
; then :
11564 $as_echo_n "(cached) " >&6
11566 ac_check_lib_save_LIBS
=$LIBS
11567 LIBS
="-lxml2 $XML2_LIBS $LIBS"
11568 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11569 /* end confdefs.h. */
11571 /* Override any GCC internal prototype to avoid an error.
11572 Use char because int might match the return type of a GCC
11573 builtin and then its argument prototype would still apply. */
11577 char xmlFirstElementChild ();
11581 return xmlFirstElementChild ();
11586 if ac_fn_c_try_link
"$LINENO"; then :
11587 ac_cv_lib_xml2_xmlFirstElementChild
=yes
11589 ac_cv_lib_xml2_xmlFirstElementChild
=no
11591 rm -f core conftest.err conftest.
$ac_objext \
11592 conftest
$ac_exeext conftest.
$ac_ext
11593 LIBS
=$ac_check_lib_save_LIBS
11595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
11596 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
11597 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes
; then :
11599 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
11603 ac_fn_c_check_type
"$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
11605 if test "x$ac_cv_type_xmlDocProperties" = xyes
; then :
11607 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
11615 CPPFLAGS
=$ac_save_CPPFLAGS
11616 test -z "$XML2_CFLAGS" || XML2_CFLAGS
=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11617 test -z "$XML2_LIBS" || XML2_LIBS
=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11620 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
11621 case "x$with_xml" in
11622 x
) as_fn_append wine_warnings
"|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
11624 *) as_fn_error $?
"libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
11625 This is an error since --with-xml was requested." "$LINENO" 5 ;;
11630 if test "x$with_xslt" != "xno"
11632 if ${XSLT_CFLAGS:+false} :; then :
11633 if ${PKG_CONFIG+:} false
; then :
11634 XSLT_CFLAGS
=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
11637 test "$cross_compiling" = yes || XSLT_CFLAGS
=${XSLT_CFLAGS:-`${XSLT_CONFIG:-xslt-config} --cflags 2>/dev/null`}
11638 if ${XSLT_LIBS:+false} :; then :
11639 if ${PKG_CONFIG+:} false
; then :
11640 XSLT_LIBS
=`$PKG_CONFIG --libs libxslt 2>/dev/null`
11643 test "$cross_compiling" = yes || XSLT_LIBS
=${XSLT_LIBS:-`${XSLT_CONFIG:-xslt-config} --libs 2>/dev/null`}
11644 XSLT_LIBS
=${XSLT_LIBS:-"-lxml2"}
11645 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
11646 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
11647 ac_save_CPPFLAGS
=$CPPFLAGS
11648 CPPFLAGS
="$CPPFLAGS $XSLT_CFLAGS"
11649 for ac_header
in libxslt
/pattern.h libxslt
/transform.h
11651 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11652 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
11653 # include <libxslt/pattern.h>
11656 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
11657 cat >>confdefs.h
<<_ACEOF
11658 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11665 if test "$ac_cv_header_libxslt_transform_h" = "yes"
11667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
11668 $as_echo_n "checking for -lxslt... " >&6; }
11669 if ${ac_cv_lib_soname_xslt+:} false
; then :
11670 $as_echo_n "(cached) " >&6
11672 ac_check_soname_save_LIBS
=$LIBS
11673 LIBS
="-lxslt $XSLT_LIBS $LIBS"
11674 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11675 /* end confdefs.h. */
11677 /* Override any GCC internal prototype to avoid an error.
11678 Use char because int might match the return type of a GCC
11679 builtin and then its argument prototype would still apply. */
11683 char xsltCompilePattern ();
11687 return xsltCompilePattern ();
11692 if ac_fn_c_try_link
"$LINENO"; then :
11694 dll
) ac_cv_lib_soname_xslt
=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11695 dylib
) ac_cv_lib_soname_xslt
=`$OTOOL -L conftest$ac_exeext | grep "libxslt\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libxslt\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
11696 *) ac_cv_lib_soname_xslt
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11697 if ${ac_cv_lib_soname_xslt:+false} :; then :
11698 ac_cv_lib_soname_xslt
=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11702 rm -f core conftest.err conftest.
$ac_objext \
11703 conftest
$ac_exeext conftest.
$ac_ext
11704 LIBS
=$ac_check_soname_save_LIBS
11706 if ${ac_cv_lib_soname_xslt:+false} :; then :
11707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11708 $as_echo "not found" >&6; }
11711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
11712 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
11714 cat >>confdefs.h
<<_ACEOF
11715 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
11723 CPPFLAGS
=$ac_save_CPPFLAGS
11724 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS
=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11725 test -z "$XSLT_LIBS" || XSLT_LIBS
=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11728 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
11729 case "x$with_xslt" in
11730 x
) as_fn_append wine_warnings
"|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
11732 *) as_fn_error $?
"libxslt ${notice_platform}development files not found, xslt won't be supported.
11733 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
11738 if test "x$with_dbus" != "xno"
11740 if ${DBUS_CFLAGS:+false} :; then :
11741 if ${PKG_CONFIG+:} false
; then :
11742 DBUS_CFLAGS
=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
11746 if ${DBUS_LIBS:+false} :; then :
11747 if ${PKG_CONFIG+:} false
; then :
11748 DBUS_LIBS
=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
11753 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
11754 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
11755 ac_save_CPPFLAGS
=$CPPFLAGS
11756 CPPFLAGS
="$CPPFLAGS $DBUS_CFLAGS"
11757 ac_fn_c_check_header_mongrel
"$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
11758 if test "x$ac_cv_header_dbus_dbus_h" = xyes
; then :
11759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
11760 $as_echo_n "checking for -ldbus-1... " >&6; }
11761 if ${ac_cv_lib_soname_dbus_1+:} false
; then :
11762 $as_echo_n "(cached) " >&6
11764 ac_check_soname_save_LIBS
=$LIBS
11765 LIBS
="-ldbus-1 $DBUS_LIBS $LIBS"
11766 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11767 /* end confdefs.h. */
11769 /* Override any GCC internal prototype to avoid an error.
11770 Use char because int might match the return type of a GCC
11771 builtin and then its argument prototype would still apply. */
11775 char dbus_connection_close ();
11779 return dbus_connection_close ();
11784 if ac_fn_c_try_link
"$LINENO"; then :
11786 dll
) ac_cv_lib_soname_dbus_1
=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11787 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'` ;;
11788 *) 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'`
11789 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11790 ac_cv_lib_soname_dbus_1
=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11794 rm -f core conftest.err conftest.
$ac_objext \
11795 conftest
$ac_exeext conftest.
$ac_ext
11796 LIBS
=$ac_check_soname_save_LIBS
11798 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11800 $as_echo "not found" >&6; }
11803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
11804 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
11806 cat >>confdefs.h
<<_ACEOF
11807 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
11817 CPPFLAGS
=$ac_save_CPPFLAGS
11818 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS
=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11819 test -z "$DBUS_LIBS" || DBUS_LIBS
=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11822 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
11823 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11824 case "x$with_dbus" in
11825 x
) as_fn_append wine_notices
"|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
11827 *) as_fn_error $?
"libdbus ${notice_platform}development files not found, no dynamic device support.
11828 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
11833 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
11835 if ${HAL_CFLAGS:+false} :; then :
11836 if ${PKG_CONFIG+:} false
; then :
11837 HAL_CFLAGS
=`$PKG_CONFIG --cflags hal 2>/dev/null`
11841 if ${HAL_LIBS:+false} :; then :
11842 if ${PKG_CONFIG+:} false
; then :
11843 HAL_LIBS
=`$PKG_CONFIG --libs hal 2>/dev/null`
11847 HAL_LIBS
=${HAL_LIBS:-"-ldbus-1"}
11848 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
11849 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
11850 ac_save_CPPFLAGS
=$CPPFLAGS
11851 CPPFLAGS
="$CPPFLAGS $HAL_CFLAGS"
11852 ac_fn_c_check_header_mongrel
"$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
11853 if test "x$ac_cv_header_hal_libhal_h" = xyes
; then :
11854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
11855 $as_echo_n "checking for -lhal... " >&6; }
11856 if ${ac_cv_lib_soname_hal+:} false
; then :
11857 $as_echo_n "(cached) " >&6
11859 ac_check_soname_save_LIBS
=$LIBS
11860 LIBS
="-lhal $HAL_LIBS $LIBS"
11861 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11862 /* end confdefs.h. */
11864 /* Override any GCC internal prototype to avoid an error.
11865 Use char because int might match the return type of a GCC
11866 builtin and then its argument prototype would still apply. */
11870 char libhal_ctx_new ();
11874 return libhal_ctx_new ();
11879 if ac_fn_c_try_link
"$LINENO"; then :
11881 dll
) ac_cv_lib_soname_hal
=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11882 dylib
) ac_cv_lib_soname_hal
=`$OTOOL -L conftest$ac_exeext | grep "libhal\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libhal\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
11883 *) ac_cv_lib_soname_hal
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11884 if ${ac_cv_lib_soname_hal:+false} :; then :
11885 ac_cv_lib_soname_hal
=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11889 rm -f core conftest.err conftest.
$ac_objext \
11890 conftest
$ac_exeext conftest.
$ac_ext
11891 LIBS
=$ac_check_soname_save_LIBS
11893 if ${ac_cv_lib_soname_hal:+false} :; then :
11894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11895 $as_echo "not found" >&6; }
11898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
11899 $as_echo "$ac_cv_lib_soname_hal" >&6; }
11901 cat >>confdefs.h
<<_ACEOF
11902 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11912 CPPFLAGS
=$ac_save_CPPFLAGS
11913 test -z "$HAL_CFLAGS" || HAL_CFLAGS
=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11914 test -z "$HAL_LIBS" || HAL_LIBS
=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11916 if test "x$ac_cv_lib_soname_hal" = "x" -a \
11917 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11918 case "x$with_hal" in
11919 x
) as_fn_append wine_notices
"|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
11921 *) as_fn_error $?
"libhal ${notice_platform}development files not found, no legacy dynamic device support.
11922 This is an error since --with-hal was requested." "$LINENO" 5 ;;
11928 if test "x$with_gnutls" != "xno"
11930 if ${GNUTLS_CFLAGS:+false} :; then :
11931 if ${PKG_CONFIG+:} false
; then :
11932 GNUTLS_CFLAGS
=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
11936 if ${GNUTLS_LIBS:+false} :; then :
11937 if ${PKG_CONFIG+:} false
; then :
11938 GNUTLS_LIBS
=`$PKG_CONFIG --libs gnutls 2>/dev/null`
11943 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
11944 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
11945 ac_save_CPPFLAGS
=$CPPFLAGS
11946 CPPFLAGS
="$CPPFLAGS $GNUTLS_CFLAGS"
11947 ac_fn_c_check_header_mongrel
"$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
11948 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes
; then :
11949 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11950 /* end confdefs.h. */
11951 #include <gnutls/gnutls.h>
11952 #include <gnutls/crypto.h>
11956 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
11961 if ac_fn_c_try_compile
"$LINENO"; then :
11962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
11963 $as_echo_n "checking for -lgnutls... " >&6; }
11964 if ${ac_cv_lib_soname_gnutls+:} false
; then :
11965 $as_echo_n "(cached) " >&6
11967 ac_check_soname_save_LIBS
=$LIBS
11968 LIBS
="-lgnutls $GNUTLS_LIBS $LIBS"
11969 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11970 /* end confdefs.h. */
11972 /* Override any GCC internal prototype to avoid an error.
11973 Use char because int might match the return type of a GCC
11974 builtin and then its argument prototype would still apply. */
11978 char gnutls_global_init ();
11982 return gnutls_global_init ();
11987 if ac_fn_c_try_link
"$LINENO"; then :
11989 dll
) ac_cv_lib_soname_gnutls
=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11990 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'` ;;
11991 *) 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'`
11992 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11993 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'`
11997 rm -f core conftest.err conftest.
$ac_objext \
11998 conftest
$ac_exeext conftest.
$ac_ext
11999 LIBS
=$ac_check_soname_save_LIBS
12001 if ${ac_cv_lib_soname_gnutls:+false} :; then :
12002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12003 $as_echo "not found" >&6; }
12006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
12007 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
12009 cat >>confdefs.h
<<_ACEOF
12010 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
12015 ac_wine_check_funcs_save_LIBS
="$LIBS"
12016 LIBS
="$LIBS $GNUTLS_LIBS"
12017 for ac_func
in gnutls_cipher_init
12019 ac_fn_c_check_func
"$LINENO" "gnutls_cipher_init" "ac_cv_func_gnutls_cipher_init"
12020 if test "x$ac_cv_func_gnutls_cipher_init" = xyes
; then :
12021 cat >>confdefs.h
<<_ACEOF
12022 #define HAVE_GNUTLS_CIPHER_INIT 1
12026 as_fn_append wine_notices
"|libgnutls ${notice_platform}development files too old, bcrypt encryption won't be supported."
12030 LIBS
="$ac_wine_check_funcs_save_LIBS"
12032 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12038 CPPFLAGS
=$ac_save_CPPFLAGS
12039 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS
=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12040 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS
=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12043 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
12044 case "x$with_gnutls" in
12045 x
) as_fn_append wine_warnings
"|libgnutls ${notice_platform}development files not found, no schannel support." ;;
12047 *) as_fn_error $?
"libgnutls ${notice_platform}development files not found, no schannel support.
12048 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
12054 if test "$ac_cv_header_ncurses_h" = "yes"
12056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
12057 $as_echo_n "checking for -lncurses... " >&6; }
12058 if ${ac_cv_lib_soname_ncurses+:} false
; then :
12059 $as_echo_n "(cached) " >&6
12061 ac_check_soname_save_LIBS
=$LIBS
12062 LIBS
="-lncurses $LIBS"
12063 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12064 /* end confdefs.h. */
12066 /* Override any GCC internal prototype to avoid an error.
12067 Use char because int might match the return type of a GCC
12068 builtin and then its argument prototype would still apply. */
12081 if ac_fn_c_try_link
"$LINENO"; then :
12083 dll
) ac_cv_lib_soname_ncurses
=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12084 dylib
) ac_cv_lib_soname_ncurses
=`$OTOOL -L conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libncursesw\\{0,1\\}\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
12085 *) ac_cv_lib_soname_ncurses
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\\[\\(libncursesw\\{0,1\\}\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12086 if ${ac_cv_lib_soname_ncurses:+false} :; then :
12087 ac_cv_lib_soname_ncurses
=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12091 rm -f core conftest.err conftest.
$ac_objext \
12092 conftest
$ac_exeext conftest.
$ac_ext
12093 LIBS
=$ac_check_soname_save_LIBS
12095 if ${ac_cv_lib_soname_ncurses:+false} :; then :
12096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12097 $as_echo "not found" >&6; }
12100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
12101 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
12103 cat >>confdefs.h
<<_ACEOF
12104 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
12107 CURSES_LIBS
="-lncurses"
12109 elif test "$ac_cv_header_curses_h" = "yes"
12111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
12112 $as_echo_n "checking for -lcurses... " >&6; }
12113 if ${ac_cv_lib_soname_curses+:} false
; then :
12114 $as_echo_n "(cached) " >&6
12116 ac_check_soname_save_LIBS
=$LIBS
12117 LIBS
="-lcurses $LIBS"
12118 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12119 /* end confdefs.h. */
12121 /* Override any GCC internal prototype to avoid an error.
12122 Use char because int might match the return type of a GCC
12123 builtin and then its argument prototype would still apply. */
12136 if ac_fn_c_try_link
"$LINENO"; then :
12138 dll
) ac_cv_lib_soname_curses
=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12139 dylib
) ac_cv_lib_soname_curses
=`$OTOOL -L conftest$ac_exeext | grep "libcurses\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libcurses\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
12140 *) ac_cv_lib_soname_curses
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12141 if ${ac_cv_lib_soname_curses:+false} :; then :
12142 ac_cv_lib_soname_curses
=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12146 rm -f core conftest.err conftest.
$ac_objext \
12147 conftest
$ac_exeext conftest.
$ac_ext
12148 LIBS
=$ac_check_soname_save_LIBS
12150 if ${ac_cv_lib_soname_curses:+false} :; then :
12151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12152 $as_echo "not found" >&6; }
12155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
12156 $as_echo "$ac_cv_lib_soname_curses" >&6; }
12158 cat >>confdefs.h
<<_ACEOF
12159 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
12162 CURSES_LIBS
="-lcurses"
12165 ac_save_LIBS
="$LIBS"
12166 LIBS
="$LIBS $CURSES_LIBS"
12167 for ac_func
in mousemask
12169 ac_fn_c_check_func
"$LINENO" "mousemask" "ac_cv_func_mousemask"
12170 if test "x$ac_cv_func_mousemask" = xyes
; then :
12171 cat >>confdefs.h
<<_ACEOF
12172 #define HAVE_MOUSEMASK 1
12178 LIBS
="$ac_save_LIBS"
12179 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
12180 case "x$with_curses" in
12181 x
) as_fn_append wine_notices
"|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
12183 *) as_fn_error $?
"lib(n)curses ${notice_platform}development files not found, curses won't be supported.
12184 This is an error since --with-curses was requested." "$LINENO" 5 ;;
12189 if test "x$with_sane" != "xno"
12191 if ${SANE_CFLAGS:+false} :; then :
12192 if ${PKG_CONFIG+:} false
; then :
12193 SANE_CFLAGS
=`$PKG_CONFIG --cflags libsane 2>/dev/null`
12196 test "$cross_compiling" = yes || SANE_CFLAGS
=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
12197 if ${SANE_LIBS:+false} :; then :
12198 if ${PKG_CONFIG+:} false
; then :
12199 SANE_LIBS
=`$PKG_CONFIG --libs libsane 2>/dev/null`
12202 test "$cross_compiling" = yes || SANE_LIBS
=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
12204 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
12205 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
12206 ac_save_CPPFLAGS
=$CPPFLAGS
12207 CPPFLAGS
="$CPPFLAGS $SANE_CFLAGS"
12208 ac_fn_c_check_header_mongrel
"$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
12209 if test "x$ac_cv_header_sane_sane_h" = xyes
; then :
12210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
12211 $as_echo_n "checking for -lsane... " >&6; }
12212 if ${ac_cv_lib_soname_sane+:} false
; then :
12213 $as_echo_n "(cached) " >&6
12215 ac_check_soname_save_LIBS
=$LIBS
12216 LIBS
="-lsane $SANE_LIBS $LIBS"
12217 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12218 /* end confdefs.h. */
12220 /* Override any GCC internal prototype to avoid an error.
12221 Use char because int might match the return type of a GCC
12222 builtin and then its argument prototype would still apply. */
12230 return sane_init ();
12235 if ac_fn_c_try_link
"$LINENO"; then :
12237 dll
) ac_cv_lib_soname_sane
=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12238 dylib
) ac_cv_lib_soname_sane
=`$OTOOL -L conftest$ac_exeext | grep "libsane\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libsane\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
12239 *) ac_cv_lib_soname_sane
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12240 if ${ac_cv_lib_soname_sane:+false} :; then :
12241 ac_cv_lib_soname_sane
=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12245 rm -f core conftest.err conftest.
$ac_objext \
12246 conftest
$ac_exeext conftest.
$ac_ext
12247 LIBS
=$ac_check_soname_save_LIBS
12249 if ${ac_cv_lib_soname_sane:+false} :; then :
12250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12251 $as_echo "not found" >&6; }
12254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
12255 $as_echo "$ac_cv_lib_soname_sane" >&6; }
12257 cat >>confdefs.h
<<_ACEOF
12258 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
12268 CPPFLAGS
=$ac_save_CPPFLAGS
12269 test -z "$SANE_CFLAGS" || SANE_CFLAGS
=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12270 test -z "$SANE_LIBS" || SANE_LIBS
=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12273 if test "x$ac_cv_lib_soname_sane" = "x"; then :
12274 case "x$with_sane" in
12275 x
) as_fn_append wine_notices
"|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
12277 *) as_fn_error $?
"libsane ${notice_platform}development files not found, scanners won't be supported.
12278 This is an error since --with-sane was requested." "$LINENO" 5 ;;
12283 if test "x$with_v4l" != "xno"
12285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
12286 $as_echo_n "checking for -lv4l1... " >&6; }
12287 if ${ac_cv_lib_soname_v4l1+:} false
; then :
12288 $as_echo_n "(cached) " >&6
12290 ac_check_soname_save_LIBS
=$LIBS
12291 LIBS
="-lv4l1 $LIBS"
12292 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12293 /* end confdefs.h. */
12295 /* Override any GCC internal prototype to avoid an error.
12296 Use char because int might match the return type of a GCC
12297 builtin and then its argument prototype would still apply. */
12305 return v4l1_open ();
12310 if ac_fn_c_try_link
"$LINENO"; then :
12312 dll
) ac_cv_lib_soname_v4l1
=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12313 dylib
) ac_cv_lib_soname_v4l1
=`$OTOOL -L conftest$ac_exeext | grep "libv4l1\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libv4l1\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
12314 *) ac_cv_lib_soname_v4l1
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12315 if ${ac_cv_lib_soname_v4l1:+false} :; then :
12316 ac_cv_lib_soname_v4l1
=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12320 rm -f core conftest.err conftest.
$ac_objext \
12321 conftest
$ac_exeext conftest.
$ac_ext
12322 LIBS
=$ac_check_soname_save_LIBS
12324 if ${ac_cv_lib_soname_v4l1:+false} :; then :
12325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12326 $as_echo "not found" >&6; }
12329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
12330 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
12332 cat >>confdefs.h
<<_ACEOF
12333 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
12339 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
12340 case "x$with_v4l" in
12341 x
) as_fn_append wine_notices
"|libv4l ${notice_platform}development files not found." ;;
12343 *) as_fn_error $?
"libv4l ${notice_platform}development files not found.
12344 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
12349 if test "x$with_gphoto" != "xno"
12351 if ${GPHOTO2_CFLAGS:+false} :; then :
12352 if ${PKG_CONFIG+:} false
; then :
12353 GPHOTO2_CFLAGS
=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
12356 test "$cross_compiling" = yes || GPHOTO2_CFLAGS
=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
12357 if ${GPHOTO2_LIBS:+false} :; then :
12358 if ${PKG_CONFIG+:} false
; then :
12359 GPHOTO2_LIBS
=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
12362 test "$cross_compiling" = yes || GPHOTO2_LIBS
=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
12363 GPHOTO2_LIBS
=${GPHOTO2_LIBS:-"-lgphoto2"}
12364 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
12365 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
12366 ac_save_CPPFLAGS
=$CPPFLAGS
12367 CPPFLAGS
="$CPPFLAGS $GPHOTO2_CFLAGS"
12368 ac_fn_c_check_header_mongrel
"$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
12369 if test "x$ac_cv_header_gphoto2_camera_h" = xyes
; then :
12370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
12371 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
12372 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false
; then :
12373 $as_echo_n "(cached) " >&6
12375 ac_check_lib_save_LIBS
=$LIBS
12376 LIBS
="-lgphoto2 $GPHOTO2_LIBS $LIBS"
12377 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12378 /* end confdefs.h. */
12380 /* Override any GCC internal prototype to avoid an error.
12381 Use char because int might match the return type of a GCC
12382 builtin and then its argument prototype would still apply. */
12386 char gp_camera_new ();
12390 return gp_camera_new ();
12395 if ac_fn_c_try_link
"$LINENO"; then :
12396 ac_cv_lib_gphoto2_gp_camera_new
=yes
12398 ac_cv_lib_gphoto2_gp_camera_new
=no
12400 rm -f core conftest.err conftest.
$ac_objext \
12401 conftest
$ac_exeext conftest.
$ac_ext
12402 LIBS
=$ac_check_lib_save_LIBS
12404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
12405 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
12406 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes
; then :
12408 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
12411 GPHOTO2_LIBS
=""; GPHOTO2_CFLAGS
=""
12415 GPHOTO2_LIBS
=""; GPHOTO2_CFLAGS
=""
12419 CPPFLAGS
=$ac_save_CPPFLAGS
12420 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS
=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12421 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS
=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12423 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
12424 if ${PKG_CONFIG+:} false
; then :
12425 GPHOTO2_PORT_CFLAGS
=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
12428 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS
=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
12429 if ${GPHOTO2_PORT_LIBS:+false} :; then :
12430 if ${PKG_CONFIG+:} false
; then :
12431 GPHOTO2_PORT_LIBS
=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
12434 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS
=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
12435 GPHOTO2_PORT_LIBS
=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
12436 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
12437 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
12438 ac_save_CPPFLAGS
=$CPPFLAGS
12439 CPPFLAGS
="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
12440 ac_fn_c_check_header_mongrel
"$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
12441 if test "x$ac_cv_header_gphoto2_port_h" = xyes
; then :
12442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
12443 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
12444 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false
; then :
12445 $as_echo_n "(cached) " >&6
12447 ac_check_lib_save_LIBS
=$LIBS
12448 LIBS
="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
12449 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12450 /* end confdefs.h. */
12452 /* Override any GCC internal prototype to avoid an error.
12453 Use char because int might match the return type of a GCC
12454 builtin and then its argument prototype would still apply. */
12458 char gp_port_info_list_new ();
12462 return gp_port_info_list_new ();
12467 if ac_fn_c_try_link
"$LINENO"; then :
12468 ac_cv_lib_gphoto2_port_gp_port_info_list_new
=yes
12470 ac_cv_lib_gphoto2_port_gp_port_info_list_new
=no
12472 rm -f core conftest.err conftest.
$ac_objext \
12473 conftest
$ac_exeext conftest.
$ac_ext
12474 LIBS
=$ac_check_lib_save_LIBS
12476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
12477 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
12478 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes
; then :
12480 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
12483 GPHOTO2_PORT_LIBS
=""; GPHOTO2_PORT_CFLAGS
=""
12487 GPHOTO2_PORT_LIBS
=""; GPHOTO2_PORT_CFLAGS
=""
12491 CPPFLAGS
=$ac_save_CPPFLAGS
12492 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS
=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12493 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS
=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12496 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
12497 case "x$with_gphoto" in
12498 x
) as_fn_append wine_notices
"|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
12500 *) as_fn_error $?
"libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
12501 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12505 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
12506 case "x$with_gphoto" in
12507 x
) as_fn_append wine_notices
"|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
12509 *) as_fn_error $?
"libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
12510 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12516 if test "$ac_cv_header_resolv_h" = "yes"
12518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
12519 $as_echo_n "checking for resolver library... " >&6; }
12520 if ${ac_cv_have_resolv+:} false
; then :
12521 $as_echo_n "(cached) " >&6
12523 ac_save_LIBS
="$LIBS"
12524 for lib
in '' -lresolv
12526 LIBS
="$lib $ac_save_LIBS"
12527 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12528 /* end confdefs.h. */
12529 #ifdef HAVE_NETINET_IN_H
12530 #include <netinet/in.h>
12532 #include <resolv.h>
12536 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
12541 if ac_fn_c_try_link
"$LINENO"; then :
12542 ac_cv_have_resolv
=${lib:-"none required"}
12544 ac_cv_have_resolv
="not found"
12546 rm -f core conftest.err conftest.
$ac_objext \
12547 conftest
$ac_exeext conftest.
$ac_ext
12548 test "x$ac_cv_have_resolv" = "xnot found" ||
break
12550 LIBS
="$ac_save_LIBS"
12552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
12553 $as_echo "$ac_cv_have_resolv" >&6; }
12555 case "$ac_cv_have_resolv" in
12559 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12562 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12564 RESOLV_LIBS
=$ac_cv_have_resolv
12569 if test "x$with_cms" != "xno"
12571 if ${LCMS2_CFLAGS:+false} :; then :
12572 if ${PKG_CONFIG+:} false
; then :
12573 LCMS2_CFLAGS
=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
12577 if ${LCMS2_LIBS:+false} :; then :
12578 if ${PKG_CONFIG+:} false
; then :
12579 LCMS2_LIBS
=`$PKG_CONFIG --libs lcms2 2>/dev/null`
12583 LCMS2_LIBS
=${LCMS2_LIBS:-"-llcms2"}
12584 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
12585 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
12586 ac_save_CPPFLAGS
=$CPPFLAGS
12587 CPPFLAGS
="$CPPFLAGS $LCMS2_CFLAGS"
12588 for ac_header
in lcms2.h
12590 ac_fn_c_check_header_mongrel
"$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
12591 if test "x$ac_cv_header_lcms2_h" = xyes
; then :
12592 cat >>confdefs.h
<<_ACEOF
12593 #define HAVE_LCMS2_H 1
12600 if test "$ac_cv_header_lcms2_h" = "yes"
12602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
12603 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
12604 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false
; then :
12605 $as_echo_n "(cached) " >&6
12607 ac_check_lib_save_LIBS
=$LIBS
12608 LIBS
="-llcms2 $LCMS2_LIBS $LIBS"
12609 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12610 /* end confdefs.h. */
12612 /* Override any GCC internal prototype to avoid an error.
12613 Use char because int might match the return type of a GCC
12614 builtin and then its argument prototype would still apply. */
12618 char cmsOpenProfileFromFile ();
12622 return cmsOpenProfileFromFile ();
12627 if ac_fn_c_try_link
"$LINENO"; then :
12628 ac_cv_lib_lcms2_cmsOpenProfileFromFile
=yes
12630 ac_cv_lib_lcms2_cmsOpenProfileFromFile
=no
12632 rm -f core conftest.err conftest.
$ac_objext \
12633 conftest
$ac_exeext conftest.
$ac_ext
12634 LIBS
=$ac_check_lib_save_LIBS
12636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
12637 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
12638 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes
; then :
12640 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
12650 CPPFLAGS
=$ac_save_CPPFLAGS
12651 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS
=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12652 test -z "$LCMS2_LIBS" || LCMS2_LIBS
=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12655 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
12656 case "x$with_cms" in
12657 x
) as_fn_append wine_notices
"|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
12659 *) as_fn_error $?
"liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
12660 This is an error since --with-cms was requested." "$LINENO" 5 ;;
12665 if test "x$with_freetype" != "xno"
12667 if ${FREETYPE_CFLAGS:+false} :; then :
12668 if ${PKG_CONFIG+:} false
; then :
12669 FREETYPE_CFLAGS
=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
12672 test "$cross_compiling" = yes || FREETYPE_CFLAGS
=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
12673 if ${FREETYPE_LIBS:+false} :; then :
12674 if ${PKG_CONFIG+:} false
; then :
12675 FREETYPE_LIBS
=`$PKG_CONFIG --libs freetype2 2>/dev/null`
12678 test "$cross_compiling" = yes || FREETYPE_LIBS
=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
12679 FREETYPE_LIBS
=${FREETYPE_LIBS:-"-lfreetype"}
12680 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
12681 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
12682 ac_save_CPPFLAGS
=$CPPFLAGS
12683 CPPFLAGS
="$CPPFLAGS $FREETYPE_CFLAGS"
12684 for ac_header
in ft2build.h
12686 ac_fn_c_check_header_mongrel
"$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
12687 if test "x$ac_cv_header_ft2build_h" = xyes
; then :
12688 cat >>confdefs.h
<<_ACEOF
12689 #define HAVE_FT2BUILD_H 1
12696 if test "$ac_cv_header_ft2build_h" = "yes"
12698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
12699 $as_echo_n "checking for -lfreetype... " >&6; }
12700 if ${ac_cv_lib_soname_freetype+:} false
; then :
12701 $as_echo_n "(cached) " >&6
12703 ac_check_soname_save_LIBS
=$LIBS
12704 LIBS
="-lfreetype $FREETYPE_LIBS $LIBS"
12705 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12706 /* end confdefs.h. */
12708 /* Override any GCC internal prototype to avoid an error.
12709 Use char because int might match the return type of a GCC
12710 builtin and then its argument prototype would still apply. */
12714 char FT_Init_FreeType ();
12718 return FT_Init_FreeType ();
12723 if ac_fn_c_try_link
"$LINENO"; then :
12725 dll
) ac_cv_lib_soname_freetype
=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12726 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'` ;;
12727 *) ac_cv_lib_soname_freetype
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12728 if ${ac_cv_lib_soname_freetype:+false} :; then :
12729 ac_cv_lib_soname_freetype
=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12733 rm -f core conftest.err conftest.
$ac_objext \
12734 conftest
$ac_exeext conftest.
$ac_ext
12735 LIBS
=$ac_check_soname_save_LIBS
12737 if ${ac_cv_lib_soname_freetype:+false} :; then :
12738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12739 $as_echo "not found" >&6; }
12742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
12743 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
12745 cat >>confdefs.h
<<_ACEOF
12746 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
12750 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
12752 ac_fn_c_check_type
"$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
12753 #include FT_MODULE_H
12755 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes
; then :
12757 cat >>confdefs.h
<<_ACEOF
12758 #define HAVE_FT_TRUETYPEENGINETYPE 1
12769 CPPFLAGS
=$ac_save_CPPFLAGS
12770 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS
=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12771 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS
=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12774 if test "x$ac_cv_lib_soname_freetype" = x
; then :
12775 case "x$with_freetype" in
12777 *) as_fn_error $?
"FreeType ${notice_platform}development files not found. Fonts will not be built.
12778 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
12780 enable_fonts
=${enable_fonts:-no}
12783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
12784 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
12785 if ${ac_cv_c_ppdev+:} false
; then :
12786 $as_echo_n "(cached) " >&6
12788 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12789 /* end confdefs.h. */
12790 #ifdef HAVE_SYS_IOCTL_H
12791 # include <sys/ioctl.h>
12793 #include <linux/ppdev.h>
12797 ioctl (1,PPCLAIM,0)
12802 if ac_fn_c_try_compile
"$LINENO"; then :
12803 ac_cv_c_ppdev
="yes"
12807 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
12810 $as_echo "$ac_cv_c_ppdev" >&6; }
12811 if test "$ac_cv_c_ppdev" = "yes"
12814 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
12818 ac_wine_check_funcs_save_LIBS
="$LIBS"
12819 LIBS
="$LIBS $PTHREAD_LIBS"
12821 pthread_attr_get_np \
12822 pthread_getattr_np \
12823 pthread_getthreadid_np \
12824 pthread_get_stackaddr_np \
12825 pthread_get_stacksize_np
12827 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12828 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
12829 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
12830 cat >>confdefs.h
<<_ACEOF
12831 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12837 LIBS
="$ac_wine_check_funcs_save_LIBS"
12839 if test "$ac_cv_header_zlib_h" = "yes"
12841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
12842 $as_echo_n "checking for inflate in -lz... " >&6; }
12843 if ${ac_cv_lib_z_inflate+:} false
; then :
12844 $as_echo_n "(cached) " >&6
12846 ac_check_lib_save_LIBS
=$LIBS
12848 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12849 /* end confdefs.h. */
12851 /* Override any GCC internal prototype to avoid an error.
12852 Use char because int might match the return type of a GCC
12853 builtin and then its argument prototype would still apply. */
12866 if ac_fn_c_try_link
"$LINENO"; then :
12867 ac_cv_lib_z_inflate
=yes
12869 ac_cv_lib_z_inflate
=no
12871 rm -f core conftest.err conftest.
$ac_objext \
12872 conftest
$ac_exeext conftest.
$ac_ext
12873 LIBS
=$ac_check_lib_save_LIBS
12875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
12876 $as_echo "$ac_cv_lib_z_inflate" >&6; }
12877 if test "x$ac_cv_lib_z_inflate" = xyes
; then :
12879 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
12886 if test "x$Z_LIBS" = "x"; then :
12887 case "x$with_zlib" in
12888 x
) as_fn_append wine_notices
"|libz ${notice_platform}development files not found, data compression won't be supported." ;;
12890 *) as_fn_error $?
"libz ${notice_platform}development files not found, data compression won't be supported.
12891 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
12896 if test "x$enable_tools" != xno
-a "x$with_gettextpo" = xyes
12898 if test "$ac_cv_header_gettext_po_h" = "yes"
12900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
12901 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
12902 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false
; then :
12903 $as_echo_n "(cached) " >&6
12905 ac_check_lib_save_LIBS
=$LIBS
12906 LIBS
="-lgettextpo $LIBS"
12907 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12908 /* end confdefs.h. */
12910 /* Override any GCC internal prototype to avoid an error.
12911 Use char because int might match the return type of a GCC
12912 builtin and then its argument prototype would still apply. */
12916 char po_message_msgctxt ();
12920 return po_message_msgctxt ();
12925 if ac_fn_c_try_link
"$LINENO"; then :
12926 ac_cv_lib_gettextpo_po_message_msgctxt
=yes
12928 ac_cv_lib_gettextpo_po_message_msgctxt
=no
12930 rm -f core conftest.err conftest.
$ac_objext \
12931 conftest
$ac_exeext conftest.
$ac_ext
12932 LIBS
=$ac_check_lib_save_LIBS
12934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
12935 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
12936 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes
; then :
12938 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
12940 GETTEXTPO_LIBS
="-lgettextpo"
12945 if test "x$GETTEXTPO_LIBS" = "x"; then :
12946 case "x$with_gettextpo" in
12947 x
) as_fn_append wine_notices
"|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
12949 *) as_fn_error $?
"GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
12950 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12954 if test "$srcdir" != .
; then :
12955 case "x$with_gettextpo" in
12956 x
) as_fn_append wine_notices
"|Rebuilding po files is not supported for out of tree builds." ;;
12958 *) as_fn_error $?
"Rebuilding po files is not supported for out of tree builds.
12959 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12965 if test "x$with_pulse" != "xno";
12967 if ${PULSE_CFLAGS:+false} :; then :
12968 if ${PKG_CONFIG+:} false
; then :
12969 PULSE_CFLAGS
=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
12973 if ${PULSE_LIBS:+false} :; then :
12974 if ${PKG_CONFIG+:} false
; then :
12975 PULSE_LIBS
=`$PKG_CONFIG --libs libpulse 2>/dev/null`
12980 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
12981 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
12982 ac_save_CPPFLAGS
=$CPPFLAGS
12983 CPPFLAGS
="$CPPFLAGS $PULSE_CFLAGS"
12984 for ac_header
in pulse
/pulseaudio.h
12986 ac_fn_c_check_header_mongrel
"$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
12987 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes
; then :
12988 cat >>confdefs.h
<<_ACEOF
12989 #define HAVE_PULSE_PULSEAUDIO_H 1
12991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
12992 $as_echo_n "checking for pa_stream_is_corked in -lpulse... " >&6; }
12993 if ${ac_cv_lib_pulse_pa_stream_is_corked+:} false
; then :
12994 $as_echo_n "(cached) " >&6
12996 ac_check_lib_save_LIBS
=$LIBS
12997 LIBS
="-lpulse $PULSE_LIBS $LIBS"
12998 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12999 /* end confdefs.h. */
13001 /* Override any GCC internal prototype to avoid an error.
13002 Use char because int might match the return type of a GCC
13003 builtin and then its argument prototype would still apply. */
13007 char pa_stream_is_corked ();
13011 return pa_stream_is_corked ();
13016 if ac_fn_c_try_link
"$LINENO"; then :
13017 ac_cv_lib_pulse_pa_stream_is_corked
=yes
13019 ac_cv_lib_pulse_pa_stream_is_corked
=no
13021 rm -f core conftest.err conftest.
$ac_objext \
13022 conftest
$ac_exeext conftest.
$ac_ext
13023 LIBS
=$ac_check_lib_save_LIBS
13025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
13026 $as_echo "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
13027 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes
; then :
13039 CPPFLAGS
=$ac_save_CPPFLAGS
13040 test -z "$PULSE_CFLAGS" || PULSE_CFLAGS
=`echo " $PULSE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13041 test -z "$PULSE_LIBS" || PULSE_LIBS
=`echo " $PULSE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13044 if test -z "$PULSE_LIBS"; then :
13045 case "x$with_pulse" in
13046 x
) as_fn_append wine_notices
"|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
13048 *) as_fn_error $?
"libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
13049 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
13051 enable_winepulse_drv
=${enable_winepulse_drv:-no}
13054 if test "x$with_gstreamer" != "xno"
13056 if ${GSTREAMER_CFLAGS:+false} :; then :
13057 if ${PKG_CONFIG+:} false
; then :
13058 GSTREAMER_CFLAGS
=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
13062 if ${GSTREAMER_LIBS:+false} :; then :
13063 if ${PKG_CONFIG+:} false
; then :
13064 GSTREAMER_LIBS
=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
13069 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
13070 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
13071 ac_save_CPPFLAGS
=$CPPFLAGS
13072 CPPFLAGS
="$CPPFLAGS $GSTREAMER_CFLAGS"
13074 for i
in $GSTREAMER_CFLAGS
13077 -I*) ac_gst_incl
="$ac_gst_incl $i";;
13080 GSTREAMER_CFLAGS
=$ac_gst_incl
13081 CPPFLAGS
="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
13082 ac_fn_c_check_header_mongrel
"$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
13083 if test "x$ac_cv_header_gst_gst_h" = xyes
; then :
13084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
13085 $as_echo_n "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
13086 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13087 /* end confdefs.h. */
13088 #include <gst/gst.h>
13092 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
13097 if ac_fn_c_try_compile
"$LINENO"; then :
13098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13099 $as_echo "yes" >&6; }
13100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
13101 $as_echo_n "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
13102 if ${ac_cv_lib_gstreamer_1_0_gst_pad_new+:} false
; then :
13103 $as_echo_n "(cached) " >&6
13105 ac_check_lib_save_LIBS
=$LIBS
13106 LIBS
="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
13107 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13108 /* end confdefs.h. */
13110 /* Override any GCC internal prototype to avoid an error.
13111 Use char because int might match the return type of a GCC
13112 builtin and then its argument prototype would still apply. */
13116 char gst_pad_new ();
13120 return gst_pad_new ();
13125 if ac_fn_c_try_link
"$LINENO"; then :
13126 ac_cv_lib_gstreamer_1_0_gst_pad_new
=yes
13128 ac_cv_lib_gstreamer_1_0_gst_pad_new
=no
13130 rm -f core conftest.err conftest.
$ac_objext \
13131 conftest
$ac_exeext conftest.
$ac_ext
13132 LIBS
=$ac_check_lib_save_LIBS
13134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
13135 $as_echo "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
13136 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes
; then :
13141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13142 $as_echo "no" >&6; }
13143 ac_glib2_broken
=yes
13144 as_fn_append wine_notices
"|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
13146 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13150 CPPFLAGS
=$ac_save_CPPFLAGS
13151 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS
=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13152 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS
=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13155 if test "x$ac_glib2_broken" != xyes
-a "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" != xyes
-a "x$ac_cv_header_QuickTime_ImageCompression_h" != xyes
; then :
13156 case "x$with_gstreamer" in
13157 x
) as_fn_append wine_notices
"|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
13159 *) as_fn_error $?
"gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
13160 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
13164 test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes || enable_winegstreamer
=${enable_winegstreamer:-no}
13168 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
13170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
13171 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
13172 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false
; then :
13173 $as_echo_n "(cached) " >&6
13175 ac_check_lib_save_LIBS
=$LIBS
13176 LIBS
="-lasound $LIBS"
13177 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13178 /* end confdefs.h. */
13180 /* Override any GCC internal prototype to avoid an error.
13181 Use char because int might match the return type of a GCC
13182 builtin and then its argument prototype would still apply. */
13186 char snd_pcm_hw_params_get_access_mask ();
13190 return snd_pcm_hw_params_get_access_mask ();
13195 if ac_fn_c_try_link
"$LINENO"; then :
13196 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask
=yes
13198 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask
=no
13200 rm -f core conftest.err conftest.
$ac_objext \
13201 conftest
$ac_exeext conftest.
$ac_ext
13202 LIBS
=$ac_check_lib_save_LIBS
13204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
13205 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
13206 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes
; then :
13207 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13208 /* end confdefs.h. */
13209 #ifdef HAVE_ALSA_ASOUNDLIB_H
13210 #include <alsa/asoundlib.h>
13211 #elif defined(HAVE_SYS_ASOUNDLIB_H)
13212 #include <sys/asoundlib.h>
13217 snd_pcm_hw_params_get_access_mask(NULL, NULL)
13222 if ac_fn_c_try_compile
"$LINENO"; then :
13223 ALSA_LIBS
="-lasound"
13225 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13229 test -n "$ALSA_LIBS" || enable_winealsa_drv
=${enable_winealsa_drv:-no}
13231 if test "x$with_oss" != xno
13233 ac_save_CPPFLAGS
="$CPPFLAGS"
13234 if test -f /etc
/oss.conf
13238 ac_oss_incl
="-I${OSSLIBDIR:-/usr/lib/oss}/include"
13239 CPPFLAGS
="$CPPFLAGS $ac_oss_incl"
13240 ac_fn_c_check_header_mongrel
"$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
13241 if test "x$ac_cv_header_sys_soundcard_h" = xyes
; then :
13242 ac_fn_c_check_member
"$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
13244 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes
; then :
13246 cat >>confdefs.h
<<_ACEOF
13247 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
13250 OSS4_CFLAGS
="$ac_oss_incl"
13257 CPPFLAGS
="$ac_save_CPPFLAGS"
13259 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
; then :
13260 case "x$with_oss" in
13261 x
) as_fn_append wine_notices
"|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
13263 *) as_fn_error $?
"OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
13264 This is an error since --with-oss was requested." "$LINENO" 5 ;;
13266 enable_wineoss_drv
=${enable_wineoss_drv:-no}
13269 if test "x$with_udev" != "xno"
13271 if ${UDEV_CFLAGS:+false} :; then :
13272 if ${PKG_CONFIG+:} false
; then :
13273 UDEV_CFLAGS
=`$PKG_CONFIG --cflags libudev 2>/dev/null`
13277 if ${UDEV_LIBS:+false} :; then :
13278 if ${PKG_CONFIG+:} false
; then :
13279 UDEV_LIBS
=`$PKG_CONFIG --libs libudev 2>/dev/null`
13283 UDEV_LIBS
=${UDEV_LIBS:-"-ludev"}
13284 $as_echo "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
13285 $as_echo "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
13286 ac_save_CPPFLAGS
=$CPPFLAGS
13287 CPPFLAGS
="$CPPFLAGS $UDEV_CFLAGS"
13288 for ac_header
in libudev.h
13290 ac_fn_c_check_header_mongrel
"$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
13291 if test "x$ac_cv_header_libudev_h" = xyes
; then :
13292 cat >>confdefs.h
<<_ACEOF
13293 #define HAVE_LIBUDEV_H 1
13295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
13296 $as_echo_n "checking for udev_new in -ludev... " >&6; }
13297 if ${ac_cv_lib_udev_udev_new+:} false
; then :
13298 $as_echo_n "(cached) " >&6
13300 ac_check_lib_save_LIBS
=$LIBS
13301 LIBS
="-ludev $UDEV_LIBS $LIBS"
13302 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13303 /* end confdefs.h. */
13305 /* Override any GCC internal prototype to avoid an error.
13306 Use char because int might match the return type of a GCC
13307 builtin and then its argument prototype would still apply. */
13315 return udev_new ();
13320 if ac_fn_c_try_link
"$LINENO"; then :
13321 ac_cv_lib_udev_udev_new
=yes
13323 ac_cv_lib_udev_udev_new
=no
13325 rm -f core conftest.err conftest.
$ac_objext \
13326 conftest
$ac_exeext conftest.
$ac_ext
13327 LIBS
=$ac_check_lib_save_LIBS
13329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
13330 $as_echo "$ac_cv_lib_udev_udev_new" >&6; }
13331 if test "x$ac_cv_lib_udev_udev_new" = xyes
; then :
13333 $as_echo "#define HAVE_UDEV 1" >>confdefs.h
13345 CPPFLAGS
=$ac_save_CPPFLAGS
13346 test -z "$UDEV_CFLAGS" || UDEV_CFLAGS
=`echo " $UDEV_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13347 test -z "$UDEV_LIBS" || UDEV_LIBS
=`echo " $UDEV_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13350 if test "x$UDEV_LIBS" = "x"; then :
13351 case "x$with_udev" in
13352 x
) as_fn_append wine_notices
"|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
13354 *) as_fn_error $?
"libudev ${notice_platform}development files not found, plug and play won't be supported.
13355 This is an error since --with-udev was requested." "$LINENO" 5 ;;
13360 if test "x$with_capi" != "xno"
13362 if ${CAPI20_CFLAGS:+false} :; then :
13363 if ${PKG_CONFIG+:} false
; then :
13364 CAPI20_CFLAGS
=`$PKG_CONFIG --cflags capi20 2>/dev/null`
13368 if ${CAPI20_LIBS:+false} :; then :
13369 if ${PKG_CONFIG+:} false
; then :
13370 CAPI20_LIBS
=`$PKG_CONFIG --libs capi20 2>/dev/null`
13375 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
13376 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
13377 ac_save_CPPFLAGS
=$CPPFLAGS
13378 CPPFLAGS
="$CPPFLAGS $CAPI20_CFLAGS"
13379 for ac_header
in capi20.h linux
/capi.h
13381 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13382 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#define __user
13384 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
13385 cat >>confdefs.h
<<_ACEOF
13386 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13393 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
13395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
13396 $as_echo_n "checking for -lcapi20... " >&6; }
13397 if ${ac_cv_lib_soname_capi20+:} false
; then :
13398 $as_echo_n "(cached) " >&6
13400 ac_check_soname_save_LIBS
=$LIBS
13401 LIBS
="-lcapi20 $CAPI20_LIBS $LIBS"
13402 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13403 /* end confdefs.h. */
13405 /* Override any GCC internal prototype to avoid an error.
13406 Use char because int might match the return type of a GCC
13407 builtin and then its argument prototype would still apply. */
13411 char capi20_register ();
13415 return capi20_register ();
13420 if ac_fn_c_try_link
"$LINENO"; then :
13422 dll
) ac_cv_lib_soname_capi20
=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13423 dylib
) ac_cv_lib_soname_capi20
=`$OTOOL -L conftest$ac_exeext | grep "libcapi20\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libcapi20\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
13424 *) ac_cv_lib_soname_capi20
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13425 if ${ac_cv_lib_soname_capi20:+false} :; then :
13426 ac_cv_lib_soname_capi20
=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13430 rm -f core conftest.err conftest.
$ac_objext \
13431 conftest
$ac_exeext conftest.
$ac_ext
13432 LIBS
=$ac_check_soname_save_LIBS
13434 if ${ac_cv_lib_soname_capi20:+false} :; then :
13435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13436 $as_echo "not found" >&6; }
13439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
13440 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
13442 cat >>confdefs.h
<<_ACEOF
13443 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
13449 CPPFLAGS
=$ac_save_CPPFLAGS
13450 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS
=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13451 test -z "$CAPI20_LIBS" || CAPI20_LIBS
=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13454 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
13455 case "x$with_capi" in
13456 x
) as_fn_append wine_notices
"|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
13458 *) as_fn_error $?
"libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
13459 This is an error since --with-capi was requested." "$LINENO" 5 ;;
13464 if test "x$with_cups" != "xno"
13466 if ${CUPS_CFLAGS:+false} :; then :
13467 if ${PKG_CONFIG+:} false
; then :
13468 CUPS_CFLAGS
=`$PKG_CONFIG --cflags cups 2>/dev/null`
13471 test "$cross_compiling" = yes || CUPS_CFLAGS
=${CUPS_CFLAGS:-`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`}
13472 if ${CUPS_LIBS:+false} :; then :
13473 if ${PKG_CONFIG+:} false
; then :
13474 CUPS_LIBS
=`$PKG_CONFIG --libs cups 2>/dev/null`
13477 test "$cross_compiling" = yes || CUPS_LIBS
=${CUPS_LIBS:-`${CUPS_CONFIG:-cups-config} --libs 2>/dev/null`}
13478 CUPS_LIBS
=${CUPS_LIBS:-"-lcups"}
13479 $as_echo "$as_me:${as_lineno-$LINENO}: cups cflags: $CUPS_CFLAGS" >&5
13480 $as_echo "$as_me:${as_lineno-$LINENO}: cups libs: $CUPS_LIBS" >&5
13481 ac_save_CPPFLAGS
=$CPPFLAGS
13482 CPPFLAGS
="$CPPFLAGS $CUPS_CFLAGS"
13483 for ac_header
in cups
/cups.h cups
/ppd.h
13485 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13486 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
13487 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
13488 cat >>confdefs.h
<<_ACEOF
13489 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13496 if test "$ac_cv_header_cups_cups_h" = "yes"
13498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
13499 $as_echo_n "checking for -lcups... " >&6; }
13500 if ${ac_cv_lib_soname_cups+:} false
; then :
13501 $as_echo_n "(cached) " >&6
13503 ac_check_soname_save_LIBS
=$LIBS
13504 LIBS
="-lcups $CUPS_LIBS $LIBS"
13505 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13506 /* end confdefs.h. */
13508 /* Override any GCC internal prototype to avoid an error.
13509 Use char because int might match the return type of a GCC
13510 builtin and then its argument prototype would still apply. */
13514 char cupsGetDefault ();
13518 return cupsGetDefault ();
13523 if ac_fn_c_try_link
"$LINENO"; then :
13525 dll
) ac_cv_lib_soname_cups
=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13526 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'` ;;
13527 *) ac_cv_lib_soname_cups
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13528 if ${ac_cv_lib_soname_cups:+false} :; then :
13529 ac_cv_lib_soname_cups
=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13533 rm -f core conftest.err conftest.
$ac_objext \
13534 conftest
$ac_exeext conftest.
$ac_ext
13535 LIBS
=$ac_check_soname_save_LIBS
13537 if ${ac_cv_lib_soname_cups:+false} :; then :
13538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13539 $as_echo "not found" >&6; }
13542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
13543 $as_echo "$ac_cv_lib_soname_cups" >&6; }
13545 cat >>confdefs.h
<<_ACEOF
13546 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
13555 CPPFLAGS
=$ac_save_CPPFLAGS
13556 test -z "$CUPS_CFLAGS" || CUPS_CFLAGS
=`echo " $CUPS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13557 test -z "$CUPS_LIBS" || CUPS_LIBS
=`echo " $CUPS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13560 if test "x$ac_cv_lib_soname_cups" = "x"; then :
13561 case "x$with_cups" in
13562 x
) as_fn_append wine_notices
"|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
13564 *) as_fn_error $?
"libcups ${notice_platform}development files not found, CUPS won't be supported.
13565 This is an error since --with-cups was requested." "$LINENO" 5 ;;
13570 if test "x$with_fontconfig" != "xno"
13572 if ${FONTCONFIG_CFLAGS:+false} :; then :
13573 if ${PKG_CONFIG+:} false
; then :
13574 FONTCONFIG_CFLAGS
=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
13577 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS
=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
13578 if ${FONTCONFIG_LIBS:+false} :; then :
13579 if ${PKG_CONFIG+:} false
; then :
13580 FONTCONFIG_LIBS
=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
13583 test "$cross_compiling" = yes || FONTCONFIG_LIBS
=${FONTCONFIG_LIBS:-$X_LIBS}
13585 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
13586 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
13587 ac_save_CPPFLAGS
=$CPPFLAGS
13588 CPPFLAGS
="$CPPFLAGS $FONTCONFIG_CFLAGS"
13589 for ac_header
in fontconfig
/fontconfig.h
13591 ac_fn_c_check_header_mongrel
"$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
13592 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes
; then :
13593 cat >>confdefs.h
<<_ACEOF
13594 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
13601 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
13603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
13604 $as_echo_n "checking for -lfontconfig... " >&6; }
13605 if ${ac_cv_lib_soname_fontconfig+:} false
; then :
13606 $as_echo_n "(cached) " >&6
13608 ac_check_soname_save_LIBS
=$LIBS
13609 LIBS
="-lfontconfig $FONTCONFIG_LIBS $LIBS"
13610 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13611 /* end confdefs.h. */
13613 /* Override any GCC internal prototype to avoid an error.
13614 Use char because int might match the return type of a GCC
13615 builtin and then its argument prototype would still apply. */
13628 if ac_fn_c_try_link
"$LINENO"; then :
13630 dll
) ac_cv_lib_soname_fontconfig
=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13631 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'` ;;
13632 *) ac_cv_lib_soname_fontconfig
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13633 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13634 ac_cv_lib_soname_fontconfig
=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13638 rm -f core conftest.err conftest.
$ac_objext \
13639 conftest
$ac_exeext conftest.
$ac_ext
13640 LIBS
=$ac_check_soname_save_LIBS
13642 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13644 $as_echo "not found" >&6; }
13645 FONTCONFIG_CFLAGS
=""
13647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
13648 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
13650 cat >>confdefs.h
<<_ACEOF
13651 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
13657 FONTCONFIG_CFLAGS
=""
13659 CPPFLAGS
=$ac_save_CPPFLAGS
13660 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS
=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13661 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS
=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13664 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
13665 case "x$with_fontconfig" in
13666 x
) as_fn_append wine_notices
"|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
13668 *) as_fn_error $?
"fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
13669 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
13674 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
13676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
13677 $as_echo_n "checking for -lgsm... " >&6; }
13678 if ${ac_cv_lib_soname_gsm+:} false
; then :
13679 $as_echo_n "(cached) " >&6
13681 ac_check_soname_save_LIBS
=$LIBS
13683 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13684 /* end confdefs.h. */
13686 /* Override any GCC internal prototype to avoid an error.
13687 Use char because int might match the return type of a GCC
13688 builtin and then its argument prototype would still apply. */
13692 char gsm_create ();
13696 return gsm_create ();
13701 if ac_fn_c_try_link
"$LINENO"; then :
13703 dll
) ac_cv_lib_soname_gsm
=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13704 dylib
) ac_cv_lib_soname_gsm
=`$OTOOL -L conftest$ac_exeext | grep "libgsm\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libgsm\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
13705 *) ac_cv_lib_soname_gsm
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13706 if ${ac_cv_lib_soname_gsm:+false} :; then :
13707 ac_cv_lib_soname_gsm
=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13711 rm -f core conftest.err conftest.
$ac_objext \
13712 conftest
$ac_exeext conftest.
$ac_ext
13713 LIBS
=$ac_check_soname_save_LIBS
13715 if ${ac_cv_lib_soname_gsm:+false} :; then :
13716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13717 $as_echo "not found" >&6; }
13720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
13721 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
13723 cat >>confdefs.h
<<_ACEOF
13724 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
13730 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
13731 case "x$with_gsm" in
13732 x
) as_fn_append wine_notices
"|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
13734 *) as_fn_error $?
"libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
13735 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
13740 if test "x$with_krb5" != "xno"
13742 if ${KRB5_CFLAGS:+false} :; then :
13743 if ${PKG_CONFIG+:} false
; then :
13744 KRB5_CFLAGS
=`$PKG_CONFIG --cflags krb5 2>/dev/null`
13747 test "$cross_compiling" = yes || KRB5_CFLAGS
=${KRB5_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags 2>/dev/null`}
13748 if ${KRB5_LIBS:+false} :; then :
13749 if ${PKG_CONFIG+:} false
; then :
13750 KRB5_LIBS
=`$PKG_CONFIG --libs krb5 2>/dev/null`
13753 test "$cross_compiling" = yes || KRB5_LIBS
=${KRB5_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs 2>/dev/null`}
13755 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 cflags: $KRB5_CFLAGS" >&5
13756 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 libs: $KRB5_LIBS" >&5
13757 ac_save_CPPFLAGS
=$CPPFLAGS
13758 CPPFLAGS
="$CPPFLAGS $KRB5_CFLAGS"
13759 for ac_header
in krb
5/krb5.h
13761 ac_fn_c_check_header_mongrel
"$LINENO" "krb5/krb5.h" "ac_cv_header_krb5_krb5_h" "$ac_includes_default"
13762 if test "x$ac_cv_header_krb5_krb5_h" = xyes
; then :
13763 cat >>confdefs.h
<<_ACEOF
13764 #define HAVE_KRB5_KRB5_H 1
13771 if test "$ac_cv_header_krb5_krb5_h" = "yes"
13773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lkrb5" >&5
13774 $as_echo_n "checking for -lkrb5... " >&6; }
13775 if ${ac_cv_lib_soname_krb5+:} false
; then :
13776 $as_echo_n "(cached) " >&6
13778 ac_check_soname_save_LIBS
=$LIBS
13779 LIBS
="-lkrb5 $KRB5_LIBS $LIBS"
13780 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13781 /* end confdefs.h. */
13783 /* Override any GCC internal prototype to avoid an error.
13784 Use char because int might match the return type of a GCC
13785 builtin and then its argument prototype would still apply. */
13789 char krb5_init_context ();
13793 return krb5_init_context ();
13798 if ac_fn_c_try_link
"$LINENO"; then :
13800 dll
) ac_cv_lib_soname_krb5
=`$ac_cv_path_LDD conftest.exe | grep "krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13801 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'` ;;
13802 *) ac_cv_lib_soname_krb5
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libkrb5\\.$LIBEXT" | sed -e "s/^.*\\[\\(libkrb5\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13803 if ${ac_cv_lib_soname_krb5:+false} :; then :
13804 ac_cv_lib_soname_krb5
=`$LDD conftest$ac_exeext | grep "libkrb5\\.$LIBEXT" | sed -e "s/^.*\(libkrb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13808 rm -f core conftest.err conftest.
$ac_objext \
13809 conftest
$ac_exeext conftest.
$ac_ext
13810 LIBS
=$ac_check_soname_save_LIBS
13812 if ${ac_cv_lib_soname_krb5:+false} :; then :
13813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13814 $as_echo "not found" >&6; }
13817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_krb5" >&5
13818 $as_echo "$ac_cv_lib_soname_krb5" >&6; }
13820 cat >>confdefs.h
<<_ACEOF
13821 #define SONAME_LIBKRB5 "$ac_cv_lib_soname_krb5"
13829 CPPFLAGS
=$ac_save_CPPFLAGS
13830 test -z "$KRB5_CFLAGS" || KRB5_CFLAGS
=`echo " $KRB5_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13831 test -z "$KRB5_LIBS" || KRB5_LIBS
=`echo " $KRB5_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13834 if test "x$ac_cv_lib_soname_krb5" = "x"; then :
13835 case "x$with_krb5" in
13836 x
) as_fn_append wine_notices
"|libkrb5 ${notice_platform}development files not found, Kerberos won't be supported." ;;
13838 *) as_fn_error $?
"libkrb5 ${notice_platform}development files not found, Kerberos won't be supported.
13839 This is an error since --with-krb5 was requested." "$LINENO" 5 ;;
13844 if test "x$with_gssapi" != "xno"
13846 if ${GSSAPI_CFLAGS:+false} :; then :
13847 if ${PKG_CONFIG+:} false
; then :
13848 GSSAPI_CFLAGS
=`$PKG_CONFIG --cflags krb5-gssapi 2>/dev/null`
13851 test "$cross_compiling" = yes || GSSAPI_CFLAGS
=${GSSAPI_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags gssapi 2>/dev/null`}
13852 if ${GSSAPI_LIBS:+false} :; then :
13853 if ${PKG_CONFIG+:} false
; then :
13854 GSSAPI_LIBS
=`$PKG_CONFIG --libs krb5-gssapi 2>/dev/null`
13857 test "$cross_compiling" = yes || GSSAPI_LIBS
=${GSSAPI_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs gssapi 2>/dev/null`}
13859 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi cflags: $GSSAPI_CFLAGS" >&5
13860 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi libs: $GSSAPI_LIBS" >&5
13861 ac_save_CPPFLAGS
=$CPPFLAGS
13862 CPPFLAGS
="$CPPFLAGS $GSSAPI_CFLAGS"
13863 for ac_header
in gssapi
/gssapi.h gssapi
/gssapi_ext.h
13865 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13866 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
13867 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
13868 cat >>confdefs.h
<<_ACEOF
13869 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13876 if test "$ac_cv_header_gssapi_gssapi_h" = "yes" -a "$ac_cv_header_gssapi_gssapi_ext_h" = "yes"
13878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgssapi_krb5" >&5
13879 $as_echo_n "checking for -lgssapi_krb5... " >&6; }
13880 if ${ac_cv_lib_soname_gssapi_krb5+:} false
; then :
13881 $as_echo_n "(cached) " >&6
13883 ac_check_soname_save_LIBS
=$LIBS
13884 LIBS
="-lgssapi_krb5 $GSSAPI_LIBS $LIBS"
13885 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13886 /* end confdefs.h. */
13888 /* Override any GCC internal prototype to avoid an error.
13889 Use char because int might match the return type of a GCC
13890 builtin and then its argument prototype would still apply. */
13894 char gss_init_sec_context ();
13898 return gss_init_sec_context ();
13903 if ac_fn_c_try_link
"$LINENO"; then :
13905 dll
) ac_cv_lib_soname_gssapi_krb5
=`$ac_cv_path_LDD conftest.exe | grep "gssapi_krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13906 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'` ;;
13907 *) 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'`
13908 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
13909 ac_cv_lib_soname_gssapi_krb5
=`$LDD conftest$ac_exeext | grep "libgssapi_krb5\\.$LIBEXT" | sed -e "s/^.*\(libgssapi_krb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13913 rm -f core conftest.err conftest.
$ac_objext \
13914 conftest
$ac_exeext conftest.
$ac_ext
13915 LIBS
=$ac_check_soname_save_LIBS
13917 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
13918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13919 $as_echo "not found" >&6; }
13922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gssapi_krb5" >&5
13923 $as_echo "$ac_cv_lib_soname_gssapi_krb5" >&6; }
13925 cat >>confdefs.h
<<_ACEOF
13926 #define SONAME_LIBGSSAPI_KRB5 "$ac_cv_lib_soname_gssapi_krb5"
13934 CPPFLAGS
=$ac_save_CPPFLAGS
13935 test -z "$GSSAPI_CFLAGS" || GSSAPI_CFLAGS
=`echo " $GSSAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13936 test -z "$GSSAPI_LIBS" || GSSAPI_LIBS
=`echo " $GSSAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13939 if test "x$ac_cv_lib_soname_gssapi_krb5" = "x"; then :
13940 case "x$with_gssapi" in
13941 x
) as_fn_append wine_notices
"|libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support." ;;
13943 *) as_fn_error $?
"libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support.
13944 This is an error since --with-gssapi was requested." "$LINENO" 5 ;;
13949 if test "x$with_jpeg" != "xno"
13951 if ${JPEG_CFLAGS:+false} :; then :
13952 if ${PKG_CONFIG+:} false
; then :
13953 JPEG_CFLAGS
=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
13957 if ${JPEG_LIBS:+false} :; then :
13958 if ${PKG_CONFIG+:} false
; then :
13959 JPEG_LIBS
=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
13964 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
13965 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
13966 ac_save_CPPFLAGS
=$CPPFLAGS
13967 CPPFLAGS
="$CPPFLAGS $JPEG_CFLAGS"
13968 for ac_header
in jpeglib.h
13970 ac_fn_c_check_header_mongrel
"$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
13971 if test "x$ac_cv_header_jpeglib_h" = xyes
; then :
13972 cat >>confdefs.h
<<_ACEOF
13973 #define HAVE_JPEGLIB_H 1
13980 if test "$ac_cv_header_jpeglib_h" = "yes"
13982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
13983 $as_echo_n "checking for -ljpeg... " >&6; }
13984 if ${ac_cv_lib_soname_jpeg+:} false
; then :
13985 $as_echo_n "(cached) " >&6
13987 ac_check_soname_save_LIBS
=$LIBS
13988 LIBS
="-ljpeg $JPEG_LIBS $LIBS"
13989 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13990 /* end confdefs.h. */
13992 /* Override any GCC internal prototype to avoid an error.
13993 Use char because int might match the return type of a GCC
13994 builtin and then its argument prototype would still apply. */
13998 char jpeg_start_decompress ();
14002 return jpeg_start_decompress ();
14007 if ac_fn_c_try_link
"$LINENO"; then :
14009 dll
) ac_cv_lib_soname_jpeg
=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14010 dylib
) ac_cv_lib_soname_jpeg
=`$OTOOL -L conftest$ac_exeext | grep "libjpeg\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libjpeg\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
14011 *) ac_cv_lib_soname_jpeg
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14012 if ${ac_cv_lib_soname_jpeg:+false} :; then :
14013 ac_cv_lib_soname_jpeg
=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14017 rm -f core conftest.err conftest.
$ac_objext \
14018 conftest
$ac_exeext conftest.
$ac_ext
14019 LIBS
=$ac_check_soname_save_LIBS
14021 if ${ac_cv_lib_soname_jpeg:+false} :; then :
14022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14023 $as_echo "not found" >&6; }
14026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
14027 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
14029 cat >>confdefs.h
<<_ACEOF
14030 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
14038 CPPFLAGS
=$ac_save_CPPFLAGS
14039 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS
=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14040 test -z "$JPEG_LIBS" || JPEG_LIBS
=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14043 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
14044 case "x$with_jpeg" in
14045 x
) as_fn_append wine_warnings
"|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
14047 *) as_fn_error $?
"libjpeg ${notice_platform}development files not found, JPEG won't be supported.
14048 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
14053 if test "x$with_png" != "xno"
14055 if ${PNG_CFLAGS:+false} :; then :
14056 if ${PKG_CONFIG+:} false
; then :
14057 PNG_CFLAGS
=`$PKG_CONFIG --cflags libpng 2>/dev/null`
14060 test "$cross_compiling" = yes || PNG_CFLAGS
=${PNG_CFLAGS:-$X_CFLAGS}
14061 if ${PNG_LIBS:+false} :; then :
14062 if ${PKG_CONFIG+:} false
; then :
14063 PNG_LIBS
=`$PKG_CONFIG --libs libpng 2>/dev/null`
14066 test "$cross_compiling" = yes || PNG_LIBS
=${PNG_LIBS:-$X_LIBS}
14068 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
14069 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
14070 ac_save_CPPFLAGS
=$CPPFLAGS
14071 CPPFLAGS
="$CPPFLAGS $PNG_CFLAGS"
14072 for ac_header
in png.h
14074 ac_fn_c_check_header_mongrel
"$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
14075 if test "x$ac_cv_header_png_h" = xyes
; then :
14076 cat >>confdefs.h
<<_ACEOF
14077 #define HAVE_PNG_H 1
14084 if test "$ac_cv_header_png_h" = "yes"
14086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
14087 $as_echo_n "checking for -lpng... " >&6; }
14088 if ${ac_cv_lib_soname_png+:} false
; then :
14089 $as_echo_n "(cached) " >&6
14091 ac_check_soname_save_LIBS
=$LIBS
14092 LIBS
="-lpng $PNG_LIBS -lm -lz $LIBS"
14093 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14094 /* end confdefs.h. */
14096 /* Override any GCC internal prototype to avoid an error.
14097 Use char because int might match the return type of a GCC
14098 builtin and then its argument prototype would still apply. */
14102 char png_create_read_struct ();
14106 return png_create_read_struct ();
14111 if ac_fn_c_try_link
"$LINENO"; then :
14113 dll
) ac_cv_lib_soname_png
=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14114 dylib
) ac_cv_lib_soname_png
=`$OTOOL -L conftest$ac_exeext | grep "libpng[0-9]*\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libpng[0-9]*\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
14115 *) ac_cv_lib_soname_png
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\\[\\(libpng[0-9]*\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14116 if ${ac_cv_lib_soname_png:+false} :; then :
14117 ac_cv_lib_soname_png
=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14121 rm -f core conftest.err conftest.
$ac_objext \
14122 conftest
$ac_exeext conftest.
$ac_ext
14123 LIBS
=$ac_check_soname_save_LIBS
14125 if ${ac_cv_lib_soname_png:+false} :; then :
14126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14127 $as_echo "not found" >&6; }
14130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
14131 $as_echo "$ac_cv_lib_soname_png" >&6; }
14133 cat >>confdefs.h
<<_ACEOF
14134 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
14142 CPPFLAGS
=$ac_save_CPPFLAGS
14143 test -z "$PNG_CFLAGS" || PNG_CFLAGS
=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14144 test -z "$PNG_LIBS" || PNG_LIBS
=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14147 if test "x$ac_cv_lib_soname_png" = "x"; then :
14148 case "x$with_png" in
14149 x
) as_fn_append wine_warnings
"|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
14151 *) as_fn_error $?
"libpng ${notice_platform}development files not found, PNG won't be supported.
14152 This is an error since --with-png was requested." "$LINENO" 5 ;;
14157 if test "x$with_tiff" != "xno"
14159 if ${TIFF_CFLAGS:+false} :; then :
14160 if ${PKG_CONFIG+:} false
; then :
14161 TIFF_CFLAGS
=`$PKG_CONFIG --cflags libtiff-4 2>/dev/null`
14165 if ${TIFF_LIBS:+false} :; then :
14166 if ${PKG_CONFIG+:} false
; then :
14167 TIFF_LIBS
=`$PKG_CONFIG --libs libtiff-4 2>/dev/null`
14172 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 cflags: $TIFF_CFLAGS" >&5
14173 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 libs: $TIFF_LIBS" >&5
14174 ac_save_CPPFLAGS
=$CPPFLAGS
14175 CPPFLAGS
="$CPPFLAGS $TIFF_CFLAGS"
14176 for ac_header
in tiffio.h
14178 ac_fn_c_check_header_mongrel
"$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
14179 if test "x$ac_cv_header_tiffio_h" = xyes
; then :
14180 cat >>confdefs.h
<<_ACEOF
14181 #define HAVE_TIFFIO_H 1
14188 if test "$ac_cv_header_tiffio_h" = "yes"
14190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
14191 $as_echo_n "checking for -ltiff... " >&6; }
14192 if ${ac_cv_lib_soname_tiff+:} false
; then :
14193 $as_echo_n "(cached) " >&6
14195 ac_check_soname_save_LIBS
=$LIBS
14196 LIBS
="-ltiff $TIFF_LIBS $LIBS"
14197 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14198 /* end confdefs.h. */
14200 /* Override any GCC internal prototype to avoid an error.
14201 Use char because int might match the return type of a GCC
14202 builtin and then its argument prototype would still apply. */
14206 char TIFFClientOpen ();
14210 return TIFFClientOpen ();
14215 if ac_fn_c_try_link
"$LINENO"; then :
14217 dll
) ac_cv_lib_soname_tiff
=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14218 dylib
) ac_cv_lib_soname_tiff
=`$OTOOL -L conftest$ac_exeext | grep "libtiff\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libtiff\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
14219 *) ac_cv_lib_soname_tiff
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14220 if ${ac_cv_lib_soname_tiff:+false} :; then :
14221 ac_cv_lib_soname_tiff
=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14225 rm -f core conftest.err conftest.
$ac_objext \
14226 conftest
$ac_exeext conftest.
$ac_ext
14227 LIBS
=$ac_check_soname_save_LIBS
14229 if ${ac_cv_lib_soname_tiff:+false} :; then :
14230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14231 $as_echo "not found" >&6; }
14234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
14235 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
14237 cat >>confdefs.h
<<_ACEOF
14238 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
14244 CPPFLAGS
=$ac_save_CPPFLAGS
14245 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS
=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14246 test -z "$TIFF_LIBS" || TIFF_LIBS
=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14249 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
14250 case "x$with_tiff" in
14251 x
) as_fn_append wine_notices
"|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
14253 *) as_fn_error $?
"libtiff ${notice_platform}development files not found, TIFF won't be supported.
14254 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
14259 if test "x$with_mpg123" != "xno"
14261 if ${MPG123_CFLAGS:+false} :; then :
14262 if ${PKG_CONFIG+:} false
; then :
14263 MPG123_CFLAGS
=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
14267 if ${MPG123_LIBS:+false} :; then :
14268 if ${PKG_CONFIG+:} false
; then :
14269 MPG123_LIBS
=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
14273 MPG123_LIBS
=${MPG123_LIBS:-"-lmpg123"}
14274 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
14275 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
14276 ac_save_CPPFLAGS
=$CPPFLAGS
14277 CPPFLAGS
="$CPPFLAGS $MPG123_CFLAGS"
14278 for ac_header
in mpg123.h
14280 ac_fn_c_check_header_mongrel
"$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
14281 if test "x$ac_cv_header_mpg123_h" = xyes
; then :
14282 cat >>confdefs.h
<<_ACEOF
14283 #define HAVE_MPG123_H 1
14290 if test "$ac_cv_header_mpg123_h" = "yes"
14292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
14293 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
14294 if ${ac_cv_lib_mpg123_mpg123_feed+:} false
; then :
14295 $as_echo_n "(cached) " >&6
14297 ac_check_lib_save_LIBS
=$LIBS
14298 LIBS
="-lmpg123 $MPG123_LIBS $LIBS"
14299 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14300 /* end confdefs.h. */
14302 /* Override any GCC internal prototype to avoid an error.
14303 Use char because int might match the return type of a GCC
14304 builtin and then its argument prototype would still apply. */
14308 char mpg123_feed ();
14312 return mpg123_feed ();
14317 if ac_fn_c_try_link
"$LINENO"; then :
14318 ac_cv_lib_mpg123_mpg123_feed
=yes
14320 ac_cv_lib_mpg123_mpg123_feed
=no
14322 rm -f core conftest.err conftest.
$ac_objext \
14323 conftest
$ac_exeext conftest.
$ac_ext
14324 LIBS
=$ac_check_lib_save_LIBS
14326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
14327 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
14328 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes
; then :
14338 CPPFLAGS
=$ac_save_CPPFLAGS
14339 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS
=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14340 test -z "$MPG123_LIBS" || MPG123_LIBS
=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14343 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes
-a x
"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes
; then :
14344 case "x$with_mpg123" in
14345 x
) as_fn_append wine_notices
"|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
14347 *) as_fn_error $?
"libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
14348 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
14350 enable_l3codeca_acm
=${enable_l3codeca_acm:-no}
14353 if test "$ac_cv_header_AL_al_h" = "yes"
14355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
14356 $as_echo_n "checking for -lopenal... " >&6; }
14357 if ${ac_cv_lib_soname_openal+:} false
; then :
14358 $as_echo_n "(cached) " >&6
14360 ac_check_soname_save_LIBS
=$LIBS
14361 LIBS
="-lopenal $LIBS"
14362 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14363 /* end confdefs.h. */
14365 /* Override any GCC internal prototype to avoid an error.
14366 Use char because int might match the return type of a GCC
14367 builtin and then its argument prototype would still apply. */
14371 char alGetSource3i ();
14375 return alGetSource3i ();
14380 if ac_fn_c_try_link
"$LINENO"; then :
14382 dll
) ac_cv_lib_soname_openal
=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14383 dylib
) ac_cv_lib_soname_openal
=`$OTOOL -L conftest$ac_exeext | grep "libopenal\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libopenal\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
14384 *) ac_cv_lib_soname_openal
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14385 if ${ac_cv_lib_soname_openal:+false} :; then :
14386 ac_cv_lib_soname_openal
=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14390 rm -f core conftest.err conftest.
$ac_objext \
14391 conftest
$ac_exeext conftest.
$ac_ext
14392 LIBS
=$ac_check_soname_save_LIBS
14394 if ${ac_cv_lib_soname_openal:+false} :; then :
14395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14396 $as_echo "not found" >&6; }
14399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
14400 $as_echo "$ac_cv_lib_soname_openal" >&6; }
14402 cat >>confdefs.h
<<_ACEOF
14403 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
14406 OPENAL_LIBS
="-lopenal"
14408 ac_cv_lib_openal
=yes
14410 cat >>confdefs.h
<<_ACEOF
14411 #define HAVE_OPENAL 1
14416 if test "x$ac_cv_lib_openal" != xyes
; then :
14417 case "x$with_openal" in
14418 x
) as_fn_append wine_notices
"|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
14420 *) as_fn_error $?
"libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
14421 This is an error since --with-openal was requested." "$LINENO" 5 ;;
14423 enable_openal32
=${enable_openal32:-no}
14426 if test "x$ac_cv_lib_openal" = xyes
14428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for openal-soft" >&5
14429 $as_echo_n "checking for openal-soft... " >&6; }
14430 if ${ac_cv_have_openalsoft+:} false
; then :
14431 $as_echo_n "(cached) " >&6
14433 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14434 /* end confdefs.h. */
14436 #include <AL/alc.h>
14437 #include <AL/alext.h>
14438 LPALCRENDERSAMPLESSOFT x;
14447 if ac_fn_c_try_compile
"$LINENO"; then :
14448 ac_cv_have_openalsoft
=yes
14450 ac_cv_have_openalsoft
=no
14452 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_openalsoft" >&5
14455 $as_echo "$ac_cv_have_openalsoft" >&6; }
14457 if test "x$ac_cv_have_openalsoft" != xyes
14459 as_fn_append wine_notices
"|openal-soft ${notice_platform}development files not found (or too old), XAudio2 won't be supported."
14460 enable_x3daudio1_0
=${enable_x3daudio1_0:-no}
14461 enable_x3daudio1_1
=${enable_x3daudio1_1:-no}
14462 enable_x3daudio1_2
=${enable_x3daudio1_2:-no}
14463 enable_x3daudio1_3
=${enable_x3daudio1_3:-no}
14464 enable_x3daudio1_4
=${enable_x3daudio1_4:-no}
14465 enable_x3daudio1_5
=${enable_x3daudio1_5:-no}
14466 enable_x3daudio1_6
=${enable_x3daudio1_6:-no}
14467 enable_x3daudio1_7
=${enable_x3daudio1_7:-no}
14468 enable_xapofx1_1
=${enable_xapofx1_1:-no}
14469 enable_xapofx1_2
=${enable_xapofx1_2:-no}
14470 enable_xapofx1_3
=${enable_xapofx1_3:-no}
14471 enable_xapofx1_4
=${enable_xapofx1_4:-no}
14472 enable_xapofx1_5
=${enable_xapofx1_5:-no}
14473 enable_xaudio2_0
=${enable_xaudio2_0:-no}
14474 enable_xaudio2_1
=${enable_xaudio2_1:-no}
14475 enable_xaudio2_2
=${enable_xaudio2_2:-no}
14476 enable_xaudio2_3
=${enable_xaudio2_3:-no}
14477 enable_xaudio2_4
=${enable_xaudio2_4:-no}
14478 enable_xaudio2_5
=${enable_xaudio2_5:-no}
14479 enable_xaudio2_6
=${enable_xaudio2_6:-no}
14480 enable_xaudio2_7
=${enable_xaudio2_7:-no}
14481 enable_xaudio2_8
=${enable_xaudio2_8:-no}
14482 enable_xaudio2_9
=${enable_xaudio2_9:-no}
14485 if test "$ac_cv_header_kstat_h" = "yes"
14487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
14488 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
14489 if ${ac_cv_lib_kstat_kstat_open+:} false
; then :
14490 $as_echo_n "(cached) " >&6
14492 ac_check_lib_save_LIBS
=$LIBS
14493 LIBS
="-lkstat $LIBS"
14494 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14495 /* end confdefs.h. */
14497 /* Override any GCC internal prototype to avoid an error.
14498 Use char because int might match the return type of a GCC
14499 builtin and then its argument prototype would still apply. */
14503 char kstat_open ();
14507 return kstat_open ();
14512 if ac_fn_c_try_link
"$LINENO"; then :
14513 ac_cv_lib_kstat_kstat_open
=yes
14515 ac_cv_lib_kstat_kstat_open
=no
14517 rm -f core conftest.err conftest.
$ac_objext \
14518 conftest
$ac_exeext conftest.
$ac_ext
14519 LIBS
=$ac_check_lib_save_LIBS
14521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
14522 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
14523 if test "x$ac_cv_lib_kstat_kstat_open" = xyes
; then :
14525 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
14527 KSTAT_LIBS
="-lkstat"
14533 if test "$ac_cv_header_libprocstat_h" = "yes"
14535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
14536 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
14537 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false
; then :
14538 $as_echo_n "(cached) " >&6
14540 ac_check_lib_save_LIBS
=$LIBS
14541 LIBS
="-lprocstat $LIBS"
14542 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14543 /* end confdefs.h. */
14545 /* Override any GCC internal prototype to avoid an error.
14546 Use char because int might match the return type of a GCC
14547 builtin and then its argument prototype would still apply. */
14551 char procstat_open_sysctl ();
14555 return procstat_open_sysctl ();
14560 if ac_fn_c_try_link
"$LINENO"; then :
14561 ac_cv_lib_procstat_procstat_open_sysctl
=yes
14563 ac_cv_lib_procstat_procstat_open_sysctl
=no
14565 rm -f core conftest.err conftest.
$ac_objext \
14566 conftest
$ac_exeext conftest.
$ac_ext
14567 LIBS
=$ac_check_lib_save_LIBS
14569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
14570 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
14571 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes
; then :
14573 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
14575 PROCSTAT_LIBS
="-lprocstat"
14581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
14582 $as_echo_n "checking for -lodbc... " >&6; }
14583 if ${ac_cv_lib_soname_odbc+:} false
; then :
14584 $as_echo_n "(cached) " >&6
14586 ac_check_soname_save_LIBS
=$LIBS
14587 LIBS
="-lodbc $LIBS"
14588 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14589 /* end confdefs.h. */
14591 /* Override any GCC internal prototype to avoid an error.
14592 Use char because int might match the return type of a GCC
14593 builtin and then its argument prototype would still apply. */
14597 char SQLConnect ();
14601 return SQLConnect ();
14606 if ac_fn_c_try_link
"$LINENO"; then :
14608 dll
) ac_cv_lib_soname_odbc
=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14609 dylib
) ac_cv_lib_soname_odbc
=`$OTOOL -L conftest$ac_exeext | grep "libodbc\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libodbc\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
14610 *) ac_cv_lib_soname_odbc
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14611 if ${ac_cv_lib_soname_odbc:+false} :; then :
14612 ac_cv_lib_soname_odbc
=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14616 rm -f core conftest.err conftest.
$ac_objext \
14617 conftest
$ac_exeext conftest.
$ac_ext
14618 LIBS
=$ac_check_soname_save_LIBS
14620 if ${ac_cv_lib_soname_odbc:+false} :; then :
14621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14622 $as_echo "not found" >&6; }
14623 cat >>confdefs.h
<<_ACEOF
14624 #define SONAME_LIBODBC "libodbc.$LIBEXT"
14628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
14629 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
14631 cat >>confdefs.h
<<_ACEOF
14632 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
14638 if test "x$with_netapi" != "xno"
14640 if ${NETAPI_CFLAGS:+false} :; then :
14641 if ${PKG_CONFIG+:} false
; then :
14642 NETAPI_CFLAGS
=`$PKG_CONFIG --cflags netapi 2>/dev/null`
14646 if ${NETAPI_LIBS:+false} :; then :
14647 if ${PKG_CONFIG+:} false
; then :
14648 NETAPI_LIBS
=`$PKG_CONFIG --libs netapi 2>/dev/null`
14653 $as_echo "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
14654 $as_echo "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
14655 ac_save_CPPFLAGS
=$CPPFLAGS
14656 CPPFLAGS
="$CPPFLAGS $NETAPI_CFLAGS"
14657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
14658 $as_echo_n "checking for -lnetapi... " >&6; }
14659 if ${ac_cv_lib_soname_netapi+:} false
; then :
14660 $as_echo_n "(cached) " >&6
14662 ac_check_soname_save_LIBS
=$LIBS
14663 LIBS
="-lnetapi $NETAPI_LIBS $LIBS"
14664 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14665 /* end confdefs.h. */
14667 /* Override any GCC internal prototype to avoid an error.
14668 Use char because int might match the return type of a GCC
14669 builtin and then its argument prototype would still apply. */
14673 char libnetapi_init ();
14677 return libnetapi_init ();
14682 if ac_fn_c_try_link
"$LINENO"; then :
14684 dll
) ac_cv_lib_soname_netapi
=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14685 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'` ;;
14686 *) ac_cv_lib_soname_netapi
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14687 if ${ac_cv_lib_soname_netapi:+false} :; then :
14688 ac_cv_lib_soname_netapi
=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14692 rm -f core conftest.err conftest.
$ac_objext \
14693 conftest
$ac_exeext conftest.
$ac_ext
14694 LIBS
=$ac_check_soname_save_LIBS
14696 if ${ac_cv_lib_soname_netapi:+false} :; then :
14697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14698 $as_echo "not found" >&6; }
14699 cat >>confdefs.h
<<_ACEOF
14700 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
14704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
14705 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
14707 cat >>confdefs.h
<<_ACEOF
14708 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
14713 CPPFLAGS
=$ac_save_CPPFLAGS
14714 test -z "$NETAPI_CFLAGS" || NETAPI_CFLAGS
=`echo " $NETAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14715 test -z "$NETAPI_LIBS" || NETAPI_LIBS
=`echo " $NETAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14719 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono
-a \
14720 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
14722 as_fn_append wine_warnings
"|No sound system was found. Windows applications will be silent."
14728 if test "x${GCC}" = "xyes"
14730 EXTRACFLAGS
="-Wall -pipe"
14732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
14733 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
14734 if ${ac_cv_c_gcc_strength_bug+:} false
; then :
14735 $as_echo_n "(cached) " >&6
14737 if test "$cross_compiling" = yes; then :
14738 ac_cv_c_gcc_strength_bug
="no"
14740 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14741 /* end confdefs.h. */
14742 int L[4] = {0,1,2,3};
14746 static int Array[3];
14747 unsigned int B = 3;
14749 for(i=0; i<B; i++) Array[i] = i - 3;
14750 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
14752 return (Array[1] != -2 || L[2] != 3)
14757 if ac_fn_c_try_run
"$LINENO"; then :
14758 ac_cv_c_gcc_strength_bug
="no"
14760 ac_cv_c_gcc_strength_bug
="yes"
14762 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
14763 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
14767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
14768 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
14769 if test "$ac_cv_c_gcc_strength_bug" = "yes"
14771 EXTRACFLAGS
="$EXTRACFLAGS -fno-strength-reduce"
14774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
14775 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
14776 if ${ac_cv_cflags__fno_builtin+:} false
; then :
14777 $as_echo_n "(cached) " >&6
14779 ac_wine_try_cflags_saved
=$CFLAGS
14780 CFLAGS
="$CFLAGS -fno-builtin"
14781 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14782 /* end confdefs.h. */
14783 int main(int argc, char **argv) { return 0; }
14785 if ac_fn_c_try_link
"$LINENO"; then :
14786 ac_cv_cflags__fno_builtin
=yes
14788 ac_cv_cflags__fno_builtin
=no
14790 rm -f core conftest.err conftest.
$ac_objext \
14791 conftest
$ac_exeext conftest.
$ac_ext
14792 CFLAGS
=$ac_wine_try_cflags_saved
14794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
14795 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
14796 if test "x$ac_cv_cflags__fno_builtin" = xyes
; then :
14797 BUILTINFLAG
="-fno-builtin"
14800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
14801 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
14802 if ${ac_cv_cflags__fno_strict_aliasing+:} false
; then :
14803 $as_echo_n "(cached) " >&6
14805 ac_wine_try_cflags_saved
=$CFLAGS
14806 CFLAGS
="$CFLAGS -fno-strict-aliasing"
14807 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14808 /* end confdefs.h. */
14809 int main(int argc, char **argv) { return 0; }
14811 if ac_fn_c_try_link
"$LINENO"; then :
14812 ac_cv_cflags__fno_strict_aliasing
=yes
14814 ac_cv_cflags__fno_strict_aliasing
=no
14816 rm -f core conftest.err conftest.
$ac_objext \
14817 conftest
$ac_exeext conftest.
$ac_ext
14818 CFLAGS
=$ac_wine_try_cflags_saved
14820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
14821 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
14822 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes
; then :
14823 EXTRACFLAGS
="$EXTRACFLAGS -fno-strict-aliasing"
14825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
14826 $as_echo_n "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
14827 if ${ac_cv_cflags__fexcess_precision_standard+:} false
; then :
14828 $as_echo_n "(cached) " >&6
14830 ac_wine_try_cflags_saved
=$CFLAGS
14831 CFLAGS
="$CFLAGS -fexcess-precision=standard"
14832 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14833 /* end confdefs.h. */
14834 int main(int argc, char **argv) { return 0; }
14836 if ac_fn_c_try_link
"$LINENO"; then :
14837 ac_cv_cflags__fexcess_precision_standard
=yes
14839 ac_cv_cflags__fexcess_precision_standard
=no
14841 rm -f core conftest.err conftest.
$ac_objext \
14842 conftest
$ac_exeext conftest.
$ac_ext
14843 CFLAGS
=$ac_wine_try_cflags_saved
14845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
14846 $as_echo "$ac_cv_cflags__fexcess_precision_standard" >&6; }
14847 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes
; then :
14848 EXCESS_PRECISION_CFLAGS
="-fexcess-precision=standard"
14851 saved_CFLAGS
=$CFLAGS
14852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
14853 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
14854 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false
; then :
14855 $as_echo_n "(cached) " >&6
14857 ac_wine_try_cflags_saved
=$CFLAGS
14858 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
14859 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14860 /* end confdefs.h. */
14861 int main(int argc, char **argv) { return 0; }
14863 if ac_fn_c_try_link
"$LINENO"; then :
14864 ac_cv_cflags__Werror_unknown_warning_option
=yes
14866 ac_cv_cflags__Werror_unknown_warning_option
=no
14868 rm -f core conftest.err conftest.
$ac_objext \
14869 conftest
$ac_exeext conftest.
$ac_ext
14870 CFLAGS
=$ac_wine_try_cflags_saved
14872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
14873 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
14874 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes
; then :
14875 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
14877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
14878 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
14879 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false
; then :
14880 $as_echo_n "(cached) " >&6
14882 ac_wine_try_cflags_saved
=$CFLAGS
14883 CFLAGS
="$CFLAGS -Wdeclaration-after-statement"
14884 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14885 /* end confdefs.h. */
14886 int main(int argc, char **argv) { return 0; }
14888 if ac_fn_c_try_link
"$LINENO"; then :
14889 ac_cv_cflags__Wdeclaration_after_statement
=yes
14891 ac_cv_cflags__Wdeclaration_after_statement
=no
14893 rm -f core conftest.err conftest.
$ac_objext \
14894 conftest
$ac_exeext conftest.
$ac_ext
14895 CFLAGS
=$ac_wine_try_cflags_saved
14897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
14898 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
14899 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes
; then :
14900 EXTRACFLAGS
="$EXTRACFLAGS -Wdeclaration-after-statement"
14902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
14903 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
14904 if ${ac_cv_cflags__Wempty_body+:} false
; then :
14905 $as_echo_n "(cached) " >&6
14907 ac_wine_try_cflags_saved
=$CFLAGS
14908 CFLAGS
="$CFLAGS -Wempty-body"
14909 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14910 /* end confdefs.h. */
14911 int main(int argc, char **argv) { return 0; }
14913 if ac_fn_c_try_link
"$LINENO"; then :
14914 ac_cv_cflags__Wempty_body
=yes
14916 ac_cv_cflags__Wempty_body
=no
14918 rm -f core conftest.err conftest.
$ac_objext \
14919 conftest
$ac_exeext conftest.
$ac_ext
14920 CFLAGS
=$ac_wine_try_cflags_saved
14922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
14923 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
14924 if test "x$ac_cv_cflags__Wempty_body" = xyes
; then :
14925 EXTRACFLAGS
="$EXTRACFLAGS -Wempty-body"
14927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
14928 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
14929 if ${ac_cv_cflags__Wignored_qualifiers+:} false
; then :
14930 $as_echo_n "(cached) " >&6
14932 ac_wine_try_cflags_saved
=$CFLAGS
14933 CFLAGS
="$CFLAGS -Wignored-qualifiers"
14934 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14935 /* end confdefs.h. */
14936 int main(int argc, char **argv) { return 0; }
14938 if ac_fn_c_try_link
"$LINENO"; then :
14939 ac_cv_cflags__Wignored_qualifiers
=yes
14941 ac_cv_cflags__Wignored_qualifiers
=no
14943 rm -f core conftest.err conftest.
$ac_objext \
14944 conftest
$ac_exeext conftest.
$ac_ext
14945 CFLAGS
=$ac_wine_try_cflags_saved
14947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
14948 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
14949 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes
; then :
14950 EXTRACFLAGS
="$EXTRACFLAGS -Wignored-qualifiers"
14952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpacked-not-aligned" >&5
14953 $as_echo_n "checking whether the compiler supports -Wpacked-not-aligned... " >&6; }
14954 if ${ac_cv_cflags__Wpacked_not_aligned+:} false
; then :
14955 $as_echo_n "(cached) " >&6
14957 ac_wine_try_cflags_saved
=$CFLAGS
14958 CFLAGS
="$CFLAGS -Wpacked-not-aligned"
14959 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14960 /* end confdefs.h. */
14961 int main(int argc, char **argv) { return 0; }
14963 if ac_fn_c_try_link
"$LINENO"; then :
14964 ac_cv_cflags__Wpacked_not_aligned
=yes
14966 ac_cv_cflags__Wpacked_not_aligned
=no
14968 rm -f core conftest.err conftest.
$ac_objext \
14969 conftest
$ac_exeext conftest.
$ac_ext
14970 CFLAGS
=$ac_wine_try_cflags_saved
14972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpacked_not_aligned" >&5
14973 $as_echo "$ac_cv_cflags__Wpacked_not_aligned" >&6; }
14974 if test "x$ac_cv_cflags__Wpacked_not_aligned" = xyes
; then :
14975 EXTRACFLAGS
="$EXTRACFLAGS -Wno-packed-not-aligned"
14977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpragma-pack" >&5
14978 $as_echo_n "checking whether the compiler supports -Wpragma-pack... " >&6; }
14979 if ${ac_cv_cflags__Wpragma_pack+:} false
; then :
14980 $as_echo_n "(cached) " >&6
14982 ac_wine_try_cflags_saved
=$CFLAGS
14983 CFLAGS
="$CFLAGS -Wpragma-pack"
14984 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14985 /* end confdefs.h. */
14986 int main(int argc, char **argv) { return 0; }
14988 if ac_fn_c_try_link
"$LINENO"; then :
14989 ac_cv_cflags__Wpragma_pack
=yes
14991 ac_cv_cflags__Wpragma_pack
=no
14993 rm -f core conftest.err conftest.
$ac_objext \
14994 conftest
$ac_exeext conftest.
$ac_ext
14995 CFLAGS
=$ac_wine_try_cflags_saved
14997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpragma_pack" >&5
14998 $as_echo "$ac_cv_cflags__Wpragma_pack" >&6; }
14999 if test "x$ac_cv_cflags__Wpragma_pack" = xyes
; then :
15000 EXTRACFLAGS
="$EXTRACFLAGS -Wno-pragma-pack"
15002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
15003 $as_echo_n "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
15004 if ${ac_cv_cflags__Wshift_overflow_2+:} false
; then :
15005 $as_echo_n "(cached) " >&6
15007 ac_wine_try_cflags_saved
=$CFLAGS
15008 CFLAGS
="$CFLAGS -Wshift-overflow=2"
15009 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15010 /* end confdefs.h. */
15011 int main(int argc, char **argv) { return 0; }
15013 if ac_fn_c_try_link
"$LINENO"; then :
15014 ac_cv_cflags__Wshift_overflow_2
=yes
15016 ac_cv_cflags__Wshift_overflow_2
=no
15018 rm -f core conftest.err conftest.
$ac_objext \
15019 conftest
$ac_exeext conftest.
$ac_ext
15020 CFLAGS
=$ac_wine_try_cflags_saved
15022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
15023 $as_echo "$ac_cv_cflags__Wshift_overflow_2" >&6; }
15024 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes
; then :
15025 EXTRACFLAGS
="$EXTRACFLAGS -Wshift-overflow=2"
15027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
15028 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
15029 if ${ac_cv_cflags__Wstrict_prototypes+:} false
; then :
15030 $as_echo_n "(cached) " >&6
15032 ac_wine_try_cflags_saved
=$CFLAGS
15033 CFLAGS
="$CFLAGS -Wstrict-prototypes"
15034 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15035 /* end confdefs.h. */
15036 int main(int argc, char **argv) { return 0; }
15038 if ac_fn_c_try_link
"$LINENO"; then :
15039 ac_cv_cflags__Wstrict_prototypes
=yes
15041 ac_cv_cflags__Wstrict_prototypes
=no
15043 rm -f core conftest.err conftest.
$ac_objext \
15044 conftest
$ac_exeext conftest.
$ac_ext
15045 CFLAGS
=$ac_wine_try_cflags_saved
15047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
15048 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
15049 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes
; then :
15050 EXTRACFLAGS
="$EXTRACFLAGS -Wstrict-prototypes"
15052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
15053 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
15054 if ${ac_cv_cflags__Wtype_limits+:} false
; then :
15055 $as_echo_n "(cached) " >&6
15057 ac_wine_try_cflags_saved
=$CFLAGS
15058 CFLAGS
="$CFLAGS -Wtype-limits"
15059 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15060 /* end confdefs.h. */
15061 int main(int argc, char **argv) { return 0; }
15063 if ac_fn_c_try_link
"$LINENO"; then :
15064 ac_cv_cflags__Wtype_limits
=yes
15066 ac_cv_cflags__Wtype_limits
=no
15068 rm -f core conftest.err conftest.
$ac_objext \
15069 conftest
$ac_exeext conftest.
$ac_ext
15070 CFLAGS
=$ac_wine_try_cflags_saved
15072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
15073 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
15074 if test "x$ac_cv_cflags__Wtype_limits" = xyes
; then :
15075 EXTRACFLAGS
="$EXTRACFLAGS -Wtype-limits"
15077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
15078 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
15079 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false
; then :
15080 $as_echo_n "(cached) " >&6
15082 ac_wine_try_cflags_saved
=$CFLAGS
15083 CFLAGS
="$CFLAGS -Wunused-but-set-parameter"
15084 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15085 /* end confdefs.h. */
15086 int main(int argc, char **argv) { return 0; }
15088 if ac_fn_c_try_link
"$LINENO"; then :
15089 ac_cv_cflags__Wunused_but_set_parameter
=yes
15091 ac_cv_cflags__Wunused_but_set_parameter
=no
15093 rm -f core conftest.err conftest.
$ac_objext \
15094 conftest
$ac_exeext conftest.
$ac_ext
15095 CFLAGS
=$ac_wine_try_cflags_saved
15097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
15098 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
15099 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes
; then :
15100 EXTRACFLAGS
="$EXTRACFLAGS -Wunused-but-set-parameter"
15102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
15103 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
15104 if ${ac_cv_cflags__Wvla+:} false
; then :
15105 $as_echo_n "(cached) " >&6
15107 ac_wine_try_cflags_saved
=$CFLAGS
15108 CFLAGS
="$CFLAGS -Wvla"
15109 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15110 /* end confdefs.h. */
15111 int main(int argc, char **argv) { return 0; }
15113 if ac_fn_c_try_link
"$LINENO"; then :
15114 ac_cv_cflags__Wvla
=yes
15116 ac_cv_cflags__Wvla
=no
15118 rm -f core conftest.err conftest.
$ac_objext \
15119 conftest
$ac_exeext conftest.
$ac_ext
15120 CFLAGS
=$ac_wine_try_cflags_saved
15122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
15123 $as_echo "$ac_cv_cflags__Wvla" >&6; }
15124 if test "x$ac_cv_cflags__Wvla" = xyes
; then :
15125 EXTRACFLAGS
="$EXTRACFLAGS -Wvla"
15127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
15128 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
15129 if ${ac_cv_cflags__Wwrite_strings+:} false
; then :
15130 $as_echo_n "(cached) " >&6
15132 ac_wine_try_cflags_saved
=$CFLAGS
15133 CFLAGS
="$CFLAGS -Wwrite-strings"
15134 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15135 /* end confdefs.h. */
15136 int main(int argc, char **argv) { return 0; }
15138 if ac_fn_c_try_link
"$LINENO"; then :
15139 ac_cv_cflags__Wwrite_strings
=yes
15141 ac_cv_cflags__Wwrite_strings
=no
15143 rm -f core conftest.err conftest.
$ac_objext \
15144 conftest
$ac_exeext conftest.
$ac_ext
15145 CFLAGS
=$ac_wine_try_cflags_saved
15147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
15148 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
15149 if test "x$ac_cv_cflags__Wwrite_strings" = xyes
; then :
15150 EXTRACFLAGS
="$EXTRACFLAGS -Wwrite-strings"
15153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
15154 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
15155 if ${ac_cv_cflags__Wpointer_arith+:} false
; then :
15156 $as_echo_n "(cached) " >&6
15158 ac_wine_try_cflags_saved
=$CFLAGS
15159 CFLAGS
="$CFLAGS -Wpointer-arith"
15160 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15161 /* end confdefs.h. */
15162 int main(int argc, char **argv) { return 0; }
15164 if ac_fn_c_try_link
"$LINENO"; then :
15165 ac_cv_cflags__Wpointer_arith
=yes
15167 ac_cv_cflags__Wpointer_arith
=no
15169 rm -f core conftest.err conftest.
$ac_objext \
15170 conftest
$ac_exeext conftest.
$ac_ext
15171 CFLAGS
=$ac_wine_try_cflags_saved
15173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
15174 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
15175 if test "x$ac_cv_cflags__Wpointer_arith" = xyes
; then :
15176 saved_string_h_CFLAGS
=$CFLAGS
15177 CFLAGS
="$CFLAGS -Wpointer-arith -Werror"
15178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
15179 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
15180 if ${ac_cv_c_string_h_warnings+:} false
; then :
15181 $as_echo_n "(cached) " >&6
15183 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15184 /* end confdefs.h. */
15185 #include <string.h>
15194 if ac_fn_c_try_compile
"$LINENO"; then :
15195 ac_cv_c_string_h_warnings
=no
15197 ac_cv_c_string_h_warnings
=yes
15199 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
15202 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
15203 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS
="$EXTRACFLAGS -Wpointer-arith"
15204 CFLAGS
=$saved_string_h_CFLAGS
15207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
15208 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
15209 if ${ac_cv_cflags__Wlogical_op+:} false
; then :
15210 $as_echo_n "(cached) " >&6
15212 ac_wine_try_cflags_saved
=$CFLAGS
15213 CFLAGS
="$CFLAGS -Wlogical-op"
15214 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15215 /* end confdefs.h. */
15216 int main(int argc, char **argv) { return 0; }
15218 if ac_fn_c_try_link
"$LINENO"; then :
15219 ac_cv_cflags__Wlogical_op
=yes
15221 ac_cv_cflags__Wlogical_op
=no
15223 rm -f core conftest.err conftest.
$ac_objext \
15224 conftest
$ac_exeext conftest.
$ac_ext
15225 CFLAGS
=$ac_wine_try_cflags_saved
15227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
15228 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
15229 if test "x$ac_cv_cflags__Wlogical_op" = xyes
; then :
15230 saved_string_h_CFLAGS
=$CFLAGS
15231 CFLAGS
="$CFLAGS -Wlogical-op -Werror"
15232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
15233 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
15234 if ${ac_cv_c_logicalop_noisy+:} false
; then :
15235 $as_echo_n "(cached) " >&6
15237 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15238 /* end confdefs.h. */
15239 #include <string.h>
15240 char*f(const char *h,char n) {return strchr(h,n);}
15249 if ac_fn_c_try_compile
"$LINENO"; then :
15250 ac_cv_c_logicalop_noisy
=no
15252 ac_cv_c_logicalop_noisy
=yes
15254 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
15257 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
15258 CFLAGS
=$saved_string_h_CFLAGS
15259 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS
="$EXTRACFLAGS -Wlogical-op"
15262 CFLAGS
=$saved_CFLAGS
15264 for ac_flag
in $CFLAGS; do
15266 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
15267 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
15268 if ${ac_cv_cflags__gdwarf_2+:} false
; then :
15269 $as_echo_n "(cached) " >&6
15271 ac_wine_try_cflags_saved
=$CFLAGS
15272 CFLAGS
="$CFLAGS -gdwarf-2"
15273 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15274 /* end confdefs.h. */
15275 int main(int argc, char **argv) { return 0; }
15277 if ac_fn_c_try_link
"$LINENO"; then :
15278 ac_cv_cflags__gdwarf_2
=yes
15280 ac_cv_cflags__gdwarf_2
=no
15282 rm -f core conftest.err conftest.
$ac_objext \
15283 conftest
$ac_exeext conftest.
$ac_ext
15284 CFLAGS
=$ac_wine_try_cflags_saved
15286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
15287 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
15288 if test "x$ac_cv_cflags__gdwarf_2" = xyes
; then :
15289 EXTRACFLAGS
="$EXTRACFLAGS -gdwarf-2"
15291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
15292 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
15293 if ${ac_cv_cflags__gstrict_dwarf+:} false
; then :
15294 $as_echo_n "(cached) " >&6
15296 ac_wine_try_cflags_saved
=$CFLAGS
15297 CFLAGS
="$CFLAGS -gstrict-dwarf"
15298 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15299 /* end confdefs.h. */
15300 int main(int argc, char **argv) { return 0; }
15302 if ac_fn_c_try_link
"$LINENO"; then :
15303 ac_cv_cflags__gstrict_dwarf
=yes
15305 ac_cv_cflags__gstrict_dwarf
=no
15307 rm -f core conftest.err conftest.
$ac_objext \
15308 conftest
$ac_exeext conftest.
$ac_ext
15309 CFLAGS
=$ac_wine_try_cflags_saved
15311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
15312 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
15313 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes
; then :
15314 EXTRACFLAGS
="$EXTRACFLAGS -gstrict-dwarf"
15320 *i
[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
15321 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
15322 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false
; then :
15323 $as_echo_n "(cached) " >&6
15325 ac_wine_try_cflags_saved
=$CFLAGS
15326 CFLAGS
="$CFLAGS -fno-omit-frame-pointer"
15327 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15328 /* end confdefs.h. */
15329 int main(int argc, char **argv) { return 0; }
15331 if ac_fn_c_try_link
"$LINENO"; then :
15332 ac_cv_cflags__fno_omit_frame_pointer
=yes
15334 ac_cv_cflags__fno_omit_frame_pointer
=no
15336 rm -f core conftest.err conftest.
$ac_objext \
15337 conftest
$ac_exeext conftest.
$ac_ext
15338 CFLAGS
=$ac_wine_try_cflags_saved
15340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
15341 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
15342 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes
; then :
15343 EXTRACFLAGS
="$EXTRACFLAGS -fno-omit-frame-pointer"
15348 x86_64-
*mingw32
*|x86_64-
*cygwin
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
15349 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
15350 if ${ac_cv_cflags__Wno_format+:} false
; then :
15351 $as_echo_n "(cached) " >&6
15353 ac_wine_try_cflags_saved
=$CFLAGS
15354 CFLAGS
="$CFLAGS -Wno-format"
15355 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15356 /* end confdefs.h. */
15357 int main(int argc, char **argv) { return 0; }
15359 if ac_fn_c_try_link
"$LINENO"; then :
15360 ac_cv_cflags__Wno_format
=yes
15362 ac_cv_cflags__Wno_format
=no
15364 rm -f core conftest.err conftest.
$ac_objext \
15365 conftest
$ac_exeext conftest.
$ac_ext
15366 CFLAGS
=$ac_wine_try_cflags_saved
15368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
15369 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
15370 if test "x$ac_cv_cflags__Wno_format" = xyes
; then :
15371 EXTRACFLAGS
="$EXTRACFLAGS -Wno-format"
15375 if test "x$enable_maintainer_mode" = "xyes"
15377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
15378 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
15379 if ${ac_cv_cflags__Werror+:} false
; then :
15380 $as_echo_n "(cached) " >&6
15382 ac_wine_try_cflags_saved
=$CFLAGS
15383 CFLAGS
="$CFLAGS -Werror"
15384 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15385 /* end confdefs.h. */
15386 int main(int argc, char **argv) { return 0; }
15388 if ac_fn_c_try_link
"$LINENO"; then :
15389 ac_cv_cflags__Werror
=yes
15391 ac_cv_cflags__Werror
=no
15393 rm -f core conftest.err conftest.
$ac_objext \
15394 conftest
$ac_exeext conftest.
$ac_ext
15395 CFLAGS
=$ac_wine_try_cflags_saved
15397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
15398 $as_echo "$ac_cv_cflags__Werror" >&6; }
15399 if test "x$ac_cv_cflags__Werror" = xyes
; then :
15400 EXTRACFLAGS
="$EXTRACFLAGS -Werror"
15404 saved_CFLAGS
="$CFLAGS"
15405 CFLAGS
="$CFLAGS -Werror"
15406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
15407 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
15408 if ${ac_cv_have_ms_hook_prologue+:} false
; then :
15409 $as_echo_n "(cached) " >&6
15411 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15412 /* end confdefs.h. */
15413 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
15422 if ac_fn_c_try_compile
"$LINENO"; then :
15423 ac_cv_have_ms_hook_prologue
="yes"
15425 ac_cv_have_ms_hook_prologue
="no"
15427 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
15430 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
15431 CFLAGS
="$saved_CFLAGS"
15432 if test "$ac_cv_have_ms_hook_prologue" = "yes"
15435 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
15438 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
15444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
15445 $as_echo_n "checking for the need to disable Fortify... " >&6; }
15446 if ${ac_cv_c_fortify_enabled+:} false
; then :
15447 $as_echo_n "(cached) " >&6
15449 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15450 /* end confdefs.h. */
15451 #include <string.h>
15455 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
15456 #error Fortify enabled
15462 if ac_fn_c_try_compile
"$LINENO"; then :
15463 ac_cv_c_fortify_enabled
=no
15465 ac_cv_c_fortify_enabled
=yes
15467 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
15470 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
15471 if test "$ac_cv_c_fortify_enabled" = yes
15473 CFLAGS
="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
15477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
15478 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
15479 if ${ac_cv_c_extern_prefix+:} false
; then :
15480 $as_echo_n "(cached) " >&6
15482 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15483 /* end confdefs.h. */
15484 extern int ac_test;
15488 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
15493 if ac_fn_c_try_link
"$LINENO"; then :
15494 ac_cv_c_extern_prefix
="yes"
15496 ac_cv_c_extern_prefix
="no"
15498 rm -f core conftest.err conftest.
$ac_objext \
15499 conftest
$ac_exeext conftest.
$ac_ext
15501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
15502 $as_echo "$ac_cv_c_extern_prefix" >&6; }
15506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
15507 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
15508 if ${ac_cv_c_stdcall_suffix+:} false
; then :
15509 $as_echo_n "(cached) " >&6
15511 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15512 /* end confdefs.h. */
15514 #define __stdcall __attribute__((__stdcall__))
15516 int __stdcall ac_test(int i) { return i; }
15520 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
15525 if ac_fn_c_try_link
"$LINENO"; then :
15526 ac_cv_c_stdcall_suffix
="yes"
15528 ac_cv_c_stdcall_suffix
="no"
15530 rm -f core conftest.err conftest.
$ac_objext \
15531 conftest
$ac_exeext conftest.
$ac_ext
15533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
15534 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
15535 *) ac_cv_c_stdcall_suffix
="no" ;;
15539 if test "$ac_cv_c_extern_prefix" = "yes"
15541 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
15543 asm_name_prefix
="_"
15545 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
15551 if test "$ac_cv_c_stdcall_suffix" = "yes"
15553 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
15556 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
15561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
15562 $as_echo_n "checking how to define a function in assembly code... " >&6; }
15563 if ${ac_cv_asm_func_def+:} false
; then :
15564 $as_echo_n "(cached) " >&6
15566 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15567 /* end confdefs.h. */
15572 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
15577 if ac_fn_c_try_link
"$LINENO"; then :
15578 ac_cv_asm_func_def
=".def"
15580 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15581 /* end confdefs.h. */
15586 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
15591 if ac_fn_c_try_link
"$LINENO"; then :
15592 ac_cv_asm_func_def
=".type @function"
15594 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15595 /* end confdefs.h. */
15600 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
15605 if ac_fn_c_try_link
"$LINENO"; then :
15606 ac_cv_asm_func_def
=".type 2"
15608 ac_cv_asm_func_def
="unknown"
15610 rm -f core conftest.err conftest.
$ac_objext \
15611 conftest
$ac_exeext conftest.
$ac_ext
15613 rm -f core conftest.err conftest.
$ac_objext \
15614 conftest
$ac_exeext conftest.
$ac_ext
15616 rm -f core conftest.err conftest.
$ac_objext \
15617 conftest
$ac_exeext conftest.
$ac_ext
15619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
15620 $as_echo "$ac_cv_asm_func_def" >&6; }
15623 case "$ac_cv_asm_func_def" in
15625 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
15627 asm_func_header
=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
15629 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
15631 asm_func_header
=".type $asm_name_prefix\" #name suffix \",@function" ;;
15633 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
15635 asm_func_header
=".type $asm_name_prefix\" #name suffix \",2" ;;
15637 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
15639 asm_func_header
="" ;;
15642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
15643 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
15644 if ${ac_cv_c_asm_outside_funcs+:} false
; then :
15645 $as_echo_n "(cached) " >&6
15647 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15648 /* end confdefs.h. */
15649 asm(".text\n\t.long 0");
15658 if ac_fn_c_try_compile
"$LINENO"; then :
15659 ac_cv_c_asm_outside_funcs
="yes"
15661 ac_cv_c_asm_outside_funcs
="no"
15663 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
15666 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
15668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
15669 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
15670 if ${ac_cv_c_dot_previous+:} false
; then :
15671 $as_echo_n "(cached) " >&6
15673 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15674 /* end confdefs.h. */
15679 asm(".text\nac_test:\t.long 0\n\t.previous");
15684 if ac_fn_c_try_link
"$LINENO"; then :
15685 ac_cv_c_dot_previous
="yes"
15687 ac_cv_c_dot_previous
="no"
15689 rm -f core conftest.err conftest.
$ac_objext \
15690 conftest
$ac_exeext conftest.
$ac_ext
15692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
15693 $as_echo "$ac_cv_c_dot_previous" >&6; }
15695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
15696 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
15697 if ${ac_cv_c_cfi_support+:} false
; then :
15698 $as_echo_n "(cached) " >&6
15700 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15701 /* end confdefs.h. */
15702 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
15711 if ac_fn_c_try_compile
"$LINENO"; then :
15712 ac_cv_c_cfi_support
="yes"
15714 ac_cv_c_cfi_support
="no"
15716 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
15719 $as_echo "$ac_cv_c_cfi_support" >&6; }
15721 asm_func_header
=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
15722 asm_func_trailer
=""
15723 if test "$ac_cv_c_dot_previous" = "yes"
15725 asm_func_trailer
="\\n\\t.previous"
15727 if test "$ac_cv_c_cfi_support" = "yes"
15729 asm_func_header
="$asm_func_header.cfi_startproc\\n\\t"
15730 asm_func_trailer
="\\n\\t.cfi_endproc$asm_func_trailer"
15732 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
15734 UNWINDFLAGS
=-fasynchronous-unwind-tables
15737 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
15739 if test "x$enable_win64" = "xyes"
15741 as_fn_append wine_warnings
"|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
15745 asm_func_code
="$asm_func_header\" code \"$asm_func_trailer"
15748 if test "$ac_cv_c_asm_outside_funcs" = "yes"
15750 cat >>confdefs.h
<<_ACEOF
15751 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
15755 cat >>confdefs.h
<<_ACEOF
15756 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
15761 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
15764 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
15769 cygwin
*|mingw32
*) TOOLSEXT
=".exe"
15776 *i
[3456789]86*|x86_64
*|
*aarch64
*)
15777 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS
"loader/wine-preloader"
15778 WINELOADER_PROGRAMS
="$WINELOADER_PROGRAMS $wine_binary-preloader"
15785 ac_save_CFLAGS
="$CFLAGS"
15786 CFLAGS
="$CFLAGS $BUILTINFLAG"
15868 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15869 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
15870 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
15871 cat >>confdefs.h
<<_ACEOF
15872 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15878 CFLAGS
="$ac_save_CFLAGS"
15880 if test "$ac_cv_func_dlopen" = no
15882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
15883 $as_echo_n "checking for dlopen in -ldl... " >&6; }
15884 if ${ac_cv_lib_dl_dlopen+:} false
; then :
15885 $as_echo_n "(cached) " >&6
15887 ac_check_lib_save_LIBS
=$LIBS
15889 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15890 /* end confdefs.h. */
15892 /* Override any GCC internal prototype to avoid an error.
15893 Use char because int might match the return type of a GCC
15894 builtin and then its argument prototype would still apply. */
15907 if ac_fn_c_try_link
"$LINENO"; then :
15908 ac_cv_lib_dl_dlopen
=yes
15910 ac_cv_lib_dl_dlopen
=no
15912 rm -f core conftest.err conftest.
$ac_objext \
15913 conftest
$ac_exeext conftest.
$ac_ext
15914 LIBS
=$ac_check_lib_save_LIBS
15916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
15917 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
15918 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
15919 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
15925 ac_wine_check_funcs_save_LIBS
="$LIBS"
15926 LIBS
="$LIBS $DL_LIBS"
15927 for ac_func
in dladdr
15929 ac_fn_c_check_func
"$LINENO" "dladdr" "ac_cv_func_dladdr"
15930 if test "x$ac_cv_func_dladdr" = xyes
; then :
15931 cat >>confdefs.h
<<_ACEOF
15932 #define HAVE_DLADDR 1
15938 LIBS
="$ac_wine_check_funcs_save_LIBS"
15940 if test "$ac_cv_func_poll" = no
15942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
15943 $as_echo_n "checking for poll in -lpoll... " >&6; }
15944 if ${ac_cv_lib_poll_poll+:} false
; then :
15945 $as_echo_n "(cached) " >&6
15947 ac_check_lib_save_LIBS
=$LIBS
15948 LIBS
="-lpoll $LIBS"
15949 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15950 /* end confdefs.h. */
15952 /* Override any GCC internal prototype to avoid an error.
15953 Use char because int might match the return type of a GCC
15954 builtin and then its argument prototype would still apply. */
15967 if ac_fn_c_try_link
"$LINENO"; then :
15968 ac_cv_lib_poll_poll
=yes
15970 ac_cv_lib_poll_poll
=no
15972 rm -f core conftest.err conftest.
$ac_objext \
15973 conftest
$ac_exeext conftest.
$ac_ext
15974 LIBS
=$ac_check_lib_save_LIBS
15976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
15977 $as_echo "$ac_cv_lib_poll_poll" >&6; }
15978 if test "x$ac_cv_lib_poll_poll" = xyes
; then :
15979 $as_echo "#define HAVE_POLL 1" >>confdefs.h
15986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
15987 $as_echo_n "checking for library containing gethostbyname... " >&6; }
15988 if ${ac_cv_search_gethostbyname+:} false
; then :
15989 $as_echo_n "(cached) " >&6
15991 ac_func_search_save_LIBS
=$LIBS
15992 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15993 /* end confdefs.h. */
15995 /* Override any GCC internal prototype to avoid an error.
15996 Use char because int might match the return type of a GCC
15997 builtin and then its argument prototype would still apply. */
16001 char gethostbyname ();
16005 return gethostbyname ();
16010 for ac_lib
in '' nsl
; do
16011 if test -z "$ac_lib"; then
16012 ac_res
="none required"
16015 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
16017 if ac_fn_c_try_link
"$LINENO"; then :
16018 ac_cv_search_gethostbyname
=$ac_res
16020 rm -f core conftest.err conftest.
$ac_objext \
16022 if ${ac_cv_search_gethostbyname+:} false
; then :
16026 if ${ac_cv_search_gethostbyname+:} false
; then :
16029 ac_cv_search_gethostbyname
=no
16031 rm conftest.
$ac_ext
16032 LIBS
=$ac_func_search_save_LIBS
16034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
16035 $as_echo "$ac_cv_search_gethostbyname" >&6; }
16036 ac_res
=$ac_cv_search_gethostbyname
16037 if test "$ac_res" != no
; then :
16038 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
16043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
16044 $as_echo_n "checking for library containing connect... " >&6; }
16045 if ${ac_cv_search_connect+:} false
; then :
16046 $as_echo_n "(cached) " >&6
16048 ac_func_search_save_LIBS
=$LIBS
16049 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16050 /* end confdefs.h. */
16052 /* Override any GCC internal prototype to avoid an error.
16053 Use char because int might match the return type of a GCC
16054 builtin and then its argument prototype would still apply. */
16067 for ac_lib
in '' socket
; do
16068 if test -z "$ac_lib"; then
16069 ac_res
="none required"
16072 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
16074 if ac_fn_c_try_link
"$LINENO"; then :
16075 ac_cv_search_connect
=$ac_res
16077 rm -f core conftest.err conftest.
$ac_objext \
16079 if ${ac_cv_search_connect+:} false
; then :
16083 if ${ac_cv_search_connect+:} false
; then :
16086 ac_cv_search_connect
=no
16088 rm conftest.
$ac_ext
16089 LIBS
=$ac_func_search_save_LIBS
16091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
16092 $as_echo "$ac_cv_search_connect" >&6; }
16093 ac_res
=$ac_cv_search_connect
16094 if test "$ac_res" != no
; then :
16095 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
16100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
16101 $as_echo_n "checking for library containing inet_aton... " >&6; }
16102 if ${ac_cv_search_inet_aton+:} false
; then :
16103 $as_echo_n "(cached) " >&6
16105 ac_func_search_save_LIBS
=$LIBS
16106 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16107 /* end confdefs.h. */
16109 /* Override any GCC internal prototype to avoid an error.
16110 Use char because int might match the return type of a GCC
16111 builtin and then its argument prototype would still apply. */
16119 return inet_aton ();
16124 for ac_lib
in '' resolv
; do
16125 if test -z "$ac_lib"; then
16126 ac_res
="none required"
16129 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
16131 if ac_fn_c_try_link
"$LINENO"; then :
16132 ac_cv_search_inet_aton
=$ac_res
16134 rm -f core conftest.err conftest.
$ac_objext \
16136 if ${ac_cv_search_inet_aton+:} false
; then :
16140 if ${ac_cv_search_inet_aton+:} false
; then :
16143 ac_cv_search_inet_aton
=no
16145 rm conftest.
$ac_ext
16146 LIBS
=$ac_func_search_save_LIBS
16148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
16149 $as_echo "$ac_cv_search_inet_aton" >&6; }
16150 ac_res
=$ac_cv_search_inet_aton
16151 if test "$ac_res" != no
; then :
16152 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
16172 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16173 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
16174 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
16175 cat >>confdefs.h
<<_ACEOF
16176 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
16185 $as_echo_n "checking for library containing clock_gettime... " >&6; }
16186 if ${ac_cv_search_clock_gettime+:} false
; then :
16187 $as_echo_n "(cached) " >&6
16189 ac_func_search_save_LIBS
=$LIBS
16190 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16191 /* end confdefs.h. */
16193 /* Override any GCC internal prototype to avoid an error.
16194 Use char because int might match the return type of a GCC
16195 builtin and then its argument prototype would still apply. */
16199 char clock_gettime ();
16203 return clock_gettime ();
16208 for ac_lib
in '' rt
; do
16209 if test -z "$ac_lib"; then
16210 ac_res
="none required"
16213 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
16215 if ac_fn_c_try_link
"$LINENO"; then :
16216 ac_cv_search_clock_gettime
=$ac_res
16218 rm -f core conftest.err conftest.
$ac_objext \
16220 if ${ac_cv_search_clock_gettime+:} false
; then :
16224 if ${ac_cv_search_clock_gettime+:} false
; then :
16227 ac_cv_search_clock_gettime
=no
16229 rm conftest.
$ac_ext
16230 LIBS
=$ac_func_search_save_LIBS
16232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
16233 $as_echo "$ac_cv_search_clock_gettime" >&6; }
16234 ac_res
=$ac_cv_search_clock_gettime
16235 if test "$ac_res" != no
; then :
16236 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
16238 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
16240 test "$ac_res" = "none required" || RT_LIBS
="$ac_res"
16246 if test "x$with_ldap" != "xno"
16248 if ${LDAP_CFLAGS:+false} :; then :
16249 if ${PKG_CONFIG+:} false
; then :
16250 LDAP_CFLAGS
=`$PKG_CONFIG --cflags openldap 2>/dev/null`
16254 if ${LDAP_LIBS:+false} :; then :
16255 if ${PKG_CONFIG+:} false
; then :
16256 LDAP_LIBS
=`$PKG_CONFIG --libs openldap 2>/dev/null`
16260 LDAP_LIBS
=${LDAP_LIBS:-"-lldap_r -llber"}
16261 $as_echo "$as_me:${as_lineno-$LINENO}: openldap cflags: $LDAP_CFLAGS" >&5
16262 $as_echo "$as_me:${as_lineno-$LINENO}: openldap libs: $LDAP_LIBS" >&5
16263 ac_save_CPPFLAGS
=$CPPFLAGS
16264 CPPFLAGS
="$CPPFLAGS $LDAP_CFLAGS"
16265 for ac_header
in ldap.h lber.h
16267 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
16268 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
16269 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
16270 cat >>confdefs.h
<<_ACEOF
16271 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
16278 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
16280 ac_fn_c_check_type
"$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
16282 if test "x$ac_cv_type_LDAPSortKey" = xyes
; then :
16283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
16284 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
16285 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false
; then :
16286 $as_echo_n "(cached) " >&6
16288 ac_check_lib_save_LIBS
=$LIBS
16289 LIBS
="-lldap_r $PTHREAD_LIBS $LDAP_LIBS $LIBS"
16290 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16291 /* end confdefs.h. */
16293 /* Override any GCC internal prototype to avoid an error.
16294 Use char because int might match the return type of a GCC
16295 builtin and then its argument prototype would still apply. */
16299 char ldap_initialize ();
16303 return ldap_initialize ();
16308 if ac_fn_c_try_link
"$LINENO"; then :
16309 ac_cv_lib_ldap_r_ldap_initialize
=yes
16311 ac_cv_lib_ldap_r_ldap_initialize
=no
16313 rm -f core conftest.err conftest.
$ac_objext \
16314 conftest
$ac_exeext conftest.
$ac_ext
16315 LIBS
=$ac_check_lib_save_LIBS
16317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
16318 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
16319 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes
; then :
16320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
16321 $as_echo_n "checking for ber_init in -llber... " >&6; }
16322 if ${ac_cv_lib_lber_ber_init+:} false
; then :
16323 $as_echo_n "(cached) " >&6
16325 ac_check_lib_save_LIBS
=$LIBS
16326 LIBS
="-llber $PTHREAD_LIBS $LDAP_LIBS $LIBS"
16327 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16328 /* end confdefs.h. */
16330 /* Override any GCC internal prototype to avoid an error.
16331 Use char because int might match the return type of a GCC
16332 builtin and then its argument prototype would still apply. */
16340 return ber_init ();
16345 if ac_fn_c_try_link
"$LINENO"; then :
16346 ac_cv_lib_lber_ber_init
=yes
16348 ac_cv_lib_lber_ber_init
=no
16350 rm -f core conftest.err conftest.
$ac_objext \
16351 conftest
$ac_exeext conftest.
$ac_ext
16352 LIBS
=$ac_check_lib_save_LIBS
16354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
16355 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
16356 if test "x$ac_cv_lib_lber_ber_init" = xyes
; then :
16358 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
16372 ac_wine_check_funcs_save_LIBS
="$LIBS"
16373 LIBS
="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
16375 ldap_count_references \
16376 ldap_first_reference \
16377 ldap_next_reference \
16378 ldap_parse_reference \
16379 ldap_parse_sort_control \
16380 ldap_parse_sortresponse_control \
16381 ldap_parse_vlv_control \
16382 ldap_parse_vlvresponse_control
16384 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16385 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
16386 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
16387 cat >>confdefs.h
<<_ACEOF
16388 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16394 LIBS
="$ac_wine_check_funcs_save_LIBS"
16398 CPPFLAGS
=$ac_save_CPPFLAGS
16399 test -z "$LDAP_CFLAGS" || LDAP_CFLAGS
=`echo " $LDAP_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16400 test -z "$LDAP_LIBS" || LDAP_LIBS
=`echo " $LDAP_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16403 if test "x$LDAP_LIBS" = "x"; then :
16404 case "x$with_ldap" in
16405 x
) as_fn_append wine_notices
"|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
16407 *) as_fn_error $?
"libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
16408 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
16413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
16414 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
16415 if ${wine_cv_one_arg_mkdir+:} false
; then :
16416 $as_echo_n "(cached) " >&6
16418 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16419 /* end confdefs.h. */
16420 #include <sys/stat.h>
16429 if ac_fn_c_try_compile
"$LINENO"; then :
16430 wine_cv_one_arg_mkdir
=yes
16432 wine_cv_one_arg_mkdir
=no
16434 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
16437 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
16438 if test "$wine_cv_one_arg_mkdir" = "yes"
16441 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
16445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
16446 $as_echo_n "checking for sched_setaffinity... " >&6; }
16447 if ${wine_cv_have_sched_setaffinity+:} false
; then :
16448 $as_echo_n "(cached) " >&6
16450 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16451 /* end confdefs.h. */
16452 #define _GNU_SOURCE
16457 sched_setaffinity(0, 0, 0);
16462 if ac_fn_c_try_link
"$LINENO"; then :
16463 wine_cv_have_sched_setaffinity
=yes
16465 wine_cv_have_sched_setaffinity
=no
16467 rm -f core conftest.err conftest.
$ac_objext \
16468 conftest
$ac_exeext conftest.
$ac_ext
16470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
16471 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
16472 if test "$wine_cv_have_sched_setaffinity" = "yes"
16475 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
16479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
16480 $as_echo_n "checking for fallocate... " >&6; }
16481 if ${wine_cv_have_fallocate+:} false
; then :
16482 $as_echo_n "(cached) " >&6
16484 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16485 /* end confdefs.h. */
16486 #define _GNU_SOURCE
16491 fallocate(-1, 0, 0, 0);
16496 if ac_fn_c_try_link
"$LINENO"; then :
16497 wine_cv_have_fallocate
=yes
16499 wine_cv_have_fallocate
=no
16501 rm -f core conftest.err conftest.
$ac_objext \
16502 conftest
$ac_exeext conftest.
$ac_ext
16504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
16505 $as_echo "$wine_cv_have_fallocate" >&6; }
16506 if test "$wine_cv_have_fallocate" = "yes"
16509 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
16514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
16515 $as_echo_n "checking for inline... " >&6; }
16516 if ${ac_cv_c_inline+:} false
; then :
16517 $as_echo_n "(cached) " >&6
16520 for ac_kw
in inline __inline__ __inline
; do
16521 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16522 /* end confdefs.h. */
16523 #ifndef __cplusplus
16525 static $ac_kw foo_t static_foo () {return 0; }
16526 $ac_kw foo_t foo () {return 0; }
16530 if ac_fn_c_try_compile
"$LINENO"; then :
16531 ac_cv_c_inline
=$ac_kw
16533 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16534 test "$ac_cv_c_inline" != no
&& break
16538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
16539 $as_echo "$ac_cv_c_inline" >&6; }
16541 case $ac_cv_c_inline in
16544 case $ac_cv_c_inline in
16546 *) ac_val
=$ac_cv_c_inline;;
16548 cat >>confdefs.h
<<_ACEOF
16549 #ifndef __cplusplus
16550 #define inline $ac_val
16556 ac_fn_c_check_type
"$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
16557 if test "x$ac_cv_type_mode_t" = xyes
; then :
16559 cat >>confdefs.h
<<_ACEOF
16560 #define HAVE_MODE_T 1
16565 ac_fn_c_check_type
"$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
16566 if test "x$ac_cv_type_off_t" = xyes
; then :
16568 cat >>confdefs.h
<<_ACEOF
16569 #define HAVE_OFF_T 1
16574 ac_fn_c_check_type
"$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
16575 if test "x$ac_cv_type_pid_t" = xyes
; then :
16577 cat >>confdefs.h
<<_ACEOF
16578 #define HAVE_PID_T 1
16583 ac_fn_c_check_type
"$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
16584 if test "x$ac_cv_type_size_t" = xyes
; then :
16586 cat >>confdefs.h
<<_ACEOF
16587 #define HAVE_SIZE_T 1
16592 ac_fn_c_check_type
"$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
16593 if test "x$ac_cv_type_ssize_t" = xyes
; then :
16595 cat >>confdefs.h
<<_ACEOF
16596 #define HAVE_SSIZE_T 1
16601 ac_fn_c_check_type
"$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
16602 if test "x$ac_cv_type_long_long" = xyes
; then :
16604 cat >>confdefs.h
<<_ACEOF
16605 #define HAVE_LONG_LONG 1
16610 ac_fn_c_check_type
"$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
16611 if test "x$ac_cv_type_fsblkcnt_t" = xyes
; then :
16613 cat >>confdefs.h
<<_ACEOF
16614 #define HAVE_FSBLKCNT_T 1
16619 ac_fn_c_check_type
"$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
16620 if test "x$ac_cv_type_fsfilcnt_t" = xyes
; then :
16622 cat >>confdefs.h
<<_ACEOF
16623 #define HAVE_FSFILCNT_T 1
16629 ac_fn_c_check_type
"$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
16630 #include <signal.h>
16632 if test "x$ac_cv_type_sigset_t" = xyes
; then :
16634 cat >>confdefs.h
<<_ACEOF
16635 #define HAVE_SIGSET_T 1
16641 ac_fn_c_check_type
"$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
16643 if test "x$ac_cv_type_request_sense" = xyes
; then :
16645 cat >>confdefs.h
<<_ACEOF
16646 #define HAVE_REQUEST_SENSE 1
16653 ac_fn_c_check_type
"$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
16654 #ifdef HAVE_SYS_SOCKET_H
16655 #include <sys/socket.h>
16657 #ifdef HAVE_SYS_SOCKETVAR_H
16658 #include <sys/socketvar.h>
16660 #ifdef HAVE_NET_ROUTE_H
16661 #include <net/route.h>
16663 #ifdef HAVE_NETINET_IN_H
16664 #include <netinet/in.h>
16666 #ifdef HAVE_NETINET_IN_SYSTM_H
16667 #include <netinet/in_systm.h>
16669 #ifdef HAVE_NETINET_IP_H
16670 #include <netinet/ip.h>
16672 #ifdef HAVE_NETINET_IN_PCB_H
16673 #include <netinet/in_pcb.h>
16676 if test "x$ac_cv_type_struct_xinpgen" = xyes
; then :
16678 cat >>confdefs.h
<<_ACEOF
16679 #define HAVE_STRUCT_XINPGEN 1
16686 ac_fn_c_check_type
"$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
16689 #ifdef HAVE_SYS_LINK_H
16690 #include <sys/link.h>
16693 if test "x$ac_cv_type_struct_r_debug" = xyes
; then :
16695 cat >>confdefs.h
<<_ACEOF
16696 #define HAVE_STRUCT_R_DEBUG 1
16701 ac_fn_c_check_type
"$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
16704 #ifdef HAVE_SYS_LINK_H
16705 #include <sys/link.h>
16708 if test "x$ac_cv_type_struct_link_map" = xyes
; then :
16710 cat >>confdefs.h
<<_ACEOF
16711 #define HAVE_STRUCT_LINK_MAP 1
16718 ac_fn_c_check_member
"$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
16719 #include <linux/input.h>
16722 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes
; then :
16724 cat >>confdefs.h
<<_ACEOF
16725 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
16732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for if_nameindex" >&5
16733 $as_echo_n "checking for if_nameindex... " >&6; }
16734 if ${wine_cv_have_if_nameindex+:} false
; then :
16735 $as_echo_n "(cached) " >&6
16737 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16738 /* end confdefs.h. */
16739 #ifdef HAVE_SYS_TYPES_H
16740 #include <sys/types.h>
16742 #ifdef HAVE_SYS_SOCKET_H
16743 #include <sys/socket.h>
16745 #ifdef HAVE_NET_IF_H
16746 # include <net/if.h>
16751 struct if_nameindex *p = if_nameindex(); return p->if_index;
16756 if ac_fn_c_try_link
"$LINENO"; then :
16757 wine_cv_have_if_nameindex
=yes
16759 wine_cv_have_if_nameindex
=no
16761 rm -f core conftest.err conftest.
$ac_objext \
16762 conftest
$ac_exeext conftest.
$ac_ext
16764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_if_nameindex" >&5
16765 $as_echo "$wine_cv_have_if_nameindex" >&6; }
16766 if test "$wine_cv_have_if_nameindex" = "yes"
16769 $as_echo "#define HAVE_IF_NAMEINDEX 1" >>confdefs.h
16773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
16774 $as_echo_n "checking for sigaddset... " >&6; }
16775 if ${wine_cv_have_sigaddset+:} false
; then :
16776 $as_echo_n "(cached) " >&6
16778 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16779 /* end confdefs.h. */
16780 #include <signal.h>
16784 sigset_t set; sigaddset(&set,SIGTERM);
16789 if ac_fn_c_try_link
"$LINENO"; then :
16790 wine_cv_have_sigaddset
=yes
16792 wine_cv_have_sigaddset
=no
16794 rm -f core conftest.err conftest.
$ac_objext \
16795 conftest
$ac_exeext conftest.
$ac_ext
16797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
16798 $as_echo "$wine_cv_have_sigaddset" >&6; }
16799 if test "$wine_cv_have_sigaddset" = "yes"
16802 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
16807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
16808 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
16809 if ${wine_cv_linux_gethostbyname_r_6+:} false
; then :
16810 $as_echo_n "(cached) " >&6
16812 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16813 /* end confdefs.h. */
16821 struct hostent *result;
16828 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
16829 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
16835 if ac_fn_c_try_link
"$LINENO"; then :
16836 wine_cv_linux_gethostbyname_r_6
=yes
16838 wine_cv_linux_gethostbyname_r_6
=no
16841 rm -f core conftest.err conftest.
$ac_objext \
16842 conftest
$ac_exeext conftest.
$ac_ext
16845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
16846 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
16847 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
16850 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
16854 if test "$ac_cv_header_linux_joystick_h" = "yes"
16856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
16857 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
16858 if ${wine_cv_linux_joystick_22_api+:} false
; then :
16859 $as_echo_n "(cached) " >&6
16861 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16862 /* end confdefs.h. */
16864 #include <sys/ioctl.h>
16865 #include <sys/types.h>
16866 #include <linux/joystick.h>
16868 struct js_event blub;
16869 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
16870 #error "no 2.2 header"
16881 if ac_fn_c_try_compile
"$LINENO"; then :
16882 wine_cv_linux_joystick_22_api
=yes
16884 wine_cv_linux_joystick_22_api
=no
16886 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
16890 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
16891 if test "$wine_cv_linux_joystick_22_api" = "yes"
16894 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
16900 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
16901 #ifdef HAVE_SYS_PARAM_H
16902 # include <sys/param.h>
16904 #ifdef HAVE_SYS_MOUNT_H
16905 # include <sys/mount.h>
16907 #ifdef HAVE_SYS_VFS_H
16908 # include <sys/vfs.h>
16910 #ifdef HAVE_SYS_STATFS_H
16911 # include <sys/statfs.h>
16914 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes
; then :
16916 cat >>confdefs.h
<<_ACEOF
16917 #define HAVE_STRUCT_STATFS_F_BFREE 1
16922 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
16923 #ifdef HAVE_SYS_PARAM_H
16924 # include <sys/param.h>
16926 #ifdef HAVE_SYS_MOUNT_H
16927 # include <sys/mount.h>
16929 #ifdef HAVE_SYS_VFS_H
16930 # include <sys/vfs.h>
16932 #ifdef HAVE_SYS_STATFS_H
16933 # include <sys/statfs.h>
16936 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes
; then :
16938 cat >>confdefs.h
<<_ACEOF
16939 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
16944 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
16945 #ifdef HAVE_SYS_PARAM_H
16946 # include <sys/param.h>
16948 #ifdef HAVE_SYS_MOUNT_H
16949 # include <sys/mount.h>
16951 #ifdef HAVE_SYS_VFS_H
16952 # include <sys/vfs.h>
16954 #ifdef HAVE_SYS_STATFS_H
16955 # include <sys/statfs.h>
16958 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes
; then :
16960 cat >>confdefs.h
<<_ACEOF
16961 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
16966 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
16967 #ifdef HAVE_SYS_PARAM_H
16968 # include <sys/param.h>
16970 #ifdef HAVE_SYS_MOUNT_H
16971 # include <sys/mount.h>
16973 #ifdef HAVE_SYS_VFS_H
16974 # include <sys/vfs.h>
16976 #ifdef HAVE_SYS_STATFS_H
16977 # include <sys/statfs.h>
16980 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes
; then :
16982 cat >>confdefs.h
<<_ACEOF
16983 #define HAVE_STRUCT_STATFS_F_FFREE 1
16988 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
16989 #ifdef HAVE_SYS_PARAM_H
16990 # include <sys/param.h>
16992 #ifdef HAVE_SYS_MOUNT_H
16993 # include <sys/mount.h>
16995 #ifdef HAVE_SYS_VFS_H
16996 # include <sys/vfs.h>
16998 #ifdef HAVE_SYS_STATFS_H
16999 # include <sys/statfs.h>
17002 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes
; then :
17004 cat >>confdefs.h
<<_ACEOF
17005 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
17010 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
17011 #ifdef HAVE_SYS_PARAM_H
17012 # include <sys/param.h>
17014 #ifdef HAVE_SYS_MOUNT_H
17015 # include <sys/mount.h>
17017 #ifdef HAVE_SYS_VFS_H
17018 # include <sys/vfs.h>
17020 #ifdef HAVE_SYS_STATFS_H
17021 # include <sys/statfs.h>
17024 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes
; then :
17026 cat >>confdefs.h
<<_ACEOF
17027 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
17034 ac_fn_c_check_member
"$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
17035 #include <sys/statvfs.h>
17038 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes
; then :
17040 cat >>confdefs.h
<<_ACEOF
17041 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
17048 ac_fn_c_check_member
"$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
17049 #include <dirent.h>
17052 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes
; then :
17054 cat >>confdefs.h
<<_ACEOF
17055 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
17062 ac_fn_c_check_member
"$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
17063 #ifdef HAVE_SYS_SOCKET_H
17064 # include <sys/socket.h>
17066 #ifdef HAVE_SYS_UN_H
17067 # include <sys/un.h>
17070 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes
; then :
17072 cat >>confdefs.h
<<_ACEOF
17073 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
17078 ac_fn_c_check_member
"$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
17079 #ifdef HAVE_SYS_SOCKET_H
17080 # include <sys/socket.h>
17082 #ifdef HAVE_SYS_UN_H
17083 # include <sys/un.h>
17086 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes
; then :
17088 cat >>confdefs.h
<<_ACEOF
17089 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
17094 ac_fn_c_check_member
"$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
17095 #ifdef HAVE_SYS_SOCKET_H
17096 # include <sys/socket.h>
17098 #ifdef HAVE_SYS_UN_H
17099 # include <sys/un.h>
17102 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes
; then :
17104 cat >>confdefs.h
<<_ACEOF
17105 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
17112 ac_fn_c_check_member
"$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
17113 #ifdef HAVE_SCSI_SG_H
17114 #include <scsi/sg.h>
17117 if test "x$ac_cv_member_scsireq_t_cmd" = xyes
; then :
17119 cat >>confdefs.h
<<_ACEOF
17120 #define HAVE_SCSIREQ_T_CMD 1
17125 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>
17126 #ifdef HAVE_SCSI_SG_H
17127 #include <scsi/sg.h>
17130 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes
; then :
17132 cat >>confdefs.h
<<_ACEOF
17133 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
17140 ac_fn_c_check_member
"$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
17142 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes
; then :
17144 cat >>confdefs.h
<<_ACEOF
17145 #define HAVE_SIGINFO_T_SI_FD 1
17152 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
17153 #ifdef HAVE_SYS_MTIO_H
17154 #include <sys/mtio.h>
17157 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes
; then :
17159 cat >>confdefs.h
<<_ACEOF
17160 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
17165 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
17166 #ifdef HAVE_SYS_MTIO_H
17167 #include <sys/mtio.h>
17170 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes
; then :
17172 cat >>confdefs.h
<<_ACEOF
17173 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
17178 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
17179 #ifdef HAVE_SYS_MTIO_H
17180 #include <sys/mtio.h>
17183 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes
; then :
17185 cat >>confdefs.h
<<_ACEOF
17186 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
17193 ac_fn_c_check_member
"$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
17194 #include <getopt.h>
17197 if test "x$ac_cv_member_struct_option_name" = xyes
; then :
17199 cat >>confdefs.h
<<_ACEOF
17200 #define HAVE_STRUCT_OPTION_NAME 1
17207 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
17208 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes
; then :
17210 cat >>confdefs.h
<<_ACEOF
17211 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
17216 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
17217 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes
; then :
17219 cat >>confdefs.h
<<_ACEOF
17220 #define HAVE_STRUCT_STAT_ST_MTIM 1
17225 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
17226 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes
; then :
17228 cat >>confdefs.h
<<_ACEOF
17229 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
17234 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
17235 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes
; then :
17237 cat >>confdefs.h
<<_ACEOF
17238 #define HAVE_STRUCT_STAT_ST_CTIM 1
17243 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
17244 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes
; then :
17246 cat >>confdefs.h
<<_ACEOF
17247 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
17252 ac_fn_c_check_member
"$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
17253 if test "x$ac_cv_member_struct_stat_st_atim" = xyes
; then :
17255 cat >>confdefs.h
<<_ACEOF
17256 #define HAVE_STRUCT_STAT_ST_ATIM 1
17261 ac_fn_c_check_member
"$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
17262 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes
; then :
17264 cat >>confdefs.h
<<_ACEOF
17265 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
17270 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
17271 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes
; then :
17273 cat >>confdefs.h
<<_ACEOF
17274 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
17279 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
17280 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes
; then :
17282 cat >>confdefs.h
<<_ACEOF
17283 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
17288 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
17289 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes
; then :
17291 cat >>confdefs.h
<<_ACEOF
17292 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
17297 ac_fn_c_check_member
"$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
17298 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes
; then :
17300 cat >>confdefs.h
<<_ACEOF
17301 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
17306 ac_fn_c_check_member
"$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
17307 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes
; then :
17309 cat >>confdefs.h
<<_ACEOF
17310 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
17317 ac_fn_c_check_member
"$LINENO" "struct sockaddr_in6" "sin6_scope_id" "ac_cv_member_struct_sockaddr_in6_sin6_scope_id" "#ifdef HAVE_SYS_TYPES_H
17318 #include <sys/types.h>
17320 #ifdef HAVE_NETINET_IN_H
17321 #include <netinet/in.h>
17324 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes
; then :
17326 cat >>confdefs.h
<<_ACEOF
17327 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
17334 ac_fn_c_check_type
"$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_SYS_TYPES_H
17335 #include <sys/types.h>
17337 #ifdef HAVE_NETINET_IN_H
17338 #include <netinet/in.h>
17340 #ifdef HAVE_RESOLV_H
17341 #include <resolv.h>
17344 if test "x$ac_cv_type_struct___res_state" = xyes
; then :
17346 cat >>confdefs.h
<<_ACEOF
17347 #define HAVE_STRUCT___RES_STATE 1
17354 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
17355 #include <resolv.h>
17358 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes
; then :
17360 cat >>confdefs.h
<<_ACEOF
17361 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
17368 ac_fn_c_check_member
"$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
17369 #include <sys/types.h>
17371 #ifdef HAVE_NETINET_IN_H
17372 # include <netinet/in.h>
17374 #ifdef HAVE_ARPA_NAMESER_H
17375 # include <arpa/nameser.h>
17378 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes
; then :
17380 cat >>confdefs.h
<<_ACEOF
17381 #define HAVE_NS_MSG__MSG_PTR 1
17388 ac_fn_c_check_member
"$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
17389 #include <sys/types.h>
17391 #ifdef HAVE_NETINET_IN_H
17392 #include <netinet/in.h>
17394 #ifdef HAVE_NETINET_IP_H
17395 #include <netinet/ip.h>
17397 #ifdef HAVE_NETINET_IP_ICMP_H
17398 #include <netinet/ip_icmp.h>
17400 #ifdef HAVE_NETINET_ICMP_VAR_H
17401 #include <netinet/icmp_var.h>
17404 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes
; then :
17406 cat >>confdefs.h
<<_ACEOF
17407 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
17414 ac_fn_c_check_member
"$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
17415 #include <sys/types.h>
17417 #ifdef HAVE_ALIAS_H
17420 #ifdef HAVE_SYS_SOCKET_H
17421 #include <sys/socket.h>
17423 #ifdef HAVE_SYS_SOCKETVAR_H
17424 #include <sys/socketvar.h>
17426 #ifdef HAVE_SYS_TIMEOUT_H
17427 #include <sys/timeout.h>
17429 #ifdef HAVE_NETINET_IN_H
17430 #include <netinet/in.h>
17432 #ifdef HAVE_NETINET_IN_SYSTM_H
17433 #include <netinet/in_systm.h>
17435 #ifdef HAVE_NETINET_IP_H
17436 #include <netinet/ip.h>
17438 #ifdef HAVE_NETINET_IP_VAR_H
17439 #include <netinet/ip_var.h>
17441 #ifdef HAVE_NETINET_IP_ICMP_H
17442 #include <netinet/ip_icmp.h>
17444 #ifdef HAVE_NETINET_ICMP_VAR_H
17445 #include <netinet/icmp_var.h>
17448 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes
; then :
17450 cat >>confdefs.h
<<_ACEOF
17451 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
17458 ac_fn_c_check_member
"$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
17459 #include <sys/types.h>
17461 #ifdef HAVE_SYS_SOCKETVAR_H
17462 #include <sys/socketvar.h>
17464 #ifdef HAVE_NETINET_IN_H
17465 #include <netinet/in.h>
17467 #ifdef HAVE_NETINET_IP_VAR_H
17468 #include <netinet/ip_var.h>
17471 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes
; then :
17473 cat >>confdefs.h
<<_ACEOF
17474 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
17481 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
17482 #include <netinet/ip_var.h>
17485 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes
; then :
17487 cat >>confdefs.h
<<_ACEOF
17488 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
17495 ac_fn_c_check_member
"$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
17496 #include <sys/types.h>
17498 #ifdef HAVE_SYS_SOCKETVAR_H
17499 #include <sys/socketvar.h>
17501 #ifdef HAVE_NETINET_IN_H
17502 #include <netinet/in.h>
17504 #ifdef HAVE_NETINET_TCP_H
17505 #include <netinet/tcp.h>
17507 #ifdef HAVE_NETINET_TCP_VAR_H
17508 #include <netinet/tcp_var.h>
17511 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes
; then :
17513 cat >>confdefs.h
<<_ACEOF
17514 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
17521 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
17522 #include <netinet/tcp_var.h>
17525 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes
; then :
17527 cat >>confdefs.h
<<_ACEOF
17528 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
17535 ac_fn_c_check_member
"$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
17536 #include <sys/types.h>
17538 #ifdef HAVE_NETINET_IN_H
17539 #include <netinet/in.h>
17541 #ifdef HAVE_NETINET_IP_VAR_H
17542 #include <netinet/ip_var.h>
17544 #ifdef HAVE_NETINET_UDP_H
17545 #include <netinet/udp.h>
17547 #ifdef HAVE_NETINET_UDP_VAR_H
17548 #include <netinet/udp_var.h>
17551 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes
; then :
17553 cat >>confdefs.h
<<_ACEOF
17554 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
17561 ac_fn_c_check_member
"$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
17562 #include <sys/types.h>
17564 #ifdef HAVE_NET_IF_H
17565 # include <net/if.h>
17568 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes
; then :
17570 cat >>confdefs.h
<<_ACEOF
17571 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
17578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
17579 $as_echo_n "checking for timezone variable... " >&6; }
17580 if ${ac_cv_have_timezone+:} false
; then :
17581 $as_echo_n "(cached) " >&6
17583 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17584 /* end confdefs.h. */
17594 if ac_fn_c_try_link
"$LINENO"; then :
17595 ac_cv_have_timezone
="yes"
17597 ac_cv_have_timezone
="no"
17599 rm -f core conftest.err conftest.
$ac_objext \
17600 conftest
$ac_exeext conftest.
$ac_ext
17602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
17603 $as_echo "$ac_cv_have_timezone" >&6; }
17604 if test "$ac_cv_have_timezone" = "yes"
17607 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
17610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
17611 $as_echo_n "checking for daylight variable... " >&6; }
17612 if ${ac_cv_have_daylight+:} false
; then :
17613 $as_echo_n "(cached) " >&6
17615 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17616 /* end confdefs.h. */
17626 if ac_fn_c_try_link
"$LINENO"; then :
17627 ac_cv_have_daylight
="yes"
17629 ac_cv_have_daylight
="no"
17631 rm -f core conftest.err conftest.
$ac_objext \
17632 conftest
$ac_exeext conftest.
$ac_ext
17634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
17635 $as_echo "$ac_cv_have_daylight" >&6; }
17636 if test "$ac_cv_have_daylight" = "yes"
17639 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
17643 ac_save_LIBS
="$LIBS"
17645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
17646 $as_echo_n "checking for isfinite... " >&6; }
17647 if ${ac_cv_have_isfinite+:} false
; then :
17648 $as_echo_n "(cached) " >&6
17650 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17651 /* end confdefs.h. */
17652 #define _GNU_SOURCE
17657 float f = 0.0; return isfinite(f)
17662 if ac_fn_c_try_link
"$LINENO"; then :
17663 ac_cv_have_isfinite
="yes"
17665 ac_cv_have_isfinite
="no"
17667 rm -f core conftest.err conftest.
$ac_objext \
17668 conftest
$ac_exeext conftest.
$ac_ext
17670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
17671 $as_echo "$ac_cv_have_isfinite" >&6; }
17672 if test "$ac_cv_have_isfinite" = "yes"
17675 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
17679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
17680 $as_echo_n "checking for isinf... " >&6; }
17681 if ${ac_cv_have_isinf+:} false
; then :
17682 $as_echo_n "(cached) " >&6
17684 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17685 /* end confdefs.h. */
17690 float f = 0.0; return isinf(f)
17695 if ac_fn_c_try_link
"$LINENO"; then :
17696 ac_cv_have_isinf
="yes"
17698 ac_cv_have_isinf
="no"
17700 rm -f core conftest.err conftest.
$ac_objext \
17701 conftest
$ac_exeext conftest.
$ac_ext
17703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
17704 $as_echo "$ac_cv_have_isinf" >&6; }
17705 if test "$ac_cv_have_isinf" = "yes"
17708 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
17712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
17713 $as_echo_n "checking for isnan... " >&6; }
17714 if ${ac_cv_have_isnan+:} false
; then :
17715 $as_echo_n "(cached) " >&6
17717 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17718 /* end confdefs.h. */
17723 float f = 0.0; return isnan(f)
17728 if ac_fn_c_try_link
"$LINENO"; then :
17729 ac_cv_have_isnan
="yes"
17731 ac_cv_have_isnan
="no"
17733 rm -f core conftest.err conftest.
$ac_objext \
17734 conftest
$ac_exeext conftest.
$ac_ext
17736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
17737 $as_echo "$ac_cv_have_isnan" >&6; }
17738 if test "$ac_cv_have_isnan" = "yes"
17741 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
17789 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17790 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
17791 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
17792 cat >>confdefs.h
<<_ACEOF
17793 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17799 LIBS
="$ac_save_LIBS"
17801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_clz" >&5
17802 $as_echo_n "checking for __builtin_clz... " >&6; }
17803 if ${ac_cv_have___builtin_clz+:} false
; then :
17804 $as_echo_n "(cached) " >&6
17806 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17807 /* end confdefs.h. */
17812 return __builtin_clz(1)
17817 if ac_fn_c_try_link
"$LINENO"; then :
17818 ac_cv_have___builtin_clz
="yes"
17820 ac_cv_have___builtin_clz
="no"
17822 rm -f core conftest.err conftest.
$ac_objext \
17823 conftest
$ac_exeext conftest.
$ac_ext
17825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_clz" >&5
17826 $as_echo "$ac_cv_have___builtin_clz" >&6; }
17827 if test "$ac_cv_have___builtin_clz" = "yes"
17830 $as_echo "#define HAVE___BUILTIN_CLZ 1" >>confdefs.h
17834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
17835 $as_echo_n "checking for __builtin_popcount... " >&6; }
17836 if ${ac_cv_have___builtin_popcount+:} false
; then :
17837 $as_echo_n "(cached) " >&6
17839 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17840 /* end confdefs.h. */
17845 return __builtin_popcount(1)
17850 if ac_fn_c_try_link
"$LINENO"; then :
17851 ac_cv_have___builtin_popcount
="yes"
17853 ac_cv_have___builtin_popcount
="no"
17855 rm -f core conftest.err conftest.
$ac_objext \
17856 conftest
$ac_exeext conftest.
$ac_ext
17858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
17859 $as_echo "$ac_cv_have___builtin_popcount" >&6; }
17860 if test "$ac_cv_have___builtin_popcount" = "yes"
17863 $as_echo "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
17867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __clear_cache" >&5
17868 $as_echo_n "checking for __clear_cache... " >&6; }
17869 if ${ac_cv_have___clear_cache+:} false
; then :
17870 $as_echo_n "(cached) " >&6
17872 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17873 /* end confdefs.h. */
17878 __clear_cache((void*)0, (void*)0); return 0;
17883 if ac_fn_c_try_link
"$LINENO"; then :
17884 ac_cv_have___clear_cache
="yes"
17886 ac_cv_have___clear_cache
="no"
17888 rm -f core conftest.err conftest.
$ac_objext \
17889 conftest
$ac_exeext conftest.
$ac_ext
17891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___clear_cache" >&5
17892 $as_echo "$ac_cv_have___clear_cache" >&6; }
17893 if test "$ac_cv_have___clear_cache" = "yes"
17896 $as_echo "#define HAVE___CLEAR_CACHE 1" >>confdefs.h
17902 *i
[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
17903 $as_echo_n "checking whether we need to define __i386__... " >&6; }
17904 if ${ac_cv_cpp_def___i386__+:} false
; then :
17905 $as_echo_n "(cached) " >&6
17907 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17908 /* end confdefs.h. */
17913 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17914 $EGREP "yes" >/dev
/null
2>&1; then :
17915 ac_cv_cpp_def___i386__
=yes
17917 ac_cv_cpp_def___i386__
=no
17922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
17923 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
17924 if test "x$ac_cv_cpp_def___i386__" = xyes
; then :
17925 CFLAGS
="$CFLAGS -D__i386__"
17926 LINTFLAGS
="$LINTFLAGS -D__i386__"
17928 *x86_64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
17929 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
17930 if ${ac_cv_cpp_def___x86_64__+:} false
; then :
17931 $as_echo_n "(cached) " >&6
17933 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17934 /* end confdefs.h. */
17939 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17940 $EGREP "yes" >/dev
/null
2>&1; then :
17941 ac_cv_cpp_def___x86_64__
=yes
17943 ac_cv_cpp_def___x86_64__
=no
17948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
17949 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
17950 if test "x$ac_cv_cpp_def___x86_64__" = xyes
; then :
17951 CFLAGS
="$CFLAGS -D__x86_64__"
17952 LINTFLAGS
="$LINTFLAGS -D__x86_64__"
17954 *sparc64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
17955 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
17956 if ${ac_cv_cpp_def___sparc64__+:} false
; then :
17957 $as_echo_n "(cached) " >&6
17959 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17960 /* end confdefs.h. */
17961 #ifndef __sparc64__
17965 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17966 $EGREP "yes" >/dev
/null
2>&1; then :
17967 ac_cv_cpp_def___sparc64__
=yes
17969 ac_cv_cpp_def___sparc64__
=no
17974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
17975 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
17976 if test "x$ac_cv_cpp_def___sparc64__" = xyes
; then :
17977 CFLAGS
="$CFLAGS -D__sparc64__"
17978 LINTFLAGS
="$LINTFLAGS -D__sparc64__"
17980 *sparc
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
17981 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
17982 if ${ac_cv_cpp_def___sparc__+:} false
; then :
17983 $as_echo_n "(cached) " >&6
17985 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17986 /* end confdefs.h. */
17991 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17992 $EGREP "yes" >/dev
/null
2>&1; then :
17993 ac_cv_cpp_def___sparc__
=yes
17995 ac_cv_cpp_def___sparc__
=no
18000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
18001 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
18002 if test "x$ac_cv_cpp_def___sparc__" = xyes
; then :
18003 CFLAGS
="$CFLAGS -D__sparc__"
18004 LINTFLAGS
="$LINTFLAGS -D__sparc__"
18006 *powerpc64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
18007 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
18008 if ${ac_cv_cpp_def___powerpc64__+:} false
; then :
18009 $as_echo_n "(cached) " >&6
18011 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18012 /* end confdefs.h. */
18013 #ifndef __powerpc64__
18017 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18018 $EGREP "yes" >/dev
/null
2>&1; then :
18019 ac_cv_cpp_def___powerpc64__
=yes
18021 ac_cv_cpp_def___powerpc64__
=no
18026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
18027 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
18028 if test "x$ac_cv_cpp_def___powerpc64__" = xyes
; then :
18029 CFLAGS
="$CFLAGS -D__powerpc64__"
18030 LINTFLAGS
="$LINTFLAGS -D__powerpc64__"
18032 *powerpc
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
18033 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
18034 if ${ac_cv_cpp_def___powerpc__+:} false
; then :
18035 $as_echo_n "(cached) " >&6
18037 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18038 /* end confdefs.h. */
18039 #ifndef __powerpc__
18043 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18044 $EGREP "yes" >/dev
/null
2>&1; then :
18045 ac_cv_cpp_def___powerpc__
=yes
18047 ac_cv_cpp_def___powerpc__
=no
18052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
18053 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
18054 if test "x$ac_cv_cpp_def___powerpc__" = xyes
; then :
18055 CFLAGS
="$CFLAGS -D__powerpc__"
18056 LINTFLAGS
="$LINTFLAGS -D__powerpc__"
18058 *aarch64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
18059 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
18060 if ${ac_cv_cpp_def___aarch64__+:} false
; then :
18061 $as_echo_n "(cached) " >&6
18063 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18064 /* end confdefs.h. */
18065 #ifndef __aarch64__
18069 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18070 $EGREP "yes" >/dev
/null
2>&1; then :
18071 ac_cv_cpp_def___aarch64__
=yes
18073 ac_cv_cpp_def___aarch64__
=no
18078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
18079 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
18080 if test "x$ac_cv_cpp_def___aarch64__" = xyes
; then :
18081 CFLAGS
="$CFLAGS -D__aarch64__"
18082 LINTFLAGS
="$LINTFLAGS -D__aarch64__"
18084 *arm
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
18085 $as_echo_n "checking whether we need to define __arm__... " >&6; }
18086 if ${ac_cv_cpp_def___arm__+:} false
; then :
18087 $as_echo_n "(cached) " >&6
18089 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18090 /* end confdefs.h. */
18095 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18096 $EGREP "yes" >/dev
/null
2>&1; then :
18097 ac_cv_cpp_def___arm__
=yes
18099 ac_cv_cpp_def___arm__
=no
18104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
18105 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
18106 if test "x$ac_cv_cpp_def___arm__" = xyes
; then :
18107 CFLAGS
="$CFLAGS -D__arm__"
18108 LINTFLAGS
="$LINTFLAGS -D__arm__"
18112 case $host_vendor in
18113 *sun
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
18114 $as_echo_n "checking whether we need to define __sun__... " >&6; }
18115 if ${ac_cv_cpp_def___sun__+:} false
; then :
18116 $as_echo_n "(cached) " >&6
18118 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18119 /* end confdefs.h. */
18124 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18125 $EGREP "yes" >/dev
/null
2>&1; then :
18126 ac_cv_cpp_def___sun__
=yes
18128 ac_cv_cpp_def___sun__
=no
18133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
18134 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
18135 if test "x$ac_cv_cpp_def___sun__" = xyes
; then :
18136 CFLAGS
="$CFLAGS -D__sun__"
18137 LINTFLAGS
="$LINTFLAGS -D__sun__"
18145 ac_config_commands
="$ac_config_commands include/stamp-h"
18147 $as_echo_n "creating Makefile rules..." >&6
18149 ALL_VARS_RULES
="OPENGL_LIBS = $OPENGL_LIBS
18150 SOCKET_LIBS = $SOCKET_LIBS
18151 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
18152 IOKIT_LIBS = $IOKIT_LIBS
18153 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
18154 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
18155 CORESERVICES_LIBS = $CORESERVICES_LIBS
18156 APPKIT_LIBS = $APPKIT_LIBS
18157 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
18158 SECURITY_LIBS = $SECURITY_LIBS
18159 COREAUDIO_LIBS = $COREAUDIO_LIBS
18160 OPENAL_LIBS = $OPENAL_LIBS
18161 OPENCL_LIBS = $OPENCL_LIBS
18162 QUICKTIME_LIBS = $QUICKTIME_LIBS
18163 CARBON_LIBS = $CARBON_LIBS
18164 PTHREAD_LIBS = $PTHREAD_LIBS
18165 X_CFLAGS = $X_CFLAGS
18166 X_PRE_LIBS = $X_PRE_LIBS
18168 X_EXTRA_LIBS = $X_EXTRA_LIBS
18169 PCAP_LIBS = $PCAP_LIBS
18170 XML2_CFLAGS = $XML2_CFLAGS
18171 XML2_LIBS = $XML2_LIBS
18172 XSLT_CFLAGS = $XSLT_CFLAGS
18173 XSLT_LIBS = $XSLT_LIBS
18174 DBUS_CFLAGS = $DBUS_CFLAGS
18175 DBUS_LIBS = $DBUS_LIBS
18176 HAL_CFLAGS = $HAL_CFLAGS
18177 HAL_LIBS = $HAL_LIBS
18178 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
18179 GNUTLS_LIBS = $GNUTLS_LIBS
18180 SANE_CFLAGS = $SANE_CFLAGS
18181 SANE_LIBS = $SANE_LIBS
18182 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
18183 GPHOTO2_LIBS = $GPHOTO2_LIBS
18184 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
18185 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
18186 RESOLV_LIBS = $RESOLV_LIBS
18187 LCMS2_CFLAGS = $LCMS2_CFLAGS
18188 LCMS2_LIBS = $LCMS2_LIBS
18189 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
18190 FREETYPE_LIBS = $FREETYPE_LIBS
18192 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
18193 PULSE_CFLAGS = $PULSE_CFLAGS
18194 PULSE_LIBS = $PULSE_LIBS
18195 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
18196 GSTREAMER_LIBS = $GSTREAMER_LIBS
18197 ALSA_LIBS = $ALSA_LIBS
18198 OSS4_CFLAGS = $OSS4_CFLAGS
18199 UDEV_CFLAGS = $UDEV_CFLAGS
18200 UDEV_LIBS = $UDEV_LIBS
18201 CAPI20_CFLAGS = $CAPI20_CFLAGS
18202 CAPI20_LIBS = $CAPI20_LIBS
18203 CUPS_CFLAGS = $CUPS_CFLAGS
18204 CUPS_LIBS = $CUPS_LIBS
18205 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
18206 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
18207 KRB5_CFLAGS = $KRB5_CFLAGS
18208 KRB5_LIBS = $KRB5_LIBS
18209 GSSAPI_CFLAGS = $GSSAPI_CFLAGS
18210 GSSAPI_LIBS = $GSSAPI_LIBS
18211 JPEG_CFLAGS = $JPEG_CFLAGS
18212 JPEG_LIBS = $JPEG_LIBS
18213 PNG_CFLAGS = $PNG_CFLAGS
18214 PNG_LIBS = $PNG_LIBS
18215 TIFF_CFLAGS = $TIFF_CFLAGS
18216 TIFF_LIBS = $TIFF_LIBS
18217 MPG123_CFLAGS = $MPG123_CFLAGS
18218 MPG123_LIBS = $MPG123_LIBS
18219 KSTAT_LIBS = $KSTAT_LIBS
18220 PROCSTAT_LIBS = $PROCSTAT_LIBS
18221 NETAPI_CFLAGS = $NETAPI_CFLAGS
18222 NETAPI_LIBS = $NETAPI_LIBS
18223 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
18225 POLL_LIBS = $POLL_LIBS
18227 LDAP_CFLAGS = $LDAP_CFLAGS
18228 LDAP_LIBS = $LDAP_LIBS
18233 wine_fn_append_rule
"
18234 # Rules automatically generated by configure
18239 Makefile: $srcdir/Makefile.in config.status \$(MAKEDEP)
18240 @./config.status Make.tmp Makefile
18241 depend: \$(MAKEDEP) dummy
18244 test -n "$CROSSTARGET" || wine_fn_append_rule
"crosstest:
18245 @echo \"crosstest is not supported (mingw not installed?)\" && false"
18247 if test "x$enable_fonts" != xno
; then
18248 ac_config_links
="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
18249 ac_config_links
="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
18250 ac_config_links
="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
18251 ac_config_links
="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
18252 ac_config_links
="$ac_config_links fonts/wingding.ttf:fonts/wingding.ttf"
18253 test "$srcdir" = "." || wine_fn_config_symlink fonts
/marlett.ttf fonts
/symbol.ttf fonts
/tahoma.ttf fonts
/tahomabd.ttf fonts
/wingding.ttf
18255 ac_config_links
="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
18256 test "$srcdir" = "." || wine_fn_config_symlink loader
/l_intl.nls
18257 ac_config_links
="$ac_config_links wine:tools/winewrapper"
18258 wine_fn_config_symlink wine
18259 if test "x$enable_win64" != xno
; then
18260 ac_config_links
="$ac_config_links wine64:tools/winewrapper"
18261 wine_fn_config_symlink wine64
18264 wine_fn_config_dll acledit enable_acledit
18265 wine_fn_config_dll aclui enable_aclui implib
18266 wine_fn_config_dll activeds enable_activeds implib
18267 wine_fn_config_dll actxprxy enable_actxprxy
18268 wine_fn_config_lib adsiid
18269 wine_fn_config_dll adsldp enable_adsldp
18270 wine_fn_config_test dlls
/adsldp
/tests adsldp_test
18271 wine_fn_config_dll adsldpc enable_adsldpc
18272 wine_fn_config_dll advapi32 enable_advapi32 implib
18273 wine_fn_config_test dlls
/advapi32
/tests advapi32_test
18274 wine_fn_config_dll advpack enable_advpack implib
18275 wine_fn_config_test dlls
/advpack
/tests advpack_test
18276 wine_fn_config_dll amstream enable_amstream
18277 wine_fn_config_test dlls
/amstream
/tests amstream_test
18278 wine_fn_config_dll api-ms-win-appmodel-identity-l1-1-0 enable_api_ms_win_appmodel_identity_l1_1_0
18279 wine_fn_config_dll api-ms-win-appmodel-runtime-l1-1-1 enable_api_ms_win_appmodel_runtime_l1_1_1
18280 wine_fn_config_dll api-ms-win-appmodel-runtime-l1-1-2 enable_api_ms_win_appmodel_runtime_l1_1_2
18281 wine_fn_config_dll api-ms-win-core-apiquery-l1-1-0 enable_api_ms_win_core_apiquery_l1_1_0
18282 wine_fn_config_dll api-ms-win-core-appcompat-l1-1-1 enable_api_ms_win_core_appcompat_l1_1_1
18283 wine_fn_config_dll api-ms-win-core-appinit-l1-1-0 enable_api_ms_win_core_appinit_l1_1_0
18284 wine_fn_config_dll api-ms-win-core-atoms-l1-1-0 enable_api_ms_win_core_atoms_l1_1_0
18285 wine_fn_config_dll api-ms-win-core-bem-l1-1-0 enable_api_ms_win_core_bem_l1_1_0
18286 wine_fn_config_dll api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
18287 wine_fn_config_dll api-ms-win-core-com-l1-1-1 enable_api_ms_win_core_com_l1_1_1
18288 wine_fn_config_dll api-ms-win-core-com-private-l1-1-0 enable_api_ms_win_core_com_private_l1_1_0
18289 wine_fn_config_dll api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
18290 wine_fn_config_dll api-ms-win-core-console-l2-1-0 enable_api_ms_win_core_console_l2_1_0
18291 wine_fn_config_dll api-ms-win-core-crt-l1-1-0 enable_api_ms_win_core_crt_l1_1_0
18292 wine_fn_config_dll api-ms-win-core-crt-l2-1-0 enable_api_ms_win_core_crt_l2_1_0
18293 wine_fn_config_dll api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
18294 wine_fn_config_dll api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
18295 wine_fn_config_dll api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
18296 wine_fn_config_dll api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
18297 wine_fn_config_dll api-ms-win-core-delayload-l1-1-0 enable_api_ms_win_core_delayload_l1_1_0
18298 wine_fn_config_dll api-ms-win-core-delayload-l1-1-1 enable_api_ms_win_core_delayload_l1_1_1
18299 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
18300 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
18301 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
18302 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-3 enable_api_ms_win_core_errorhandling_l1_1_3
18303 wine_fn_config_dll api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
18304 wine_fn_config_dll api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
18305 wine_fn_config_dll api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
18306 wine_fn_config_dll api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
18307 wine_fn_config_dll api-ms-win-core-file-l1-2-1 enable_api_ms_win_core_file_l1_2_1
18308 wine_fn_config_dll api-ms-win-core-file-l1-2-2 enable_api_ms_win_core_file_l1_2_2
18309 wine_fn_config_dll api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
18310 wine_fn_config_dll api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
18311 wine_fn_config_dll api-ms-win-core-file-l2-1-2 enable_api_ms_win_core_file_l2_1_2
18312 wine_fn_config_dll api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
18313 wine_fn_config_dll api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
18314 wine_fn_config_dll api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
18315 wine_fn_config_dll api-ms-win-core-heap-l2-1-0 enable_api_ms_win_core_heap_l2_1_0
18316 wine_fn_config_dll api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
18317 wine_fn_config_dll api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
18318 wine_fn_config_dll api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
18319 wine_fn_config_dll api-ms-win-core-io-l1-1-0 enable_api_ms_win_core_io_l1_1_0
18320 wine_fn_config_dll api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
18321 wine_fn_config_dll api-ms-win-core-job-l1-1-0 enable_api_ms_win_core_job_l1_1_0
18322 wine_fn_config_dll api-ms-win-core-job-l2-1-0 enable_api_ms_win_core_job_l2_1_0
18323 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
18324 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-1 enable_api_ms_win_core_kernel32_legacy_l1_1_1
18325 wine_fn_config_dll api-ms-win-core-kernel32-private-l1-1-1 enable_api_ms_win_core_kernel32_private_l1_1_1
18326 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
18327 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
18328 wine_fn_config_dll api-ms-win-core-libraryloader-l1-2-0 enable_api_ms_win_core_libraryloader_l1_2_0
18329 wine_fn_config_dll api-ms-win-core-libraryloader-l1-2-1 enable_api_ms_win_core_libraryloader_l1_2_1
18330 wine_fn_config_dll api-ms-win-core-libraryloader-l1-2-2 enable_api_ms_win_core_libraryloader_l1_2_2
18331 wine_fn_config_dll api-ms-win-core-localization-l1-1-0 enable_api_ms_win_core_localization_l1_1_0
18332 wine_fn_config_dll api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
18333 wine_fn_config_dll api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
18334 wine_fn_config_dll api-ms-win-core-localization-l2-1-0 enable_api_ms_win_core_localization_l2_1_0
18335 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
18336 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-2-0 enable_api_ms_win_core_localization_obsolete_l1_2_0
18337 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-3-0 enable_api_ms_win_core_localization_obsolete_l1_3_0
18338 wine_fn_config_dll api-ms-win-core-localization-private-l1-1-0 enable_api_ms_win_core_localization_private_l1_1_0
18339 wine_fn_config_dll api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
18340 wine_fn_config_dll api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
18341 wine_fn_config_dll api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
18342 wine_fn_config_dll api-ms-win-core-memory-l1-1-2 enable_api_ms_win_core_memory_l1_1_2
18343 wine_fn_config_dll api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
18344 wine_fn_config_dll api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
18345 wine_fn_config_dll api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
18346 wine_fn_config_dll api-ms-win-core-namespace-l1-1-0 enable_api_ms_win_core_namespace_l1_1_0
18347 wine_fn_config_dll api-ms-win-core-normalization-l1-1-0 enable_api_ms_win_core_normalization_l1_1_0
18348 wine_fn_config_dll api-ms-win-core-path-l1-1-0 enable_api_ms_win_core_path_l1_1_0
18349 wine_fn_config_dll api-ms-win-core-privateprofile-l1-1-1 enable_api_ms_win_core_privateprofile_l1_1_1
18350 wine_fn_config_dll api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
18351 wine_fn_config_dll api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
18352 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
18353 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
18354 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
18355 wine_fn_config_dll api-ms-win-core-processtopology-obsolete-l1-1-0 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
18356 wine_fn_config_dll api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
18357 wine_fn_config_dll api-ms-win-core-psapi-ansi-l1-1-0 enable_api_ms_win_core_psapi_ansi_l1_1_0
18358 wine_fn_config_dll api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
18359 wine_fn_config_dll api-ms-win-core-psapi-obsolete-l1-1-0 enable_api_ms_win_core_psapi_obsolete_l1_1_0
18360 wine_fn_config_dll api-ms-win-core-quirks-l1-1-0 enable_api_ms_win_core_quirks_l1_1_0
18361 wine_fn_config_dll api-ms-win-core-realtime-l1-1-0 enable_api_ms_win_core_realtime_l1_1_0
18362 wine_fn_config_dll api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
18363 wine_fn_config_dll api-ms-win-core-registry-l2-1-0 enable_api_ms_win_core_registry_l2_1_0
18364 wine_fn_config_dll api-ms-win-core-registryuserspecific-l1-1-0 enable_api_ms_win_core_registryuserspecific_l1_1_0
18365 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
18366 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
18367 wine_fn_config_dll api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
18368 wine_fn_config_dll api-ms-win-core-shlwapi-obsolete-l1-1-0 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
18369 wine_fn_config_dll api-ms-win-core-shlwapi-obsolete-l1-2-0 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
18370 wine_fn_config_dll api-ms-win-core-shutdown-l1-1-0 enable_api_ms_win_core_shutdown_l1_1_0
18371 wine_fn_config_dll api-ms-win-core-sidebyside-l1-1-0 enable_api_ms_win_core_sidebyside_l1_1_0
18372 wine_fn_config_dll api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
18373 wine_fn_config_dll api-ms-win-core-string-l2-1-0 enable_api_ms_win_core_string_l2_1_0
18374 wine_fn_config_dll api-ms-win-core-string-obsolete-l1-1-0 enable_api_ms_win_core_string_obsolete_l1_1_0
18375 wine_fn_config_dll api-ms-win-core-stringansi-l1-1-0 enable_api_ms_win_core_stringansi_l1_1_0
18376 wine_fn_config_dll api-ms-win-core-synch-ansi-l1-1-0 enable_api_ms_win_core_synch_ansi_l1_1_0
18377 wine_fn_config_dll api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
18378 wine_fn_config_dll api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
18379 wine_fn_config_dll api-ms-win-core-synch-l1-2-1 enable_api_ms_win_core_synch_l1_2_1
18380 wine_fn_config_dll api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
18381 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
18382 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
18383 wine_fn_config_dll api-ms-win-core-threadpool-l1-1-0 enable_api_ms_win_core_threadpool_l1_1_0
18384 wine_fn_config_dll api-ms-win-core-threadpool-l1-2-0 enable_api_ms_win_core_threadpool_l1_2_0
18385 wine_fn_config_dll api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
18386 wine_fn_config_dll api-ms-win-core-threadpool-private-l1-1-0 enable_api_ms_win_core_threadpool_private_l1_1_0
18387 wine_fn_config_dll api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
18388 wine_fn_config_dll api-ms-win-core-toolhelp-l1-1-0 enable_api_ms_win_core_toolhelp_l1_1_0
18389 wine_fn_config_dll api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
18390 wine_fn_config_dll api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
18391 wine_fn_config_dll api-ms-win-core-version-l1-1-0 enable_api_ms_win_core_version_l1_1_0
18392 wine_fn_config_dll api-ms-win-core-version-l1-1-1 enable_api_ms_win_core_version_l1_1_1
18393 wine_fn_config_dll api-ms-win-core-version-private-l1-1-0 enable_api_ms_win_core_version_private_l1_1_0
18394 wine_fn_config_dll api-ms-win-core-versionansi-l1-1-0 enable_api_ms_win_core_versionansi_l1_1_0
18395 wine_fn_config_dll api-ms-win-core-windowserrorreporting-l1-1-0 enable_api_ms_win_core_windowserrorreporting_l1_1_0
18396 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
18397 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
18398 wine_fn_config_dll api-ms-win-core-winrt-errorprivate-l1-1-1 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
18399 wine_fn_config_dll api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
18400 wine_fn_config_dll api-ms-win-core-winrt-registration-l1-1-0 enable_api_ms_win_core_winrt_registration_l1_1_0
18401 wine_fn_config_dll api-ms-win-core-winrt-roparameterizediid-l1-1-0 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
18402 wine_fn_config_dll api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
18403 wine_fn_config_dll api-ms-win-core-wow64-l1-1-0 enable_api_ms_win_core_wow64_l1_1_0
18404 wine_fn_config_dll api-ms-win-core-wow64-l1-1-1 enable_api_ms_win_core_wow64_l1_1_1
18405 wine_fn_config_dll api-ms-win-core-xstate-l1-1-0 enable_api_ms_win_core_xstate_l1_1_0
18406 wine_fn_config_dll api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
18407 wine_fn_config_dll api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
18408 wine_fn_config_dll api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
18409 wine_fn_config_dll api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
18410 wine_fn_config_dll api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
18411 wine_fn_config_dll api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
18412 wine_fn_config_dll api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
18413 wine_fn_config_dll api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
18414 wine_fn_config_dll api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
18415 wine_fn_config_dll api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
18416 wine_fn_config_dll api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
18417 wine_fn_config_dll api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
18418 wine_fn_config_dll api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
18419 wine_fn_config_dll api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
18420 wine_fn_config_dll api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
18421 wine_fn_config_dll api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
18422 wine_fn_config_dll api-ms-win-devices-config-l1-1-1 enable_api_ms_win_devices_config_l1_1_1
18423 wine_fn_config_dll api-ms-win-devices-query-l1-1-1 enable_api_ms_win_devices_query_l1_1_1
18424 wine_fn_config_dll api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
18425 wine_fn_config_dll api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
18426 wine_fn_config_dll api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
18427 wine_fn_config_dll api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
18428 wine_fn_config_dll api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
18429 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
18430 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
18431 wine_fn_config_dll api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
18432 wine_fn_config_dll api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
18433 wine_fn_config_dll api-ms-win-dx-d3dkmt-l1-1-0 enable_api_ms_win_dx_d3dkmt_l1_1_0
18434 wine_fn_config_dll api-ms-win-eventing-classicprovider-l1-1-0 enable_api_ms_win_eventing_classicprovider_l1_1_0
18435 wine_fn_config_dll api-ms-win-eventing-consumer-l1-1-0 enable_api_ms_win_eventing_consumer_l1_1_0
18436 wine_fn_config_dll api-ms-win-eventing-controller-l1-1-0 enable_api_ms_win_eventing_controller_l1_1_0
18437 wine_fn_config_dll api-ms-win-eventing-legacy-l1-1-0 enable_api_ms_win_eventing_legacy_l1_1_0
18438 wine_fn_config_dll api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
18439 wine_fn_config_dll api-ms-win-eventlog-legacy-l1-1-0 enable_api_ms_win_eventlog_legacy_l1_1_0
18440 wine_fn_config_dll api-ms-win-mm-joystick-l1-1-0 enable_api_ms_win_mm_joystick_l1_1_0
18441 wine_fn_config_dll api-ms-win-mm-misc-l1-1-1 enable_api_ms_win_mm_misc_l1_1_1
18442 wine_fn_config_dll api-ms-win-mm-mme-l1-1-0 enable_api_ms_win_mm_mme_l1_1_0
18443 wine_fn_config_dll api-ms-win-mm-time-l1-1-0 enable_api_ms_win_mm_time_l1_1_0
18444 wine_fn_config_dll api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
18445 wine_fn_config_dll api-ms-win-ntuser-rectangle-l1-1-0 enable_api_ms_win_ntuser_rectangle_l1_1_0
18446 wine_fn_config_dll api-ms-win-perf-legacy-l1-1-0 enable_api_ms_win_perf_legacy_l1_1_0
18447 wine_fn_config_dll api-ms-win-power-base-l1-1-0 enable_api_ms_win_power_base_l1_1_0
18448 wine_fn_config_dll api-ms-win-power-setting-l1-1-0 enable_api_ms_win_power_setting_l1_1_0
18449 wine_fn_config_dll api-ms-win-rtcore-ntuser-private-l1-1-0 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
18450 wine_fn_config_dll api-ms-win-security-activedirectoryclient-l1-1-0 enable_api_ms_win_security_activedirectoryclient_l1_1_0
18451 wine_fn_config_dll api-ms-win-security-audit-l1-1-1 enable_api_ms_win_security_audit_l1_1_1
18452 wine_fn_config_dll api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
18453 wine_fn_config_dll api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
18454 wine_fn_config_dll api-ms-win-security-base-private-l1-1-1 enable_api_ms_win_security_base_private_l1_1_1
18455 wine_fn_config_dll api-ms-win-security-credentials-l1-1-0 enable_api_ms_win_security_credentials_l1_1_0
18456 wine_fn_config_dll api-ms-win-security-grouppolicy-l1-1-0 enable_api_ms_win_security_grouppolicy_l1_1_0
18457 wine_fn_config_dll api-ms-win-security-lsalookup-l1-1-0 enable_api_ms_win_security_lsalookup_l1_1_0
18458 wine_fn_config_dll api-ms-win-security-lsalookup-l1-1-1 enable_api_ms_win_security_lsalookup_l1_1_1
18459 wine_fn_config_dll api-ms-win-security-lsalookup-l2-1-0 enable_api_ms_win_security_lsalookup_l2_1_0
18460 wine_fn_config_dll api-ms-win-security-lsalookup-l2-1-1 enable_api_ms_win_security_lsalookup_l2_1_1
18461 wine_fn_config_dll api-ms-win-security-lsapolicy-l1-1-0 enable_api_ms_win_security_lsapolicy_l1_1_0
18462 wine_fn_config_dll api-ms-win-security-provider-l1-1-0 enable_api_ms_win_security_provider_l1_1_0
18463 wine_fn_config_dll api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
18464 wine_fn_config_dll api-ms-win-security-systemfunctions-l1-1-0 enable_api_ms_win_security_systemfunctions_l1_1_0
18465 wine_fn_config_dll api-ms-win-service-core-l1-1-0 enable_api_ms_win_service_core_l1_1_0
18466 wine_fn_config_dll api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
18467 wine_fn_config_dll api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
18468 wine_fn_config_dll api-ms-win-service-management-l2-1-0 enable_api_ms_win_service_management_l2_1_0
18469 wine_fn_config_dll api-ms-win-service-private-l1-1-1 enable_api_ms_win_service_private_l1_1_1
18470 wine_fn_config_dll api-ms-win-service-winsvc-l1-1-0 enable_api_ms_win_service_winsvc_l1_1_0
18471 wine_fn_config_dll api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
18472 wine_fn_config_dll api-ms-win-shcore-scaling-l1-1-1 enable_api_ms_win_shcore_scaling_l1_1_1
18473 wine_fn_config_dll api-ms-win-shell-shellcom-l1-1-0 enable_api_ms_win_shell_shellcom_l1_1_0
18474 wine_fn_config_dll api-ms-win-shell-shellfolders-l1-1-0 enable_api_ms_win_shell_shellfolders_l1_1_0
18475 wine_fn_config_dll apphelp enable_apphelp
18476 wine_fn_config_test dlls
/apphelp
/tests apphelp_test
18477 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl
18478 wine_fn_config_dll atl enable_atl implib
18479 wine_fn_config_test dlls
/atl
/tests atl_test
18480 wine_fn_config_dll atl100 enable_atl100 implib
18481 wine_fn_config_test dlls
/atl100
/tests atl100_test
18482 wine_fn_config_dll atl110 enable_atl110
18483 wine_fn_config_dll atl80 enable_atl80 implib
18484 wine_fn_config_test dlls
/atl80
/tests atl80_test
18485 wine_fn_config_dll atl90 enable_atl90
18486 wine_fn_config_dll authz enable_authz
18487 wine_fn_config_dll avicap32 enable_avicap32 implib
18488 wine_fn_config_dll avifil32 enable_avifil32 implib
18489 wine_fn_config_test dlls
/avifil32
/tests avifil32_test
18490 wine_fn_config_dll avifile.dll16 enable_win16
18491 wine_fn_config_dll avrt enable_avrt implib
18492 wine_fn_config_dll bcrypt enable_bcrypt implib
18493 wine_fn_config_test dlls
/bcrypt
/tests bcrypt_test
18494 wine_fn_config_dll bluetoothapis enable_bluetoothapis
18495 wine_fn_config_dll browseui enable_browseui
18496 wine_fn_config_test dlls
/browseui
/tests browseui_test
18497 wine_fn_config_dll bthprops.cpl enable_bthprops_cpl
18498 wine_fn_config_dll cabinet enable_cabinet implib
18499 wine_fn_config_test dlls
/cabinet
/tests cabinet_test
18500 wine_fn_config_dll capi2032 enable_capi2032 implib
18501 wine_fn_config_dll cards enable_cards implib
18502 wine_fn_config_dll cdosys enable_cdosys
18503 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
18504 wine_fn_config_dll clusapi enable_clusapi implib
18505 wine_fn_config_dll combase enable_combase
18506 wine_fn_config_test dlls
/combase
/tests combase_test
18507 wine_fn_config_dll comcat enable_comcat
18508 wine_fn_config_test dlls
/comcat
/tests comcat_test
18509 wine_fn_config_dll comctl32 enable_comctl32 implib
18510 wine_fn_config_test dlls
/comctl32
/tests comctl32_test
18511 wine_fn_config_dll comdlg32 enable_comdlg32 implib
18512 wine_fn_config_test dlls
/comdlg32
/tests comdlg32_test
18513 wine_fn_config_dll
comm.drv16 enable_win16
18514 wine_fn_config_dll commdlg.dll16 enable_win16
18515 wine_fn_config_dll compobj.dll16 enable_win16
18516 wine_fn_config_dll compstui enable_compstui implib
18517 wine_fn_config_dll comsvcs enable_comsvcs implib
18518 wine_fn_config_dll concrt140 enable_concrt140
18519 wine_fn_config_dll connect enable_connect
18520 wine_fn_config_dll credui enable_credui implib
18521 wine_fn_config_test dlls
/credui
/tests credui_test
18522 wine_fn_config_dll crtdll enable_crtdll
18523 wine_fn_config_dll crypt32 enable_crypt32 implib
18524 wine_fn_config_test dlls
/crypt32
/tests crypt32_test
18525 wine_fn_config_dll cryptdlg enable_cryptdlg
18526 wine_fn_config_dll cryptdll enable_cryptdll implib
18527 wine_fn_config_dll cryptext enable_cryptext
18528 wine_fn_config_dll cryptnet enable_cryptnet implib
18529 wine_fn_config_test dlls
/cryptnet
/tests cryptnet_test
18530 wine_fn_config_dll cryptui enable_cryptui implib
18531 wine_fn_config_test dlls
/cryptui
/tests cryptui_test
18532 wine_fn_config_dll ctapi32 enable_ctapi32
18533 wine_fn_config_dll ctl3d.dll16 enable_win16
18534 wine_fn_config_dll ctl3d32 enable_ctl3d32
18535 wine_fn_config_dll ctl3dv2.dll16 enable_win16
18536 wine_fn_config_dll d2d1 enable_d2d1 implib
18537 wine_fn_config_test dlls
/d2d
1/tests d2d1_test
18538 wine_fn_config_dll d3d10 enable_d3d10 implib
18539 wine_fn_config_test dlls
/d3d10
/tests d3d10_test
18540 wine_fn_config_dll d3d10_1 enable_d3d10_1 implib
18541 wine_fn_config_test dlls
/d3d10_
1/tests d3d10_1_test
18542 wine_fn_config_dll d3d10core enable_d3d10core implib
18543 wine_fn_config_test dlls
/d3d10core
/tests d3d10core_test
18544 wine_fn_config_dll d3d11 enable_d3d11 implib
18545 wine_fn_config_test dlls
/d3d11
/tests d3d11_test
18546 wine_fn_config_dll d3d12 enable_d3d12 implib
18547 wine_fn_config_test dlls
/d3d12
/tests d3d12_test
18548 wine_fn_config_dll d3d8 enable_d3d8 implib
18549 wine_fn_config_test dlls
/d3d
8/tests d3d8_test
18550 wine_fn_config_dll d3d9 enable_d3d9 implib
18551 wine_fn_config_test dlls
/d3d
9/tests d3d9_test
18552 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
18553 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
18554 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
18555 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
18556 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
18557 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
18558 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
18559 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
18560 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
18561 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
18562 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
18563 wine_fn_config_test dlls
/d3dcompiler_43
/tests d3dcompiler_43_test
18564 wine_fn_config_dll d3dcompiler_46 enable_d3dcompiler_46
18565 wine_fn_config_dll d3dcompiler_47 enable_d3dcompiler_47
18566 wine_fn_config_dll d3dim enable_d3dim
18567 wine_fn_config_dll d3drm enable_d3drm implib
18568 wine_fn_config_test dlls
/d3drm
/tests d3drm_test
18569 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
18570 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
18571 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
18572 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
18573 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
18574 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
18575 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
18576 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
18577 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
18578 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
18579 wine_fn_config_dll d3dx10_43 enable_d3dx10_43 implib d3dx10
18580 wine_fn_config_test dlls
/d3dx10_43
/tests d3dx10_43_test
18581 wine_fn_config_dll d3dx11_42 enable_d3dx11_42
18582 wine_fn_config_dll d3dx11_43 enable_d3dx11_43 implib d3dx11
18583 wine_fn_config_test dlls
/d3dx11_43
/tests d3dx11_43_test
18584 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
18585 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
18586 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
18587 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
18588 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
18589 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
18590 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
18591 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
18592 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
18593 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
18594 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
18595 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
18596 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
18597 wine_fn_config_test dlls
/d3dx9_36
/tests d3dx9_36_test
18598 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
18599 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
18600 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
18601 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
18602 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
18603 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
18604 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
18605 wine_fn_config_dll d3dxof enable_d3dxof implib
18606 wine_fn_config_test dlls
/d3dxof
/tests d3dxof_test
18607 wine_fn_config_dll davclnt enable_davclnt
18608 wine_fn_config_dll dbgeng enable_dbgeng implib
18609 wine_fn_config_dll dbghelp enable_dbghelp implib
18610 wine_fn_config_dll dciman32 enable_dciman32 implib
18611 wine_fn_config_dll ddeml.dll16 enable_win16
18612 wine_fn_config_dll ddraw enable_ddraw implib
18613 wine_fn_config_test dlls
/ddraw
/tests ddraw_test
18614 wine_fn_config_dll ddrawex enable_ddrawex
18615 wine_fn_config_test dlls
/ddrawex
/tests ddrawex_test
18616 wine_fn_config_dll devenum enable_devenum
18617 wine_fn_config_test dlls
/devenum
/tests devenum_test
18618 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
18619 wine_fn_config_dll dhtmled.ocx enable_dhtmled_ocx
18620 wine_fn_config_dll difxapi enable_difxapi
18621 wine_fn_config_dll dinput enable_dinput implib
,staticimplib
18622 wine_fn_config_test dlls
/dinput
/tests dinput_test
18623 wine_fn_config_dll dinput8 enable_dinput8 implib
18624 wine_fn_config_test dlls
/dinput
8/tests dinput8_test
18625 wine_fn_config_dll dispdib.dll16 enable_win16
18626 wine_fn_config_dll dispex enable_dispex
18627 wine_fn_config_test dlls
/dispex
/tests dispex_test
18628 wine_fn_config_dll display.drv16 enable_win16
18629 wine_fn_config_dll dmband enable_dmband
18630 wine_fn_config_test dlls
/dmband
/tests dmband_test
18631 wine_fn_config_dll dmcompos enable_dmcompos
18632 wine_fn_config_test dlls
/dmcompos
/tests dmcompos_test
18633 wine_fn_config_dll dmime enable_dmime
18634 wine_fn_config_test dlls
/dmime
/tests dmime_test
18635 wine_fn_config_dll dmloader enable_dmloader
18636 wine_fn_config_test dlls
/dmloader
/tests dmloader_test
18637 wine_fn_config_dll dmscript enable_dmscript
18638 wine_fn_config_test dlls
/dmscript
/tests dmscript_test
18639 wine_fn_config_dll dmstyle enable_dmstyle
18640 wine_fn_config_test dlls
/dmstyle
/tests dmstyle_test
18641 wine_fn_config_dll dmsynth enable_dmsynth
18642 wine_fn_config_test dlls
/dmsynth
/tests dmsynth_test
18643 wine_fn_config_dll dmusic enable_dmusic
18644 wine_fn_config_test dlls
/dmusic
/tests dmusic_test
18645 wine_fn_config_dll dmusic32 enable_dmusic32
18646 wine_fn_config_dll dnsapi enable_dnsapi implib
18647 wine_fn_config_test dlls
/dnsapi
/tests dnsapi_test
18648 wine_fn_config_dll dplay enable_dplay
18649 wine_fn_config_dll dplayx enable_dplayx implib
18650 wine_fn_config_test dlls
/dplayx
/tests dplayx_test
18651 wine_fn_config_dll dpnaddr enable_dpnaddr
18652 wine_fn_config_dll dpnet enable_dpnet implib
18653 wine_fn_config_test dlls
/dpnet
/tests dpnet_test
18654 wine_fn_config_dll dpnhpast enable_dpnhpast
18655 wine_fn_config_dll dpnlobby enable_dpnlobby
18656 wine_fn_config_dll dpvoice enable_dpvoice
18657 wine_fn_config_test dlls
/dpvoice
/tests dpvoice_test
18658 wine_fn_config_dll dpwsockx enable_dpwsockx
18659 wine_fn_config_dll drmclien enable_drmclien
18660 wine_fn_config_dll dsound enable_dsound implib
18661 wine_fn_config_test dlls
/dsound
/tests dsound_test
18662 wine_fn_config_dll dsquery enable_dsquery
18663 wine_fn_config_dll dssenh enable_dssenh
18664 wine_fn_config_test dlls
/dssenh
/tests dssenh_test
18665 wine_fn_config_dll dswave enable_dswave
18666 wine_fn_config_test dlls
/dswave
/tests dswave_test
18667 wine_fn_config_dll dwmapi enable_dwmapi implib
18668 wine_fn_config_dll dwrite enable_dwrite implib
18669 wine_fn_config_test dlls
/dwrite
/tests dwrite_test
18670 wine_fn_config_dll dx8vb enable_dx8vb
18671 wine_fn_config_dll dxdiagn enable_dxdiagn
18672 wine_fn_config_test dlls
/dxdiagn
/tests dxdiagn_test
18673 wine_fn_config_lib dxerr8
18674 wine_fn_config_lib dxerr9
18675 wine_fn_config_dll dxgi enable_dxgi implib
18676 wine_fn_config_test dlls
/dxgi
/tests dxgi_test
18677 wine_fn_config_lib dxguid
18678 wine_fn_config_dll dxva2 enable_dxva2
18679 wine_fn_config_dll esent enable_esent
18680 wine_fn_config_dll evr enable_evr
18681 wine_fn_config_test dlls
/evr
/tests evr_test
18682 wine_fn_config_dll explorerframe enable_explorerframe
18683 wine_fn_config_test dlls
/explorerframe
/tests explorerframe_test
18684 wine_fn_config_dll ext-ms-win-authz-context-l1-1-0 enable_ext_ms_win_authz_context_l1_1_0
18685 wine_fn_config_dll ext-ms-win-domainjoin-netjoin-l1-1-0 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
18686 wine_fn_config_dll ext-ms-win-gdi-dc-create-l1-1-1 enable_ext_ms_win_gdi_dc_create_l1_1_1
18687 wine_fn_config_dll ext-ms-win-gdi-dc-l1-2-0 enable_ext_ms_win_gdi_dc_l1_2_0
18688 wine_fn_config_dll ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
18689 wine_fn_config_dll ext-ms-win-gdi-draw-l1-1-1 enable_ext_ms_win_gdi_draw_l1_1_1
18690 wine_fn_config_dll ext-ms-win-gdi-render-l1-1-0 enable_ext_ms_win_gdi_render_l1_1_0
18691 wine_fn_config_dll ext-ms-win-kernel32-package-current-l1-1-0 enable_ext_ms_win_kernel32_package_current_l1_1_0
18692 wine_fn_config_dll ext-ms-win-kernel32-package-l1-1-1 enable_ext_ms_win_kernel32_package_l1_1_1
18693 wine_fn_config_dll ext-ms-win-ntuser-message-l1-1-1 enable_ext_ms_win_ntuser_message_l1_1_1
18694 wine_fn_config_dll ext-ms-win-ntuser-private-l1-1-1 enable_ext_ms_win_ntuser_private_l1_1_1
18695 wine_fn_config_dll ext-ms-win-ntuser-rectangle-ext-l1-1-0 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
18696 wine_fn_config_dll ext-ms-win-ntuser-uicontext-ext-l1-1-0 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
18697 wine_fn_config_dll ext-ms-win-ntuser-window-l1-1-1 enable_ext_ms_win_ntuser_window_l1_1_1
18698 wine_fn_config_dll ext-ms-win-ntuser-windowclass-l1-1-1 enable_ext_ms_win_ntuser_windowclass_l1_1_1
18699 wine_fn_config_dll ext-ms-win-ras-rasapi32-l1-1-0 enable_ext_ms_win_ras_rasapi32_l1_1_0
18700 wine_fn_config_dll ext-ms-win-rtcore-gdi-object-l1-1-0 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
18701 wine_fn_config_dll ext-ms-win-rtcore-gdi-rgn-l1-1-0 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
18702 wine_fn_config_dll ext-ms-win-rtcore-ntuser-dc-access-l1-1-0 enable_ext_ms_win_rtcore_ntuser_dc_access_l1_1_0
18703 wine_fn_config_dll ext-ms-win-rtcore-ntuser-dpi-l1-1-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
18704 wine_fn_config_dll ext-ms-win-rtcore-ntuser-sysparams-l1-1-0 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
18705 wine_fn_config_dll ext-ms-win-security-credui-l1-1-0 enable_ext_ms_win_security_credui_l1_1_0
18706 wine_fn_config_dll ext-ms-win-security-cryptui-l1-1-0 enable_ext_ms_win_security_cryptui_l1_1_0
18707 wine_fn_config_dll faultrep enable_faultrep implib
18708 wine_fn_config_test dlls
/faultrep
/tests faultrep_test
18709 wine_fn_config_dll fltlib enable_fltlib
18710 wine_fn_config_dll fltmgr.sys enable_fltmgr_sys
18711 wine_fn_config_dll fntcache enable_fntcache
18712 wine_fn_config_dll fontsub enable_fontsub
18713 wine_fn_config_dll fusion enable_fusion
18714 wine_fn_config_test dlls
/fusion
/tests fusion_test
18715 wine_fn_config_dll fwpuclnt enable_fwpuclnt
18716 wine_fn_config_dll gameux enable_gameux
18717 wine_fn_config_test dlls
/gameux
/tests gameux_test
18718 wine_fn_config_dll gdi.exe16 enable_win16
18719 wine_fn_config_dll gdi32 enable_gdi32 implib
18720 wine_fn_config_test dlls
/gdi32
/tests gdi32_test
18721 wine_fn_config_dll gdiplus enable_gdiplus implib
18722 wine_fn_config_test dlls
/gdiplus
/tests gdiplus_test
18723 wine_fn_config_dll glu32 enable_glu32 implib
18724 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds
18725 wine_fn_config_dll gpkcsp enable_gpkcsp
18726 wine_fn_config_dll hal enable_hal
18727 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx implib htmlhelp
18728 wine_fn_config_dll hid enable_hid implib
18729 wine_fn_config_test dlls
/hid
/tests hid_test
18730 wine_fn_config_dll hidclass.sys enable_hidclass_sys implib hidclass
18731 wine_fn_config_dll hlink enable_hlink implib
18732 wine_fn_config_test dlls
/hlink
/tests hlink_test
18733 wine_fn_config_dll hnetcfg enable_hnetcfg
18734 wine_fn_config_test dlls
/hnetcfg
/tests hnetcfg_test
18735 wine_fn_config_dll httpapi enable_httpapi implib
18736 wine_fn_config_test dlls
/httpapi
/tests httpapi_test
18737 wine_fn_config_dll iccvid enable_iccvid
18738 wine_fn_config_dll icmp enable_icmp
18739 wine_fn_config_dll ieframe enable_ieframe implib
18740 wine_fn_config_test dlls
/ieframe
/tests ieframe_test
18741 wine_fn_config_dll ieproxy enable_ieproxy
18742 wine_fn_config_dll ifsmgr.vxd enable_win16
18743 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
18744 wine_fn_config_dll imagehlp enable_imagehlp implib
18745 wine_fn_config_test dlls
/imagehlp
/tests imagehlp_test
18746 wine_fn_config_dll imm.dll16 enable_win16
18747 wine_fn_config_dll imm32 enable_imm32 implib
18748 wine_fn_config_test dlls
/imm32
/tests imm32_test
18749 wine_fn_config_dll inetcomm enable_inetcomm implib
18750 wine_fn_config_test dlls
/inetcomm
/tests inetcomm_test
18751 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl
18752 wine_fn_config_dll inetmib1 enable_inetmib1
18753 wine_fn_config_test dlls
/inetmib
1/tests inetmib1_test
18754 wine_fn_config_dll infosoft enable_infosoft
18755 wine_fn_config_test dlls
/infosoft
/tests infosoft_test
18756 wine_fn_config_dll initpki enable_initpki
18757 wine_fn_config_dll inkobj enable_inkobj
18758 wine_fn_config_dll inseng enable_inseng
18759 wine_fn_config_dll iphlpapi enable_iphlpapi implib
18760 wine_fn_config_test dlls
/iphlpapi
/tests iphlpapi_test
18761 wine_fn_config_dll iprop enable_iprop
18762 wine_fn_config_dll irprops.cpl enable_irprops_cpl
18763 wine_fn_config_dll itircl enable_itircl
18764 wine_fn_config_dll itss enable_itss
18765 wine_fn_config_test dlls
/itss
/tests itss_test
18766 wine_fn_config_dll joy.cpl enable_joy_cpl
18767 wine_fn_config_dll jscript enable_jscript
18768 wine_fn_config_test dlls
/jscript
/tests jscript_test
18769 wine_fn_config_dll jsproxy enable_jsproxy implib
18770 wine_fn_config_test dlls
/jsproxy
/tests jsproxy_test
18771 wine_fn_config_dll kerberos enable_kerberos
18772 wine_fn_config_dll kernel32 enable_kernel32 implib
18773 wine_fn_config_test dlls
/kernel32
/tests kernel32_test
18774 wine_fn_config_dll kernelbase enable_kernelbase
18775 wine_fn_config_dll keyboard.drv16 enable_win16
18776 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
18777 wine_fn_config_dll ksuser enable_ksuser
18778 wine_fn_config_dll ktmw32 enable_ktmw32
18779 wine_fn_config_dll l3codeca.acm enable_l3codeca_acm
18780 wine_fn_config_dll loadperf enable_loadperf implib
18781 wine_fn_config_dll localspl enable_localspl
18782 wine_fn_config_test dlls
/localspl
/tests localspl_test
18783 wine_fn_config_dll localui enable_localui
18784 wine_fn_config_test dlls
/localui
/tests localui_test
18785 wine_fn_config_dll lz32 enable_lz32 implib
18786 wine_fn_config_test dlls
/lz32
/tests lz32_test
18787 wine_fn_config_dll lzexpand.dll16 enable_win16
18788 wine_fn_config_dll mapi32 enable_mapi32 implib
18789 wine_fn_config_test dlls
/mapi32
/tests mapi32_test
18790 wine_fn_config_dll mapistub enable_mapistub
18791 wine_fn_config_dll mciavi32 enable_mciavi32
18792 wine_fn_config_dll mcicda enable_mcicda
18793 wine_fn_config_dll mciqtz32 enable_mciqtz32
18794 wine_fn_config_dll mciseq enable_mciseq
18795 wine_fn_config_dll mciwave enable_mciwave
18796 wine_fn_config_dll mf enable_mf implib
18797 wine_fn_config_test dlls
/mf
/tests mf_test
18798 wine_fn_config_dll mf3216 enable_mf3216
18799 wine_fn_config_dll mfplat enable_mfplat implib
18800 wine_fn_config_test dlls
/mfplat
/tests mfplat_test
18801 wine_fn_config_dll mfreadwrite enable_mfreadwrite
18802 wine_fn_config_lib mfuuid
18803 wine_fn_config_dll mgmtapi enable_mgmtapi
18804 wine_fn_config_dll midimap enable_midimap
18805 wine_fn_config_dll mlang enable_mlang implib
18806 wine_fn_config_test dlls
/mlang
/tests mlang_test
18807 wine_fn_config_dll mmcndmgr enable_mmcndmgr
18808 wine_fn_config_test dlls
/mmcndmgr
/tests mmcndmgr_test
18809 wine_fn_config_dll mmdevapi enable_mmdevapi
18810 wine_fn_config_test dlls
/mmdevapi
/tests mmdevapi_test
18811 wine_fn_config_dll mmdevldr.vxd enable_win16
18812 wine_fn_config_dll mmsystem.dll16 enable_win16
18813 wine_fn_config_dll monodebg.vxd enable_win16
18814 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
18815 wine_fn_config_dll mouse.drv16 enable_win16
18816 wine_fn_config_dll mpr enable_mpr implib
18817 wine_fn_config_test dlls
/mpr
/tests mpr_test
18818 wine_fn_config_dll mprapi enable_mprapi implib
18819 wine_fn_config_dll msacm.dll16 enable_win16
18820 wine_fn_config_dll msacm32.drv enable_msacm32_drv
18821 wine_fn_config_dll msacm32 enable_msacm32 implib
18822 wine_fn_config_test dlls
/msacm32
/tests msacm32_test
18823 wine_fn_config_dll msadp32.acm enable_msadp32_acm
18824 wine_fn_config_dll msasn1 enable_msasn1 implib
18825 wine_fn_config_dll mscat32 enable_mscat32
18826 wine_fn_config_dll mscms enable_mscms implib
18827 wine_fn_config_test dlls
/mscms
/tests mscms_test
18828 wine_fn_config_dll mscoree enable_mscoree
18829 wine_fn_config_test dlls
/mscoree
/tests mscoree_test
18830 wine_fn_config_dll msctf enable_msctf
18831 wine_fn_config_test dlls
/msctf
/tests msctf_test
18832 wine_fn_config_dll msctfp enable_msctfp
18833 wine_fn_config_dll msdaps enable_msdaps
18834 wine_fn_config_dll msdelta enable_msdelta
18835 wine_fn_config_dll msdmo enable_msdmo implib
18836 wine_fn_config_test dlls
/msdmo
/tests msdmo_test
18837 wine_fn_config_dll msdrm enable_msdrm
18838 wine_fn_config_dll msftedit enable_msftedit
18839 wine_fn_config_dll msg711.acm enable_msg711_acm
18840 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
18841 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb
18842 wine_fn_config_dll mshtml enable_mshtml implib
18843 wine_fn_config_test dlls
/mshtml
/tests mshtml_test
18844 wine_fn_config_dll msi enable_msi implib
18845 wine_fn_config_test dlls
/msi
/tests msi_test
18846 wine_fn_config_dll msident enable_msident
18847 wine_fn_config_dll msimg32 enable_msimg32 implib
18848 wine_fn_config_dll msimsg enable_msimsg
18849 wine_fn_config_dll msimtf enable_msimtf
18850 wine_fn_config_dll msisip enable_msisip
18851 wine_fn_config_dll msisys.ocx enable_msisys_ocx
18852 wine_fn_config_dll msls31 enable_msls31
18853 wine_fn_config_dll msnet32 enable_msnet32
18854 wine_fn_config_dll mspatcha enable_mspatcha implib
18855 wine_fn_config_dll msports enable_msports
18856 wine_fn_config_dll msrle32 enable_msrle32
18857 wine_fn_config_test dlls
/msrle32
/tests msrle32_test
18858 wine_fn_config_dll msscript.ocx enable_msscript_ocx
18859 wine_fn_config_test dlls
/msscript.ocx
/tests msscript.ocx_test
18860 wine_fn_config_dll mssign32 enable_mssign32
18861 wine_fn_config_dll mssip32 enable_mssip32
18862 wine_fn_config_dll mstask enable_mstask
18863 wine_fn_config_test dlls
/mstask
/tests mstask_test
18864 wine_fn_config_dll msvcirt enable_msvcirt
18865 wine_fn_config_test dlls
/msvcirt
/tests msvcirt_test
18866 wine_fn_config_dll msvcm80 enable_msvcm80
18867 wine_fn_config_dll msvcm90 enable_msvcm90
18868 wine_fn_config_dll msvcp100 enable_msvcp100
18869 wine_fn_config_test dlls
/msvcp100
/tests msvcp100_test
18870 wine_fn_config_dll msvcp110 enable_msvcp110
18871 wine_fn_config_test dlls
/msvcp110
/tests msvcp110_test
18872 wine_fn_config_dll msvcp120 enable_msvcp120
18873 wine_fn_config_test dlls
/msvcp120
/tests msvcp120_test
18874 wine_fn_config_dll msvcp120_app enable_msvcp120_app
18875 wine_fn_config_dll msvcp140 enable_msvcp140
18876 wine_fn_config_test dlls
/msvcp140
/tests msvcp140_test
18877 wine_fn_config_dll msvcp60 enable_msvcp60
18878 wine_fn_config_test dlls
/msvcp60
/tests msvcp60_test
18879 wine_fn_config_dll msvcp70 enable_msvcp70
18880 wine_fn_config_dll msvcp71 enable_msvcp71
18881 wine_fn_config_dll msvcp80 enable_msvcp80
18882 wine_fn_config_dll msvcp90 enable_msvcp90
18883 wine_fn_config_test dlls
/msvcp90
/tests msvcp90_test
18884 wine_fn_config_dll msvcr100 enable_msvcr100 implib
18885 wine_fn_config_test dlls
/msvcr100
/tests msvcr100_test
18886 wine_fn_config_dll msvcr110 enable_msvcr110 implib
18887 wine_fn_config_dll msvcr120 enable_msvcr120 implib
18888 wine_fn_config_test dlls
/msvcr120
/tests msvcr120_test
18889 wine_fn_config_dll msvcr120_app enable_msvcr120_app
18890 wine_fn_config_dll msvcr70 enable_msvcr70 implib
18891 wine_fn_config_dll msvcr71 enable_msvcr71 implib
18892 wine_fn_config_dll msvcr80 enable_msvcr80 implib
18893 wine_fn_config_dll msvcr90 enable_msvcr90 implib
18894 wine_fn_config_test dlls
/msvcr90
/tests msvcr90_test
18895 wine_fn_config_dll msvcrt enable_msvcrt implib
18896 wine_fn_config_test dlls
/msvcrt
/tests msvcrt_test
18897 wine_fn_config_dll msvcrt20 enable_msvcrt20
18898 wine_fn_config_dll msvcrt40 enable_msvcrt40
18899 wine_fn_config_dll msvcrtd enable_msvcrtd implib
18900 wine_fn_config_test dlls
/msvcrtd
/tests msvcrtd_test
18901 wine_fn_config_dll msvfw32 enable_msvfw32 implib
18902 wine_fn_config_test dlls
/msvfw32
/tests msvfw32_test
18903 wine_fn_config_dll msvidc32 enable_msvidc32
18904 wine_fn_config_dll msvideo.dll16 enable_win16
18905 wine_fn_config_dll mswsock enable_mswsock implib
18906 wine_fn_config_dll msxml enable_msxml
18907 wine_fn_config_dll msxml2 enable_msxml2
18908 wine_fn_config_dll msxml3 enable_msxml3
18909 wine_fn_config_test dlls
/msxml
3/tests msxml3_test
18910 wine_fn_config_dll msxml4 enable_msxml4
18911 wine_fn_config_dll msxml6 enable_msxml6
18912 wine_fn_config_dll mtxdm enable_mtxdm
18913 wine_fn_config_dll ncrypt enable_ncrypt
18914 wine_fn_config_dll nddeapi enable_nddeapi implib
18915 wine_fn_config_dll ndis.sys enable_ndis_sys
18916 wine_fn_config_dll netapi32 enable_netapi32 implib
18917 wine_fn_config_test dlls
/netapi32
/tests netapi32_test
18918 wine_fn_config_dll netcfgx enable_netcfgx
18919 wine_fn_config_test dlls
/netcfgx
/tests netcfgx_test
18920 wine_fn_config_dll netprofm enable_netprofm
18921 wine_fn_config_test dlls
/netprofm
/tests netprofm_test
18922 wine_fn_config_dll newdev enable_newdev implib
18923 wine_fn_config_dll normaliz enable_normaliz implib
18924 wine_fn_config_dll npmshtml enable_npmshtml
18925 wine_fn_config_dll npptools enable_npptools
18926 wine_fn_config_dll ntdll enable_ntdll implib
18927 wine_fn_config_test dlls
/ntdll
/tests ntdll_test
18928 wine_fn_config_dll ntdsapi enable_ntdsapi implib
18929 wine_fn_config_test dlls
/ntdsapi
/tests ntdsapi_test
18930 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib ntoskrnl
18931 wine_fn_config_dll ntprint enable_ntprint
18932 wine_fn_config_test dlls
/ntprint
/tests ntprint_test
18933 wine_fn_config_dll objsel enable_objsel
18934 wine_fn_config_dll odbc32 enable_odbc32 implib
18935 wine_fn_config_dll odbccp32 enable_odbccp32 implib
18936 wine_fn_config_test dlls
/odbccp32
/tests odbccp32_test
18937 wine_fn_config_dll odbccu32 enable_odbccu32
18938 wine_fn_config_dll ole2.dll16 enable_win16
18939 wine_fn_config_dll ole2conv.dll16 enable_win16
18940 wine_fn_config_dll ole2disp.dll16 enable_win16
18941 wine_fn_config_dll ole2nls.dll16 enable_win16
18942 wine_fn_config_dll ole2prox.dll16 enable_win16
18943 wine_fn_config_dll ole2thk.dll16 enable_win16
18944 wine_fn_config_dll ole32 enable_ole32 implib
18945 wine_fn_config_test dlls
/ole32
/tests ole32_test
18946 wine_fn_config_dll oleacc enable_oleacc implib
18947 wine_fn_config_test dlls
/oleacc
/tests oleacc_test
18948 wine_fn_config_dll oleaut32 enable_oleaut32 implib
18949 wine_fn_config_test dlls
/oleaut32
/tests oleaut32_test
18950 wine_fn_config_dll olecli.dll16 enable_win16
18951 wine_fn_config_dll olecli32 enable_olecli32 implib
18952 wine_fn_config_dll oledb32 enable_oledb32
18953 wine_fn_config_test dlls
/oledb32
/tests oledb32_test
18954 wine_fn_config_dll oledlg enable_oledlg implib
18955 wine_fn_config_test dlls
/oledlg
/tests oledlg_test
18956 wine_fn_config_dll olepro32 enable_olepro32 implib
18957 wine_fn_config_dll olesvr.dll16 enable_win16
18958 wine_fn_config_dll olesvr32 enable_olesvr32 implib
18959 wine_fn_config_dll olethk32 enable_olethk32
18960 wine_fn_config_dll openal32 enable_openal32
18961 wine_fn_config_dll opencl enable_opencl
18962 wine_fn_config_dll opengl32 enable_opengl32 implib
18963 wine_fn_config_test dlls
/opengl32
/tests opengl32_test
18964 wine_fn_config_dll packager enable_packager
18965 wine_fn_config_test dlls
/packager
/tests packager_test
18966 wine_fn_config_dll pdh enable_pdh implib
18967 wine_fn_config_test dlls
/pdh
/tests pdh_test
18968 wine_fn_config_dll photometadatahandler enable_photometadatahandler
18969 wine_fn_config_dll pidgen enable_pidgen
18970 wine_fn_config_dll powrprof enable_powrprof implib
18971 wine_fn_config_dll printui enable_printui
18972 wine_fn_config_dll prntvpt enable_prntvpt
18973 wine_fn_config_dll propsys enable_propsys implib
18974 wine_fn_config_test dlls
/propsys
/tests propsys_test
18975 wine_fn_config_dll psapi enable_psapi implib
18976 wine_fn_config_test dlls
/psapi
/tests psapi_test
18977 wine_fn_config_dll pstorec enable_pstorec
18978 wine_fn_config_test dlls
/pstorec
/tests pstorec_test
18979 wine_fn_config_dll qcap enable_qcap
18980 wine_fn_config_test dlls
/qcap
/tests qcap_test
18981 wine_fn_config_dll qedit enable_qedit
18982 wine_fn_config_test dlls
/qedit
/tests qedit_test
18983 wine_fn_config_dll qmgr enable_qmgr
18984 wine_fn_config_test dlls
/qmgr
/tests qmgr_test
18985 wine_fn_config_dll qmgrprxy enable_qmgrprxy
18986 wine_fn_config_dll quartz enable_quartz implib
18987 wine_fn_config_test dlls
/quartz
/tests quartz_test
18988 wine_fn_config_dll query enable_query
18989 wine_fn_config_dll rasapi16.dll16 enable_win16
18990 wine_fn_config_dll rasapi32 enable_rasapi32 implib
18991 wine_fn_config_test dlls
/rasapi32
/tests rasapi32_test
18992 wine_fn_config_dll rasdlg enable_rasdlg implib
18993 wine_fn_config_dll regapi enable_regapi
18994 wine_fn_config_dll resutils enable_resutils implib
18995 wine_fn_config_dll riched20 enable_riched20 implib
18996 wine_fn_config_test dlls
/riched20
/tests riched20_test
18997 wine_fn_config_dll riched32 enable_riched32
18998 wine_fn_config_test dlls
/riched32
/tests riched32_test
18999 wine_fn_config_dll rpcrt4 enable_rpcrt4 implib
19000 wine_fn_config_test dlls
/rpcrt
4/tests rpcrt4_test
19001 wine_fn_config_dll rsabase enable_rsabase
19002 wine_fn_config_dll rsaenh enable_rsaenh implib
19003 wine_fn_config_test dlls
/rsaenh
/tests rsaenh_test
19004 wine_fn_config_dll rstrtmgr enable_rstrtmgr
19005 wine_fn_config_dll rtutils enable_rtutils implib
19006 wine_fn_config_dll samlib enable_samlib
19007 wine_fn_config_dll sane.ds enable_sane_ds
19008 wine_fn_config_dll sapi enable_sapi
19009 wine_fn_config_test dlls
/sapi
/tests sapi_test
19010 wine_fn_config_dll scarddlg enable_scarddlg
19011 wine_fn_config_dll sccbase enable_sccbase
19012 wine_fn_config_dll schannel enable_schannel
19013 wine_fn_config_test dlls
/schannel
/tests schannel_test
19014 wine_fn_config_dll schedsvc enable_schedsvc
19015 wine_fn_config_test dlls
/schedsvc
/tests schedsvc_test
19016 wine_fn_config_dll scrobj enable_scrobj
19017 wine_fn_config_dll scrrun enable_scrrun
19018 wine_fn_config_test dlls
/scrrun
/tests scrrun_test
19019 wine_fn_config_dll scsiport.sys enable_scsiport_sys
19020 wine_fn_config_dll secur32 enable_secur32 implib
19021 wine_fn_config_test dlls
/secur32
/tests secur32_test
19022 wine_fn_config_dll security enable_security
19023 wine_fn_config_dll sensapi enable_sensapi implib
19024 wine_fn_config_dll serialui enable_serialui
19025 wine_fn_config_test dlls
/serialui
/tests serialui_test
19026 wine_fn_config_dll setupapi enable_setupapi implib
19027 wine_fn_config_test dlls
/setupapi
/tests setupapi_test
19028 wine_fn_config_dll setupx.dll16 enable_win16
19029 wine_fn_config_dll sfc enable_sfc implib
19030 wine_fn_config_dll sfc_os enable_sfc_os implib
19031 wine_fn_config_dll shcore enable_shcore
19032 wine_fn_config_dll shdoclc enable_shdoclc
19033 wine_fn_config_dll shdocvw enable_shdocvw implib
19034 wine_fn_config_test dlls
/shdocvw
/tests shdocvw_test
19035 wine_fn_config_dll shell.dll16 enable_win16
19036 wine_fn_config_dll shell32 enable_shell32 implib
19037 wine_fn_config_test dlls
/shell32
/tests shell32_test
19038 wine_fn_config_dll shfolder enable_shfolder implib
19039 wine_fn_config_dll shlwapi enable_shlwapi implib
19040 wine_fn_config_test dlls
/shlwapi
/tests shlwapi_test
19041 wine_fn_config_dll slbcsp enable_slbcsp
19042 wine_fn_config_dll slc enable_slc implib
19043 wine_fn_config_test dlls
/slc
/tests slc_test
19044 wine_fn_config_dll snmpapi enable_snmpapi implib
19045 wine_fn_config_test dlls
/snmpapi
/tests snmpapi_test
19046 wine_fn_config_dll softpub enable_softpub
19047 wine_fn_config_dll sound.drv16 enable_win16
19048 wine_fn_config_dll spoolss enable_spoolss implib
19049 wine_fn_config_test dlls
/spoolss
/tests spoolss_test
19050 wine_fn_config_dll sspicli enable_sspicli
19051 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb
19052 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb
19053 wine_fn_config_dll sti enable_sti implib
19054 wine_fn_config_test dlls
/sti
/tests sti_test
19055 wine_fn_config_dll storage.dll16 enable_win16
19056 wine_fn_config_dll stress.dll16 enable_win16
19057 wine_fn_config_lib strmbase
19058 wine_fn_config_lib strmiids
19059 wine_fn_config_dll svrapi enable_svrapi
19060 wine_fn_config_dll sxs enable_sxs implib
19061 wine_fn_config_test dlls
/sxs
/tests sxs_test
19062 wine_fn_config_dll system.drv16 enable_win16
19063 wine_fn_config_dll t2embed enable_t2embed implib
19064 wine_fn_config_test dlls
/t2embed
/tests t2embed_test
19065 wine_fn_config_dll tapi32 enable_tapi32 implib
19066 wine_fn_config_dll taskschd enable_taskschd
19067 wine_fn_config_test dlls
/taskschd
/tests taskschd_test
19068 wine_fn_config_dll tdh enable_tdh
19069 wine_fn_config_dll tdi.sys enable_tdi_sys
19070 wine_fn_config_dll toolhelp.dll16 enable_win16
19071 wine_fn_config_dll traffic enable_traffic
19072 wine_fn_config_dll twain.dll16 enable_win16
19073 wine_fn_config_dll twain_32 enable_twain_32
19074 wine_fn_config_test dlls
/twain_32
/tests twain_32_test
19075 wine_fn_config_dll typelib.dll16 enable_win16
19076 wine_fn_config_dll ucrtbase enable_ucrtbase implib
19077 wine_fn_config_test dlls
/ucrtbase
/tests ucrtbase_test
19078 wine_fn_config_dll uiautomationcore enable_uiautomationcore
19079 wine_fn_config_dll uiribbon enable_uiribbon
19080 wine_fn_config_dll unicows enable_unicows implib
19081 wine_fn_config_dll updspapi enable_updspapi
19082 wine_fn_config_dll url enable_url implib
19083 wine_fn_config_dll urlmon enable_urlmon implib
19084 wine_fn_config_test dlls
/urlmon
/tests urlmon_test
19085 wine_fn_config_dll usbd.sys enable_usbd_sys implib usbd
19086 wine_fn_config_dll user.exe16 enable_win16
19087 wine_fn_config_dll user32 enable_user32 implib
19088 wine_fn_config_test dlls
/user32
/tests user32_test
19089 wine_fn_config_dll userenv enable_userenv implib
19090 wine_fn_config_test dlls
/userenv
/tests userenv_test
19091 wine_fn_config_dll usp10 enable_usp10 implib
19092 wine_fn_config_test dlls
/usp10
/tests usp10_test
19093 wine_fn_config_lib uuid
19094 wine_fn_config_dll uxtheme enable_uxtheme implib
19095 wine_fn_config_test dlls
/uxtheme
/tests uxtheme_test
19096 wine_fn_config_dll vbscript enable_vbscript
19097 wine_fn_config_test dlls
/vbscript
/tests vbscript_test
19098 wine_fn_config_dll vcomp enable_vcomp
19099 wine_fn_config_test dlls
/vcomp
/tests vcomp_test
19100 wine_fn_config_dll vcomp100 enable_vcomp100
19101 wine_fn_config_dll vcomp110 enable_vcomp110
19102 wine_fn_config_dll vcomp120 enable_vcomp120
19103 wine_fn_config_dll vcomp140 enable_vcomp140
19104 wine_fn_config_dll vcomp90 enable_vcomp90
19105 wine_fn_config_dll vcruntime140 enable_vcruntime140
19106 wine_fn_config_dll vdhcp.vxd enable_win16
19107 wine_fn_config_dll vdmdbg enable_vdmdbg implib
19108 wine_fn_config_dll ver.dll16 enable_win16
19109 wine_fn_config_dll version enable_version implib
19110 wine_fn_config_test dlls
/version
/tests version_test
19111 wine_fn_config_dll virtdisk enable_virtdisk
19112 wine_fn_config_dll vmm.vxd enable_win16
19113 wine_fn_config_dll vnbt.vxd enable_win16
19114 wine_fn_config_dll vnetbios.vxd enable_win16
19115 wine_fn_config_dll vssapi enable_vssapi
19116 wine_fn_config_dll vtdapi.vxd enable_win16
19117 wine_fn_config_dll vwin32.vxd enable_win16
19118 wine_fn_config_dll w32skrnl enable_win16
19119 wine_fn_config_dll w32sys.dll16 enable_win16
19120 wine_fn_config_dll wbemdisp enable_wbemdisp
19121 wine_fn_config_test dlls
/wbemdisp
/tests wbemdisp_test
19122 wine_fn_config_dll wbemprox enable_wbemprox
19123 wine_fn_config_test dlls
/wbemprox
/tests wbemprox_test
19124 wine_fn_config_dll wdscore enable_wdscore
19125 wine_fn_config_dll webservices enable_webservices implib
19126 wine_fn_config_test dlls
/webservices
/tests webservices_test
19127 wine_fn_config_dll wer enable_wer implib
19128 wine_fn_config_test dlls
/wer
/tests wer_test
19129 wine_fn_config_dll wevtapi enable_wevtapi
19130 wine_fn_config_dll wiaservc enable_wiaservc
19131 wine_fn_config_test dlls
/wiaservc
/tests wiaservc_test
19132 wine_fn_config_dll wimgapi enable_wimgapi
19133 wine_fn_config_dll win32s16.dll16 enable_win16
19134 wine_fn_config_dll win87em.dll16 enable_win16
19135 wine_fn_config_dll winaspi.dll16 enable_win16
19136 wine_fn_config_dll windebug.dll16 enable_win16
19137 wine_fn_config_dll windowscodecs enable_windowscodecs implib
19138 wine_fn_config_test dlls
/windowscodecs
/tests windowscodecs_test
19139 wine_fn_config_dll windowscodecsext enable_windowscodecsext implib
19140 wine_fn_config_test dlls
/windowscodecsext
/tests windowscodecsext_test
19141 wine_fn_config_dll winealsa.drv enable_winealsa_drv
19142 wine_fn_config_dll wineandroid.drv enable_wineandroid_drv
19143 wine_fn_config_dll winebus.sys enable_winebus_sys
19144 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
19145 wine_fn_config_lib winecrt0
19146 wine_fn_config_dll wined3d enable_wined3d implib
19147 wine_fn_config_dll winegstreamer enable_winegstreamer
19148 wine_fn_config_dll winehid.sys enable_winehid_sys
19149 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
19150 wine_fn_config_dll winemac.drv enable_winemac_drv
19151 wine_fn_config_dll winemapi enable_winemapi
19152 wine_fn_config_dll wineoss.drv enable_wineoss_drv
19153 wine_fn_config_dll wineps.drv enable_wineps_drv
19154 wine_fn_config_dll wineps16.drv16 enable_win16
19155 wine_fn_config_dll winepulse.drv enable_winepulse_drv
19156 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
19157 wine_fn_config_dll winex11.drv enable_winex11_drv
19158 wine_fn_config_dll wing.dll16 enable_win16
19159 wine_fn_config_dll wing32 enable_wing32
19160 wine_fn_config_dll winhttp enable_winhttp implib
19161 wine_fn_config_test dlls
/winhttp
/tests winhttp_test
19162 wine_fn_config_dll wininet enable_wininet implib
19163 wine_fn_config_test dlls
/wininet
/tests wininet_test
19164 wine_fn_config_dll winmm enable_winmm implib
19165 wine_fn_config_test dlls
/winmm
/tests winmm_test
19166 wine_fn_config_dll winnls.dll16 enable_win16
19167 wine_fn_config_dll winnls32 enable_winnls32 implib
19168 wine_fn_config_dll winscard enable_winscard implib
19169 wine_fn_config_dll winsock.dll16 enable_win16
19170 wine_fn_config_dll winspool.drv enable_winspool_drv implib winspool
19171 wine_fn_config_test dlls
/winspool.drv
/tests winspool.drv_test
19172 wine_fn_config_dll winsta enable_winsta
19173 wine_fn_config_dll wintab.dll16 enable_win16
19174 wine_fn_config_dll wintab32 enable_wintab32 implib
19175 wine_fn_config_test dlls
/wintab32
/tests wintab32_test
19176 wine_fn_config_dll wintrust enable_wintrust implib
19177 wine_fn_config_test dlls
/wintrust
/tests wintrust_test
19178 wine_fn_config_dll winusb enable_winusb
19179 wine_fn_config_dll wlanapi enable_wlanapi implib
19180 wine_fn_config_test dlls
/wlanapi
/tests wlanapi_test
19181 wine_fn_config_dll wldap32 enable_wldap32 implib
19182 wine_fn_config_test dlls
/wldap32
/tests wldap32_test
19183 wine_fn_config_dll wmasf enable_wmasf
19184 wine_fn_config_dll wmi enable_wmi
19185 wine_fn_config_dll wmiutils enable_wmiutils
19186 wine_fn_config_test dlls
/wmiutils
/tests wmiutils_test
19187 wine_fn_config_dll wmp enable_wmp
19188 wine_fn_config_test dlls
/wmp
/tests wmp_test
19189 wine_fn_config_dll wmphoto enable_wmphoto
19190 wine_fn_config_dll wmvcore enable_wmvcore implib
19191 wine_fn_config_test dlls
/wmvcore
/tests wmvcore_test
19192 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
19193 wine_fn_config_dll wow32 enable_win16 implib
19194 wine_fn_config_dll wpc enable_wpc
19195 wine_fn_config_test dlls
/wpc
/tests wpc_test
19196 wine_fn_config_dll wpcap enable_wpcap
19197 wine_fn_config_dll ws2_32 enable_ws2_32 implib
19198 wine_fn_config_test dlls
/ws2_32
/tests ws2_32_test
19199 wine_fn_config_dll wsdapi enable_wsdapi implib
19200 wine_fn_config_test dlls
/wsdapi
/tests wsdapi_test
19201 wine_fn_config_dll wshom.ocx enable_wshom_ocx
19202 wine_fn_config_test dlls
/wshom.ocx
/tests wshom.ocx_test
19203 wine_fn_config_dll wsnmp32 enable_wsnmp32 implib
19204 wine_fn_config_test dlls
/wsnmp32
/tests wsnmp32_test
19205 wine_fn_config_dll wsock32 enable_wsock32 implib
19206 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
19207 wine_fn_config_test dlls
/wtsapi32
/tests wtsapi32_test
19208 wine_fn_config_dll wuapi enable_wuapi
19209 wine_fn_config_dll wuaueng enable_wuaueng
19210 wine_fn_config_dll x3daudio1_0 enable_x3daudio1_0
19211 wine_fn_config_dll x3daudio1_1 enable_x3daudio1_1
19212 wine_fn_config_dll x3daudio1_2 enable_x3daudio1_2
19213 wine_fn_config_dll x3daudio1_3 enable_x3daudio1_3
19214 wine_fn_config_dll x3daudio1_4 enable_x3daudio1_4
19215 wine_fn_config_dll x3daudio1_5 enable_x3daudio1_5
19216 wine_fn_config_dll x3daudio1_6 enable_x3daudio1_6
19217 wine_fn_config_dll x3daudio1_7 enable_x3daudio1_7
19218 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
19219 wine_fn_config_dll xapofx1_2 enable_xapofx1_2
19220 wine_fn_config_dll xapofx1_3 enable_xapofx1_3
19221 wine_fn_config_dll xapofx1_4 enable_xapofx1_4
19222 wine_fn_config_dll xapofx1_5 enable_xapofx1_5
19223 wine_fn_config_dll xaudio2_0 enable_xaudio2_0
19224 wine_fn_config_dll xaudio2_1 enable_xaudio2_1
19225 wine_fn_config_dll xaudio2_2 enable_xaudio2_2
19226 wine_fn_config_dll xaudio2_3 enable_xaudio2_3
19227 wine_fn_config_dll xaudio2_4 enable_xaudio2_4
19228 wine_fn_config_dll xaudio2_5 enable_xaudio2_5
19229 wine_fn_config_dll xaudio2_6 enable_xaudio2_6
19230 wine_fn_config_dll xaudio2_7 enable_xaudio2_7
19231 wine_fn_config_test dlls
/xaudio2_
7/tests xaudio2_7_test
19232 wine_fn_config_dll xaudio2_8 enable_xaudio2_8
19233 wine_fn_config_dll xaudio2_9 enable_xaudio2_9
19234 wine_fn_config_dll xinput1_1 enable_xinput1_1
19235 wine_fn_config_dll xinput1_2 enable_xinput1_2
19236 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
19237 wine_fn_config_test dlls
/xinput1_
3/tests xinput1_3_test
19238 wine_fn_config_dll xinput1_4 enable_xinput1_4
19239 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
19240 wine_fn_config_dll xmllite enable_xmllite implib
19241 wine_fn_config_test dlls
/xmllite
/tests xmllite_test
19242 wine_fn_config_dll xolehlp enable_xolehlp
19243 wine_fn_config_dll xpsprint enable_xpsprint
19244 wine_fn_config_dll xpssvcs enable_xpssvcs
19245 wine_fn_config_makefile fonts enable_fonts install-lib
19246 wine_fn_config_makefile include enable_include install-dev
19247 wine_fn_config_makefile libs
/port enable_libs_port
19248 wine_fn_config_makefile libs
/wine enable_libs_wine implib
,install-dev
,install-lib
19249 wine_fn_config_makefile libs
/wpp enable_libs_wpp
19250 wine_fn_config_makefile loader enable_loader install-lib
19251 wine_fn_config_makefile po enable_po
19252 wine_fn_config_program arp enable_arp
install
19253 wine_fn_config_program aspnet_regiis enable_aspnet_regiis
install
19254 wine_fn_config_program attrib enable_attrib
install
19255 wine_fn_config_program cabarc enable_cabarc
install
19256 wine_fn_config_program cacls enable_cacls
install
19257 wine_fn_config_program
clock enable_clock
install
19258 wine_fn_config_program cmd enable_cmd
install
19259 wine_fn_config_test programs
/cmd
/tests cmd.exe_test
19260 wine_fn_config_program conhost enable_conhost
install
19261 wine_fn_config_program control enable_control
install
19262 wine_fn_config_program cscript enable_cscript
install
19263 wine_fn_config_program dpnsvr enable_dpnsvr
install
19264 wine_fn_config_program dxdiag enable_dxdiag
install
19265 wine_fn_config_program eject enable_eject
install
19266 wine_fn_config_program
expand enable_expand
install
19267 wine_fn_config_program explorer enable_explorer
install
19268 wine_fn_config_program extrac32 enable_extrac32
install
19269 wine_fn_config_program findstr enable_findstr
install
19270 wine_fn_config_program fsutil enable_fsutil
install
19271 wine_fn_config_program hh enable_hh
install
19272 wine_fn_config_program hostname enable_hostname
install
19273 wine_fn_config_program icacls enable_icacls
install
19274 wine_fn_config_program icinfo enable_icinfo
install
19275 wine_fn_config_program iexplore enable_iexplore
install
19276 wine_fn_config_program ipconfig enable_ipconfig
install
19277 wine_fn_config_program lodctr enable_lodctr
install
19278 wine_fn_config_program mofcomp enable_mofcomp
install
19279 wine_fn_config_program mshta enable_mshta
install
19280 wine_fn_config_program msiexec enable_msiexec
install,installbin
,manpage
19281 wine_fn_config_program msinfo32 enable_msinfo32
install
19282 wine_fn_config_program net enable_net
install
19283 wine_fn_config_program netsh enable_netsh
install
19284 wine_fn_config_program netstat enable_netstat
install
19285 wine_fn_config_program ngen enable_ngen
install
19286 wine_fn_config_program notepad enable_notepad
install,installbin
,manpage
19287 wine_fn_config_program oleview enable_oleview
install
19288 wine_fn_config_program
ping enable_ping
install
19289 wine_fn_config_program plugplay enable_plugplay
install
19290 wine_fn_config_program powershell enable_powershell
install
19291 wine_fn_config_program presentationfontcache enable_presentationfontcache
install
19292 wine_fn_config_program progman enable_progman
install
19293 wine_fn_config_program reg enable_reg
install
19294 wine_fn_config_test programs
/reg
/tests reg.exe_test
19295 wine_fn_config_program regasm enable_regasm
install
19296 wine_fn_config_program regedit enable_regedit
install,installbin
,manpage
19297 wine_fn_config_test programs
/regedit
/tests regedit.exe_test
19298 wine_fn_config_program regsvcs enable_regsvcs
install
19299 wine_fn_config_program regsvr32 enable_regsvr32
install,installbin
,manpage
19300 wine_fn_config_program rpcss enable_rpcss
install
19301 wine_fn_config_program rundll.exe16 enable_win16
install
19302 wine_fn_config_program rundll32 enable_rundll32
install
19303 wine_fn_config_program sc enable_sc
install
19304 wine_fn_config_program schtasks enable_schtasks
install
19305 wine_fn_config_test programs
/schtasks
/tests schtasks.exe_test
19306 wine_fn_config_program sdbinst enable_sdbinst
install
19307 wine_fn_config_program secedit enable_secedit
install
19308 wine_fn_config_program servicemodelreg enable_servicemodelreg
install
19309 wine_fn_config_program services enable_services
install
19310 wine_fn_config_test programs
/services
/tests services.exe_test
19311 wine_fn_config_program shutdown enable_shutdown
install
19312 wine_fn_config_program spoolsv enable_spoolsv
install
19313 wine_fn_config_program start enable_start
install
19314 wine_fn_config_program subst enable_subst
install
19315 wine_fn_config_program svchost enable_svchost
install
19316 wine_fn_config_program systeminfo enable_systeminfo
install
19317 wine_fn_config_program taskkill enable_taskkill
install
19318 wine_fn_config_program tasklist enable_tasklist
install
19319 wine_fn_config_program taskmgr enable_taskmgr
install
19320 wine_fn_config_program termsv enable_termsv
install
19321 wine_fn_config_program uninstaller enable_uninstaller
install
19322 wine_fn_config_program unlodctr enable_unlodctr
install
19323 wine_fn_config_program view enable_view
install
19324 wine_fn_config_program wevtutil enable_wevtutil
install
19325 wine_fn_config_program wineboot enable_wineboot
install,installbin
,manpage
19326 wine_fn_config_program winebrowser enable_winebrowser
install
19327 wine_fn_config_program winecfg enable_winecfg
install,installbin
,manpage
19328 wine_fn_config_program wineconsole enable_wineconsole
install,installbin
,manpage
19329 wine_fn_config_program winedbg enable_winedbg
install,installbin
,manpage
19330 wine_fn_config_program winedevice enable_winedevice
install
19331 wine_fn_config_program winefile enable_winefile
install,installbin
,manpage
19332 wine_fn_config_program winemenubuilder enable_winemenubuilder
install
19333 wine_fn_config_program winemine enable_winemine
install,installbin
,manpage
19334 wine_fn_config_program winemsibuilder enable_winemsibuilder
install
19335 wine_fn_config_program winepath enable_winepath
install,installbin
,manpage
19336 wine_fn_config_program winetest enable_winetest
19337 wine_fn_config_program winevdm enable_win16
install
19338 wine_fn_config_program winhelp.exe16 enable_win16
install
19339 wine_fn_config_program winhlp32 enable_winhlp32
install
19340 wine_fn_config_program winoldap.mod16 enable_win16
install
19341 wine_fn_config_program winver enable_winver
install
19342 wine_fn_config_program wmic enable_wmic
install
19343 wine_fn_config_program wmplayer enable_wmplayer
install
19344 wine_fn_config_program wordpad enable_wordpad
install
19345 wine_fn_config_program
write enable_write
install
19346 wine_fn_config_program wscript enable_wscript
install
19347 wine_fn_config_test programs
/wscript
/tests wscript.exe_test
19348 wine_fn_config_program wusa enable_wusa
install
19349 wine_fn_config_program xcopy enable_xcopy
install
19350 wine_fn_config_test programs
/xcopy
/tests xcopy.exe_test
19351 wine_fn_config_makefile server enable_server install-lib
19352 wine_fn_config_tool tools
19353 wine_fn_config_tool tools
/sfnt2fon
19354 wine_fn_config_tool tools
/widl install-dev
19355 wine_fn_config_tool tools
/winebuild install-dev
19356 wine_fn_config_tool tools
/winedump install-dev
19357 wine_fn_config_tool tools
/winegcc install-dev
19358 wine_fn_config_tool tools
/winemaker install-dev
19359 wine_fn_config_tool tools
/wmc install-dev
19360 wine_fn_config_tool tools
/wrc install-dev
19363 wine_fn_append_file CONFIGURE_TARGETS
"TAGS"
19364 wine_fn_append_file CONFIGURE_TARGETS
"tags"
19365 wine_fn_append_file CONFIGURE_TARGETS
"autom4te.cache"
19366 wine_fn_append_file CONFIGURE_TARGETS
"config.log"
19367 wine_fn_append_file CONFIGURE_TARGETS
"config.status"
19368 wine_fn_append_file CONFIGURE_TARGETS
"include/config.h"
19369 wine_fn_append_file CONFIGURE_TARGETS
"include/stamp-h"
19370 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS
"loader/wine"
19372 if test "x$enable_tools" != xno
19374 wine_fn_append_file CONFIGURE_TARGETS
"tools/makedep$ac_exeext"
19375 ac_config_commands
="$ac_config_commands tools/makedep"
19379 ac_config_commands
="$ac_config_commands Makefile"
19382 ac_config_files
="$ac_config_files Make.tmp:Makefile.in"
19386 if test "x$enable_maintainer_mode" = xyes
19388 wine_fn_append_rule
"configure: configure.ac aclocal.m4
19389 autoconf --warnings=all
19390 include/config.h.in: include/stamp-h.in
19391 include/stamp-h.in: configure.ac aclocal.m4
19392 autoheader --warnings=all
19393 @echo timestamp > \$@"
19396 if test "x$enable_tools" != xno
19398 wine_fn_append_rule
"tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
19399 @./config.status tools/makedep
19400 Makefile: tools/makedep$ac_exeext"
19402 wine_fn_append_rule
"\$(MAKEDEP):
19403 @echo \"You need to run make in $TOOLSDIR first\" && false"
19406 if test -n "$with_wine64"
19408 wine_fn_append_rule
"all: fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader
19410 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
19411 $with_wine64/loader/wine:
19412 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
19413 $with_wine64/loader/wine-preloader:
19414 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
19416 \$(RM) fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
19418 WINELOADER_INSTALL
="wine.inf l_intl.nls"
19421 cygwin
*|mingw32
*|darwin
*|macosx
*|linux-android
*) ;;
19422 *) WINELOADER_INSTALL
="$WINELOADER_INSTALL wine.desktop" ;;
19426 $as_echo " done" >&6
19427 cat >confcache
<<\_ACEOF
19428 # This file is a shell script that caches the results of configure
19429 # tests run on this system so they can be shared between configure
19430 # scripts and configure runs, see configure's option --config-cache.
19431 # It is not useful on other systems. If it contains results you don't
19432 # want to keep, you may remove or edit it.
19434 # config.status only pays attention to the cache file if you give it
19435 # the --recheck option to rerun configure.
19437 # `ac_cv_env_foo' variables (set or unset) will be overridden when
19438 # loading this file, other *unset* `ac_cv_foo' will be assigned the
19439 # following values.
19443 # The following way of writing the cache mishandles newlines in values,
19444 # but we know of no workaround that is simple, portable, and efficient.
19445 # So, we kill variables containing newlines.
19446 # Ultrix sh set writes to stderr and can't be redirected directly,
19447 # and sets the high bit in the cache file unless we assign to the vars.
19449 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
19450 eval ac_val
=\$
$ac_var
19454 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
19455 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
19458 _ | IFS | as_nl
) ;; #(
19459 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
19460 *) { eval $ac_var=; unset $ac_var;} ;;
19466 case $as_nl`(ac_space=' '; set) 2>&1` in #(
19467 *${as_nl}ac_space
=\
*)
19468 # `set' does not quote correctly, so add quotes: double-quote
19469 # substitution turns \\\\ into \\, and sed turns \\ into \.
19472 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
19475 # `set' quotes correctly as required by POSIX, so do not add quotes.
19476 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
19485 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
19487 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
19489 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
19490 if test -w "$cache_file"; then
19491 if test "x$cache_file" != "x/dev/null"; then
19492 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
19493 $as_echo "$as_me: updating cache $cache_file" >&6;}
19494 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
19495 cat confcache
>"$cache_file"
19497 case $cache_file in #(
19499 mv -f confcache
"$cache_file"$$
&&
19500 mv -f "$cache_file"$$
"$cache_file" ;; #(
19502 mv -f confcache
"$cache_file" ;;
19507 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
19508 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
19513 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
19514 # Let make expand exec_prefix.
19515 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
19517 DEFS
=-DHAVE_CONFIG_H
19522 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
19523 # 1. Remove the extension, and $U if already installed.
19524 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
19525 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
19526 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
19527 # will be set to the directory where LIBOBJS objects are built.
19528 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
19529 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
19531 LIBOBJS
=$ac_libobjs
19533 LTLIBOBJS
=$ac_ltlibobjs
19537 : "${CONFIG_STATUS=./config.status}"
19539 ac_clean_files_save
=$ac_clean_files
19540 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
19541 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
19542 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
19544 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
19546 # Generated by $as_me.
19547 # Run this file to recreate the current configuration.
19548 # Compiler output produced by configure, useful for debugging
19549 # configure, is in config.log if it exists.
19552 ac_cs_recheck=false
19555 SHELL=\${CONFIG_SHELL-$SHELL}
19558 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
19559 ## -------------------- ##
19560 ## M4sh Initialization. ##
19561 ## -------------------- ##
19563 # Be more Bourne compatible
19564 DUALCASE
=1; export DUALCASE
# for MKS sh
19565 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
19568 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
19569 # is contrary to our usage. Disable this feature.
19570 alias -g '${1+"$@"}'='"$@"'
19571 setopt NO_GLOB_SUBST
19573 case `(set -o) 2>/dev/null` in #(
19585 # Printing a long string crashes Solaris 7 /usr/bin/printf.
19586 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
19587 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
19588 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
19589 # Prefer a ksh shell builtin over an external printf program on Solaris,
19590 # but without wasting forks for bash or zsh.
19591 if test -z "$BASH_VERSION$ZSH_VERSION" \
19592 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
19593 as_echo='print
-r --'
19594 as_echo_n='print
-rn --'
19595 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
19596 as_echo='printf %s
\n'
19597 as_echo_n='printf %s
'
19599 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
19600 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
19601 as_echo_n='/usr
/ucb
/echo -n'
19603 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
19604 as_echo_n_body='eval
19608 expr "X$arg" : "X\\(.*\\)$as_nl";
19609 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
19611 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
19613 export as_echo_n_body
19614 as_echo_n='sh
-c $as_echo_n_body as_echo
'
19616 export as_echo_body
19617 as_echo='sh
-c $as_echo_body as_echo
'
19620 # The user is always right.
19621 if test "${PATH_SEPARATOR+set}" != set; then
19623 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
19624 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
19631 # We need space, tab and new line, in precisely that order. Quoting is
19632 # there to prevent editors from complaining about space-tab.
19633 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
19634 # splitting by setting IFS to empty value.)
19637 # Find who we are. Look in the path if we contain no directory separator.
19640 *[\\/]* ) as_myself=$0 ;;
19641 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19642 for as_dir in $PATH
19645 test -z "$as_dir" && as_dir=.
19646 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
19652 # We did not find ourselves, most probably we were run as `sh COMMAND'
19653 # in which case we are not to be found in the path.
19654 if test "x$as_myself" = x
; then
19657 if test ! -f "$as_myself"; then
19658 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
19662 # Unset variables that we do not need and which cause bugs (e.g. in
19663 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
19664 # suppresses any "Segmentation fault" message there. '((' could
19665 # trigger a bug in pdksh 5.2.14.
19666 for as_var
in BASH_ENV ENV MAIL MAILPATH
19667 do eval test x\
${$as_var+set} = xset \
19668 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
19681 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
19684 # as_fn_error STATUS ERROR [LINENO LOG_FD]
19685 # ----------------------------------------
19686 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
19687 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
19688 # script with STATUS, using 1 if that was 0.
19691 as_status
=$1; test $as_status -eq 0 && as_status
=1
19693 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
19694 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
19696 $as_echo "$as_me: error: $2" >&2
19697 as_fn_exit
$as_status
19701 # as_fn_set_status STATUS
19702 # -----------------------
19703 # Set $? to STATUS, without forking.
19704 as_fn_set_status
()
19707 } # as_fn_set_status
19709 # as_fn_exit STATUS
19710 # -----------------
19711 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
19715 as_fn_set_status
$1
19721 # Portably unset VAR.
19724 { eval $1=; unset $1;}
19726 as_unset
=as_fn_unset
19727 # as_fn_append VAR VALUE
19728 # ----------------------
19729 # Append the text in VALUE to the end of the definition contained in VAR. Take
19730 # advantage of any shell optimizations that allow amortized linear growth over
19731 # repeated appends, instead of the typical quadratic growth present in naive
19733 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
19734 eval 'as_fn_append ()
19745 # as_fn_arith ARG...
19746 # ------------------
19747 # Perform arithmetic evaluation on the ARGs, and store the result in the
19748 # global $as_val. Take advantage of shells that can avoid forks. The arguments
19749 # must be portable across $(()) and expr.
19750 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
19751 eval 'as_fn_arith ()
19758 as_val
=`expr "$@" || test $? -eq 1`
19763 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
19764 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
19770 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
19771 as_basename
=basename
19776 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
19782 as_me
=`$as_basename -- "$0" ||
19783 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
19784 X"$0" : 'X\(//\)$' \| \
19785 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
19787 sed '/^.*\/\([^/][^/]*\)\/*$/{
19801 # Avoid depending upon Character Ranges.
19802 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
19803 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
19804 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
19805 as_cr_digits
='0123456789'
19806 as_cr_alnum
=$as_cr_Letters$as_cr_digits
19808 ECHO_C
= ECHO_N
= ECHO_T
=
19809 case `echo -n x` in #(((((
19811 case `echo 'xy\c'` in
19812 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
19814 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
19821 rm -f conf$$ conf$$.exe conf$$.
file
19822 if test -d conf$$.dir
; then
19823 rm -f conf$$.dir
/conf$$.
file
19826 mkdir conf$$.dir
2>/dev
/null
19828 if (echo >conf$$.
file) 2>/dev
/null
; then
19829 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
19831 # ... but there are two gotchas:
19832 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
19833 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
19834 # In both cases, we have to default to `cp -pR'.
19835 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
19837 elif ln conf$$.
file conf$$
2>/dev
/null
; then
19845 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
19846 rmdir conf$$.dir
2>/dev
/null
19851 # Create "$as_dir" as a directory, including parents if necessary.
19856 -*) as_dir
=.
/$as_dir;;
19858 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
19862 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
19863 *) as_qdir
=$as_dir;;
19865 as_dirs
="'$as_qdir' $as_dirs"
19866 as_dir
=`$as_dirname -- "$as_dir" ||
19867 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19868 X"$as_dir" : 'X\(//\)[^/]' \| \
19869 X"$as_dir" : 'X\(//\)$' \| \
19870 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
19871 $as_echo X"$as_dir" |
19872 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19876 /^X\(\/\/\)[^/].*/{
19889 test -d "$as_dir" && break
19891 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
19892 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
19896 if mkdir
-p .
2>/dev
/null
; then
19897 as_mkdir_p
='mkdir -p "$as_dir"'
19899 test -d .
/-p && rmdir .
/-p
19904 # as_fn_executable_p FILE
19905 # -----------------------
19906 # Test if FILE is an executable regular file.
19907 as_fn_executable_p
()
19909 test -f "$1" && test -x "$1"
19910 } # as_fn_executable_p
19911 as_test_x
='test -x'
19912 as_executable_p
=as_fn_executable_p
19914 # Sed expression to map a string onto a valid CPP name.
19915 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
19917 # Sed expression to map a string onto a valid variable name.
19918 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
19922 ## ----------------------------------- ##
19923 ## Main body of $CONFIG_STATUS script. ##
19924 ## ----------------------------------- ##
19926 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
19928 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19929 # Save the log message, to keep $0 and so on meaningful, and to
19930 # report actual input values of CONFIG_FILES etc. instead of their
19931 # values after options handling.
19933 This file was extended by Wine $as_me 3.2, which was
19934 generated by GNU Autoconf 2.69. Invocation command line was
19936 CONFIG_FILES = $CONFIG_FILES
19937 CONFIG_HEADERS = $CONFIG_HEADERS
19938 CONFIG_LINKS = $CONFIG_LINKS
19939 CONFIG_COMMANDS = $CONFIG_COMMANDS
19942 on `(hostname || uname -n) 2>/dev/null | sed 1q`
19947 case $ac_config_files in *"
19948 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
19951 case $ac_config_headers in *"
19952 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
19956 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19957 # Files that config.status was made for.
19958 config_files="$ac_config_files"
19959 config_headers="$ac_config_headers"
19960 config_links="$ac_config_links"
19961 config_commands="$ac_config_commands"
19965 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19967 \`$as_me' instantiates files and other configuration actions
19968 from templates according to the current configuration. Unless the files
19969 and actions are specified as TAGs, all are instantiated by default.
19971 Usage: $0 [OPTION]... [TAG]...
19973 -h, --help print this help, then exit
19974 -V, --version print version number and configuration settings, then exit
19975 --config print configuration, then exit
19976 -q, --quiet, --silent
19977 do not print progress messages
19978 -d, --debug don't remove temporary files
19979 --recheck update $as_me by reconfiguring in the same conditions
19980 --file=FILE[:TEMPLATE]
19981 instantiate the configuration file FILE
19982 --header=FILE[:TEMPLATE]
19983 instantiate the configuration header FILE
19985 Configuration files:
19988 Configuration headers:
19991 Configuration links:
19994 Configuration commands:
19997 Report bugs to <wine-devel@winehq.org>.
19998 Wine home page: <https://www.winehq.org>."
20001 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20002 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
20004 Wine config.status 3.2
20005 configured by $0, generated by GNU Autoconf 2.69,
20006 with options \\"\$ac_cs_config\\"
20008 Copyright (C) 2012 Free Software Foundation, Inc.
20009 This config.status script is free software; the Free Software Foundation
20010 gives unlimited permission to copy, distribute and modify it."
20014 test -n "\$AWK" || AWK=awk
20017 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
20018 # The default lists apply if the user does not specify any file.
20024 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
20025 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
20029 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
20041 # Handling of the options.
20042 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
20044 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
20045 $as_echo "$ac_cs_version"; exit ;;
20046 --config |
--confi |
--conf |
--con |
--co |
--c )
20047 $as_echo "$ac_cs_config"; exit ;;
20048 --debug |
--debu |
--deb |
--de |
--d |
-d )
20050 --file |
--fil |
--fi |
--f )
20053 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
20054 '') as_fn_error $?
"missing file argument" ;;
20056 as_fn_append CONFIG_FILES
" '$ac_optarg'"
20057 ac_need_defaults
=false
;;
20058 --header |
--heade |
--head |
--hea )
20061 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
20063 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
20064 ac_need_defaults
=false
;;
20066 # Conflict between --help and --header
20067 as_fn_error $?
"ambiguous option: \`$1'
20068 Try \`$0 --help' for more information.";;
20069 --help |
--hel |
-h )
20070 $as_echo "$ac_cs_usage"; exit ;;
20071 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
20072 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
20075 # This is an error.
20076 -*) as_fn_error $?
"unrecognized option: \`$1'
20077 Try \`$0 --help' for more information." ;;
20079 *) as_fn_append ac_config_targets
" $1"
20080 ac_need_defaults
=false
;;
20086 ac_configure_extra_args
=
20088 if $ac_cs_silent; then
20090 ac_configure_extra_args
="$ac_configure_extra_args --silent"
20094 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20095 if \$ac_cs_recheck; then
20096 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
20098 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
20099 CONFIG_SHELL='$SHELL'
20100 export CONFIG_SHELL
20105 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
20109 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
20110 ## Running $as_me. ##
20116 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20120 wine_fn_output_makedep ()
20122 as_dir=tools; as_fn_mkdir_p
20123 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
20125 wine_fn_output_makefile ()
20127 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" && return
20128 `cat $wine_rules_file`
20130 as_fn_error $? "could not create Makefile" "$LINENO" 5
20135 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
20137 # Handling of arguments.
20138 for ac_config_target
in $ac_config_targets
20140 case $ac_config_target in
20141 "include/config.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/config.h" ;;
20142 "include/stamp-h") CONFIG_COMMANDS
="$CONFIG_COMMANDS include/stamp-h" ;;
20143 "fonts/marlett.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
20144 "fonts/symbol.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
20145 "fonts/tahoma.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
20146 "fonts/tahomabd.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
20147 "fonts/wingding.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/wingding.ttf:fonts/wingding.ttf" ;;
20148 "loader/l_intl.nls") CONFIG_LINKS
="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
20149 "wine") CONFIG_LINKS
="$CONFIG_LINKS wine:tools/winewrapper" ;;
20150 "wine64") CONFIG_LINKS
="$CONFIG_LINKS wine64:tools/winewrapper" ;;
20151 "tools/makedep") CONFIG_COMMANDS
="$CONFIG_COMMANDS tools/makedep" ;;
20152 "Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS Makefile" ;;
20153 "Make.tmp") CONFIG_FILES
="$CONFIG_FILES Make.tmp:Makefile.in" ;;
20155 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
20160 # If the user did not use the arguments to specify the items to instantiate,
20161 # then the envvar interface is used. Set only those that are not.
20162 # We use the long form for the default assignment because of an extremely
20163 # bizarre bug on SunOS 4.1.3.
20164 if $ac_need_defaults; then
20165 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
20166 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
20167 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS
=$config_links
20168 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
20171 # Have a temporary directory for convenience. Make it in the build tree
20172 # simply because there is no reason against having it here, and in addition,
20173 # creating and moving files from /tmp can sometimes cause problems.
20174 # Hook for its removal unless debugging.
20175 # Note that there is a small window in which the directory will not be cleaned:
20176 # after its creation but before its name has been assigned to `$tmp'.
20180 trap 'exit_status=$?
20181 : "${ac_tmp:=$tmp}"
20182 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
20184 trap 'as_fn_exit 1' 1 2 13 15
20186 # Create a (secure) tmp directory for tmp files.
20189 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
20193 tmp
=.
/conf$$
-$RANDOM
20194 (umask 077 && mkdir
"$tmp")
20195 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
20198 # Set up the scripts for CONFIG_FILES section.
20199 # No need to generate them if there are no CONFIG_FILES.
20200 # This happens for instance with `./config.status config.h'.
20201 if test -n "$CONFIG_FILES"; then
20204 ac_cr
=`echo X | tr X '\015'`
20205 # On cygwin, bash can eat \r inside `` if the user requested igncr.
20206 # But we know of no other shell where ac_cr would be empty at this
20207 # point, so we can use a bashism as a fallback.
20208 if test "x$ac_cr" = x
; then
20209 eval ac_cr
=\$
\'\\r
\'
20211 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
20212 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
20215 ac_cs_awk_cr
=$ac_cr
20218 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
20223 echo "cat >conf$$subs.awk <<_ACEOF" &&
20224 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
20226 } >conf$$subs.sh ||
20227 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
20228 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
20230 for ac_last_try in false false false false false :; do
20231 . ./conf$$subs.sh ||
20232 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
20234 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
20235 if test $ac_delim_n = $ac_delim_num; then
20237 elif $ac_last_try; then
20238 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
20240 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
20243 rm -f conf$$subs.sh
20245 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20246 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
20250 s/^/S["/; s
/!.
*/"]=/
20260 s/\(.\{148\}\)..*/\1/
20262 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
20267 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
20274 s/\(.\{148\}\)..*/\1/
20276 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
20280 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
20285 ' <conf$$subs.awk | sed '
20290 ' >>$CONFIG_STATUS || ac_write_fail=1
20291 rm -f conf$$subs.awk
20292 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20294 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
20295 for (key in S) S_is_set[key] = 1
20301 nfields = split(line, field, "@
")
20303 len = length(field[1])
20304 for (i = 2; i < nfields; i++) {
20306 keylen = length(key)
20307 if (S_is_set[key]) {
20309 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
20310 len += length(value) + length(field[++i])
20321 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20322 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
20323 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
20326 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
20327 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
20330 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
20331 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
20332 # trailing colons and then remove the whole line if VPATH becomes empty
20333 # (actually we leave an empty line to preserve line numbers).
20334 if test "x
$srcdir" = x.; then
20335 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
20353 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20354 fi # test -n "$CONFIG_FILES"
20356 # Set up the scripts for CONFIG_HEADERS section.
20357 # No need to generate them if there are no CONFIG_HEADERS.
20358 # This happens for instance with `./config.status Makefile'.
20359 if test -n "$CONFIG_HEADERS"; then
20360 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
20364 # Transform confdefs.h into an awk script `defines.awk', embedded as
20365 # here-document in config.status, that substitutes the proper values into
20366 # config.h.in to produce config.h.
20368 # Create a delimiter string that does not exist in confdefs.h, to ease
20369 # handling of long lines.
20371 for ac_last_try in false false :; do
20372 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
20373 if test -z "$ac_tt"; then
20375 elif $ac_last_try; then
20376 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
20378 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
20382 # For the awk script, D is an array of macro values keyed by name,
20383 # likewise P contains macro parameters if any. Preserve backslash
20384 # newline sequences.
20386 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
20388 s/.\{148\}/&'"$ac_delim"'/g
20391 s/^[ ]*#[ ]*define[ ][ ]*/ /
20398 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
20400 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
20404 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
20405 D["\
1"]=" \
3\\\\\\n
"\\/p
20407 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
20412 s/.\{148\}/&'"$ac_delim"'/g
20417 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
20420 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
20422 ' <confdefs.h | sed '
20423 s/'"$ac_delim"'/"\\\
20424 "/g' >>$CONFIG_STATUS || ac_write_fail=1
20426 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20427 for (key in D) D_is_set[key] = 1
20430 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
20432 split(line, arg, " ")
20433 if (arg[1] == "#") {
20437 defundef
= substr
(arg
[1], 2)
20440 split(mac1
, mac2
, "(") #)
20442 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
20443 if (D_is_set
[macro
]) {
20444 # Preserve the white space surrounding the "#".
20445 print prefix
"define", macro P
[macro
] D
[macro
]
20448 # Replace #undef with comments. This is necessary, for example,
20449 # in the case of _POSIX_SOURCE, which is predefined and required
20450 # on some systems where configure will not decide to define it.
20451 if (defundef
== "undef") {
20452 print
"/*", prefix defundef
, macro
, "*/"
20460 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
20461 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
20462 fi # test -n "$CONFIG_HEADERS"
20465 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
20470 :[FHLC
]) ac_mode
=$ac_tag; continue;;
20472 case $ac_mode$ac_tag in
20474 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
20475 :[FH
]-) ac_tag
=-:-;;
20476 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
20493 -) ac_f
="$ac_tmp/stdin";;
20494 *) # Look for the file first in the build tree, then in the source tree
20495 # (if the path is not absolute). The absolute path cannot be DOS-style,
20496 # because $ac_f cannot contain `:'.
20500 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
20502 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
20504 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
20505 as_fn_append ac_file_inputs
" '$ac_f'"
20508 # Let's still pretend it is `configure' which instantiates (i.e., don't
20509 # use $as_me), people would be surprised to read:
20510 # /* config.h. Generated by config.status. */
20511 configure_input
='Generated from '`
20512 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
20514 if test x
"$ac_file" != x-
; then
20515 configure_input
="$ac_file. $configure_input"
20516 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
20517 $as_echo "$as_me: creating $ac_file" >&6;}
20519 # Neutralize special characters interpreted by sed in replacement strings.
20520 case $configure_input in #(
20521 *\
&* |
*\|
* |
*\\* )
20522 ac_sed_conf_input
=`$as_echo "$configure_input" |
20523 sed 's/[\\\\&|]/\\\\&/g'`;; #(
20524 *) ac_sed_conf_input
=$configure_input;;
20528 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
20529 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
20534 ac_dir
=`$as_dirname -- "$ac_file" ||
20535 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20536 X"$ac_file" : 'X\(//\)[^/]' \| \
20537 X"$ac_file" : 'X\(//\)$' \| \
20538 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
20539 $as_echo X"$ac_file" |
20540 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20544 /^X\(\/\/\)[^/].*/{
20557 as_dir
="$ac_dir"; as_fn_mkdir_p
20561 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
20563 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
20564 # A ".." for each directory in $ac_dir_suffix.
20565 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
20566 case $ac_top_builddir_sub in
20567 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
20568 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
20571 ac_abs_top_builddir
=$ac_pwd
20572 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
20573 # for backward compatibility:
20574 ac_top_builddir
=$ac_top_build_prefix
20577 .
) # We are building in place.
20579 ac_top_srcdir
=$ac_top_builddir_sub
20580 ac_abs_top_srcdir
=$ac_pwd ;;
20581 [\\/]* | ?
:[\\/]* ) # Absolute name.
20582 ac_srcdir
=$srcdir$ac_dir_suffix;
20583 ac_top_srcdir
=$srcdir
20584 ac_abs_top_srcdir
=$srcdir ;;
20585 *) # Relative name.
20586 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
20587 ac_top_srcdir
=$ac_top_build_prefix$srcdir
20588 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
20590 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
20601 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
20602 # If the template does not know about datarootdir, expand it.
20603 # FIXME: This hack should be removed a few years after 2.60.
20604 ac_datarootdir_hack
=; ac_datarootdir_seen
=
20615 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
20616 *datarootdir
*) ac_datarootdir_seen
=yes;;
20617 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
20618 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
20619 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
20621 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20622 ac_datarootdir_hack='
20623 s&@datadir@&$datadir&g
20624 s&@docdir@&$docdir&g
20625 s&@infodir@&$infodir&g
20626 s&@localedir@&$localedir&g
20627 s&@mandir@&$mandir&g
20628 s&\\\${datarootdir}&$datarootdir&g' ;;
20632 # Neutralize VPATH when `$srcdir' = `.'.
20633 # Shell code in configure.ac might set extrasub.
20634 # FIXME: do we really want to maintain this feature?
20635 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20636 ac_sed_extra="$ac_vpsub
20639 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
20641 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
20642 s|@configure_input@|
$ac_sed_conf_input|
;t t
20643 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
20644 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
20645 s
&@srcdir@
&$ac_srcdir&;t t
20646 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
20647 s
&@top_srcdir@
&$ac_top_srcdir&;t t
20648 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
20649 s
&@builddir@
&$ac_builddir&;t t
20650 s
&@abs_builddir@
&$ac_abs_builddir&;t t
20651 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
20652 $ac_datarootdir_hack
20654 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
20655 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
20657 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
20658 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
20659 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
20660 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
20661 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
20662 which seems to be undefined. Please make sure it is defined" >&5
20663 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
20664 which seems to be undefined. Please make sure it is defined" >&2;}
20666 rm -f "$ac_tmp/stdin"
20668 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
20669 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
20671 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20677 if test x"$ac_file" != x-; then
20679 $as_echo "/* $configure_input */" \
20680 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
20681 } >"$ac_tmp/config.h" \
20682 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20683 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
20684 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
20685 $as_echo "$as_me: $ac_file is unchanged" >&6;}
20688 mv "$ac_tmp/config.h" "$ac_file" \
20689 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20692 $as_echo "/* $configure_input */" \
20693 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
20694 || as_fn_error $? "could not create -" "$LINENO" 5
20702 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.
'; then
20705 # Prefer the file from the source tree if names are identical.
20706 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
20707 ac_source=$srcdir/$ac_source
20710 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
20711 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
20713 if test ! -r "$ac_source"; then
20714 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
20718 # Try a relative symlink, then a hard link, then a copy.
20720 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
20721 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
20723 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
20724 ln "$ac_source" "$ac_file" 2>/dev/null ||
20725 cp -p "$ac_source" "$ac_file" ||
20726 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
20729 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
20730 $as_echo "$as_me: executing $ac_file commands" >&6;}
20735 case $ac_file$ac_mode in
20736 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
20737 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
20738 "Makefile":C) wine_fn_output_makefile Makefile ;;
20746 ac_clean_files=$ac_clean_files_save
20748 test $ac_write_fail = 0 ||
20749 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
20752 # configure is writing to config.log, and then calls config.status.
20753 # config.status does its own redirection, appending to config.log.
20754 # Unfortunately, on DOS this fails, as config.log is still kept open
20755 # by configure, so config.status won't be able to
write to it
; its
20756 # output is simply discarded. So we exec the FD to /dev/null,
20757 # effectively closing config.log, so it can be properly (re)opened and
20758 # appended to by config.status. When coming back to configure, we
20759 # need to make the FD available again.
20760 if test "$no_create" != yes; then
20762 ac_config_status_args
=
20763 test "$silent" = yes &&
20764 ac_config_status_args
="$ac_config_status_args --quiet"
20766 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
20768 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
20769 # would make configure fail if this is the last instruction.
20770 $ac_cs_success || as_fn_exit
1
20772 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
20773 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
20774 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
20778 if test "$no_create" = "yes"
20784 if test "x$wine_notices" != x
; then
20787 for msg
in $wine_notices; do
20789 if ${msg:+false} :; then :
20792 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
20793 $as_echo "$as_me: $msg" >&6;}
20798 for msg
in $wine_warnings; do
20800 if ${msg:+false} :; then :
20804 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
20805 $as_echo "$as_me: WARNING: $msg" >&2;}
20811 $as_me: Finished. Do '${ac_make}' to compile Wine.