2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 2.14.
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
='2.14'
584 PACKAGE_STRING
='Wine 2.14'
585 PACKAGE_BUGREPORT
='wine-devel@winehq.org'
586 PACKAGE_URL
='http://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
708 APPLICATIONSERVICES_LIBS
804 program_transform_name
817 enable_option_checking
821 enable_maintainer_mode
882 enable_api_ms_win_appmodel_identity_l1_1_0
883 enable_api_ms_win_appmodel_runtime_l1_1_1
884 enable_api_ms_win_core_apiquery_l1_1_0
885 enable_api_ms_win_core_appcompat_l1_1_1
886 enable_api_ms_win_core_appinit_l1_1_0
887 enable_api_ms_win_core_atoms_l1_1_0
888 enable_api_ms_win_core_bem_l1_1_0
889 enable_api_ms_win_core_com_l1_1_0
890 enable_api_ms_win_core_com_l1_1_1
891 enable_api_ms_win_core_com_private_l1_1_0
892 enable_api_ms_win_core_console_l1_1_0
893 enable_api_ms_win_core_console_l2_1_0
894 enable_api_ms_win_core_crt_l1_1_0
895 enable_api_ms_win_core_crt_l2_1_0
896 enable_api_ms_win_core_datetime_l1_1_0
897 enable_api_ms_win_core_datetime_l1_1_1
898 enable_api_ms_win_core_debug_l1_1_0
899 enable_api_ms_win_core_debug_l1_1_1
900 enable_api_ms_win_core_delayload_l1_1_0
901 enable_api_ms_win_core_delayload_l1_1_1
902 enable_api_ms_win_core_errorhandling_l1_1_0
903 enable_api_ms_win_core_errorhandling_l1_1_1
904 enable_api_ms_win_core_errorhandling_l1_1_2
905 enable_api_ms_win_core_fibers_l1_1_0
906 enable_api_ms_win_core_fibers_l1_1_1
907 enable_api_ms_win_core_file_l1_1_0
908 enable_api_ms_win_core_file_l1_2_0
909 enable_api_ms_win_core_file_l1_2_1
910 enable_api_ms_win_core_file_l2_1_0
911 enable_api_ms_win_core_file_l2_1_1
912 enable_api_ms_win_core_handle_l1_1_0
913 enable_api_ms_win_core_heap_l1_1_0
914 enable_api_ms_win_core_heap_l1_2_0
915 enable_api_ms_win_core_heap_obsolete_l1_1_0
916 enable_api_ms_win_core_interlocked_l1_1_0
917 enable_api_ms_win_core_interlocked_l1_2_0
918 enable_api_ms_win_core_io_l1_1_0
919 enable_api_ms_win_core_io_l1_1_1
920 enable_api_ms_win_core_job_l1_1_0
921 enable_api_ms_win_core_job_l2_1_0
922 enable_api_ms_win_core_kernel32_legacy_l1_1_0
923 enable_api_ms_win_core_kernel32_legacy_l1_1_1
924 enable_api_ms_win_core_kernel32_private_l1_1_1
925 enable_api_ms_win_core_libraryloader_l1_1_0
926 enable_api_ms_win_core_libraryloader_l1_1_1
927 enable_api_ms_win_core_libraryloader_l1_2_0
928 enable_api_ms_win_core_libraryloader_l1_2_2
929 enable_api_ms_win_core_localization_l1_1_0
930 enable_api_ms_win_core_localization_l1_2_0
931 enable_api_ms_win_core_localization_l1_2_1
932 enable_api_ms_win_core_localization_l2_1_0
933 enable_api_ms_win_core_localization_obsolete_l1_1_0
934 enable_api_ms_win_core_localization_obsolete_l1_2_0
935 enable_api_ms_win_core_localization_private_l1_1_0
936 enable_api_ms_win_core_localregistry_l1_1_0
937 enable_api_ms_win_core_memory_l1_1_0
938 enable_api_ms_win_core_memory_l1_1_1
939 enable_api_ms_win_core_memory_l1_1_2
940 enable_api_ms_win_core_misc_l1_1_0
941 enable_api_ms_win_core_namedpipe_l1_1_0
942 enable_api_ms_win_core_namedpipe_l1_2_0
943 enable_api_ms_win_core_namespace_l1_1_0
944 enable_api_ms_win_core_normalization_l1_1_0
945 enable_api_ms_win_core_path_l1_1_0
946 enable_api_ms_win_core_privateprofile_l1_1_1
947 enable_api_ms_win_core_processenvironment_l1_1_0
948 enable_api_ms_win_core_processenvironment_l1_2_0
949 enable_api_ms_win_core_processthreads_l1_1_0
950 enable_api_ms_win_core_processthreads_l1_1_1
951 enable_api_ms_win_core_processthreads_l1_1_2
952 enable_api_ms_win_core_profile_l1_1_0
953 enable_api_ms_win_core_psapi_ansi_l1_1_0
954 enable_api_ms_win_core_psapi_l1_1_0
955 enable_api_ms_win_core_psapi_obsolete_l1_1_0
956 enable_api_ms_win_core_quirks_l1_1_0
957 enable_api_ms_win_core_realtime_l1_1_0
958 enable_api_ms_win_core_registry_l1_1_0
959 enable_api_ms_win_core_registry_l2_1_0
960 enable_api_ms_win_core_registryuserspecific_l1_1_0
961 enable_api_ms_win_core_rtlsupport_l1_1_0
962 enable_api_ms_win_core_rtlsupport_l1_2_0
963 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
964 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
965 enable_api_ms_win_core_sidebyside_l1_1_0
966 enable_api_ms_win_core_string_l1_1_0
967 enable_api_ms_win_core_string_l2_1_0
968 enable_api_ms_win_core_string_obsolete_l1_1_0
969 enable_api_ms_win_core_stringansi_l1_1_0
970 enable_api_ms_win_core_synch_l1_1_0
971 enable_api_ms_win_core_synch_l1_2_0
972 enable_api_ms_win_core_sysinfo_l1_1_0
973 enable_api_ms_win_core_sysinfo_l1_2_0
974 enable_api_ms_win_core_sysinfo_l1_2_1
975 enable_api_ms_win_core_threadpool_l1_1_0
976 enable_api_ms_win_core_threadpool_l1_2_0
977 enable_api_ms_win_core_threadpool_legacy_l1_1_0
978 enable_api_ms_win_core_threadpool_private_l1_1_0
979 enable_api_ms_win_core_timezone_l1_1_0
980 enable_api_ms_win_core_toolhelp_l1_1_0
981 enable_api_ms_win_core_url_l1_1_0
982 enable_api_ms_win_core_util_l1_1_0
983 enable_api_ms_win_core_version_l1_1_0
984 enable_api_ms_win_core_version_private_l1_1_0
985 enable_api_ms_win_core_versionansi_l1_1_0
986 enable_api_ms_win_core_windowserrorreporting_l1_1_0
987 enable_api_ms_win_core_winrt_error_l1_1_0
988 enable_api_ms_win_core_winrt_error_l1_1_1
989 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
990 enable_api_ms_win_core_winrt_l1_1_0
991 enable_api_ms_win_core_winrt_registration_l1_1_0
992 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
993 enable_api_ms_win_core_winrt_string_l1_1_0
994 enable_api_ms_win_core_wow64_l1_1_0
995 enable_api_ms_win_core_xstate_l1_1_0
996 enable_api_ms_win_core_xstate_l2_1_0
997 enable_api_ms_win_crt_conio_l1_1_0
998 enable_api_ms_win_crt_convert_l1_1_0
999 enable_api_ms_win_crt_environment_l1_1_0
1000 enable_api_ms_win_crt_filesystem_l1_1_0
1001 enable_api_ms_win_crt_heap_l1_1_0
1002 enable_api_ms_win_crt_locale_l1_1_0
1003 enable_api_ms_win_crt_math_l1_1_0
1004 enable_api_ms_win_crt_multibyte_l1_1_0
1005 enable_api_ms_win_crt_private_l1_1_0
1006 enable_api_ms_win_crt_process_l1_1_0
1007 enable_api_ms_win_crt_runtime_l1_1_0
1008 enable_api_ms_win_crt_stdio_l1_1_0
1009 enable_api_ms_win_crt_string_l1_1_0
1010 enable_api_ms_win_crt_time_l1_1_0
1011 enable_api_ms_win_crt_utility_l1_1_0
1012 enable_api_ms_win_devices_config_l1_1_1
1013 enable_api_ms_win_devices_query_l1_1_1
1014 enable_api_ms_win_downlevel_advapi32_l1_1_0
1015 enable_api_ms_win_downlevel_advapi32_l2_1_0
1016 enable_api_ms_win_downlevel_normaliz_l1_1_0
1017 enable_api_ms_win_downlevel_ole32_l1_1_0
1018 enable_api_ms_win_downlevel_shell32_l1_1_0
1019 enable_api_ms_win_downlevel_shlwapi_l1_1_0
1020 enable_api_ms_win_downlevel_shlwapi_l2_1_0
1021 enable_api_ms_win_downlevel_user32_l1_1_0
1022 enable_api_ms_win_downlevel_version_l1_1_0
1023 enable_api_ms_win_dx_d3dkmt_l1_1_0
1024 enable_api_ms_win_eventing_classicprovider_l1_1_0
1025 enable_api_ms_win_eventing_consumer_l1_1_0
1026 enable_api_ms_win_eventing_controller_l1_1_0
1027 enable_api_ms_win_eventing_provider_l1_1_0
1028 enable_api_ms_win_eventlog_legacy_l1_1_0
1029 enable_api_ms_win_mm_misc_l1_1_1
1030 enable_api_ms_win_mm_mme_l1_1_0
1031 enable_api_ms_win_mm_time_l1_1_0
1032 enable_api_ms_win_ntuser_dc_access_l1_1_0
1033 enable_api_ms_win_power_base_l1_1_0
1034 enable_api_ms_win_power_setting_l1_1_0
1035 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
1036 enable_api_ms_win_security_activedirectoryclient_l1_1_0
1037 enable_api_ms_win_security_audit_l1_1_1
1038 enable_api_ms_win_security_base_l1_1_0
1039 enable_api_ms_win_security_base_l1_2_0
1040 enable_api_ms_win_security_base_private_l1_1_1
1041 enable_api_ms_win_security_credentials_l1_1_0
1042 enable_api_ms_win_security_grouppolicy_l1_1_0
1043 enable_api_ms_win_security_lsalookup_l1_1_0
1044 enable_api_ms_win_security_lsalookup_l1_1_1
1045 enable_api_ms_win_security_lsalookup_l2_1_1
1046 enable_api_ms_win_security_lsapolicy_l1_1_0
1047 enable_api_ms_win_security_provider_l1_1_0
1048 enable_api_ms_win_security_sddl_l1_1_0
1049 enable_api_ms_win_security_systemfunctions_l1_1_0
1050 enable_api_ms_win_service_core_l1_1_0
1051 enable_api_ms_win_service_core_l1_1_1
1052 enable_api_ms_win_service_management_l1_1_0
1053 enable_api_ms_win_service_management_l2_1_0
1054 enable_api_ms_win_service_private_l1_1_1
1055 enable_api_ms_win_service_winsvc_l1_1_0
1056 enable_api_ms_win_service_winsvc_l1_2_0
1057 enable_api_ms_win_shell_shellcom_l1_1_0
1058 enable_api_ms_win_shell_shellfolders_l1_1_0
1071 enable_bluetoothapis
1104 enable_d3dcompiler_33
1105 enable_d3dcompiler_34
1106 enable_d3dcompiler_35
1107 enable_d3dcompiler_36
1108 enable_d3dcompiler_37
1109 enable_d3dcompiler_38
1110 enable_d3dcompiler_39
1111 enable_d3dcompiler_40
1112 enable_d3dcompiler_41
1113 enable_d3dcompiler_42
1114 enable_d3dcompiler_43
1115 enable_d3dcompiler_46
1116 enable_d3dcompiler_47
1195 enable_explorerframe
1196 enable_ext_ms_win_authz_context_l1_1_0
1197 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
1198 enable_ext_ms_win_gdi_dc_create_l1_1_1
1199 enable_ext_ms_win_gdi_dc_l1_2_0
1200 enable_ext_ms_win_gdi_devcaps_l1_1_0
1201 enable_ext_ms_win_gdi_draw_l1_1_1
1202 enable_ext_ms_win_gdi_render_l1_1_0
1203 enable_ext_ms_win_kernel32_package_current_l1_1_0
1204 enable_ext_ms_win_kernel32_package_l1_1_1
1205 enable_ext_ms_win_ntuser_message_l1_1_1
1206 enable_ext_ms_win_ntuser_private_l1_1_1
1207 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
1208 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
1209 enable_ext_ms_win_ntuser_window_l1_1_1
1210 enable_ext_ms_win_ntuser_windowclass_l1_1_1
1211 enable_ext_ms_win_ras_rasapi32_l1_1_0
1212 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
1213 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
1214 enable_ext_ms_win_rtcore_ntuser_dc_access_l1_1_0
1215 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
1216 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
1217 enable_ext_ms_win_security_credui_l1_1_0
1218 enable_ext_ms_win_security_cryptui_l1_1_0
1388 enable_photometadatahandler
1453 enable_uiautomationcore
1483 enable_windowscodecs
1484 enable_windowscodecsext
1486 enable_wineandroid_drv
1488 enable_winecoreaudio_drv
1490 enable_winegstreamer
1492 enable_winejoystick_drv
1498 enable_winepulse_drv
1499 enable_wineqtdecoder
1570 enable_aspnet_regiis
1607 enable_presentationfontcache
1620 enable_servicemodelreg
1643 enable_winemenubuilder
1645 enable_winemsibuilder
1660 ac_precious_vars
='build_alias
1717 # Initialize some variables set by options.
1719 ac_init_version
=false
1720 ac_unrecognized_opts
=
1721 ac_unrecognized_sep
=
1722 # The variables have the same names as the options, with
1723 # dashes changed to underlines.
1724 cache_file
=/dev
/null
1731 program_transform_name
=s
,x
,x
,
1739 # Installation directory options.
1740 # These are left unexpanded so users can "make install exec_prefix=/foo"
1741 # and all the variables that are supposed to be based on exec_prefix
1742 # by default will actually change.
1743 # Use braces instead of parens because sh, perl, etc. also accept them.
1744 # (The list follows the same order as the GNU Coding Standards.)
1745 bindir
='${exec_prefix}/bin'
1746 sbindir
='${exec_prefix}/sbin'
1747 libexecdir
='${exec_prefix}/libexec'
1748 datarootdir
='${prefix}/share'
1749 datadir
='${datarootdir}'
1750 sysconfdir
='${prefix}/etc'
1751 sharedstatedir
='${prefix}/com'
1752 localstatedir
='${prefix}/var'
1753 runstatedir
='${localstatedir}/run'
1754 includedir
='${prefix}/include'
1755 oldincludedir
='/usr/include'
1756 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
1757 infodir
='${datarootdir}/info'
1762 libdir
='${exec_prefix}/lib'
1763 localedir
='${datarootdir}/locale'
1764 mandir
='${datarootdir}/man'
1770 # If the previous option needs an argument, assign it.
1771 if test -n "$ac_prev"; then
1772 eval $ac_prev=\
$ac_option
1778 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1783 # Accept the important Cygnus configure options, so we can diagnose typos.
1785 case $ac_dashdash$ac_option in
1789 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
1791 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
1792 bindir
=$ac_optarg ;;
1794 -build |
--build |
--buil |
--bui |
--bu)
1795 ac_prev
=build_alias
;;
1796 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
1797 build_alias
=$ac_optarg ;;
1799 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
1800 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
1801 ac_prev
=cache_file
;;
1802 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
1803 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
1804 cache_file
=$ac_optarg ;;
1806 --config-cache |
-C)
1807 cache_file
=config.cache
;;
1809 -datadir |
--datadir |
--datadi |
--datad)
1811 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
1812 datadir
=$ac_optarg ;;
1814 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1815 |
--dataroo |
--dataro |
--datar)
1816 ac_prev
=datarootdir
;;
1817 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1818 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1819 datarootdir
=$ac_optarg ;;
1821 -disable-* |
--disable-*)
1822 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1823 # Reject names that are not valid shell variable names.
1824 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1825 as_fn_error $?
"invalid feature name: $ac_useropt"
1826 ac_useropt_orig
=$ac_useropt
1827 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1828 case $ac_user_opts in
1830 "enable_
$ac_useropt"
1832 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1833 ac_unrecognized_sep
=', ';;
1835 eval enable_
$ac_useropt=no
;;
1837 -docdir |
--docdir |
--docdi |
--doc |
--do)
1839 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1840 docdir
=$ac_optarg ;;
1842 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1844 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1845 dvidir
=$ac_optarg ;;
1847 -enable-* |
--enable-*)
1848 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1849 # Reject names that are not valid shell variable names.
1850 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1851 as_fn_error $?
"invalid feature name: $ac_useropt"
1852 ac_useropt_orig
=$ac_useropt
1853 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1854 case $ac_user_opts in
1856 "enable_
$ac_useropt"
1858 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1859 ac_unrecognized_sep
=', ';;
1861 eval enable_
$ac_useropt=\
$ac_optarg ;;
1863 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1864 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1865 |
--exec |
--exe |
--ex)
1866 ac_prev
=exec_prefix
;;
1867 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1868 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1869 |
--exec=* |
--exe=* |
--ex=*)
1870 exec_prefix
=$ac_optarg ;;
1872 -gas |
--gas |
--ga |
--g)
1873 # Obsolete; use --with-gas.
1876 -help |
--help |
--hel |
--he |
-h)
1877 ac_init_help
=long
;;
1878 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1879 ac_init_help
=recursive
;;
1880 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1881 ac_init_help
=short
;;
1883 -host |
--host |
--hos |
--ho)
1884 ac_prev
=host_alias
;;
1885 -host=* |
--host=* |
--hos=* |
--ho=*)
1886 host_alias
=$ac_optarg ;;
1888 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1890 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1892 htmldir
=$ac_optarg ;;
1894 -includedir |
--includedir |
--includedi |
--included |
--include \
1895 |
--includ |
--inclu |
--incl |
--inc)
1896 ac_prev
=includedir
;;
1897 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1898 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1899 includedir
=$ac_optarg ;;
1901 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1903 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1904 infodir
=$ac_optarg ;;
1906 -libdir |
--libdir |
--libdi |
--libd)
1908 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1909 libdir
=$ac_optarg ;;
1911 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1912 |
--libexe |
--libex |
--libe)
1913 ac_prev
=libexecdir
;;
1914 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1915 |
--libexe=* |
--libex=* |
--libe=*)
1916 libexecdir
=$ac_optarg ;;
1918 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1919 ac_prev
=localedir
;;
1920 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1921 localedir
=$ac_optarg ;;
1923 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1924 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1925 ac_prev
=localstatedir
;;
1926 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1927 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1928 localstatedir
=$ac_optarg ;;
1930 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1932 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1933 mandir
=$ac_optarg ;;
1935 -nfp |
--nfp |
--nf)
1936 # Obsolete; use --without-fp.
1939 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1940 |
--no-cr |
--no-c |
-n)
1943 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1944 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1947 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1948 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1949 |
--oldin |
--oldi |
--old |
--ol |
--o)
1950 ac_prev
=oldincludedir
;;
1951 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1952 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1953 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1954 oldincludedir
=$ac_optarg ;;
1956 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1958 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1959 prefix
=$ac_optarg ;;
1961 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1962 |
--program-pre |
--program-pr |
--program-p)
1963 ac_prev
=program_prefix
;;
1964 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1965 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1966 program_prefix
=$ac_optarg ;;
1968 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1969 |
--program-suf |
--program-su |
--program-s)
1970 ac_prev
=program_suffix
;;
1971 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1972 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1973 program_suffix
=$ac_optarg ;;
1975 -program-transform-name |
--program-transform-name \
1976 |
--program-transform-nam |
--program-transform-na \
1977 |
--program-transform-n |
--program-transform- \
1978 |
--program-transform |
--program-transfor \
1979 |
--program-transfo |
--program-transf \
1980 |
--program-trans |
--program-tran \
1981 |
--progr-tra |
--program-tr |
--program-t)
1982 ac_prev
=program_transform_name
;;
1983 -program-transform-name=* |
--program-transform-name=* \
1984 |
--program-transform-nam=* |
--program-transform-na=* \
1985 |
--program-transform-n=* |
--program-transform-=* \
1986 |
--program-transform=* |
--program-transfor=* \
1987 |
--program-transfo=* |
--program-transf=* \
1988 |
--program-trans=* |
--program-tran=* \
1989 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1990 program_transform_name
=$ac_optarg ;;
1992 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1994 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1995 pdfdir
=$ac_optarg ;;
1997 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1999 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
2002 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2003 |
-silent |
--silent |
--silen |
--sile |
--sil)
2006 -runstatedir |
--runstatedir |
--runstatedi |
--runstated \
2007 |
--runstate |
--runstat |
--runsta |
--runst |
--runs \
2008 |
--run |
--ru |
--r)
2009 ac_prev
=runstatedir
;;
2010 -runstatedir=* |
--runstatedir=* |
--runstatedi=* |
--runstated=* \
2011 |
--runstate=* |
--runstat=* |
--runsta=* |
--runst=* |
--runs=* \
2012 |
--run=* |
--ru=* |
--r=*)
2013 runstatedir
=$ac_optarg ;;
2015 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
2017 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
2019 sbindir
=$ac_optarg ;;
2021 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
2022 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
2023 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
2025 ac_prev
=sharedstatedir
;;
2026 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
2027 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
2028 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
2030 sharedstatedir
=$ac_optarg ;;
2032 -site |
--site |
--sit)
2034 -site=* |
--site=* |
--sit=*)
2037 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
2039 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
2040 srcdir
=$ac_optarg ;;
2042 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
2043 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
2044 ac_prev
=sysconfdir
;;
2045 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
2046 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
2047 sysconfdir
=$ac_optarg ;;
2049 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
2050 ac_prev
=target_alias
;;
2051 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
2052 target_alias
=$ac_optarg ;;
2054 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
2057 -version |
--version |
--versio |
--versi |
--vers |
-V)
2058 ac_init_version
=: ;;
2061 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2062 # Reject names that are not valid shell variable names.
2063 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
2064 as_fn_error $?
"invalid package name: $ac_useropt"
2065 ac_useropt_orig
=$ac_useropt
2066 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2067 case $ac_user_opts in
2071 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2072 ac_unrecognized_sep
=', ';;
2074 eval with_
$ac_useropt=\
$ac_optarg ;;
2076 -without-* |
--without-*)
2077 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2078 # Reject names that are not valid shell variable names.
2079 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
2080 as_fn_error $?
"invalid package name: $ac_useropt"
2081 ac_useropt_orig
=$ac_useropt
2082 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2083 case $ac_user_opts in
2087 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2088 ac_unrecognized_sep
=', ';;
2090 eval with_
$ac_useropt=no
;;
2093 # Obsolete; use --with-x.
2096 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
2097 |
--x-incl |
--x-inc |
--x-in |
--x-i)
2098 ac_prev
=x_includes
;;
2099 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
2100 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
2101 x_includes
=$ac_optarg ;;
2103 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
2104 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
2105 ac_prev
=x_libraries
;;
2106 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
2107 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
2108 x_libraries
=$ac_optarg ;;
2110 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
2111 Try \`$0 --help' for more information"
2115 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
2116 # Reject names that are not valid shell variable names.
2117 case $ac_envvar in #(
2118 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
2119 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
2121 eval $ac_envvar=\
$ac_optarg
2122 export $ac_envvar ;;
2125 # FIXME: should be removed in autoconf 3.0.
2126 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
2127 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
2128 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
2129 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2135 if test -n "$ac_prev"; then
2136 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
2137 as_fn_error $?
"missing argument to $ac_option"
2140 if test -n "$ac_unrecognized_opts"; then
2141 case $enable_option_checking in
2143 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
2144 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2148 # Check all directory arguments for consistency.
2149 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2150 datadir sysconfdir sharedstatedir localstatedir includedir \
2151 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2152 libdir localedir mandir runstatedir
2154 eval ac_val
=\$
$ac_var
2155 # Remove trailing slashes.
2158 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2159 eval $ac_var=\
$ac_val;;
2161 # Be sure to have absolute directory names.
2163 [\\/$
]* | ?
:[\\/]* ) continue;;
2164 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
2166 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
2169 # There might be people who depend on the old broken behavior: `$host'
2170 # used to hold the argument of --host etc.
2171 # FIXME: To remove some day.
2174 target
=$target_alias
2176 # FIXME: To remove some day.
2177 if test "x$host_alias" != x
; then
2178 if test "x$build_alias" = x
; then
2179 cross_compiling
=maybe
2180 elif test "x$build_alias" != "x$host_alias"; then
2186 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
2188 test "$silent" = yes && exec 6>/dev
/null
2191 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
2192 ac_ls_di
=`ls -di .` &&
2193 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
2194 as_fn_error $?
"working directory cannot be determined"
2195 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2196 as_fn_error $?
"pwd does not report name of working directory"
2199 # Find the source files, if location was not specified.
2200 if test -z "$srcdir"; then
2201 ac_srcdir_defaulted
=yes
2202 # Try the directory containing this script, then the parent directory.
2203 ac_confdir
=`$as_dirname -- "$as_myself" ||
2204 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2205 X"$as_myself" : 'X\(//\)[^/]' \| \
2206 X"$as_myself" : 'X\(//\)$' \| \
2207 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2208 $as_echo X"$as_myself" |
2209 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2227 if test ! -r "$srcdir/$ac_unique_file"; then
2231 ac_srcdir_defaulted
=no
2233 if test ! -r "$srcdir/$ac_unique_file"; then
2234 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
2235 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
2237 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
2239 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2241 # When building in place, set srcdir=.
2242 if test "$ac_abs_confdir" = "$ac_pwd"; then
2245 # Remove unnecessary trailing slashes from srcdir.
2246 # Double slashes in file names in object file debugging info
2247 # mess up M-x gdb in Emacs.
2249 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2251 for ac_var
in $ac_precious_vars; do
2252 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
2253 eval ac_env_
${ac_var}_value
=\$
${ac_var}
2254 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
2255 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
2259 # Report the --help message.
2261 if test "$ac_init_help" = "long"; then
2262 # Omit some internal or obsolete options to make the list less imposing.
2263 # This message is too long to be a string in the A/UX 3.1 sh.
2265 \`configure' configures Wine 2.14 to adapt to many kinds of systems.
2267 Usage: $0 [OPTION]... [VAR=VALUE]...
2269 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2270 VAR=VALUE. See below for descriptions of some of the useful variables.
2272 Defaults for the options are specified in brackets.
2275 -h, --help display this help and exit
2276 --help=short display options specific to this package
2277 --help=recursive display the short help of all the included packages
2278 -V, --version display version information and exit
2279 -q, --quiet, --silent do not print \`checking ...' messages
2280 --cache-file=FILE cache test results in FILE [disabled]
2281 -C, --config-cache alias for \`--cache-file=config.cache'
2282 -n, --no-create do not create output files
2283 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2285 Installation directories:
2286 --prefix=PREFIX install architecture-independent files in PREFIX
2287 [$ac_default_prefix]
2288 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2291 By default, \`make install' will install all the files in
2292 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2293 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2294 for instance \`--prefix=\$HOME'.
2296 For better control, use the options below.
2298 Fine tuning of the installation directories:
2299 --bindir=DIR user executables [EPREFIX/bin]
2300 --sbindir=DIR system admin executables [EPREFIX/sbin]
2301 --libexecdir=DIR program executables [EPREFIX/libexec]
2302 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2303 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2304 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2305 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2306 --libdir=DIR object code libraries [EPREFIX/lib]
2307 --includedir=DIR C header files [PREFIX/include]
2308 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2309 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2310 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2311 --infodir=DIR info documentation [DATAROOTDIR/info]
2312 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2313 --mandir=DIR man documentation [DATAROOTDIR/man]
2314 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2315 --htmldir=DIR html documentation [DOCDIR]
2316 --dvidir=DIR dvi documentation [DOCDIR]
2317 --pdfdir=DIR pdf documentation [DOCDIR]
2318 --psdir=DIR ps documentation [DOCDIR]
2324 --x-includes=DIR X include files are
in DIR
2325 --x-libraries=DIR X library files are
in DIR
2328 --build=BUILD configure
for building on BUILD
[guessed
]
2329 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
2333 if test -n "$ac_init_help"; then
2334 case $ac_init_help in
2335 short | recursive
) echo "Configuration of Wine 2.14:";;
2340 --disable-option-checking ignore unrecognized
--enable/--with options
2341 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
2342 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
2343 --disable-win16 do not include Win16 support
2344 --enable-win64 build a Win64 emulator on AMD64
(won
't run Win32
2346 --disable-tests do not build the regression tests
2347 --enable-maintainer-mode
2348 enable maintainer-specific build rules
2349 --disable-largefile omit support for large files
2352 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2353 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2354 --without-alsa do not use the Alsa sound support
2355 --without-capi do not use CAPI (ISDN support)
2356 --without-cms do not use CMS (color management support)
2357 --without-coreaudio do not use the CoreAudio sound support
2358 --without-cups do not use CUPS
2359 --without-curses do not use (n)curses
2360 --without-dbus do not use DBus (dynamic device support)
2361 --without-fontconfig do not use fontconfig
2362 --without-freetype do not use the FreeType library
2363 --without-gettext do not use gettext
2364 --with-gettextpo use the GetTextPO library to rebuild po files
2365 --without-gphoto do not use gphoto (Digital Camera support)
2366 --without-glu do not use the GLU library
2367 --without-gnutls do not use GnuTLS (schannel support)
2368 --without-gsm do not use libgsm (GSM 06.10 codec support)
2369 --without-gstreamer do not use GStreamer (codecs support)
2370 --without-hal do not use HAL (dynamic device support)
2371 --without-jpeg do not use JPEG
2372 --without-ldap do not use LDAP
2373 --without-mpg123 do not use the mpg123 library
2374 --without-netapi do not use the Samba NetAPI library
2375 --without-openal do not use OpenAL
2376 --without-opencl do not use OpenCL
2377 --without-opengl do not use OpenGL
2378 --without-osmesa do not use the OSMesa library
2379 --without-oss do not use the OSS sound support
2380 --without-pcap do not use the Packet Capture library
2381 --without-png do not use PNG
2382 --without-pthread do not use the pthread library
2383 --without-pulse do not use PulseAudio sound support
2384 --without-sane do not use SANE (scanner support)
2385 --without-tiff do not use TIFF
2386 --without-udev do not use udev (plug and play support)
2387 --without-v4l do not use v4l1 (v4l support)
2388 --without-xcomposite do not use the Xcomposite extension
2389 --without-xcursor do not use the Xcursor extension
2390 --without-xfixes do not use Xfixes for clipboard change notifications
2391 --without-xinerama do not use Xinerama (multi-monitor support)
2392 --without-xinput do not use the Xinput extension
2393 --without-xinput2 do not use the Xinput 2 extension
2394 --without-xml do not use XML
2395 --without-xrandr do not use Xrandr (resolution changes)
2396 --without-xrender do not use the Xrender extension
2397 --without-xshape do not use the Xshape extension
2398 --without-xshm do not use XShm (shared memory extension)
2399 --without-xslt do not use XSLT
2400 --without-xxf86vm do not use XFree video mode extension
2401 --without-zlib do not use Zlib (data compression)
2402 --with-wine-tools=DIR use Wine tools from directory DIR
2403 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2404 --with-x use the X Window System
2406 Some influential environment variables:
2407 CC C compiler command
2408 CFLAGS C compiler flags
2409 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2410 nonstandard directory <lib dir>
2411 LIBS libraries to pass to the linker, e.g. -l<library>
2412 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2413 you have headers in a nonstandard directory <include dir>
2414 CXX C++ compiler command
2415 CXXFLAGS C++ compiler flags
2417 XMKMF Path to xmkmf, Makefile generator for X Window System
2418 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2419 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2420 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2421 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2422 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2423 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2424 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2425 HAL_LIBS Linker flags for hal, overriding pkg-config
2427 C compiler flags for gnutls, overriding pkg-config
2428 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2429 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2430 SANE_LIBS Linker flags for libsane, overriding pkg-config
2432 C compiler flags for libgphoto2, overriding pkg-config
2434 Linker flags for libgphoto2, overriding pkg-config
2436 C compiler flags for libgphoto2_port, overriding pkg-config
2438 Linker flags for libgphoto2_port, overriding pkg-config
2440 C compiler flags for lcms2, overriding pkg-config
2441 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2443 C compiler flags for freetype2, overriding pkg-config
2445 Linker flags for freetype2, overriding pkg-config
2447 C compiler flags for libpulse, overriding pkg-config
2448 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2450 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2451 gstreamer-audio-1.0, overriding pkg-config
2453 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2454 gstreamer-audio-1.0, overriding pkg-config
2455 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2456 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2458 C compiler flags for capi20, overriding pkg-config
2459 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2461 C compiler flags for fontconfig, overriding pkg-config
2463 Linker flags for fontconfig, overriding pkg-config
2464 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2465 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2466 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2467 PNG_LIBS Linker flags for libpng, overriding pkg-config
2468 TIFF_CFLAGS C compiler flags for libtiff-4, overriding pkg-config
2469 TIFF_LIBS Linker flags for libtiff-4, overriding pkg-config
2471 C compiler flags for libmpg123, overriding pkg-config
2472 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2474 C compiler flags for netapi, overriding pkg-config
2475 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2476 LDAP_CFLAGS C compiler flags for openldap, overriding pkg-config
2477 LDAP_LIBS Linker flags for openldap, overriding pkg-config
2479 Use these variables to override the choices made by `configure' or to
help
2480 it to
find libraries and programs with nonstandard names
/locations.
2482 Report bugs to
<wine-devel@winehq.org
>.
2483 Wine home page
: <http
://www.winehq.org
>.
2488 if test "$ac_init_help" = "recursive"; then
2489 # If there are subdirs, report their specific --help.
2490 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
2491 test -d "$ac_dir" ||
2492 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
2497 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2499 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2500 # A ".." for each directory in $ac_dir_suffix.
2501 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2502 case $ac_top_builddir_sub in
2503 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2504 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
2507 ac_abs_top_builddir
=$ac_pwd
2508 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
2509 # for backward compatibility:
2510 ac_top_builddir
=$ac_top_build_prefix
2513 .
) # We are building in place.
2515 ac_top_srcdir
=$ac_top_builddir_sub
2516 ac_abs_top_srcdir
=$ac_pwd ;;
2517 [\\/]* | ?
:[\\/]* ) # Absolute name.
2518 ac_srcdir
=$srcdir$ac_dir_suffix;
2519 ac_top_srcdir
=$srcdir
2520 ac_abs_top_srcdir
=$srcdir ;;
2522 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
2523 ac_top_srcdir
=$ac_top_build_prefix$srcdir
2524 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
2526 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
2528 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
2529 # Check for guested configure.
2530 if test -f "$ac_srcdir/configure.gnu"; then
2532 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2533 elif test -f "$ac_srcdir/configure"; then
2535 $SHELL "$ac_srcdir/configure" --help=recursive
2537 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2539 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
2543 test -n "$ac_init_help" && exit $ac_status
2544 if $ac_init_version; then
2547 generated by GNU Autoconf
2.69
2549 Copyright
(C
) 2012 Free Software Foundation
, Inc.
2550 This configure
script is free software
; the Free Software Foundation
2551 gives unlimited permission to copy
, distribute and modify it.
2556 ## ------------------------ ##
2557 ## Autoconf initialization. ##
2558 ## ------------------------ ##
2560 # ac_fn_c_try_compile LINENO
2561 # --------------------------
2562 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2563 ac_fn_c_try_compile
()
2565 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2566 rm -f conftest.
$ac_objext
2567 if { { ac_try
="$ac_compile"
2569 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2570 *) ac_try_echo=$ac_try;;
2572 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2573 $as_echo "$ac_try_echo"; } >&5
2574 (eval "$ac_compile") 2>conftest.err
2576 if test -s conftest.err; then
2577 grep -v '^ *+' conftest.err >conftest.er1
2578 cat conftest.er1 >&5
2579 mv -f conftest.er1 conftest.err
2581 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2582 test $ac_status = 0; } && {
2583 test -z "$ac_c_werror_flag" ||
2584 test ! -s conftest.err
2585 } && test -s conftest.$ac_objext; then :
2588 $as_echo "$as_me: failed program was:" >&5
2589 sed 's/^/| /' conftest.$ac_ext >&5
2593 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2594 as_fn_set_status $ac_retval
2596 } # ac_fn_c_try_compile
2598 # ac_fn_cxx_try_compile LINENO
2599 # ----------------------------
2600 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2601 ac_fn_cxx_try_compile ()
2603 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2604 rm -f conftest.$ac_objext
2605 if { { ac_try="$ac_compile"
2607 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2608 *) ac_try_echo
=$ac_try;;
2610 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2611 $as_echo "$ac_try_echo"; } >&5
2612 (eval "$ac_compile") 2>conftest.err
2614 if test -s conftest.err
; then
2615 grep -v '^ *+' conftest.err
>conftest.er1
2616 cat conftest.er1
>&5
2617 mv -f conftest.er1 conftest.err
2619 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2620 test $ac_status = 0; } && {
2621 test -z "$ac_cxx_werror_flag" ||
2622 test ! -s conftest.err
2623 } && test -s conftest.
$ac_objext; then :
2626 $as_echo "$as_me: failed program was:" >&5
2627 sed 's/^/| /' conftest.
$ac_ext >&5
2631 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2632 as_fn_set_status
$ac_retval
2634 } # ac_fn_cxx_try_compile
2636 # ac_fn_c_try_link LINENO
2637 # -----------------------
2638 # Try to link conftest.$ac_ext, and return whether this succeeded.
2641 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2642 rm -f conftest.
$ac_objext conftest
$ac_exeext
2643 if { { ac_try
="$ac_link"
2645 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2646 *) ac_try_echo=$ac_try;;
2648 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2649 $as_echo "$ac_try_echo"; } >&5
2650 (eval "$ac_link") 2>conftest.err
2652 if test -s conftest.err; then
2653 grep -v '^ *+' conftest.err >conftest.er1
2654 cat conftest.er1 >&5
2655 mv -f conftest.er1 conftest.err
2657 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2658 test $ac_status = 0; } && {
2659 test -z "$ac_c_werror_flag" ||
2660 test ! -s conftest.err
2661 } && test -s conftest$ac_exeext && {
2662 test "$cross_compiling" = yes ||
2663 test -x conftest$ac_exeext
2667 $as_echo "$as_me: failed program was:" >&5
2668 sed 's/^/| /' conftest.$ac_ext >&5
2672 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2673 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2674 # interfere with the next link command; also delete a directory that is
2675 # left behind by Apple's compiler. We do this before executing the actions.
2676 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2677 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2678 as_fn_set_status $ac_retval
2680 } # ac_fn_c_try_link
2682 # ac_fn_c_try_cpp LINENO
2683 # ----------------------
2684 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2687 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2688 if { { ac_try="$ac_cpp conftest.$ac_ext"
2690 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2691 *) ac_try_echo
=$ac_try;;
2693 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2694 $as_echo "$ac_try_echo"; } >&5
2695 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2697 if test -s conftest.err
; then
2698 grep -v '^ *+' conftest.err
>conftest.er1
2699 cat conftest.er1
>&5
2700 mv -f conftest.er1 conftest.err
2702 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2703 test $ac_status = 0; } > conftest.i
&& {
2704 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2705 test ! -s conftest.err
2709 $as_echo "$as_me: failed program was:" >&5
2710 sed 's/^/| /' conftest.
$ac_ext >&5
2714 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2715 as_fn_set_status
$ac_retval
2719 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2720 # -------------------------------------------------------
2721 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2722 # the include files in INCLUDES and setting the cache variable VAR
2724 ac_fn_c_check_header_mongrel
()
2726 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2727 if eval \
${$3+:} false
; then :
2728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2729 $as_echo_n "checking for $2... " >&6; }
2730 if eval \
${$3+:} false
; then :
2731 $as_echo_n "(cached) " >&6
2734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2735 $as_echo "$ac_res" >&6; }
2737 # Is the header compilable?
2738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2739 $as_echo_n "checking $2 usability... " >&6; }
2740 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2741 /* end confdefs.h. */
2745 if ac_fn_c_try_compile
"$LINENO"; then :
2746 ac_header_compiler
=yes
2748 ac_header_compiler
=no
2750 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2752 $as_echo "$ac_header_compiler" >&6; }
2754 # Is the header present?
2755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2756 $as_echo_n "checking $2 presence... " >&6; }
2757 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2758 /* end confdefs.h. */
2761 if ac_fn_c_try_cpp
"$LINENO"; then :
2762 ac_header_preproc
=yes
2764 ac_header_preproc
=no
2766 rm -f conftest.err conftest.i conftest.
$ac_ext
2767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2768 $as_echo "$ac_header_preproc" >&6; }
2770 # So? What about this header?
2771 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2773 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2774 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2775 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2776 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2779 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2780 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2781 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2782 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2783 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2784 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2785 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2786 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2787 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2788 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2789 ( $as_echo "## ------------------------------------ ##
2790 ## Report this to wine-devel@winehq.org ##
2791 ## ------------------------------------ ##"
2792 ) |
sed "s/^/$as_me: WARNING: /" >&2
2795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2796 $as_echo_n "checking for $2... " >&6; }
2797 if eval \
${$3+:} false
; then :
2798 $as_echo_n "(cached) " >&6
2800 eval "$3=\$ac_header_compiler"
2803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2804 $as_echo "$ac_res" >&6; }
2806 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2808 } # ac_fn_c_check_header_mongrel
2810 # ac_fn_c_try_run LINENO
2811 # ----------------------
2812 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2813 # that executables *can* be run.
2816 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2817 if { { ac_try
="$ac_link"
2819 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2820 *) ac_try_echo=$ac_try;;
2822 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2823 $as_echo "$ac_try_echo"; } >&5
2824 (eval "$ac_link") 2>&5
2826 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2827 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2828 { { case "(($ac_try" in
2829 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2830 *) ac_try_echo
=$ac_try;;
2832 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2833 $as_echo "$ac_try_echo"; } >&5
2834 (eval "$ac_try") 2>&5
2836 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2837 test $ac_status = 0; }; }; then :
2840 $as_echo "$as_me: program exited with status $ac_status" >&5
2841 $as_echo "$as_me: failed program was:" >&5
2842 sed 's/^/| /' conftest.
$ac_ext >&5
2844 ac_retval
=$ac_status
2846 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2847 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2848 as_fn_set_status
$ac_retval
2852 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2853 # -------------------------------------------------------
2854 # Tests whether HEADER exists and can be compiled using the include files in
2855 # INCLUDES, setting the cache variable VAR accordingly.
2856 ac_fn_c_check_header_compile
()
2858 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2860 $as_echo_n "checking for $2... " >&6; }
2861 if eval \
${$3+:} false
; then :
2862 $as_echo_n "(cached) " >&6
2864 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2865 /* end confdefs.h. */
2869 if ac_fn_c_try_compile
"$LINENO"; then :
2874 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2878 $as_echo "$ac_res" >&6; }
2879 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2881 } # ac_fn_c_check_header_compile
2883 # ac_fn_c_check_func LINENO FUNC VAR
2884 # ----------------------------------
2885 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2886 ac_fn_c_check_func
()
2888 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2890 $as_echo_n "checking for $2... " >&6; }
2891 if eval \
${$3+:} false
; then :
2892 $as_echo_n "(cached) " >&6
2894 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2895 /* end confdefs.h. */
2896 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2897 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2898 #define $2 innocuous_$2
2900 /* System header to define __stub macros and hopefully few prototypes,
2901 which can conflict with char $2 (); below.
2902 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2903 <limits.h> exists even on freestanding compilers. */
2906 # include <limits.h>
2908 # include <assert.h>
2913 /* Override any GCC internal prototype to avoid an error.
2914 Use char because int might match the return type of a GCC
2915 builtin and then its argument prototype would still apply. */
2920 /* The GNU C library defines this for functions which it implements
2921 to always fail with ENOSYS. Some functions are actually named
2922 something starting with __ and the normal name is an alias. */
2923 #if defined __stub_$2 || defined __stub___$2
2935 if ac_fn_c_try_link
"$LINENO"; then :
2940 rm -f core conftest.err conftest.
$ac_objext \
2941 conftest
$ac_exeext conftest.
$ac_ext
2944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2945 $as_echo "$ac_res" >&6; }
2946 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2948 } # ac_fn_c_check_func
2950 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2951 # ----------------------------------------------------
2952 # Tries to find if the field MEMBER exists in type AGGR, after including
2953 # INCLUDES, setting cache variable VAR accordingly.
2954 ac_fn_c_check_member
()
2956 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2958 $as_echo_n "checking for $2.$3... " >&6; }
2959 if eval \
${$4+:} false
; then :
2960 $as_echo_n "(cached) " >&6
2962 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2963 /* end confdefs.h. */
2975 if ac_fn_c_try_compile
"$LINENO"; then :
2978 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2979 /* end confdefs.h. */
2985 if (sizeof ac_aggr.$3)
2991 if ac_fn_c_try_compile
"$LINENO"; then :
2996 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2998 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3002 $as_echo "$ac_res" >&6; }
3003 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3005 } # ac_fn_c_check_member
3007 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3008 # -------------------------------------------
3009 # Tests whether TYPE exists after having included INCLUDES, setting cache
3010 # variable VAR accordingly.
3011 ac_fn_c_check_type
()
3013 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
3014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3015 $as_echo_n "checking for $2... " >&6; }
3016 if eval \
${$3+:} false
; then :
3017 $as_echo_n "(cached) " >&6
3020 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3021 /* end confdefs.h. */
3032 if ac_fn_c_try_compile
"$LINENO"; then :
3033 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3034 /* end confdefs.h. */
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_type
3060 cat >config.log
<<_ACEOF
3061 This file contains any messages produced by compilers while
3062 running configure, to aid debugging if configure makes a mistake.
3064 It was created by Wine $as_me 2.14, which was
3065 generated by GNU Autoconf 2.69. Invocation command line was
3077 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3078 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3079 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3080 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3081 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3083 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3084 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3086 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3087 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3088 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3089 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3090 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3091 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3092 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3096 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3100 test -z "$as_dir" && as_dir
=.
3101 $as_echo "PATH: $as_dir"
3117 # Keep a trace of the command line.
3118 # Strip out --no-create and --no-recursion so they do not pile up.
3119 # Strip out --silent because we don't want to record it for future runs.
3120 # Also quote any args containing shell meta-characters.
3121 # Make two passes to allow for proper duplicate-argument suppression.
3125 ac_must_keep_next
=false
3131 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
3132 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
3133 |
-silent |
--silent |
--silen |
--sile |
--sil)
3136 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3139 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
3141 as_fn_append ac_configure_args1
" '$ac_arg'"
3142 if test $ac_must_keep_next = true
; then
3143 ac_must_keep_next
=false
# Got value, back to normal.
3146 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
3147 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
3148 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
3149 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
3150 case "$ac_configure_args0 " in
3151 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3154 -* ) ac_must_keep_next
=true
;;
3157 as_fn_append ac_configure_args
" '$ac_arg'"
3162 { ac_configure_args0
=; unset ac_configure_args0
;}
3163 { ac_configure_args1
=; unset ac_configure_args1
;}
3165 # When interrupted or exit'd, cleanup temporary files, and complete
3166 # config.log. We remove comments because anyway the quotes in there
3167 # would cause problems or look ugly.
3168 # WARNING: Use '\'' to represent an apostrophe within the trap.
3169 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3170 trap 'exit_status=$?
3171 # Save into config.log some information that might help in debugging.
3175 $as_echo "## ---------------- ##
3176 ## Cache variables. ##
3177 ## ---------------- ##"
3179 # The following way of writing the cache mishandles newlines in values,
3181 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3182 eval ac_val=\$$ac_var
3186 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3187 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3190 _ | IFS | as_nl) ;; #(
3191 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3192 *) { eval $ac_var=; unset $ac_var;} ;;
3197 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3198 *${as_nl}ac_space=\ *)
3200 "s/'\''/'\''\\\\'\'''\''/g;
3201 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3204 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3211 $as_echo "## ----------------- ##
3212 ## Output variables. ##
3213 ## ----------------- ##"
3215 for ac_var in $ac_subst_vars
3217 eval ac_val=\$$ac_var
3219 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3221 $as_echo "$ac_var='\''$ac_val'\''"
3225 if test -n "$ac_subst_files"; then
3226 $as_echo "## ------------------- ##
3227 ## File substitutions. ##
3228 ## ------------------- ##"
3230 for ac_var
in $ac_subst_files
3232 eval ac_val
=\$
$ac_var
3234 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3236 $as_echo "$ac_var='\''$ac_val'\''"
3241 if test -s confdefs.h; then
3242 $as_echo "## ----------- ##
3249 test "$ac_signal" != 0 &&
3250 $as_echo "$as_me: caught signal $ac_signal"
3251 $as_echo "$as_me: exit $exit_status"
3253 rm -f core *.core core.conftest.* &&
3254 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3257 for ac_signal
in 1 2 13 15; do
3258 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3262 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3263 rm -f -r conftest
* confdefs.h
3265 $as_echo "/* confdefs.h */" > confdefs.h
3267 # Predefined preprocessor variables.
3269 cat >>confdefs.h
<<_ACEOF
3270 #define PACKAGE_NAME "$PACKAGE_NAME"
3273 cat >>confdefs.h
<<_ACEOF
3274 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3277 cat >>confdefs.h
<<_ACEOF
3278 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3281 cat >>confdefs.h
<<_ACEOF
3282 #define PACKAGE_STRING "$PACKAGE_STRING"
3285 cat >>confdefs.h
<<_ACEOF
3286 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3289 cat >>confdefs.h
<<_ACEOF
3290 #define PACKAGE_URL "$PACKAGE_URL"
3294 # Let the site file select an alternate cache file if it wants to.
3295 # Prefer an explicitly selected file to automatically selected ones.
3298 if test -n "$CONFIG_SITE"; then
3299 # We do not want a PATH search for config.site.
3300 case $CONFIG_SITE in #((
3301 -*) ac_site_file1
=.
/$CONFIG_SITE;;
3302 */*) ac_site_file1
=$CONFIG_SITE;;
3303 *) ac_site_file1
=.
/$CONFIG_SITE;;
3305 elif test "x$prefix" != xNONE
; then
3306 ac_site_file1
=$prefix/share
/config.site
3307 ac_site_file2
=$prefix/etc
/config.site
3309 ac_site_file1
=$ac_default_prefix/share
/config.site
3310 ac_site_file2
=$ac_default_prefix/etc
/config.site
3312 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
3314 test "x$ac_site_file" = xNONE
&& continue
3315 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
3316 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3317 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3318 sed 's/^/| /' "$ac_site_file" >&5
3320 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3321 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3322 as_fn_error $?
"failed to load site script $ac_site_file
3323 See \`config.log' for more details" "$LINENO" 5; }
3327 if test -r "$cache_file"; then
3328 # Some versions of bash will fail to source /dev/null (special files
3329 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3330 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
3331 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3332 $as_echo "$as_me: loading cache $cache_file" >&6;}
3334 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
3335 *) .
"./$cache_file";;
3339 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3340 $as_echo "$as_me: creating cache $cache_file" >&6;}
3344 # Check that the precious variables saved in the cache have kept the same
3346 ac_cache_corrupted
=false
3347 for ac_var
in $ac_precious_vars; do
3348 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
3349 eval ac_new_set
=\
$ac_env_${ac_var}_set
3350 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
3351 eval ac_new_val
=\
$ac_env_${ac_var}_value
3352 case $ac_old_set,$ac_new_set in
3354 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3355 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3356 ac_cache_corrupted
=: ;;
3358 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3359 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3360 ac_cache_corrupted
=: ;;
3363 if test "x$ac_old_val" != "x$ac_new_val"; then
3364 # differences in whitespace do not lead to failure.
3365 ac_old_val_w
=`echo x $ac_old_val`
3366 ac_new_val_w
=`echo x $ac_new_val`
3367 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3368 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3369 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3370 ac_cache_corrupted
=:
3372 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3373 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3374 eval $ac_var=\
$ac_old_val
3376 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3377 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3378 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3379 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3382 # Pass precious variables to config.status.
3383 if test "$ac_new_set" = set; then
3385 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3386 *) ac_arg
=$ac_var=$ac_new_val ;;
3388 case " $ac_configure_args " in
3389 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3390 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
3394 if $ac_cache_corrupted; then
3395 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3396 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3397 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3398 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3399 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3401 ## -------------------- ##
3402 ## Main body of script. ##
3403 ## -------------------- ##
3406 ac_cpp
='$CPP $CPPFLAGS'
3407 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3408 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3409 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3413 ac_config_headers
="$ac_config_headers include/config.h"
3416 for ac_dir
in tools
"$srcdir"/tools
; do
3417 if test -f "$ac_dir/install-sh"; then
3419 ac_install_sh
="$ac_aux_dir/install-sh -c"
3421 elif test -f "$ac_dir/install.sh"; then
3423 ac_install_sh
="$ac_aux_dir/install.sh -c"
3425 elif test -f "$ac_dir/shtool"; then
3427 ac_install_sh
="$ac_aux_dir/shtool install -c"
3431 if test -z "$ac_aux_dir"; then
3432 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3435 # These three variables are undocumented and unsupported,
3436 # and are intended to be withdrawn in a future Autoconf release.
3437 # They can cause serious problems if a builder's source tree is in a directory
3438 # whose full name contains unusual characters.
3439 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3440 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3441 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3445 libwine_version
="1.0"
3449 # Check whether --enable-win16 was given.
3450 if test "${enable_win16+set}" = set; then :
3451 enableval
=$enable_win16;
3454 # Check whether --enable-win64 was given.
3455 if test "${enable_win64+set}" = set; then :
3456 enableval
=$enable_win64;
3459 # Check whether --enable-tests was given.
3460 if test "${enable_tests+set}" = set; then :
3461 enableval
=$enable_tests;
3464 # Check whether --enable-maintainer-mode was given.
3465 if test "${enable_maintainer_mode+set}" = set; then :
3466 enableval
=$enable_maintainer_mode;
3471 # Check whether --with-alsa was given.
3472 if test "${with_alsa+set}" = set; then :
3473 withval
=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h
=no
; ac_cv_header_alsa_asoundlib_h
=no
; fi
3477 # Check whether --with-capi was given.
3478 if test "${with_capi+set}" = set; then :
3483 # Check whether --with-cms was given.
3484 if test "${with_cms+set}" = set; then :
3489 # Check whether --with-coreaudio was given.
3490 if test "${with_coreaudio+set}" = set; then :
3491 withval
=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h
=no
; fi
3495 # Check whether --with-cups was given.
3496 if test "${with_cups+set}" = set; then :
3501 # Check whether --with-curses was given.
3502 if test "${with_curses+set}" = set; then :
3503 withval
=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h
=no
; ac_cv_header_curses_h
=no
; fi
3507 # Check whether --with-dbus was given.
3508 if test "${with_dbus+set}" = set; then :
3513 # Check whether --with-fontconfig was given.
3514 if test "${with_fontconfig+set}" = set; then :
3515 withval
=$with_fontconfig;
3519 # Check whether --with-freetype was given.
3520 if test "${with_freetype+set}" = set; then :
3521 withval
=$with_freetype;
3525 # Check whether --with-gettext was given.
3526 if test "${with_gettext+set}" = set; then :
3527 withval
=$with_gettext;
3531 # Check whether --with-gettextpo was given.
3532 if test "${with_gettextpo+set}" = set; then :
3533 withval
=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h
=no
; fi
3537 # Check whether --with-gphoto was given.
3538 if test "${with_gphoto+set}" = set; then :
3539 withval
=$with_gphoto;
3543 # Check whether --with-glu was given.
3544 if test "${with_glu+set}" = set; then :
3549 # Check whether --with-gnutls was given.
3550 if test "${with_gnutls+set}" = set; then :
3551 withval
=$with_gnutls;
3555 # Check whether --with-gsm was given.
3556 if test "${with_gsm+set}" = set; then :
3557 withval
=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h
=no
; ac_cv_header_gsm_gsm_h
=no
; fi
3561 # Check whether --with-gstreamer was given.
3562 if test "${with_gstreamer+set}" = set; then :
3563 withval
=$with_gstreamer;
3567 # Check whether --with-hal was given.
3568 if test "${with_hal+set}" = set; then :
3573 # Check whether --with-jpeg was given.
3574 if test "${with_jpeg+set}" = set; then :
3579 # Check whether --with-ldap was given.
3580 if test "${with_ldap+set}" = set; then :
3581 withval
=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h
=no
; ac_cv_header_lber_h
=no
; fi
3585 # Check whether --with-mpg123 was given.
3586 if test "${with_mpg123+set}" = set; then :
3587 withval
=$with_mpg123;
3591 # Check whether --with-netapi was given.
3592 if test "${with_netapi+set}" = set; then :
3593 withval
=$with_netapi;
3597 # Check whether --with-openal was given.
3598 if test "${with_openal+set}" = set; then :
3599 withval
=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h
=no
; ac_cv_header_OpenAL_al_h
=no
; fi
3603 # Check whether --with-opencl was given.
3604 if test "${with_opencl+set}" = set; then :
3605 withval
=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h
=no
; ac_cv_header_OpenCL_opencl_h
=no
; fi
3609 # Check whether --with-opengl was given.
3610 if test "${with_opengl+set}" = set; then :
3611 withval
=$with_opengl;
3615 # Check whether --with-osmesa was given.
3616 if test "${with_osmesa+set}" = set; then :
3617 withval
=$with_osmesa;
3621 # Check whether --with-oss was given.
3622 if test "${with_oss+set}" = set; then :
3627 # Check whether --with-pcap was given.
3628 if test "${with_pcap+set}" = set; then :
3629 withval
=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h
=no
; fi
3633 # Check whether --with-png was given.
3634 if test "${with_png+set}" = set; then :
3639 # Check whether --with-pthread was given.
3640 if test "${with_pthread+set}" = set; then :
3641 withval
=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h
=no
; fi
3645 # Check whether --with-pulse was given.
3646 if test "${with_pulse+set}" = set; then :
3647 withval
=$with_pulse;
3651 # Check whether --with-sane was given.
3652 if test "${with_sane+set}" = set; then :
3657 # Check whether --with-tiff was given.
3658 if test "${with_tiff+set}" = set; then :
3663 # Check whether --with-udev was given.
3664 if test "${with_udev+set}" = set; then :
3669 # Check whether --with-v4l was given.
3670 if test "${with_v4l+set}" = set; then :
3675 # Check whether --with-xcomposite was given.
3676 if test "${with_xcomposite+set}" = set; then :
3677 withval
=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h
=no
; fi
3681 # Check whether --with-xcursor was given.
3682 if test "${with_xcursor+set}" = set; then :
3683 withval
=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h
=no
; fi
3687 # Check whether --with-xfixes was given.
3688 if test "${with_xfixes+set}" = set; then :
3689 withval
=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h
=no
; fi
3693 # Check whether --with-xinerama was given.
3694 if test "${with_xinerama+set}" = set; then :
3695 withval
=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h
=no
; fi
3699 # Check whether --with-xinput was given.
3700 if test "${with_xinput+set}" = set; then :
3701 withval
=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h
=no
; fi
3705 # Check whether --with-xinput2 was given.
3706 if test "${with_xinput2+set}" = set; then :
3707 withval
=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h
=no
; fi
3711 # Check whether --with-xml was given.
3712 if test "${with_xml+set}" = set; then :
3717 # Check whether --with-xrandr was given.
3718 if test "${with_xrandr+set}" = set; then :
3719 withval
=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h
=no
; fi
3723 # Check whether --with-xrender was given.
3724 if test "${with_xrender+set}" = set; then :
3725 withval
=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h
=no
; fi
3729 # Check whether --with-xshape was given.
3730 if test "${with_xshape+set}" = set; then :
3731 withval
=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h
=no
; fi
3735 # Check whether --with-xshm was given.
3736 if test "${with_xshm+set}" = set; then :
3737 withval
=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h
=no
; fi
3741 # Check whether --with-xslt was given.
3742 if test "${with_xslt+set}" = set; then :
3747 # Check whether --with-xxf86vm was given.
3748 if test "${with_xxf86vm+set}" = set; then :
3749 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
3753 # Check whether --with-zlib was given.
3754 if test "${with_zlib+set}" = set; then :
3755 withval
=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h
=no
; fi
3760 # Check whether --with-wine-tools was given.
3761 if test "${with_wine_tools+set}" = set; then :
3762 withval
=$with_wine_tools;
3766 # Check whether --with-wine64 was given.
3767 if test "${with_wine64+set}" = set; then :
3768 withval
=$with_wine64;
3772 # Make sure we can run config.sub.
3773 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
3774 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3777 $as_echo_n "checking build system type... " >&6; }
3778 if ${ac_cv_build+:} false
; then :
3779 $as_echo_n "(cached) " >&6
3781 ac_build_alias
=$build_alias
3782 test "x$ac_build_alias" = x
&&
3783 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
3784 test "x$ac_build_alias" = x
&&
3785 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
3786 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3787 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3791 $as_echo "$ac_cv_build" >&6; }
3792 case $ac_cv_build in
3794 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
3797 ac_save_IFS
=$IFS; IFS
='-'
3803 # Remember, the first character of IFS is used to create $*,
3804 # except with old shells:
3807 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
3810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3811 $as_echo_n "checking host system type... " >&6; }
3812 if ${ac_cv_host+:} false
; then :
3813 $as_echo_n "(cached) " >&6
3815 if test "x$host_alias" = x
; then
3816 ac_cv_host
=$ac_cv_build
3818 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3819 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3824 $as_echo "$ac_cv_host" >&6; }
3827 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
3830 ac_save_IFS
=$IFS; IFS
='-'
3836 # Remember, the first character of IFS is used to create $*,
3837 # except with old shells:
3840 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
3846 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
3847 as_fn_error $?
"you are building out of the source tree, but the source tree contains object files.
3848 You need to run 'make distclean' in the source tree first." "$LINENO" 5
3853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3854 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3856 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3857 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
3858 $as_echo_n "(cached) " >&6
3860 cat >conftest.
make <<\_ACEOF
3863 @
echo '@@@%%%=$(MAKE)=@@@%%%'
3865 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3866 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3868 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
3870 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
3874 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
3875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3876 $as_echo "yes" >&6; }
3879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3880 $as_echo "no" >&6; }
3881 SET_MAKE
="MAKE=${MAKE-make}"
3885 ac_cpp
='$CPP $CPPFLAGS'
3886 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3887 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3888 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3889 if test -n "$ac_tool_prefix"; then
3890 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3891 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3893 $as_echo_n "checking for $ac_word... " >&6; }
3894 if ${ac_cv_prog_CC+:} false
; then :
3895 $as_echo_n "(cached) " >&6
3897 if test -n "$CC"; then
3898 ac_cv_prog_CC
="$CC" # Let the user override the test.
3900 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3904 test -z "$as_dir" && as_dir
=.
3905 for ac_exec_ext
in '' $ac_executable_extensions; do
3906 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3907 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3908 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3918 if test -n "$CC"; then
3919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3920 $as_echo "$CC" >&6; }
3922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3923 $as_echo "no" >&6; }
3928 if test -z "$ac_cv_prog_CC"; then
3930 # Extract the first word of "gcc", so it can be a program name with args.
3931 set dummy gcc
; ac_word
=$2
3932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3933 $as_echo_n "checking for $ac_word... " >&6; }
3934 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3935 $as_echo_n "(cached) " >&6
3937 if test -n "$ac_ct_CC"; then
3938 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3940 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3944 test -z "$as_dir" && as_dir
=.
3945 for ac_exec_ext
in '' $ac_executable_extensions; do
3946 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3947 ac_cv_prog_ac_ct_CC
="gcc"
3948 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3957 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3958 if test -n "$ac_ct_CC"; then
3959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3960 $as_echo "$ac_ct_CC" >&6; }
3962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3963 $as_echo "no" >&6; }
3966 if test "x$ac_ct_CC" = x
; then
3969 case $cross_compiling:$ac_tool_warned in
3971 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3972 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3973 ac_tool_warned
=yes ;;
3981 if test -z "$CC"; then
3982 if test -n "$ac_tool_prefix"; then
3983 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3984 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3986 $as_echo_n "checking for $ac_word... " >&6; }
3987 if ${ac_cv_prog_CC+:} false
; then :
3988 $as_echo_n "(cached) " >&6
3990 if test -n "$CC"; then
3991 ac_cv_prog_CC
="$CC" # Let the user override the test.
3993 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3997 test -z "$as_dir" && as_dir
=.
3998 for ac_exec_ext
in '' $ac_executable_extensions; do
3999 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4000 ac_cv_prog_CC
="${ac_tool_prefix}cc"
4001 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4011 if test -n "$CC"; then
4012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4013 $as_echo "$CC" >&6; }
4015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4016 $as_echo "no" >&6; }
4022 if test -z "$CC"; then
4023 # Extract the first word of "cc", so it can be a program name with args.
4024 set dummy cc
; ac_word
=$2
4025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4026 $as_echo_n "checking for $ac_word... " >&6; }
4027 if ${ac_cv_prog_CC+:} false
; then :
4028 $as_echo_n "(cached) " >&6
4030 if test -n "$CC"; then
4031 ac_cv_prog_CC
="$CC" # Let the user override the test.
4034 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4038 test -z "$as_dir" && as_dir
=.
4039 for ac_exec_ext
in '' $ac_executable_extensions; do
4040 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4041 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4042 ac_prog_rejected
=yes
4046 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4053 if test $ac_prog_rejected = yes; then
4054 # We found a bogon in the path, so make sure we never use it.
4055 set dummy
$ac_cv_prog_CC
4057 if test $# != 0; then
4058 # We chose a different compiler from the bogus one.
4059 # However, it has the same basename, so the bogon will be chosen
4060 # first if we set CC to just the basename; use the full file name.
4062 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
4068 if test -n "$CC"; then
4069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4070 $as_echo "$CC" >&6; }
4072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4073 $as_echo "no" >&6; }
4078 if test -z "$CC"; then
4079 if test -n "$ac_tool_prefix"; then
4080 for ac_prog
in cl.exe
4082 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4083 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4085 $as_echo_n "checking for $ac_word... " >&6; }
4086 if ${ac_cv_prog_CC+:} false
; then :
4087 $as_echo_n "(cached) " >&6
4089 if test -n "$CC"; then
4090 ac_cv_prog_CC
="$CC" # Let the user override the test.
4092 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4096 test -z "$as_dir" && as_dir
=.
4097 for ac_exec_ext
in '' $ac_executable_extensions; do
4098 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4099 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
4100 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4110 if test -n "$CC"; then
4111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4112 $as_echo "$CC" >&6; }
4114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4115 $as_echo "no" >&6; }
4119 test -n "$CC" && break
4122 if test -z "$CC"; then
4124 for ac_prog
in cl.exe
4126 # Extract the first word of "$ac_prog", so it can be a program name with args.
4127 set dummy
$ac_prog; ac_word
=$2
4128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4129 $as_echo_n "checking for $ac_word... " >&6; }
4130 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
4131 $as_echo_n "(cached) " >&6
4133 if test -n "$ac_ct_CC"; then
4134 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4136 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4140 test -z "$as_dir" && as_dir
=.
4141 for ac_exec_ext
in '' $ac_executable_extensions; do
4142 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4143 ac_cv_prog_ac_ct_CC
="$ac_prog"
4144 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4153 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4154 if test -n "$ac_ct_CC"; then
4155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4156 $as_echo "$ac_ct_CC" >&6; }
4158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4159 $as_echo "no" >&6; }
4163 test -n "$ac_ct_CC" && break
4166 if test "x$ac_ct_CC" = x
; then
4169 case $cross_compiling:$ac_tool_warned in
4171 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4172 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4173 ac_tool_warned
=yes ;;
4182 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4183 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4184 as_fn_error $?
"no acceptable C compiler found in \$PATH
4185 See \`config.log' for more details" "$LINENO" 5; }
4187 # Provide some information about the compiler.
4188 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4191 for ac_option
in --version -v -V -qversion; do
4192 { { ac_try
="$ac_compiler $ac_option >&5"
4194 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4195 *) ac_try_echo=$ac_try;;
4197 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4198 $as_echo "$ac_try_echo"; } >&5
4199 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4201 if test -s conftest.err; then
4203 ... rest of stderr output deleted ...
4204 10q' conftest.err >conftest.er1
4205 cat conftest.er1 >&5
4207 rm -f conftest.er1 conftest.err
4208 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4209 test $ac_status = 0; }
4212 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4213 /* end confdefs.h. */
4223 ac_clean_files_save=$ac_clean_files
4224 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4225 # Try to create an executable without -o first, disregard a.out.
4226 # It will help us diagnose broken compilers, and finding out an intuition
4228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4229 $as_echo_n "checking whether the C compiler works... " >&6; }
4230 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
4232 # The possible output files:
4233 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4236 for ac_file in $ac_files
4239 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4240 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4245 if { { ac_try="$ac_link_default"
4247 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4248 *) ac_try_echo
=$ac_try;;
4250 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4251 $as_echo "$ac_try_echo"; } >&5
4252 (eval "$ac_link_default") 2>&5
4254 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4255 test $ac_status = 0; }; then :
4256 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4257 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4258 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4259 # so that the user can short-circuit this test for compilers unknown to
4261 for ac_file
in $ac_files ''
4263 test -f "$ac_file" ||
continue
4265 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
4268 # We found the default executable, but exeext='' is most
4272 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
4274 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4276 # We set ac_cv_exeext here because the later test for it is not
4277 # safe: cross compilers may not add the suffix if given an `-o'
4278 # argument, so we may need to know it at that point already.
4279 # Even if this section looks crufty: it has the advantage of
4286 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
4291 if test -z "$ac_file"; then :
4292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4293 $as_echo "no" >&6; }
4294 $as_echo "$as_me: failed program was:" >&5
4295 sed 's/^/| /' conftest.
$ac_ext >&5
4297 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4298 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4299 as_fn_error
77 "C compiler cannot create executables
4300 See \`config.log' for more details" "$LINENO" 5; }
4302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4303 $as_echo "yes" >&6; }
4305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4306 $as_echo_n "checking for C compiler default output file name... " >&6; }
4307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4308 $as_echo "$ac_file" >&6; }
4309 ac_exeext
=$ac_cv_exeext
4311 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
4312 ac_clean_files
=$ac_clean_files_save
4313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4314 $as_echo_n "checking for suffix of executables... " >&6; }
4315 if { { ac_try
="$ac_link"
4317 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4318 *) ac_try_echo=$ac_try;;
4320 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4321 $as_echo "$ac_try_echo"; } >&5
4322 (eval "$ac_link") 2>&5
4324 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4325 test $ac_status = 0; }; then :
4326 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
4327 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
4328 # work properly (i.e., refer to `conftest.exe'), while it won't with
4330 for ac_file
in conftest.exe conftest conftest.
*; do
4331 test -f "$ac_file" ||
continue
4333 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
4334 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4340 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4341 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4342 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
4343 See \`config.log' for more details" "$LINENO" 5; }
4345 rm -f conftest conftest
$ac_cv_exeext
4346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4347 $as_echo "$ac_cv_exeext" >&6; }
4349 rm -f conftest.
$ac_ext
4350 EXEEXT
=$ac_cv_exeext
4352 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4353 /* end confdefs.h. */
4358 FILE *f = fopen ("conftest.out", "w");
4359 return ferror (f) || fclose (f) != 0;
4365 ac_clean_files
="$ac_clean_files conftest.out"
4366 # Check that the compiler produces executables we can run. If not, either
4367 # the compiler is broken, or we cross compile.
4368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4369 $as_echo_n "checking whether we are cross compiling... " >&6; }
4370 if test "$cross_compiling" != yes; then
4371 { { ac_try
="$ac_link"
4373 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4374 *) ac_try_echo=$ac_try;;
4376 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4377 $as_echo "$ac_try_echo"; } >&5
4378 (eval "$ac_link") 2>&5
4380 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4381 test $ac_status = 0; }
4382 if { ac_try='./conftest$ac_cv_exeext'
4383 { { case "(($ac_try" in
4384 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4385 *) ac_try_echo
=$ac_try;;
4387 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4388 $as_echo "$ac_try_echo"; } >&5
4389 (eval "$ac_try") 2>&5
4391 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4392 test $ac_status = 0; }; }; then
4395 if test "$cross_compiling" = maybe
; then
4398 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4399 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4400 as_fn_error $?
"cannot run C compiled programs.
4401 If you meant to cross compile, use \`--host'.
4402 See \`config.log' for more details" "$LINENO" 5; }
4406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4407 $as_echo "$cross_compiling" >&6; }
4409 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
4410 ac_clean_files
=$ac_clean_files_save
4411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4412 $as_echo_n "checking for suffix of object files... " >&6; }
4413 if ${ac_cv_objext+:} false
; then :
4414 $as_echo_n "(cached) " >&6
4416 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4417 /* end confdefs.h. */
4427 rm -f conftest.o conftest.obj
4428 if { { ac_try
="$ac_compile"
4430 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4431 *) ac_try_echo=$ac_try;;
4433 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4434 $as_echo "$ac_try_echo"; } >&5
4435 (eval "$ac_compile") 2>&5
4437 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4438 test $ac_status = 0; }; then :
4439 for ac_file in conftest.o conftest.obj conftest.*; do
4440 test -f "$ac_file" || continue;
4442 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4443 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4448 $as_echo "$as_me: failed program was:" >&5
4449 sed 's/^/| /' conftest.$ac_ext >&5
4451 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4452 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4453 as_fn_error $? "cannot compute suffix of object files
: cannot compile
4454 See \
`config.log' for more details" "$LINENO" 5; }
4456 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4459 $as_echo "$ac_cv_objext" >&6; }
4460 OBJEXT=$ac_cv_objext
4462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4463 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4464 if ${ac_cv_c_compiler_gnu+:} false; then :
4465 $as_echo_n "(cached) " >&6
4467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4468 /* end confdefs.h. */
4481 if ac_fn_c_try_compile "$LINENO"; then :
4486 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4487 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4491 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4492 if test $ac_compiler_gnu = yes; then
4497 ac_test_CFLAGS=${CFLAGS+set}
4498 ac_save_CFLAGS=$CFLAGS
4499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4500 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4501 if ${ac_cv_prog_cc_g+:} false; then :
4502 $as_echo_n "(cached) " >&6
4504 ac_save_c_werror_flag=$ac_c_werror_flag
4505 ac_c_werror_flag=yes
4508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4509 /* end confdefs.h. */
4519 if ac_fn_c_try_compile "$LINENO"; then :
4523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4524 /* end confdefs.h. */
4534 if ac_fn_c_try_compile "$LINENO"; then :
4537 ac_c_werror_flag=$ac_save_c_werror_flag
4539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4540 /* end confdefs.h. */
4550 if ac_fn_c_try_compile "$LINENO"; then :
4553 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4555 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4557 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4558 ac_c_werror_flag=$ac_save_c_werror_flag
4560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4561 $as_echo "$ac_cv_prog_cc_g" >&6; }
4562 if test "$ac_test_CFLAGS" = set; then
4563 CFLAGS=$ac_save_CFLAGS
4564 elif test $ac_cv_prog_cc_g = yes; then
4565 if test "$GCC" = yes; then
4571 if test "$GCC" = yes; then
4577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4578 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4579 if ${ac_cv_prog_cc_c89+:} false; then :
4580 $as_echo_n "(cached) " >&6
4582 ac_cv_prog_cc_c89=no
4584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4585 /* end confdefs.h. */
4589 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4590 struct buf { int x; };
4591 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4592 static char *e (p, i)
4598 static char *f (char * (*g) (char **, int), char **p, ...)
4603 s = g (p, va_arg (v,int));
4608 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4609 function prototypes and stuff, but not '\xHH' hex character constants.
4610 These don't provoke an error unfortunately, instead are silently treated
4611 as 'x'. The following induces an error, until -std is added to get
4612 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4613 array size at least. It's necessary to write '\x00'==0 to get something
4614 that's true only with -std. */
4615 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4617 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4618 inside strings and character constants. */
4620 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4622 int test (int i, double x);
4623 struct s1 {int (*f) (int a);};
4624 struct s2 {int (*f) (double a);};
4625 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4631 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4636 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4637 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4639 CC="$ac_save_CC $ac_arg"
4640 if ac_fn_c_try_compile "$LINENO"; then :
4641 ac_cv_prog_cc_c89=$ac_arg
4643 rm -f core conftest.err conftest.$ac_objext
4644 test "x$ac_cv_prog_cc_c89" != "xno" && break
4646 rm -f conftest.$ac_ext
4651 case "x$ac_cv_prog_cc_c89" in
4653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4654 $as_echo "none needed" >&6; } ;;
4656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4657 $as_echo "unsupported" >&6; } ;;
4659 CC="$CC $ac_cv_prog_cc_c89"
4660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4661 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4663 if test "x$ac_cv_prog_cc_c89" != xno; then :
4668 ac_cpp='$CPP $CPPFLAGS'
4669 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4670 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4671 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4674 ac_cpp='$CXXCPP $CPPFLAGS'
4675 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4676 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4677 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4678 if test -z "$CXX"; then
4679 if test -n "$CCC"; then
4682 if test -n "$ac_tool_prefix"; then
4683 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4685 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4686 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4688 $as_echo_n "checking for $ac_word... " >&6; }
4689 if ${ac_cv_prog_CXX+:} false; then :
4690 $as_echo_n "(cached) " >&6
4692 if test -n "$CXX"; then
4693 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4695 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4699 test -z "$as_dir" && as_dir=.
4700 for ac_exec_ext in '' $ac_executable_extensions; do
4701 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4702 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4703 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4713 if test -n "$CXX"; then
4714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4715 $as_echo "$CXX" >&6; }
4717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4718 $as_echo "no" >&6; }
4722 test -n "$CXX" && break
4725 if test -z "$CXX"; then
4727 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4729 # Extract the first word of "$ac_prog", so it can be a program name with args.
4730 set dummy $ac_prog; ac_word=$2
4731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4732 $as_echo_n "checking for $ac_word... " >&6; }
4733 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4734 $as_echo_n "(cached) " >&6
4736 if test -n "$ac_ct_CXX"; then
4737 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4739 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4743 test -z "$as_dir" && as_dir=.
4744 for ac_exec_ext in '' $ac_executable_extensions; do
4745 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4746 ac_cv_prog_ac_ct_CXX="$ac_prog"
4747 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4756 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4757 if test -n "$ac_ct_CXX"; then
4758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4759 $as_echo "$ac_ct_CXX" >&6; }
4761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4762 $as_echo "no" >&6; }
4766 test -n "$ac_ct_CXX" && break
4769 if test "x$ac_ct_CXX" = x; then
4772 case $cross_compiling:$ac_tool_warned in
4774 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4775 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4776 ac_tool_warned=yes ;;
4784 # Provide some information about the compiler.
4785 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4788 for ac_option in --version -v -V -qversion; do
4789 { { ac_try="$ac_compiler $ac_option >&5"
4791 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4792 *) ac_try_echo
=$ac_try;;
4794 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4795 $as_echo "$ac_try_echo"; } >&5
4796 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4798 if test -s conftest.err
; then
4800 ... rest of stderr output deleted ...
4801 10q' conftest.err
>conftest.er1
4802 cat conftest.er1
>&5
4804 rm -f conftest.er1 conftest.err
4805 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4806 test $ac_status = 0; }
4809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4810 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4811 if ${ac_cv_cxx_compiler_gnu+:} false
; then :
4812 $as_echo_n "(cached) " >&6
4814 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4815 /* end confdefs.h. */
4828 if ac_fn_cxx_try_compile
"$LINENO"; then :
4833 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4834 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
4837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4838 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4839 if test $ac_compiler_gnu = yes; then
4844 ac_test_CXXFLAGS
=${CXXFLAGS+set}
4845 ac_save_CXXFLAGS
=$CXXFLAGS
4846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4847 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4848 if ${ac_cv_prog_cxx_g+:} false
; then :
4849 $as_echo_n "(cached) " >&6
4851 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
4852 ac_cxx_werror_flag
=yes
4855 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4856 /* end confdefs.h. */
4866 if ac_fn_cxx_try_compile
"$LINENO"; then :
4867 ac_cv_prog_cxx_g
=yes
4870 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4871 /* end confdefs.h. */
4881 if ac_fn_cxx_try_compile
"$LINENO"; then :
4884 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4886 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4887 /* end confdefs.h. */
4897 if ac_fn_cxx_try_compile
"$LINENO"; then :
4898 ac_cv_prog_cxx_g
=yes
4900 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4902 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4904 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4905 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4908 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4909 if test "$ac_test_CXXFLAGS" = set; then
4910 CXXFLAGS
=$ac_save_CXXFLAGS
4911 elif test $ac_cv_prog_cxx_g = yes; then
4912 if test "$GXX" = yes; then
4918 if test "$GXX" = yes; then
4925 ac_cpp
='$CPP $CPPFLAGS'
4926 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4927 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4928 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4930 if test -n "$ac_tool_prefix"; then
4931 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
4932 set dummy
${ac_tool_prefix}cpp
; ac_word
=$2
4933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4934 $as_echo_n "checking for $ac_word... " >&6; }
4935 if ${ac_cv_prog_CPPBIN+:} false
; then :
4936 $as_echo_n "(cached) " >&6
4938 if test -n "$CPPBIN"; then
4939 ac_cv_prog_CPPBIN
="$CPPBIN" # Let the user override the test.
4941 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4945 test -z "$as_dir" && as_dir
=.
4946 for ac_exec_ext
in '' $ac_executable_extensions; do
4947 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4948 ac_cv_prog_CPPBIN
="${ac_tool_prefix}cpp"
4949 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4958 CPPBIN
=$ac_cv_prog_CPPBIN
4959 if test -n "$CPPBIN"; then
4960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
4961 $as_echo "$CPPBIN" >&6; }
4963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4964 $as_echo "no" >&6; }
4969 if test -z "$ac_cv_prog_CPPBIN"; then
4970 ac_ct_CPPBIN
=$CPPBIN
4971 # Extract the first word of "cpp", so it can be a program name with args.
4972 set dummy cpp
; ac_word
=$2
4973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4974 $as_echo_n "checking for $ac_word... " >&6; }
4975 if ${ac_cv_prog_ac_ct_CPPBIN+:} false
; then :
4976 $as_echo_n "(cached) " >&6
4978 if test -n "$ac_ct_CPPBIN"; then
4979 ac_cv_prog_ac_ct_CPPBIN
="$ac_ct_CPPBIN" # Let the user override the test.
4981 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4985 test -z "$as_dir" && as_dir
=.
4986 for ac_exec_ext
in '' $ac_executable_extensions; do
4987 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4988 ac_cv_prog_ac_ct_CPPBIN
="cpp"
4989 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4998 ac_ct_CPPBIN
=$ac_cv_prog_ac_ct_CPPBIN
4999 if test -n "$ac_ct_CPPBIN"; then
5000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
5001 $as_echo "$ac_ct_CPPBIN" >&6; }
5003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5004 $as_echo "no" >&6; }
5007 if test "x$ac_ct_CPPBIN" = x
; then
5010 case $cross_compiling:$ac_tool_warned in
5012 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5013 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5014 ac_tool_warned
=yes ;;
5016 CPPBIN
=$ac_ct_CPPBIN
5019 CPPBIN
="$ac_cv_prog_CPPBIN"
5023 cat >>confdefs.h
<<_ACEOF
5024 #define EXEEXT "$ac_exeext"
5027 if test -n "$ac_tool_prefix"; then
5028 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
5029 set dummy
${ac_tool_prefix}ld
; ac_word
=$2
5030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5031 $as_echo_n "checking for $ac_word... " >&6; }
5032 if ${ac_cv_prog_LD+:} false
; then :
5033 $as_echo_n "(cached) " >&6
5035 if test -n "$LD"; then
5036 ac_cv_prog_LD
="$LD" # Let the user override the test.
5038 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5042 test -z "$as_dir" && as_dir
=.
5043 for ac_exec_ext
in '' $ac_executable_extensions; do
5044 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5045 ac_cv_prog_LD
="${ac_tool_prefix}ld"
5046 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5056 if test -n "$LD"; then
5057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5058 $as_echo "$LD" >&6; }
5060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5061 $as_echo "no" >&6; }
5066 if test -z "$ac_cv_prog_LD"; then
5068 # Extract the first word of "ld", so it can be a program name with args.
5069 set dummy ld
; ac_word
=$2
5070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5071 $as_echo_n "checking for $ac_word... " >&6; }
5072 if ${ac_cv_prog_ac_ct_LD+:} false
; then :
5073 $as_echo_n "(cached) " >&6
5075 if test -n "$ac_ct_LD"; then
5076 ac_cv_prog_ac_ct_LD
="$ac_ct_LD" # Let the user override the test.
5078 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5082 test -z "$as_dir" && as_dir
=.
5083 for ac_exec_ext
in '' $ac_executable_extensions; do
5084 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5085 ac_cv_prog_ac_ct_LD
="ld"
5086 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5095 ac_ct_LD
=$ac_cv_prog_ac_ct_LD
5096 if test -n "$ac_ct_LD"; then
5097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
5098 $as_echo "$ac_ct_LD" >&6; }
5100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5101 $as_echo "no" >&6; }
5104 if test "x$ac_ct_LD" = x
; then
5107 case $cross_compiling:$ac_tool_warned in
5109 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5110 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5111 ac_tool_warned
=yes ;;
5122 with_fontconfig
=${with_fontconfig:-no}
5124 *-mingw32*|
*-cygwin*)
5125 enable_win16
=${enable_win16:-no}
5126 CFLAGS
="$CFLAGS -D_WIN32"
5132 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
5136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
5137 $as_echo_n "checking whether $CC works... " >&6; }
5139 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5140 /* end confdefs.h. */
5150 if ac_fn_c_try_link
"$LINENO"; then :
5151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5152 $as_echo "yes" >&6; }
5154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5155 $as_echo "no" >&6; }
5156 as_fn_error $?
"Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
5158 rm -f core conftest.err conftest.
$ac_objext \
5159 conftest
$ac_exeext conftest.
$ac_ext
5161 notice_platform
="32-bit "
5164 PKG_CONFIG_PATH
=${PKG_CONFIG_PATH:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib/pkgconfig}
5165 export PKG_CONFIG_PATH
5166 enable_win16
=${enable_win16:-yes}
5168 if test "x${GCC}" = "xyes"
5170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5171 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5172 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5173 /* end confdefs.h. */
5178 void func(__builtin_ms_va_list *args);
5183 if ac_fn_c_try_compile
"$LINENO"; then :
5184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5185 $as_echo "yes" >&6; }
5187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5188 $as_echo "no" >&6; }
5189 as_fn_error $?
"You need gcc >= 4.4 or clang >= 3.8 to build Wine as 64-bit." "$LINENO" 5
5191 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5196 notice_platform
="64-bit "
5202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
5203 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
5204 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5205 /* end confdefs.h. */
5206 int ac_test(int i) { return i; }
5210 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
5215 if ac_fn_c_try_link
"$LINENO"; then :
5216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5217 $as_echo "yes" >&6; }
5219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5220 $as_echo "no" >&6; }
5221 as_fn_error $?
"You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
5223 rm -f core conftest.err conftest.
$ac_objext \
5224 conftest
$ac_exeext conftest.
$ac_ext
5225 CFLAGS
="$CFLAGS -marm"
5230 enable_win16
=${enable_win16:-yes}
5234 enable_win16
=${enable_win16:-no}
5235 enable_win64
=${enable_win64:-no}
5237 enable_winetest
=${enable_winetest:-$enable_tests}
5239 if test -n "$with_wine64"
5241 if test "x$enable_win64" = "xyes"
5243 as_fn_error $?
"--enable-win64 and --with-wine64 are mutually exclusive.
5244 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
5246 test "$srcdir" != . || as_fn_error $?
"--with-wine64 cannot be used when building inside the source tree.
5247 You should create a separate build directory and run configure from there." "$LINENO" 5
5248 enable_fonts
=${enable_fonts:-no}
5249 enable_server
=${enable_server:-no}
5250 elif test "x$enable_win64" = "xyes"
5252 test "x$libdir" != "x\${exec_prefix}/lib" || libdir
="\${exec_prefix}/lib64"
5255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
5256 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
5257 if ${wine_cv_toolsdir+:} false
; then :
5258 $as_echo_n "(cached) " >&6
5260 wine_cv_toolsdir
="$with_wine_tools"
5261 if test -z "$with_wine_tools"; then
5262 if test "$cross_compiling" = "yes"; then
5263 as_fn_error $?
"you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
5264 elif test -n "$with_wine64"; then
5265 wine_cv_toolsdir
="$with_wine64"
5268 if test -z "$wine_cv_toolsdir"; then
5269 wine_makedep
=tools
/makedep
5270 wine_cv_toolsdir
="\$(top_builddir)"
5271 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5272 wine_makedep
=$wine_cv_toolsdir/tools
/makedep
5273 case "$wine_cv_toolsdir" in
5275 *) wine_cv_toolsdir
="\$(top_builddir)/$wine_cv_toolsdir" ;;
5277 enable_tools
=${enable_tools:-no}
5278 test -f "$wine_makedep" || as_fn_error $?
"the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5280 as_fn_error $?
"could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5284 $as_echo "$wine_cv_toolsdir" >&6; }
5285 TOOLSDIR
=$wine_cv_toolsdir
5287 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5289 TARGETFLAGS
="-b $host_alias $TARGETFLAGS"
5295 # Extract the first word of "$ac_prog", so it can be a program name with args.
5296 set dummy
$ac_prog; ac_word
=$2
5297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5298 $as_echo_n "checking for $ac_word... " >&6; }
5299 if ${ac_cv_prog_FLEX+:} false
; then :
5300 $as_echo_n "(cached) " >&6
5302 if test -n "$FLEX"; then
5303 ac_cv_prog_FLEX
="$FLEX" # Let the user override the test.
5305 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5309 test -z "$as_dir" && as_dir
=.
5310 for ac_exec_ext
in '' $ac_executable_extensions; do
5311 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5312 ac_cv_prog_FLEX
="$ac_prog"
5313 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5322 FLEX
=$ac_cv_prog_FLEX
5323 if test -n "$FLEX"; then
5324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5325 $as_echo "$FLEX" >&6; }
5327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5328 $as_echo "no" >&6; }
5332 test -n "$FLEX" && break
5334 test -n "$FLEX" || FLEX
="none"
5336 if test "$FLEX" = "none"
5338 as_fn_error $?
"no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5341 $as_echo_n "checking whether flex is recent enough... " >&6; }
5342 cat >conftest.l
<<EOF
5344 #include "prediluvian.h"
5348 if $FLEX -t conftest.l
>/dev
/null
2>&5
5350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5351 $as_echo "yes" >&6; }
5353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5354 $as_echo "no" >&6; }
5355 as_fn_error $?
"Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
5358 for ac_prog
in bison
5360 # Extract the first word of "$ac_prog", so it can be a program name with args.
5361 set dummy
$ac_prog; ac_word
=$2
5362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5363 $as_echo_n "checking for $ac_word... " >&6; }
5364 if ${ac_cv_prog_BISON+:} false
; then :
5365 $as_echo_n "(cached) " >&6
5367 if test -n "$BISON"; then
5368 ac_cv_prog_BISON
="$BISON" # Let the user override the test.
5370 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5374 test -z "$as_dir" && as_dir
=.
5375 for ac_exec_ext
in '' $ac_executable_extensions; do
5376 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5377 ac_cv_prog_BISON
="$ac_prog"
5378 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5387 BISON
=$ac_cv_prog_BISON
5388 if test -n "$BISON"; then
5389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5390 $as_echo "$BISON" >&6; }
5392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5393 $as_echo "no" >&6; }
5397 test -n "$BISON" && break
5399 test -n "$BISON" || BISON
="none"
5401 if test "$BISON" = "none"
5403 as_fn_error $?
"no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5406 if test -n "$ac_tool_prefix"; then
5407 for ac_prog
in ar gar
5409 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5410 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5412 $as_echo_n "checking for $ac_word... " >&6; }
5413 if ${ac_cv_prog_AR+:} false
; then :
5414 $as_echo_n "(cached) " >&6
5416 if test -n "$AR"; then
5417 ac_cv_prog_AR
="$AR" # Let the user override the test.
5419 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5423 test -z "$as_dir" && as_dir
=.
5424 for ac_exec_ext
in '' $ac_executable_extensions; do
5425 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5426 ac_cv_prog_AR
="$ac_tool_prefix$ac_prog"
5427 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5437 if test -n "$AR"; then
5438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5439 $as_echo "$AR" >&6; }
5441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5442 $as_echo "no" >&6; }
5446 test -n "$AR" && break
5449 if test -z "$AR"; then
5451 for ac_prog
in ar gar
5453 # Extract the first word of "$ac_prog", so it can be a program name with args.
5454 set dummy
$ac_prog; ac_word
=$2
5455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5456 $as_echo_n "checking for $ac_word... " >&6; }
5457 if ${ac_cv_prog_ac_ct_AR+:} false
; then :
5458 $as_echo_n "(cached) " >&6
5460 if test -n "$ac_ct_AR"; then
5461 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
5463 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5467 test -z "$as_dir" && as_dir
=.
5468 for ac_exec_ext
in '' $ac_executable_extensions; do
5469 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5470 ac_cv_prog_ac_ct_AR
="$ac_prog"
5471 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5480 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
5481 if test -n "$ac_ct_AR"; then
5482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5483 $as_echo "$ac_ct_AR" >&6; }
5485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5486 $as_echo "no" >&6; }
5490 test -n "$ac_ct_AR" && break
5493 if test "x$ac_ct_AR" = x
; then
5496 case $cross_compiling:$ac_tool_warned in
5498 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5499 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5500 ac_tool_warned
=yes ;;
5506 if test -n "$ac_tool_prefix"; then
5507 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5508 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
5509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5510 $as_echo_n "checking for $ac_word... " >&6; }
5511 if ${ac_cv_prog_STRIP+:} false
; then :
5512 $as_echo_n "(cached) " >&6
5514 if test -n "$STRIP"; then
5515 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
5517 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5521 test -z "$as_dir" && as_dir
=.
5522 for ac_exec_ext
in '' $ac_executable_extensions; do
5523 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5524 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
5525 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5534 STRIP
=$ac_cv_prog_STRIP
5535 if test -n "$STRIP"; then
5536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5537 $as_echo "$STRIP" >&6; }
5539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5540 $as_echo "no" >&6; }
5545 if test -z "$ac_cv_prog_STRIP"; then
5547 # Extract the first word of "strip", so it can be a program name with args.
5548 set dummy strip
; ac_word
=$2
5549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5550 $as_echo_n "checking for $ac_word... " >&6; }
5551 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
5552 $as_echo_n "(cached) " >&6
5554 if test -n "$ac_ct_STRIP"; then
5555 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
5557 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5561 test -z "$as_dir" && as_dir
=.
5562 for ac_exec_ext
in '' $ac_executable_extensions; do
5563 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5564 ac_cv_prog_ac_ct_STRIP
="strip"
5565 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5574 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
5575 if test -n "$ac_ct_STRIP"; then
5576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5577 $as_echo "$ac_ct_STRIP" >&6; }
5579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5580 $as_echo "no" >&6; }
5583 if test "x$ac_ct_STRIP" = x
; then
5586 case $cross_compiling:$ac_tool_warned in
5588 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5589 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5590 ac_tool_warned
=yes ;;
5595 STRIP
="$ac_cv_prog_STRIP"
5600 if test -n "$ac_tool_prefix"; then
5601 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5602 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
5603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5604 $as_echo_n "checking for $ac_word... " >&6; }
5605 if ${ac_cv_prog_RANLIB+:} false
; then :
5606 $as_echo_n "(cached) " >&6
5608 if test -n "$RANLIB"; then
5609 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
5611 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5615 test -z "$as_dir" && as_dir
=.
5616 for ac_exec_ext
in '' $ac_executable_extensions; do
5617 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5618 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
5619 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5628 RANLIB
=$ac_cv_prog_RANLIB
5629 if test -n "$RANLIB"; then
5630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5631 $as_echo "$RANLIB" >&6; }
5633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5634 $as_echo "no" >&6; }
5639 if test -z "$ac_cv_prog_RANLIB"; then
5640 ac_ct_RANLIB
=$RANLIB
5641 # Extract the first word of "ranlib", so it can be a program name with args.
5642 set dummy ranlib
; ac_word
=$2
5643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5644 $as_echo_n "checking for $ac_word... " >&6; }
5645 if ${ac_cv_prog_ac_ct_RANLIB+:} false
; then :
5646 $as_echo_n "(cached) " >&6
5648 if test -n "$ac_ct_RANLIB"; then
5649 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
5651 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5655 test -z "$as_dir" && as_dir
=.
5656 for ac_exec_ext
in '' $ac_executable_extensions; do
5657 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5658 ac_cv_prog_ac_ct_RANLIB
="ranlib"
5659 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5668 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
5669 if test -n "$ac_ct_RANLIB"; then
5670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5671 $as_echo "$ac_ct_RANLIB" >&6; }
5673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5674 $as_echo "no" >&6; }
5677 if test "x$ac_ct_RANLIB" = x
; then
5680 case $cross_compiling:$ac_tool_warned in
5682 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5683 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5684 ac_tool_warned
=yes ;;
5686 RANLIB
=$ac_ct_RANLIB
5689 RANLIB
="$ac_cv_prog_RANLIB"
5692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5693 $as_echo_n "checking whether ln -s works... " >&6; }
5695 if test "$LN_S" = "ln -s"; then
5696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5697 $as_echo "yes" >&6; }
5699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5700 $as_echo "no, using $LN_S" >&6; }
5703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5704 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5705 if ${ac_cv_path_GREP+:} false
; then :
5706 $as_echo_n "(cached) " >&6
5708 if test -z "$GREP"; then
5709 ac_path_GREP_found
=false
5710 # Loop through the user's path and test for each of PROGNAME-LIST
5711 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5712 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5715 test -z "$as_dir" && as_dir
=.
5716 for ac_prog
in grep ggrep
; do
5717 for ac_exec_ext
in '' $ac_executable_extensions; do
5718 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
5719 as_fn_executable_p
"$ac_path_GREP" ||
continue
5720 # Check for GNU ac_path_GREP and select it if it is found.
5721 # Check for GNU $ac_path_GREP
5722 case `"$ac_path_GREP" --version 2>&1` in
5724 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
5727 $as_echo_n 0123456789 >"conftest.in"
5730 cat "conftest.in" "conftest.in" >"conftest.tmp"
5731 mv "conftest.tmp" "conftest.in"
5732 cp "conftest.in" "conftest.nl"
5733 $as_echo 'GREP' >> "conftest.nl"
5734 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5735 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5736 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5737 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5738 # Best one so far, save it but keep looking for a better one
5739 ac_cv_path_GREP
="$ac_path_GREP"
5740 ac_path_GREP_max
=$ac_count
5742 # 10*(2^10) chars as input seems more than enough
5743 test $ac_count -gt 10 && break
5745 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5748 $ac_path_GREP_found && break 3
5753 if test -z "$ac_cv_path_GREP"; then
5754 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5757 ac_cv_path_GREP
=$GREP
5761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5762 $as_echo "$ac_cv_path_GREP" >&6; }
5763 GREP
="$ac_cv_path_GREP"
5766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5767 $as_echo_n "checking for egrep... " >&6; }
5768 if ${ac_cv_path_EGREP+:} false
; then :
5769 $as_echo_n "(cached) " >&6
5771 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
5772 then ac_cv_path_EGREP
="$GREP -E"
5774 if test -z "$EGREP"; then
5775 ac_path_EGREP_found
=false
5776 # Loop through the user's path and test for each of PROGNAME-LIST
5777 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5778 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5781 test -z "$as_dir" && as_dir
=.
5782 for ac_prog
in egrep; do
5783 for ac_exec_ext
in '' $ac_executable_extensions; do
5784 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
5785 as_fn_executable_p
"$ac_path_EGREP" ||
continue
5786 # Check for GNU ac_path_EGREP and select it if it is found.
5787 # Check for GNU $ac_path_EGREP
5788 case `"$ac_path_EGREP" --version 2>&1` in
5790 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
5793 $as_echo_n 0123456789 >"conftest.in"
5796 cat "conftest.in" "conftest.in" >"conftest.tmp"
5797 mv "conftest.tmp" "conftest.in"
5798 cp "conftest.in" "conftest.nl"
5799 $as_echo 'EGREP' >> "conftest.nl"
5800 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5801 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5802 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5803 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5804 # Best one so far, save it but keep looking for a better one
5805 ac_cv_path_EGREP
="$ac_path_EGREP"
5806 ac_path_EGREP_max
=$ac_count
5808 # 10*(2^10) chars as input seems more than enough
5809 test $ac_count -gt 10 && break
5811 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5814 $ac_path_EGREP_found && break 3
5819 if test -z "$ac_cv_path_EGREP"; then
5820 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5823 ac_cv_path_EGREP
=$EGREP
5828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5829 $as_echo "$ac_cv_path_EGREP" >&6; }
5830 EGREP
="$ac_cv_path_EGREP"
5833 # Extract the first word of "ldconfig", so it can be a program name with args.
5834 set dummy ldconfig
; ac_word
=$2
5835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5836 $as_echo_n "checking for $ac_word... " >&6; }
5837 if ${ac_cv_path_LDCONFIG+:} false
; then :
5838 $as_echo_n "(cached) " >&6
5842 ac_cv_path_LDCONFIG
="$LDCONFIG" # Let the user override the test with a path.
5845 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5846 for as_dir
in /sbin
/usr
/sbin
$PATH
5849 test -z "$as_dir" && as_dir
=.
5850 for ac_exec_ext
in '' $ac_executable_extensions; do
5851 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5852 ac_cv_path_LDCONFIG
="$as_dir/$ac_word$ac_exec_ext"
5853 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5860 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG
="true"
5864 LDCONFIG
=$ac_cv_path_LDCONFIG
5865 if test -n "$LDCONFIG"; then
5866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
5867 $as_echo "$LDCONFIG" >&6; }
5869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5870 $as_echo "no" >&6; }
5874 for ac_prog
in msgfmt
5876 # Extract the first word of "$ac_prog", so it can be a program name with args.
5877 set dummy
$ac_prog; ac_word
=$2
5878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5879 $as_echo_n "checking for $ac_word... " >&6; }
5880 if ${ac_cv_prog_MSGFMT+:} false
; then :
5881 $as_echo_n "(cached) " >&6
5883 if test -n "$MSGFMT"; then
5884 ac_cv_prog_MSGFMT
="$MSGFMT" # Let the user override the test.
5886 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5890 test -z "$as_dir" && as_dir
=.
5891 for ac_exec_ext
in '' $ac_executable_extensions; do
5892 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5893 ac_cv_prog_MSGFMT
="$ac_prog"
5894 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5903 MSGFMT
=$ac_cv_prog_MSGFMT
5904 if test -n "$MSGFMT"; then
5905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5906 $as_echo "$MSGFMT" >&6; }
5908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5909 $as_echo "no" >&6; }
5913 test -n "$MSGFMT" && break
5915 test -n "$MSGFMT" || MSGFMT
="false"
5917 if ${ac_tool_prefix+:} false
; then :
5918 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5919 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
5920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5921 $as_echo_n "checking for $ac_word... " >&6; }
5922 if ${ac_cv_prog_PKG_CONFIG+:} false
; then :
5923 $as_echo_n "(cached) " >&6
5925 if test -n "$PKG_CONFIG"; then
5926 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
5928 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5932 test -z "$as_dir" && as_dir
=.
5933 for ac_exec_ext
in '' $ac_executable_extensions; do
5934 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5935 ac_cv_prog_PKG_CONFIG
="${ac_tool_prefix}pkg-config"
5936 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5945 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
5946 if test -n "$PKG_CONFIG"; then
5947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5948 $as_echo "$PKG_CONFIG" >&6; }
5950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5951 $as_echo "no" >&6; }
5956 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
5957 if test "x$cross_compiling" = xyes
; then :
5960 { ac_cv_prog_PKG_CONFIG
=; unset ac_cv_prog_PKG_CONFIG
;}
5961 # Extract the first word of "pkg-config", so it can be a program name with args.
5962 set dummy pkg-config
; ac_word
=$2
5963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5964 $as_echo_n "checking for $ac_word... " >&6; }
5965 if ${ac_cv_prog_PKG_CONFIG+:} false
; then :
5966 $as_echo_n "(cached) " >&6
5968 if test -n "$PKG_CONFIG"; then
5969 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
5971 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5975 test -z "$as_dir" && as_dir
=.
5976 for ac_exec_ext
in '' $ac_executable_extensions; do
5977 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5978 ac_cv_prog_PKG_CONFIG
="pkg-config"
5979 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5988 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
5989 if test -n "$PKG_CONFIG"; then
5990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5991 $as_echo "$PKG_CONFIG" >&6; }
5993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5994 $as_echo "no" >&6; }
6000 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
6003 if test "x$enable_maintainer_mode" != "xyes"
6010 test "$srcdir" = . || as_fn_error $?
"Maintainer mode cannot work out of tree." "$LINENO" 5
6011 for ac_prog
in fontforge
6013 # Extract the first word of "$ac_prog", so it can be a program name with args.
6014 set dummy
$ac_prog; ac_word
=$2
6015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6016 $as_echo_n "checking for $ac_word... " >&6; }
6017 if ${ac_cv_prog_FONTFORGE+:} false
; then :
6018 $as_echo_n "(cached) " >&6
6020 if test -n "$FONTFORGE"; then
6021 ac_cv_prog_FONTFORGE
="$FONTFORGE" # Let the user override the test.
6023 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6027 test -z "$as_dir" && as_dir
=.
6028 for ac_exec_ext
in '' $ac_executable_extensions; do
6029 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6030 ac_cv_prog_FONTFORGE
="$ac_prog"
6031 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6040 FONTFORGE
=$ac_cv_prog_FONTFORGE
6041 if test -n "$FONTFORGE"; then
6042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
6043 $as_echo "$FONTFORGE" >&6; }
6045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6046 $as_echo "no" >&6; }
6050 test -n "$FONTFORGE" && break
6052 test -n "$FONTFORGE" || FONTFORGE
="false"
6054 for ac_prog
in rsvg-convert rsvg
6056 # Extract the first word of "$ac_prog", so it can be a program name with args.
6057 set dummy
$ac_prog; ac_word
=$2
6058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6059 $as_echo_n "checking for $ac_word... " >&6; }
6060 if ${ac_cv_prog_RSVG+:} false
; then :
6061 $as_echo_n "(cached) " >&6
6063 if test -n "$RSVG"; then
6064 ac_cv_prog_RSVG
="$RSVG" # Let the user override the test.
6066 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6070 test -z "$as_dir" && as_dir
=.
6071 for ac_exec_ext
in '' $ac_executable_extensions; do
6072 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6073 ac_cv_prog_RSVG
="$ac_prog"
6074 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6083 RSVG
=$ac_cv_prog_RSVG
6084 if test -n "$RSVG"; then
6085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
6086 $as_echo "$RSVG" >&6; }
6088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6089 $as_echo "no" >&6; }
6093 test -n "$RSVG" && break
6095 test -n "$RSVG" || RSVG
="false"
6097 for ac_prog
in convert
6099 # Extract the first word of "$ac_prog", so it can be a program name with args.
6100 set dummy
$ac_prog; ac_word
=$2
6101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6102 $as_echo_n "checking for $ac_word... " >&6; }
6103 if ${ac_cv_prog_CONVERT+:} false
; then :
6104 $as_echo_n "(cached) " >&6
6106 if test -n "$CONVERT"; then
6107 ac_cv_prog_CONVERT
="$CONVERT" # Let the user override the test.
6109 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6113 test -z "$as_dir" && as_dir
=.
6114 for ac_exec_ext
in '' $ac_executable_extensions; do
6115 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6116 ac_cv_prog_CONVERT
="$ac_prog"
6117 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6126 CONVERT
=$ac_cv_prog_CONVERT
6127 if test -n "$CONVERT"; then
6128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
6129 $as_echo "$CONVERT" >&6; }
6131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6132 $as_echo "no" >&6; }
6136 test -n "$CONVERT" && break
6138 test -n "$CONVERT" || CONVERT
="false"
6140 for ac_prog
in icotool
6142 # Extract the first word of "$ac_prog", so it can be a program name with args.
6143 set dummy
$ac_prog; ac_word
=$2
6144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6145 $as_echo_n "checking for $ac_word... " >&6; }
6146 if ${ac_cv_prog_ICOTOOL+:} false
; then :
6147 $as_echo_n "(cached) " >&6
6149 if test -n "$ICOTOOL"; then
6150 ac_cv_prog_ICOTOOL
="$ICOTOOL" # Let the user override the test.
6152 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6156 test -z "$as_dir" && as_dir
=.
6157 for ac_exec_ext
in '' $ac_executable_extensions; do
6158 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6159 ac_cv_prog_ICOTOOL
="$ac_prog"
6160 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6169 ICOTOOL
=$ac_cv_prog_ICOTOOL
6170 if test -n "$ICOTOOL"; then
6171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
6172 $as_echo "$ICOTOOL" >&6; }
6174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6175 $as_echo "no" >&6; }
6179 test -n "$ICOTOOL" && break
6181 test -n "$ICOTOOL" || ICOTOOL
="false"
6183 test "$FONTFORGE" != "false" || as_fn_error $?
"You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
6184 test "$RSVG" != "false" || as_fn_error $?
"You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
6186 if test "$CONVERT" = false
6188 as_fn_error $?
"You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
6190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
6191 $as_echo_n "checking for recent enough imagemagick... " >&6; }
6192 convert_version
=`convert --version | head -n1`
6193 if test "x$convert_version" != "x"
6195 convert_version_major
=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
6196 convert_version_minor
=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
6197 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
6202 if test "$CONVERT" = false
6204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
6205 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
6206 as_fn_error $?
"You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
6209 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
6213 if test "$ICOTOOL" = false
6215 as_fn_error $?
"You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
6217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
6218 $as_echo_n "checking for recent enough icotool... " >&6; }
6219 icotool_version
=`icotool --version | head -n1`
6220 if test "x$icotool_version" != "x"
6222 icotool_version_major
=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
6223 icotool_version_minor
=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
6224 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
6227 as_fn_append wine_warnings
"|icotool version 0.29.0 or newer is needed to rebuild icons."
6230 if test "$ICOTOOL" = false
6232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
6233 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
6234 as_fn_error $?
"You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
6237 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
6243 { ac_cv_header_gettext_po_h
=; unset ac_cv_header_gettext_po_h
;}
6246 test "x$with_gettext" != xno || MSGFMT
=false
6247 if test "$MSGFMT" != "false"
6249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
6250 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
6251 cat >conftest.po
<<EOF
6257 if $MSGFMT -o /dev
/null conftest.po
2>&5
6259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6260 $as_echo "yes" >&6; }
6262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6263 $as_echo "no" >&6; }
6267 if test "$MSGFMT" = false
; then :
6268 case "x$with_gettext" in
6269 x
) as_fn_append wine_warnings
"|gettext tools not found (or too old), translations won't be built." ;;
6271 *) as_fn_error $?
"gettext tools not found (or too old), translations won't be built.
6272 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6274 enable_po
=${enable_po:-no}
6278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6279 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6280 if ${ac_cv_lib_i386_i386_set_ldt+:} false
; then :
6281 $as_echo_n "(cached) " >&6
6283 ac_check_lib_save_LIBS
=$LIBS
6285 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6286 /* end confdefs.h. */
6288 /* Override any GCC internal prototype to avoid an error.
6289 Use char because int might match the return type of a GCC
6290 builtin and then its argument prototype would still apply. */
6294 char i386_set_ldt ();
6298 return i386_set_ldt ();
6303 if ac_fn_c_try_link
"$LINENO"; then :
6304 ac_cv_lib_i386_i386_set_ldt
=yes
6306 ac_cv_lib_i386_i386_set_ldt
=no
6308 rm -f core conftest.err conftest.
$ac_objext \
6309 conftest
$ac_exeext conftest.
$ac_ext
6310 LIBS
=$ac_check_lib_save_LIBS
6312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6313 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6314 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes
; then :
6315 cat >>confdefs.h
<<_ACEOF
6316 #define HAVE_LIBI386 1
6323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
6324 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
6325 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false
; then :
6326 $as_echo_n "(cached) " >&6
6328 ac_check_lib_save_LIBS
=$LIBS
6329 LIBS
="-lossaudio $LIBS"
6330 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6331 /* end confdefs.h. */
6333 /* Override any GCC internal prototype to avoid an error.
6334 Use char because int might match the return type of a GCC
6335 builtin and then its argument prototype would still apply. */
6343 return _oss_ioctl ();
6348 if ac_fn_c_try_link
"$LINENO"; then :
6349 ac_cv_lib_ossaudio__oss_ioctl
=yes
6351 ac_cv_lib_ossaudio__oss_ioctl
=no
6353 rm -f core conftest.err conftest.
$ac_objext \
6354 conftest
$ac_exeext conftest.
$ac_ext
6355 LIBS
=$ac_check_lib_save_LIBS
6357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6358 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6359 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes
; then :
6360 cat >>confdefs.h
<<_ACEOF
6361 #define HAVE_LIBOSSAUDIO 1
6364 LIBS
="-lossaudio $LIBS"
6373 # Check whether --enable-largefile was given.
6374 if test "${enable_largefile+set}" = set; then :
6375 enableval
=$enable_largefile;
6378 if test "$enable_largefile" != no
; then
6380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6381 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6382 if ${ac_cv_sys_largefile_CC+:} false
; then :
6383 $as_echo_n "(cached) " >&6
6385 ac_cv_sys_largefile_CC
=no
6386 if test "$GCC" != yes; then
6389 # IRIX 6.2 and later do not support large files by default,
6390 # so use the C compiler's -n32 option if that helps.
6391 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6392 /* end confdefs.h. */
6393 #include <sys/types.h>
6394 /* Check that off_t can represent 2**63 - 1 correctly.
6395 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6396 since some C++ compilers masquerading as C compilers
6397 incorrectly reject 9223372036854775807. */
6398 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6399 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6400 && LARGE_OFF_T % 2147483647 == 1)
6410 if ac_fn_c_try_compile
"$LINENO"; then :
6413 rm -f core conftest.err conftest.
$ac_objext
6415 if ac_fn_c_try_compile
"$LINENO"; then :
6416 ac_cv_sys_largefile_CC
=' -n32'; break
6418 rm -f core conftest.err conftest.
$ac_objext
6422 rm -f conftest.
$ac_ext
6425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6426 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6427 if test "$ac_cv_sys_largefile_CC" != no
; then
6428 CC
=$CC$ac_cv_sys_largefile_CC
6431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6432 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6433 if ${ac_cv_sys_file_offset_bits+:} false
; then :
6434 $as_echo_n "(cached) " >&6
6437 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6438 /* end confdefs.h. */
6439 #include <sys/types.h>
6440 /* Check that off_t can represent 2**63 - 1 correctly.
6441 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6442 since some C++ compilers masquerading as C compilers
6443 incorrectly reject 9223372036854775807. */
6444 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6445 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6446 && LARGE_OFF_T % 2147483647 == 1)
6456 if ac_fn_c_try_compile
"$LINENO"; then :
6457 ac_cv_sys_file_offset_bits
=no
; break
6459 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6460 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6461 /* end confdefs.h. */
6462 #define _FILE_OFFSET_BITS 64
6463 #include <sys/types.h>
6464 /* Check that off_t can represent 2**63 - 1 correctly.
6465 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6466 since some C++ compilers masquerading as C compilers
6467 incorrectly reject 9223372036854775807. */
6468 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6469 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6470 && LARGE_OFF_T % 2147483647 == 1)
6480 if ac_fn_c_try_compile
"$LINENO"; then :
6481 ac_cv_sys_file_offset_bits
=64; break
6483 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6484 ac_cv_sys_file_offset_bits
=unknown
6488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6489 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6490 case $ac_cv_sys_file_offset_bits in #(
6493 cat >>confdefs.h
<<_ACEOF
6494 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6499 if test $ac_cv_sys_file_offset_bits = unknown
; then
6500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6501 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6502 if ${ac_cv_sys_large_files+:} false
; then :
6503 $as_echo_n "(cached) " >&6
6506 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6507 /* end confdefs.h. */
6508 #include <sys/types.h>
6509 /* Check that off_t can represent 2**63 - 1 correctly.
6510 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6511 since some C++ compilers masquerading as C compilers
6512 incorrectly reject 9223372036854775807. */
6513 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6514 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6515 && LARGE_OFF_T % 2147483647 == 1)
6525 if ac_fn_c_try_compile
"$LINENO"; then :
6526 ac_cv_sys_large_files
=no
; break
6528 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6529 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6530 /* end confdefs.h. */
6531 #define _LARGE_FILES 1
6532 #include <sys/types.h>
6533 /* Check that off_t can represent 2**63 - 1 correctly.
6534 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6535 since some C++ compilers masquerading as C compilers
6536 incorrectly reject 9223372036854775807. */
6537 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6538 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6539 && LARGE_OFF_T % 2147483647 == 1)
6549 if ac_fn_c_try_compile
"$LINENO"; then :
6550 ac_cv_sys_large_files
=1; break
6552 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6553 ac_cv_sys_large_files
=unknown
6557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6558 $as_echo "$ac_cv_sys_large_files" >&6; }
6559 case $ac_cv_sys_large_files in #(
6562 cat >>confdefs.h
<<_ACEOF
6563 #define _LARGE_FILES $ac_cv_sys_large_files
6575 ac_cpp
='$CPP $CPPFLAGS'
6576 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6577 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6578 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6580 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6581 # On Suns, sometimes $CPP names a directory.
6582 if test -n "$CPP" && test -d "$CPP"; then
6585 if test -z "$CPP"; then
6586 if ${ac_cv_prog_CPP+:} false
; then :
6587 $as_echo_n "(cached) " >&6
6589 # Double quotes because CPP needs to be expanded
6590 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6593 for ac_c_preproc_warn_flag
in '' yes
6595 # Use a header file that comes with gcc, so configuring glibc
6596 # with a fresh cross-compiler works.
6597 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6598 # <limits.h> exists even on freestanding compilers.
6599 # On the NeXT, cc -E runs the code through the compiler's parser,
6600 # not just through cpp. "Syntax error" is here to catch this case.
6601 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6602 /* end confdefs.h. */
6604 # include <limits.h>
6606 # include <assert.h>
6610 if ac_fn_c_try_cpp
"$LINENO"; then :
6613 # Broken: fails on valid input.
6616 rm -f conftest.err conftest.i conftest.
$ac_ext
6618 # OK, works on sane cases. Now check whether nonexistent headers
6619 # can be detected and how.
6620 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6621 /* end confdefs.h. */
6622 #include <ac_nonexistent.h>
6624 if ac_fn_c_try_cpp
"$LINENO"; then :
6625 # Broken: success on invalid input.
6628 # Passes both tests.
6632 rm -f conftest.err conftest.i conftest.
$ac_ext
6635 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6636 rm -f conftest.i conftest.err conftest.
$ac_ext
6637 if $ac_preproc_ok; then :
6649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6650 $as_echo "$CPP" >&6; }
6652 for ac_c_preproc_warn_flag
in '' yes
6654 # Use a header file that comes with gcc, so configuring glibc
6655 # with a fresh cross-compiler works.
6656 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6657 # <limits.h> exists even on freestanding compilers.
6658 # On the NeXT, cc -E runs the code through the compiler's parser,
6659 # not just through cpp. "Syntax error" is here to catch this case.
6660 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6661 /* end confdefs.h. */
6663 # include <limits.h>
6665 # include <assert.h>
6669 if ac_fn_c_try_cpp
"$LINENO"; then :
6672 # Broken: fails on valid input.
6675 rm -f conftest.err conftest.i conftest.
$ac_ext
6677 # OK, works on sane cases. Now check whether nonexistent headers
6678 # can be detected and how.
6679 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6680 /* end confdefs.h. */
6681 #include <ac_nonexistent.h>
6683 if ac_fn_c_try_cpp
"$LINENO"; then :
6684 # Broken: success on invalid input.
6687 # Passes both tests.
6691 rm -f conftest.err conftest.i conftest.
$ac_ext
6694 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6695 rm -f conftest.i conftest.err conftest.
$ac_ext
6696 if $ac_preproc_ok; then :
6699 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6700 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6701 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
6702 See \`config.log' for more details" "$LINENO" 5; }
6706 ac_cpp
='$CPP $CPPFLAGS'
6707 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6708 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6709 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6713 $as_echo_n "checking for ANSI C header files... " >&6; }
6714 if ${ac_cv_header_stdc+:} false
; then :
6715 $as_echo_n "(cached) " >&6
6717 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6718 /* end confdefs.h. */
6732 if ac_fn_c_try_compile
"$LINENO"; then :
6733 ac_cv_header_stdc
=yes
6735 ac_cv_header_stdc
=no
6737 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6739 if test $ac_cv_header_stdc = yes; then
6740 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6741 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6742 /* end confdefs.h. */
6746 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6747 $EGREP "memchr" >/dev
/null
2>&1; then :
6750 ac_cv_header_stdc
=no
6756 if test $ac_cv_header_stdc = yes; then
6757 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6758 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6759 /* end confdefs.h. */
6763 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6764 $EGREP "free" >/dev
/null
2>&1; then :
6767 ac_cv_header_stdc
=no
6773 if test $ac_cv_header_stdc = yes; then
6774 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6775 if test "$cross_compiling" = yes; then :
6778 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6779 /* end confdefs.h. */
6782 #if ((' ' & 0x0FF) == 0x020)
6783 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6784 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6786 # define ISLOWER(c) \
6787 (('a' <= (c) && (c) <= 'i') \
6788 || ('j' <= (c) && (c) <= 'r') \
6789 || ('s' <= (c) && (c) <= 'z'))
6790 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6793 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6798 for (i = 0; i < 256; i++)
6799 if (XOR (islower (i), ISLOWER (i))
6800 || toupper (i) != TOUPPER (i))
6805 if ac_fn_c_try_run
"$LINENO"; then :
6808 ac_cv_header_stdc
=no
6810 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6811 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6817 $as_echo "$ac_cv_header_stdc" >&6; }
6818 if test $ac_cv_header_stdc = yes; then
6820 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6824 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6825 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
6826 inttypes.h stdint.h unistd.h
6828 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6829 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6831 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6832 cat >>confdefs.h
<<_ACEOF
6833 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6843 ApplicationServices
/ApplicationServices.h \
6844 AudioToolbox
/AudioConverter.h \
6845 AudioUnit
/AudioUnit.h \
6846 AudioUnit
/AudioComponent.h \
6849 CommonCrypto
/CommonDigest.h \
6850 CoreAudio
/CoreAudio.h \
6851 CoreServices
/CoreServices.h \
6852 DiskArbitration
/DiskArbitration.h \
6855 IOKit
/hid
/IOHIDLib.h \
6858 QuickTime
/ImageCompression.h \
6859 Security
/Security.h \
6909 netinet
/in_systm.h \
6974 valgrind
/memcheck.h \
6975 valgrind
/valgrind.h \
6979 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6980 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6981 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6982 cat >>confdefs.h
<<_ACEOF
6983 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether sys/types.h defines makedev" >&5
6991 $as_echo_n "checking whether sys/types.h defines makedev... " >&6; }
6992 if ${ac_cv_header_sys_types_h_makedev+:} false
; then :
6993 $as_echo_n "(cached) " >&6
6995 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6996 /* end confdefs.h. */
6997 #include <sys/types.h>
7001 return makedev(0, 0);
7006 if ac_fn_c_try_link
"$LINENO"; then :
7007 ac_cv_header_sys_types_h_makedev
=yes
7009 ac_cv_header_sys_types_h_makedev
=no
7011 rm -f core conftest.err conftest.
$ac_objext \
7012 conftest
$ac_exeext conftest.
$ac_ext
7015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_types_h_makedev" >&5
7016 $as_echo "$ac_cv_header_sys_types_h_makedev" >&6; }
7018 if test $ac_cv_header_sys_types_h_makedev = no
; then
7019 ac_fn_c_check_header_mongrel
"$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
7020 if test "x$ac_cv_header_sys_mkdev_h" = xyes
; then :
7022 $as_echo "#define MAJOR_IN_MKDEV 1" >>confdefs.h
7028 if test $ac_cv_header_sys_mkdev_h = no
; then
7029 ac_fn_c_check_header_mongrel
"$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
7030 if test "x$ac_cv_header_sys_sysmacros_h" = xyes
; then :
7032 $as_echo "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
7040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
7041 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
7042 if ${ac_cv_header_stat_broken+:} false
; then :
7043 $as_echo_n "(cached) " >&6
7045 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7046 /* end confdefs.h. */
7047 #include <sys/types.h>
7048 #include <sys/stat.h>
7050 #if defined S_ISBLK && defined S_IFDIR
7051 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7054 #if defined S_ISBLK && defined S_IFCHR
7055 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7058 #if defined S_ISLNK && defined S_IFREG
7059 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7062 #if defined S_ISSOCK && defined S_IFREG
7063 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7067 if ac_fn_c_try_compile
"$LINENO"; then :
7068 ac_cv_header_stat_broken
=no
7070 ac_cv_header_stat_broken
=yes
7072 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
7075 $as_echo "$ac_cv_header_stat_broken" >&6; }
7076 if test $ac_cv_header_stat_broken = yes; then
7078 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
7084 for ac_header
in sys
/mount.h sys
/statfs.h sys
/sysctl.h sys
/user.h sys
/vfs.h
7086 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7087 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7088 #ifdef HAVE_SYS_PARAM_H
7089 # include <sys/param.h>
7092 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
7093 cat >>confdefs.h
<<_ACEOF
7094 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7109 netinet
/if_ether.h \
7110 netinet
/if_inarp.h \
7119 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7120 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7121 #ifdef HAVE_SYS_SOCKET_H
7122 # include <sys/socket.h>
7124 #ifdef HAVE_SYS_SOCKETVAR_H
7125 # include <sys/socketvar.h>
7127 #ifdef HAVE_NET_ROUTE_H
7128 # include <net/route.h>
7130 #ifdef HAVE_NETINET_IN_H
7131 # include <netinet/in.h>
7133 #ifdef HAVE_NETINET_IN_SYSTM_H
7134 # include <netinet/in_systm.h>
7136 #ifdef HAVE_NET_IF_H
7137 # include <net/if.h>
7139 #ifdef HAVE_NETINET_IP_H
7140 # include <netinet/ip.h>
7143 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
7144 cat >>confdefs.h
<<_ACEOF
7145 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7153 for ac_header
in netinet
/tcp_timer.h netinet
/udp_var.h netinet
/icmp_var.h netinet
/tcp_var.h
7155 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7156 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7160 #ifdef HAVE_SYS_SOCKET_H
7161 # include <sys/socket.h>
7163 #ifdef HAVE_SYS_SOCKETVAR_H
7164 # include <sys/socketvar.h>
7166 #ifdef HAVE_SYS_TIMEOUT_H
7167 # include <sys/timeout.h>
7169 #ifdef HAVE_NETINET_IN_H
7170 # include <netinet/in.h>
7172 #ifdef HAVE_NETINET_IN_SYSTM_H
7173 # include <netinet/in_systm.h>
7175 #ifdef HAVE_NETINET_IP_H
7176 # include <netinet/ip.h>
7178 #ifdef HAVE_NETINET_IP_VAR_H
7179 # include <netinet/ip_var.h>
7181 #ifdef HAVE_NETINET_IP_ICMP_H
7182 # include <netinet/ip_icmp.h>
7184 #ifdef HAVE_NETINET_UDP_H
7185 # include <netinet/udp.h>
7187 #ifdef HAVE_NETINET_TCP_H
7188 # include <netinet/tcp.h>
7190 #ifdef HAVE_NETINET_TCP_TIMER_H
7191 #include <netinet/tcp_timer.h>
7194 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
7195 cat >>confdefs.h
<<_ACEOF
7196 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7204 for ac_header
in linux
/ipx.h linux
/irda.h linux
/rtnetlink.h
7206 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7207 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7208 #ifdef HAVE_ASM_TYPES_H
7209 # include <asm/types.h>
7211 #ifdef HAVE_SYS_SOCKET_H
7212 # include <sys/socket.h>
7214 #ifdef HAVE_LINUX_TYPES_H
7215 # include <linux/types.h>
7218 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
7219 cat >>confdefs.h
<<_ACEOF
7220 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7228 for ac_header
in mach-o
/dyld_images.h
7230 ac_fn_c_check_header_compile
"$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
7231 # include <stdbool.h>
7233 #ifdef HAVE_STDINT_H
7234 # include <stdint.h>
7237 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes
; then :
7238 cat >>confdefs.h
<<_ACEOF
7239 #define HAVE_MACH_O_DYLD_IMAGES_H 1
7247 for ac_header
in resolv.h
7249 ac_fn_c_check_header_compile
"$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
7250 #ifdef HAVE_SYS_SOCKET_H
7251 # include <sys/socket.h>
7253 #ifdef HAVE_NETINET_IN_H
7254 # include <netinet/in.h>
7256 #ifdef HAVE_ARPA_NAMESER_H
7257 # include <arpa/nameser.h>
7260 if test "x$ac_cv_header_resolv_h" = xyes
; then :
7261 cat >>confdefs.h
<<_ACEOF
7262 #define HAVE_RESOLV_H 1
7270 for ac_header
in ifaddrs.h
7272 ac_fn_c_check_header_compile
"$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
7274 if test "x$ac_cv_header_ifaddrs_h" = xyes
; then :
7275 cat >>confdefs.h
<<_ACEOF
7276 #define HAVE_IFADDRS_H 1
7284 for ac_header
in sys
/ucontext.h
7286 ac_fn_c_check_header_compile
"$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
7288 if test "x$ac_cv_header_sys_ucontext_h" = xyes
; then :
7289 cat >>confdefs.h
<<_ACEOF
7290 #define HAVE_SYS_UCONTEXT_H 1
7298 for ac_header
in sys
/thr.h
7300 ac_fn_c_check_header_compile
"$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
7301 #ifdef HAVE_SYS_UCONTEXT_H
7302 #include <sys/ucontext.h>
7305 if test "x$ac_cv_header_sys_thr_h" = xyes
; then :
7306 cat >>confdefs.h
<<_ACEOF
7307 #define HAVE_SYS_THR_H 1
7315 for ac_header
in pthread_np.h
7317 ac_fn_c_check_header_compile
"$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7318 #include <pthread.h>
7321 if test "x$ac_cv_header_pthread_np_h" = xyes
; then :
7322 cat >>confdefs.h
<<_ACEOF
7323 #define HAVE_PTHREAD_NP_H 1
7331 for ac_header
in linux
/videodev.h linux
/videodev2.h libv4l1.h
7333 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7334 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
7335 #include <sys/time.h>
7337 #include <sys/types.h>
7338 #ifdef HAVE_ASM_TYPES_H
7339 #include <asm/types.h>
7342 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
7343 cat >>confdefs.h
<<_ACEOF
7344 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7352 for ac_header
in libprocstat.h
7354 ac_fn_c_check_header_compile
"$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7355 #include <sys/param.h>
7357 #ifdef HAVE_SYS_QUEUE_H
7358 #include <sys/queue.h>
7360 #ifdef HAVE_SYS_SOCKET_H
7361 #include <sys/socket.h>
7364 if test "x$ac_cv_header_libprocstat_h" = xyes
; then :
7365 cat >>confdefs.h
<<_ACEOF
7366 #define HAVE_LIBPROCSTAT_H 1
7375 dlldir
="\${libdir}/wine"
7377 DLLFLAGS
="-D_REENTRANT"
7385 WINELOADER_LDFLAGS
=""
7390 # Extract the first word of "ldd", so it can be a program name with args.
7391 set dummy ldd
; ac_word
=$2
7392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7393 $as_echo_n "checking for $ac_word... " >&6; }
7394 if ${ac_cv_path_LDD+:} false
; then :
7395 $as_echo_n "(cached) " >&6
7399 ac_cv_path_LDD
="$LDD" # Let the user override the test with a path.
7402 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7403 as_dummy
="/sbin:/usr/sbin:$PATH"
7404 for as_dir
in $as_dummy
7407 test -z "$as_dir" && as_dir
=.
7408 for ac_exec_ext
in '' $ac_executable_extensions; do
7409 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7410 ac_cv_path_LDD
="$as_dir/$ac_word$ac_exec_ext"
7411 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7418 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD
="true"
7423 if test -n "$LDD"; then
7424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7425 $as_echo "$LDD" >&6; }
7427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7428 $as_echo "no" >&6; }
7432 if test -n "$ac_tool_prefix"; then
7433 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7434 set dummy
${ac_tool_prefix}otool
; ac_word
=$2
7435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7436 $as_echo_n "checking for $ac_word... " >&6; }
7437 if ${ac_cv_prog_OTOOL+:} false
; then :
7438 $as_echo_n "(cached) " >&6
7440 if test -n "$OTOOL"; then
7441 ac_cv_prog_OTOOL
="$OTOOL" # Let the user override the test.
7443 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7447 test -z "$as_dir" && as_dir
=.
7448 for ac_exec_ext
in '' $ac_executable_extensions; do
7449 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7450 ac_cv_prog_OTOOL
="${ac_tool_prefix}otool"
7451 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7460 OTOOL
=$ac_cv_prog_OTOOL
7461 if test -n "$OTOOL"; then
7462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7463 $as_echo "$OTOOL" >&6; }
7465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7466 $as_echo "no" >&6; }
7471 if test -z "$ac_cv_prog_OTOOL"; then
7473 # Extract the first word of "otool", so it can be a program name with args.
7474 set dummy otool
; ac_word
=$2
7475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7476 $as_echo_n "checking for $ac_word... " >&6; }
7477 if ${ac_cv_prog_ac_ct_OTOOL+:} false
; then :
7478 $as_echo_n "(cached) " >&6
7480 if test -n "$ac_ct_OTOOL"; then
7481 ac_cv_prog_ac_ct_OTOOL
="$ac_ct_OTOOL" # Let the user override the test.
7483 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7487 test -z "$as_dir" && as_dir
=.
7488 for ac_exec_ext
in '' $ac_executable_extensions; do
7489 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7490 ac_cv_prog_ac_ct_OTOOL
="otool"
7491 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7500 ac_ct_OTOOL
=$ac_cv_prog_ac_ct_OTOOL
7501 if test -n "$ac_ct_OTOOL"; then
7502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7503 $as_echo "$ac_ct_OTOOL" >&6; }
7505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7506 $as_echo "no" >&6; }
7509 if test "x$ac_ct_OTOOL" = x
; then
7512 case $cross_compiling:$ac_tool_warned in
7514 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7515 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7516 ac_tool_warned
=yes ;;
7521 OTOOL
="$ac_cv_prog_OTOOL"
7524 if test -n "$ac_tool_prefix"; then
7525 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
7526 set dummy
${ac_tool_prefix}readelf
; ac_word
=$2
7527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7528 $as_echo_n "checking for $ac_word... " >&6; }
7529 if ${ac_cv_prog_READELF+:} false
; then :
7530 $as_echo_n "(cached) " >&6
7532 if test -n "$READELF"; then
7533 ac_cv_prog_READELF
="$READELF" # Let the user override the test.
7535 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7539 test -z "$as_dir" && as_dir
=.
7540 for ac_exec_ext
in '' $ac_executable_extensions; do
7541 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7542 ac_cv_prog_READELF
="${ac_tool_prefix}readelf"
7543 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7552 READELF
=$ac_cv_prog_READELF
7553 if test -n "$READELF"; then
7554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
7555 $as_echo "$READELF" >&6; }
7557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7558 $as_echo "no" >&6; }
7563 if test -z "$ac_cv_prog_READELF"; then
7564 ac_ct_READELF
=$READELF
7565 # Extract the first word of "readelf", so it can be a program name with args.
7566 set dummy readelf
; ac_word
=$2
7567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7568 $as_echo_n "checking for $ac_word... " >&6; }
7569 if ${ac_cv_prog_ac_ct_READELF+:} false
; then :
7570 $as_echo_n "(cached) " >&6
7572 if test -n "$ac_ct_READELF"; then
7573 ac_cv_prog_ac_ct_READELF
="$ac_ct_READELF" # Let the user override the test.
7575 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7579 test -z "$as_dir" && as_dir
=.
7580 for ac_exec_ext
in '' $ac_executable_extensions; do
7581 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7582 ac_cv_prog_ac_ct_READELF
="readelf"
7583 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7592 ac_ct_READELF
=$ac_cv_prog_ac_ct_READELF
7593 if test -n "$ac_ct_READELF"; then
7594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7595 $as_echo "$ac_ct_READELF" >&6; }
7597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7598 $as_echo "no" >&6; }
7601 if test "x$ac_ct_READELF" = x
; then
7604 case $cross_compiling:$ac_tool_warned in
7606 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7607 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7608 ac_tool_warned
=yes ;;
7610 READELF
=$ac_ct_READELF
7613 READELF
="$ac_cv_prog_READELF"
7616 wine_rules_file
=conf$
$rules.
make
7617 rm -f $wine_rules_file
7622 CONFIGURE_TARGETS
=""
7624 ALL_TEST_RESOURCES
=""
7627 wine_fn_append_file
()
7629 as_fn_append
$1 " \\$as_nl $2"
7632 wine_fn_append_rule
()
7634 $as_echo "$1" >>$wine_rules_file
7639 expr ",$ac_flags," : ".*,$1,.*" >/dev
/null
7642 wine_fn_all_rules
()
7644 wine_fn_append_file SUBDIRS
$ac_dir
7645 wine_fn_append_rule \
7649 @cd $ac_dir && \$(MAKE)"
7652 wine_fn_install_rules
()
7654 wine_fn_has_flag install-lib || wine_fn_has_flag install-dev ||
return
7656 wine_fn_append_rule \
7657 ".PHONY: $ac_dir/install $ac_dir/uninstall
7658 $ac_dir/install:: $ac_dir
7659 @cd $ac_dir && \$(MAKE) install
7661 @cd $ac_dir && \$(MAKE) uninstall
7662 install:: $ac_dir/install
7663 __uninstall__: $ac_dir/uninstall"
7665 if wine_fn_has_flag install-lib
7667 wine_fn_append_rule \
7668 ".PHONY: $ac_dir/install-lib
7669 $ac_dir/install-lib:: $ac_dir
7670 @cd $ac_dir && \$(MAKE) install-lib
7671 install-lib:: $ac_dir/install-lib"
7674 if wine_fn_has_flag install-dev
7676 wine_fn_append_rule \
7677 ".PHONY: $ac_dir/install-dev
7678 $ac_dir/install-dev:: $ac_dir
7679 @cd $ac_dir && \$(MAKE) install-dev
7680 install-dev:: $ac_dir/install-dev"
7684 wine_fn_clean_rules
()
7688 if wine_fn_has_flag clean
7690 wine_fn_append_rule \
7691 "$ac_dir/clean: dummy
7692 @cd $ac_dir && \$(MAKE) clean"
7694 wine_fn_append_rule \
7695 "$ac_dir/clean: dummy
7696 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean"
7698 wine_fn_append_rule \
7699 "__clean__: $ac_dir/clean
7700 .PHONY: $ac_dir/clean"
7703 wine_fn_disabled_rules
()
7707 wine_fn_append_file SUBDIRS
$ac_dir
7708 wine_fn_append_file DISABLED_SUBDIRS
$ac_dir
7709 wine_fn_append_rule \
7710 "__clean__: $ac_dir/clean
7711 .PHONY: $ac_dir/clean
7712 $ac_dir/clean: dummy
7713 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean"
7716 wine_fn_config_makefile
()
7723 fonts|server
) test -z "$with_wine64" ||
return ;;
7725 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
7726 wine_fn_disabled_rules
; return
7729 wine_fn_install_rules
7733 wine_fn_config_lib
()
7737 ac_dir
=dlls
/$ac_name
7740 if test "x$enable_tools" = xno
; then :
7743 ac_deps
="tools/widl tools/winebuild tools/winegcc $ac_deps"
7748 wine_fn_append_rule \
7749 ".PHONY: $ac_dir/install $ac_dir/uninstall
7750 $ac_dir/install:: $ac_dir
7751 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7753 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7754 install install-dev:: $ac_dir/install
7755 __uninstall__: $ac_dir/uninstall
7756 __builddeps__: $ac_dir
7760 wine_fn_config_dll
()
7763 ac_dir
=dlls
/$ac_name
7766 ac_implib
=${4:-$ac_name}
7767 ac_file
=$ac_dir/lib
$ac_implib
7772 if test "x$enable_tools" = xno
; then :
7775 ac_deps
="tools/widl tools/winebuild tools/winegcc $ac_deps"
7778 *.
*16) ac_implibflags
=" -m16" ;;
7780 *) ac_dll
=$ac_dll.dll
;;
7784 wine_fn_has_flag implib
&& ac_clean
="$ac_clean $ac_file.$IMPLIBEXT"
7785 test -n "$DLLEXT" || ac_clean
="$ac_clean $ac_dir/$ac_dll"
7787 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
7788 if test "$ac_enable" != enable_win16
7790 wine_fn_clean_rules
$ac_clean
7791 wine_fn_append_file SUBDIRS
$ac_dir
7792 wine_fn_append_file DISABLED_SUBDIRS
$ac_dir
7794 wine_fn_disabled_rules
$ac_clean
7799 wine_fn_clean_rules
$ac_clean
7800 wine_fn_append_rule \
7801 "$ac_dir: __builddeps__
7802 manpages htmlpages sgmlpages xmlpages::
7803 @cd $ac_dir && \$(MAKE) \$@
7804 .PHONY: $ac_dir/install-lib $ac_dir/uninstall
7805 install install-lib:: $ac_dir/install-lib
7806 __uninstall__: $ac_dir/uninstall"
7807 if test -n "$DLLEXT"
7809 wine_fn_append_rule \
7810 "$ac_dir/install-lib:: $ac_dir
7811 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT
7812 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
7814 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
7816 wine_fn_append_rule \
7817 "$ac_dir/install-lib:: $ac_dir
7818 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
7820 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
7824 if wine_fn_has_flag staticimplib
7826 wine_fn_append_rule \
7827 "__builddeps__: $ac_file.a
7828 $ac_file.a $ac_file.cross.a: $ac_deps
7830 @cd $ac_dir && \$(MAKE) lib$ac_implib.a
7831 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7832 $ac_dir/install-dev:: $ac_file.a
7833 \$(INSTALL_DATA) $ac_file.a \$(DESTDIR)\$(dlldir)/lib$ac_implib.a
7835 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.a
7836 install install-dev:: $ac_dir/install-dev
7837 __uninstall__: $ac_dir/uninstall"
7839 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7841 wine_fn_append_rule \
7842 "__builddeps__: $ac_file.cross.a
7843 $ac_file.cross.a: dummy
7844 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
7847 elif wine_fn_has_flag implib
7849 wine_fn_append_rule \
7850 "__builddeps__: $ac_file.$IMPLIBEXT
7851 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7852 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7853 $ac_file.a: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7854 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7855 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7856 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7857 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7859 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7860 install install-dev:: $ac_dir/install-dev
7861 __uninstall__: $ac_dir/uninstall"
7862 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7864 wine_fn_append_rule \
7865 "__builddeps__: $ac_file.cross.a
7866 $ac_file.cross.a: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7867 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec"
7872 wine_fn_config_program
()
7875 ac_dir
=programs
/$ac_name
7882 *) ac_program
=$ac_program.exe
;;
7886 wine_fn_has_flag manpage
&& ac_clean
="$ac_clean $ac_dir/$ac_name.man"
7887 test -n "$DLLEXT" || ac_clean
="$ac_clean $ac_dir/$ac_program"
7889 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
7890 wine_fn_disabled_rules
$ac_clean; return
7894 wine_fn_clean_rules
$ac_clean
7895 wine_fn_append_rule
"$ac_dir: __builddeps__"
7897 wine_fn_has_flag
install ||
return
7898 wine_fn_append_rule \
7899 ".PHONY: $ac_dir/install $ac_dir/uninstall
7900 install install-lib:: $ac_dir/install
7901 __uninstall__: $ac_dir/uninstall"
7903 if test -n "$DLLEXT"
7905 wine_fn_append_rule \
7906 "$ac_dir/install:: $ac_dir
7907 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT
7908 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
7910 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
7912 if test -z "$with_wine64" && wine_fn_has_flag installbin
7914 wine_fn_append_rule \
7915 "$ac_dir/install:: __tooldeps__
7916 \$(INSTALL_SCRIPT) \$(TOOLSDIR)/tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
7918 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
7921 wine_fn_append_rule \
7922 "$ac_dir/install:: $ac_dir
7923 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(bindir)/$ac_program
7925 \$(RM) \$(DESTDIR)\$(bindir)/$ac_program"
7928 if test -z "$with_wine64" && wine_fn_has_flag manpage
7930 wine_fn_append_rule \
7931 "$ac_dir/install:: $ac_dir
7932 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
7934 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
7938 wine_fn_config_test
()
7945 test -n "$CROSSTARGET" && ac_clean
=`expr $ac_dir/${ac_name} : "\\(.*\\)_test"`_crosstest.exe
7946 test -n "$DLLEXT" || ac_clean
="$ac_dir/${ac_name}.exe $ac_dir/${ac_name}-stripped.exe"
7948 if test "x$enable_tests" = xno
; then :
7949 wine_fn_disabled_rules
$ac_clean; return
7952 wine_fn_append_file ALL_TEST_RESOURCES
$ac_name.res
7954 wine_fn_clean_rules
$ac_clean
7956 wine_fn_append_rule \
7957 "$ac_dir: __builddeps__
7958 programs/winetest: $ac_dir
7959 check test: $ac_dir/test
7960 .PHONY: $ac_dir/test
7962 @cd $ac_dir && \$(MAKE) test
7964 \$(RM) $ac_dir/*.ok"
7966 if test -n "$CROSSTARGET"
7968 wine_fn_append_rule \
7969 "crosstest: $ac_dir/crosstest
7970 .PHONY: $ac_dir/crosstest
7971 $ac_dir/crosstest: __builddeps__ dummy
7972 @cd $ac_dir && \$(MAKE) crosstest"
7976 wine_fn_config_tool
()
7980 if test "x$enable_tools" = xno
; then :
7981 wine_fn_append_file DISABLED_SUBDIRS
$ac_dir; return
7985 wine_fn_install_rules
7988 wine_fn_append_rule
"__tooldeps__: $ac_dir"
7989 wine_fn_append_rule
"$ac_dir: libs/port"
7991 tools
/winebuild
) wine_fn_append_rule
"\$(WINEBUILD): $ac_dir" ;;
7995 wine_fn_config_symlink
()
7998 if test "x$1" = "x-d"
8004 wine_fn_append_rule \
8006 @./config.status \$@"
8007 for f
in $ac_links; do wine_fn_append_file CONFIGURE_TARGETS
$f; done
8008 test -n "$ac_linkdir" ||
return
8009 wine_fn_append_rule
"$ac_linkdir/depend: $ac_links"
8013 test "x$enable_win64" != "xyes" || wine_binary
="wine64"
8014 WINELOADER_PROGRAMS
="$wine_binary"
8016 libwine_soversion
=`expr $libwine_version : '\([0-9]*\)\..*'`
8020 if test -n "$ac_tool_prefix"; then
8021 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
8022 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
8023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8024 $as_echo_n "checking for $ac_word... " >&6; }
8025 if ${ac_cv_prog_DLLTOOL+:} false
; then :
8026 $as_echo_n "(cached) " >&6
8028 if test -n "$DLLTOOL"; then
8029 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
8031 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8035 test -z "$as_dir" && as_dir
=.
8036 for ac_exec_ext
in '' $ac_executable_extensions; do
8037 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8038 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
8039 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8048 DLLTOOL
=$ac_cv_prog_DLLTOOL
8049 if test -n "$DLLTOOL"; then
8050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
8051 $as_echo "$DLLTOOL" >&6; }
8053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8054 $as_echo "no" >&6; }
8059 if test -z "$ac_cv_prog_DLLTOOL"; then
8060 ac_ct_DLLTOOL
=$DLLTOOL
8061 # Extract the first word of "dlltool", so it can be a program name with args.
8062 set dummy dlltool
; ac_word
=$2
8063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8064 $as_echo_n "checking for $ac_word... " >&6; }
8065 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false
; then :
8066 $as_echo_n "(cached) " >&6
8068 if test -n "$ac_ct_DLLTOOL"; then
8069 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
8071 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8075 test -z "$as_dir" && as_dir
=.
8076 for ac_exec_ext
in '' $ac_executable_extensions; do
8077 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8078 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
8079 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8088 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
8089 if test -n "$ac_ct_DLLTOOL"; then
8090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
8091 $as_echo "$ac_ct_DLLTOOL" >&6; }
8093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8094 $as_echo "no" >&6; }
8097 if test "x$ac_ct_DLLTOOL" = x
; then
8100 case $cross_compiling:$ac_tool_warned in
8102 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8103 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8104 ac_tool_warned
=yes ;;
8106 DLLTOOL
=$ac_ct_DLLTOOL
8109 DLLTOOL
="$ac_cv_prog_DLLTOOL"
8115 enable_iphlpapi
=${enable_iphlpapi:-no}
8116 enable_kernel32
=${enable_kernel32:-no}
8117 enable_msvcrt
=${enable_msvcrt:-no}
8118 enable_ntdll
=${enable_ntdll:-no}
8119 enable_ws2_32
=${enable_ws2_32:-no}
8120 enable_loader
=${enable_loader:-no}
8121 enable_server
=${enable_server:-no}
8122 with_x
=${with_x:-no}
8123 with_pthread
=${with_pthread:-no}
8129 SOCKET_LIBS
="-lws2_32"
8133 LIBWINE_SHAREDLIB
="libwine.dll"
8135 LIBWINE_IMPORTLIB
="libwine.a"
8137 LIBWINE_INSTALL_LIB
="libwine.dll"
8139 LIBWINE_INSTALL_DEV
="libwine.a"
8141 LIBWINE_LDFLAGS
="-shared \$(srcdir)/wine.def"
8143 LIBWINE_DEPENDS
="wine.def"
8148 for ac_header
in libunwind.h
8150 ac_fn_c_check_header_mongrel
"$LINENO" "libunwind.h" "ac_cv_header_libunwind_h" "$ac_includes_default"
8151 if test "x$ac_cv_header_libunwind_h" = xyes
; then :
8152 cat >>confdefs.h
<<_ACEOF
8153 #define HAVE_LIBUNWIND_H 1
8161 DLLFLAGS
="$DLLFLAGS -fPIC"
8162 LDRPATH_INSTALL
="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8163 LDRPATH_LOCAL
="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
8164 COREFOUNDATION_LIBS
="-framework CoreFoundation"
8166 IOKIT_LIBS
="-framework IOKit -framework CoreFoundation"
8168 FORCEFEEDBACK_LIBS
="-framework ForceFeedback -framework CoreFoundation"
8170 APPLICATIONSERVICES_LIBS
="-framework ApplicationServices"
8172 CORESERVICES_LIBS
="-framework CoreServices"
8174 APPKIT_LIBS
="-framework AppKit"
8176 WINELOADER_LDFLAGS
="-image_base 0x7bf00000 -Wl,-pagezero_size,0x1000,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
8177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
8178 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
8179 if ${ac_cv_cflags__Wl__no_pie+:} false
; then :
8180 $as_echo_n "(cached) " >&6
8182 ac_wine_try_cflags_saved
=$CFLAGS
8183 CFLAGS
="$CFLAGS -Wl,-no_pie"
8184 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8185 /* end confdefs.h. */
8186 int main(int argc, char **argv) { return 0; }
8188 if ac_fn_c_try_link
"$LINENO"; then :
8189 ac_cv_cflags__Wl__no_pie
=yes
8191 ac_cv_cflags__Wl__no_pie
=no
8193 rm -f core conftest.err conftest.
$ac_objext \
8194 conftest
$ac_exeext conftest.
$ac_ext
8195 CFLAGS
=$ac_wine_try_cflags_saved
8197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
8198 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
8199 if test "x$ac_cv_cflags__Wl__no_pie" = xyes
; then :
8200 WINELOADER_LDFLAGS
="-Wl,-no_pie $WINELOADER_LDFLAGS"
8202 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8204 DISKARBITRATION_LIBS
="-framework DiskArbitration -framework CoreFoundation"
8207 if test "$ac_cv_header_Security_Security_h" = "yes"
8209 SECURITY_LIBS
="-framework Security -framework CoreFoundation"
8211 ac_save_LIBS
="$LIBS"
8212 LIBS
="$LIBS $SECURITY_LIBS"
8213 for ac_func
in SSLCopyPeerCertificates
8215 ac_fn_c_check_func
"$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
8216 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes
; then :
8217 cat >>confdefs.h
<<_ACEOF
8218 #define HAVE_SSLCOPYPEERCERTIFICATES 1
8224 LIBS
="$ac_save_LIBS"
8225 with_gnutls
=${with_gnutls:-no}
8227 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8229 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
8231 COREAUDIO_LIBS
="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
8234 COREAUDIO_LIBS
="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8237 enable_winecoreaudio_drv
=${enable_winecoreaudio_drv:-yes}
8238 ac_save_LIBS
="$LIBS"
8239 LIBS
="$LIBS $COREAUDIO_LIBS"
8240 for ac_func
in AUGraphAddNode
8242 ac_fn_c_check_func
"$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
8243 if test "x$ac_cv_func_AUGraphAddNode" = xyes
; then :
8244 cat >>confdefs.h
<<_ACEOF
8245 #define HAVE_AUGRAPHADDNODE 1
8251 LIBS
="$ac_save_LIBS"
8253 if test "$ac_cv_header_OpenAL_al_h" = "yes"
8255 OPENAL_LIBS
="-framework OpenAL"
8258 cat >>confdefs.h
<<_ACEOF
8259 #define HAVE_OPENAL 1
8262 ac_cv_lib_openal
=yes
8264 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
8266 OPENCL_LIBS
="-framework OpenCL"
8268 ac_cv_lib_OpenCL_clGetPlatformInfo
=yes
8270 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
8272 ac_save_LIBS
="$LIBS"
8273 LIBS
="$LIBS $IOKIT_LIBS"
8274 for ac_func
in IOHIDManagerCreate
8276 ac_fn_c_check_func
"$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
8277 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes
; then :
8278 cat >>confdefs.h
<<_ACEOF
8279 #define HAVE_IOHIDMANAGERCREATE 1
8285 LIBS
="$ac_save_LIBS"
8287 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
8289 ac_save_LIBS
="$LIBS"
8290 LIBS
="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
8291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
8292 $as_echo_n "checking for the QuickTime framework... " >&6; }
8293 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8294 /* end confdefs.h. */
8295 #include <QuickTime/ImageCompression.h>
8299 CodecManagerVersion(NULL);
8304 if ac_fn_c_try_link
"$LINENO"; then :
8305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8306 $as_echo "yes" >&6; }
8307 QUICKTIME_LIBS
="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
8309 enable_wineqtdecoder
=${enable_wineqtdecoder:-yes}
8311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8312 $as_echo "no" >&6; }
8313 ac_cv_header_QuickTime_ImageCompression_h
=no
8315 rm -f core conftest.err conftest.
$ac_objext \
8316 conftest
$ac_exeext conftest.
$ac_ext
8317 LIBS
="$ac_save_LIBS"
8319 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"
8321 as_fn_append wine_notices
"|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
8323 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8325 CARBON_LIBS
="-framework Carbon"
8329 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
8331 ac_save_LIBS
="$LIBS"
8332 LIBS
="$LIBS $APPLICATIONSERVICES_LIBS"
8333 ac_fn_c_check_func
"$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
8334 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes
; then :
8335 enable_winemac_drv
=${enable_winemac_drv:-yes}
8338 LIBS
="$ac_save_LIBS"
8341 if test "x$enable_win16" = "xyes"
8343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
8344 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
8345 if test "$cross_compiling" = yes; then :
8346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
8347 $as_echo "cross-compiling, assuming yes" >&6; }
8349 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8350 /* end confdefs.h. */
8353 "good:\tnop;nop\n\t"
8354 ".globl _testfunc\n"
8355 "_testfunc:\tcallw good");
8356 extern void testfunc();
8360 unsigned short *p = (unsigned short *)testfunc;
8361 return p[0] != 0xe866 || p[1] != 0xfffa
8366 if ac_fn_c_try_run
"$LINENO"; then :
8367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8368 $as_echo "yes" >&6; }
8370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8371 $as_echo "no" >&6; }
8372 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
8374 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
8375 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
8380 LIBWINE_SHAREDLIB
="libwine.$libwine_version.dylib"
8382 LIBWINE_INSTALL_LIB
="libwine.$libwine_version.dylib libwine.$libwine_soversion.dylib"
8384 LIBWINE_INSTALL_DEV
="libwine.dylib"
8386 LIBWINE_LDFLAGS
="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
8388 WINELOADER_DEPENDS
="wine_info.plist"
8393 DLLFLAGS
="$DLLFLAGS -fPIC"
8394 LDEXECFLAGS
="-Wl,-pie"
8395 enable_wineandroid_drv
=${enable_wineandroid_drv:-yes}
8396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8397 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8398 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false
; then :
8399 $as_echo_n "(cached) " >&6
8401 ac_wine_try_cflags_saved
=$CFLAGS
8402 CFLAGS
="$CFLAGS -fPIC -Wl,--export-dynamic"
8403 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8404 /* end confdefs.h. */
8405 int main(int argc, char **argv) { return 0; }
8407 if ac_fn_c_try_link
"$LINENO"; then :
8408 ac_cv_cflags__fPIC__Wl___export_dynamic
=yes
8410 ac_cv_cflags__fPIC__Wl___export_dynamic
=no
8412 rm -f core conftest.err conftest.
$ac_objext \
8413 conftest
$ac_exeext conftest.
$ac_ext
8414 CFLAGS
=$ac_wine_try_cflags_saved
8416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8417 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8418 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes
; then :
8419 WINELOADER_LDFLAGS
="-Wl,--export-dynamic"
8421 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8423 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8424 if eval \
${$as_ac_var+:} false
; then :
8425 $as_echo_n "(cached) " >&6
8427 ac_wine_try_cflags_saved
=$CFLAGS
8428 CFLAGS
="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8429 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8430 /* end confdefs.h. */
8431 int main(int argc, char **argv) { return 0; }
8433 if ac_fn_c_try_link
"$LINENO"; then :
8434 eval "$as_ac_var=yes"
8436 eval "$as_ac_var=no"
8438 rm -f core conftest.err conftest.
$ac_objext \
8439 conftest
$ac_exeext conftest.
$ac_ext
8440 CFLAGS
=$ac_wine_try_cflags_saved
8442 eval ac_res
=\$
$as_ac_var
8443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8444 $as_echo "$ac_res" >&6; }
8445 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
8446 LDRPATH_INSTALL
="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8447 LDRPATH_LOCAL
="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8449 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8451 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8452 if eval \
${$as_ac_var+:} false
; then :
8453 $as_echo_n "(cached) " >&6
8455 ac_wine_try_cflags_saved
=$CFLAGS
8456 CFLAGS
="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8457 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8458 /* end confdefs.h. */
8459 int main(int argc, char **argv) { return 0; }
8461 if ac_fn_c_try_link
"$LINENO"; then :
8462 eval "$as_ac_var=yes"
8464 eval "$as_ac_var=no"
8466 rm -f core conftest.err conftest.
$ac_objext \
8467 conftest
$ac_exeext conftest.
$ac_ext
8468 CFLAGS
=$ac_wine_try_cflags_saved
8470 eval ac_res
=\$
$as_ac_var
8471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8472 $as_echo "$ac_res" >&6; }
8473 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
8474 LDRPATH_INSTALL
="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8475 LDRPATH_LOCAL
="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8479 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8480 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false
; then :
8481 $as_echo_n "(cached) " >&6
8483 ac_wine_try_cflags_saved
=$CFLAGS
8484 CFLAGS
="$CFLAGS -Wl,--enable-new-dtags"
8485 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8486 /* end confdefs.h. */
8487 int main(int argc, char **argv) { return 0; }
8489 if ac_fn_c_try_link
"$LINENO"; then :
8490 ac_cv_cflags__Wl___enable_new_dtags
=yes
8492 ac_cv_cflags__Wl___enable_new_dtags
=no
8494 rm -f core conftest.err conftest.
$ac_objext \
8495 conftest
$ac_exeext conftest.
$ac_ext
8496 CFLAGS
=$ac_wine_try_cflags_saved
8498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8499 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8500 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes
; then :
8501 LDRPATH_INSTALL
="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8504 LIBWINE_SHAREDLIB
="libwine.so"
8506 LIBWINE_INSTALL_LIB
="libwine.so"
8508 LIBWINE_LDFLAGS
="-shared -Wl,-soname,libwine.so"
8511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
8512 $as_echo_n "checking for -lEGL... " >&6; }
8513 if ${ac_cv_lib_soname_EGL+:} false
; then :
8514 $as_echo_n "(cached) " >&6
8516 ac_check_soname_save_LIBS
=$LIBS
8518 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8519 /* end confdefs.h. */
8521 /* Override any GCC internal prototype to avoid an error.
8522 Use char because int might match the return type of a GCC
8523 builtin and then its argument prototype would still apply. */
8527 char eglGetProcAddress ();
8531 return eglGetProcAddress ();
8536 if ac_fn_c_try_link
"$LINENO"; then :
8538 dll
) ac_cv_lib_soname_EGL
=`$ac_cv_path_LDD conftest.exe | grep "EGL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8539 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'` ;;
8540 *) ac_cv_lib_soname_EGL
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libEGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
8541 if ${ac_cv_lib_soname_EGL:+false} :; then :
8542 ac_cv_lib_soname_EGL
=`$LDD conftest$ac_exeext | grep "libEGL\\.$LIBEXT" | sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
8546 rm -f core conftest.err conftest.
$ac_objext \
8547 conftest
$ac_exeext conftest.
$ac_ext
8548 LIBS
=$ac_check_soname_save_LIBS
8550 if ${ac_cv_lib_soname_EGL:+false} :; then :
8551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8552 $as_echo "not found" >&6; }
8555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
8556 $as_echo "$ac_cv_lib_soname_EGL" >&6; }
8558 cat >>confdefs.h
<<_ACEOF
8559 #define SONAME_LIBEGL "$ac_cv_lib_soname_EGL"
8564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
8565 $as_echo_n "checking for -lGLESv2... " >&6; }
8566 if ${ac_cv_lib_soname_GLESv2+:} false
; then :
8567 $as_echo_n "(cached) " >&6
8569 ac_check_soname_save_LIBS
=$LIBS
8570 LIBS
="-lGLESv2 $LIBS"
8571 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8572 /* end confdefs.h. */
8574 /* Override any GCC internal prototype to avoid an error.
8575 Use char because int might match the return type of a GCC
8576 builtin and then its argument prototype would still apply. */
8589 if ac_fn_c_try_link
"$LINENO"; then :
8591 dll
) ac_cv_lib_soname_GLESv2
=`$ac_cv_path_LDD conftest.exe | grep "GLESv2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8592 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'` ;;
8593 *) ac_cv_lib_soname_GLESv2
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLESv2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
8594 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
8595 ac_cv_lib_soname_GLESv2
=`$LDD conftest$ac_exeext | grep "libGLESv2\\.$LIBEXT" | sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
8599 rm -f core conftest.err conftest.
$ac_objext \
8600 conftest
$ac_exeext conftest.
$ac_ext
8601 LIBS
=$ac_check_soname_save_LIBS
8603 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
8604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8605 $as_echo "not found" >&6; }
8608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
8609 $as_echo "$ac_cv_lib_soname_GLESv2" >&6; }
8611 cat >>confdefs.h
<<_ACEOF
8612 #define SONAME_LIBGLESV2 "$ac_cv_lib_soname_GLESv2"
8618 if test "x$exec_prefix" = xNONE
8621 *i
[3456]86*) exec_prefix
='${prefix}/x86' ;;
8622 *x86_64
*) exec_prefix
='${prefix}/x86_64' ;;
8623 *arm
*) exec_prefix
='${prefix}/armeabi-v7a' ;;
8624 *aarch64
*) exec_prefix
='${prefix}/arm64-v8a' ;;
8630 DLLFLAGS
="$DLLFLAGS -fPIC"
8631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
8632 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
8633 if ${ac_cv_c_dll_gnuelf+:} false
; then :
8634 $as_echo_n "(cached) " >&6
8636 ac_wine_try_cflags_saved
=$CFLAGS
8637 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8638 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8639 /* end confdefs.h. */
8642 if ac_fn_c_try_link
"$LINENO"; then :
8643 ac_cv_c_dll_gnuelf
="yes"
8645 ac_cv_c_dll_gnuelf
="no"
8647 rm -f core conftest.err conftest.
$ac_objext \
8648 conftest
$ac_exeext conftest.
$ac_ext
8649 CFLAGS
=$ac_wine_try_cflags_saved
8651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
8652 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
8653 if test "$ac_cv_c_dll_gnuelf" = "yes"
8655 LIBWINE_LDFLAGS
="-shared"
8656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8657 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
8658 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false
; then :
8659 $as_echo_n "(cached) " >&6
8661 ac_wine_try_cflags_saved
=$CFLAGS
8662 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8663 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8664 /* end confdefs.h. */
8665 int main(int argc, char **argv) { return 0; }
8667 if ac_fn_c_try_link
"$LINENO"; then :
8668 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1
=yes
8670 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1
=no
8672 rm -f core conftest.err conftest.
$ac_objext \
8673 conftest
$ac_exeext conftest.
$ac_ext
8674 CFLAGS
=$ac_wine_try_cflags_saved
8676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8677 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8678 if test "x$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" = xyes
; then :
8679 LIBWINE_LDFLAGS
="-shared -Wl,-soname,libwine.so.$libwine_soversion"
8681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8682 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
8683 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false
; then :
8684 $as_echo_n "(cached) " >&6
8686 ac_wine_try_cflags_saved
=$CFLAGS
8687 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8688 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8689 /* end confdefs.h. */
8690 int main(int argc, char **argv) { return 0; }
8692 if ac_fn_c_try_link
"$LINENO"; then :
8693 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1
=yes
8695 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1
=no
8697 rm -f core conftest.err conftest.
$ac_objext \
8698 conftest
$ac_exeext conftest.
$ac_ext
8699 CFLAGS
=$ac_wine_try_cflags_saved
8701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8702 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8703 if test "x$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" = xyes
; then :
8704 LIBWINE_LDFLAGS
="-shared -Wl,-h,libwine.so.$libwine_soversion"
8708 echo '{ global: *; };' >conftest.map
8709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8710 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
8711 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false
; then :
8712 $as_echo_n "(cached) " >&6
8714 ac_wine_try_cflags_saved
=$CFLAGS
8715 CFLAGS
="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8716 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8717 /* end confdefs.h. */
8718 int main(int argc, char **argv) { return 0; }
8720 if ac_fn_c_try_link
"$LINENO"; then :
8721 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map
=yes
8723 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map
=no
8725 rm -f core conftest.err conftest.
$ac_objext \
8726 conftest
$ac_exeext conftest.
$ac_ext
8727 CFLAGS
=$ac_wine_try_cflags_saved
8729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8730 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8731 if test "x$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" = xyes
; then :
8732 LIBWINE_LDFLAGS
="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
8736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8737 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8738 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false
; then :
8739 $as_echo_n "(cached) " >&6
8741 ac_wine_try_cflags_saved
=$CFLAGS
8742 CFLAGS
="$CFLAGS -fPIC -Wl,--export-dynamic"
8743 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8744 /* end confdefs.h. */
8745 int main(int argc, char **argv) { return 0; }
8747 if ac_fn_c_try_link
"$LINENO"; then :
8748 ac_cv_cflags__fPIC__Wl___export_dynamic
=yes
8750 ac_cv_cflags__fPIC__Wl___export_dynamic
=no
8752 rm -f core conftest.err conftest.
$ac_objext \
8753 conftest
$ac_exeext conftest.
$ac_ext
8754 CFLAGS
=$ac_wine_try_cflags_saved
8756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8757 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8758 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes
; then :
8759 WINELOADER_LDFLAGS
="-Wl,--export-dynamic"
8762 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8764 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8765 if eval \
${$as_ac_var+:} false
; then :
8766 $as_echo_n "(cached) " >&6
8768 ac_wine_try_cflags_saved
=$CFLAGS
8769 CFLAGS
="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8770 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8771 /* end confdefs.h. */
8772 int main(int argc, char **argv) { return 0; }
8774 if ac_fn_c_try_link
"$LINENO"; then :
8775 eval "$as_ac_var=yes"
8777 eval "$as_ac_var=no"
8779 rm -f core conftest.err conftest.
$ac_objext \
8780 conftest
$ac_exeext conftest.
$ac_ext
8781 CFLAGS
=$ac_wine_try_cflags_saved
8783 eval ac_res
=\$
$as_ac_var
8784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8785 $as_echo "$ac_res" >&6; }
8786 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
8787 LDRPATH_INSTALL
="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8788 LDRPATH_LOCAL
="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8790 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8792 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8793 if eval \
${$as_ac_var+:} false
; then :
8794 $as_echo_n "(cached) " >&6
8796 ac_wine_try_cflags_saved
=$CFLAGS
8797 CFLAGS
="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8798 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8799 /* end confdefs.h. */
8800 int main(int argc, char **argv) { return 0; }
8802 if ac_fn_c_try_link
"$LINENO"; then :
8803 eval "$as_ac_var=yes"
8805 eval "$as_ac_var=no"
8807 rm -f core conftest.err conftest.
$ac_objext \
8808 conftest
$ac_exeext conftest.
$ac_ext
8809 CFLAGS
=$ac_wine_try_cflags_saved
8811 eval ac_res
=\$
$as_ac_var
8812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8813 $as_echo "$ac_res" >&6; }
8814 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
8815 LDRPATH_INSTALL
="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8816 LDRPATH_LOCAL
="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8821 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8822 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false
; then :
8823 $as_echo_n "(cached) " >&6
8825 ac_wine_try_cflags_saved
=$CFLAGS
8826 CFLAGS
="$CFLAGS -Wl,--enable-new-dtags"
8827 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8828 /* end confdefs.h. */
8829 int main(int argc, char **argv) { return 0; }
8831 if ac_fn_c_try_link
"$LINENO"; then :
8832 ac_cv_cflags__Wl___enable_new_dtags
=yes
8834 ac_cv_cflags__Wl___enable_new_dtags
=no
8836 rm -f core conftest.err conftest.
$ac_objext \
8837 conftest
$ac_exeext conftest.
$ac_ext
8838 CFLAGS
=$ac_wine_try_cflags_saved
8840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8841 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8842 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes
; then :
8843 LDRPATH_INSTALL
="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8847 *i
[3456789]86* | x86_64
)
8848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
8849 $as_echo_n "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
8850 if ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+:} false
; then :
8851 $as_echo_n "(cached) " >&6
8853 ac_wine_try_cflags_saved
=$CFLAGS
8854 CFLAGS
="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
8855 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8856 /* end confdefs.h. */
8857 int main(int argc, char **argv) { return 0; }
8859 if ac_fn_c_try_link
"$LINENO"; then :
8860 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000
=yes
8862 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000
=no
8864 rm -f core conftest.err conftest.
$ac_objext \
8865 conftest
$ac_exeext conftest.
$ac_ext
8866 CFLAGS
=$ac_wine_try_cflags_saved
8868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
8869 $as_echo "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
8870 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes
; then :
8872 freebsd
* | kfreebsd
*-gnu) WINELOADER_LDFLAGS
="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x60000000" ;;
8873 *) WINELOADER_LDFLAGS
="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x7c000000" ;;
8876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400" >&5
8877 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400... " >&6; }
8878 if ${ac_cv_cflags__Wl___section_start__interp_0x7c000400+:} false
; then :
8879 $as_echo_n "(cached) " >&6
8881 ac_wine_try_cflags_saved
=$CFLAGS
8882 CFLAGS
="$CFLAGS -Wl,--section-start,.interp=0x7c000400"
8883 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8884 /* end confdefs.h. */
8885 int main(int argc, char **argv) { return 0; }
8887 if ac_fn_c_try_link
"$LINENO"; then :
8888 ac_cv_cflags__Wl___section_start__interp_0x7c000400
=yes
8890 ac_cv_cflags__Wl___section_start__interp_0x7c000400
=no
8892 rm -f core conftest.err conftest.
$ac_objext \
8893 conftest
$ac_exeext conftest.
$ac_ext
8894 CFLAGS
=$ac_wine_try_cflags_saved
8896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&5
8897 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&6; }
8898 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7c000400" = xyes
; then :
8900 freebsd
* | kfreebsd
*-gnu) WINELOADER_LDFLAGS
="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x60000400" ;;
8901 *) WINELOADER_LDFLAGS
="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x7c000400" ;;
8904 # Extract the first word of "prelink", so it can be a program name with args.
8905 set dummy prelink
; ac_word
=$2
8906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8907 $as_echo_n "checking for $ac_word... " >&6; }
8908 if ${ac_cv_path_PRELINK+:} false
; then :
8909 $as_echo_n "(cached) " >&6
8913 ac_cv_path_PRELINK
="$PRELINK" # Let the user override the test with a path.
8916 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8917 for as_dir
in /sbin
/usr
/sbin
$PATH
8920 test -z "$as_dir" && as_dir
=.
8921 for ac_exec_ext
in '' $ac_executable_extensions; do
8922 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8923 ac_cv_path_PRELINK
="$as_dir/$ac_word$ac_exec_ext"
8924 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8931 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK
="false"
8935 PRELINK
=$ac_cv_path_PRELINK
8936 if test -n "$PRELINK"; then
8937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
8938 $as_echo "$PRELINK" >&6; }
8940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8941 $as_echo "no" >&6; }
8945 if test "x$PRELINK" = xfalse
8947 as_fn_append wine_warnings
"|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
8950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
8951 $as_echo_n "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
8952 if ${ac_cv_cflags__Wl__z_max_page_size_0x1000+:} false
; then :
8953 $as_echo_n "(cached) " >&6
8955 ac_wine_try_cflags_saved
=$CFLAGS
8956 CFLAGS
="$CFLAGS -Wl,-z,max-page-size=0x1000"
8957 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8958 /* end confdefs.h. */
8959 int main(int argc, char **argv) { return 0; }
8961 if ac_fn_c_try_link
"$LINENO"; then :
8962 ac_cv_cflags__Wl__z_max_page_size_0x1000
=yes
8964 ac_cv_cflags__Wl__z_max_page_size_0x1000
=no
8966 rm -f core conftest.err conftest.
$ac_objext \
8967 conftest
$ac_exeext conftest.
$ac_ext
8968 CFLAGS
=$ac_wine_try_cflags_saved
8970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
8971 $as_echo "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
8972 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes
; then :
8973 WINELOADER_LDFLAGS
="$WINELOADER_LDFLAGS -Wl,-z,max-page-size=0x1000"
8979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
8980 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
8981 if ${ac_cv_c_dll_unixware+:} false
; then :
8982 $as_echo_n "(cached) " >&6
8984 ac_wine_try_cflags_saved
=$CFLAGS
8985 CFLAGS
="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
8986 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8987 /* end confdefs.h. */
8990 if ac_fn_c_try_link
"$LINENO"; then :
8991 ac_cv_c_dll_unixware
="yes"
8993 ac_cv_c_dll_unixware
="no"
8995 rm -f core conftest.err conftest.
$ac_objext \
8996 conftest
$ac_exeext conftest.
$ac_ext
8997 CFLAGS
=$ac_wine_try_cflags_saved
8999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
9000 $as_echo "$ac_cv_c_dll_unixware" >&6; }
9001 if test "$ac_cv_c_dll_unixware" = "yes"
9003 LIBWINE_LDFLAGS
="-Wl,-G,-h,libwine.so.$libwine_soversion"
9006 LIBWINE_SHAREDLIB
="libwine.so.$libwine_version"
9008 LIBWINE_INSTALL_LIB
="libwine.so.$libwine_version libwine.so.$libwine_soversion"
9010 LIBWINE_INSTALL_DEV
="libwine.so"
9012 LIBWINE_DEPENDS
="wine.map"
9017 enable_winecoreaudio_drv
=${enable_winecoreaudio_drv:-no}
9018 enable_wineqtdecoder
=${enable_wineqtdecoder:-no}
9019 enable_wineandroid_drv
=${enable_wineandroid_drv:-no}
9020 enable_winemac_drv
=${enable_winemac_drv:-no}
9021 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv
=${enable_winejoystick_drv:-no}
9025 if test "x$enable_tests" != xno
-a "$LIBEXT" != "dll"
9029 ac_prefix_list
="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc" ;;
9031 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
9032 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
9035 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
9036 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang " ;;
9038 ac_prefix_list
="" ;;
9040 for ac_prog
in $ac_prefix_list
9042 # Extract the first word of "$ac_prog", so it can be a program name with args.
9043 set dummy
$ac_prog; ac_word
=$2
9044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9045 $as_echo_n "checking for $ac_word... " >&6; }
9046 if ${ac_cv_prog_CROSSCC+:} false
; then :
9047 $as_echo_n "(cached) " >&6
9049 if test -n "$CROSSCC"; then
9050 ac_cv_prog_CROSSCC
="$CROSSCC" # Let the user override the test.
9052 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9056 test -z "$as_dir" && as_dir
=.
9057 for ac_exec_ext
in '' $ac_executable_extensions; do
9058 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9059 ac_cv_prog_CROSSCC
="$ac_prog"
9060 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9069 CROSSCC
=$ac_cv_prog_CROSSCC
9070 if test -n "$CROSSCC"; then
9071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
9072 $as_echo "$CROSSCC" >&6; }
9074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9075 $as_echo "no" >&6; }
9079 test -n "$CROSSCC" && break
9081 test -n "$CROSSCC" || CROSSCC
="false"
9083 if test "$CROSSCC" != "false"
9087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
9088 $as_echo_n "checking whether $CROSSCC works... " >&6; }
9089 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9090 /* end confdefs.h. */
9100 if ac_fn_c_try_compile
"$LINENO"; then :
9101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9102 $as_echo "yes" >&6; }
9108 *-gcc) CROSSTARGET
=`expr "$1" : '\(.*\)-gcc'` ;;
9109 *-clang) CROSSTARGET
=`expr "$1" : '\(.*\)-clang'` ;;
9114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9115 $as_echo "no" >&6; }
9117 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9119 CROSSCFLAGS
=${CROSSCFLAGS:-$CFLAGS}
9125 if test "$ac_cv_header_pthread_h" = "yes"
9127 ac_fn_c_check_func
"$LINENO" "pthread_create" "ac_cv_func_pthread_create"
9128 if test "x$ac_cv_func_pthread_create" = xyes
; then :
9131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
9132 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
9133 if ${ac_cv_lib_pthread_pthread_create+:} false
; then :
9134 $as_echo_n "(cached) " >&6
9136 ac_check_lib_save_LIBS
=$LIBS
9137 LIBS
="-lpthread $LIBS"
9138 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9139 /* end confdefs.h. */
9141 /* Override any GCC internal prototype to avoid an error.
9142 Use char because int might match the return type of a GCC
9143 builtin and then its argument prototype would still apply. */
9147 char pthread_create ();
9151 return pthread_create ();
9156 if ac_fn_c_try_link
"$LINENO"; then :
9157 ac_cv_lib_pthread_pthread_create
=yes
9159 ac_cv_lib_pthread_pthread_create
=no
9161 rm -f core conftest.err conftest.
$ac_objext \
9162 conftest
$ac_exeext conftest.
$ac_ext
9163 LIBS
=$ac_check_lib_save_LIBS
9165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
9166 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
9167 if test "x$ac_cv_lib_pthread_pthread_create" = xyes
; then :
9168 PTHREAD_LIBS
="-lpthread"
9175 if test "x$ac_cv_func_pthread_create" != xyes
-a "x$PTHREAD_LIBS" = x
; then :
9176 case "x$with_pthread" in
9178 *) as_fn_error $?
"pthread ${notice_platform}development files not found.
9179 Wine cannot support threads without libpthread.
9180 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
9186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
9187 $as_echo_n "checking for X... " >&6; }
9190 # Check whether --with-x was given.
9191 if test "${with_x+set}" = set; then :
9195 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
9196 if test "x$with_x" = xno
; then
9197 # The user explicitly disabled X.
9200 case $x_includes,$x_libraries in #(
9201 *\'*) as_fn_error $?
"cannot use X directory names containing '" "$LINENO" 5;; #(
9202 *,NONE | NONE
,*) if ${ac_cv_have_x+:} false
; then :
9203 $as_echo_n "(cached) " >&6
9205 # One or both of the vars are not set, and there is no cached value.
9206 ac_x_includes
=no ac_x_libraries
=no
9207 rm -f -r conftest.dir
9208 if mkdir conftest.dir
; then
9210 cat >Imakefile
<<'_ACEOF'
9212 @echo incroot='${INCROOT}'
9214 @echo usrlibdir='${USRLIBDIR}'
9216 @echo libdir='${LIBDIR}'
9218 if (export CC
; ${XMKMF-xmkmf}) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
9219 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
9220 for ac_var
in incroot usrlibdir libdir
; do
9221 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
9223 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
9224 for ac_extension
in a so sl dylib la dll
; do
9225 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
9226 test -f "$ac_im_libdir/libX11.$ac_extension"; then
9227 ac_im_usrlibdir
=$ac_im_libdir; break
9230 # Screen out bogus values from the imake configuration. They are
9231 # bogus both because they are the default anyway, and because
9232 # using them would break gcc on systems where it needs fixed includes.
9233 case $ac_im_incroot in
9234 /usr
/include
) ac_x_includes
= ;;
9235 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
9237 case $ac_im_usrlibdir in
9238 /usr
/lib |
/usr
/lib64 |
/lib |
/lib64
) ;;
9239 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
9243 rm -f -r conftest.dir
9246 # Standard set of common directories for X headers.
9247 # Check X11 before X11Rn because it is often a symlink to the current release.
9261 /usr/local/X11/include
9262 /usr/local/X11R7/include
9263 /usr/local/X11R6/include
9264 /usr/local/X11R5/include
9265 /usr/local/X11R4/include
9267 /usr/local/include/X11
9268 /usr/local/include/X11R7
9269 /usr/local/include/X11R6
9270 /usr/local/include/X11R5
9271 /usr/local/include/X11R4
9275 /usr/XFree86/include/X11
9279 /usr/unsupported/include
9281 /usr/local/x11r5/include
9282 /usr/lpp/Xamples/include
9284 /usr/openwin/include
9285 /usr/openwin/share/include'
9287 if test "$ac_x_includes" = no
; then
9288 # Guess where to find include files, by looking for Xlib.h.
9289 # First, try using that file with no special directory specified.
9290 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9291 /* end confdefs.h. */
9292 #include <X11/Xlib.h>
9294 if ac_fn_c_try_cpp
"$LINENO"; then :
9295 # We can compile using X headers with no special include directory.
9298 for ac_dir
in $ac_x_header_dirs; do
9299 if test -r "$ac_dir/X11/Xlib.h"; then
9300 ac_x_includes
=$ac_dir
9305 rm -f conftest.err conftest.i conftest.
$ac_ext
9306 fi # $ac_x_includes = no
9308 if test "$ac_x_libraries" = no
; then
9309 # Check for the libraries.
9310 # See if we find them without any special options.
9311 # Don't add to $LIBS permanently.
9314 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9315 /* end confdefs.h. */
9316 #include <X11/Xlib.h>
9325 if ac_fn_c_try_link
"$LINENO"; then :
9327 # We can link X programs with no special library path.
9331 for ac_dir
in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
9333 # Don't even attempt the hair of trying to link an X program!
9334 for ac_extension
in a so sl dylib la dll
; do
9335 if test -r "$ac_dir/libX11.$ac_extension"; then
9336 ac_x_libraries
=$ac_dir
9342 rm -f core conftest.err conftest.
$ac_objext \
9343 conftest
$ac_exeext conftest.
$ac_ext
9344 fi # $ac_x_libraries = no
9346 case $ac_x_includes,$ac_x_libraries in #(
9348 # Didn't find X, or a directory has "'" in its name.
9349 ac_cv_have_x
="have_x=no";; #(
9351 # Record where we found X for the cache.
9352 ac_cv_have_x
="have_x=yes\
9353 ac_x_includes='$ac_x_includes'\
9354 ac_x_libraries='$ac_x_libraries'"
9360 eval "$ac_cv_have_x"
9363 if test "$have_x" != yes; then
9364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
9365 $as_echo "$have_x" >&6; }
9368 # If each of the values was on the command line, it overrides each guess.
9369 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
9370 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
9371 # Update the cache value to reflect the command line values.
9372 ac_cv_have_x
="have_x=yes\
9373 ac_x_includes='$x_includes'\
9374 ac_x_libraries='$x_libraries'"
9375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
9376 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
9379 if test "$no_x" = yes; then
9380 # Not all programs may use this symbol, but it does not hurt to define it.
9382 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
9384 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
9386 if test -n "$x_includes"; then
9387 X_CFLAGS
="$X_CFLAGS -I$x_includes"
9390 # It would also be nice to do this for all -L options, not just this one.
9391 if test -n "$x_libraries"; then
9392 X_LIBS
="$X_LIBS -L$x_libraries"
9393 # For Solaris; some versions of Sun CC require a space after -R and
9394 # others require no space. Words are not sufficient . . . .
9395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
9396 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
9397 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
9398 ac_xsave_c_werror_flag
=$ac_c_werror_flag
9399 ac_c_werror_flag
=yes
9400 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9401 /* end confdefs.h. */
9411 if ac_fn_c_try_link
"$LINENO"; then :
9412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9413 $as_echo "no" >&6; }
9414 X_LIBS
="$X_LIBS -R$x_libraries"
9416 LIBS
="$ac_xsave_LIBS -R $x_libraries"
9417 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9418 /* end confdefs.h. */
9428 if ac_fn_c_try_link
"$LINENO"; then :
9429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9430 $as_echo "yes" >&6; }
9431 X_LIBS
="$X_LIBS -R $x_libraries"
9433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
9434 $as_echo "neither works" >&6; }
9436 rm -f core conftest.err conftest.
$ac_objext \
9437 conftest
$ac_exeext conftest.
$ac_ext
9439 rm -f core conftest.err conftest.
$ac_objext \
9440 conftest
$ac_exeext conftest.
$ac_ext
9441 ac_c_werror_flag
=$ac_xsave_c_werror_flag
9445 # Check for system-dependent libraries X programs must link with.
9446 # Do this before checking for the system-independent R6 libraries
9447 # (-lICE), since we may need -lsocket or whatever for X linking.
9449 if test "$ISC" = yes; then
9450 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
9452 # Martyn Johnson says this is needed for Ultrix, if the X
9453 # libraries were built with DECnet support. And Karl Berry says
9454 # the Alpha needs dnet_stub (dnet does not exist).
9455 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
9456 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9457 /* end confdefs.h. */
9459 /* Override any GCC internal prototype to avoid an error.
9460 Use char because int might match the return type of a GCC
9461 builtin and then its argument prototype would still apply. */
9465 char XOpenDisplay ();
9469 return XOpenDisplay ();
9474 if ac_fn_c_try_link
"$LINENO"; then :
9477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
9478 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
9479 if ${ac_cv_lib_dnet_dnet_ntoa+:} false
; then :
9480 $as_echo_n "(cached) " >&6
9482 ac_check_lib_save_LIBS
=$LIBS
9484 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9485 /* end confdefs.h. */
9487 /* Override any GCC internal prototype to avoid an error.
9488 Use char because int might match the return type of a GCC
9489 builtin and then its argument prototype would still apply. */
9497 return dnet_ntoa ();
9502 if ac_fn_c_try_link
"$LINENO"; then :
9503 ac_cv_lib_dnet_dnet_ntoa
=yes
9505 ac_cv_lib_dnet_dnet_ntoa
=no
9507 rm -f core conftest.err conftest.
$ac_objext \
9508 conftest
$ac_exeext conftest.
$ac_ext
9509 LIBS
=$ac_check_lib_save_LIBS
9511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
9512 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
9513 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes
; then :
9514 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
9517 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
9518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
9519 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
9520 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false
; then :
9521 $as_echo_n "(cached) " >&6
9523 ac_check_lib_save_LIBS
=$LIBS
9524 LIBS
="-ldnet_stub $LIBS"
9525 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9526 /* end confdefs.h. */
9528 /* Override any GCC internal prototype to avoid an error.
9529 Use char because int might match the return type of a GCC
9530 builtin and then its argument prototype would still apply. */
9538 return dnet_ntoa ();
9543 if ac_fn_c_try_link
"$LINENO"; then :
9544 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
9546 ac_cv_lib_dnet_stub_dnet_ntoa
=no
9548 rm -f core conftest.err conftest.
$ac_objext \
9549 conftest
$ac_exeext conftest.
$ac_ext
9550 LIBS
=$ac_check_lib_save_LIBS
9552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
9553 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
9554 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes
; then :
9555 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
9560 rm -f core conftest.err conftest.
$ac_objext \
9561 conftest
$ac_exeext conftest.
$ac_ext
9562 LIBS
="$ac_xsave_LIBS"
9564 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
9565 # to get the SysV transport functions.
9566 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
9568 # The nsl library prevents programs from opening the X display
9569 # on Irix 5.2, according to T.E. Dickey.
9570 # The functions gethostbyname, getservbyname, and inet_addr are
9571 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
9572 ac_fn_c_check_func
"$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
9573 if test "x$ac_cv_func_gethostbyname" = xyes
; then :
9577 if test $ac_cv_func_gethostbyname = no
; then
9578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
9579 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
9580 if ${ac_cv_lib_nsl_gethostbyname+:} false
; then :
9581 $as_echo_n "(cached) " >&6
9583 ac_check_lib_save_LIBS
=$LIBS
9585 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9586 /* end confdefs.h. */
9588 /* Override any GCC internal prototype to avoid an error.
9589 Use char because int might match the return type of a GCC
9590 builtin and then its argument prototype would still apply. */
9594 char gethostbyname ();
9598 return gethostbyname ();
9603 if ac_fn_c_try_link
"$LINENO"; then :
9604 ac_cv_lib_nsl_gethostbyname
=yes
9606 ac_cv_lib_nsl_gethostbyname
=no
9608 rm -f core conftest.err conftest.
$ac_objext \
9609 conftest
$ac_exeext conftest.
$ac_ext
9610 LIBS
=$ac_check_lib_save_LIBS
9612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
9613 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
9614 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes
; then :
9615 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
9618 if test $ac_cv_lib_nsl_gethostbyname = no
; then
9619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
9620 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
9621 if ${ac_cv_lib_bsd_gethostbyname+:} false
; then :
9622 $as_echo_n "(cached) " >&6
9624 ac_check_lib_save_LIBS
=$LIBS
9626 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9627 /* end confdefs.h. */
9629 /* Override any GCC internal prototype to avoid an error.
9630 Use char because int might match the return type of a GCC
9631 builtin and then its argument prototype would still apply. */
9635 char gethostbyname ();
9639 return gethostbyname ();
9644 if ac_fn_c_try_link
"$LINENO"; then :
9645 ac_cv_lib_bsd_gethostbyname
=yes
9647 ac_cv_lib_bsd_gethostbyname
=no
9649 rm -f core conftest.err conftest.
$ac_objext \
9650 conftest
$ac_exeext conftest.
$ac_ext
9651 LIBS
=$ac_check_lib_save_LIBS
9653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
9654 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
9655 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes
; then :
9656 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
9662 # lieder@skyler.mavd.honeywell.com says without -lsocket,
9663 # socket/setsockopt and other routines are undefined under SCO ODT
9664 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
9665 # on later versions), says Simon Leinen: it contains gethostby*
9666 # variants that don't use the name server (or something). -lsocket
9667 # must be given before -lnsl if both are needed. We assume that
9668 # if connect needs -lnsl, so does gethostbyname.
9669 ac_fn_c_check_func
"$LINENO" "connect" "ac_cv_func_connect"
9670 if test "x$ac_cv_func_connect" = xyes
; then :
9674 if test $ac_cv_func_connect = no
; then
9675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
9676 $as_echo_n "checking for connect in -lsocket... " >&6; }
9677 if ${ac_cv_lib_socket_connect+:} false
; then :
9678 $as_echo_n "(cached) " >&6
9680 ac_check_lib_save_LIBS
=$LIBS
9681 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
9682 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9683 /* end confdefs.h. */
9685 /* Override any GCC internal prototype to avoid an error.
9686 Use char because int might match the return type of a GCC
9687 builtin and then its argument prototype would still apply. */
9700 if ac_fn_c_try_link
"$LINENO"; then :
9701 ac_cv_lib_socket_connect
=yes
9703 ac_cv_lib_socket_connect
=no
9705 rm -f core conftest.err conftest.
$ac_objext \
9706 conftest
$ac_exeext conftest.
$ac_ext
9707 LIBS
=$ac_check_lib_save_LIBS
9709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
9710 $as_echo "$ac_cv_lib_socket_connect" >&6; }
9711 if test "x$ac_cv_lib_socket_connect" = xyes
; then :
9712 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
9717 # Guillermo Gomez says -lposix is necessary on A/UX.
9718 ac_fn_c_check_func
"$LINENO" "remove" "ac_cv_func_remove"
9719 if test "x$ac_cv_func_remove" = xyes
; then :
9723 if test $ac_cv_func_remove = no
; then
9724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
9725 $as_echo_n "checking for remove in -lposix... " >&6; }
9726 if ${ac_cv_lib_posix_remove+:} false
; then :
9727 $as_echo_n "(cached) " >&6
9729 ac_check_lib_save_LIBS
=$LIBS
9730 LIBS
="-lposix $LIBS"
9731 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9732 /* end confdefs.h. */
9734 /* Override any GCC internal prototype to avoid an error.
9735 Use char because int might match the return type of a GCC
9736 builtin and then its argument prototype would still apply. */
9749 if ac_fn_c_try_link
"$LINENO"; then :
9750 ac_cv_lib_posix_remove
=yes
9752 ac_cv_lib_posix_remove
=no
9754 rm -f core conftest.err conftest.
$ac_objext \
9755 conftest
$ac_exeext conftest.
$ac_ext
9756 LIBS
=$ac_check_lib_save_LIBS
9758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
9759 $as_echo "$ac_cv_lib_posix_remove" >&6; }
9760 if test "x$ac_cv_lib_posix_remove" = xyes
; then :
9761 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
9766 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
9767 ac_fn_c_check_func
"$LINENO" "shmat" "ac_cv_func_shmat"
9768 if test "x$ac_cv_func_shmat" = xyes
; then :
9772 if test $ac_cv_func_shmat = no
; then
9773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
9774 $as_echo_n "checking for shmat in -lipc... " >&6; }
9775 if ${ac_cv_lib_ipc_shmat+:} false
; then :
9776 $as_echo_n "(cached) " >&6
9778 ac_check_lib_save_LIBS
=$LIBS
9780 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9781 /* end confdefs.h. */
9783 /* Override any GCC internal prototype to avoid an error.
9784 Use char because int might match the return type of a GCC
9785 builtin and then its argument prototype would still apply. */
9798 if ac_fn_c_try_link
"$LINENO"; then :
9799 ac_cv_lib_ipc_shmat
=yes
9801 ac_cv_lib_ipc_shmat
=no
9803 rm -f core conftest.err conftest.
$ac_objext \
9804 conftest
$ac_exeext conftest.
$ac_ext
9805 LIBS
=$ac_check_lib_save_LIBS
9807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
9808 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
9809 if test "x$ac_cv_lib_ipc_shmat" = xyes
; then :
9810 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
9816 # Check for libraries that X11R6 Xt/Xaw programs need.
9817 ac_save_LDFLAGS
=$LDFLAGS
9818 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
9819 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
9820 # check for ICE first), but we must link in the order -lSM -lICE or
9821 # we get undefined symbols. So assume we have SM if we have ICE.
9822 # These have to be linked with before -lX11, unlike the other
9823 # libraries we check for below, so use a different variable.
9824 # John Interrante, Karl Berry
9825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
9826 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
9827 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false
; then :
9828 $as_echo_n "(cached) " >&6
9830 ac_check_lib_save_LIBS
=$LIBS
9831 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
9832 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9833 /* end confdefs.h. */
9835 /* Override any GCC internal prototype to avoid an error.
9836 Use char because int might match the return type of a GCC
9837 builtin and then its argument prototype would still apply. */
9841 char IceConnectionNumber ();
9845 return IceConnectionNumber ();
9850 if ac_fn_c_try_link
"$LINENO"; then :
9851 ac_cv_lib_ICE_IceConnectionNumber
=yes
9853 ac_cv_lib_ICE_IceConnectionNumber
=no
9855 rm -f core conftest.err conftest.
$ac_objext \
9856 conftest
$ac_exeext conftest.
$ac_ext
9857 LIBS
=$ac_check_lib_save_LIBS
9859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
9860 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
9861 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes
; then :
9862 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
9865 LDFLAGS
=$ac_save_LDFLAGS
9870 if test "$have_x" = "yes"
9872 ac_save_CPPFLAGS
="$CPPFLAGS"
9873 CPPFLAGS
="$CPPFLAGS $X_CFLAGS"
9875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
9876 $as_echo_n "checking for -lX11... " >&6; }
9877 if ${ac_cv_lib_soname_X11+:} false
; then :
9878 $as_echo_n "(cached) " >&6
9880 ac_check_soname_save_LIBS
=$LIBS
9881 LIBS
="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9882 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9883 /* end confdefs.h. */
9885 /* Override any GCC internal prototype to avoid an error.
9886 Use char because int might match the return type of a GCC
9887 builtin and then its argument prototype would still apply. */
9891 char XCreateWindow ();
9895 return XCreateWindow ();
9900 if ac_fn_c_try_link
"$LINENO"; then :
9902 dll
) ac_cv_lib_soname_X11
=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9903 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'` ;;
9904 *) ac_cv_lib_soname_X11
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9905 if ${ac_cv_lib_soname_X11:+false} :; then :
9906 ac_cv_lib_soname_X11
=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9910 rm -f core conftest.err conftest.
$ac_objext \
9911 conftest
$ac_exeext conftest.
$ac_ext
9912 LIBS
=$ac_check_soname_save_LIBS
9914 if ${ac_cv_lib_soname_X11:+false} :; then :
9915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9916 $as_echo "not found" >&6; }
9919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
9920 $as_echo "$ac_cv_lib_soname_X11" >&6; }
9922 cat >>confdefs.h
<<_ACEOF
9923 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
9929 $as_echo_n "checking for -lXext... " >&6; }
9930 if ${ac_cv_lib_soname_Xext+:} false
; then :
9931 $as_echo_n "(cached) " >&6
9933 ac_check_soname_save_LIBS
=$LIBS
9934 LIBS
="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9935 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9936 /* end confdefs.h. */
9938 /* Override any GCC internal prototype to avoid an error.
9939 Use char because int might match the return type of a GCC
9940 builtin and then its argument prototype would still apply. */
9944 char XextCreateExtension ();
9948 return XextCreateExtension ();
9953 if ac_fn_c_try_link
"$LINENO"; then :
9955 dll
) ac_cv_lib_soname_Xext
=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9956 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'` ;;
9957 *) ac_cv_lib_soname_Xext
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9958 if ${ac_cv_lib_soname_Xext:+false} :; then :
9959 ac_cv_lib_soname_Xext
=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9963 rm -f core conftest.err conftest.
$ac_objext \
9964 conftest
$ac_exeext conftest.
$ac_ext
9965 LIBS
=$ac_check_soname_save_LIBS
9967 if ${ac_cv_lib_soname_Xext:+false} :; then :
9968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9969 $as_echo "not found" >&6; }
9972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
9973 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
9975 cat >>confdefs.h
<<_ACEOF
9976 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9979 X_LIBS
="$X_LIBS -lXext"
9981 X_LIBS
="$X_LIBS -lX11"
9983 for ac_header
in X11
/Xlib.h \
9986 X11
/Xcursor
/Xcursor.h \
9987 X11
/extensions
/shape.h \
9988 X11
/extensions
/XInput.h \
9989 X11
/extensions
/XInput2.h \
9990 X11
/extensions
/XShm.h \
9991 X11
/extensions
/Xcomposite.h \
9992 X11
/extensions
/Xfixes.h \
9993 X11
/extensions
/Xinerama.h \
9994 X11
/extensions
/Xrandr.h \
9995 X11
/extensions
/Xrender.h \
9996 X11
/extensions
/xf86vmode.h \
9997 X11
/extensions
/xf86vmproto.h
9999 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10000 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
10001 # include <X11/Xlib.h>
10003 #ifdef HAVE_X11_XUTIL_H
10004 # include <X11/Xutil.h>
10007 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
10008 cat >>confdefs.h
<<_ACEOF
10009 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10017 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
10019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
10020 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
10021 if ${ac_cv_lib_X11_XkbQueryExtension+:} false
; then :
10022 $as_echo_n "(cached) " >&6
10024 ac_check_lib_save_LIBS
=$LIBS
10025 LIBS
="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
10026 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10027 /* end confdefs.h. */
10029 /* Override any GCC internal prototype to avoid an error.
10030 Use char because int might match the return type of a GCC
10031 builtin and then its argument prototype would still apply. */
10035 char XkbQueryExtension ();
10039 return XkbQueryExtension ();
10044 if ac_fn_c_try_link
"$LINENO"; then :
10045 ac_cv_lib_X11_XkbQueryExtension
=yes
10047 ac_cv_lib_X11_XkbQueryExtension
=no
10049 rm -f core conftest.err conftest.
$ac_objext \
10050 conftest
$ac_exeext conftest.
$ac_ext
10051 LIBS
=$ac_check_lib_save_LIBS
10053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
10054 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
10055 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes
; then :
10057 $as_echo "#define HAVE_XKB 1" >>confdefs.h
10063 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
10065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
10066 $as_echo_n "checking for -lXcursor... " >&6; }
10067 if ${ac_cv_lib_soname_Xcursor+:} false
; then :
10068 $as_echo_n "(cached) " >&6
10070 ac_check_soname_save_LIBS
=$LIBS
10071 LIBS
="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
10072 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10073 /* end confdefs.h. */
10075 /* Override any GCC internal prototype to avoid an error.
10076 Use char because int might match the return type of a GCC
10077 builtin and then its argument prototype would still apply. */
10081 char XcursorImageLoadCursor ();
10085 return XcursorImageLoadCursor ();
10090 if ac_fn_c_try_link
"$LINENO"; then :
10092 dll
) ac_cv_lib_soname_Xcursor
=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10093 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'` ;;
10094 *) ac_cv_lib_soname_Xcursor
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10095 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
10096 ac_cv_lib_soname_Xcursor
=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10100 rm -f core conftest.err conftest.
$ac_objext \
10101 conftest
$ac_exeext conftest.
$ac_ext
10102 LIBS
=$ac_check_soname_save_LIBS
10104 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
10105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10106 $as_echo "not found" >&6; }
10109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
10110 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
10112 cat >>confdefs.h
<<_ACEOF
10113 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
10119 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
10120 case "x$with_xcursor" in
10121 x
) as_fn_append wine_notices
"|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
10123 *) as_fn_error $?
"libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
10124 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
10129 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
10131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
10132 $as_echo_n "checking for -lXi... " >&6; }
10133 if ${ac_cv_lib_soname_Xi+:} false
; then :
10134 $as_echo_n "(cached) " >&6
10136 ac_check_soname_save_LIBS
=$LIBS
10137 LIBS
="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
10138 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10139 /* end confdefs.h. */
10141 /* Override any GCC internal prototype to avoid an error.
10142 Use char because int might match the return type of a GCC
10143 builtin and then its argument prototype would still apply. */
10147 char XOpenDevice ();
10151 return XOpenDevice ();
10156 if ac_fn_c_try_link
"$LINENO"; then :
10158 dll
) ac_cv_lib_soname_Xi
=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10159 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'` ;;
10160 *) ac_cv_lib_soname_Xi
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10161 if ${ac_cv_lib_soname_Xi:+false} :; then :
10162 ac_cv_lib_soname_Xi
=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10166 rm -f core conftest.err conftest.
$ac_objext \
10167 conftest
$ac_exeext conftest.
$ac_ext
10168 LIBS
=$ac_check_soname_save_LIBS
10170 if ${ac_cv_lib_soname_Xi:+false} :; then :
10171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10172 $as_echo "not found" >&6; }
10175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
10176 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
10178 cat >>confdefs.h
<<_ACEOF
10179 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
10185 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
10186 case "x$with_xinput" in
10187 x
) as_fn_append wine_notices
"|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
10189 *) as_fn_error $?
"libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
10190 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
10195 if test "x$ac_cv_lib_soname_Xi" != x
10197 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
10198 case "x$with_xinput2" in
10199 x
) as_fn_append wine_notices
"|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
10201 *) as_fn_error $?
"XInput2 headers not found, the XInput 2 extension won't be supported.
10202 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
10208 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
10210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
10211 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
10212 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false
; then :
10213 $as_echo_n "(cached) " >&6
10215 ac_check_lib_save_LIBS
=$LIBS
10216 LIBS
="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
10217 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10218 /* end confdefs.h. */
10220 /* Override any GCC internal prototype to avoid an error.
10221 Use char because int might match the return type of a GCC
10222 builtin and then its argument prototype would still apply. */
10226 char XShmQueryExtension ();
10230 return XShmQueryExtension ();
10235 if ac_fn_c_try_link
"$LINENO"; then :
10236 ac_cv_lib_Xext_XShmQueryExtension
=yes
10238 ac_cv_lib_Xext_XShmQueryExtension
=no
10240 rm -f core conftest.err conftest.
$ac_objext \
10241 conftest
$ac_exeext conftest.
$ac_ext
10242 LIBS
=$ac_check_lib_save_LIBS
10244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
10245 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
10246 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes
; then :
10248 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
10253 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
10254 case "x$with_xshm" in
10255 x
) as_fn_append wine_notices
"|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
10257 *) as_fn_error $?
"XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
10258 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
10263 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
10265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
10266 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
10267 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false
; then :
10268 $as_echo_n "(cached) " >&6
10270 ac_check_lib_save_LIBS
=$LIBS
10271 LIBS
="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
10272 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10273 /* end confdefs.h. */
10275 /* Override any GCC internal prototype to avoid an error.
10276 Use char because int might match the return type of a GCC
10277 builtin and then its argument prototype would still apply. */
10281 char XShapeQueryExtension ();
10285 return XShapeQueryExtension ();
10290 if ac_fn_c_try_link
"$LINENO"; then :
10291 ac_cv_lib_Xext_XShapeQueryExtension
=yes
10293 ac_cv_lib_Xext_XShapeQueryExtension
=no
10295 rm -f core conftest.err conftest.
$ac_objext \
10296 conftest
$ac_exeext conftest.
$ac_ext
10297 LIBS
=$ac_check_lib_save_LIBS
10299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
10300 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
10301 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes
; then :
10303 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
10308 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
10309 case "x$with_xshape" in
10310 x
) as_fn_append wine_notices
"|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
10312 *) as_fn_error $?
"XShape ${notice_platform}development files not found, XShape won't be supported.
10313 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
10318 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
10320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
10321 $as_echo_n "checking for -lXxf86vm... " >&6; }
10322 if ${ac_cv_lib_soname_Xxf86vm+:} false
; then :
10323 $as_echo_n "(cached) " >&6
10325 ac_check_soname_save_LIBS
=$LIBS
10326 LIBS
="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
10327 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10328 /* end confdefs.h. */
10330 /* Override any GCC internal prototype to avoid an error.
10331 Use char because int might match the return type of a GCC
10332 builtin and then its argument prototype would still apply. */
10336 char XF86VidModeQueryExtension ();
10340 return XF86VidModeQueryExtension ();
10345 if ac_fn_c_try_link
"$LINENO"; then :
10347 dll
) ac_cv_lib_soname_Xxf86vm
=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10348 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'` ;;
10349 *) ac_cv_lib_soname_Xxf86vm
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10350 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10351 ac_cv_lib_soname_Xxf86vm
=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10355 rm -f core conftest.err conftest.
$ac_objext \
10356 conftest
$ac_exeext conftest.
$ac_ext
10357 LIBS
=$ac_check_soname_save_LIBS
10359 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10361 $as_echo "not found" >&6; }
10364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
10365 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
10367 cat >>confdefs.h
<<_ACEOF
10368 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
10374 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
10375 case "x$with_xxf86vm" in
10376 x
) as_fn_append wine_notices
"|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
10378 *) as_fn_error $?
"libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
10379 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
10384 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
10386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
10387 $as_echo_n "checking for -lXrender... " >&6; }
10388 if ${ac_cv_lib_soname_Xrender+:} false
; then :
10389 $as_echo_n "(cached) " >&6
10391 ac_check_soname_save_LIBS
=$LIBS
10392 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10393 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10394 /* end confdefs.h. */
10396 /* Override any GCC internal prototype to avoid an error.
10397 Use char because int might match the return type of a GCC
10398 builtin and then its argument prototype would still apply. */
10402 char XRenderQueryExtension ();
10406 return XRenderQueryExtension ();
10411 if ac_fn_c_try_link
"$LINENO"; then :
10413 dll
) ac_cv_lib_soname_Xrender
=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10414 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'` ;;
10415 *) ac_cv_lib_soname_Xrender
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10416 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10417 ac_cv_lib_soname_Xrender
=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10421 rm -f core conftest.err conftest.
$ac_objext \
10422 conftest
$ac_exeext conftest.
$ac_ext
10423 LIBS
=$ac_check_soname_save_LIBS
10425 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10427 $as_echo "not found" >&6; }
10430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
10431 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
10433 cat >>confdefs.h
<<_ACEOF
10434 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
10437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
10438 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
10439 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false
; then :
10440 $as_echo_n "(cached) " >&6
10442 ac_check_lib_save_LIBS
=$LIBS
10443 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10444 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10445 /* end confdefs.h. */
10447 /* Override any GCC internal prototype to avoid an error.
10448 Use char because int might match the return type of a GCC
10449 builtin and then its argument prototype would still apply. */
10453 char XRenderSetPictureTransform ();
10457 return XRenderSetPictureTransform ();
10462 if ac_fn_c_try_link
"$LINENO"; then :
10463 ac_cv_lib_Xrender_XRenderSetPictureTransform
=yes
10465 ac_cv_lib_Xrender_XRenderSetPictureTransform
=no
10467 rm -f core conftest.err conftest.
$ac_objext \
10468 conftest
$ac_exeext conftest.
$ac_ext
10469 LIBS
=$ac_check_lib_save_LIBS
10471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
10472 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
10473 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes
; then :
10475 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
10479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
10480 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
10481 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false
; then :
10482 $as_echo_n "(cached) " >&6
10484 ac_check_lib_save_LIBS
=$LIBS
10485 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10486 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10487 /* end confdefs.h. */
10489 /* Override any GCC internal prototype to avoid an error.
10490 Use char because int might match the return type of a GCC
10491 builtin and then its argument prototype would still apply. */
10495 char XRenderCreateLinearGradient ();
10499 return XRenderCreateLinearGradient ();
10504 if ac_fn_c_try_link
"$LINENO"; then :
10505 ac_cv_lib_Xrender_XRenderCreateLinearGradient
=yes
10507 ac_cv_lib_Xrender_XRenderCreateLinearGradient
=no
10509 rm -f core conftest.err conftest.
$ac_objext \
10510 conftest
$ac_exeext conftest.
$ac_ext
10511 LIBS
=$ac_check_lib_save_LIBS
10513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
10514 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
10515 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes
; then :
10517 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
10524 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
10525 case "x$with_xrender" in
10526 x
) as_fn_append wine_warnings
"|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
10528 *) as_fn_error $?
"libxrender ${notice_platform}development files not found, XRender won't be supported.
10529 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
10534 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
10536 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10537 /* end confdefs.h. */
10538 #include <X11/Xlib.h>
10539 #include <X11/extensions/Xrandr.h>
10543 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
10548 if ac_fn_c_try_compile
"$LINENO"; then :
10549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
10550 $as_echo_n "checking for -lXrandr... " >&6; }
10551 if ${ac_cv_lib_soname_Xrandr+:} false
; then :
10552 $as_echo_n "(cached) " >&6
10554 ac_check_soname_save_LIBS
=$LIBS
10555 LIBS
="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
10556 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10557 /* end confdefs.h. */
10559 /* Override any GCC internal prototype to avoid an error.
10560 Use char because int might match the return type of a GCC
10561 builtin and then its argument prototype would still apply. */
10565 char XRRQueryExtension ();
10569 return XRRQueryExtension ();
10574 if ac_fn_c_try_link
"$LINENO"; then :
10576 dll
) ac_cv_lib_soname_Xrandr
=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10577 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'` ;;
10578 *) ac_cv_lib_soname_Xrandr
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10579 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10580 ac_cv_lib_soname_Xrandr
=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10584 rm -f core conftest.err conftest.
$ac_objext \
10585 conftest
$ac_exeext conftest.
$ac_ext
10586 LIBS
=$ac_check_soname_save_LIBS
10588 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10590 $as_echo "not found" >&6; }
10593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
10594 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
10596 cat >>confdefs.h
<<_ACEOF
10597 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10600 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10601 /* end confdefs.h. */
10602 #include <X11/Xlib.h>
10603 #include <X11/extensions/Xrandr.h>
10607 static typeof(XRRGetScreenResources) *f; if (f) return 0;
10612 if ac_fn_c_try_compile
"$LINENO"; then :
10614 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
10617 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10620 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10622 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
10623 case "x$with_xrandr" in
10624 x
) as_fn_append wine_notices
"|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
10626 *) as_fn_error $?
"libxrandr ${notice_platform}development files not found, XRandr won't be supported.
10627 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
10632 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
10634 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10635 /* end confdefs.h. */
10636 #include <X11/Xlib.h>
10637 #include <X11/extensions/Xfixes.h>
10641 static typeof(XFixesQueryVersion) * func; if (func) return 0;
10646 if ac_fn_c_try_compile
"$LINENO"; then :
10647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
10648 $as_echo_n "checking for -lXfixes... " >&6; }
10649 if ${ac_cv_lib_soname_Xfixes+:} false
; then :
10650 $as_echo_n "(cached) " >&6
10652 ac_check_soname_save_LIBS
=$LIBS
10653 LIBS
="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
10654 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10655 /* end confdefs.h. */
10657 /* Override any GCC internal prototype to avoid an error.
10658 Use char because int might match the return type of a GCC
10659 builtin and then its argument prototype would still apply. */
10663 char XFixesQueryVersion ();
10667 return XFixesQueryVersion ();
10672 if ac_fn_c_try_link
"$LINENO"; then :
10674 dll
) ac_cv_lib_soname_Xfixes
=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10675 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'` ;;
10676 *) ac_cv_lib_soname_Xfixes
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10677 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
10678 ac_cv_lib_soname_Xfixes
=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10682 rm -f core conftest.err conftest.
$ac_objext \
10683 conftest
$ac_exeext conftest.
$ac_ext
10684 LIBS
=$ac_check_soname_save_LIBS
10686 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
10687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10688 $as_echo "not found" >&6; }
10691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
10692 $as_echo "$ac_cv_lib_soname_Xfixes" >&6; }
10694 cat >>confdefs.h
<<_ACEOF
10695 #define SONAME_LIBXFIXES "$ac_cv_lib_soname_Xfixes"
10701 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10703 if test "x$ac_cv_lib_soname_Xfixes" = "x"; then :
10704 case "x$with_xfixes" in
10705 x
) as_fn_append wine_notices
"|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
10707 *) as_fn_error $?
"libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
10708 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
10713 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10715 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10716 /* end confdefs.h. */
10717 #include <X11/Xlib.h>
10718 #include <X11/extensions/Xinerama.h>
10722 static typeof(XineramaQueryScreens) * func; if (func) return 0;
10727 if ac_fn_c_try_compile
"$LINENO"; then :
10728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
10729 $as_echo_n "checking for -lXinerama... " >&6; }
10730 if ${ac_cv_lib_soname_Xinerama+:} false
; then :
10731 $as_echo_n "(cached) " >&6
10733 ac_check_soname_save_LIBS
=$LIBS
10734 LIBS
="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
10735 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10736 /* end confdefs.h. */
10738 /* Override any GCC internal prototype to avoid an error.
10739 Use char because int might match the return type of a GCC
10740 builtin and then its argument prototype would still apply. */
10744 char XineramaQueryScreens ();
10748 return XineramaQueryScreens ();
10753 if ac_fn_c_try_link
"$LINENO"; then :
10755 dll
) ac_cv_lib_soname_Xinerama
=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10756 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'` ;;
10757 *) ac_cv_lib_soname_Xinerama
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10758 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10759 ac_cv_lib_soname_Xinerama
=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10763 rm -f core conftest.err conftest.
$ac_objext \
10764 conftest
$ac_exeext conftest.
$ac_ext
10765 LIBS
=$ac_check_soname_save_LIBS
10767 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10769 $as_echo "not found" >&6; }
10772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
10773 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
10775 cat >>confdefs.h
<<_ACEOF
10776 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10782 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10784 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
10785 case "x$with_xinerama" in
10786 x
) as_fn_append wine_notices
"|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
10788 *) as_fn_error $?
"libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
10789 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
10794 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
10797 $as_echo_n "checking for -lXcomposite... " >&6; }
10798 if ${ac_cv_lib_soname_Xcomposite+:} false
; then :
10799 $as_echo_n "(cached) " >&6
10801 ac_check_soname_save_LIBS
=$LIBS
10802 LIBS
="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
10803 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10804 /* end confdefs.h. */
10806 /* Override any GCC internal prototype to avoid an error.
10807 Use char because int might match the return type of a GCC
10808 builtin and then its argument prototype would still apply. */
10812 char XCompositeRedirectWindow ();
10816 return XCompositeRedirectWindow ();
10821 if ac_fn_c_try_link
"$LINENO"; then :
10823 dll
) ac_cv_lib_soname_Xcomposite
=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10824 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'` ;;
10825 *) ac_cv_lib_soname_Xcomposite
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10826 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10827 ac_cv_lib_soname_Xcomposite
=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10831 rm -f core conftest.err conftest.
$ac_objext \
10832 conftest
$ac_exeext conftest.
$ac_ext
10833 LIBS
=$ac_check_soname_save_LIBS
10835 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10837 $as_echo "not found" >&6; }
10840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
10841 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
10843 cat >>confdefs.h
<<_ACEOF
10844 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10850 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
10851 case "x$with_xcomposite" in
10852 x
) as_fn_append wine_notices
"|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
10854 *) as_fn_error $?
"libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
10855 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
10860 ac_fn_c_check_member
"$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
10861 #include <X11/Xlib.h>
10864 if test "x$ac_cv_member_XICCallback_callback" = xyes
; then :
10866 cat >>confdefs.h
<<_ACEOF
10867 #define HAVE_XICCALLBACK_CALLBACK 1
10872 ac_fn_c_check_member
"$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
10873 #include <X11/Xlib.h>
10876 if test "x$ac_cv_member_XEvent_xcookie" = xyes
; then :
10878 cat >>confdefs.h
<<_ACEOF
10879 #define HAVE_XEVENT_XCOOKIE 1
10888 if test "x$with_opengl" != "xno"
10890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10891 $as_echo_n "checking for -lGL... " >&6; }
10892 if ${ac_cv_lib_soname_GL+:} false
; then :
10893 $as_echo_n "(cached) " >&6
10895 ac_check_soname_save_LIBS
=$LIBS
10896 LIBS
="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10897 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10898 /* end confdefs.h. */
10900 /* Override any GCC internal prototype to avoid an error.
10901 Use char because int might match the return type of a GCC
10902 builtin and then its argument prototype would still apply. */
10906 char glXCreateContext ();
10910 return glXCreateContext ();
10915 if ac_fn_c_try_link
"$LINENO"; then :
10917 dll
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10918 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'` ;;
10919 *) ac_cv_lib_soname_GL
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10920 if ${ac_cv_lib_soname_GL:+false} :; then :
10921 ac_cv_lib_soname_GL
=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10925 rm -f core conftest.err conftest.
$ac_objext \
10926 conftest
$ac_exeext conftest.
$ac_ext
10927 LIBS
=$ac_check_soname_save_LIBS
10929 if ${ac_cv_lib_soname_GL:+false} :; then :
10930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10931 $as_echo "not found" >&6; }
10932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10933 $as_echo_n "checking for -lGL... " >&6; }
10934 if ${ac_cv_lib_soname_GL+:} false
; then :
10935 $as_echo_n "(cached) " >&6
10937 ac_check_soname_save_LIBS
=$LIBS
10938 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"
10939 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10940 /* end confdefs.h. */
10942 /* Override any GCC internal prototype to avoid an error.
10943 Use char because int might match the return type of a GCC
10944 builtin and then its argument prototype would still apply. */
10948 char glXCreateContext ();
10952 return glXCreateContext ();
10957 if ac_fn_c_try_link
"$LINENO"; then :
10959 dll
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10960 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'` ;;
10961 *) ac_cv_lib_soname_GL
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10962 if ${ac_cv_lib_soname_GL:+false} :; then :
10963 ac_cv_lib_soname_GL
=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10967 rm -f core conftest.err conftest.
$ac_objext \
10968 conftest
$ac_exeext conftest.
$ac_ext
10969 LIBS
=$ac_check_soname_save_LIBS
10971 if ${ac_cv_lib_soname_GL:+false} :; then :
10972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10973 $as_echo "not found" >&6; }
10974 if test -f /usr
/X11R
6/lib
/libGL.a
10976 opengl_msg
="/usr/X11R6/lib/libGL.a is present on your system.
10977 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10979 opengl_msg
="No OpenGL library found on this system."
10982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10983 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10985 cat >>confdefs.h
<<_ACEOF
10986 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10989 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"
10992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10993 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10995 cat >>confdefs.h
<<_ACEOF
10996 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
11001 if test "x$with_glu" != "xno"
11003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLU" >&5
11004 $as_echo_n "checking for -lGLU... " >&6; }
11005 if ${ac_cv_lib_soname_GLU+:} false
; then :
11006 $as_echo_n "(cached) " >&6
11008 ac_check_soname_save_LIBS
=$LIBS
11009 LIBS
="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
11010 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11011 /* end confdefs.h. */
11013 /* Override any GCC internal prototype to avoid an error.
11014 Use char because int might match the return type of a GCC
11015 builtin and then its argument prototype would still apply. */
11023 return gluLookAt ();
11028 if ac_fn_c_try_link
"$LINENO"; then :
11030 dll
) ac_cv_lib_soname_GLU
=`$ac_cv_path_LDD conftest.exe | grep "GLU" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11031 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'` ;;
11032 *) ac_cv_lib_soname_GLU
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLU\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLU\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11033 if ${ac_cv_lib_soname_GLU:+false} :; then :
11034 ac_cv_lib_soname_GLU
=`$LDD conftest$ac_exeext | grep "libGLU\\.$LIBEXT" | sed -e "s/^.*\(libGLU\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11038 rm -f core conftest.err conftest.
$ac_objext \
11039 conftest
$ac_exeext conftest.
$ac_ext
11040 LIBS
=$ac_check_soname_save_LIBS
11042 if ${ac_cv_lib_soname_GLU:+false} :; then :
11043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11044 $as_echo "not found" >&6; }
11047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLU" >&5
11048 $as_echo "$ac_cv_lib_soname_GLU" >&6; }
11050 cat >>confdefs.h
<<_ACEOF
11051 #define SONAME_LIBGLU "$ac_cv_lib_soname_GLU"
11056 if test "x$ac_cv_lib_soname_GLU" = "x"; then :
11057 case "x$with_glu" in
11058 x
) as_fn_append wine_notices
"|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
11060 *) as_fn_error $?
"libGLU ${notice_platform}development files not found, GLU won't be supported.
11061 This is an error since --with-glu was requested." "$LINENO" 5 ;;
11067 if test "x$with_osmesa" != "xno"
11069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
11070 $as_echo_n "checking for -lOSMesa... " >&6; }
11071 if ${ac_cv_lib_soname_OSMesa+:} false
; then :
11072 $as_echo_n "(cached) " >&6
11074 ac_check_soname_save_LIBS
=$LIBS
11075 LIBS
="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
11076 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11077 /* end confdefs.h. */
11079 /* Override any GCC internal prototype to avoid an error.
11080 Use char because int might match the return type of a GCC
11081 builtin and then its argument prototype would still apply. */
11085 char OSMesaGetProcAddress ();
11089 return OSMesaGetProcAddress ();
11094 if ac_fn_c_try_link
"$LINENO"; then :
11096 dll
) ac_cv_lib_soname_OSMesa
=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11097 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'` ;;
11098 *) ac_cv_lib_soname_OSMesa
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11099 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
11100 ac_cv_lib_soname_OSMesa
=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11104 rm -f core conftest.err conftest.
$ac_objext \
11105 conftest
$ac_exeext conftest.
$ac_ext
11106 LIBS
=$ac_check_soname_save_LIBS
11108 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
11109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11110 $as_echo "not found" >&6; }
11113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
11114 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
11116 cat >>confdefs.h
<<_ACEOF
11117 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
11122 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
11123 case "x$with_osmesa" in
11124 x
) as_fn_append wine_notices
"|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
11126 *) as_fn_error $?
"libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
11127 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
11133 if test -n "$opengl_msg"; then :
11134 case "x$with_opengl" in
11135 x
) as_fn_append wine_warnings
"|$opengl_msg
11136 OpenGL and Direct3D won't be supported." ;;
11138 *) as_fn_error $?
"$opengl_msg
11139 OpenGL and Direct3D won't be supported.
11140 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
11145 CPPFLAGS
="$ac_save_CPPFLAGS"
11151 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
11153 if test "x$X_LIBS" = "x"; then :
11156 *) as_fn_error $?
"X ${notice_platform}development files not found. Wine will be built
11157 without X support, which probably isn't what you want. You will need
11158 to install ${notice_platform}development packages of Xlib at the very least.
11159 Use the --without-x option if you really want this." "$LINENO" 5 ;;
11161 enable_winex11_drv
=${enable_winex11_drv:-no}
11164 if test "x$X_LIBS" = "x"; then :
11166 x
) as_fn_append wine_notices
"|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
11168 *) as_fn_error $?
"X ${notice_platform}development files not found, the X11 driver won't be supported.
11169 This is an error since --with-x was requested." "$LINENO" 5 ;;
11171 enable_winex11_drv
=${enable_winex11_drv:-no}
11175 if test "$ac_cv_header_CL_cl_h" = "yes"
11177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
11178 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
11179 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false
; then :
11180 $as_echo_n "(cached) " >&6
11182 ac_check_lib_save_LIBS
=$LIBS
11183 LIBS
="-lOpenCL $LIBS"
11184 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11185 /* end confdefs.h. */
11187 /* Override any GCC internal prototype to avoid an error.
11188 Use char because int might match the return type of a GCC
11189 builtin and then its argument prototype would still apply. */
11193 char clGetPlatformInfo ();
11197 return clGetPlatformInfo ();
11202 if ac_fn_c_try_link
"$LINENO"; then :
11203 ac_cv_lib_OpenCL_clGetPlatformInfo
=yes
11205 ac_cv_lib_OpenCL_clGetPlatformInfo
=no
11207 rm -f core conftest.err conftest.
$ac_objext \
11208 conftest
$ac_exeext conftest.
$ac_ext
11209 LIBS
=$ac_check_lib_save_LIBS
11211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
11212 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
11213 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes
; then :
11214 OPENCL_LIBS
="-lOpenCL"
11219 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
; then :
11220 case "x$with_opencl" in
11221 x
) as_fn_append wine_notices
"|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
11223 *) as_fn_error $?
"OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
11224 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
11226 enable_opencl
=${enable_opencl:-no}
11229 if test "$ac_cv_header_pcap_pcap_h" = "yes"
11231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
11232 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
11233 if ${ac_cv_lib_pcap_pcap_create+:} false
; then :
11234 $as_echo_n "(cached) " >&6
11236 ac_check_lib_save_LIBS
=$LIBS
11237 LIBS
="-lpcap $LIBS"
11238 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11239 /* end confdefs.h. */
11241 /* Override any GCC internal prototype to avoid an error.
11242 Use char because int might match the return type of a GCC
11243 builtin and then its argument prototype would still apply. */
11247 char pcap_create ();
11251 return pcap_create ();
11256 if ac_fn_c_try_link
"$LINENO"; then :
11257 ac_cv_lib_pcap_pcap_create
=yes
11259 ac_cv_lib_pcap_pcap_create
=no
11261 rm -f core conftest.err conftest.
$ac_objext \
11262 conftest
$ac_exeext conftest.
$ac_ext
11263 LIBS
=$ac_check_lib_save_LIBS
11265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
11266 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
11267 if test "x$ac_cv_lib_pcap_pcap_create" = xyes
; then :
11273 if test "x$ac_cv_lib_pcap_pcap_create" != xyes
; then :
11274 case "x$with_pcap" in
11275 x
) as_fn_append wine_notices
"|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
11277 *) as_fn_error $?
"pcap ${notice_platform}development files not found, wpcap won't be supported.
11278 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
11280 enable_wpcap
=${enable_wpcap:-no}
11284 if test "x$with_xml" != "xno"
11286 if ${XML2_CFLAGS:+false} :; then :
11287 if ${PKG_CONFIG+:} false
; then :
11288 XML2_CFLAGS
=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
11291 test "$cross_compiling" = yes || XML2_CFLAGS
=${XML2_CFLAGS:-`${XML2_CONFIG:-xml2-config} --cflags 2>/dev/null`}
11292 if ${XML2_LIBS:+false} :; then :
11293 if ${PKG_CONFIG+:} false
; then :
11294 XML2_LIBS
=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
11297 test "$cross_compiling" = yes || XML2_LIBS
=${XML2_LIBS:-`${XML2_CONFIG:-xml2-config} --libs 2>/dev/null`}
11298 XML2_LIBS
=${XML2_LIBS:-"-lxml2"}
11299 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
11300 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
11301 ac_save_CPPFLAGS
=$CPPFLAGS
11302 CPPFLAGS
="$CPPFLAGS $XML2_CFLAGS"
11303 for ac_header
in libxml
/parser.h libxml
/xmlsave.h libxml
/SAX2.h
11305 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11306 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
11307 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
11308 cat >>confdefs.h
<<_ACEOF
11309 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11316 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"
11318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
11319 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
11320 if ${ac_cv_lib_xml2_xmlParseMemory+:} false
; then :
11321 $as_echo_n "(cached) " >&6
11323 ac_check_lib_save_LIBS
=$LIBS
11324 LIBS
="-lxml2 $XML2_LIBS $LIBS"
11325 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11326 /* end confdefs.h. */
11328 /* Override any GCC internal prototype to avoid an error.
11329 Use char because int might match the return type of a GCC
11330 builtin and then its argument prototype would still apply. */
11334 char xmlParseMemory ();
11338 return xmlParseMemory ();
11343 if ac_fn_c_try_link
"$LINENO"; then :
11344 ac_cv_lib_xml2_xmlParseMemory
=yes
11346 ac_cv_lib_xml2_xmlParseMemory
=no
11348 rm -f core conftest.err conftest.
$ac_objext \
11349 conftest
$ac_exeext conftest.
$ac_ext
11350 LIBS
=$ac_check_lib_save_LIBS
11352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
11353 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
11354 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes
; then :
11356 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
11362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
11363 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
11364 if ${ac_cv_lib_xml2_xmlReadMemory+:} false
; then :
11365 $as_echo_n "(cached) " >&6
11367 ac_check_lib_save_LIBS
=$LIBS
11368 LIBS
="-lxml2 $XML2_LIBS $LIBS"
11369 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11370 /* end confdefs.h. */
11372 /* Override any GCC internal prototype to avoid an error.
11373 Use char because int might match the return type of a GCC
11374 builtin and then its argument prototype would still apply. */
11378 char xmlReadMemory ();
11382 return xmlReadMemory ();
11387 if ac_fn_c_try_link
"$LINENO"; then :
11388 ac_cv_lib_xml2_xmlReadMemory
=yes
11390 ac_cv_lib_xml2_xmlReadMemory
=no
11392 rm -f core conftest.err conftest.
$ac_objext \
11393 conftest
$ac_exeext conftest.
$ac_ext
11394 LIBS
=$ac_check_lib_save_LIBS
11396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
11397 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
11398 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes
; then :
11400 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
11404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
11405 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
11406 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false
; then :
11407 $as_echo_n "(cached) " >&6
11409 ac_check_lib_save_LIBS
=$LIBS
11410 LIBS
="-lxml2 $XML2_LIBS $LIBS"
11411 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11412 /* end confdefs.h. */
11414 /* Override any GCC internal prototype to avoid an error.
11415 Use char because int might match the return type of a GCC
11416 builtin and then its argument prototype would still apply. */
11420 char xmlNewDocPI ();
11424 return xmlNewDocPI ();
11429 if ac_fn_c_try_link
"$LINENO"; then :
11430 ac_cv_lib_xml2_xmlNewDocPI
=yes
11432 ac_cv_lib_xml2_xmlNewDocPI
=no
11434 rm -f core conftest.err conftest.
$ac_objext \
11435 conftest
$ac_exeext conftest.
$ac_ext
11436 LIBS
=$ac_check_lib_save_LIBS
11438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
11439 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
11440 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes
; then :
11442 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
11446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
11447 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
11448 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false
; then :
11449 $as_echo_n "(cached) " >&6
11451 ac_check_lib_save_LIBS
=$LIBS
11452 LIBS
="-lxml2 $XML2_LIBS $LIBS"
11453 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11454 /* end confdefs.h. */
11456 /* Override any GCC internal prototype to avoid an error.
11457 Use char because int might match the return type of a GCC
11458 builtin and then its argument prototype would still apply. */
11462 char xmlSchemaSetParserStructuredErrors ();
11466 return xmlSchemaSetParserStructuredErrors ();
11471 if ac_fn_c_try_link
"$LINENO"; then :
11472 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors
=yes
11474 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors
=no
11476 rm -f core conftest.err conftest.
$ac_objext \
11477 conftest
$ac_exeext conftest.
$ac_ext
11478 LIBS
=$ac_check_lib_save_LIBS
11480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
11481 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
11482 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes
; then :
11484 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
11488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
11489 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
11490 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false
; then :
11491 $as_echo_n "(cached) " >&6
11493 ac_check_lib_save_LIBS
=$LIBS
11494 LIBS
="-lxml2 $XML2_LIBS $LIBS"
11495 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11496 /* end confdefs.h. */
11498 /* Override any GCC internal prototype to avoid an error.
11499 Use char because int might match the return type of a GCC
11500 builtin and then its argument prototype would still apply. */
11504 char xmlSchemaSetValidStructuredErrors ();
11508 return xmlSchemaSetValidStructuredErrors ();
11513 if ac_fn_c_try_link
"$LINENO"; then :
11514 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors
=yes
11516 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors
=no
11518 rm -f core conftest.err conftest.
$ac_objext \
11519 conftest
$ac_exeext conftest.
$ac_ext
11520 LIBS
=$ac_check_lib_save_LIBS
11522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
11523 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
11524 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes
; then :
11526 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
11530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
11531 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
11532 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false
; then :
11533 $as_echo_n "(cached) " >&6
11535 ac_check_lib_save_LIBS
=$LIBS
11536 LIBS
="-lxml2 $XML2_LIBS $LIBS"
11537 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11538 /* end confdefs.h. */
11540 /* Override any GCC internal prototype to avoid an error.
11541 Use char because int might match the return type of a GCC
11542 builtin and then its argument prototype would still apply. */
11546 char xmlFirstElementChild ();
11550 return xmlFirstElementChild ();
11555 if ac_fn_c_try_link
"$LINENO"; then :
11556 ac_cv_lib_xml2_xmlFirstElementChild
=yes
11558 ac_cv_lib_xml2_xmlFirstElementChild
=no
11560 rm -f core conftest.err conftest.
$ac_objext \
11561 conftest
$ac_exeext conftest.
$ac_ext
11562 LIBS
=$ac_check_lib_save_LIBS
11564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
11565 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
11566 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes
; then :
11568 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
11572 ac_fn_c_check_type
"$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
11574 if test "x$ac_cv_type_xmlDocProperties" = xyes
; then :
11576 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
11584 CPPFLAGS
=$ac_save_CPPFLAGS
11585 test -z "$XML2_CFLAGS" || XML2_CFLAGS
=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11586 test -z "$XML2_LIBS" || XML2_LIBS
=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11589 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
11590 case "x$with_xml" in
11591 x
) as_fn_append wine_warnings
"|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
11593 *) as_fn_error $?
"libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
11594 This is an error since --with-xml was requested." "$LINENO" 5 ;;
11599 if test "x$with_xslt" != "xno"
11601 if ${XSLT_CFLAGS:+false} :; then :
11602 if ${PKG_CONFIG+:} false
; then :
11603 XSLT_CFLAGS
=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
11606 test "$cross_compiling" = yes || XSLT_CFLAGS
=${XSLT_CFLAGS:-`${XSLT_CONFIG:-xslt-config} --cflags 2>/dev/null`}
11607 if ${XSLT_LIBS:+false} :; then :
11608 if ${PKG_CONFIG+:} false
; then :
11609 XSLT_LIBS
=`$PKG_CONFIG --libs libxslt 2>/dev/null`
11612 test "$cross_compiling" = yes || XSLT_LIBS
=${XSLT_LIBS:-`${XSLT_CONFIG:-xslt-config} --libs 2>/dev/null`}
11613 XSLT_LIBS
=${XSLT_LIBS:-"-lxml2"}
11614 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
11615 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
11616 ac_save_CPPFLAGS
=$CPPFLAGS
11617 CPPFLAGS
="$CPPFLAGS $XSLT_CFLAGS"
11618 for ac_header
in libxslt
/pattern.h libxslt
/transform.h
11620 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11621 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
11622 # include <libxslt/pattern.h>
11625 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
11626 cat >>confdefs.h
<<_ACEOF
11627 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11634 if test "$ac_cv_header_libxslt_transform_h" = "yes"
11636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
11637 $as_echo_n "checking for -lxslt... " >&6; }
11638 if ${ac_cv_lib_soname_xslt+:} false
; then :
11639 $as_echo_n "(cached) " >&6
11641 ac_check_soname_save_LIBS
=$LIBS
11642 LIBS
="-lxslt $XSLT_LIBS $LIBS"
11643 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11644 /* end confdefs.h. */
11646 /* Override any GCC internal prototype to avoid an error.
11647 Use char because int might match the return type of a GCC
11648 builtin and then its argument prototype would still apply. */
11652 char xsltCompilePattern ();
11656 return xsltCompilePattern ();
11661 if ac_fn_c_try_link
"$LINENO"; then :
11663 dll
) ac_cv_lib_soname_xslt
=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11664 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'` ;;
11665 *) ac_cv_lib_soname_xslt
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11666 if ${ac_cv_lib_soname_xslt:+false} :; then :
11667 ac_cv_lib_soname_xslt
=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11671 rm -f core conftest.err conftest.
$ac_objext \
11672 conftest
$ac_exeext conftest.
$ac_ext
11673 LIBS
=$ac_check_soname_save_LIBS
11675 if ${ac_cv_lib_soname_xslt:+false} :; then :
11676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11677 $as_echo "not found" >&6; }
11680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
11681 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
11683 cat >>confdefs.h
<<_ACEOF
11684 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
11692 CPPFLAGS
=$ac_save_CPPFLAGS
11693 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS
=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11694 test -z "$XSLT_LIBS" || XSLT_LIBS
=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11697 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
11698 case "x$with_xslt" in
11699 x
) as_fn_append wine_warnings
"|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
11701 *) as_fn_error $?
"libxslt ${notice_platform}development files not found, xslt won't be supported.
11702 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
11707 if test "x$with_dbus" != "xno"
11709 if ${DBUS_CFLAGS:+false} :; then :
11710 if ${PKG_CONFIG+:} false
; then :
11711 DBUS_CFLAGS
=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
11715 if ${DBUS_LIBS:+false} :; then :
11716 if ${PKG_CONFIG+:} false
; then :
11717 DBUS_LIBS
=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
11722 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
11723 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
11724 ac_save_CPPFLAGS
=$CPPFLAGS
11725 CPPFLAGS
="$CPPFLAGS $DBUS_CFLAGS"
11726 ac_fn_c_check_header_mongrel
"$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
11727 if test "x$ac_cv_header_dbus_dbus_h" = xyes
; then :
11728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
11729 $as_echo_n "checking for -ldbus-1... " >&6; }
11730 if ${ac_cv_lib_soname_dbus_1+:} false
; then :
11731 $as_echo_n "(cached) " >&6
11733 ac_check_soname_save_LIBS
=$LIBS
11734 LIBS
="-ldbus-1 $DBUS_LIBS $LIBS"
11735 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11736 /* end confdefs.h. */
11738 /* Override any GCC internal prototype to avoid an error.
11739 Use char because int might match the return type of a GCC
11740 builtin and then its argument prototype would still apply. */
11744 char dbus_connection_close ();
11748 return dbus_connection_close ();
11753 if ac_fn_c_try_link
"$LINENO"; then :
11755 dll
) ac_cv_lib_soname_dbus_1
=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11756 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'` ;;
11757 *) 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'`
11758 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11759 ac_cv_lib_soname_dbus_1
=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11763 rm -f core conftest.err conftest.
$ac_objext \
11764 conftest
$ac_exeext conftest.
$ac_ext
11765 LIBS
=$ac_check_soname_save_LIBS
11767 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11769 $as_echo "not found" >&6; }
11772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
11773 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
11775 cat >>confdefs.h
<<_ACEOF
11776 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
11786 CPPFLAGS
=$ac_save_CPPFLAGS
11787 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS
=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11788 test -z "$DBUS_LIBS" || DBUS_LIBS
=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11791 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
11792 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11793 case "x$with_dbus" in
11794 x
) as_fn_append wine_notices
"|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
11796 *) as_fn_error $?
"libdbus ${notice_platform}development files not found, no dynamic device support.
11797 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
11802 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
11804 if ${HAL_CFLAGS:+false} :; then :
11805 if ${PKG_CONFIG+:} false
; then :
11806 HAL_CFLAGS
=`$PKG_CONFIG --cflags hal 2>/dev/null`
11810 if ${HAL_LIBS:+false} :; then :
11811 if ${PKG_CONFIG+:} false
; then :
11812 HAL_LIBS
=`$PKG_CONFIG --libs hal 2>/dev/null`
11816 HAL_LIBS
=${HAL_LIBS:-"-ldbus-1"}
11817 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
11818 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
11819 ac_save_CPPFLAGS
=$CPPFLAGS
11820 CPPFLAGS
="$CPPFLAGS $HAL_CFLAGS"
11821 ac_fn_c_check_header_mongrel
"$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
11822 if test "x$ac_cv_header_hal_libhal_h" = xyes
; then :
11823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
11824 $as_echo_n "checking for -lhal... " >&6; }
11825 if ${ac_cv_lib_soname_hal+:} false
; then :
11826 $as_echo_n "(cached) " >&6
11828 ac_check_soname_save_LIBS
=$LIBS
11829 LIBS
="-lhal $HAL_LIBS $LIBS"
11830 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11831 /* end confdefs.h. */
11833 /* Override any GCC internal prototype to avoid an error.
11834 Use char because int might match the return type of a GCC
11835 builtin and then its argument prototype would still apply. */
11839 char libhal_ctx_new ();
11843 return libhal_ctx_new ();
11848 if ac_fn_c_try_link
"$LINENO"; then :
11850 dll
) ac_cv_lib_soname_hal
=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11851 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'` ;;
11852 *) ac_cv_lib_soname_hal
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11853 if ${ac_cv_lib_soname_hal:+false} :; then :
11854 ac_cv_lib_soname_hal
=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11858 rm -f core conftest.err conftest.
$ac_objext \
11859 conftest
$ac_exeext conftest.
$ac_ext
11860 LIBS
=$ac_check_soname_save_LIBS
11862 if ${ac_cv_lib_soname_hal:+false} :; then :
11863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11864 $as_echo "not found" >&6; }
11867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
11868 $as_echo "$ac_cv_lib_soname_hal" >&6; }
11870 cat >>confdefs.h
<<_ACEOF
11871 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11881 CPPFLAGS
=$ac_save_CPPFLAGS
11882 test -z "$HAL_CFLAGS" || HAL_CFLAGS
=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11883 test -z "$HAL_LIBS" || HAL_LIBS
=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11885 if test "x$ac_cv_lib_soname_hal" = "x" -a \
11886 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11887 case "x$with_hal" in
11888 x
) as_fn_append wine_notices
"|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
11890 *) as_fn_error $?
"libhal ${notice_platform}development files not found, no legacy dynamic device support.
11891 This is an error since --with-hal was requested." "$LINENO" 5 ;;
11897 if test "x$with_gnutls" != "xno"
11899 if ${GNUTLS_CFLAGS:+false} :; then :
11900 if ${PKG_CONFIG+:} false
; then :
11901 GNUTLS_CFLAGS
=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
11905 if ${GNUTLS_LIBS:+false} :; then :
11906 if ${PKG_CONFIG+:} false
; then :
11907 GNUTLS_LIBS
=`$PKG_CONFIG --libs gnutls 2>/dev/null`
11912 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
11913 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
11914 ac_save_CPPFLAGS
=$CPPFLAGS
11915 CPPFLAGS
="$CPPFLAGS $GNUTLS_CFLAGS"
11916 ac_fn_c_check_header_mongrel
"$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
11917 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes
; then :
11918 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11919 /* end confdefs.h. */
11920 #include <gnutls/gnutls.h>
11921 #include <gnutls/crypto.h>
11925 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
11930 if ac_fn_c_try_compile
"$LINENO"; then :
11931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
11932 $as_echo_n "checking for -lgnutls... " >&6; }
11933 if ${ac_cv_lib_soname_gnutls+:} false
; then :
11934 $as_echo_n "(cached) " >&6
11936 ac_check_soname_save_LIBS
=$LIBS
11937 LIBS
="-lgnutls $GNUTLS_LIBS $LIBS"
11938 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11939 /* end confdefs.h. */
11941 /* Override any GCC internal prototype to avoid an error.
11942 Use char because int might match the return type of a GCC
11943 builtin and then its argument prototype would still apply. */
11947 char gnutls_global_init ();
11951 return gnutls_global_init ();
11956 if ac_fn_c_try_link
"$LINENO"; then :
11958 dll
) ac_cv_lib_soname_gnutls
=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11959 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'` ;;
11960 *) 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'`
11961 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11962 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'`
11966 rm -f core conftest.err conftest.
$ac_objext \
11967 conftest
$ac_exeext conftest.
$ac_ext
11968 LIBS
=$ac_check_soname_save_LIBS
11970 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11972 $as_echo "not found" >&6; }
11975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
11976 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
11978 cat >>confdefs.h
<<_ACEOF
11979 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
11984 ac_wine_check_funcs_save_LIBS
="$LIBS"
11985 LIBS
="$LIBS $GNUTLS_LIBS"
11986 for ac_func
in gnutls_cipher_init
11988 ac_fn_c_check_func
"$LINENO" "gnutls_cipher_init" "ac_cv_func_gnutls_cipher_init"
11989 if test "x$ac_cv_func_gnutls_cipher_init" = xyes
; then :
11990 cat >>confdefs.h
<<_ACEOF
11991 #define HAVE_GNUTLS_CIPHER_INIT 1
11995 as_fn_append wine_notices
"|libgnutls ${notice_platform}development files too old, bcrypt encryption won't be supported."
11999 LIBS
="$ac_wine_check_funcs_save_LIBS"
12001 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12007 CPPFLAGS
=$ac_save_CPPFLAGS
12008 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS
=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12009 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS
=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12012 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
12013 case "x$with_gnutls" in
12014 x
) as_fn_append wine_warnings
"|libgnutls ${notice_platform}development files not found, no schannel support." ;;
12016 *) as_fn_error $?
"libgnutls ${notice_platform}development files not found, no schannel support.
12017 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
12023 if test "$ac_cv_header_ncurses_h" = "yes"
12025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
12026 $as_echo_n "checking for -lncurses... " >&6; }
12027 if ${ac_cv_lib_soname_ncurses+:} false
; then :
12028 $as_echo_n "(cached) " >&6
12030 ac_check_soname_save_LIBS
=$LIBS
12031 LIBS
="-lncurses $LIBS"
12032 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12033 /* end confdefs.h. */
12035 /* Override any GCC internal prototype to avoid an error.
12036 Use char because int might match the return type of a GCC
12037 builtin and then its argument prototype would still apply. */
12050 if ac_fn_c_try_link
"$LINENO"; then :
12052 dll
) ac_cv_lib_soname_ncurses
=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12053 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'` ;;
12054 *) 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'`
12055 if ${ac_cv_lib_soname_ncurses:+false} :; then :
12056 ac_cv_lib_soname_ncurses
=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12060 rm -f core conftest.err conftest.
$ac_objext \
12061 conftest
$ac_exeext conftest.
$ac_ext
12062 LIBS
=$ac_check_soname_save_LIBS
12064 if ${ac_cv_lib_soname_ncurses:+false} :; then :
12065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12066 $as_echo "not found" >&6; }
12069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
12070 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
12072 cat >>confdefs.h
<<_ACEOF
12073 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
12076 CURSES_LIBS
="-lncurses"
12078 elif test "$ac_cv_header_curses_h" = "yes"
12080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
12081 $as_echo_n "checking for -lcurses... " >&6; }
12082 if ${ac_cv_lib_soname_curses+:} false
; then :
12083 $as_echo_n "(cached) " >&6
12085 ac_check_soname_save_LIBS
=$LIBS
12086 LIBS
="-lcurses $LIBS"
12087 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12088 /* end confdefs.h. */
12090 /* Override any GCC internal prototype to avoid an error.
12091 Use char because int might match the return type of a GCC
12092 builtin and then its argument prototype would still apply. */
12105 if ac_fn_c_try_link
"$LINENO"; then :
12107 dll
) ac_cv_lib_soname_curses
=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12108 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'` ;;
12109 *) ac_cv_lib_soname_curses
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12110 if ${ac_cv_lib_soname_curses:+false} :; then :
12111 ac_cv_lib_soname_curses
=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12115 rm -f core conftest.err conftest.
$ac_objext \
12116 conftest
$ac_exeext conftest.
$ac_ext
12117 LIBS
=$ac_check_soname_save_LIBS
12119 if ${ac_cv_lib_soname_curses:+false} :; then :
12120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12121 $as_echo "not found" >&6; }
12124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
12125 $as_echo "$ac_cv_lib_soname_curses" >&6; }
12127 cat >>confdefs.h
<<_ACEOF
12128 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
12131 CURSES_LIBS
="-lcurses"
12134 ac_save_LIBS
="$LIBS"
12135 LIBS
="$LIBS $CURSES_LIBS"
12136 for ac_func
in mousemask
12138 ac_fn_c_check_func
"$LINENO" "mousemask" "ac_cv_func_mousemask"
12139 if test "x$ac_cv_func_mousemask" = xyes
; then :
12140 cat >>confdefs.h
<<_ACEOF
12141 #define HAVE_MOUSEMASK 1
12147 LIBS
="$ac_save_LIBS"
12148 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
12149 case "x$with_curses" in
12150 x
) as_fn_append wine_notices
"|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
12152 *) as_fn_error $?
"lib(n)curses ${notice_platform}development files not found, curses won't be supported.
12153 This is an error since --with-curses was requested." "$LINENO" 5 ;;
12158 if test "x$with_sane" != "xno"
12160 if ${SANE_CFLAGS:+false} :; then :
12161 if ${PKG_CONFIG+:} false
; then :
12162 SANE_CFLAGS
=`$PKG_CONFIG --cflags libsane 2>/dev/null`
12165 test "$cross_compiling" = yes || SANE_CFLAGS
=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
12166 if ${SANE_LIBS:+false} :; then :
12167 if ${PKG_CONFIG+:} false
; then :
12168 SANE_LIBS
=`$PKG_CONFIG --libs libsane 2>/dev/null`
12171 test "$cross_compiling" = yes || SANE_LIBS
=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
12173 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
12174 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
12175 ac_save_CPPFLAGS
=$CPPFLAGS
12176 CPPFLAGS
="$CPPFLAGS $SANE_CFLAGS"
12177 ac_fn_c_check_header_mongrel
"$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
12178 if test "x$ac_cv_header_sane_sane_h" = xyes
; then :
12179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
12180 $as_echo_n "checking for -lsane... " >&6; }
12181 if ${ac_cv_lib_soname_sane+:} false
; then :
12182 $as_echo_n "(cached) " >&6
12184 ac_check_soname_save_LIBS
=$LIBS
12185 LIBS
="-lsane $SANE_LIBS $LIBS"
12186 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12187 /* end confdefs.h. */
12189 /* Override any GCC internal prototype to avoid an error.
12190 Use char because int might match the return type of a GCC
12191 builtin and then its argument prototype would still apply. */
12199 return sane_init ();
12204 if ac_fn_c_try_link
"$LINENO"; then :
12206 dll
) ac_cv_lib_soname_sane
=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12207 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'` ;;
12208 *) ac_cv_lib_soname_sane
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12209 if ${ac_cv_lib_soname_sane:+false} :; then :
12210 ac_cv_lib_soname_sane
=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12214 rm -f core conftest.err conftest.
$ac_objext \
12215 conftest
$ac_exeext conftest.
$ac_ext
12216 LIBS
=$ac_check_soname_save_LIBS
12218 if ${ac_cv_lib_soname_sane:+false} :; then :
12219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12220 $as_echo "not found" >&6; }
12223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
12224 $as_echo "$ac_cv_lib_soname_sane" >&6; }
12226 cat >>confdefs.h
<<_ACEOF
12227 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
12237 CPPFLAGS
=$ac_save_CPPFLAGS
12238 test -z "$SANE_CFLAGS" || SANE_CFLAGS
=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12239 test -z "$SANE_LIBS" || SANE_LIBS
=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12242 if test "x$ac_cv_lib_soname_sane" = "x"; then :
12243 case "x$with_sane" in
12244 x
) as_fn_append wine_notices
"|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
12246 *) as_fn_error $?
"libsane ${notice_platform}development files not found, scanners won't be supported.
12247 This is an error since --with-sane was requested." "$LINENO" 5 ;;
12252 if test "x$with_v4l" != "xno"
12254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
12255 $as_echo_n "checking for -lv4l1... " >&6; }
12256 if ${ac_cv_lib_soname_v4l1+:} false
; then :
12257 $as_echo_n "(cached) " >&6
12259 ac_check_soname_save_LIBS
=$LIBS
12260 LIBS
="-lv4l1 $LIBS"
12261 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12262 /* end confdefs.h. */
12264 /* Override any GCC internal prototype to avoid an error.
12265 Use char because int might match the return type of a GCC
12266 builtin and then its argument prototype would still apply. */
12274 return v4l1_open ();
12279 if ac_fn_c_try_link
"$LINENO"; then :
12281 dll
) ac_cv_lib_soname_v4l1
=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12282 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'` ;;
12283 *) ac_cv_lib_soname_v4l1
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12284 if ${ac_cv_lib_soname_v4l1:+false} :; then :
12285 ac_cv_lib_soname_v4l1
=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12289 rm -f core conftest.err conftest.
$ac_objext \
12290 conftest
$ac_exeext conftest.
$ac_ext
12291 LIBS
=$ac_check_soname_save_LIBS
12293 if ${ac_cv_lib_soname_v4l1:+false} :; then :
12294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12295 $as_echo "not found" >&6; }
12298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
12299 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
12301 cat >>confdefs.h
<<_ACEOF
12302 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
12308 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
12309 case "x$with_v4l" in
12310 x
) as_fn_append wine_notices
"|libv4l ${notice_platform}development files not found." ;;
12312 *) as_fn_error $?
"libv4l ${notice_platform}development files not found.
12313 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
12318 if test "x$with_gphoto" != "xno"
12320 if ${GPHOTO2_CFLAGS:+false} :; then :
12321 if ${PKG_CONFIG+:} false
; then :
12322 GPHOTO2_CFLAGS
=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
12325 test "$cross_compiling" = yes || GPHOTO2_CFLAGS
=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
12326 if ${GPHOTO2_LIBS:+false} :; then :
12327 if ${PKG_CONFIG+:} false
; then :
12328 GPHOTO2_LIBS
=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
12331 test "$cross_compiling" = yes || GPHOTO2_LIBS
=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
12332 GPHOTO2_LIBS
=${GPHOTO2_LIBS:-"-lgphoto2"}
12333 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
12334 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
12335 ac_save_CPPFLAGS
=$CPPFLAGS
12336 CPPFLAGS
="$CPPFLAGS $GPHOTO2_CFLAGS"
12337 ac_fn_c_check_header_mongrel
"$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
12338 if test "x$ac_cv_header_gphoto2_camera_h" = xyes
; then :
12339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
12340 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
12341 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false
; then :
12342 $as_echo_n "(cached) " >&6
12344 ac_check_lib_save_LIBS
=$LIBS
12345 LIBS
="-lgphoto2 $GPHOTO2_LIBS $LIBS"
12346 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12347 /* end confdefs.h. */
12349 /* Override any GCC internal prototype to avoid an error.
12350 Use char because int might match the return type of a GCC
12351 builtin and then its argument prototype would still apply. */
12355 char gp_camera_new ();
12359 return gp_camera_new ();
12364 if ac_fn_c_try_link
"$LINENO"; then :
12365 ac_cv_lib_gphoto2_gp_camera_new
=yes
12367 ac_cv_lib_gphoto2_gp_camera_new
=no
12369 rm -f core conftest.err conftest.
$ac_objext \
12370 conftest
$ac_exeext conftest.
$ac_ext
12371 LIBS
=$ac_check_lib_save_LIBS
12373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
12374 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
12375 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes
; then :
12377 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
12380 GPHOTO2_LIBS
=""; GPHOTO2_CFLAGS
=""
12384 GPHOTO2_LIBS
=""; GPHOTO2_CFLAGS
=""
12388 CPPFLAGS
=$ac_save_CPPFLAGS
12389 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS
=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12390 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS
=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12392 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
12393 if ${PKG_CONFIG+:} false
; then :
12394 GPHOTO2_PORT_CFLAGS
=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
12397 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS
=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
12398 if ${GPHOTO2_PORT_LIBS:+false} :; then :
12399 if ${PKG_CONFIG+:} false
; then :
12400 GPHOTO2_PORT_LIBS
=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
12403 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS
=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
12404 GPHOTO2_PORT_LIBS
=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
12405 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
12406 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
12407 ac_save_CPPFLAGS
=$CPPFLAGS
12408 CPPFLAGS
="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
12409 ac_fn_c_check_header_mongrel
"$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
12410 if test "x$ac_cv_header_gphoto2_port_h" = xyes
; then :
12411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
12412 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
12413 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false
; then :
12414 $as_echo_n "(cached) " >&6
12416 ac_check_lib_save_LIBS
=$LIBS
12417 LIBS
="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
12418 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12419 /* end confdefs.h. */
12421 /* Override any GCC internal prototype to avoid an error.
12422 Use char because int might match the return type of a GCC
12423 builtin and then its argument prototype would still apply. */
12427 char gp_port_info_list_new ();
12431 return gp_port_info_list_new ();
12436 if ac_fn_c_try_link
"$LINENO"; then :
12437 ac_cv_lib_gphoto2_port_gp_port_info_list_new
=yes
12439 ac_cv_lib_gphoto2_port_gp_port_info_list_new
=no
12441 rm -f core conftest.err conftest.
$ac_objext \
12442 conftest
$ac_exeext conftest.
$ac_ext
12443 LIBS
=$ac_check_lib_save_LIBS
12445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
12446 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
12447 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes
; then :
12449 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
12452 GPHOTO2_PORT_LIBS
=""; GPHOTO2_PORT_CFLAGS
=""
12456 GPHOTO2_PORT_LIBS
=""; GPHOTO2_PORT_CFLAGS
=""
12460 CPPFLAGS
=$ac_save_CPPFLAGS
12461 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS
=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12462 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS
=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12465 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
12466 case "x$with_gphoto" in
12467 x
) as_fn_append wine_notices
"|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
12469 *) as_fn_error $?
"libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
12470 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12474 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
12475 case "x$with_gphoto" in
12476 x
) as_fn_append wine_notices
"|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
12478 *) as_fn_error $?
"libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
12479 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12485 if test "$ac_cv_header_resolv_h" = "yes"
12487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
12488 $as_echo_n "checking for resolver library... " >&6; }
12489 if ${ac_cv_have_resolv+:} false
; then :
12490 $as_echo_n "(cached) " >&6
12492 ac_save_LIBS
="$LIBS"
12493 for lib
in '' -lresolv
12495 LIBS
="$lib $ac_save_LIBS"
12496 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12497 /* end confdefs.h. */
12498 #ifdef HAVE_NETINET_IN_H
12499 #include <netinet/in.h>
12501 #include <resolv.h>
12505 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
12510 if ac_fn_c_try_link
"$LINENO"; then :
12511 ac_cv_have_resolv
=${lib:-"none required"}
12513 ac_cv_have_resolv
="not found"
12515 rm -f core conftest.err conftest.
$ac_objext \
12516 conftest
$ac_exeext conftest.
$ac_ext
12517 test "x$ac_cv_have_resolv" = "xnot found" ||
break
12519 LIBS
="$ac_save_LIBS"
12521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
12522 $as_echo "$ac_cv_have_resolv" >&6; }
12524 case "$ac_cv_have_resolv" in
12528 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12531 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12533 RESOLV_LIBS
=$ac_cv_have_resolv
12538 if test "x$with_cms" != "xno"
12540 if ${LCMS2_CFLAGS:+false} :; then :
12541 if ${PKG_CONFIG+:} false
; then :
12542 LCMS2_CFLAGS
=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
12546 if ${LCMS2_LIBS:+false} :; then :
12547 if ${PKG_CONFIG+:} false
; then :
12548 LCMS2_LIBS
=`$PKG_CONFIG --libs lcms2 2>/dev/null`
12552 LCMS2_LIBS
=${LCMS2_LIBS:-"-llcms2"}
12553 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
12554 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
12555 ac_save_CPPFLAGS
=$CPPFLAGS
12556 CPPFLAGS
="$CPPFLAGS $LCMS2_CFLAGS"
12557 for ac_header
in lcms2.h
12559 ac_fn_c_check_header_mongrel
"$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
12560 if test "x$ac_cv_header_lcms2_h" = xyes
; then :
12561 cat >>confdefs.h
<<_ACEOF
12562 #define HAVE_LCMS2_H 1
12569 if test "$ac_cv_header_lcms2_h" = "yes"
12571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
12572 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
12573 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false
; then :
12574 $as_echo_n "(cached) " >&6
12576 ac_check_lib_save_LIBS
=$LIBS
12577 LIBS
="-llcms2 $LCMS2_LIBS $LIBS"
12578 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12579 /* end confdefs.h. */
12581 /* Override any GCC internal prototype to avoid an error.
12582 Use char because int might match the return type of a GCC
12583 builtin and then its argument prototype would still apply. */
12587 char cmsOpenProfileFromFile ();
12591 return cmsOpenProfileFromFile ();
12596 if ac_fn_c_try_link
"$LINENO"; then :
12597 ac_cv_lib_lcms2_cmsOpenProfileFromFile
=yes
12599 ac_cv_lib_lcms2_cmsOpenProfileFromFile
=no
12601 rm -f core conftest.err conftest.
$ac_objext \
12602 conftest
$ac_exeext conftest.
$ac_ext
12603 LIBS
=$ac_check_lib_save_LIBS
12605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
12606 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
12607 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes
; then :
12609 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
12619 CPPFLAGS
=$ac_save_CPPFLAGS
12620 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS
=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12621 test -z "$LCMS2_LIBS" || LCMS2_LIBS
=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12624 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
12625 case "x$with_cms" in
12626 x
) as_fn_append wine_notices
"|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
12628 *) as_fn_error $?
"liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
12629 This is an error since --with-cms was requested." "$LINENO" 5 ;;
12634 if test "x$with_freetype" != "xno"
12636 if ${FREETYPE_CFLAGS:+false} :; then :
12637 if ${PKG_CONFIG+:} false
; then :
12638 FREETYPE_CFLAGS
=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
12641 test "$cross_compiling" = yes || FREETYPE_CFLAGS
=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
12642 if ${FREETYPE_LIBS:+false} :; then :
12643 if ${PKG_CONFIG+:} false
; then :
12644 FREETYPE_LIBS
=`$PKG_CONFIG --libs freetype2 2>/dev/null`
12647 test "$cross_compiling" = yes || FREETYPE_LIBS
=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
12648 FREETYPE_LIBS
=${FREETYPE_LIBS:-"-lfreetype"}
12649 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
12650 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
12651 ac_save_CPPFLAGS
=$CPPFLAGS
12652 CPPFLAGS
="$CPPFLAGS $FREETYPE_CFLAGS"
12653 for ac_header
in ft2build.h
12655 ac_fn_c_check_header_mongrel
"$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
12656 if test "x$ac_cv_header_ft2build_h" = xyes
; then :
12657 cat >>confdefs.h
<<_ACEOF
12658 #define HAVE_FT2BUILD_H 1
12665 if test "$ac_cv_header_ft2build_h" = "yes"
12667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
12668 $as_echo_n "checking for -lfreetype... " >&6; }
12669 if ${ac_cv_lib_soname_freetype+:} false
; then :
12670 $as_echo_n "(cached) " >&6
12672 ac_check_soname_save_LIBS
=$LIBS
12673 LIBS
="-lfreetype $FREETYPE_LIBS $LIBS"
12674 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12675 /* end confdefs.h. */
12677 /* Override any GCC internal prototype to avoid an error.
12678 Use char because int might match the return type of a GCC
12679 builtin and then its argument prototype would still apply. */
12683 char FT_Init_FreeType ();
12687 return FT_Init_FreeType ();
12692 if ac_fn_c_try_link
"$LINENO"; then :
12694 dll
) ac_cv_lib_soname_freetype
=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12695 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'` ;;
12696 *) ac_cv_lib_soname_freetype
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12697 if ${ac_cv_lib_soname_freetype:+false} :; then :
12698 ac_cv_lib_soname_freetype
=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12702 rm -f core conftest.err conftest.
$ac_objext \
12703 conftest
$ac_exeext conftest.
$ac_ext
12704 LIBS
=$ac_check_soname_save_LIBS
12706 if ${ac_cv_lib_soname_freetype:+false} :; then :
12707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12708 $as_echo "not found" >&6; }
12711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
12712 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
12714 cat >>confdefs.h
<<_ACEOF
12715 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
12719 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
12721 ac_fn_c_check_type
"$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
12722 #include FT_MODULE_H
12724 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes
; then :
12726 cat >>confdefs.h
<<_ACEOF
12727 #define HAVE_FT_TRUETYPEENGINETYPE 1
12738 CPPFLAGS
=$ac_save_CPPFLAGS
12739 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS
=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12740 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS
=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12743 if test "x$ac_cv_lib_soname_freetype" = x
; then :
12744 case "x$with_freetype" in
12746 *) as_fn_error $?
"FreeType ${notice_platform}development files not found. Fonts will not be built.
12747 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
12749 enable_fonts
=${enable_fonts:-no}
12752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
12753 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
12754 if ${ac_cv_c_ppdev+:} false
; then :
12755 $as_echo_n "(cached) " >&6
12757 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12758 /* end confdefs.h. */
12759 #ifdef HAVE_SYS_IOCTL_H
12760 # include <sys/ioctl.h>
12762 #include <linux/ppdev.h>
12766 ioctl (1,PPCLAIM,0)
12771 if ac_fn_c_try_compile
"$LINENO"; then :
12772 ac_cv_c_ppdev
="yes"
12776 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
12779 $as_echo "$ac_cv_c_ppdev" >&6; }
12780 if test "$ac_cv_c_ppdev" = "yes"
12783 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
12787 ac_wine_check_funcs_save_LIBS
="$LIBS"
12788 LIBS
="$LIBS $PTHREAD_LIBS"
12790 pthread_attr_get_np \
12791 pthread_getattr_np \
12792 pthread_getthreadid_np \
12793 pthread_get_stackaddr_np \
12794 pthread_get_stacksize_np
12796 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12797 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
12798 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
12799 cat >>confdefs.h
<<_ACEOF
12800 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12806 LIBS
="$ac_wine_check_funcs_save_LIBS"
12808 if test "$ac_cv_header_zlib_h" = "yes"
12810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
12811 $as_echo_n "checking for inflate in -lz... " >&6; }
12812 if ${ac_cv_lib_z_inflate+:} false
; then :
12813 $as_echo_n "(cached) " >&6
12815 ac_check_lib_save_LIBS
=$LIBS
12817 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12818 /* end confdefs.h. */
12820 /* Override any GCC internal prototype to avoid an error.
12821 Use char because int might match the return type of a GCC
12822 builtin and then its argument prototype would still apply. */
12835 if ac_fn_c_try_link
"$LINENO"; then :
12836 ac_cv_lib_z_inflate
=yes
12838 ac_cv_lib_z_inflate
=no
12840 rm -f core conftest.err conftest.
$ac_objext \
12841 conftest
$ac_exeext conftest.
$ac_ext
12842 LIBS
=$ac_check_lib_save_LIBS
12844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
12845 $as_echo "$ac_cv_lib_z_inflate" >&6; }
12846 if test "x$ac_cv_lib_z_inflate" = xyes
; then :
12848 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
12855 if test "x$Z_LIBS" = "x"; then :
12856 case "x$with_zlib" in
12857 x
) as_fn_append wine_notices
"|libz ${notice_platform}development files not found, data compression won't be supported." ;;
12859 *) as_fn_error $?
"libz ${notice_platform}development files not found, data compression won't be supported.
12860 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
12865 if test "x$enable_tools" != xno
-a "x$with_gettextpo" = xyes
12867 if test "$ac_cv_header_gettext_po_h" = "yes"
12869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
12870 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
12871 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false
; then :
12872 $as_echo_n "(cached) " >&6
12874 ac_check_lib_save_LIBS
=$LIBS
12875 LIBS
="-lgettextpo $LIBS"
12876 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12877 /* end confdefs.h. */
12879 /* Override any GCC internal prototype to avoid an error.
12880 Use char because int might match the return type of a GCC
12881 builtin and then its argument prototype would still apply. */
12885 char po_message_msgctxt ();
12889 return po_message_msgctxt ();
12894 if ac_fn_c_try_link
"$LINENO"; then :
12895 ac_cv_lib_gettextpo_po_message_msgctxt
=yes
12897 ac_cv_lib_gettextpo_po_message_msgctxt
=no
12899 rm -f core conftest.err conftest.
$ac_objext \
12900 conftest
$ac_exeext conftest.
$ac_ext
12901 LIBS
=$ac_check_lib_save_LIBS
12903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
12904 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
12905 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes
; then :
12907 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
12909 GETTEXTPO_LIBS
="-lgettextpo"
12914 if test "x$GETTEXTPO_LIBS" = "x"; then :
12915 case "x$with_gettextpo" in
12916 x
) as_fn_append wine_notices
"|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
12918 *) as_fn_error $?
"GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
12919 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12923 if test "$srcdir" != .
; then :
12924 case "x$with_gettextpo" in
12925 x
) as_fn_append wine_notices
"|Rebuilding po files is not supported for out of tree builds." ;;
12927 *) as_fn_error $?
"Rebuilding po files is not supported for out of tree builds.
12928 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12934 if test "x$with_pulse" != "xno";
12936 if ${PULSE_CFLAGS:+false} :; then :
12937 if ${PKG_CONFIG+:} false
; then :
12938 PULSE_CFLAGS
=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
12942 if ${PULSE_LIBS:+false} :; then :
12943 if ${PKG_CONFIG+:} false
; then :
12944 PULSE_LIBS
=`$PKG_CONFIG --libs libpulse 2>/dev/null`
12949 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
12950 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
12951 ac_save_CPPFLAGS
=$CPPFLAGS
12952 CPPFLAGS
="$CPPFLAGS $PULSE_CFLAGS"
12953 for ac_header
in pulse
/pulseaudio.h
12955 ac_fn_c_check_header_mongrel
"$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
12956 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes
; then :
12957 cat >>confdefs.h
<<_ACEOF
12958 #define HAVE_PULSE_PULSEAUDIO_H 1
12960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
12961 $as_echo_n "checking for pa_stream_is_corked in -lpulse... " >&6; }
12962 if ${ac_cv_lib_pulse_pa_stream_is_corked+:} false
; then :
12963 $as_echo_n "(cached) " >&6
12965 ac_check_lib_save_LIBS
=$LIBS
12966 LIBS
="-lpulse $PULSE_LIBS $LIBS"
12967 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12968 /* end confdefs.h. */
12970 /* Override any GCC internal prototype to avoid an error.
12971 Use char because int might match the return type of a GCC
12972 builtin and then its argument prototype would still apply. */
12976 char pa_stream_is_corked ();
12980 return pa_stream_is_corked ();
12985 if ac_fn_c_try_link
"$LINENO"; then :
12986 ac_cv_lib_pulse_pa_stream_is_corked
=yes
12988 ac_cv_lib_pulse_pa_stream_is_corked
=no
12990 rm -f core conftest.err conftest.
$ac_objext \
12991 conftest
$ac_exeext conftest.
$ac_ext
12992 LIBS
=$ac_check_lib_save_LIBS
12994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
12995 $as_echo "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
12996 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes
; then :
13008 CPPFLAGS
=$ac_save_CPPFLAGS
13009 test -z "$PULSE_CFLAGS" || PULSE_CFLAGS
=`echo " $PULSE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13010 test -z "$PULSE_LIBS" || PULSE_LIBS
=`echo " $PULSE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13013 if test -z "$PULSE_LIBS"; then :
13014 case "x$with_pulse" in
13015 x
) as_fn_append wine_notices
"|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
13017 *) as_fn_error $?
"libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
13018 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
13020 enable_winepulse_drv
=${enable_winepulse_drv:-no}
13023 if test "x$with_gstreamer" != "xno"
13025 if ${GSTREAMER_CFLAGS:+false} :; then :
13026 if ${PKG_CONFIG+:} false
; then :
13027 GSTREAMER_CFLAGS
=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
13031 if ${GSTREAMER_LIBS:+false} :; then :
13032 if ${PKG_CONFIG+:} false
; then :
13033 GSTREAMER_LIBS
=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
13038 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
13039 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
13040 ac_save_CPPFLAGS
=$CPPFLAGS
13041 CPPFLAGS
="$CPPFLAGS $GSTREAMER_CFLAGS"
13043 for i
in $GSTREAMER_CFLAGS
13046 -I*) ac_gst_incl
="$ac_gst_incl $i";;
13049 GSTREAMER_CFLAGS
=$ac_gst_incl
13050 CPPFLAGS
="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
13051 ac_fn_c_check_header_mongrel
"$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
13052 if test "x$ac_cv_header_gst_gst_h" = xyes
; then :
13053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
13054 $as_echo_n "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
13055 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13056 /* end confdefs.h. */
13057 #include <gst/gst.h>
13061 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
13066 if ac_fn_c_try_compile
"$LINENO"; then :
13067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13068 $as_echo "yes" >&6; }
13069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
13070 $as_echo_n "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
13071 if ${ac_cv_lib_gstreamer_1_0_gst_pad_new+:} false
; then :
13072 $as_echo_n "(cached) " >&6
13074 ac_check_lib_save_LIBS
=$LIBS
13075 LIBS
="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
13076 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13077 /* end confdefs.h. */
13079 /* Override any GCC internal prototype to avoid an error.
13080 Use char because int might match the return type of a GCC
13081 builtin and then its argument prototype would still apply. */
13085 char gst_pad_new ();
13089 return gst_pad_new ();
13094 if ac_fn_c_try_link
"$LINENO"; then :
13095 ac_cv_lib_gstreamer_1_0_gst_pad_new
=yes
13097 ac_cv_lib_gstreamer_1_0_gst_pad_new
=no
13099 rm -f core conftest.err conftest.
$ac_objext \
13100 conftest
$ac_exeext conftest.
$ac_ext
13101 LIBS
=$ac_check_lib_save_LIBS
13103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
13104 $as_echo "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
13105 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes
; then :
13110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13111 $as_echo "no" >&6; }
13112 ac_glib2_broken
=yes
13113 as_fn_append wine_notices
"|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
13115 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13119 CPPFLAGS
=$ac_save_CPPFLAGS
13120 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS
=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13121 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS
=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13124 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 :
13125 case "x$with_gstreamer" in
13126 x
) as_fn_append wine_notices
"|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
13128 *) as_fn_error $?
"gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
13129 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
13133 test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes || enable_winegstreamer
=${enable_winegstreamer:-no}
13137 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
13139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
13140 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
13141 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false
; then :
13142 $as_echo_n "(cached) " >&6
13144 ac_check_lib_save_LIBS
=$LIBS
13145 LIBS
="-lasound $LIBS"
13146 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13147 /* end confdefs.h. */
13149 /* Override any GCC internal prototype to avoid an error.
13150 Use char because int might match the return type of a GCC
13151 builtin and then its argument prototype would still apply. */
13155 char snd_pcm_hw_params_get_access_mask ();
13159 return snd_pcm_hw_params_get_access_mask ();
13164 if ac_fn_c_try_link
"$LINENO"; then :
13165 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask
=yes
13167 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask
=no
13169 rm -f core conftest.err conftest.
$ac_objext \
13170 conftest
$ac_exeext conftest.
$ac_ext
13171 LIBS
=$ac_check_lib_save_LIBS
13173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
13174 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
13175 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes
; then :
13176 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13177 /* end confdefs.h. */
13178 #ifdef HAVE_ALSA_ASOUNDLIB_H
13179 #include <alsa/asoundlib.h>
13180 #elif defined(HAVE_SYS_ASOUNDLIB_H)
13181 #include <sys/asoundlib.h>
13186 snd_pcm_hw_params_get_access_mask(NULL, NULL)
13191 if ac_fn_c_try_compile
"$LINENO"; then :
13192 ALSA_LIBS
="-lasound"
13194 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13198 test -n "$ALSA_LIBS" || enable_winealsa_drv
=${enable_winealsa_drv:-no}
13200 if test "x$with_oss" != xno
13202 ac_save_CPPFLAGS
="$CPPFLAGS"
13203 if test -f /etc
/oss.conf
13207 ac_oss_incl
="-I${OSSLIBDIR:-/usr/lib/oss}/include"
13208 CPPFLAGS
="$CPPFLAGS $ac_oss_incl"
13209 ac_fn_c_check_header_mongrel
"$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
13210 if test "x$ac_cv_header_sys_soundcard_h" = xyes
; then :
13211 ac_fn_c_check_member
"$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
13213 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes
; then :
13215 cat >>confdefs.h
<<_ACEOF
13216 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
13219 OSS4_CFLAGS
="$ac_oss_incl"
13226 CPPFLAGS
="$ac_save_CPPFLAGS"
13228 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
; then :
13229 case "x$with_oss" in
13230 x
) as_fn_append wine_notices
"|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
13232 *) as_fn_error $?
"OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
13233 This is an error since --with-oss was requested." "$LINENO" 5 ;;
13235 enable_wineoss_drv
=${enable_wineoss_drv:-no}
13238 if test "x$with_udev" != "xno"
13240 if ${UDEV_CFLAGS:+false} :; then :
13241 if ${PKG_CONFIG+:} false
; then :
13242 UDEV_CFLAGS
=`$PKG_CONFIG --cflags libudev 2>/dev/null`
13246 if ${UDEV_LIBS:+false} :; then :
13247 if ${PKG_CONFIG+:} false
; then :
13248 UDEV_LIBS
=`$PKG_CONFIG --libs libudev 2>/dev/null`
13252 UDEV_LIBS
=${UDEV_LIBS:-"-ludev"}
13253 $as_echo "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
13254 $as_echo "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
13255 ac_save_CPPFLAGS
=$CPPFLAGS
13256 CPPFLAGS
="$CPPFLAGS $UDEV_CFLAGS"
13257 for ac_header
in libudev.h
13259 ac_fn_c_check_header_mongrel
"$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
13260 if test "x$ac_cv_header_libudev_h" = xyes
; then :
13261 cat >>confdefs.h
<<_ACEOF
13262 #define HAVE_LIBUDEV_H 1
13264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
13265 $as_echo_n "checking for udev_new in -ludev... " >&6; }
13266 if ${ac_cv_lib_udev_udev_new+:} false
; then :
13267 $as_echo_n "(cached) " >&6
13269 ac_check_lib_save_LIBS
=$LIBS
13270 LIBS
="-ludev $UDEV_LIBS $LIBS"
13271 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13272 /* end confdefs.h. */
13274 /* Override any GCC internal prototype to avoid an error.
13275 Use char because int might match the return type of a GCC
13276 builtin and then its argument prototype would still apply. */
13284 return udev_new ();
13289 if ac_fn_c_try_link
"$LINENO"; then :
13290 ac_cv_lib_udev_udev_new
=yes
13292 ac_cv_lib_udev_udev_new
=no
13294 rm -f core conftest.err conftest.
$ac_objext \
13295 conftest
$ac_exeext conftest.
$ac_ext
13296 LIBS
=$ac_check_lib_save_LIBS
13298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
13299 $as_echo "$ac_cv_lib_udev_udev_new" >&6; }
13300 if test "x$ac_cv_lib_udev_udev_new" = xyes
; then :
13302 $as_echo "#define HAVE_UDEV 1" >>confdefs.h
13314 CPPFLAGS
=$ac_save_CPPFLAGS
13315 test -z "$UDEV_CFLAGS" || UDEV_CFLAGS
=`echo " $UDEV_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13316 test -z "$UDEV_LIBS" || UDEV_LIBS
=`echo " $UDEV_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13319 if test "x$UDEV_LIBS" = "x"; then :
13320 case "x$with_udev" in
13321 x
) as_fn_append wine_notices
"|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
13323 *) as_fn_error $?
"libudev ${notice_platform}development files not found, plug and play won't be supported.
13324 This is an error since --with-udev was requested." "$LINENO" 5 ;;
13329 if test "x$with_capi" != "xno"
13331 if ${CAPI20_CFLAGS:+false} :; then :
13332 if ${PKG_CONFIG+:} false
; then :
13333 CAPI20_CFLAGS
=`$PKG_CONFIG --cflags capi20 2>/dev/null`
13337 if ${CAPI20_LIBS:+false} :; then :
13338 if ${PKG_CONFIG+:} false
; then :
13339 CAPI20_LIBS
=`$PKG_CONFIG --libs capi20 2>/dev/null`
13344 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
13345 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
13346 ac_save_CPPFLAGS
=$CPPFLAGS
13347 CPPFLAGS
="$CPPFLAGS $CAPI20_CFLAGS"
13348 for ac_header
in capi20.h linux
/capi.h
13350 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13351 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#define __user
13353 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
13354 cat >>confdefs.h
<<_ACEOF
13355 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13362 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
13364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
13365 $as_echo_n "checking for -lcapi20... " >&6; }
13366 if ${ac_cv_lib_soname_capi20+:} false
; then :
13367 $as_echo_n "(cached) " >&6
13369 ac_check_soname_save_LIBS
=$LIBS
13370 LIBS
="-lcapi20 $CAPI20_LIBS $LIBS"
13371 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13372 /* end confdefs.h. */
13374 /* Override any GCC internal prototype to avoid an error.
13375 Use char because int might match the return type of a GCC
13376 builtin and then its argument prototype would still apply. */
13380 char capi20_register ();
13384 return capi20_register ();
13389 if ac_fn_c_try_link
"$LINENO"; then :
13391 dll
) ac_cv_lib_soname_capi20
=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13392 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'` ;;
13393 *) ac_cv_lib_soname_capi20
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13394 if ${ac_cv_lib_soname_capi20:+false} :; then :
13395 ac_cv_lib_soname_capi20
=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13399 rm -f core conftest.err conftest.
$ac_objext \
13400 conftest
$ac_exeext conftest.
$ac_ext
13401 LIBS
=$ac_check_soname_save_LIBS
13403 if ${ac_cv_lib_soname_capi20:+false} :; then :
13404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13405 $as_echo "not found" >&6; }
13408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
13409 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
13411 cat >>confdefs.h
<<_ACEOF
13412 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
13418 CPPFLAGS
=$ac_save_CPPFLAGS
13419 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS
=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13420 test -z "$CAPI20_LIBS" || CAPI20_LIBS
=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13423 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
13424 case "x$with_capi" in
13425 x
) as_fn_append wine_notices
"|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
13427 *) as_fn_error $?
"libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
13428 This is an error since --with-capi was requested." "$LINENO" 5 ;;
13435 if test "x$with_cups" != "xno"
13437 ac_save_CPPFLAGS
="$CPPFLAGS"
13438 ac_cups_cflags
=`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`
13439 ac_cups_libs
=`${CUPS_CONFIG:-cups-config} --ldflags 2>/dev/null`
13440 CPPFLAGS
="$CPPFLAGS $ac_cups_cflags"
13441 for ac_header
in cups
/cups.h
13443 ac_fn_c_check_header_mongrel
"$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
13444 if test "x$ac_cv_header_cups_cups_h" = xyes
; then :
13445 cat >>confdefs.h
<<_ACEOF
13446 #define HAVE_CUPS_CUPS_H 1
13448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
13449 $as_echo_n "checking for -lcups... " >&6; }
13450 if ${ac_cv_lib_soname_cups+:} false
; then :
13451 $as_echo_n "(cached) " >&6
13453 ac_check_soname_save_LIBS
=$LIBS
13454 LIBS
="-lcups $ac_cups_libs $LIBS"
13455 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13456 /* end confdefs.h. */
13458 /* Override any GCC internal prototype to avoid an error.
13459 Use char because int might match the return type of a GCC
13460 builtin and then its argument prototype would still apply. */
13464 char cupsGetDefault ();
13468 return cupsGetDefault ();
13473 if ac_fn_c_try_link
"$LINENO"; then :
13475 dll
) ac_cv_lib_soname_cups
=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13476 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'` ;;
13477 *) ac_cv_lib_soname_cups
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13478 if ${ac_cv_lib_soname_cups:+false} :; then :
13479 ac_cv_lib_soname_cups
=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13483 rm -f core conftest.err conftest.
$ac_objext \
13484 conftest
$ac_exeext conftest.
$ac_ext
13485 LIBS
=$ac_check_soname_save_LIBS
13487 if ${ac_cv_lib_soname_cups:+false} :; then :
13488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13489 $as_echo "not found" >&6; }
13492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
13493 $as_echo "$ac_cv_lib_soname_cups" >&6; }
13495 cat >>confdefs.h
<<_ACEOF
13496 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
13499 CUPS_CFLAGS
="$ac_cups_cflags"
13501 for ac_header
in cups
/ppd.h
13503 ac_fn_c_check_header_mongrel
"$LINENO" "cups/ppd.h" "ac_cv_header_cups_ppd_h" "$ac_includes_default"
13504 if test "x$ac_cv_header_cups_ppd_h" = xyes
; then :
13505 cat >>confdefs.h
<<_ACEOF
13506 #define HAVE_CUPS_PPD_H 1
13517 CPPFLAGS
="$ac_save_CPPFLAGS"
13519 if test "x$ac_cv_lib_soname_cups" = "x"; then :
13520 case "x$with_cups" in
13521 x
) as_fn_append wine_notices
"|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
13523 *) as_fn_error $?
"libcups ${notice_platform}development files not found, CUPS won't be supported.
13524 This is an error since --with-cups was requested." "$LINENO" 5 ;;
13529 if test "x$with_fontconfig" != "xno"
13531 if ${FONTCONFIG_CFLAGS:+false} :; then :
13532 if ${PKG_CONFIG+:} false
; then :
13533 FONTCONFIG_CFLAGS
=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
13536 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS
=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
13537 if ${FONTCONFIG_LIBS:+false} :; then :
13538 if ${PKG_CONFIG+:} false
; then :
13539 FONTCONFIG_LIBS
=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
13542 test "$cross_compiling" = yes || FONTCONFIG_LIBS
=${FONTCONFIG_LIBS:-$X_LIBS}
13544 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
13545 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
13546 ac_save_CPPFLAGS
=$CPPFLAGS
13547 CPPFLAGS
="$CPPFLAGS $FONTCONFIG_CFLAGS"
13548 for ac_header
in fontconfig
/fontconfig.h
13550 ac_fn_c_check_header_mongrel
"$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
13551 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes
; then :
13552 cat >>confdefs.h
<<_ACEOF
13553 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
13560 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
13562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
13563 $as_echo_n "checking for -lfontconfig... " >&6; }
13564 if ${ac_cv_lib_soname_fontconfig+:} false
; then :
13565 $as_echo_n "(cached) " >&6
13567 ac_check_soname_save_LIBS
=$LIBS
13568 LIBS
="-lfontconfig $FONTCONFIG_LIBS $LIBS"
13569 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13570 /* end confdefs.h. */
13572 /* Override any GCC internal prototype to avoid an error.
13573 Use char because int might match the return type of a GCC
13574 builtin and then its argument prototype would still apply. */
13587 if ac_fn_c_try_link
"$LINENO"; then :
13589 dll
) ac_cv_lib_soname_fontconfig
=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13590 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'` ;;
13591 *) ac_cv_lib_soname_fontconfig
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13592 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13593 ac_cv_lib_soname_fontconfig
=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13597 rm -f core conftest.err conftest.
$ac_objext \
13598 conftest
$ac_exeext conftest.
$ac_ext
13599 LIBS
=$ac_check_soname_save_LIBS
13601 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13603 $as_echo "not found" >&6; }
13604 FONTCONFIG_CFLAGS
=""
13606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
13607 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
13609 cat >>confdefs.h
<<_ACEOF
13610 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
13616 FONTCONFIG_CFLAGS
=""
13618 CPPFLAGS
=$ac_save_CPPFLAGS
13619 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS
=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13620 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS
=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13623 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
13624 case "x$with_fontconfig" in
13625 x
) as_fn_append wine_notices
"|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
13627 *) as_fn_error $?
"fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
13628 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
13633 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
13635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
13636 $as_echo_n "checking for -lgsm... " >&6; }
13637 if ${ac_cv_lib_soname_gsm+:} false
; then :
13638 $as_echo_n "(cached) " >&6
13640 ac_check_soname_save_LIBS
=$LIBS
13642 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13643 /* end confdefs.h. */
13645 /* Override any GCC internal prototype to avoid an error.
13646 Use char because int might match the return type of a GCC
13647 builtin and then its argument prototype would still apply. */
13651 char gsm_create ();
13655 return gsm_create ();
13660 if ac_fn_c_try_link
"$LINENO"; then :
13662 dll
) ac_cv_lib_soname_gsm
=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13663 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'` ;;
13664 *) ac_cv_lib_soname_gsm
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13665 if ${ac_cv_lib_soname_gsm:+false} :; then :
13666 ac_cv_lib_soname_gsm
=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13670 rm -f core conftest.err conftest.
$ac_objext \
13671 conftest
$ac_exeext conftest.
$ac_ext
13672 LIBS
=$ac_check_soname_save_LIBS
13674 if ${ac_cv_lib_soname_gsm:+false} :; then :
13675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13676 $as_echo "not found" >&6; }
13679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
13680 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
13682 cat >>confdefs.h
<<_ACEOF
13683 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
13689 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
13690 case "x$with_gsm" in
13691 x
) as_fn_append wine_notices
"|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
13693 *) as_fn_error $?
"libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
13694 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
13699 if test "x$with_jpeg" != "xno"
13701 if ${JPEG_CFLAGS:+false} :; then :
13702 if ${PKG_CONFIG+:} false
; then :
13703 JPEG_CFLAGS
=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
13707 if ${JPEG_LIBS:+false} :; then :
13708 if ${PKG_CONFIG+:} false
; then :
13709 JPEG_LIBS
=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
13714 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
13715 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
13716 ac_save_CPPFLAGS
=$CPPFLAGS
13717 CPPFLAGS
="$CPPFLAGS $JPEG_CFLAGS"
13718 for ac_header
in jpeglib.h
13720 ac_fn_c_check_header_mongrel
"$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
13721 if test "x$ac_cv_header_jpeglib_h" = xyes
; then :
13722 cat >>confdefs.h
<<_ACEOF
13723 #define HAVE_JPEGLIB_H 1
13730 if test "$ac_cv_header_jpeglib_h" = "yes"
13732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
13733 $as_echo_n "checking for -ljpeg... " >&6; }
13734 if ${ac_cv_lib_soname_jpeg+:} false
; then :
13735 $as_echo_n "(cached) " >&6
13737 ac_check_soname_save_LIBS
=$LIBS
13738 LIBS
="-ljpeg $JPEG_LIBS $LIBS"
13739 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13740 /* end confdefs.h. */
13742 /* Override any GCC internal prototype to avoid an error.
13743 Use char because int might match the return type of a GCC
13744 builtin and then its argument prototype would still apply. */
13748 char jpeg_start_decompress ();
13752 return jpeg_start_decompress ();
13757 if ac_fn_c_try_link
"$LINENO"; then :
13759 dll
) ac_cv_lib_soname_jpeg
=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13760 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'` ;;
13761 *) ac_cv_lib_soname_jpeg
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13762 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13763 ac_cv_lib_soname_jpeg
=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13767 rm -f core conftest.err conftest.
$ac_objext \
13768 conftest
$ac_exeext conftest.
$ac_ext
13769 LIBS
=$ac_check_soname_save_LIBS
13771 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13773 $as_echo "not found" >&6; }
13776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
13777 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
13779 cat >>confdefs.h
<<_ACEOF
13780 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
13788 CPPFLAGS
=$ac_save_CPPFLAGS
13789 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS
=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13790 test -z "$JPEG_LIBS" || JPEG_LIBS
=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13793 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
13794 case "x$with_jpeg" in
13795 x
) as_fn_append wine_warnings
"|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
13797 *) as_fn_error $?
"libjpeg ${notice_platform}development files not found, JPEG won't be supported.
13798 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
13803 if test "x$with_png" != "xno"
13805 if ${PNG_CFLAGS:+false} :; then :
13806 if ${PKG_CONFIG+:} false
; then :
13807 PNG_CFLAGS
=`$PKG_CONFIG --cflags libpng 2>/dev/null`
13810 test "$cross_compiling" = yes || PNG_CFLAGS
=${PNG_CFLAGS:-$X_CFLAGS}
13811 if ${PNG_LIBS:+false} :; then :
13812 if ${PKG_CONFIG+:} false
; then :
13813 PNG_LIBS
=`$PKG_CONFIG --libs libpng 2>/dev/null`
13816 test "$cross_compiling" = yes || PNG_LIBS
=${PNG_LIBS:-$X_LIBS}
13818 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
13819 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
13820 ac_save_CPPFLAGS
=$CPPFLAGS
13821 CPPFLAGS
="$CPPFLAGS $PNG_CFLAGS"
13822 for ac_header
in png.h
13824 ac_fn_c_check_header_mongrel
"$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
13825 if test "x$ac_cv_header_png_h" = xyes
; then :
13826 cat >>confdefs.h
<<_ACEOF
13827 #define HAVE_PNG_H 1
13834 if test "$ac_cv_header_png_h" = "yes"
13836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
13837 $as_echo_n "checking for -lpng... " >&6; }
13838 if ${ac_cv_lib_soname_png+:} false
; then :
13839 $as_echo_n "(cached) " >&6
13841 ac_check_soname_save_LIBS
=$LIBS
13842 LIBS
="-lpng $PNG_LIBS -lm -lz $LIBS"
13843 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13844 /* end confdefs.h. */
13846 /* Override any GCC internal prototype to avoid an error.
13847 Use char because int might match the return type of a GCC
13848 builtin and then its argument prototype would still apply. */
13852 char png_create_read_struct ();
13856 return png_create_read_struct ();
13861 if ac_fn_c_try_link
"$LINENO"; then :
13863 dll
) ac_cv_lib_soname_png
=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13864 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'` ;;
13865 *) 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'`
13866 if ${ac_cv_lib_soname_png:+false} :; then :
13867 ac_cv_lib_soname_png
=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13871 rm -f core conftest.err conftest.
$ac_objext \
13872 conftest
$ac_exeext conftest.
$ac_ext
13873 LIBS
=$ac_check_soname_save_LIBS
13875 if ${ac_cv_lib_soname_png:+false} :; then :
13876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13877 $as_echo "not found" >&6; }
13880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
13881 $as_echo "$ac_cv_lib_soname_png" >&6; }
13883 cat >>confdefs.h
<<_ACEOF
13884 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
13887 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13888 /* end confdefs.h. */
13893 typeof(png_set_expand_gray_1_2_4_to_8) *p
13898 if ac_fn_c_try_compile
"$LINENO"; then :
13900 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
13903 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13908 CPPFLAGS
=$ac_save_CPPFLAGS
13909 test -z "$PNG_CFLAGS" || PNG_CFLAGS
=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13910 test -z "$PNG_LIBS" || PNG_LIBS
=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13913 if test "x$ac_cv_lib_soname_png" = "x"; then :
13914 case "x$with_png" in
13915 x
) as_fn_append wine_warnings
"|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
13917 *) as_fn_error $?
"libpng ${notice_platform}development files not found, PNG won't be supported.
13918 This is an error since --with-png was requested." "$LINENO" 5 ;;
13923 if test "x$with_tiff" != "xno"
13925 if ${TIFF_CFLAGS:+false} :; then :
13926 if ${PKG_CONFIG+:} false
; then :
13927 TIFF_CFLAGS
=`$PKG_CONFIG --cflags libtiff-4 2>/dev/null`
13931 if ${TIFF_LIBS:+false} :; then :
13932 if ${PKG_CONFIG+:} false
; then :
13933 TIFF_LIBS
=`$PKG_CONFIG --libs libtiff-4 2>/dev/null`
13938 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 cflags: $TIFF_CFLAGS" >&5
13939 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 libs: $TIFF_LIBS" >&5
13940 ac_save_CPPFLAGS
=$CPPFLAGS
13941 CPPFLAGS
="$CPPFLAGS $TIFF_CFLAGS"
13942 for ac_header
in tiffio.h
13944 ac_fn_c_check_header_mongrel
"$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
13945 if test "x$ac_cv_header_tiffio_h" = xyes
; then :
13946 cat >>confdefs.h
<<_ACEOF
13947 #define HAVE_TIFFIO_H 1
13954 if test "$ac_cv_header_tiffio_h" = "yes"
13956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
13957 $as_echo_n "checking for -ltiff... " >&6; }
13958 if ${ac_cv_lib_soname_tiff+:} false
; then :
13959 $as_echo_n "(cached) " >&6
13961 ac_check_soname_save_LIBS
=$LIBS
13962 LIBS
="-ltiff $TIFF_LIBS $LIBS"
13963 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13964 /* end confdefs.h. */
13966 /* Override any GCC internal prototype to avoid an error.
13967 Use char because int might match the return type of a GCC
13968 builtin and then its argument prototype would still apply. */
13972 char TIFFClientOpen ();
13976 return TIFFClientOpen ();
13981 if ac_fn_c_try_link
"$LINENO"; then :
13983 dll
) ac_cv_lib_soname_tiff
=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13984 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'` ;;
13985 *) ac_cv_lib_soname_tiff
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13986 if ${ac_cv_lib_soname_tiff:+false} :; then :
13987 ac_cv_lib_soname_tiff
=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13991 rm -f core conftest.err conftest.
$ac_objext \
13992 conftest
$ac_exeext conftest.
$ac_ext
13993 LIBS
=$ac_check_soname_save_LIBS
13995 if ${ac_cv_lib_soname_tiff:+false} :; then :
13996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13997 $as_echo "not found" >&6; }
14000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
14001 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
14003 cat >>confdefs.h
<<_ACEOF
14004 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
14010 CPPFLAGS
=$ac_save_CPPFLAGS
14011 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS
=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14012 test -z "$TIFF_LIBS" || TIFF_LIBS
=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14015 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
14016 case "x$with_tiff" in
14017 x
) as_fn_append wine_notices
"|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
14019 *) as_fn_error $?
"libtiff ${notice_platform}development files not found, TIFF won't be supported.
14020 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
14025 if test "x$with_mpg123" != "xno"
14027 if ${MPG123_CFLAGS:+false} :; then :
14028 if ${PKG_CONFIG+:} false
; then :
14029 MPG123_CFLAGS
=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
14033 if ${MPG123_LIBS:+false} :; then :
14034 if ${PKG_CONFIG+:} false
; then :
14035 MPG123_LIBS
=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
14039 MPG123_LIBS
=${MPG123_LIBS:-"-lmpg123"}
14040 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
14041 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
14042 ac_save_CPPFLAGS
=$CPPFLAGS
14043 CPPFLAGS
="$CPPFLAGS $MPG123_CFLAGS"
14044 for ac_header
in mpg123.h
14046 ac_fn_c_check_header_mongrel
"$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
14047 if test "x$ac_cv_header_mpg123_h" = xyes
; then :
14048 cat >>confdefs.h
<<_ACEOF
14049 #define HAVE_MPG123_H 1
14056 if test "$ac_cv_header_mpg123_h" = "yes"
14058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
14059 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
14060 if ${ac_cv_lib_mpg123_mpg123_feed+:} false
; then :
14061 $as_echo_n "(cached) " >&6
14063 ac_check_lib_save_LIBS
=$LIBS
14064 LIBS
="-lmpg123 $MPG123_LIBS $LIBS"
14065 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14066 /* end confdefs.h. */
14068 /* Override any GCC internal prototype to avoid an error.
14069 Use char because int might match the return type of a GCC
14070 builtin and then its argument prototype would still apply. */
14074 char mpg123_feed ();
14078 return mpg123_feed ();
14083 if ac_fn_c_try_link
"$LINENO"; then :
14084 ac_cv_lib_mpg123_mpg123_feed
=yes
14086 ac_cv_lib_mpg123_mpg123_feed
=no
14088 rm -f core conftest.err conftest.
$ac_objext \
14089 conftest
$ac_exeext conftest.
$ac_ext
14090 LIBS
=$ac_check_lib_save_LIBS
14092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
14093 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
14094 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes
; then :
14104 CPPFLAGS
=$ac_save_CPPFLAGS
14105 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS
=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14106 test -z "$MPG123_LIBS" || MPG123_LIBS
=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14109 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes
-a x
"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes
; then :
14110 case "x$with_mpg123" in
14111 x
) as_fn_append wine_notices
"|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
14113 *) as_fn_error $?
"libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
14114 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
14116 enable_winemp3_acm
=${enable_winemp3_acm:-no}
14119 if test "$ac_cv_header_AL_al_h" = "yes"
14121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
14122 $as_echo_n "checking for -lopenal... " >&6; }
14123 if ${ac_cv_lib_soname_openal+:} false
; then :
14124 $as_echo_n "(cached) " >&6
14126 ac_check_soname_save_LIBS
=$LIBS
14127 LIBS
="-lopenal $LIBS"
14128 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14129 /* end confdefs.h. */
14131 /* Override any GCC internal prototype to avoid an error.
14132 Use char because int might match the return type of a GCC
14133 builtin and then its argument prototype would still apply. */
14137 char alGetSource3i ();
14141 return alGetSource3i ();
14146 if ac_fn_c_try_link
"$LINENO"; then :
14148 dll
) ac_cv_lib_soname_openal
=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14149 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'` ;;
14150 *) ac_cv_lib_soname_openal
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14151 if ${ac_cv_lib_soname_openal:+false} :; then :
14152 ac_cv_lib_soname_openal
=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14156 rm -f core conftest.err conftest.
$ac_objext \
14157 conftest
$ac_exeext conftest.
$ac_ext
14158 LIBS
=$ac_check_soname_save_LIBS
14160 if ${ac_cv_lib_soname_openal:+false} :; then :
14161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14162 $as_echo "not found" >&6; }
14165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
14166 $as_echo "$ac_cv_lib_soname_openal" >&6; }
14168 cat >>confdefs.h
<<_ACEOF
14169 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
14172 OPENAL_LIBS
="-lopenal"
14174 ac_cv_lib_openal
=yes
14176 cat >>confdefs.h
<<_ACEOF
14177 #define HAVE_OPENAL 1
14182 if test "x$ac_cv_lib_openal" != xyes
; then :
14183 case "x$with_openal" in
14184 x
) as_fn_append wine_notices
"|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
14186 *) as_fn_error $?
"libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
14187 This is an error since --with-openal was requested." "$LINENO" 5 ;;
14189 enable_openal32
=${enable_openal32:-no}
14192 if test "x$ac_cv_lib_openal" = xyes
14194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for openal-soft" >&5
14195 $as_echo_n "checking for openal-soft... " >&6; }
14196 if ${ac_cv_have_openalsoft+:} false
; then :
14197 $as_echo_n "(cached) " >&6
14199 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14200 /* end confdefs.h. */
14202 #include <AL/alc.h>
14203 #include <AL/alext.h>
14204 LPALCRENDERSAMPLESSOFT x;
14213 if ac_fn_c_try_compile
"$LINENO"; then :
14214 ac_cv_have_openalsoft
=yes
14216 ac_cv_have_openalsoft
=no
14218 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_openalsoft" >&5
14221 $as_echo "$ac_cv_have_openalsoft" >&6; }
14223 if test "x$ac_cv_have_openalsoft" != xyes
14225 as_fn_append wine_notices
"|openal-soft ${notice_platform}development files not found (or too old), XAudio2 won't be supported."
14226 enable_x3daudio1_0
=${enable_x3daudio1_0:-no}
14227 enable_x3daudio1_1
=${enable_x3daudio1_1:-no}
14228 enable_x3daudio1_2
=${enable_x3daudio1_2:-no}
14229 enable_x3daudio1_3
=${enable_x3daudio1_3:-no}
14230 enable_x3daudio1_4
=${enable_x3daudio1_4:-no}
14231 enable_x3daudio1_5
=${enable_x3daudio1_5:-no}
14232 enable_x3daudio1_6
=${enable_x3daudio1_6:-no}
14233 enable_x3daudio1_7
=${enable_x3daudio1_7:-no}
14234 enable_xapofx1_1
=${enable_xapofx1_1:-no}
14235 enable_xapofx1_2
=${enable_xapofx1_2:-no}
14236 enable_xapofx1_3
=${enable_xapofx1_3:-no}
14237 enable_xapofx1_4
=${enable_xapofx1_4:-no}
14238 enable_xapofx1_5
=${enable_xapofx1_5:-no}
14239 enable_xaudio2_0
=${enable_xaudio2_0:-no}
14240 enable_xaudio2_1
=${enable_xaudio2_1:-no}
14241 enable_xaudio2_2
=${enable_xaudio2_2:-no}
14242 enable_xaudio2_3
=${enable_xaudio2_3:-no}
14243 enable_xaudio2_4
=${enable_xaudio2_4:-no}
14244 enable_xaudio2_5
=${enable_xaudio2_5:-no}
14245 enable_xaudio2_6
=${enable_xaudio2_6:-no}
14246 enable_xaudio2_7
=${enable_xaudio2_7:-no}
14247 enable_xaudio2_8
=${enable_xaudio2_8:-no}
14248 enable_xaudio2_9
=${enable_xaudio2_9:-no}
14251 if test "$ac_cv_header_kstat_h" = "yes"
14253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
14254 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
14255 if ${ac_cv_lib_kstat_kstat_open+:} false
; then :
14256 $as_echo_n "(cached) " >&6
14258 ac_check_lib_save_LIBS
=$LIBS
14259 LIBS
="-lkstat $LIBS"
14260 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14261 /* end confdefs.h. */
14263 /* Override any GCC internal prototype to avoid an error.
14264 Use char because int might match the return type of a GCC
14265 builtin and then its argument prototype would still apply. */
14269 char kstat_open ();
14273 return kstat_open ();
14278 if ac_fn_c_try_link
"$LINENO"; then :
14279 ac_cv_lib_kstat_kstat_open
=yes
14281 ac_cv_lib_kstat_kstat_open
=no
14283 rm -f core conftest.err conftest.
$ac_objext \
14284 conftest
$ac_exeext conftest.
$ac_ext
14285 LIBS
=$ac_check_lib_save_LIBS
14287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
14288 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
14289 if test "x$ac_cv_lib_kstat_kstat_open" = xyes
; then :
14291 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
14293 KSTAT_LIBS
="-lkstat"
14299 if test "$ac_cv_header_libprocstat_h" = "yes"
14301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
14302 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
14303 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false
; then :
14304 $as_echo_n "(cached) " >&6
14306 ac_check_lib_save_LIBS
=$LIBS
14307 LIBS
="-lprocstat $LIBS"
14308 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14309 /* end confdefs.h. */
14311 /* Override any GCC internal prototype to avoid an error.
14312 Use char because int might match the return type of a GCC
14313 builtin and then its argument prototype would still apply. */
14317 char procstat_open_sysctl ();
14321 return procstat_open_sysctl ();
14326 if ac_fn_c_try_link
"$LINENO"; then :
14327 ac_cv_lib_procstat_procstat_open_sysctl
=yes
14329 ac_cv_lib_procstat_procstat_open_sysctl
=no
14331 rm -f core conftest.err conftest.
$ac_objext \
14332 conftest
$ac_exeext conftest.
$ac_ext
14333 LIBS
=$ac_check_lib_save_LIBS
14335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
14336 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
14337 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes
; then :
14339 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
14341 PROCSTAT_LIBS
="-lprocstat"
14347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
14348 $as_echo_n "checking for -lodbc... " >&6; }
14349 if ${ac_cv_lib_soname_odbc+:} false
; then :
14350 $as_echo_n "(cached) " >&6
14352 ac_check_soname_save_LIBS
=$LIBS
14353 LIBS
="-lodbc $LIBS"
14354 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14355 /* end confdefs.h. */
14357 /* Override any GCC internal prototype to avoid an error.
14358 Use char because int might match the return type of a GCC
14359 builtin and then its argument prototype would still apply. */
14363 char SQLConnect ();
14367 return SQLConnect ();
14372 if ac_fn_c_try_link
"$LINENO"; then :
14374 dll
) ac_cv_lib_soname_odbc
=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14375 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'` ;;
14376 *) ac_cv_lib_soname_odbc
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14377 if ${ac_cv_lib_soname_odbc:+false} :; then :
14378 ac_cv_lib_soname_odbc
=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14382 rm -f core conftest.err conftest.
$ac_objext \
14383 conftest
$ac_exeext conftest.
$ac_ext
14384 LIBS
=$ac_check_soname_save_LIBS
14386 if ${ac_cv_lib_soname_odbc:+false} :; then :
14387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14388 $as_echo "not found" >&6; }
14389 cat >>confdefs.h
<<_ACEOF
14390 #define SONAME_LIBODBC "libodbc.$LIBEXT"
14394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
14395 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
14397 cat >>confdefs.h
<<_ACEOF
14398 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
14404 if test "x$with_netapi" != "xno"
14406 if ${NETAPI_CFLAGS:+false} :; then :
14407 if ${PKG_CONFIG+:} false
; then :
14408 NETAPI_CFLAGS
=`$PKG_CONFIG --cflags netapi 2>/dev/null`
14412 if ${NETAPI_LIBS:+false} :; then :
14413 if ${PKG_CONFIG+:} false
; then :
14414 NETAPI_LIBS
=`$PKG_CONFIG --libs netapi 2>/dev/null`
14419 $as_echo "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
14420 $as_echo "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
14421 ac_save_CPPFLAGS
=$CPPFLAGS
14422 CPPFLAGS
="$CPPFLAGS $NETAPI_CFLAGS"
14423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
14424 $as_echo_n "checking for -lnetapi... " >&6; }
14425 if ${ac_cv_lib_soname_netapi+:} false
; then :
14426 $as_echo_n "(cached) " >&6
14428 ac_check_soname_save_LIBS
=$LIBS
14429 LIBS
="-lnetapi $NETAPI_LIBS $LIBS"
14430 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14431 /* end confdefs.h. */
14433 /* Override any GCC internal prototype to avoid an error.
14434 Use char because int might match the return type of a GCC
14435 builtin and then its argument prototype would still apply. */
14439 char libnetapi_init ();
14443 return libnetapi_init ();
14448 if ac_fn_c_try_link
"$LINENO"; then :
14450 dll
) ac_cv_lib_soname_netapi
=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14451 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'` ;;
14452 *) ac_cv_lib_soname_netapi
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14453 if ${ac_cv_lib_soname_netapi:+false} :; then :
14454 ac_cv_lib_soname_netapi
=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14458 rm -f core conftest.err conftest.
$ac_objext \
14459 conftest
$ac_exeext conftest.
$ac_ext
14460 LIBS
=$ac_check_soname_save_LIBS
14462 if ${ac_cv_lib_soname_netapi:+false} :; then :
14463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14464 $as_echo "not found" >&6; }
14465 cat >>confdefs.h
<<_ACEOF
14466 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
14470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
14471 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
14473 cat >>confdefs.h
<<_ACEOF
14474 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
14479 CPPFLAGS
=$ac_save_CPPFLAGS
14480 test -z "$NETAPI_CFLAGS" || NETAPI_CFLAGS
=`echo " $NETAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14481 test -z "$NETAPI_LIBS" || NETAPI_LIBS
=`echo " $NETAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14485 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono
-a \
14486 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
14488 as_fn_append wine_warnings
"|No sound system was found. Windows applications will be silent."
14494 if test "x${GCC}" = "xyes"
14496 EXTRACFLAGS
="-Wall -pipe"
14498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
14499 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
14500 if ${ac_cv_c_gcc_strength_bug+:} false
; then :
14501 $as_echo_n "(cached) " >&6
14503 if test "$cross_compiling" = yes; then :
14504 ac_cv_c_gcc_strength_bug
="no"
14506 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14507 /* end confdefs.h. */
14508 int L[4] = {0,1,2,3};
14512 static int Array[3];
14513 unsigned int B = 3;
14515 for(i=0; i<B; i++) Array[i] = i - 3;
14516 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
14518 return (Array[1] != -2 || L[2] != 3)
14523 if ac_fn_c_try_run
"$LINENO"; then :
14524 ac_cv_c_gcc_strength_bug
="no"
14526 ac_cv_c_gcc_strength_bug
="yes"
14528 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
14529 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
14533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
14534 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
14535 if test "$ac_cv_c_gcc_strength_bug" = "yes"
14537 EXTRACFLAGS
="$EXTRACFLAGS -fno-strength-reduce"
14540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
14541 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
14542 if ${ac_cv_cflags__fno_builtin+:} false
; then :
14543 $as_echo_n "(cached) " >&6
14545 ac_wine_try_cflags_saved
=$CFLAGS
14546 CFLAGS
="$CFLAGS -fno-builtin"
14547 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14548 /* end confdefs.h. */
14549 int main(int argc, char **argv) { return 0; }
14551 if ac_fn_c_try_link
"$LINENO"; then :
14552 ac_cv_cflags__fno_builtin
=yes
14554 ac_cv_cflags__fno_builtin
=no
14556 rm -f core conftest.err conftest.
$ac_objext \
14557 conftest
$ac_exeext conftest.
$ac_ext
14558 CFLAGS
=$ac_wine_try_cflags_saved
14560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
14561 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
14562 if test "x$ac_cv_cflags__fno_builtin" = xyes
; then :
14563 BUILTINFLAG
="-fno-builtin"
14566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
14567 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
14568 if ${ac_cv_cflags__fno_strict_aliasing+:} false
; then :
14569 $as_echo_n "(cached) " >&6
14571 ac_wine_try_cflags_saved
=$CFLAGS
14572 CFLAGS
="$CFLAGS -fno-strict-aliasing"
14573 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14574 /* end confdefs.h. */
14575 int main(int argc, char **argv) { return 0; }
14577 if ac_fn_c_try_link
"$LINENO"; then :
14578 ac_cv_cflags__fno_strict_aliasing
=yes
14580 ac_cv_cflags__fno_strict_aliasing
=no
14582 rm -f core conftest.err conftest.
$ac_objext \
14583 conftest
$ac_exeext conftest.
$ac_ext
14584 CFLAGS
=$ac_wine_try_cflags_saved
14586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
14587 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
14588 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes
; then :
14589 EXTRACFLAGS
="$EXTRACFLAGS -fno-strict-aliasing"
14591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
14592 $as_echo_n "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
14593 if ${ac_cv_cflags__fexcess_precision_standard+:} false
; then :
14594 $as_echo_n "(cached) " >&6
14596 ac_wine_try_cflags_saved
=$CFLAGS
14597 CFLAGS
="$CFLAGS -fexcess-precision=standard"
14598 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14599 /* end confdefs.h. */
14600 int main(int argc, char **argv) { return 0; }
14602 if ac_fn_c_try_link
"$LINENO"; then :
14603 ac_cv_cflags__fexcess_precision_standard
=yes
14605 ac_cv_cflags__fexcess_precision_standard
=no
14607 rm -f core conftest.err conftest.
$ac_objext \
14608 conftest
$ac_exeext conftest.
$ac_ext
14609 CFLAGS
=$ac_wine_try_cflags_saved
14611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
14612 $as_echo "$ac_cv_cflags__fexcess_precision_standard" >&6; }
14613 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes
; then :
14614 EXCESS_PRECISION_CFLAGS
="-fexcess-precision=standard"
14617 saved_CFLAGS
=$CFLAGS
14618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
14619 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
14620 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false
; then :
14621 $as_echo_n "(cached) " >&6
14623 ac_wine_try_cflags_saved
=$CFLAGS
14624 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
14625 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14626 /* end confdefs.h. */
14627 int main(int argc, char **argv) { return 0; }
14629 if ac_fn_c_try_link
"$LINENO"; then :
14630 ac_cv_cflags__Werror_unknown_warning_option
=yes
14632 ac_cv_cflags__Werror_unknown_warning_option
=no
14634 rm -f core conftest.err conftest.
$ac_objext \
14635 conftest
$ac_exeext conftest.
$ac_ext
14636 CFLAGS
=$ac_wine_try_cflags_saved
14638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
14639 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
14640 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes
; then :
14641 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
14643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
14644 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
14645 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false
; then :
14646 $as_echo_n "(cached) " >&6
14648 ac_wine_try_cflags_saved
=$CFLAGS
14649 CFLAGS
="$CFLAGS -Wdeclaration-after-statement"
14650 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14651 /* end confdefs.h. */
14652 int main(int argc, char **argv) { return 0; }
14654 if ac_fn_c_try_link
"$LINENO"; then :
14655 ac_cv_cflags__Wdeclaration_after_statement
=yes
14657 ac_cv_cflags__Wdeclaration_after_statement
=no
14659 rm -f core conftest.err conftest.
$ac_objext \
14660 conftest
$ac_exeext conftest.
$ac_ext
14661 CFLAGS
=$ac_wine_try_cflags_saved
14663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
14664 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
14665 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes
; then :
14666 EXTRACFLAGS
="$EXTRACFLAGS -Wdeclaration-after-statement"
14668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
14669 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
14670 if ${ac_cv_cflags__Wempty_body+:} false
; then :
14671 $as_echo_n "(cached) " >&6
14673 ac_wine_try_cflags_saved
=$CFLAGS
14674 CFLAGS
="$CFLAGS -Wempty-body"
14675 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14676 /* end confdefs.h. */
14677 int main(int argc, char **argv) { return 0; }
14679 if ac_fn_c_try_link
"$LINENO"; then :
14680 ac_cv_cflags__Wempty_body
=yes
14682 ac_cv_cflags__Wempty_body
=no
14684 rm -f core conftest.err conftest.
$ac_objext \
14685 conftest
$ac_exeext conftest.
$ac_ext
14686 CFLAGS
=$ac_wine_try_cflags_saved
14688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
14689 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
14690 if test "x$ac_cv_cflags__Wempty_body" = xyes
; then :
14691 EXTRACFLAGS
="$EXTRACFLAGS -Wempty-body"
14693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
14694 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
14695 if ${ac_cv_cflags__Wignored_qualifiers+:} false
; then :
14696 $as_echo_n "(cached) " >&6
14698 ac_wine_try_cflags_saved
=$CFLAGS
14699 CFLAGS
="$CFLAGS -Wignored-qualifiers"
14700 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14701 /* end confdefs.h. */
14702 int main(int argc, char **argv) { return 0; }
14704 if ac_fn_c_try_link
"$LINENO"; then :
14705 ac_cv_cflags__Wignored_qualifiers
=yes
14707 ac_cv_cflags__Wignored_qualifiers
=no
14709 rm -f core conftest.err conftest.
$ac_objext \
14710 conftest
$ac_exeext conftest.
$ac_ext
14711 CFLAGS
=$ac_wine_try_cflags_saved
14713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
14714 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
14715 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes
; then :
14716 EXTRACFLAGS
="$EXTRACFLAGS -Wignored-qualifiers"
14718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
14719 $as_echo_n "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
14720 if ${ac_cv_cflags__Wshift_overflow_2+:} false
; then :
14721 $as_echo_n "(cached) " >&6
14723 ac_wine_try_cflags_saved
=$CFLAGS
14724 CFLAGS
="$CFLAGS -Wshift-overflow=2"
14725 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14726 /* end confdefs.h. */
14727 int main(int argc, char **argv) { return 0; }
14729 if ac_fn_c_try_link
"$LINENO"; then :
14730 ac_cv_cflags__Wshift_overflow_2
=yes
14732 ac_cv_cflags__Wshift_overflow_2
=no
14734 rm -f core conftest.err conftest.
$ac_objext \
14735 conftest
$ac_exeext conftest.
$ac_ext
14736 CFLAGS
=$ac_wine_try_cflags_saved
14738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
14739 $as_echo "$ac_cv_cflags__Wshift_overflow_2" >&6; }
14740 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes
; then :
14741 EXTRACFLAGS
="$EXTRACFLAGS -Wshift-overflow=2"
14743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
14744 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
14745 if ${ac_cv_cflags__Wstrict_prototypes+:} false
; then :
14746 $as_echo_n "(cached) " >&6
14748 ac_wine_try_cflags_saved
=$CFLAGS
14749 CFLAGS
="$CFLAGS -Wstrict-prototypes"
14750 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14751 /* end confdefs.h. */
14752 int main(int argc, char **argv) { return 0; }
14754 if ac_fn_c_try_link
"$LINENO"; then :
14755 ac_cv_cflags__Wstrict_prototypes
=yes
14757 ac_cv_cflags__Wstrict_prototypes
=no
14759 rm -f core conftest.err conftest.
$ac_objext \
14760 conftest
$ac_exeext conftest.
$ac_ext
14761 CFLAGS
=$ac_wine_try_cflags_saved
14763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
14764 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
14765 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes
; then :
14766 EXTRACFLAGS
="$EXTRACFLAGS -Wstrict-prototypes"
14768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
14769 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
14770 if ${ac_cv_cflags__Wtype_limits+:} false
; then :
14771 $as_echo_n "(cached) " >&6
14773 ac_wine_try_cflags_saved
=$CFLAGS
14774 CFLAGS
="$CFLAGS -Wtype-limits"
14775 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14776 /* end confdefs.h. */
14777 int main(int argc, char **argv) { return 0; }
14779 if ac_fn_c_try_link
"$LINENO"; then :
14780 ac_cv_cflags__Wtype_limits
=yes
14782 ac_cv_cflags__Wtype_limits
=no
14784 rm -f core conftest.err conftest.
$ac_objext \
14785 conftest
$ac_exeext conftest.
$ac_ext
14786 CFLAGS
=$ac_wine_try_cflags_saved
14788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
14789 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
14790 if test "x$ac_cv_cflags__Wtype_limits" = xyes
; then :
14791 EXTRACFLAGS
="$EXTRACFLAGS -Wtype-limits"
14793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
14794 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
14795 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false
; then :
14796 $as_echo_n "(cached) " >&6
14798 ac_wine_try_cflags_saved
=$CFLAGS
14799 CFLAGS
="$CFLAGS -Wunused-but-set-parameter"
14800 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14801 /* end confdefs.h. */
14802 int main(int argc, char **argv) { return 0; }
14804 if ac_fn_c_try_link
"$LINENO"; then :
14805 ac_cv_cflags__Wunused_but_set_parameter
=yes
14807 ac_cv_cflags__Wunused_but_set_parameter
=no
14809 rm -f core conftest.err conftest.
$ac_objext \
14810 conftest
$ac_exeext conftest.
$ac_ext
14811 CFLAGS
=$ac_wine_try_cflags_saved
14813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
14814 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
14815 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes
; then :
14816 EXTRACFLAGS
="$EXTRACFLAGS -Wunused-but-set-parameter"
14818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
14819 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
14820 if ${ac_cv_cflags__Wvla+:} false
; then :
14821 $as_echo_n "(cached) " >&6
14823 ac_wine_try_cflags_saved
=$CFLAGS
14824 CFLAGS
="$CFLAGS -Wvla"
14825 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14826 /* end confdefs.h. */
14827 int main(int argc, char **argv) { return 0; }
14829 if ac_fn_c_try_link
"$LINENO"; then :
14830 ac_cv_cflags__Wvla
=yes
14832 ac_cv_cflags__Wvla
=no
14834 rm -f core conftest.err conftest.
$ac_objext \
14835 conftest
$ac_exeext conftest.
$ac_ext
14836 CFLAGS
=$ac_wine_try_cflags_saved
14838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
14839 $as_echo "$ac_cv_cflags__Wvla" >&6; }
14840 if test "x$ac_cv_cflags__Wvla" = xyes
; then :
14841 EXTRACFLAGS
="$EXTRACFLAGS -Wvla"
14843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
14844 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
14845 if ${ac_cv_cflags__Wwrite_strings+:} false
; then :
14846 $as_echo_n "(cached) " >&6
14848 ac_wine_try_cflags_saved
=$CFLAGS
14849 CFLAGS
="$CFLAGS -Wwrite-strings"
14850 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14851 /* end confdefs.h. */
14852 int main(int argc, char **argv) { return 0; }
14854 if ac_fn_c_try_link
"$LINENO"; then :
14855 ac_cv_cflags__Wwrite_strings
=yes
14857 ac_cv_cflags__Wwrite_strings
=no
14859 rm -f core conftest.err conftest.
$ac_objext \
14860 conftest
$ac_exeext conftest.
$ac_ext
14861 CFLAGS
=$ac_wine_try_cflags_saved
14863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
14864 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
14865 if test "x$ac_cv_cflags__Wwrite_strings" = xyes
; then :
14866 EXTRACFLAGS
="$EXTRACFLAGS -Wwrite-strings"
14869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
14870 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
14871 if ${ac_cv_cflags__Wpointer_arith+:} false
; then :
14872 $as_echo_n "(cached) " >&6
14874 ac_wine_try_cflags_saved
=$CFLAGS
14875 CFLAGS
="$CFLAGS -Wpointer-arith"
14876 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14877 /* end confdefs.h. */
14878 int main(int argc, char **argv) { return 0; }
14880 if ac_fn_c_try_link
"$LINENO"; then :
14881 ac_cv_cflags__Wpointer_arith
=yes
14883 ac_cv_cflags__Wpointer_arith
=no
14885 rm -f core conftest.err conftest.
$ac_objext \
14886 conftest
$ac_exeext conftest.
$ac_ext
14887 CFLAGS
=$ac_wine_try_cflags_saved
14889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
14890 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
14891 if test "x$ac_cv_cflags__Wpointer_arith" = xyes
; then :
14892 saved_string_h_CFLAGS
=$CFLAGS
14893 CFLAGS
="$CFLAGS -Wpointer-arith -Werror"
14894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
14895 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
14896 if ${ac_cv_c_string_h_warnings+:} false
; then :
14897 $as_echo_n "(cached) " >&6
14899 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14900 /* end confdefs.h. */
14901 #include <string.h>
14910 if ac_fn_c_try_compile
"$LINENO"; then :
14911 ac_cv_c_string_h_warnings
=no
14913 ac_cv_c_string_h_warnings
=yes
14915 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
14918 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
14919 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS
="$EXTRACFLAGS -Wpointer-arith"
14920 CFLAGS
=$saved_string_h_CFLAGS
14923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
14924 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
14925 if ${ac_cv_cflags__Wlogical_op+:} false
; then :
14926 $as_echo_n "(cached) " >&6
14928 ac_wine_try_cflags_saved
=$CFLAGS
14929 CFLAGS
="$CFLAGS -Wlogical-op"
14930 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14931 /* end confdefs.h. */
14932 int main(int argc, char **argv) { return 0; }
14934 if ac_fn_c_try_link
"$LINENO"; then :
14935 ac_cv_cflags__Wlogical_op
=yes
14937 ac_cv_cflags__Wlogical_op
=no
14939 rm -f core conftest.err conftest.
$ac_objext \
14940 conftest
$ac_exeext conftest.
$ac_ext
14941 CFLAGS
=$ac_wine_try_cflags_saved
14943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
14944 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
14945 if test "x$ac_cv_cflags__Wlogical_op" = xyes
; then :
14946 saved_string_h_CFLAGS
=$CFLAGS
14947 CFLAGS
="$CFLAGS -Wlogical-op -Werror"
14948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
14949 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
14950 if ${ac_cv_c_logicalop_noisy+:} false
; then :
14951 $as_echo_n "(cached) " >&6
14953 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14954 /* end confdefs.h. */
14955 #include <string.h>
14956 char*f(const char *h,char n) {return strchr(h,n);}
14965 if ac_fn_c_try_compile
"$LINENO"; then :
14966 ac_cv_c_logicalop_noisy
=no
14968 ac_cv_c_logicalop_noisy
=yes
14970 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
14973 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
14974 CFLAGS
=$saved_string_h_CFLAGS
14975 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS
="$EXTRACFLAGS -Wlogical-op"
14978 CFLAGS
=$saved_CFLAGS
14980 for ac_flag
in $CFLAGS; do
14982 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
14983 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
14984 if ${ac_cv_cflags__gdwarf_2+:} false
; then :
14985 $as_echo_n "(cached) " >&6
14987 ac_wine_try_cflags_saved
=$CFLAGS
14988 CFLAGS
="$CFLAGS -gdwarf-2"
14989 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14990 /* end confdefs.h. */
14991 int main(int argc, char **argv) { return 0; }
14993 if ac_fn_c_try_link
"$LINENO"; then :
14994 ac_cv_cflags__gdwarf_2
=yes
14996 ac_cv_cflags__gdwarf_2
=no
14998 rm -f core conftest.err conftest.
$ac_objext \
14999 conftest
$ac_exeext conftest.
$ac_ext
15000 CFLAGS
=$ac_wine_try_cflags_saved
15002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
15003 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
15004 if test "x$ac_cv_cflags__gdwarf_2" = xyes
; then :
15005 EXTRACFLAGS
="$EXTRACFLAGS -gdwarf-2"
15007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
15008 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
15009 if ${ac_cv_cflags__gstrict_dwarf+:} false
; then :
15010 $as_echo_n "(cached) " >&6
15012 ac_wine_try_cflags_saved
=$CFLAGS
15013 CFLAGS
="$CFLAGS -gstrict-dwarf"
15014 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15015 /* end confdefs.h. */
15016 int main(int argc, char **argv) { return 0; }
15018 if ac_fn_c_try_link
"$LINENO"; then :
15019 ac_cv_cflags__gstrict_dwarf
=yes
15021 ac_cv_cflags__gstrict_dwarf
=no
15023 rm -f core conftest.err conftest.
$ac_objext \
15024 conftest
$ac_exeext conftest.
$ac_ext
15025 CFLAGS
=$ac_wine_try_cflags_saved
15027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
15028 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
15029 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes
; then :
15030 EXTRACFLAGS
="$EXTRACFLAGS -gstrict-dwarf"
15036 *i
[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
15037 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
15038 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false
; then :
15039 $as_echo_n "(cached) " >&6
15041 ac_wine_try_cflags_saved
=$CFLAGS
15042 CFLAGS
="$CFLAGS -fno-omit-frame-pointer"
15043 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15044 /* end confdefs.h. */
15045 int main(int argc, char **argv) { return 0; }
15047 if ac_fn_c_try_link
"$LINENO"; then :
15048 ac_cv_cflags__fno_omit_frame_pointer
=yes
15050 ac_cv_cflags__fno_omit_frame_pointer
=no
15052 rm -f core conftest.err conftest.
$ac_objext \
15053 conftest
$ac_exeext conftest.
$ac_ext
15054 CFLAGS
=$ac_wine_try_cflags_saved
15056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
15057 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
15058 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes
; then :
15059 EXTRACFLAGS
="$EXTRACFLAGS -fno-omit-frame-pointer"
15064 x86_64-
*mingw32
*|x86_64-
*cygwin
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
15065 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
15066 if ${ac_cv_cflags__Wno_format+:} false
; then :
15067 $as_echo_n "(cached) " >&6
15069 ac_wine_try_cflags_saved
=$CFLAGS
15070 CFLAGS
="$CFLAGS -Wno-format"
15071 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15072 /* end confdefs.h. */
15073 int main(int argc, char **argv) { return 0; }
15075 if ac_fn_c_try_link
"$LINENO"; then :
15076 ac_cv_cflags__Wno_format
=yes
15078 ac_cv_cflags__Wno_format
=no
15080 rm -f core conftest.err conftest.
$ac_objext \
15081 conftest
$ac_exeext conftest.
$ac_ext
15082 CFLAGS
=$ac_wine_try_cflags_saved
15084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
15085 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
15086 if test "x$ac_cv_cflags__Wno_format" = xyes
; then :
15087 EXTRACFLAGS
="$EXTRACFLAGS -Wno-format"
15091 if test "x$enable_maintainer_mode" = "xyes"
15093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
15094 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
15095 if ${ac_cv_cflags__Werror+:} false
; then :
15096 $as_echo_n "(cached) " >&6
15098 ac_wine_try_cflags_saved
=$CFLAGS
15099 CFLAGS
="$CFLAGS -Werror"
15100 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15101 /* end confdefs.h. */
15102 int main(int argc, char **argv) { return 0; }
15104 if ac_fn_c_try_link
"$LINENO"; then :
15105 ac_cv_cflags__Werror
=yes
15107 ac_cv_cflags__Werror
=no
15109 rm -f core conftest.err conftest.
$ac_objext \
15110 conftest
$ac_exeext conftest.
$ac_ext
15111 CFLAGS
=$ac_wine_try_cflags_saved
15113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
15114 $as_echo "$ac_cv_cflags__Werror" >&6; }
15115 if test "x$ac_cv_cflags__Werror" = xyes
; then :
15116 EXTRACFLAGS
="$EXTRACFLAGS -Werror"
15120 saved_CFLAGS
="$CFLAGS"
15121 CFLAGS
="$CFLAGS -Werror"
15122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
15123 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
15124 if ${ac_cv_have_ms_hook_prologue+:} false
; then :
15125 $as_echo_n "(cached) " >&6
15127 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15128 /* end confdefs.h. */
15129 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
15138 if ac_fn_c_try_compile
"$LINENO"; then :
15139 ac_cv_have_ms_hook_prologue
="yes"
15141 ac_cv_have_ms_hook_prologue
="no"
15143 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
15146 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
15147 CFLAGS
="$saved_CFLAGS"
15148 if test "$ac_cv_have_ms_hook_prologue" = "yes"
15151 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
15154 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
15160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
15161 $as_echo_n "checking for the need to disable Fortify... " >&6; }
15162 if ${ac_cv_c_fortify_enabled+:} false
; then :
15163 $as_echo_n "(cached) " >&6
15165 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15166 /* end confdefs.h. */
15167 #include <string.h>
15171 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
15172 #error Fortify enabled
15178 if ac_fn_c_try_compile
"$LINENO"; then :
15179 ac_cv_c_fortify_enabled
=no
15181 ac_cv_c_fortify_enabled
=yes
15183 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
15186 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
15187 if test "$ac_cv_c_fortify_enabled" = yes
15189 CFLAGS
="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
15193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
15194 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
15195 if ${ac_cv_c_extern_prefix+:} false
; then :
15196 $as_echo_n "(cached) " >&6
15198 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15199 /* end confdefs.h. */
15200 extern int ac_test;
15204 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
15209 if ac_fn_c_try_link
"$LINENO"; then :
15210 ac_cv_c_extern_prefix
="yes"
15212 ac_cv_c_extern_prefix
="no"
15214 rm -f core conftest.err conftest.
$ac_objext \
15215 conftest
$ac_exeext conftest.
$ac_ext
15217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
15218 $as_echo "$ac_cv_c_extern_prefix" >&6; }
15222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
15223 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
15224 if ${ac_cv_c_stdcall_suffix+:} false
; then :
15225 $as_echo_n "(cached) " >&6
15227 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15228 /* end confdefs.h. */
15230 #define __stdcall __attribute__((__stdcall__))
15232 int __stdcall ac_test(int i) { return i; }
15236 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
15241 if ac_fn_c_try_link
"$LINENO"; then :
15242 ac_cv_c_stdcall_suffix
="yes"
15244 ac_cv_c_stdcall_suffix
="no"
15246 rm -f core conftest.err conftest.
$ac_objext \
15247 conftest
$ac_exeext conftest.
$ac_ext
15249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
15250 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
15251 *) ac_cv_c_stdcall_suffix
="no" ;;
15255 if test "$ac_cv_c_extern_prefix" = "yes"
15257 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
15259 asm_name_prefix
="_"
15261 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
15267 if test "$ac_cv_c_stdcall_suffix" = "yes"
15269 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
15272 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
15277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
15278 $as_echo_n "checking how to define a function in assembly code... " >&6; }
15279 if ${ac_cv_asm_func_def+:} false
; then :
15280 $as_echo_n "(cached) " >&6
15282 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15283 /* end confdefs.h. */
15288 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
15293 if ac_fn_c_try_link
"$LINENO"; then :
15294 ac_cv_asm_func_def
=".def"
15296 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15297 /* end confdefs.h. */
15302 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
15307 if ac_fn_c_try_link
"$LINENO"; then :
15308 ac_cv_asm_func_def
=".type @function"
15310 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15311 /* end confdefs.h. */
15316 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
15321 if ac_fn_c_try_link
"$LINENO"; then :
15322 ac_cv_asm_func_def
=".type 2"
15324 ac_cv_asm_func_def
="unknown"
15326 rm -f core conftest.err conftest.
$ac_objext \
15327 conftest
$ac_exeext conftest.
$ac_ext
15329 rm -f core conftest.err conftest.
$ac_objext \
15330 conftest
$ac_exeext conftest.
$ac_ext
15332 rm -f core conftest.err conftest.
$ac_objext \
15333 conftest
$ac_exeext conftest.
$ac_ext
15335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
15336 $as_echo "$ac_cv_asm_func_def" >&6; }
15339 case "$ac_cv_asm_func_def" in
15341 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
15343 asm_func_header
=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
15345 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
15347 asm_func_header
=".type $asm_name_prefix\" #name suffix \",@function" ;;
15349 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
15351 asm_func_header
=".type $asm_name_prefix\" #name suffix \",2" ;;
15353 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
15355 asm_func_header
="" ;;
15358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
15359 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
15360 if ${ac_cv_c_asm_outside_funcs+:} false
; then :
15361 $as_echo_n "(cached) " >&6
15363 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15364 /* end confdefs.h. */
15365 asm(".text\n\t.long 0");
15374 if ac_fn_c_try_compile
"$LINENO"; then :
15375 ac_cv_c_asm_outside_funcs
="yes"
15377 ac_cv_c_asm_outside_funcs
="no"
15379 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
15382 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
15384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
15385 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
15386 if ${ac_cv_c_dot_previous+:} false
; then :
15387 $as_echo_n "(cached) " >&6
15389 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15390 /* end confdefs.h. */
15395 asm(".text\nac_test:\t.long 0\n\t.previous");
15400 if ac_fn_c_try_link
"$LINENO"; then :
15401 ac_cv_c_dot_previous
="yes"
15403 ac_cv_c_dot_previous
="no"
15405 rm -f core conftest.err conftest.
$ac_objext \
15406 conftest
$ac_exeext conftest.
$ac_ext
15408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
15409 $as_echo "$ac_cv_c_dot_previous" >&6; }
15411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
15412 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
15413 if ${ac_cv_c_cfi_support+:} false
; then :
15414 $as_echo_n "(cached) " >&6
15416 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15417 /* end confdefs.h. */
15418 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
15427 if ac_fn_c_try_compile
"$LINENO"; then :
15428 ac_cv_c_cfi_support
="yes"
15430 ac_cv_c_cfi_support
="no"
15432 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
15435 $as_echo "$ac_cv_c_cfi_support" >&6; }
15437 asm_func_header
=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
15438 asm_func_trailer
=""
15439 if test "$ac_cv_c_dot_previous" = "yes"
15441 asm_func_trailer
="\\n\\t.previous"
15443 if test "$ac_cv_c_cfi_support" = "yes"
15445 asm_func_header
="$asm_func_header.cfi_startproc\\n\\t"
15446 asm_func_trailer
="\\n\\t.cfi_endproc$asm_func_trailer"
15448 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
15450 UNWINDFLAGS
=-fasynchronous-unwind-tables
15453 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
15455 if test "x$enable_win64" = "xyes"
15457 as_fn_append wine_warnings
"|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
15461 asm_func_code
="$asm_func_header\" code \"$asm_func_trailer"
15464 if test "$ac_cv_c_asm_outside_funcs" = "yes"
15466 cat >>confdefs.h
<<_ACEOF
15467 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
15471 cat >>confdefs.h
<<_ACEOF
15472 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
15477 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
15480 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
15485 cygwin
*|mingw32
*) TOOLSEXT
=".exe"
15492 *i
[3456789]86*|x86_64
*)
15493 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS
"loader/wine-preloader"
15494 WINELOADER_PROGRAMS
="$WINELOADER_PROGRAMS $wine_binary-preloader"
15501 ac_save_CFLAGS
="$CFLAGS"
15502 CFLAGS
="$CFLAGS $BUILTINFLAG"
15583 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15584 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
15585 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
15586 cat >>confdefs.h
<<_ACEOF
15587 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15593 CFLAGS
="$ac_save_CFLAGS"
15595 if test "$ac_cv_func_dlopen" = no
15597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
15598 $as_echo_n "checking for dlopen in -ldl... " >&6; }
15599 if ${ac_cv_lib_dl_dlopen+:} false
; then :
15600 $as_echo_n "(cached) " >&6
15602 ac_check_lib_save_LIBS
=$LIBS
15604 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15605 /* end confdefs.h. */
15607 /* Override any GCC internal prototype to avoid an error.
15608 Use char because int might match the return type of a GCC
15609 builtin and then its argument prototype would still apply. */
15622 if ac_fn_c_try_link
"$LINENO"; then :
15623 ac_cv_lib_dl_dlopen
=yes
15625 ac_cv_lib_dl_dlopen
=no
15627 rm -f core conftest.err conftest.
$ac_objext \
15628 conftest
$ac_exeext conftest.
$ac_ext
15629 LIBS
=$ac_check_lib_save_LIBS
15631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
15632 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
15633 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
15634 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
15640 ac_wine_check_funcs_save_LIBS
="$LIBS"
15641 LIBS
="$LIBS $DL_LIBS"
15642 for ac_func
in dladdr
15644 ac_fn_c_check_func
"$LINENO" "dladdr" "ac_cv_func_dladdr"
15645 if test "x$ac_cv_func_dladdr" = xyes
; then :
15646 cat >>confdefs.h
<<_ACEOF
15647 #define HAVE_DLADDR 1
15653 LIBS
="$ac_wine_check_funcs_save_LIBS"
15655 if test "$ac_cv_func_poll" = no
15657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
15658 $as_echo_n "checking for poll in -lpoll... " >&6; }
15659 if ${ac_cv_lib_poll_poll+:} false
; then :
15660 $as_echo_n "(cached) " >&6
15662 ac_check_lib_save_LIBS
=$LIBS
15663 LIBS
="-lpoll $LIBS"
15664 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15665 /* end confdefs.h. */
15667 /* Override any GCC internal prototype to avoid an error.
15668 Use char because int might match the return type of a GCC
15669 builtin and then its argument prototype would still apply. */
15682 if ac_fn_c_try_link
"$LINENO"; then :
15683 ac_cv_lib_poll_poll
=yes
15685 ac_cv_lib_poll_poll
=no
15687 rm -f core conftest.err conftest.
$ac_objext \
15688 conftest
$ac_exeext conftest.
$ac_ext
15689 LIBS
=$ac_check_lib_save_LIBS
15691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
15692 $as_echo "$ac_cv_lib_poll_poll" >&6; }
15693 if test "x$ac_cv_lib_poll_poll" = xyes
; then :
15694 $as_echo "#define HAVE_POLL 1" >>confdefs.h
15701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
15702 $as_echo_n "checking for library containing gethostbyname... " >&6; }
15703 if ${ac_cv_search_gethostbyname+:} false
; then :
15704 $as_echo_n "(cached) " >&6
15706 ac_func_search_save_LIBS
=$LIBS
15707 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15708 /* end confdefs.h. */
15710 /* Override any GCC internal prototype to avoid an error.
15711 Use char because int might match the return type of a GCC
15712 builtin and then its argument prototype would still apply. */
15716 char gethostbyname ();
15720 return gethostbyname ();
15725 for ac_lib
in '' nsl
; do
15726 if test -z "$ac_lib"; then
15727 ac_res
="none required"
15730 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
15732 if ac_fn_c_try_link
"$LINENO"; then :
15733 ac_cv_search_gethostbyname
=$ac_res
15735 rm -f core conftest.err conftest.
$ac_objext \
15737 if ${ac_cv_search_gethostbyname+:} false
; then :
15741 if ${ac_cv_search_gethostbyname+:} false
; then :
15744 ac_cv_search_gethostbyname
=no
15746 rm conftest.
$ac_ext
15747 LIBS
=$ac_func_search_save_LIBS
15749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
15750 $as_echo "$ac_cv_search_gethostbyname" >&6; }
15751 ac_res
=$ac_cv_search_gethostbyname
15752 if test "$ac_res" != no
; then :
15753 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
15758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
15759 $as_echo_n "checking for library containing connect... " >&6; }
15760 if ${ac_cv_search_connect+:} false
; then :
15761 $as_echo_n "(cached) " >&6
15763 ac_func_search_save_LIBS
=$LIBS
15764 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15765 /* end confdefs.h. */
15767 /* Override any GCC internal prototype to avoid an error.
15768 Use char because int might match the return type of a GCC
15769 builtin and then its argument prototype would still apply. */
15782 for ac_lib
in '' socket
; do
15783 if test -z "$ac_lib"; then
15784 ac_res
="none required"
15787 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
15789 if ac_fn_c_try_link
"$LINENO"; then :
15790 ac_cv_search_connect
=$ac_res
15792 rm -f core conftest.err conftest.
$ac_objext \
15794 if ${ac_cv_search_connect+:} false
; then :
15798 if ${ac_cv_search_connect+:} false
; then :
15801 ac_cv_search_connect
=no
15803 rm conftest.
$ac_ext
15804 LIBS
=$ac_func_search_save_LIBS
15806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
15807 $as_echo "$ac_cv_search_connect" >&6; }
15808 ac_res
=$ac_cv_search_connect
15809 if test "$ac_res" != no
; then :
15810 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
15815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
15816 $as_echo_n "checking for library containing inet_aton... " >&6; }
15817 if ${ac_cv_search_inet_aton+:} false
; then :
15818 $as_echo_n "(cached) " >&6
15820 ac_func_search_save_LIBS
=$LIBS
15821 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15822 /* end confdefs.h. */
15824 /* Override any GCC internal prototype to avoid an error.
15825 Use char because int might match the return type of a GCC
15826 builtin and then its argument prototype would still apply. */
15834 return inet_aton ();
15839 for ac_lib
in '' resolv
; do
15840 if test -z "$ac_lib"; then
15841 ac_res
="none required"
15844 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
15846 if ac_fn_c_try_link
"$LINENO"; then :
15847 ac_cv_search_inet_aton
=$ac_res
15849 rm -f core conftest.err conftest.
$ac_objext \
15851 if ${ac_cv_search_inet_aton+:} false
; then :
15855 if ${ac_cv_search_inet_aton+:} false
; then :
15858 ac_cv_search_inet_aton
=no
15860 rm conftest.
$ac_ext
15861 LIBS
=$ac_func_search_save_LIBS
15863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
15864 $as_echo "$ac_cv_search_inet_aton" >&6; }
15865 ac_res
=$ac_cv_search_inet_aton
15866 if test "$ac_res" != no
; then :
15867 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
15887 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15888 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
15889 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
15890 cat >>confdefs.h
<<_ACEOF
15891 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
15900 $as_echo_n "checking for library containing clock_gettime... " >&6; }
15901 if ${ac_cv_search_clock_gettime+:} false
; then :
15902 $as_echo_n "(cached) " >&6
15904 ac_func_search_save_LIBS
=$LIBS
15905 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15906 /* end confdefs.h. */
15908 /* Override any GCC internal prototype to avoid an error.
15909 Use char because int might match the return type of a GCC
15910 builtin and then its argument prototype would still apply. */
15914 char clock_gettime ();
15918 return clock_gettime ();
15923 for ac_lib
in '' rt
; do
15924 if test -z "$ac_lib"; then
15925 ac_res
="none required"
15928 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
15930 if ac_fn_c_try_link
"$LINENO"; then :
15931 ac_cv_search_clock_gettime
=$ac_res
15933 rm -f core conftest.err conftest.
$ac_objext \
15935 if ${ac_cv_search_clock_gettime+:} false
; then :
15939 if ${ac_cv_search_clock_gettime+:} false
; then :
15942 ac_cv_search_clock_gettime
=no
15944 rm conftest.
$ac_ext
15945 LIBS
=$ac_func_search_save_LIBS
15947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
15948 $as_echo "$ac_cv_search_clock_gettime" >&6; }
15949 ac_res
=$ac_cv_search_clock_gettime
15950 if test "$ac_res" != no
; then :
15951 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
15953 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
15955 test "$ac_res" = "none required" || RT_LIBS
="$ac_res"
15961 if test "x$with_ldap" != "xno"
15963 if ${LDAP_CFLAGS:+false} :; then :
15964 if ${PKG_CONFIG+:} false
; then :
15965 LDAP_CFLAGS
=`$PKG_CONFIG --cflags openldap 2>/dev/null`
15969 if ${LDAP_LIBS:+false} :; then :
15970 if ${PKG_CONFIG+:} false
; then :
15971 LDAP_LIBS
=`$PKG_CONFIG --libs openldap 2>/dev/null`
15975 LDAP_LIBS
=${LDAP_LIBS:-"-lldap_r -llber"}
15976 $as_echo "$as_me:${as_lineno-$LINENO}: openldap cflags: $LDAP_CFLAGS" >&5
15977 $as_echo "$as_me:${as_lineno-$LINENO}: openldap libs: $LDAP_LIBS" >&5
15978 ac_save_CPPFLAGS
=$CPPFLAGS
15979 CPPFLAGS
="$CPPFLAGS $LDAP_CFLAGS"
15980 for ac_header
in ldap.h lber.h
15982 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15983 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15984 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
15985 cat >>confdefs.h
<<_ACEOF
15986 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15993 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
15995 ac_fn_c_check_type
"$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
15997 if test "x$ac_cv_type_LDAPSortKey" = xyes
; then :
15998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
15999 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
16000 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false
; then :
16001 $as_echo_n "(cached) " >&6
16003 ac_check_lib_save_LIBS
=$LIBS
16004 LIBS
="-lldap_r $PTHREAD_LIBS $LDAP_LIBS $LIBS"
16005 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16006 /* end confdefs.h. */
16008 /* Override any GCC internal prototype to avoid an error.
16009 Use char because int might match the return type of a GCC
16010 builtin and then its argument prototype would still apply. */
16014 char ldap_initialize ();
16018 return ldap_initialize ();
16023 if ac_fn_c_try_link
"$LINENO"; then :
16024 ac_cv_lib_ldap_r_ldap_initialize
=yes
16026 ac_cv_lib_ldap_r_ldap_initialize
=no
16028 rm -f core conftest.err conftest.
$ac_objext \
16029 conftest
$ac_exeext conftest.
$ac_ext
16030 LIBS
=$ac_check_lib_save_LIBS
16032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
16033 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
16034 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes
; then :
16035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
16036 $as_echo_n "checking for ber_init in -llber... " >&6; }
16037 if ${ac_cv_lib_lber_ber_init+:} false
; then :
16038 $as_echo_n "(cached) " >&6
16040 ac_check_lib_save_LIBS
=$LIBS
16041 LIBS
="-llber $PTHREAD_LIBS $LDAP_LIBS $LIBS"
16042 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16043 /* end confdefs.h. */
16045 /* Override any GCC internal prototype to avoid an error.
16046 Use char because int might match the return type of a GCC
16047 builtin and then its argument prototype would still apply. */
16055 return ber_init ();
16060 if ac_fn_c_try_link
"$LINENO"; then :
16061 ac_cv_lib_lber_ber_init
=yes
16063 ac_cv_lib_lber_ber_init
=no
16065 rm -f core conftest.err conftest.
$ac_objext \
16066 conftest
$ac_exeext conftest.
$ac_ext
16067 LIBS
=$ac_check_lib_save_LIBS
16069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
16070 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
16071 if test "x$ac_cv_lib_lber_ber_init" = xyes
; then :
16073 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
16087 ac_wine_check_funcs_save_LIBS
="$LIBS"
16088 LIBS
="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
16090 ldap_count_references \
16091 ldap_first_reference \
16092 ldap_next_reference \
16093 ldap_parse_reference \
16094 ldap_parse_sort_control \
16095 ldap_parse_sortresponse_control \
16096 ldap_parse_vlv_control \
16097 ldap_parse_vlvresponse_control
16099 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16100 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
16101 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
16102 cat >>confdefs.h
<<_ACEOF
16103 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16109 LIBS
="$ac_wine_check_funcs_save_LIBS"
16113 CPPFLAGS
=$ac_save_CPPFLAGS
16114 test -z "$LDAP_CFLAGS" || LDAP_CFLAGS
=`echo " $LDAP_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16115 test -z "$LDAP_LIBS" || LDAP_LIBS
=`echo " $LDAP_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16118 if test "x$LDAP_LIBS" = "x"; then :
16119 case "x$with_ldap" in
16120 x
) as_fn_append wine_notices
"|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
16122 *) as_fn_error $?
"libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
16123 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
16128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
16129 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
16130 if ${wine_cv_one_arg_mkdir+:} false
; then :
16131 $as_echo_n "(cached) " >&6
16133 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16134 /* end confdefs.h. */
16135 #include <sys/stat.h>
16144 if ac_fn_c_try_compile
"$LINENO"; then :
16145 wine_cv_one_arg_mkdir
=yes
16147 wine_cv_one_arg_mkdir
=no
16149 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
16152 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
16153 if test "$wine_cv_one_arg_mkdir" = "yes"
16156 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
16160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
16161 $as_echo_n "checking for sched_setaffinity... " >&6; }
16162 if ${wine_cv_have_sched_setaffinity+:} false
; then :
16163 $as_echo_n "(cached) " >&6
16165 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16166 /* end confdefs.h. */
16167 #define _GNU_SOURCE
16172 sched_setaffinity(0, 0, 0);
16177 if ac_fn_c_try_link
"$LINENO"; then :
16178 wine_cv_have_sched_setaffinity
=yes
16180 wine_cv_have_sched_setaffinity
=no
16182 rm -f core conftest.err conftest.
$ac_objext \
16183 conftest
$ac_exeext conftest.
$ac_ext
16185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
16186 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
16187 if test "$wine_cv_have_sched_setaffinity" = "yes"
16190 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
16194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
16195 $as_echo_n "checking for fallocate... " >&6; }
16196 if ${wine_cv_have_fallocate+:} false
; then :
16197 $as_echo_n "(cached) " >&6
16199 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16200 /* end confdefs.h. */
16201 #define _GNU_SOURCE
16206 fallocate(-1, 0, 0, 0);
16211 if ac_fn_c_try_link
"$LINENO"; then :
16212 wine_cv_have_fallocate
=yes
16214 wine_cv_have_fallocate
=no
16216 rm -f core conftest.err conftest.
$ac_objext \
16217 conftest
$ac_exeext conftest.
$ac_ext
16219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
16220 $as_echo "$wine_cv_have_fallocate" >&6; }
16221 if test "$wine_cv_have_fallocate" = "yes"
16224 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
16229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
16230 $as_echo_n "checking for inline... " >&6; }
16231 if ${ac_cv_c_inline+:} false
; then :
16232 $as_echo_n "(cached) " >&6
16235 for ac_kw
in inline __inline__ __inline
; do
16236 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16237 /* end confdefs.h. */
16238 #ifndef __cplusplus
16240 static $ac_kw foo_t static_foo () {return 0; }
16241 $ac_kw foo_t foo () {return 0; }
16245 if ac_fn_c_try_compile
"$LINENO"; then :
16246 ac_cv_c_inline
=$ac_kw
16248 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16249 test "$ac_cv_c_inline" != no
&& break
16253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
16254 $as_echo "$ac_cv_c_inline" >&6; }
16256 case $ac_cv_c_inline in
16259 case $ac_cv_c_inline in
16261 *) ac_val
=$ac_cv_c_inline;;
16263 cat >>confdefs.h
<<_ACEOF
16264 #ifndef __cplusplus
16265 #define inline $ac_val
16271 ac_fn_c_check_type
"$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
16272 if test "x$ac_cv_type_mode_t" = xyes
; then :
16274 cat >>confdefs.h
<<_ACEOF
16275 #define HAVE_MODE_T 1
16280 ac_fn_c_check_type
"$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
16281 if test "x$ac_cv_type_off_t" = xyes
; then :
16283 cat >>confdefs.h
<<_ACEOF
16284 #define HAVE_OFF_T 1
16289 ac_fn_c_check_type
"$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
16290 if test "x$ac_cv_type_pid_t" = xyes
; then :
16292 cat >>confdefs.h
<<_ACEOF
16293 #define HAVE_PID_T 1
16298 ac_fn_c_check_type
"$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
16299 if test "x$ac_cv_type_size_t" = xyes
; then :
16301 cat >>confdefs.h
<<_ACEOF
16302 #define HAVE_SIZE_T 1
16307 ac_fn_c_check_type
"$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
16308 if test "x$ac_cv_type_ssize_t" = xyes
; then :
16310 cat >>confdefs.h
<<_ACEOF
16311 #define HAVE_SSIZE_T 1
16316 ac_fn_c_check_type
"$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
16317 if test "x$ac_cv_type_long_long" = xyes
; then :
16319 cat >>confdefs.h
<<_ACEOF
16320 #define HAVE_LONG_LONG 1
16325 ac_fn_c_check_type
"$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
16326 if test "x$ac_cv_type_fsblkcnt_t" = xyes
; then :
16328 cat >>confdefs.h
<<_ACEOF
16329 #define HAVE_FSBLKCNT_T 1
16334 ac_fn_c_check_type
"$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
16335 if test "x$ac_cv_type_fsfilcnt_t" = xyes
; then :
16337 cat >>confdefs.h
<<_ACEOF
16338 #define HAVE_FSFILCNT_T 1
16344 ac_fn_c_check_type
"$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
16345 #include <signal.h>
16347 if test "x$ac_cv_type_sigset_t" = xyes
; then :
16349 cat >>confdefs.h
<<_ACEOF
16350 #define HAVE_SIGSET_T 1
16356 ac_fn_c_check_type
"$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
16358 if test "x$ac_cv_type_request_sense" = xyes
; then :
16360 cat >>confdefs.h
<<_ACEOF
16361 #define HAVE_REQUEST_SENSE 1
16368 ac_fn_c_check_type
"$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
16369 #ifdef HAVE_SYS_SOCKET_H
16370 #include <sys/socket.h>
16372 #ifdef HAVE_SYS_SOCKETVAR_H
16373 #include <sys/socketvar.h>
16375 #ifdef HAVE_NET_ROUTE_H
16376 #include <net/route.h>
16378 #ifdef HAVE_NETINET_IN_H
16379 #include <netinet/in.h>
16381 #ifdef HAVE_NETINET_IN_SYSTM_H
16382 #include <netinet/in_systm.h>
16384 #ifdef HAVE_NETINET_IP_H
16385 #include <netinet/ip.h>
16387 #ifdef HAVE_NETINET_IN_PCB_H
16388 #include <netinet/in_pcb.h>
16391 if test "x$ac_cv_type_struct_xinpgen" = xyes
; then :
16393 cat >>confdefs.h
<<_ACEOF
16394 #define HAVE_STRUCT_XINPGEN 1
16401 ac_fn_c_check_type
"$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
16404 #ifdef HAVE_SYS_LINK_H
16405 #include <sys/link.h>
16408 if test "x$ac_cv_type_struct_r_debug" = xyes
; then :
16410 cat >>confdefs.h
<<_ACEOF
16411 #define HAVE_STRUCT_R_DEBUG 1
16416 ac_fn_c_check_type
"$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
16419 #ifdef HAVE_SYS_LINK_H
16420 #include <sys/link.h>
16423 if test "x$ac_cv_type_struct_link_map" = xyes
; then :
16425 cat >>confdefs.h
<<_ACEOF
16426 #define HAVE_STRUCT_LINK_MAP 1
16433 ac_fn_c_check_member
"$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
16434 #include <linux/input.h>
16437 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes
; then :
16439 cat >>confdefs.h
<<_ACEOF
16440 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
16447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for if_nameindex" >&5
16448 $as_echo_n "checking for if_nameindex... " >&6; }
16449 if ${wine_cv_have_if_nameindex+:} false
; then :
16450 $as_echo_n "(cached) " >&6
16452 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16453 /* end confdefs.h. */
16454 #ifdef HAVE_SYS_TYPES_H
16455 #include <sys/types.h>
16457 #ifdef HAVE_SYS_SOCKET_H
16458 #include <sys/socket.h>
16460 #ifdef HAVE_NET_IF_H
16461 # include <net/if.h>
16466 struct if_nameindex *p = if_nameindex(); return p->if_index;
16471 if ac_fn_c_try_link
"$LINENO"; then :
16472 wine_cv_have_if_nameindex
=yes
16474 wine_cv_have_if_nameindex
=no
16476 rm -f core conftest.err conftest.
$ac_objext \
16477 conftest
$ac_exeext conftest.
$ac_ext
16479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_if_nameindex" >&5
16480 $as_echo "$wine_cv_have_if_nameindex" >&6; }
16481 if test "$wine_cv_have_if_nameindex" = "yes"
16484 $as_echo "#define HAVE_IF_NAMEINDEX 1" >>confdefs.h
16488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
16489 $as_echo_n "checking for sigaddset... " >&6; }
16490 if ${wine_cv_have_sigaddset+:} false
; then :
16491 $as_echo_n "(cached) " >&6
16493 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16494 /* end confdefs.h. */
16495 #include <signal.h>
16499 sigset_t set; sigaddset(&set,SIGTERM);
16504 if ac_fn_c_try_link
"$LINENO"; then :
16505 wine_cv_have_sigaddset
=yes
16507 wine_cv_have_sigaddset
=no
16509 rm -f core conftest.err conftest.
$ac_objext \
16510 conftest
$ac_exeext conftest.
$ac_ext
16512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
16513 $as_echo "$wine_cv_have_sigaddset" >&6; }
16514 if test "$wine_cv_have_sigaddset" = "yes"
16517 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
16522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
16523 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
16524 if ${wine_cv_linux_gethostbyname_r_6+:} false
; then :
16525 $as_echo_n "(cached) " >&6
16527 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16528 /* end confdefs.h. */
16536 struct hostent *result;
16543 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
16544 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
16550 if ac_fn_c_try_link
"$LINENO"; then :
16551 wine_cv_linux_gethostbyname_r_6
=yes
16553 wine_cv_linux_gethostbyname_r_6
=no
16556 rm -f core conftest.err conftest.
$ac_objext \
16557 conftest
$ac_exeext conftest.
$ac_ext
16560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
16561 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
16562 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
16565 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
16569 if test "$ac_cv_header_linux_joystick_h" = "yes"
16571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
16572 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
16573 if ${wine_cv_linux_joystick_22_api+:} false
; then :
16574 $as_echo_n "(cached) " >&6
16576 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16577 /* end confdefs.h. */
16579 #include <sys/ioctl.h>
16580 #include <sys/types.h>
16581 #include <linux/joystick.h>
16583 struct js_event blub;
16584 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
16585 #error "no 2.2 header"
16596 if ac_fn_c_try_compile
"$LINENO"; then :
16597 wine_cv_linux_joystick_22_api
=yes
16599 wine_cv_linux_joystick_22_api
=no
16601 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
16605 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
16606 if test "$wine_cv_linux_joystick_22_api" = "yes"
16609 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
16615 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
16616 #ifdef HAVE_SYS_PARAM_H
16617 # include <sys/param.h>
16619 #ifdef HAVE_SYS_MOUNT_H
16620 # include <sys/mount.h>
16622 #ifdef HAVE_SYS_VFS_H
16623 # include <sys/vfs.h>
16625 #ifdef HAVE_SYS_STATFS_H
16626 # include <sys/statfs.h>
16629 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes
; then :
16631 cat >>confdefs.h
<<_ACEOF
16632 #define HAVE_STRUCT_STATFS_F_BFREE 1
16637 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
16638 #ifdef HAVE_SYS_PARAM_H
16639 # include <sys/param.h>
16641 #ifdef HAVE_SYS_MOUNT_H
16642 # include <sys/mount.h>
16644 #ifdef HAVE_SYS_VFS_H
16645 # include <sys/vfs.h>
16647 #ifdef HAVE_SYS_STATFS_H
16648 # include <sys/statfs.h>
16651 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes
; then :
16653 cat >>confdefs.h
<<_ACEOF
16654 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
16659 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
16660 #ifdef HAVE_SYS_PARAM_H
16661 # include <sys/param.h>
16663 #ifdef HAVE_SYS_MOUNT_H
16664 # include <sys/mount.h>
16666 #ifdef HAVE_SYS_VFS_H
16667 # include <sys/vfs.h>
16669 #ifdef HAVE_SYS_STATFS_H
16670 # include <sys/statfs.h>
16673 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes
; then :
16675 cat >>confdefs.h
<<_ACEOF
16676 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
16681 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
16682 #ifdef HAVE_SYS_PARAM_H
16683 # include <sys/param.h>
16685 #ifdef HAVE_SYS_MOUNT_H
16686 # include <sys/mount.h>
16688 #ifdef HAVE_SYS_VFS_H
16689 # include <sys/vfs.h>
16691 #ifdef HAVE_SYS_STATFS_H
16692 # include <sys/statfs.h>
16695 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes
; then :
16697 cat >>confdefs.h
<<_ACEOF
16698 #define HAVE_STRUCT_STATFS_F_FFREE 1
16703 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
16704 #ifdef HAVE_SYS_PARAM_H
16705 # include <sys/param.h>
16707 #ifdef HAVE_SYS_MOUNT_H
16708 # include <sys/mount.h>
16710 #ifdef HAVE_SYS_VFS_H
16711 # include <sys/vfs.h>
16713 #ifdef HAVE_SYS_STATFS_H
16714 # include <sys/statfs.h>
16717 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes
; then :
16719 cat >>confdefs.h
<<_ACEOF
16720 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
16725 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
16726 #ifdef HAVE_SYS_PARAM_H
16727 # include <sys/param.h>
16729 #ifdef HAVE_SYS_MOUNT_H
16730 # include <sys/mount.h>
16732 #ifdef HAVE_SYS_VFS_H
16733 # include <sys/vfs.h>
16735 #ifdef HAVE_SYS_STATFS_H
16736 # include <sys/statfs.h>
16739 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes
; then :
16741 cat >>confdefs.h
<<_ACEOF
16742 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
16749 ac_fn_c_check_member
"$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
16750 #include <sys/statvfs.h>
16753 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes
; then :
16755 cat >>confdefs.h
<<_ACEOF
16756 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
16763 ac_fn_c_check_member
"$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
16764 #include <dirent.h>
16767 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes
; then :
16769 cat >>confdefs.h
<<_ACEOF
16770 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
16777 ac_fn_c_check_member
"$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
16778 #ifdef HAVE_SYS_SOCKET_H
16779 # include <sys/socket.h>
16781 #ifdef HAVE_SYS_UN_H
16782 # include <sys/un.h>
16785 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes
; then :
16787 cat >>confdefs.h
<<_ACEOF
16788 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
16793 ac_fn_c_check_member
"$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
16794 #ifdef HAVE_SYS_SOCKET_H
16795 # include <sys/socket.h>
16797 #ifdef HAVE_SYS_UN_H
16798 # include <sys/un.h>
16801 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes
; then :
16803 cat >>confdefs.h
<<_ACEOF
16804 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
16809 ac_fn_c_check_member
"$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
16810 #ifdef HAVE_SYS_SOCKET_H
16811 # include <sys/socket.h>
16813 #ifdef HAVE_SYS_UN_H
16814 # include <sys/un.h>
16817 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes
; then :
16819 cat >>confdefs.h
<<_ACEOF
16820 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
16827 ac_fn_c_check_member
"$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
16828 #ifdef HAVE_SCSI_SG_H
16829 #include <scsi/sg.h>
16832 if test "x$ac_cv_member_scsireq_t_cmd" = xyes
; then :
16834 cat >>confdefs.h
<<_ACEOF
16835 #define HAVE_SCSIREQ_T_CMD 1
16840 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>
16841 #ifdef HAVE_SCSI_SG_H
16842 #include <scsi/sg.h>
16845 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes
; then :
16847 cat >>confdefs.h
<<_ACEOF
16848 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
16855 ac_fn_c_check_member
"$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
16857 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes
; then :
16859 cat >>confdefs.h
<<_ACEOF
16860 #define HAVE_SIGINFO_T_SI_FD 1
16867 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
16868 #ifdef HAVE_SYS_MTIO_H
16869 #include <sys/mtio.h>
16872 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes
; then :
16874 cat >>confdefs.h
<<_ACEOF
16875 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
16880 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
16881 #ifdef HAVE_SYS_MTIO_H
16882 #include <sys/mtio.h>
16885 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes
; then :
16887 cat >>confdefs.h
<<_ACEOF
16888 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
16893 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
16894 #ifdef HAVE_SYS_MTIO_H
16895 #include <sys/mtio.h>
16898 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes
; then :
16900 cat >>confdefs.h
<<_ACEOF
16901 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
16908 ac_fn_c_check_member
"$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
16909 #include <getopt.h>
16912 if test "x$ac_cv_member_struct_option_name" = xyes
; then :
16914 cat >>confdefs.h
<<_ACEOF
16915 #define HAVE_STRUCT_OPTION_NAME 1
16922 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
16923 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes
; then :
16925 cat >>confdefs.h
<<_ACEOF
16926 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
16931 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
16932 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes
; then :
16934 cat >>confdefs.h
<<_ACEOF
16935 #define HAVE_STRUCT_STAT_ST_MTIM 1
16940 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
16941 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes
; then :
16943 cat >>confdefs.h
<<_ACEOF
16944 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
16949 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
16950 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes
; then :
16952 cat >>confdefs.h
<<_ACEOF
16953 #define HAVE_STRUCT_STAT_ST_CTIM 1
16958 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
16959 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes
; then :
16961 cat >>confdefs.h
<<_ACEOF
16962 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
16967 ac_fn_c_check_member
"$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
16968 if test "x$ac_cv_member_struct_stat_st_atim" = xyes
; then :
16970 cat >>confdefs.h
<<_ACEOF
16971 #define HAVE_STRUCT_STAT_ST_ATIM 1
16976 ac_fn_c_check_member
"$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
16977 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes
; then :
16979 cat >>confdefs.h
<<_ACEOF
16980 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
16985 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
16986 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes
; then :
16988 cat >>confdefs.h
<<_ACEOF
16989 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
16994 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
16995 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes
; then :
16997 cat >>confdefs.h
<<_ACEOF
16998 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
17003 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
17004 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes
; then :
17006 cat >>confdefs.h
<<_ACEOF
17007 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
17012 ac_fn_c_check_member
"$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
17013 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes
; then :
17015 cat >>confdefs.h
<<_ACEOF
17016 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
17021 ac_fn_c_check_member
"$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
17022 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes
; then :
17024 cat >>confdefs.h
<<_ACEOF
17025 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
17032 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
17033 #include <sys/types.h>
17035 #ifdef HAVE_NETINET_IN_H
17036 #include <netinet/in.h>
17039 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes
; then :
17041 cat >>confdefs.h
<<_ACEOF
17042 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
17049 ac_fn_c_check_type
"$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_SYS_TYPES_H
17050 #include <sys/types.h>
17052 #ifdef HAVE_NETINET_IN_H
17053 #include <netinet/in.h>
17055 #ifdef HAVE_RESOLV_H
17056 #include <resolv.h>
17059 if test "x$ac_cv_type_struct___res_state" = xyes
; then :
17061 cat >>confdefs.h
<<_ACEOF
17062 #define HAVE_STRUCT___RES_STATE 1
17069 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
17070 #include <resolv.h>
17073 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes
; then :
17075 cat >>confdefs.h
<<_ACEOF
17076 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
17083 ac_fn_c_check_member
"$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
17084 #include <sys/types.h>
17086 #ifdef HAVE_NETINET_IN_H
17087 # include <netinet/in.h>
17089 #ifdef HAVE_ARPA_NAMESER_H
17090 # include <arpa/nameser.h>
17093 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes
; then :
17095 cat >>confdefs.h
<<_ACEOF
17096 #define HAVE_NS_MSG__MSG_PTR 1
17103 ac_fn_c_check_member
"$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
17104 #include <sys/types.h>
17106 #ifdef HAVE_NETINET_IN_H
17107 #include <netinet/in.h>
17109 #ifdef HAVE_NETINET_IP_H
17110 #include <netinet/ip.h>
17112 #ifdef HAVE_NETINET_IP_ICMP_H
17113 #include <netinet/ip_icmp.h>
17115 #ifdef HAVE_NETINET_ICMP_VAR_H
17116 #include <netinet/icmp_var.h>
17119 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes
; then :
17121 cat >>confdefs.h
<<_ACEOF
17122 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
17129 ac_fn_c_check_member
"$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
17130 #include <sys/types.h>
17132 #ifdef HAVE_ALIAS_H
17135 #ifdef HAVE_SYS_SOCKET_H
17136 #include <sys/socket.h>
17138 #ifdef HAVE_SYS_SOCKETVAR_H
17139 #include <sys/socketvar.h>
17141 #ifdef HAVE_SYS_TIMEOUT_H
17142 #include <sys/timeout.h>
17144 #ifdef HAVE_NETINET_IN_H
17145 #include <netinet/in.h>
17147 #ifdef HAVE_NETINET_IN_SYSTM_H
17148 #include <netinet/in_systm.h>
17150 #ifdef HAVE_NETINET_IP_H
17151 #include <netinet/ip.h>
17153 #ifdef HAVE_NETINET_IP_VAR_H
17154 #include <netinet/ip_var.h>
17156 #ifdef HAVE_NETINET_IP_ICMP_H
17157 #include <netinet/ip_icmp.h>
17159 #ifdef HAVE_NETINET_ICMP_VAR_H
17160 #include <netinet/icmp_var.h>
17163 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes
; then :
17165 cat >>confdefs.h
<<_ACEOF
17166 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
17173 ac_fn_c_check_member
"$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
17174 #include <sys/types.h>
17176 #ifdef HAVE_SYS_SOCKETVAR_H
17177 #include <sys/socketvar.h>
17179 #ifdef HAVE_NETINET_IN_H
17180 #include <netinet/in.h>
17182 #ifdef HAVE_NETINET_IP_VAR_H
17183 #include <netinet/ip_var.h>
17186 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes
; then :
17188 cat >>confdefs.h
<<_ACEOF
17189 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
17196 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
17197 #include <netinet/ip_var.h>
17200 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes
; then :
17202 cat >>confdefs.h
<<_ACEOF
17203 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
17210 ac_fn_c_check_member
"$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
17211 #include <sys/types.h>
17213 #ifdef HAVE_SYS_SOCKETVAR_H
17214 #include <sys/socketvar.h>
17216 #ifdef HAVE_NETINET_IN_H
17217 #include <netinet/in.h>
17219 #ifdef HAVE_NETINET_TCP_H
17220 #include <netinet/tcp.h>
17222 #ifdef HAVE_NETINET_TCP_VAR_H
17223 #include <netinet/tcp_var.h>
17226 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes
; then :
17228 cat >>confdefs.h
<<_ACEOF
17229 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
17236 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
17237 #include <netinet/tcp_var.h>
17240 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes
; then :
17242 cat >>confdefs.h
<<_ACEOF
17243 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
17250 ac_fn_c_check_member
"$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
17251 #include <sys/types.h>
17253 #ifdef HAVE_NETINET_IN_H
17254 #include <netinet/in.h>
17256 #ifdef HAVE_NETINET_IP_VAR_H
17257 #include <netinet/ip_var.h>
17259 #ifdef HAVE_NETINET_UDP_H
17260 #include <netinet/udp.h>
17262 #ifdef HAVE_NETINET_UDP_VAR_H
17263 #include <netinet/udp_var.h>
17266 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes
; then :
17268 cat >>confdefs.h
<<_ACEOF
17269 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
17276 ac_fn_c_check_member
"$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
17277 #include <sys/types.h>
17279 #ifdef HAVE_NET_IF_H
17280 # include <net/if.h>
17283 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes
; then :
17285 cat >>confdefs.h
<<_ACEOF
17286 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
17293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
17294 $as_echo_n "checking for timezone variable... " >&6; }
17295 if ${ac_cv_have_timezone+:} false
; then :
17296 $as_echo_n "(cached) " >&6
17298 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17299 /* end confdefs.h. */
17309 if ac_fn_c_try_link
"$LINENO"; then :
17310 ac_cv_have_timezone
="yes"
17312 ac_cv_have_timezone
="no"
17314 rm -f core conftest.err conftest.
$ac_objext \
17315 conftest
$ac_exeext conftest.
$ac_ext
17317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
17318 $as_echo "$ac_cv_have_timezone" >&6; }
17319 if test "$ac_cv_have_timezone" = "yes"
17322 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
17325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
17326 $as_echo_n "checking for daylight variable... " >&6; }
17327 if ${ac_cv_have_daylight+:} false
; then :
17328 $as_echo_n "(cached) " >&6
17330 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17331 /* end confdefs.h. */
17341 if ac_fn_c_try_link
"$LINENO"; then :
17342 ac_cv_have_daylight
="yes"
17344 ac_cv_have_daylight
="no"
17346 rm -f core conftest.err conftest.
$ac_objext \
17347 conftest
$ac_exeext conftest.
$ac_ext
17349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
17350 $as_echo "$ac_cv_have_daylight" >&6; }
17351 if test "$ac_cv_have_daylight" = "yes"
17354 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
17358 ac_save_LIBS
="$LIBS"
17360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
17361 $as_echo_n "checking for isfinite... " >&6; }
17362 if ${ac_cv_have_isfinite+:} false
; then :
17363 $as_echo_n "(cached) " >&6
17365 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17366 /* end confdefs.h. */
17367 #define _GNU_SOURCE
17372 float f = 0.0; return isfinite(f)
17377 if ac_fn_c_try_link
"$LINENO"; then :
17378 ac_cv_have_isfinite
="yes"
17380 ac_cv_have_isfinite
="no"
17382 rm -f core conftest.err conftest.
$ac_objext \
17383 conftest
$ac_exeext conftest.
$ac_ext
17385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
17386 $as_echo "$ac_cv_have_isfinite" >&6; }
17387 if test "$ac_cv_have_isfinite" = "yes"
17390 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
17394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
17395 $as_echo_n "checking for isinf... " >&6; }
17396 if ${ac_cv_have_isinf+:} false
; then :
17397 $as_echo_n "(cached) " >&6
17399 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17400 /* end confdefs.h. */
17405 float f = 0.0; return isinf(f)
17410 if ac_fn_c_try_link
"$LINENO"; then :
17411 ac_cv_have_isinf
="yes"
17413 ac_cv_have_isinf
="no"
17415 rm -f core conftest.err conftest.
$ac_objext \
17416 conftest
$ac_exeext conftest.
$ac_ext
17418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
17419 $as_echo "$ac_cv_have_isinf" >&6; }
17420 if test "$ac_cv_have_isinf" = "yes"
17423 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
17427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
17428 $as_echo_n "checking for isnan... " >&6; }
17429 if ${ac_cv_have_isnan+:} false
; then :
17430 $as_echo_n "(cached) " >&6
17432 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17433 /* end confdefs.h. */
17438 float f = 0.0; return isnan(f)
17443 if ac_fn_c_try_link
"$LINENO"; then :
17444 ac_cv_have_isnan
="yes"
17446 ac_cv_have_isnan
="no"
17448 rm -f core conftest.err conftest.
$ac_objext \
17449 conftest
$ac_exeext conftest.
$ac_ext
17451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
17452 $as_echo "$ac_cv_have_isnan" >&6; }
17453 if test "$ac_cv_have_isnan" = "yes"
17456 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
17504 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17505 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
17506 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
17507 cat >>confdefs.h
<<_ACEOF
17508 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17514 LIBS
="$ac_save_LIBS"
17516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_clz" >&5
17517 $as_echo_n "checking for __builtin_clz... " >&6; }
17518 if ${ac_cv_have___builtin_clz+:} false
; then :
17519 $as_echo_n "(cached) " >&6
17521 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17522 /* end confdefs.h. */
17527 return __builtin_clz(1)
17532 if ac_fn_c_try_link
"$LINENO"; then :
17533 ac_cv_have___builtin_clz
="yes"
17535 ac_cv_have___builtin_clz
="no"
17537 rm -f core conftest.err conftest.
$ac_objext \
17538 conftest
$ac_exeext conftest.
$ac_ext
17540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_clz" >&5
17541 $as_echo "$ac_cv_have___builtin_clz" >&6; }
17542 if test "$ac_cv_have___builtin_clz" = "yes"
17545 $as_echo "#define HAVE___BUILTIN_CLZ 1" >>confdefs.h
17549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
17550 $as_echo_n "checking for __builtin_popcount... " >&6; }
17551 if ${ac_cv_have___builtin_popcount+:} false
; then :
17552 $as_echo_n "(cached) " >&6
17554 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17555 /* end confdefs.h. */
17560 return __builtin_popcount(1)
17565 if ac_fn_c_try_link
"$LINENO"; then :
17566 ac_cv_have___builtin_popcount
="yes"
17568 ac_cv_have___builtin_popcount
="no"
17570 rm -f core conftest.err conftest.
$ac_objext \
17571 conftest
$ac_exeext conftest.
$ac_ext
17573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
17574 $as_echo "$ac_cv_have___builtin_popcount" >&6; }
17575 if test "$ac_cv_have___builtin_popcount" = "yes"
17578 $as_echo "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
17584 *i
[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
17585 $as_echo_n "checking whether we need to define __i386__... " >&6; }
17586 if ${ac_cv_cpp_def___i386__+:} false
; then :
17587 $as_echo_n "(cached) " >&6
17589 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17590 /* end confdefs.h. */
17595 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17596 $EGREP "yes" >/dev
/null
2>&1; then :
17597 ac_cv_cpp_def___i386__
=yes
17599 ac_cv_cpp_def___i386__
=no
17604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
17605 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
17606 if test "x$ac_cv_cpp_def___i386__" = xyes
; then :
17607 CFLAGS
="$CFLAGS -D__i386__"
17608 LINTFLAGS
="$LINTFLAGS -D__i386__"
17610 *x86_64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
17611 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
17612 if ${ac_cv_cpp_def___x86_64__+:} false
; then :
17613 $as_echo_n "(cached) " >&6
17615 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17616 /* end confdefs.h. */
17621 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17622 $EGREP "yes" >/dev
/null
2>&1; then :
17623 ac_cv_cpp_def___x86_64__
=yes
17625 ac_cv_cpp_def___x86_64__
=no
17630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
17631 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
17632 if test "x$ac_cv_cpp_def___x86_64__" = xyes
; then :
17633 CFLAGS
="$CFLAGS -D__x86_64__"
17634 LINTFLAGS
="$LINTFLAGS -D__x86_64__"
17636 *sparc64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
17637 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
17638 if ${ac_cv_cpp_def___sparc64__+:} false
; then :
17639 $as_echo_n "(cached) " >&6
17641 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17642 /* end confdefs.h. */
17643 #ifndef __sparc64__
17647 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17648 $EGREP "yes" >/dev
/null
2>&1; then :
17649 ac_cv_cpp_def___sparc64__
=yes
17651 ac_cv_cpp_def___sparc64__
=no
17656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
17657 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
17658 if test "x$ac_cv_cpp_def___sparc64__" = xyes
; then :
17659 CFLAGS
="$CFLAGS -D__sparc64__"
17660 LINTFLAGS
="$LINTFLAGS -D__sparc64__"
17662 *sparc
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
17663 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
17664 if ${ac_cv_cpp_def___sparc__+:} false
; then :
17665 $as_echo_n "(cached) " >&6
17667 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17668 /* end confdefs.h. */
17673 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17674 $EGREP "yes" >/dev
/null
2>&1; then :
17675 ac_cv_cpp_def___sparc__
=yes
17677 ac_cv_cpp_def___sparc__
=no
17682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
17683 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
17684 if test "x$ac_cv_cpp_def___sparc__" = xyes
; then :
17685 CFLAGS
="$CFLAGS -D__sparc__"
17686 LINTFLAGS
="$LINTFLAGS -D__sparc__"
17688 *powerpc64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
17689 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
17690 if ${ac_cv_cpp_def___powerpc64__+:} false
; then :
17691 $as_echo_n "(cached) " >&6
17693 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17694 /* end confdefs.h. */
17695 #ifndef __powerpc64__
17699 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17700 $EGREP "yes" >/dev
/null
2>&1; then :
17701 ac_cv_cpp_def___powerpc64__
=yes
17703 ac_cv_cpp_def___powerpc64__
=no
17708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
17709 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
17710 if test "x$ac_cv_cpp_def___powerpc64__" = xyes
; then :
17711 CFLAGS
="$CFLAGS -D__powerpc64__"
17712 LINTFLAGS
="$LINTFLAGS -D__powerpc64__"
17714 *powerpc
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
17715 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
17716 if ${ac_cv_cpp_def___powerpc__+:} false
; then :
17717 $as_echo_n "(cached) " >&6
17719 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17720 /* end confdefs.h. */
17721 #ifndef __powerpc__
17725 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17726 $EGREP "yes" >/dev
/null
2>&1; then :
17727 ac_cv_cpp_def___powerpc__
=yes
17729 ac_cv_cpp_def___powerpc__
=no
17734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
17735 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
17736 if test "x$ac_cv_cpp_def___powerpc__" = xyes
; then :
17737 CFLAGS
="$CFLAGS -D__powerpc__"
17738 LINTFLAGS
="$LINTFLAGS -D__powerpc__"
17740 *aarch64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
17741 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
17742 if ${ac_cv_cpp_def___aarch64__+:} false
; then :
17743 $as_echo_n "(cached) " >&6
17745 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17746 /* end confdefs.h. */
17747 #ifndef __aarch64__
17751 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17752 $EGREP "yes" >/dev
/null
2>&1; then :
17753 ac_cv_cpp_def___aarch64__
=yes
17755 ac_cv_cpp_def___aarch64__
=no
17760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
17761 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
17762 if test "x$ac_cv_cpp_def___aarch64__" = xyes
; then :
17763 CFLAGS
="$CFLAGS -D__aarch64__"
17764 LINTFLAGS
="$LINTFLAGS -D__aarch64__"
17766 *arm
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
17767 $as_echo_n "checking whether we need to define __arm__... " >&6; }
17768 if ${ac_cv_cpp_def___arm__+:} false
; then :
17769 $as_echo_n "(cached) " >&6
17771 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17772 /* end confdefs.h. */
17777 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17778 $EGREP "yes" >/dev
/null
2>&1; then :
17779 ac_cv_cpp_def___arm__
=yes
17781 ac_cv_cpp_def___arm__
=no
17786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
17787 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
17788 if test "x$ac_cv_cpp_def___arm__" = xyes
; then :
17789 CFLAGS
="$CFLAGS -D__arm__"
17790 LINTFLAGS
="$LINTFLAGS -D__arm__"
17794 case $host_vendor in
17795 *sun
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
17796 $as_echo_n "checking whether we need to define __sun__... " >&6; }
17797 if ${ac_cv_cpp_def___sun__+:} false
; then :
17798 $as_echo_n "(cached) " >&6
17800 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17801 /* end confdefs.h. */
17806 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17807 $EGREP "yes" >/dev
/null
2>&1; then :
17808 ac_cv_cpp_def___sun__
=yes
17810 ac_cv_cpp_def___sun__
=no
17815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
17816 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
17817 if test "x$ac_cv_cpp_def___sun__" = xyes
; then :
17818 CFLAGS
="$CFLAGS -D__sun__"
17819 LINTFLAGS
="$LINTFLAGS -D__sun__"
17827 ac_config_commands
="$ac_config_commands include/stamp-h"
17829 $as_echo_n "creating Makefile rules..." >&6
17831 ALL_VARS_RULES
="OPENGL_LIBS = $OPENGL_LIBS
17832 SOCKET_LIBS = $SOCKET_LIBS
17833 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
17834 IOKIT_LIBS = $IOKIT_LIBS
17835 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
17836 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
17837 CORESERVICES_LIBS = $CORESERVICES_LIBS
17838 APPKIT_LIBS = $APPKIT_LIBS
17839 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
17840 SECURITY_LIBS = $SECURITY_LIBS
17841 COREAUDIO_LIBS = $COREAUDIO_LIBS
17842 OPENAL_LIBS = $OPENAL_LIBS
17843 OPENCL_LIBS = $OPENCL_LIBS
17844 QUICKTIME_LIBS = $QUICKTIME_LIBS
17845 CARBON_LIBS = $CARBON_LIBS
17846 PTHREAD_LIBS = $PTHREAD_LIBS
17847 X_CFLAGS = $X_CFLAGS
17848 X_PRE_LIBS = $X_PRE_LIBS
17850 X_EXTRA_LIBS = $X_EXTRA_LIBS
17851 PCAP_LIBS = $PCAP_LIBS
17852 XML2_CFLAGS = $XML2_CFLAGS
17853 XML2_LIBS = $XML2_LIBS
17854 XSLT_CFLAGS = $XSLT_CFLAGS
17855 XSLT_LIBS = $XSLT_LIBS
17856 DBUS_CFLAGS = $DBUS_CFLAGS
17857 DBUS_LIBS = $DBUS_LIBS
17858 HAL_CFLAGS = $HAL_CFLAGS
17859 HAL_LIBS = $HAL_LIBS
17860 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
17861 GNUTLS_LIBS = $GNUTLS_LIBS
17862 SANE_CFLAGS = $SANE_CFLAGS
17863 SANE_LIBS = $SANE_LIBS
17864 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
17865 GPHOTO2_LIBS = $GPHOTO2_LIBS
17866 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
17867 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
17868 RESOLV_LIBS = $RESOLV_LIBS
17869 LCMS2_CFLAGS = $LCMS2_CFLAGS
17870 LCMS2_LIBS = $LCMS2_LIBS
17871 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
17872 FREETYPE_LIBS = $FREETYPE_LIBS
17874 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
17875 PULSE_CFLAGS = $PULSE_CFLAGS
17876 PULSE_LIBS = $PULSE_LIBS
17877 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
17878 GSTREAMER_LIBS = $GSTREAMER_LIBS
17879 ALSA_LIBS = $ALSA_LIBS
17880 OSS4_CFLAGS = $OSS4_CFLAGS
17881 UDEV_CFLAGS = $UDEV_CFLAGS
17882 UDEV_LIBS = $UDEV_LIBS
17883 CAPI20_CFLAGS = $CAPI20_CFLAGS
17884 CAPI20_LIBS = $CAPI20_LIBS
17885 CUPS_CFLAGS = $CUPS_CFLAGS
17886 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
17887 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
17888 JPEG_CFLAGS = $JPEG_CFLAGS
17889 JPEG_LIBS = $JPEG_LIBS
17890 PNG_CFLAGS = $PNG_CFLAGS
17891 PNG_LIBS = $PNG_LIBS
17892 TIFF_CFLAGS = $TIFF_CFLAGS
17893 TIFF_LIBS = $TIFF_LIBS
17894 MPG123_CFLAGS = $MPG123_CFLAGS
17895 MPG123_LIBS = $MPG123_LIBS
17896 KSTAT_LIBS = $KSTAT_LIBS
17897 PROCSTAT_LIBS = $PROCSTAT_LIBS
17898 NETAPI_CFLAGS = $NETAPI_CFLAGS
17899 NETAPI_LIBS = $NETAPI_LIBS
17900 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
17902 POLL_LIBS = $POLL_LIBS
17904 LDAP_CFLAGS = $LDAP_CFLAGS
17905 LDAP_LIBS = $LDAP_LIBS
17910 wine_fn_append_rule
"
17911 # Rules automatically generated by configure
17913 CLEAN_FILES = *.o *.a *.so *.res *.fake *.ok *.tab.[ch] *.yy.c
17918 Makefile: $srcdir/Makefile.in config.status \$(MAKEDEP)
17919 @./config.status Make.tmp Makefile
17920 depend: \$(MAKEDEP) dummy
17923 test -n "$CROSSTARGET" || wine_fn_append_rule
"crosstest:
17924 @echo \"crosstest is not supported (mingw not installed?)\" && false"
17926 if test "x$enable_fonts" != xno
; then
17927 ac_config_links
="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
17928 ac_config_links
="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
17929 ac_config_links
="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
17930 ac_config_links
="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
17931 ac_config_links
="$ac_config_links fonts/wingding.ttf:fonts/wingding.ttf"
17932 test "$srcdir" = "." || wine_fn_config_symlink fonts
/marlett.ttf fonts
/symbol.ttf fonts
/tahoma.ttf fonts
/tahomabd.ttf fonts
/wingding.ttf
17934 ac_config_links
="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
17935 test "$srcdir" = "." || wine_fn_config_symlink loader
/l_intl.nls
17936 ac_config_links
="$ac_config_links wine:tools/winewrapper"
17937 wine_fn_config_symlink wine
17938 if test "x$enable_win64" != xno
; then
17939 ac_config_links
="$ac_config_links wine64:tools/winewrapper"
17940 wine_fn_config_symlink wine64
17943 wine_fn_config_dll acledit enable_acledit
17944 wine_fn_config_dll aclui enable_aclui implib
17945 wine_fn_config_dll activeds enable_activeds implib
17946 wine_fn_config_dll actxprxy enable_actxprxy clean
17947 wine_fn_config_lib adsiid
17948 wine_fn_config_dll adsldpc enable_adsldpc
17949 wine_fn_config_dll advapi32 enable_advapi32 clean
,implib
17950 wine_fn_config_test dlls
/advapi32
/tests advapi32_test
17951 wine_fn_config_dll advpack enable_advpack implib
17952 wine_fn_config_test dlls
/advpack
/tests advpack_test
17953 wine_fn_config_dll amstream enable_amstream clean
17954 wine_fn_config_test dlls
/amstream
/tests amstream_test
17955 wine_fn_config_dll api-ms-win-appmodel-identity-l1-1-0 enable_api_ms_win_appmodel_identity_l1_1_0
17956 wine_fn_config_dll api-ms-win-appmodel-runtime-l1-1-1 enable_api_ms_win_appmodel_runtime_l1_1_1
17957 wine_fn_config_dll api-ms-win-core-apiquery-l1-1-0 enable_api_ms_win_core_apiquery_l1_1_0
17958 wine_fn_config_dll api-ms-win-core-appcompat-l1-1-1 enable_api_ms_win_core_appcompat_l1_1_1
17959 wine_fn_config_dll api-ms-win-core-appinit-l1-1-0 enable_api_ms_win_core_appinit_l1_1_0
17960 wine_fn_config_dll api-ms-win-core-atoms-l1-1-0 enable_api_ms_win_core_atoms_l1_1_0
17961 wine_fn_config_dll api-ms-win-core-bem-l1-1-0 enable_api_ms_win_core_bem_l1_1_0
17962 wine_fn_config_dll api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
17963 wine_fn_config_dll api-ms-win-core-com-l1-1-1 enable_api_ms_win_core_com_l1_1_1
17964 wine_fn_config_dll api-ms-win-core-com-private-l1-1-0 enable_api_ms_win_core_com_private_l1_1_0
17965 wine_fn_config_dll api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
17966 wine_fn_config_dll api-ms-win-core-console-l2-1-0 enable_api_ms_win_core_console_l2_1_0
17967 wine_fn_config_dll api-ms-win-core-crt-l1-1-0 enable_api_ms_win_core_crt_l1_1_0
17968 wine_fn_config_dll api-ms-win-core-crt-l2-1-0 enable_api_ms_win_core_crt_l2_1_0
17969 wine_fn_config_dll api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
17970 wine_fn_config_dll api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
17971 wine_fn_config_dll api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
17972 wine_fn_config_dll api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
17973 wine_fn_config_dll api-ms-win-core-delayload-l1-1-0 enable_api_ms_win_core_delayload_l1_1_0
17974 wine_fn_config_dll api-ms-win-core-delayload-l1-1-1 enable_api_ms_win_core_delayload_l1_1_1
17975 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
17976 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
17977 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
17978 wine_fn_config_dll api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
17979 wine_fn_config_dll api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
17980 wine_fn_config_dll api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
17981 wine_fn_config_dll api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
17982 wine_fn_config_dll api-ms-win-core-file-l1-2-1 enable_api_ms_win_core_file_l1_2_1
17983 wine_fn_config_dll api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
17984 wine_fn_config_dll api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
17985 wine_fn_config_dll api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
17986 wine_fn_config_dll api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
17987 wine_fn_config_dll api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
17988 wine_fn_config_dll api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
17989 wine_fn_config_dll api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
17990 wine_fn_config_dll api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
17991 wine_fn_config_dll api-ms-win-core-io-l1-1-0 enable_api_ms_win_core_io_l1_1_0
17992 wine_fn_config_dll api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
17993 wine_fn_config_dll api-ms-win-core-job-l1-1-0 enable_api_ms_win_core_job_l1_1_0
17994 wine_fn_config_dll api-ms-win-core-job-l2-1-0 enable_api_ms_win_core_job_l2_1_0
17995 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
17996 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-1 enable_api_ms_win_core_kernel32_legacy_l1_1_1
17997 wine_fn_config_dll api-ms-win-core-kernel32-private-l1-1-1 enable_api_ms_win_core_kernel32_private_l1_1_1
17998 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
17999 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
18000 wine_fn_config_dll api-ms-win-core-libraryloader-l1-2-0 enable_api_ms_win_core_libraryloader_l1_2_0
18001 wine_fn_config_dll api-ms-win-core-libraryloader-l1-2-2 enable_api_ms_win_core_libraryloader_l1_2_2
18002 wine_fn_config_dll api-ms-win-core-localization-l1-1-0 enable_api_ms_win_core_localization_l1_1_0
18003 wine_fn_config_dll api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
18004 wine_fn_config_dll api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
18005 wine_fn_config_dll api-ms-win-core-localization-l2-1-0 enable_api_ms_win_core_localization_l2_1_0
18006 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
18007 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-2-0 enable_api_ms_win_core_localization_obsolete_l1_2_0
18008 wine_fn_config_dll api-ms-win-core-localization-private-l1-1-0 enable_api_ms_win_core_localization_private_l1_1_0
18009 wine_fn_config_dll api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
18010 wine_fn_config_dll api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
18011 wine_fn_config_dll api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
18012 wine_fn_config_dll api-ms-win-core-memory-l1-1-2 enable_api_ms_win_core_memory_l1_1_2
18013 wine_fn_config_dll api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
18014 wine_fn_config_dll api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
18015 wine_fn_config_dll api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
18016 wine_fn_config_dll api-ms-win-core-namespace-l1-1-0 enable_api_ms_win_core_namespace_l1_1_0
18017 wine_fn_config_dll api-ms-win-core-normalization-l1-1-0 enable_api_ms_win_core_normalization_l1_1_0
18018 wine_fn_config_dll api-ms-win-core-path-l1-1-0 enable_api_ms_win_core_path_l1_1_0
18019 wine_fn_config_dll api-ms-win-core-privateprofile-l1-1-1 enable_api_ms_win_core_privateprofile_l1_1_1
18020 wine_fn_config_dll api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
18021 wine_fn_config_dll api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
18022 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
18023 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
18024 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
18025 wine_fn_config_dll api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
18026 wine_fn_config_dll api-ms-win-core-psapi-ansi-l1-1-0 enable_api_ms_win_core_psapi_ansi_l1_1_0
18027 wine_fn_config_dll api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
18028 wine_fn_config_dll api-ms-win-core-psapi-obsolete-l1-1-0 enable_api_ms_win_core_psapi_obsolete_l1_1_0
18029 wine_fn_config_dll api-ms-win-core-quirks-l1-1-0 enable_api_ms_win_core_quirks_l1_1_0
18030 wine_fn_config_dll api-ms-win-core-realtime-l1-1-0 enable_api_ms_win_core_realtime_l1_1_0
18031 wine_fn_config_dll api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
18032 wine_fn_config_dll api-ms-win-core-registry-l2-1-0 enable_api_ms_win_core_registry_l2_1_0
18033 wine_fn_config_dll api-ms-win-core-registryuserspecific-l1-1-0 enable_api_ms_win_core_registryuserspecific_l1_1_0
18034 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
18035 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
18036 wine_fn_config_dll api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
18037 wine_fn_config_dll api-ms-win-core-shlwapi-obsolete-l1-1-0 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
18038 wine_fn_config_dll api-ms-win-core-sidebyside-l1-1-0 enable_api_ms_win_core_sidebyside_l1_1_0
18039 wine_fn_config_dll api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
18040 wine_fn_config_dll api-ms-win-core-string-l2-1-0 enable_api_ms_win_core_string_l2_1_0
18041 wine_fn_config_dll api-ms-win-core-string-obsolete-l1-1-0 enable_api_ms_win_core_string_obsolete_l1_1_0
18042 wine_fn_config_dll api-ms-win-core-stringansi-l1-1-0 enable_api_ms_win_core_stringansi_l1_1_0
18043 wine_fn_config_dll api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
18044 wine_fn_config_dll api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
18045 wine_fn_config_dll api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
18046 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
18047 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
18048 wine_fn_config_dll api-ms-win-core-threadpool-l1-1-0 enable_api_ms_win_core_threadpool_l1_1_0
18049 wine_fn_config_dll api-ms-win-core-threadpool-l1-2-0 enable_api_ms_win_core_threadpool_l1_2_0
18050 wine_fn_config_dll api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
18051 wine_fn_config_dll api-ms-win-core-threadpool-private-l1-1-0 enable_api_ms_win_core_threadpool_private_l1_1_0
18052 wine_fn_config_dll api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
18053 wine_fn_config_dll api-ms-win-core-toolhelp-l1-1-0 enable_api_ms_win_core_toolhelp_l1_1_0
18054 wine_fn_config_dll api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
18055 wine_fn_config_dll api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
18056 wine_fn_config_dll api-ms-win-core-version-l1-1-0 enable_api_ms_win_core_version_l1_1_0
18057 wine_fn_config_dll api-ms-win-core-version-private-l1-1-0 enable_api_ms_win_core_version_private_l1_1_0
18058 wine_fn_config_dll api-ms-win-core-versionansi-l1-1-0 enable_api_ms_win_core_versionansi_l1_1_0
18059 wine_fn_config_dll api-ms-win-core-windowserrorreporting-l1-1-0 enable_api_ms_win_core_windowserrorreporting_l1_1_0
18060 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
18061 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
18062 wine_fn_config_dll api-ms-win-core-winrt-errorprivate-l1-1-1 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
18063 wine_fn_config_dll api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
18064 wine_fn_config_dll api-ms-win-core-winrt-registration-l1-1-0 enable_api_ms_win_core_winrt_registration_l1_1_0
18065 wine_fn_config_dll api-ms-win-core-winrt-roparameterizediid-l1-1-0 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
18066 wine_fn_config_dll api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
18067 wine_fn_config_dll api-ms-win-core-wow64-l1-1-0 enable_api_ms_win_core_wow64_l1_1_0
18068 wine_fn_config_dll api-ms-win-core-xstate-l1-1-0 enable_api_ms_win_core_xstate_l1_1_0
18069 wine_fn_config_dll api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
18070 wine_fn_config_dll api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
18071 wine_fn_config_dll api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
18072 wine_fn_config_dll api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
18073 wine_fn_config_dll api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
18074 wine_fn_config_dll api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
18075 wine_fn_config_dll api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
18076 wine_fn_config_dll api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
18077 wine_fn_config_dll api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
18078 wine_fn_config_dll api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
18079 wine_fn_config_dll api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
18080 wine_fn_config_dll api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
18081 wine_fn_config_dll api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
18082 wine_fn_config_dll api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
18083 wine_fn_config_dll api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
18084 wine_fn_config_dll api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
18085 wine_fn_config_dll api-ms-win-devices-config-l1-1-1 enable_api_ms_win_devices_config_l1_1_1
18086 wine_fn_config_dll api-ms-win-devices-query-l1-1-1 enable_api_ms_win_devices_query_l1_1_1
18087 wine_fn_config_dll api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
18088 wine_fn_config_dll api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
18089 wine_fn_config_dll api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
18090 wine_fn_config_dll api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
18091 wine_fn_config_dll api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
18092 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
18093 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
18094 wine_fn_config_dll api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
18095 wine_fn_config_dll api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
18096 wine_fn_config_dll api-ms-win-dx-d3dkmt-l1-1-0 enable_api_ms_win_dx_d3dkmt_l1_1_0
18097 wine_fn_config_dll api-ms-win-eventing-classicprovider-l1-1-0 enable_api_ms_win_eventing_classicprovider_l1_1_0
18098 wine_fn_config_dll api-ms-win-eventing-consumer-l1-1-0 enable_api_ms_win_eventing_consumer_l1_1_0
18099 wine_fn_config_dll api-ms-win-eventing-controller-l1-1-0 enable_api_ms_win_eventing_controller_l1_1_0
18100 wine_fn_config_dll api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
18101 wine_fn_config_dll api-ms-win-eventlog-legacy-l1-1-0 enable_api_ms_win_eventlog_legacy_l1_1_0
18102 wine_fn_config_dll api-ms-win-mm-misc-l1-1-1 enable_api_ms_win_mm_misc_l1_1_1
18103 wine_fn_config_dll api-ms-win-mm-mme-l1-1-0 enable_api_ms_win_mm_mme_l1_1_0
18104 wine_fn_config_dll api-ms-win-mm-time-l1-1-0 enable_api_ms_win_mm_time_l1_1_0
18105 wine_fn_config_dll api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
18106 wine_fn_config_dll api-ms-win-power-base-l1-1-0 enable_api_ms_win_power_base_l1_1_0
18107 wine_fn_config_dll api-ms-win-power-setting-l1-1-0 enable_api_ms_win_power_setting_l1_1_0
18108 wine_fn_config_dll api-ms-win-rtcore-ntuser-private-l1-1-0 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
18109 wine_fn_config_dll api-ms-win-security-activedirectoryclient-l1-1-0 enable_api_ms_win_security_activedirectoryclient_l1_1_0
18110 wine_fn_config_dll api-ms-win-security-audit-l1-1-1 enable_api_ms_win_security_audit_l1_1_1
18111 wine_fn_config_dll api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
18112 wine_fn_config_dll api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
18113 wine_fn_config_dll api-ms-win-security-base-private-l1-1-1 enable_api_ms_win_security_base_private_l1_1_1
18114 wine_fn_config_dll api-ms-win-security-credentials-l1-1-0 enable_api_ms_win_security_credentials_l1_1_0
18115 wine_fn_config_dll api-ms-win-security-grouppolicy-l1-1-0 enable_api_ms_win_security_grouppolicy_l1_1_0
18116 wine_fn_config_dll api-ms-win-security-lsalookup-l1-1-0 enable_api_ms_win_security_lsalookup_l1_1_0
18117 wine_fn_config_dll api-ms-win-security-lsalookup-l1-1-1 enable_api_ms_win_security_lsalookup_l1_1_1
18118 wine_fn_config_dll api-ms-win-security-lsalookup-l2-1-1 enable_api_ms_win_security_lsalookup_l2_1_1
18119 wine_fn_config_dll api-ms-win-security-lsapolicy-l1-1-0 enable_api_ms_win_security_lsapolicy_l1_1_0
18120 wine_fn_config_dll api-ms-win-security-provider-l1-1-0 enable_api_ms_win_security_provider_l1_1_0
18121 wine_fn_config_dll api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
18122 wine_fn_config_dll api-ms-win-security-systemfunctions-l1-1-0 enable_api_ms_win_security_systemfunctions_l1_1_0
18123 wine_fn_config_dll api-ms-win-service-core-l1-1-0 enable_api_ms_win_service_core_l1_1_0
18124 wine_fn_config_dll api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
18125 wine_fn_config_dll api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
18126 wine_fn_config_dll api-ms-win-service-management-l2-1-0 enable_api_ms_win_service_management_l2_1_0
18127 wine_fn_config_dll api-ms-win-service-private-l1-1-1 enable_api_ms_win_service_private_l1_1_1
18128 wine_fn_config_dll api-ms-win-service-winsvc-l1-1-0 enable_api_ms_win_service_winsvc_l1_1_0
18129 wine_fn_config_dll api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
18130 wine_fn_config_dll api-ms-win-shell-shellcom-l1-1-0 enable_api_ms_win_shell_shellcom_l1_1_0
18131 wine_fn_config_dll api-ms-win-shell-shellfolders-l1-1-0 enable_api_ms_win_shell_shellfolders_l1_1_0
18132 wine_fn_config_dll apphelp enable_apphelp
18133 wine_fn_config_test dlls
/apphelp
/tests apphelp_test
18134 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl clean
18135 wine_fn_config_dll atl enable_atl clean
,implib
18136 wine_fn_config_test dlls
/atl
/tests atl_test
18137 wine_fn_config_dll atl100 enable_atl100 clean
,implib
18138 wine_fn_config_test dlls
/atl100
/tests atl100_test
18139 wine_fn_config_dll atl110 enable_atl110 clean
18140 wine_fn_config_dll atl80 enable_atl80 clean
,implib
18141 wine_fn_config_test dlls
/atl80
/tests atl80_test
18142 wine_fn_config_dll atl90 enable_atl90 clean
18143 wine_fn_config_dll authz enable_authz
18144 wine_fn_config_dll avicap32 enable_avicap32 implib
18145 wine_fn_config_dll avifil32 enable_avifil32 clean
,implib
18146 wine_fn_config_test dlls
/avifil32
/tests avifil32_test
18147 wine_fn_config_dll avifile.dll16 enable_win16
18148 wine_fn_config_dll avrt enable_avrt implib
18149 wine_fn_config_dll bcrypt enable_bcrypt implib
18150 wine_fn_config_test dlls
/bcrypt
/tests bcrypt_test
18151 wine_fn_config_dll bluetoothapis enable_bluetoothapis
18152 wine_fn_config_dll browseui enable_browseui clean
18153 wine_fn_config_test dlls
/browseui
/tests browseui_test
18154 wine_fn_config_dll bthprops.cpl enable_bthprops_cpl
18155 wine_fn_config_dll cabinet enable_cabinet implib
18156 wine_fn_config_test dlls
/cabinet
/tests cabinet_test
18157 wine_fn_config_dll capi2032 enable_capi2032 implib
18158 wine_fn_config_dll cards enable_cards implib
18159 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
18160 wine_fn_config_dll clusapi enable_clusapi implib
18161 wine_fn_config_dll combase enable_combase
18162 wine_fn_config_test dlls
/combase
/tests combase_test
18163 wine_fn_config_dll comcat enable_comcat
18164 wine_fn_config_test dlls
/comcat
/tests comcat_test
18165 wine_fn_config_dll comctl32 enable_comctl32 clean
,implib
18166 wine_fn_config_test dlls
/comctl32
/tests comctl32_test
18167 wine_fn_config_dll comdlg32 enable_comdlg32 clean
,implib
18168 wine_fn_config_test dlls
/comdlg32
/tests comdlg32_test
18169 wine_fn_config_dll
comm.drv16 enable_win16
18170 wine_fn_config_dll commdlg.dll16 enable_win16
18171 wine_fn_config_dll compobj.dll16 enable_win16
18172 wine_fn_config_dll compstui enable_compstui implib
18173 wine_fn_config_dll comsvcs enable_comsvcs clean
,implib
18174 wine_fn_config_dll concrt140 enable_concrt140
18175 wine_fn_config_dll connect enable_connect
18176 wine_fn_config_dll credui enable_credui clean
,implib
18177 wine_fn_config_test dlls
/credui
/tests credui_test
18178 wine_fn_config_dll crtdll enable_crtdll
18179 wine_fn_config_dll crypt32 enable_crypt32 clean
,implib
18180 wine_fn_config_test dlls
/crypt32
/tests crypt32_test
18181 wine_fn_config_dll cryptdlg enable_cryptdlg clean
18182 wine_fn_config_dll cryptdll enable_cryptdll implib
18183 wine_fn_config_dll cryptext enable_cryptext
18184 wine_fn_config_dll cryptnet enable_cryptnet implib
18185 wine_fn_config_test dlls
/cryptnet
/tests cryptnet_test
18186 wine_fn_config_dll cryptui enable_cryptui clean
,implib
18187 wine_fn_config_test dlls
/cryptui
/tests cryptui_test
18188 wine_fn_config_dll ctapi32 enable_ctapi32
18189 wine_fn_config_dll ctl3d.dll16 enable_win16
18190 wine_fn_config_dll ctl3d32 enable_ctl3d32
18191 wine_fn_config_dll ctl3dv2.dll16 enable_win16
18192 wine_fn_config_dll d2d1 enable_d2d1 implib
18193 wine_fn_config_test dlls
/d2d
1/tests d2d1_test
18194 wine_fn_config_dll d3d10 enable_d3d10 implib
18195 wine_fn_config_test dlls
/d3d10
/tests d3d10_test
18196 wine_fn_config_dll d3d10_1 enable_d3d10_1 implib
18197 wine_fn_config_test dlls
/d3d10_
1/tests d3d10_1_test
18198 wine_fn_config_dll d3d10core enable_d3d10core implib
18199 wine_fn_config_test dlls
/d3d10core
/tests d3d10core_test
18200 wine_fn_config_dll d3d11 enable_d3d11 implib
18201 wine_fn_config_test dlls
/d3d11
/tests d3d11_test
18202 wine_fn_config_dll d3d8 enable_d3d8 implib
18203 wine_fn_config_test dlls
/d3d
8/tests d3d8_test
18204 wine_fn_config_dll d3d9 enable_d3d9 implib
18205 wine_fn_config_test dlls
/d3d
9/tests d3d9_test
18206 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
18207 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
18208 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
18209 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
18210 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
18211 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
18212 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
18213 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
18214 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
18215 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
18216 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
18217 wine_fn_config_test dlls
/d3dcompiler_43
/tests d3dcompiler_43_test
18218 wine_fn_config_dll d3dcompiler_46 enable_d3dcompiler_46
18219 wine_fn_config_dll d3dcompiler_47 enable_d3dcompiler_47
18220 wine_fn_config_dll d3dim enable_d3dim
18221 wine_fn_config_dll d3drm enable_d3drm implib
18222 wine_fn_config_test dlls
/d3drm
/tests d3drm_test
18223 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
18224 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
18225 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
18226 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
18227 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
18228 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
18229 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
18230 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
18231 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
18232 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
18233 wine_fn_config_dll d3dx10_43 enable_d3dx10_43 implib d3dx10
18234 wine_fn_config_test dlls
/d3dx10_43
/tests d3dx10_43_test
18235 wine_fn_config_dll d3dx11_42 enable_d3dx11_42
18236 wine_fn_config_dll d3dx11_43 enable_d3dx11_43 implib d3dx11
18237 wine_fn_config_test dlls
/d3dx11_43
/tests d3dx11_43_test
18238 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
18239 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
18240 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
18241 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
18242 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
18243 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
18244 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
18245 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
18246 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
18247 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
18248 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
18249 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
18250 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
18251 wine_fn_config_test dlls
/d3dx9_36
/tests d3dx9_36_test
18252 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
18253 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
18254 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
18255 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
18256 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
18257 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
18258 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
18259 wine_fn_config_dll d3dxof enable_d3dxof clean
,implib
18260 wine_fn_config_test dlls
/d3dxof
/tests d3dxof_test
18261 wine_fn_config_dll davclnt enable_davclnt
18262 wine_fn_config_dll dbgeng enable_dbgeng implib
18263 wine_fn_config_dll dbghelp enable_dbghelp implib
18264 wine_fn_config_dll dciman32 enable_dciman32 implib
18265 wine_fn_config_dll ddeml.dll16 enable_win16
18266 wine_fn_config_dll ddraw enable_ddraw clean
,implib
18267 wine_fn_config_test dlls
/ddraw
/tests ddraw_test
18268 wine_fn_config_dll ddrawex enable_ddrawex clean
18269 wine_fn_config_test dlls
/ddrawex
/tests ddrawex_test
18270 wine_fn_config_dll devenum enable_devenum clean
18271 wine_fn_config_test dlls
/devenum
/tests devenum_test
18272 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
18273 wine_fn_config_dll difxapi enable_difxapi
18274 wine_fn_config_dll dinput enable_dinput clean
,implib
,staticimplib
18275 wine_fn_config_test dlls
/dinput
/tests dinput_test
18276 wine_fn_config_dll dinput8 enable_dinput8 clean
,implib
18277 wine_fn_config_test dlls
/dinput
8/tests dinput8_test
18278 wine_fn_config_dll dispdib.dll16 enable_win16
18279 wine_fn_config_dll dispex enable_dispex clean
18280 wine_fn_config_test dlls
/dispex
/tests dispex_test
18281 wine_fn_config_dll display.drv16 enable_win16
18282 wine_fn_config_dll dmband enable_dmband clean
18283 wine_fn_config_test dlls
/dmband
/tests dmband_test
18284 wine_fn_config_dll dmcompos enable_dmcompos clean
18285 wine_fn_config_test dlls
/dmcompos
/tests dmcompos_test
18286 wine_fn_config_dll dmime enable_dmime clean
18287 wine_fn_config_test dlls
/dmime
/tests dmime_test
18288 wine_fn_config_dll dmloader enable_dmloader clean
18289 wine_fn_config_test dlls
/dmloader
/tests dmloader_test
18290 wine_fn_config_dll dmscript enable_dmscript clean
18291 wine_fn_config_test dlls
/dmscript
/tests dmscript_test
18292 wine_fn_config_dll dmstyle enable_dmstyle clean
18293 wine_fn_config_test dlls
/dmstyle
/tests dmstyle_test
18294 wine_fn_config_dll dmsynth enable_dmsynth clean
18295 wine_fn_config_test dlls
/dmsynth
/tests dmsynth_test
18296 wine_fn_config_dll dmusic enable_dmusic clean
18297 wine_fn_config_test dlls
/dmusic
/tests dmusic_test
18298 wine_fn_config_dll dmusic32 enable_dmusic32
18299 wine_fn_config_dll dnsapi enable_dnsapi implib
18300 wine_fn_config_test dlls
/dnsapi
/tests dnsapi_test
18301 wine_fn_config_dll dplay enable_dplay
18302 wine_fn_config_dll dplayx enable_dplayx clean
,implib
18303 wine_fn_config_test dlls
/dplayx
/tests dplayx_test
18304 wine_fn_config_dll dpnaddr enable_dpnaddr
18305 wine_fn_config_dll dpnet enable_dpnet clean
,implib
18306 wine_fn_config_test dlls
/dpnet
/tests dpnet_test
18307 wine_fn_config_dll dpnhpast enable_dpnhpast
18308 wine_fn_config_dll dpnlobby enable_dpnlobby
18309 wine_fn_config_dll dpvoice enable_dpvoice clean
18310 wine_fn_config_test dlls
/dpvoice
/tests dpvoice_test
18311 wine_fn_config_dll dpwsockx enable_dpwsockx
18312 wine_fn_config_dll drmclien enable_drmclien
18313 wine_fn_config_dll dsound enable_dsound clean
,implib
18314 wine_fn_config_test dlls
/dsound
/tests dsound_test
18315 wine_fn_config_dll dsquery enable_dsquery
18316 wine_fn_config_dll dssenh enable_dssenh
18317 wine_fn_config_test dlls
/dssenh
/tests dssenh_test
18318 wine_fn_config_dll dswave enable_dswave clean
18319 wine_fn_config_test dlls
/dswave
/tests dswave_test
18320 wine_fn_config_dll dwmapi enable_dwmapi implib
18321 wine_fn_config_dll dwrite enable_dwrite implib
18322 wine_fn_config_test dlls
/dwrite
/tests dwrite_test
18323 wine_fn_config_dll dxdiagn enable_dxdiagn clean
18324 wine_fn_config_test dlls
/dxdiagn
/tests dxdiagn_test
18325 wine_fn_config_lib dxerr8
18326 wine_fn_config_lib dxerr9
18327 wine_fn_config_dll dxgi enable_dxgi implib
18328 wine_fn_config_test dlls
/dxgi
/tests dxgi_test
18329 wine_fn_config_lib dxguid
18330 wine_fn_config_dll dxva2 enable_dxva2
18331 wine_fn_config_dll esent enable_esent
18332 wine_fn_config_dll evr enable_evr
18333 wine_fn_config_dll explorerframe enable_explorerframe clean
18334 wine_fn_config_test dlls
/explorerframe
/tests explorerframe_test
18335 wine_fn_config_dll ext-ms-win-authz-context-l1-1-0 enable_ext_ms_win_authz_context_l1_1_0
18336 wine_fn_config_dll ext-ms-win-domainjoin-netjoin-l1-1-0 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
18337 wine_fn_config_dll ext-ms-win-gdi-dc-create-l1-1-1 enable_ext_ms_win_gdi_dc_create_l1_1_1
18338 wine_fn_config_dll ext-ms-win-gdi-dc-l1-2-0 enable_ext_ms_win_gdi_dc_l1_2_0
18339 wine_fn_config_dll ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
18340 wine_fn_config_dll ext-ms-win-gdi-draw-l1-1-1 enable_ext_ms_win_gdi_draw_l1_1_1
18341 wine_fn_config_dll ext-ms-win-gdi-render-l1-1-0 enable_ext_ms_win_gdi_render_l1_1_0
18342 wine_fn_config_dll ext-ms-win-kernel32-package-current-l1-1-0 enable_ext_ms_win_kernel32_package_current_l1_1_0
18343 wine_fn_config_dll ext-ms-win-kernel32-package-l1-1-1 enable_ext_ms_win_kernel32_package_l1_1_1
18344 wine_fn_config_dll ext-ms-win-ntuser-message-l1-1-1 enable_ext_ms_win_ntuser_message_l1_1_1
18345 wine_fn_config_dll ext-ms-win-ntuser-private-l1-1-1 enable_ext_ms_win_ntuser_private_l1_1_1
18346 wine_fn_config_dll ext-ms-win-ntuser-rectangle-ext-l1-1-0 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
18347 wine_fn_config_dll ext-ms-win-ntuser-uicontext-ext-l1-1-0 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
18348 wine_fn_config_dll ext-ms-win-ntuser-window-l1-1-1 enable_ext_ms_win_ntuser_window_l1_1_1
18349 wine_fn_config_dll ext-ms-win-ntuser-windowclass-l1-1-1 enable_ext_ms_win_ntuser_windowclass_l1_1_1
18350 wine_fn_config_dll ext-ms-win-ras-rasapi32-l1-1-0 enable_ext_ms_win_ras_rasapi32_l1_1_0
18351 wine_fn_config_dll ext-ms-win-rtcore-gdi-object-l1-1-0 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
18352 wine_fn_config_dll ext-ms-win-rtcore-gdi-rgn-l1-1-0 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
18353 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
18354 wine_fn_config_dll ext-ms-win-rtcore-ntuser-dpi-l1-1-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
18355 wine_fn_config_dll ext-ms-win-rtcore-ntuser-sysparams-l1-1-0 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
18356 wine_fn_config_dll ext-ms-win-security-credui-l1-1-0 enable_ext_ms_win_security_credui_l1_1_0
18357 wine_fn_config_dll ext-ms-win-security-cryptui-l1-1-0 enable_ext_ms_win_security_cryptui_l1_1_0
18358 wine_fn_config_dll faultrep enable_faultrep implib
18359 wine_fn_config_test dlls
/faultrep
/tests faultrep_test
18360 wine_fn_config_dll fltlib enable_fltlib
18361 wine_fn_config_dll fltmgr.sys enable_fltmgr_sys
18362 wine_fn_config_dll fntcache enable_fntcache
18363 wine_fn_config_dll fontsub enable_fontsub
18364 wine_fn_config_dll fusion enable_fusion
18365 wine_fn_config_test dlls
/fusion
/tests fusion_test
18366 wine_fn_config_dll fwpuclnt enable_fwpuclnt
18367 wine_fn_config_dll gameux enable_gameux clean
18368 wine_fn_config_test dlls
/gameux
/tests gameux_test
18369 wine_fn_config_dll gdi.exe16 enable_win16
18370 wine_fn_config_dll gdi32 enable_gdi32 clean
,implib
18371 wine_fn_config_test dlls
/gdi32
/tests gdi32_test
18372 wine_fn_config_dll gdiplus enable_gdiplus implib
18373 wine_fn_config_test dlls
/gdiplus
/tests gdiplus_test
18374 wine_fn_config_dll glu32 enable_glu32 implib
18375 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds clean
18376 wine_fn_config_dll gpkcsp enable_gpkcsp
18377 wine_fn_config_dll hal enable_hal
18378 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx clean
,implib htmlhelp
18379 wine_fn_config_dll hid enable_hid implib
18380 wine_fn_config_test dlls
/hid
/tests hid_test
18381 wine_fn_config_dll hidclass.sys enable_hidclass_sys implib hidclass
18382 wine_fn_config_dll hlink enable_hlink clean
,implib
18383 wine_fn_config_test dlls
/hlink
/tests hlink_test
18384 wine_fn_config_dll hnetcfg enable_hnetcfg clean
18385 wine_fn_config_test dlls
/hnetcfg
/tests hnetcfg_test
18386 wine_fn_config_dll httpapi enable_httpapi
18387 wine_fn_config_dll iccvid enable_iccvid clean
18388 wine_fn_config_dll icmp enable_icmp
18389 wine_fn_config_dll ieframe enable_ieframe clean
,implib
18390 wine_fn_config_test dlls
/ieframe
/tests ieframe_test
18391 wine_fn_config_dll ieproxy enable_ieproxy clean
18392 wine_fn_config_dll ifsmgr.vxd enable_win16
18393 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
18394 wine_fn_config_dll imagehlp enable_imagehlp implib
18395 wine_fn_config_test dlls
/imagehlp
/tests imagehlp_test
18396 wine_fn_config_dll imm.dll16 enable_win16
18397 wine_fn_config_dll imm32 enable_imm32 implib
18398 wine_fn_config_test dlls
/imm32
/tests imm32_test
18399 wine_fn_config_dll inetcomm enable_inetcomm clean
,implib
18400 wine_fn_config_test dlls
/inetcomm
/tests inetcomm_test
18401 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl clean
18402 wine_fn_config_dll inetmib1 enable_inetmib1
18403 wine_fn_config_test dlls
/inetmib
1/tests inetmib1_test
18404 wine_fn_config_dll infosoft enable_infosoft clean
18405 wine_fn_config_test dlls
/infosoft
/tests infosoft_test
18406 wine_fn_config_dll initpki enable_initpki
18407 wine_fn_config_dll inkobj enable_inkobj
18408 wine_fn_config_dll inseng enable_inseng clean
18409 wine_fn_config_dll iphlpapi enable_iphlpapi implib
18410 wine_fn_config_test dlls
/iphlpapi
/tests iphlpapi_test
18411 wine_fn_config_dll iprop enable_iprop
18412 wine_fn_config_dll irprops.cpl enable_irprops_cpl
18413 wine_fn_config_dll itircl enable_itircl
18414 wine_fn_config_dll itss enable_itss clean
18415 wine_fn_config_test dlls
/itss
/tests itss_test
18416 wine_fn_config_dll joy.cpl enable_joy_cpl clean
18417 wine_fn_config_dll jscript enable_jscript clean
18418 wine_fn_config_test dlls
/jscript
/tests jscript_test
18419 wine_fn_config_dll jsproxy enable_jsproxy implib
18420 wine_fn_config_test dlls
/jsproxy
/tests jsproxy_test
18421 wine_fn_config_dll kernel32 enable_kernel32 clean
,implib
18422 wine_fn_config_test dlls
/kernel32
/tests kernel32_test
18423 wine_fn_config_dll kernelbase enable_kernelbase
18424 wine_fn_config_dll keyboard.drv16 enable_win16
18425 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
18426 wine_fn_config_dll ksuser enable_ksuser
18427 wine_fn_config_dll ktmw32 enable_ktmw32
18428 wine_fn_config_dll loadperf enable_loadperf implib
18429 wine_fn_config_dll localspl enable_localspl clean
18430 wine_fn_config_test dlls
/localspl
/tests localspl_test
18431 wine_fn_config_dll localui enable_localui clean
18432 wine_fn_config_test dlls
/localui
/tests localui_test
18433 wine_fn_config_dll lz32 enable_lz32 implib
18434 wine_fn_config_test dlls
/lz32
/tests lz32_test
18435 wine_fn_config_dll lzexpand.dll16 enable_win16
18436 wine_fn_config_dll mapi32 enable_mapi32 clean
,implib
18437 wine_fn_config_test dlls
/mapi32
/tests mapi32_test
18438 wine_fn_config_dll mapistub enable_mapistub
18439 wine_fn_config_dll mciavi32 enable_mciavi32
18440 wine_fn_config_dll mcicda enable_mcicda
18441 wine_fn_config_dll mciqtz32 enable_mciqtz32
18442 wine_fn_config_dll mciseq enable_mciseq
18443 wine_fn_config_dll mciwave enable_mciwave
18444 wine_fn_config_dll mf enable_mf implib
18445 wine_fn_config_test dlls
/mf
/tests mf_test
18446 wine_fn_config_dll mf3216 enable_mf3216
18447 wine_fn_config_dll mfplat enable_mfplat implib
18448 wine_fn_config_test dlls
/mfplat
/tests mfplat_test
18449 wine_fn_config_dll mfreadwrite enable_mfreadwrite
18450 wine_fn_config_dll mgmtapi enable_mgmtapi
18451 wine_fn_config_dll midimap enable_midimap
18452 wine_fn_config_dll mlang enable_mlang clean
,implib
18453 wine_fn_config_test dlls
/mlang
/tests mlang_test
18454 wine_fn_config_dll mmcndmgr enable_mmcndmgr clean
18455 wine_fn_config_test dlls
/mmcndmgr
/tests mmcndmgr_test
18456 wine_fn_config_dll mmdevapi enable_mmdevapi clean
18457 wine_fn_config_test dlls
/mmdevapi
/tests mmdevapi_test
18458 wine_fn_config_dll mmdevldr.vxd enable_win16
18459 wine_fn_config_dll mmsystem.dll16 enable_win16
18460 wine_fn_config_dll monodebg.vxd enable_win16
18461 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
18462 wine_fn_config_dll mouse.drv16 enable_win16
18463 wine_fn_config_dll mpr enable_mpr clean
,implib
18464 wine_fn_config_test dlls
/mpr
/tests mpr_test
18465 wine_fn_config_dll mprapi enable_mprapi implib
18466 wine_fn_config_dll msacm.dll16 enable_win16
18467 wine_fn_config_dll msacm32.drv enable_msacm32_drv
18468 wine_fn_config_dll msacm32 enable_msacm32 clean
,implib
18469 wine_fn_config_test dlls
/msacm32
/tests msacm32_test
18470 wine_fn_config_dll msadp32.acm enable_msadp32_acm
18471 wine_fn_config_dll msasn1 enable_msasn1 implib
18472 wine_fn_config_dll mscat32 enable_mscat32
18473 wine_fn_config_dll mscms enable_mscms implib
18474 wine_fn_config_test dlls
/mscms
/tests mscms_test
18475 wine_fn_config_dll mscoree enable_mscoree clean
18476 wine_fn_config_test dlls
/mscoree
/tests mscoree_test
18477 wine_fn_config_dll msctf enable_msctf clean
18478 wine_fn_config_test dlls
/msctf
/tests msctf_test
18479 wine_fn_config_dll msctfp enable_msctfp clean
18480 wine_fn_config_dll msdaps enable_msdaps clean
18481 wine_fn_config_dll msdelta enable_msdelta
18482 wine_fn_config_dll msdmo enable_msdmo implib
18483 wine_fn_config_test dlls
/msdmo
/tests msdmo_test
18484 wine_fn_config_dll msdrm enable_msdrm
18485 wine_fn_config_dll msftedit enable_msftedit
18486 wine_fn_config_dll msg711.acm enable_msg711_acm
18487 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
18488 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb clean
18489 wine_fn_config_dll mshtml enable_mshtml clean
,implib
18490 wine_fn_config_test dlls
/mshtml
/tests mshtml_test clean
18491 wine_fn_config_dll msi enable_msi clean
,implib
18492 wine_fn_config_test dlls
/msi
/tests msi_test
18493 wine_fn_config_dll msident enable_msident clean
18494 wine_fn_config_dll msimg32 enable_msimg32 implib
18495 wine_fn_config_dll msimsg enable_msimsg
18496 wine_fn_config_dll msimtf enable_msimtf clean
18497 wine_fn_config_dll msisip enable_msisip
18498 wine_fn_config_dll msisys.ocx enable_msisys_ocx
18499 wine_fn_config_dll msls31 enable_msls31
18500 wine_fn_config_dll msnet32 enable_msnet32
18501 wine_fn_config_dll mspatcha enable_mspatcha implib
18502 wine_fn_config_dll msports enable_msports
18503 wine_fn_config_dll msrle32 enable_msrle32 clean
18504 wine_fn_config_test dlls
/msrle32
/tests msrle32_test
18505 wine_fn_config_dll msscript.ocx enable_msscript_ocx clean
18506 wine_fn_config_test dlls
/msscript.ocx
/tests msscript.ocx_test clean
18507 wine_fn_config_dll mssign32 enable_mssign32
18508 wine_fn_config_dll mssip32 enable_mssip32
18509 wine_fn_config_dll mstask enable_mstask clean
18510 wine_fn_config_test dlls
/mstask
/tests mstask_test
18511 wine_fn_config_dll msvcirt enable_msvcirt
18512 wine_fn_config_test dlls
/msvcirt
/tests msvcirt_test
18513 wine_fn_config_dll msvcm80 enable_msvcm80
18514 wine_fn_config_dll msvcm90 enable_msvcm90
18515 wine_fn_config_dll msvcp100 enable_msvcp100
18516 wine_fn_config_test dlls
/msvcp100
/tests msvcp100_test
18517 wine_fn_config_dll msvcp110 enable_msvcp110
18518 wine_fn_config_test dlls
/msvcp110
/tests msvcp110_test
18519 wine_fn_config_dll msvcp120 enable_msvcp120
18520 wine_fn_config_test dlls
/msvcp120
/tests msvcp120_test
18521 wine_fn_config_dll msvcp120_app enable_msvcp120_app
18522 wine_fn_config_dll msvcp140 enable_msvcp140
18523 wine_fn_config_test dlls
/msvcp140
/tests msvcp140_test
18524 wine_fn_config_dll msvcp60 enable_msvcp60
18525 wine_fn_config_test dlls
/msvcp60
/tests msvcp60_test
18526 wine_fn_config_dll msvcp70 enable_msvcp70
18527 wine_fn_config_dll msvcp71 enable_msvcp71
18528 wine_fn_config_dll msvcp80 enable_msvcp80
18529 wine_fn_config_dll msvcp90 enable_msvcp90
18530 wine_fn_config_test dlls
/msvcp90
/tests msvcp90_test
18531 wine_fn_config_dll msvcr100 enable_msvcr100 implib
18532 wine_fn_config_test dlls
/msvcr100
/tests msvcr100_test
18533 wine_fn_config_dll msvcr110 enable_msvcr110 implib
18534 wine_fn_config_dll msvcr120 enable_msvcr120 implib
18535 wine_fn_config_test dlls
/msvcr120
/tests msvcr120_test
18536 wine_fn_config_dll msvcr120_app enable_msvcr120_app
18537 wine_fn_config_dll msvcr70 enable_msvcr70 implib
18538 wine_fn_config_dll msvcr71 enable_msvcr71 implib
18539 wine_fn_config_dll msvcr80 enable_msvcr80 implib
18540 wine_fn_config_dll msvcr90 enable_msvcr90 implib
18541 wine_fn_config_test dlls
/msvcr90
/tests msvcr90_test
18542 wine_fn_config_dll msvcrt enable_msvcrt implib
18543 wine_fn_config_test dlls
/msvcrt
/tests msvcrt_test
18544 wine_fn_config_dll msvcrt20 enable_msvcrt20
18545 wine_fn_config_dll msvcrt40 enable_msvcrt40
18546 wine_fn_config_dll msvcrtd enable_msvcrtd implib
18547 wine_fn_config_test dlls
/msvcrtd
/tests msvcrtd_test
18548 wine_fn_config_dll msvfw32 enable_msvfw32 clean
,implib
18549 wine_fn_config_test dlls
/msvfw32
/tests msvfw32_test
18550 wine_fn_config_dll msvidc32 enable_msvidc32 clean
18551 wine_fn_config_dll msvideo.dll16 enable_win16
18552 wine_fn_config_dll mswsock enable_mswsock implib
18553 wine_fn_config_dll msxml enable_msxml clean
18554 wine_fn_config_dll msxml2 enable_msxml2 clean
18555 wine_fn_config_dll msxml3 enable_msxml3 clean
18556 wine_fn_config_test dlls
/msxml
3/tests msxml3_test clean
18557 wine_fn_config_dll msxml4 enable_msxml4 clean
18558 wine_fn_config_dll msxml6 enable_msxml6 clean
18559 wine_fn_config_dll mtxdm enable_mtxdm
18560 wine_fn_config_dll ncrypt enable_ncrypt
18561 wine_fn_config_dll nddeapi enable_nddeapi implib
18562 wine_fn_config_dll ndis.sys enable_ndis_sys
18563 wine_fn_config_dll netapi32 enable_netapi32 implib
18564 wine_fn_config_test dlls
/netapi32
/tests netapi32_test
18565 wine_fn_config_dll netcfgx enable_netcfgx clean
18566 wine_fn_config_test dlls
/netcfgx
/tests netcfgx_test
18567 wine_fn_config_dll netprofm enable_netprofm clean
18568 wine_fn_config_test dlls
/netprofm
/tests netprofm_test
18569 wine_fn_config_dll newdev enable_newdev implib
18570 wine_fn_config_dll normaliz enable_normaliz implib
18571 wine_fn_config_dll npmshtml enable_npmshtml
18572 wine_fn_config_dll npptools enable_npptools
18573 wine_fn_config_dll ntdll enable_ntdll implib
18574 wine_fn_config_test dlls
/ntdll
/tests ntdll_test
18575 wine_fn_config_dll ntdsapi enable_ntdsapi implib
18576 wine_fn_config_test dlls
/ntdsapi
/tests ntdsapi_test
18577 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib ntoskrnl
18578 wine_fn_config_dll ntprint enable_ntprint
18579 wine_fn_config_test dlls
/ntprint
/tests ntprint_test
18580 wine_fn_config_dll objsel enable_objsel clean
18581 wine_fn_config_dll odbc32 enable_odbc32 implib
18582 wine_fn_config_dll odbccp32 enable_odbccp32 implib
18583 wine_fn_config_test dlls
/odbccp32
/tests odbccp32_test
18584 wine_fn_config_dll odbccu32 enable_odbccu32
18585 wine_fn_config_dll ole2.dll16 enable_win16
18586 wine_fn_config_dll ole2conv.dll16 enable_win16
18587 wine_fn_config_dll ole2disp.dll16 enable_win16
18588 wine_fn_config_dll ole2nls.dll16 enable_win16
18589 wine_fn_config_dll ole2prox.dll16 enable_win16
18590 wine_fn_config_dll ole2thk.dll16 enable_win16
18591 wine_fn_config_dll ole32 enable_ole32 clean
,implib
18592 wine_fn_config_test dlls
/ole32
/tests ole32_test
18593 wine_fn_config_dll oleacc enable_oleacc clean
,implib
18594 wine_fn_config_test dlls
/oleacc
/tests oleacc_test
18595 wine_fn_config_dll oleaut32 enable_oleaut32 clean
,implib
18596 wine_fn_config_test dlls
/oleaut32
/tests oleaut32_test clean
18597 wine_fn_config_dll olecli.dll16 enable_win16
18598 wine_fn_config_dll olecli32 enable_olecli32 implib
18599 wine_fn_config_dll oledb32 enable_oledb32 clean
18600 wine_fn_config_test dlls
/oledb32
/tests oledb32_test clean
18601 wine_fn_config_dll oledlg enable_oledlg clean
,implib
18602 wine_fn_config_test dlls
/oledlg
/tests oledlg_test
18603 wine_fn_config_dll olepro32 enable_olepro32 clean
,implib
18604 wine_fn_config_dll olesvr.dll16 enable_win16
18605 wine_fn_config_dll olesvr32 enable_olesvr32 implib
18606 wine_fn_config_dll olethk32 enable_olethk32
18607 wine_fn_config_dll openal32 enable_openal32
18608 wine_fn_config_dll opencl enable_opencl
18609 wine_fn_config_dll opengl32 enable_opengl32 implib
18610 wine_fn_config_test dlls
/opengl32
/tests opengl32_test
18611 wine_fn_config_dll packager enable_packager clean
18612 wine_fn_config_test dlls
/packager
/tests packager_test
18613 wine_fn_config_dll pdh enable_pdh implib
18614 wine_fn_config_test dlls
/pdh
/tests pdh_test
18615 wine_fn_config_dll photometadatahandler enable_photometadatahandler
18616 wine_fn_config_dll pidgen enable_pidgen
18617 wine_fn_config_dll powrprof enable_powrprof implib
18618 wine_fn_config_dll printui enable_printui
18619 wine_fn_config_dll prntvpt enable_prntvpt
18620 wine_fn_config_dll propsys enable_propsys clean
,implib
18621 wine_fn_config_test dlls
/propsys
/tests propsys_test
18622 wine_fn_config_dll psapi enable_psapi implib
18623 wine_fn_config_test dlls
/psapi
/tests psapi_test
18624 wine_fn_config_dll pstorec enable_pstorec clean
18625 wine_fn_config_test dlls
/pstorec
/tests pstorec_test
18626 wine_fn_config_dll qcap enable_qcap
18627 wine_fn_config_test dlls
/qcap
/tests qcap_test
18628 wine_fn_config_dll qedit enable_qedit clean
18629 wine_fn_config_test dlls
/qedit
/tests qedit_test
18630 wine_fn_config_dll qmgr enable_qmgr clean
18631 wine_fn_config_test dlls
/qmgr
/tests qmgr_test
18632 wine_fn_config_dll qmgrprxy enable_qmgrprxy clean
18633 wine_fn_config_dll quartz enable_quartz clean
,implib
18634 wine_fn_config_test dlls
/quartz
/tests quartz_test clean
18635 wine_fn_config_dll query enable_query
18636 wine_fn_config_dll rasapi16.dll16 enable_win16
18637 wine_fn_config_dll rasapi32 enable_rasapi32 implib
18638 wine_fn_config_test dlls
/rasapi32
/tests rasapi32_test
18639 wine_fn_config_dll rasdlg enable_rasdlg implib
18640 wine_fn_config_dll regapi enable_regapi
18641 wine_fn_config_dll resutils enable_resutils implib
18642 wine_fn_config_dll riched20 enable_riched20 clean
,implib
18643 wine_fn_config_test dlls
/riched20
/tests riched20_test
18644 wine_fn_config_dll riched32 enable_riched32
18645 wine_fn_config_test dlls
/riched32
/tests riched32_test
18646 wine_fn_config_dll rpcrt4 enable_rpcrt4 clean
,implib
18647 wine_fn_config_test dlls
/rpcrt
4/tests rpcrt4_test clean
18648 wine_fn_config_dll rsabase enable_rsabase
18649 wine_fn_config_dll rsaenh enable_rsaenh implib
18650 wine_fn_config_test dlls
/rsaenh
/tests rsaenh_test
18651 wine_fn_config_dll rstrtmgr enable_rstrtmgr
18652 wine_fn_config_dll rtutils enable_rtutils implib
18653 wine_fn_config_dll samlib enable_samlib
18654 wine_fn_config_dll sane.ds enable_sane_ds clean
18655 wine_fn_config_dll scarddlg enable_scarddlg
18656 wine_fn_config_dll sccbase enable_sccbase
18657 wine_fn_config_dll schannel enable_schannel
18658 wine_fn_config_test dlls
/schannel
/tests schannel_test
18659 wine_fn_config_dll schedsvc enable_schedsvc clean
18660 wine_fn_config_test dlls
/schedsvc
/tests schedsvc_test clean
18661 wine_fn_config_dll scrobj enable_scrobj clean
18662 wine_fn_config_dll scrrun enable_scrrun clean
18663 wine_fn_config_test dlls
/scrrun
/tests scrrun_test clean
18664 wine_fn_config_dll scsiport.sys enable_scsiport_sys
18665 wine_fn_config_dll secur32 enable_secur32 implib
18666 wine_fn_config_test dlls
/secur32
/tests secur32_test
18667 wine_fn_config_dll security enable_security
18668 wine_fn_config_dll sensapi enable_sensapi implib
18669 wine_fn_config_dll serialui enable_serialui clean
18670 wine_fn_config_test dlls
/serialui
/tests serialui_test
18671 wine_fn_config_dll setupapi enable_setupapi clean
,implib
18672 wine_fn_config_test dlls
/setupapi
/tests setupapi_test
18673 wine_fn_config_dll setupx.dll16 enable_win16
18674 wine_fn_config_dll sfc enable_sfc implib
18675 wine_fn_config_dll sfc_os enable_sfc_os implib
18676 wine_fn_config_dll shdoclc enable_shdoclc clean
18677 wine_fn_config_dll shdocvw enable_shdocvw clean
,implib
18678 wine_fn_config_test dlls
/shdocvw
/tests shdocvw_test
18679 wine_fn_config_dll shell.dll16 enable_win16
18680 wine_fn_config_dll shell32 enable_shell32 clean
,implib
18681 wine_fn_config_test dlls
/shell32
/tests shell32_test
18682 wine_fn_config_dll shfolder enable_shfolder implib
18683 wine_fn_config_dll shlwapi enable_shlwapi clean
,implib
18684 wine_fn_config_test dlls
/shlwapi
/tests shlwapi_test
18685 wine_fn_config_dll slbcsp enable_slbcsp
18686 wine_fn_config_dll slc enable_slc implib
18687 wine_fn_config_test dlls
/slc
/tests slc_test
18688 wine_fn_config_dll snmpapi enable_snmpapi implib
18689 wine_fn_config_test dlls
/snmpapi
/tests snmpapi_test
18690 wine_fn_config_dll softpub enable_softpub
18691 wine_fn_config_dll sound.drv16 enable_win16
18692 wine_fn_config_dll spoolss enable_spoolss implib
18693 wine_fn_config_test dlls
/spoolss
/tests spoolss_test
18694 wine_fn_config_dll sspicli enable_sspicli
18695 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb clean
18696 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb clean
18697 wine_fn_config_dll sti enable_sti clean
,implib
18698 wine_fn_config_test dlls
/sti
/tests sti_test
18699 wine_fn_config_dll storage.dll16 enable_win16
18700 wine_fn_config_dll stress.dll16 enable_win16
18701 wine_fn_config_lib strmbase
18702 wine_fn_config_lib strmiids
18703 wine_fn_config_dll svrapi enable_svrapi
18704 wine_fn_config_dll sxs enable_sxs implib
18705 wine_fn_config_test dlls
/sxs
/tests sxs_test
18706 wine_fn_config_dll system.drv16 enable_win16
18707 wine_fn_config_dll t2embed enable_t2embed implib
18708 wine_fn_config_test dlls
/t2embed
/tests t2embed_test
18709 wine_fn_config_dll tapi32 enable_tapi32 implib
18710 wine_fn_config_dll taskschd enable_taskschd clean
18711 wine_fn_config_test dlls
/taskschd
/tests taskschd_test
18712 wine_fn_config_dll tdh enable_tdh
18713 wine_fn_config_dll tdi.sys enable_tdi_sys
18714 wine_fn_config_dll toolhelp.dll16 enable_win16
18715 wine_fn_config_dll traffic enable_traffic
18716 wine_fn_config_dll twain.dll16 enable_win16
18717 wine_fn_config_dll twain_32 enable_twain_32
18718 wine_fn_config_test dlls
/twain_32
/tests twain_32_test
18719 wine_fn_config_dll typelib.dll16 enable_win16
18720 wine_fn_config_dll ucrtbase enable_ucrtbase implib
18721 wine_fn_config_test dlls
/ucrtbase
/tests ucrtbase_test
18722 wine_fn_config_dll uiautomationcore enable_uiautomationcore
18723 wine_fn_config_dll uiribbon enable_uiribbon clean
18724 wine_fn_config_dll unicows enable_unicows implib
18725 wine_fn_config_dll updspapi enable_updspapi
18726 wine_fn_config_dll url enable_url implib
18727 wine_fn_config_dll urlmon enable_urlmon clean
,implib
18728 wine_fn_config_test dlls
/urlmon
/tests urlmon_test
18729 wine_fn_config_dll usbd.sys enable_usbd_sys implib usbd
18730 wine_fn_config_dll user.exe16 enable_win16
18731 wine_fn_config_dll user32 enable_user32 clean
,implib
18732 wine_fn_config_test dlls
/user32
/tests user32_test
18733 wine_fn_config_dll userenv enable_userenv implib
18734 wine_fn_config_test dlls
/userenv
/tests userenv_test
18735 wine_fn_config_dll usp10 enable_usp10 implib
18736 wine_fn_config_test dlls
/usp10
/tests usp10_test
18737 wine_fn_config_lib uuid
18738 wine_fn_config_dll uxtheme enable_uxtheme implib
18739 wine_fn_config_test dlls
/uxtheme
/tests uxtheme_test
18740 wine_fn_config_dll vbscript enable_vbscript clean
18741 wine_fn_config_test dlls
/vbscript
/tests vbscript_test clean
18742 wine_fn_config_dll vcomp enable_vcomp
18743 wine_fn_config_test dlls
/vcomp
/tests vcomp_test
18744 wine_fn_config_dll vcomp100 enable_vcomp100
18745 wine_fn_config_dll vcomp110 enable_vcomp110
18746 wine_fn_config_dll vcomp120 enable_vcomp120
18747 wine_fn_config_dll vcomp140 enable_vcomp140
18748 wine_fn_config_dll vcomp90 enable_vcomp90
18749 wine_fn_config_dll vcruntime140 enable_vcruntime140
18750 wine_fn_config_dll vdhcp.vxd enable_win16
18751 wine_fn_config_dll vdmdbg enable_vdmdbg implib
18752 wine_fn_config_dll ver.dll16 enable_win16
18753 wine_fn_config_dll version enable_version implib
18754 wine_fn_config_test dlls
/version
/tests version_test
18755 wine_fn_config_dll virtdisk enable_virtdisk
18756 wine_fn_config_dll vmm.vxd enable_win16
18757 wine_fn_config_dll vnbt.vxd enable_win16
18758 wine_fn_config_dll vnetbios.vxd enable_win16
18759 wine_fn_config_dll vssapi enable_vssapi
18760 wine_fn_config_dll vtdapi.vxd enable_win16
18761 wine_fn_config_dll vwin32.vxd enable_win16
18762 wine_fn_config_dll w32skrnl enable_win16
18763 wine_fn_config_dll w32sys.dll16 enable_win16
18764 wine_fn_config_dll wbemdisp enable_wbemdisp clean
18765 wine_fn_config_test dlls
/wbemdisp
/tests wbemdisp_test
18766 wine_fn_config_dll wbemprox enable_wbemprox clean
18767 wine_fn_config_test dlls
/wbemprox
/tests wbemprox_test
18768 wine_fn_config_dll webservices enable_webservices implib
18769 wine_fn_config_test dlls
/webservices
/tests webservices_test
18770 wine_fn_config_dll wer enable_wer implib
18771 wine_fn_config_test dlls
/wer
/tests wer_test
18772 wine_fn_config_dll wevtapi enable_wevtapi
18773 wine_fn_config_dll wiaservc enable_wiaservc clean
18774 wine_fn_config_test dlls
/wiaservc
/tests wiaservc_test
18775 wine_fn_config_dll wimgapi enable_wimgapi
18776 wine_fn_config_dll win32s16.dll16 enable_win16
18777 wine_fn_config_dll win87em.dll16 enable_win16
18778 wine_fn_config_dll winaspi.dll16 enable_win16
18779 wine_fn_config_dll windebug.dll16 enable_win16
18780 wine_fn_config_dll windowscodecs enable_windowscodecs clean
,implib
18781 wine_fn_config_test dlls
/windowscodecs
/tests windowscodecs_test
18782 wine_fn_config_dll windowscodecsext enable_windowscodecsext implib
18783 wine_fn_config_test dlls
/windowscodecsext
/tests windowscodecsext_test
18784 wine_fn_config_dll winealsa.drv enable_winealsa_drv
18785 wine_fn_config_dll wineandroid.drv enable_wineandroid_drv clean
18786 wine_fn_config_dll winebus.sys enable_winebus_sys
18787 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
18788 wine_fn_config_lib winecrt0
18789 wine_fn_config_dll wined3d enable_wined3d implib
18790 wine_fn_config_dll winegstreamer enable_winegstreamer
18791 wine_fn_config_dll winehid.sys enable_winehid_sys
18792 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
18793 wine_fn_config_dll winemac.drv enable_winemac_drv clean
18794 wine_fn_config_dll winemapi enable_winemapi
18795 wine_fn_config_dll winemp3.acm enable_winemp3_acm
18796 wine_fn_config_dll wineoss.drv enable_wineoss_drv
18797 wine_fn_config_dll wineps.drv enable_wineps_drv clean
18798 wine_fn_config_dll wineps16.drv16 enable_win16
18799 wine_fn_config_dll winepulse.drv enable_winepulse_drv
18800 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
18801 wine_fn_config_dll winex11.drv enable_winex11_drv
18802 wine_fn_config_dll wing.dll16 enable_win16
18803 wine_fn_config_dll wing32 enable_wing32
18804 wine_fn_config_dll winhttp enable_winhttp clean
,implib
18805 wine_fn_config_test dlls
/winhttp
/tests winhttp_test
18806 wine_fn_config_dll wininet enable_wininet clean
,implib
18807 wine_fn_config_test dlls
/wininet
/tests wininet_test
18808 wine_fn_config_dll winmm enable_winmm clean
,implib
18809 wine_fn_config_test dlls
/winmm
/tests winmm_test
18810 wine_fn_config_dll winnls.dll16 enable_win16
18811 wine_fn_config_dll winnls32 enable_winnls32 implib
18812 wine_fn_config_dll winscard enable_winscard implib
18813 wine_fn_config_dll winsock.dll16 enable_win16
18814 wine_fn_config_dll winspool.drv enable_winspool_drv clean
,implib winspool
18815 wine_fn_config_test dlls
/winspool.drv
/tests winspool.drv_test
18816 wine_fn_config_dll winsta enable_winsta
18817 wine_fn_config_dll wintab.dll16 enable_win16
18818 wine_fn_config_dll wintab32 enable_wintab32 implib
18819 wine_fn_config_test dlls
/wintab32
/tests wintab32_test
18820 wine_fn_config_dll wintrust enable_wintrust implib
18821 wine_fn_config_test dlls
/wintrust
/tests wintrust_test
18822 wine_fn_config_dll winusb enable_winusb
18823 wine_fn_config_dll wlanapi enable_wlanapi implib
18824 wine_fn_config_test dlls
/wlanapi
/tests wlanapi_test
18825 wine_fn_config_dll wldap32 enable_wldap32 clean
,implib
18826 wine_fn_config_test dlls
/wldap32
/tests wldap32_test
18827 wine_fn_config_dll wmasf enable_wmasf
18828 wine_fn_config_dll wmi enable_wmi
18829 wine_fn_config_dll wmiutils enable_wmiutils clean
18830 wine_fn_config_test dlls
/wmiutils
/tests wmiutils_test
18831 wine_fn_config_dll wmp enable_wmp clean
18832 wine_fn_config_test dlls
/wmp
/tests wmp_test
18833 wine_fn_config_dll wmvcore enable_wmvcore implib
18834 wine_fn_config_test dlls
/wmvcore
/tests wmvcore_test
18835 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
18836 wine_fn_config_dll wow32 enable_win16 implib
18837 wine_fn_config_dll wpc enable_wpc clean
18838 wine_fn_config_test dlls
/wpc
/tests wpc_test
18839 wine_fn_config_dll wpcap enable_wpcap
18840 wine_fn_config_dll ws2_32 enable_ws2_32 implib
18841 wine_fn_config_test dlls
/ws2_32
/tests ws2_32_test
18842 wine_fn_config_dll wsdapi enable_wsdapi implib
18843 wine_fn_config_test dlls
/wsdapi
/tests wsdapi_test
18844 wine_fn_config_dll wshom.ocx enable_wshom_ocx clean
18845 wine_fn_config_test dlls
/wshom.ocx
/tests wshom.ocx_test clean
18846 wine_fn_config_dll wsnmp32 enable_wsnmp32 implib
18847 wine_fn_config_test dlls
/wsnmp32
/tests wsnmp32_test
18848 wine_fn_config_dll wsock32 enable_wsock32 implib
18849 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
18850 wine_fn_config_test dlls
/wtsapi32
/tests wtsapi32_test
18851 wine_fn_config_dll wuapi enable_wuapi clean
18852 wine_fn_config_dll wuaueng enable_wuaueng
18853 wine_fn_config_dll x3daudio1_0 enable_x3daudio1_0
18854 wine_fn_config_dll x3daudio1_1 enable_x3daudio1_1
18855 wine_fn_config_dll x3daudio1_2 enable_x3daudio1_2
18856 wine_fn_config_dll x3daudio1_3 enable_x3daudio1_3
18857 wine_fn_config_dll x3daudio1_4 enable_x3daudio1_4
18858 wine_fn_config_dll x3daudio1_5 enable_x3daudio1_5
18859 wine_fn_config_dll x3daudio1_6 enable_x3daudio1_6
18860 wine_fn_config_dll x3daudio1_7 enable_x3daudio1_7
18861 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
18862 wine_fn_config_dll xapofx1_2 enable_xapofx1_2
18863 wine_fn_config_dll xapofx1_3 enable_xapofx1_3
18864 wine_fn_config_dll xapofx1_4 enable_xapofx1_4
18865 wine_fn_config_dll xapofx1_5 enable_xapofx1_5
18866 wine_fn_config_dll xaudio2_0 enable_xaudio2_0 clean
18867 wine_fn_config_dll xaudio2_1 enable_xaudio2_1 clean
18868 wine_fn_config_dll xaudio2_2 enable_xaudio2_2 clean
18869 wine_fn_config_dll xaudio2_3 enable_xaudio2_3 clean
18870 wine_fn_config_dll xaudio2_4 enable_xaudio2_4 clean
18871 wine_fn_config_dll xaudio2_5 enable_xaudio2_5 clean
18872 wine_fn_config_dll xaudio2_6 enable_xaudio2_6 clean
18873 wine_fn_config_dll xaudio2_7 enable_xaudio2_7 clean
18874 wine_fn_config_test dlls
/xaudio2_
7/tests xaudio2_7_test
18875 wine_fn_config_dll xaudio2_8 enable_xaudio2_8 clean
18876 wine_fn_config_dll xaudio2_9 enable_xaudio2_9 clean
18877 wine_fn_config_dll xinput1_1 enable_xinput1_1
18878 wine_fn_config_dll xinput1_2 enable_xinput1_2
18879 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
18880 wine_fn_config_test dlls
/xinput1_
3/tests xinput1_3_test
18881 wine_fn_config_dll xinput1_4 enable_xinput1_4
18882 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
18883 wine_fn_config_dll xmllite enable_xmllite implib
18884 wine_fn_config_test dlls
/xmllite
/tests xmllite_test
18885 wine_fn_config_dll xolehlp enable_xolehlp
18886 wine_fn_config_dll xpsprint enable_xpsprint
18887 wine_fn_config_dll xpssvcs enable_xpssvcs
18888 wine_fn_config_makefile fonts enable_fonts clean
,install-lib
18889 wine_fn_config_makefile include enable_include clean
,install-dev
18890 wine_fn_config_makefile libs
/port enable_libs_port
18891 wine_fn_config_makefile libs
/wine enable_libs_wine clean
,implib
,install-dev
,install-lib
18892 wine_fn_config_makefile libs
/wpp enable_libs_wpp
18893 wine_fn_config_makefile loader enable_loader clean
,install-lib
18894 wine_fn_config_makefile po enable_po clean
18895 wine_fn_config_program arp enable_arp
install
18896 wine_fn_config_program aspnet_regiis enable_aspnet_regiis
install
18897 wine_fn_config_program attrib enable_attrib clean
,install
18898 wine_fn_config_program cabarc enable_cabarc
install
18899 wine_fn_config_program cacls enable_cacls
install
18900 wine_fn_config_program
clock enable_clock clean
,install
18901 wine_fn_config_program cmd enable_cmd clean
,install
18902 wine_fn_config_test programs
/cmd
/tests cmd.exe_test
18903 wine_fn_config_program conhost enable_conhost
install
18904 wine_fn_config_program control enable_control
install
18905 wine_fn_config_program cscript enable_cscript clean
,install
18906 wine_fn_config_program dpnsvr enable_dpnsvr
install
18907 wine_fn_config_program dxdiag enable_dxdiag clean
,install
18908 wine_fn_config_program eject enable_eject
install
18909 wine_fn_config_program
expand enable_expand
install
18910 wine_fn_config_program explorer enable_explorer clean
,install
18911 wine_fn_config_program extrac32 enable_extrac32
install
18912 wine_fn_config_program findstr enable_findstr
install
18913 wine_fn_config_program fsutil enable_fsutil
install
18914 wine_fn_config_program hh enable_hh
install
18915 wine_fn_config_program hostname enable_hostname clean
,install
18916 wine_fn_config_program icacls enable_icacls
install
18917 wine_fn_config_program icinfo enable_icinfo
install
18918 wine_fn_config_program iexplore enable_iexplore
install
18919 wine_fn_config_program ipconfig enable_ipconfig clean
,install
18920 wine_fn_config_program lodctr enable_lodctr
install
18921 wine_fn_config_program mofcomp enable_mofcomp
install
18922 wine_fn_config_program mshta enable_mshta
install
18923 wine_fn_config_program msiexec enable_msiexec
install,installbin
,manpage
18924 wine_fn_config_program msinfo32 enable_msinfo32 clean
,install
18925 wine_fn_config_program net enable_net clean
,install
18926 wine_fn_config_program netsh enable_netsh
install
18927 wine_fn_config_program netstat enable_netstat clean
,install
18928 wine_fn_config_program ngen enable_ngen
install
18929 wine_fn_config_program notepad enable_notepad clean
,install,installbin
,manpage
18930 wine_fn_config_program oleview enable_oleview clean
,install
18931 wine_fn_config_program
ping enable_ping
install
18932 wine_fn_config_program plugplay enable_plugplay
install
18933 wine_fn_config_program powershell enable_powershell
install
18934 wine_fn_config_program presentationfontcache enable_presentationfontcache
install
18935 wine_fn_config_program progman enable_progman clean
,install
18936 wine_fn_config_program reg enable_reg clean
,install
18937 wine_fn_config_test programs
/reg
/tests reg.exe_test
18938 wine_fn_config_program regasm enable_regasm
install
18939 wine_fn_config_program regedit enable_regedit clean
,install,installbin
,manpage
18940 wine_fn_config_test programs
/regedit
/tests regedit.exe_test
18941 wine_fn_config_program regsvcs enable_regsvcs
install
18942 wine_fn_config_program regsvr32 enable_regsvr32 clean
,install,installbin
,manpage
18943 wine_fn_config_program rpcss enable_rpcss clean
,install
18944 wine_fn_config_program rundll.exe16 enable_win16
install
18945 wine_fn_config_program rundll32 enable_rundll32
install
18946 wine_fn_config_program sc enable_sc
install
18947 wine_fn_config_program schtasks enable_schtasks
install
18948 wine_fn_config_program sdbinst enable_sdbinst
install
18949 wine_fn_config_program secedit enable_secedit
install
18950 wine_fn_config_program servicemodelreg enable_servicemodelreg
install
18951 wine_fn_config_program services enable_services clean
,install
18952 wine_fn_config_test programs
/services
/tests services.exe_test
18953 wine_fn_config_program shutdown enable_shutdown
install
18954 wine_fn_config_program spoolsv enable_spoolsv
install
18955 wine_fn_config_program start enable_start clean
,install
18956 wine_fn_config_program subst enable_subst
install
18957 wine_fn_config_program svchost enable_svchost
install
18958 wine_fn_config_program systeminfo enable_systeminfo
install
18959 wine_fn_config_program taskkill enable_taskkill clean
,install
18960 wine_fn_config_program tasklist enable_tasklist
install
18961 wine_fn_config_program taskmgr enable_taskmgr clean
,install
18962 wine_fn_config_program termsv enable_termsv
install
18963 wine_fn_config_program uninstaller enable_uninstaller clean
,install
18964 wine_fn_config_program unlodctr enable_unlodctr
install
18965 wine_fn_config_program view enable_view clean
,install
18966 wine_fn_config_program wevtutil enable_wevtutil
install
18967 wine_fn_config_program wineboot enable_wineboot clean
,install,installbin
,manpage
18968 wine_fn_config_program winebrowser enable_winebrowser
install
18969 wine_fn_config_program winecfg enable_winecfg clean
,install,installbin
,manpage
18970 wine_fn_config_program wineconsole enable_wineconsole clean
,install,installbin
,manpage
18971 wine_fn_config_program winedbg enable_winedbg clean
,install,installbin
,manpage
18972 wine_fn_config_program winedevice enable_winedevice
install
18973 wine_fn_config_program winefile enable_winefile clean
,install,installbin
,manpage
18974 wine_fn_config_program winemenubuilder enable_winemenubuilder
install
18975 wine_fn_config_program winemine enable_winemine clean
,install,installbin
,manpage
18976 wine_fn_config_program winemsibuilder enable_winemsibuilder
install
18977 wine_fn_config_program winepath enable_winepath
install,installbin
,manpage
18978 wine_fn_config_program winetest enable_winetest clean
18979 wine_fn_config_program winevdm enable_win16
install
18980 wine_fn_config_program winhelp.exe16 enable_win16
install
18981 wine_fn_config_program winhlp32 enable_winhlp32 clean
,install
18982 wine_fn_config_program winoldap.mod16 enable_win16
install
18983 wine_fn_config_program winver enable_winver
install
18984 wine_fn_config_program wmic enable_wmic clean
,install
18985 wine_fn_config_program wmplayer enable_wmplayer
install
18986 wine_fn_config_program wordpad enable_wordpad clean
,install
18987 wine_fn_config_program
write enable_write clean
,install
18988 wine_fn_config_program wscript enable_wscript clean
,install
18989 wine_fn_config_test programs
/wscript
/tests wscript.exe_test
18990 wine_fn_config_program wusa enable_wusa
install
18991 wine_fn_config_program xcopy enable_xcopy clean
,install
18992 wine_fn_config_test programs
/xcopy
/tests xcopy.exe_test
18993 wine_fn_config_makefile server enable_server clean
,install-lib
18994 wine_fn_config_tool tools clean
18995 wine_fn_config_tool tools
/sfnt2fon clean
18996 wine_fn_config_tool tools
/widl clean
,install-dev
18997 wine_fn_config_tool tools
/winebuild clean
,install-dev
18998 wine_fn_config_tool tools
/winedump clean
,install-dev
18999 wine_fn_config_tool tools
/winegcc clean
,install-dev
19000 wine_fn_config_tool tools
/winemaker clean
,install-dev
19001 wine_fn_config_tool tools
/wmc clean
,install-dev
19002 wine_fn_config_tool tools
/wrc clean
,install-dev
19005 wine_fn_append_file CONFIGURE_TARGETS
"TAGS"
19006 wine_fn_append_file CONFIGURE_TARGETS
"tags"
19007 wine_fn_append_file CONFIGURE_TARGETS
"autom4te.cache"
19008 wine_fn_append_file CONFIGURE_TARGETS
"config.log"
19009 wine_fn_append_file CONFIGURE_TARGETS
"config.status"
19010 wine_fn_append_file CONFIGURE_TARGETS
"include/config.h"
19011 wine_fn_append_file CONFIGURE_TARGETS
"include/stamp-h"
19012 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS
"loader/wine"
19014 if test "x$enable_tools" != xno
19016 wine_fn_append_file CONFIGURE_TARGETS
"tools/makedep$ac_exeext"
19017 ac_config_commands
="$ac_config_commands tools/makedep"
19021 ac_config_commands
="$ac_config_commands Makefile"
19024 ac_config_files
="$ac_config_files Make.tmp:Makefile.in"
19028 if test "x$enable_maintainer_mode" = xyes
19030 wine_fn_append_rule
"configure: configure.ac aclocal.m4
19031 autoconf --warnings=all
19032 include/config.h.in: include/stamp-h.in
19033 include/stamp-h.in: configure.ac aclocal.m4
19034 autoheader --warnings=all
19035 @echo timestamp > \$@"
19038 if test "x$enable_tools" != xno
19040 wine_fn_append_rule
"tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
19041 @./config.status tools/makedep
19042 Makefile: tools/makedep$ac_exeext"
19044 wine_fn_append_rule
"\$(MAKEDEP):
19045 @echo \"You need to run make in $TOOLSDIR first\" && false"
19048 if test -n "$with_wine64"
19050 wine_fn_append_rule
"all: fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader
19052 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
19053 $with_wine64/loader/wine:
19054 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
19055 $with_wine64/loader/wine-preloader:
19056 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
19058 \$(RM) fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
19060 WINELOADER_INSTALL
="wine.inf"
19062 wine_fn_append_rule
"install install-lib::
19063 \$(INSTALL_DATA) $srcdir/loader/l_intl.nls \$(DESTDIR)\$(datadir)/wine/l_intl.nls
19065 \$(RM) \$(DESTDIR)\$(datadir)/wine/l_intl.nls"
19067 cygwin
*|mingw32
*|darwin
*|macosx
*|linux-android
*) ;;
19068 *) wine_fn_append_rule
"install install-lib::
19069 \$(INSTALL_DATA) $srcdir/loader/wine.desktop \$(DESTDIR)\$(datadir)/applications/wine.desktop
19071 \$(RM) \$(DESTDIR)\$(datadir)/applications/wine.desktop" ;;
19075 $as_echo " done" >&6
19076 cat >confcache
<<\_ACEOF
19077 # This file is a shell script that caches the results of configure
19078 # tests run on this system so they can be shared between configure
19079 # scripts and configure runs, see configure's option --config-cache.
19080 # It is not useful on other systems. If it contains results you don't
19081 # want to keep, you may remove or edit it.
19083 # config.status only pays attention to the cache file if you give it
19084 # the --recheck option to rerun configure.
19086 # `ac_cv_env_foo' variables (set or unset) will be overridden when
19087 # loading this file, other *unset* `ac_cv_foo' will be assigned the
19088 # following values.
19092 # The following way of writing the cache mishandles newlines in values,
19093 # but we know of no workaround that is simple, portable, and efficient.
19094 # So, we kill variables containing newlines.
19095 # Ultrix sh set writes to stderr and can't be redirected directly,
19096 # and sets the high bit in the cache file unless we assign to the vars.
19098 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
19099 eval ac_val
=\$
$ac_var
19103 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
19104 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
19107 _ | IFS | as_nl
) ;; #(
19108 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
19109 *) { eval $ac_var=; unset $ac_var;} ;;
19115 case $as_nl`(ac_space=' '; set) 2>&1` in #(
19116 *${as_nl}ac_space
=\
*)
19117 # `set' does not quote correctly, so add quotes: double-quote
19118 # substitution turns \\\\ into \\, and sed turns \\ into \.
19121 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
19124 # `set' quotes correctly as required by POSIX, so do not add quotes.
19125 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
19134 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
19136 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
19138 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
19139 if test -w "$cache_file"; then
19140 if test "x$cache_file" != "x/dev/null"; then
19141 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
19142 $as_echo "$as_me: updating cache $cache_file" >&6;}
19143 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
19144 cat confcache
>"$cache_file"
19146 case $cache_file in #(
19148 mv -f confcache
"$cache_file"$$
&&
19149 mv -f "$cache_file"$$
"$cache_file" ;; #(
19151 mv -f confcache
"$cache_file" ;;
19156 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
19157 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
19162 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
19163 # Let make expand exec_prefix.
19164 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
19166 DEFS
=-DHAVE_CONFIG_H
19171 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
19172 # 1. Remove the extension, and $U if already installed.
19173 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
19174 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
19175 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
19176 # will be set to the directory where LIBOBJS objects are built.
19177 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
19178 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
19180 LIBOBJS
=$ac_libobjs
19182 LTLIBOBJS
=$ac_ltlibobjs
19186 : "${CONFIG_STATUS=./config.status}"
19188 ac_clean_files_save
=$ac_clean_files
19189 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
19190 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
19191 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
19193 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
19195 # Generated by $as_me.
19196 # Run this file to recreate the current configuration.
19197 # Compiler output produced by configure, useful for debugging
19198 # configure, is in config.log if it exists.
19201 ac_cs_recheck=false
19204 SHELL=\${CONFIG_SHELL-$SHELL}
19207 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
19208 ## -------------------- ##
19209 ## M4sh Initialization. ##
19210 ## -------------------- ##
19212 # Be more Bourne compatible
19213 DUALCASE
=1; export DUALCASE
# for MKS sh
19214 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
19217 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
19218 # is contrary to our usage. Disable this feature.
19219 alias -g '${1+"$@"}'='"$@"'
19220 setopt NO_GLOB_SUBST
19222 case `(set -o) 2>/dev/null` in #(
19234 # Printing a long string crashes Solaris 7 /usr/bin/printf.
19235 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
19236 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
19237 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
19238 # Prefer a ksh shell builtin over an external printf program on Solaris,
19239 # but without wasting forks for bash or zsh.
19240 if test -z "$BASH_VERSION$ZSH_VERSION" \
19241 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
19242 as_echo='print
-r --'
19243 as_echo_n='print
-rn --'
19244 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
19245 as_echo='printf %s
\n'
19246 as_echo_n='printf %s
'
19248 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
19249 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
19250 as_echo_n='/usr
/ucb
/echo -n'
19252 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
19253 as_echo_n_body='eval
19257 expr "X$arg" : "X\\(.*\\)$as_nl";
19258 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
19260 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
19262 export as_echo_n_body
19263 as_echo_n='sh
-c $as_echo_n_body as_echo
'
19265 export as_echo_body
19266 as_echo='sh
-c $as_echo_body as_echo
'
19269 # The user is always right.
19270 if test "${PATH_SEPARATOR+set}" != set; then
19272 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
19273 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
19280 # We need space, tab and new line, in precisely that order. Quoting is
19281 # there to prevent editors from complaining about space-tab.
19282 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
19283 # splitting by setting IFS to empty value.)
19286 # Find who we are. Look in the path if we contain no directory separator.
19289 *[\\/]* ) as_myself=$0 ;;
19290 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19291 for as_dir in $PATH
19294 test -z "$as_dir" && as_dir=.
19295 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
19301 # We did not find ourselves, most probably we were run as `sh COMMAND'
19302 # in which case we are not to be found in the path.
19303 if test "x$as_myself" = x
; then
19306 if test ! -f "$as_myself"; then
19307 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
19311 # Unset variables that we do not need and which cause bugs (e.g. in
19312 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
19313 # suppresses any "Segmentation fault" message there. '((' could
19314 # trigger a bug in pdksh 5.2.14.
19315 for as_var
in BASH_ENV ENV MAIL MAILPATH
19316 do eval test x\
${$as_var+set} = xset \
19317 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
19330 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
19333 # as_fn_error STATUS ERROR [LINENO LOG_FD]
19334 # ----------------------------------------
19335 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
19336 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
19337 # script with STATUS, using 1 if that was 0.
19340 as_status
=$1; test $as_status -eq 0 && as_status
=1
19342 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
19343 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
19345 $as_echo "$as_me: error: $2" >&2
19346 as_fn_exit
$as_status
19350 # as_fn_set_status STATUS
19351 # -----------------------
19352 # Set $? to STATUS, without forking.
19353 as_fn_set_status
()
19356 } # as_fn_set_status
19358 # as_fn_exit STATUS
19359 # -----------------
19360 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
19364 as_fn_set_status
$1
19370 # Portably unset VAR.
19373 { eval $1=; unset $1;}
19375 as_unset
=as_fn_unset
19376 # as_fn_append VAR VALUE
19377 # ----------------------
19378 # Append the text in VALUE to the end of the definition contained in VAR. Take
19379 # advantage of any shell optimizations that allow amortized linear growth over
19380 # repeated appends, instead of the typical quadratic growth present in naive
19382 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
19383 eval 'as_fn_append ()
19394 # as_fn_arith ARG...
19395 # ------------------
19396 # Perform arithmetic evaluation on the ARGs, and store the result in the
19397 # global $as_val. Take advantage of shells that can avoid forks. The arguments
19398 # must be portable across $(()) and expr.
19399 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
19400 eval 'as_fn_arith ()
19407 as_val
=`expr "$@" || test $? -eq 1`
19412 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
19413 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
19419 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
19420 as_basename
=basename
19425 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
19431 as_me
=`$as_basename -- "$0" ||
19432 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
19433 X"$0" : 'X\(//\)$' \| \
19434 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
19436 sed '/^.*\/\([^/][^/]*\)\/*$/{
19450 # Avoid depending upon Character Ranges.
19451 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
19452 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
19453 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
19454 as_cr_digits
='0123456789'
19455 as_cr_alnum
=$as_cr_Letters$as_cr_digits
19457 ECHO_C
= ECHO_N
= ECHO_T
=
19458 case `echo -n x` in #(((((
19460 case `echo 'xy\c'` in
19461 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
19463 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
19470 rm -f conf$$ conf$$.exe conf$$.
file
19471 if test -d conf$$.dir
; then
19472 rm -f conf$$.dir
/conf$$.
file
19475 mkdir conf$$.dir
2>/dev
/null
19477 if (echo >conf$$.
file) 2>/dev
/null
; then
19478 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
19480 # ... but there are two gotchas:
19481 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
19482 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
19483 # In both cases, we have to default to `cp -pR'.
19484 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
19486 elif ln conf$$.
file conf$$
2>/dev
/null
; then
19494 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
19495 rmdir conf$$.dir
2>/dev
/null
19500 # Create "$as_dir" as a directory, including parents if necessary.
19505 -*) as_dir
=.
/$as_dir;;
19507 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
19511 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
19512 *) as_qdir
=$as_dir;;
19514 as_dirs
="'$as_qdir' $as_dirs"
19515 as_dir
=`$as_dirname -- "$as_dir" ||
19516 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19517 X"$as_dir" : 'X\(//\)[^/]' \| \
19518 X"$as_dir" : 'X\(//\)$' \| \
19519 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
19520 $as_echo X"$as_dir" |
19521 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19525 /^X\(\/\/\)[^/].*/{
19538 test -d "$as_dir" && break
19540 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
19541 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
19545 if mkdir
-p .
2>/dev
/null
; then
19546 as_mkdir_p
='mkdir -p "$as_dir"'
19548 test -d .
/-p && rmdir .
/-p
19553 # as_fn_executable_p FILE
19554 # -----------------------
19555 # Test if FILE is an executable regular file.
19556 as_fn_executable_p
()
19558 test -f "$1" && test -x "$1"
19559 } # as_fn_executable_p
19560 as_test_x
='test -x'
19561 as_executable_p
=as_fn_executable_p
19563 # Sed expression to map a string onto a valid CPP name.
19564 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
19566 # Sed expression to map a string onto a valid variable name.
19567 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
19571 ## ----------------------------------- ##
19572 ## Main body of $CONFIG_STATUS script. ##
19573 ## ----------------------------------- ##
19575 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
19577 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19578 # Save the log message, to keep $0 and so on meaningful, and to
19579 # report actual input values of CONFIG_FILES etc. instead of their
19580 # values after options handling.
19582 This file was extended by Wine $as_me 2.14, which was
19583 generated by GNU Autoconf 2.69. Invocation command line was
19585 CONFIG_FILES = $CONFIG_FILES
19586 CONFIG_HEADERS = $CONFIG_HEADERS
19587 CONFIG_LINKS = $CONFIG_LINKS
19588 CONFIG_COMMANDS = $CONFIG_COMMANDS
19591 on `(hostname || uname -n) 2>/dev/null | sed 1q`
19596 case $ac_config_files in *"
19597 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
19600 case $ac_config_headers in *"
19601 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
19605 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19606 # Files that config.status was made for.
19607 config_files="$ac_config_files"
19608 config_headers="$ac_config_headers"
19609 config_links="$ac_config_links"
19610 config_commands="$ac_config_commands"
19614 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19616 \`$as_me' instantiates files and other configuration actions
19617 from templates according to the current configuration. Unless the files
19618 and actions are specified as TAGs, all are instantiated by default.
19620 Usage: $0 [OPTION]... [TAG]...
19622 -h, --help print this help, then exit
19623 -V, --version print version number and configuration settings, then exit
19624 --config print configuration, then exit
19625 -q, --quiet, --silent
19626 do not print progress messages
19627 -d, --debug don't remove temporary files
19628 --recheck update $as_me by reconfiguring in the same conditions
19629 --file=FILE[:TEMPLATE]
19630 instantiate the configuration file FILE
19631 --header=FILE[:TEMPLATE]
19632 instantiate the configuration header FILE
19634 Configuration files:
19637 Configuration headers:
19640 Configuration links:
19643 Configuration commands:
19646 Report bugs to <wine-devel@winehq.org>.
19647 Wine home page: <http://www.winehq.org>."
19650 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19651 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
19653 Wine config.status 2.14
19654 configured by $0, generated by GNU Autoconf 2.69,
19655 with options \\"\$ac_cs_config\\"
19657 Copyright (C) 2012 Free Software Foundation, Inc.
19658 This config.status script is free software; the Free Software Foundation
19659 gives unlimited permission to copy, distribute and modify it."
19663 test -n "\$AWK" || AWK=awk
19666 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19667 # The default lists apply if the user does not specify any file.
19673 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
19674 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
19678 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
19690 # Handling of the options.
19691 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
19693 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
19694 $as_echo "$ac_cs_version"; exit ;;
19695 --config |
--confi |
--conf |
--con |
--co |
--c )
19696 $as_echo "$ac_cs_config"; exit ;;
19697 --debug |
--debu |
--deb |
--de |
--d |
-d )
19699 --file |
--fil |
--fi |
--f )
19702 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
19703 '') as_fn_error $?
"missing file argument" ;;
19705 as_fn_append CONFIG_FILES
" '$ac_optarg'"
19706 ac_need_defaults
=false
;;
19707 --header |
--heade |
--head |
--hea )
19710 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
19712 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
19713 ac_need_defaults
=false
;;
19715 # Conflict between --help and --header
19716 as_fn_error $?
"ambiguous option: \`$1'
19717 Try \`$0 --help' for more information.";;
19718 --help |
--hel |
-h )
19719 $as_echo "$ac_cs_usage"; exit ;;
19720 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
19721 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
19724 # This is an error.
19725 -*) as_fn_error $?
"unrecognized option: \`$1'
19726 Try \`$0 --help' for more information." ;;
19728 *) as_fn_append ac_config_targets
" $1"
19729 ac_need_defaults
=false
;;
19735 ac_configure_extra_args
=
19737 if $ac_cs_silent; then
19739 ac_configure_extra_args
="$ac_configure_extra_args --silent"
19743 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19744 if \$ac_cs_recheck; then
19745 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
19747 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
19748 CONFIG_SHELL='$SHELL'
19749 export CONFIG_SHELL
19754 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19758 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
19759 ## Running $as_me. ##
19765 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19769 wine_fn_output_makedep ()
19771 as_dir=tools; as_fn_mkdir_p
19772 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
19774 wine_fn_output_makefile ()
19776 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" && return
19777 `cat $wine_rules_file`
19779 as_fn_error $? "could not create Makefile" "$LINENO" 5
19784 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19786 # Handling of arguments.
19787 for ac_config_target
in $ac_config_targets
19789 case $ac_config_target in
19790 "include/config.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/config.h" ;;
19791 "include/stamp-h") CONFIG_COMMANDS
="$CONFIG_COMMANDS include/stamp-h" ;;
19792 "fonts/marlett.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
19793 "fonts/symbol.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
19794 "fonts/tahoma.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
19795 "fonts/tahomabd.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
19796 "fonts/wingding.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/wingding.ttf:fonts/wingding.ttf" ;;
19797 "loader/l_intl.nls") CONFIG_LINKS
="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
19798 "wine") CONFIG_LINKS
="$CONFIG_LINKS wine:tools/winewrapper" ;;
19799 "wine64") CONFIG_LINKS
="$CONFIG_LINKS wine64:tools/winewrapper" ;;
19800 "tools/makedep") CONFIG_COMMANDS
="$CONFIG_COMMANDS tools/makedep" ;;
19801 "Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS Makefile" ;;
19802 "Make.tmp") CONFIG_FILES
="$CONFIG_FILES Make.tmp:Makefile.in" ;;
19804 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
19809 # If the user did not use the arguments to specify the items to instantiate,
19810 # then the envvar interface is used. Set only those that are not.
19811 # We use the long form for the default assignment because of an extremely
19812 # bizarre bug on SunOS 4.1.3.
19813 if $ac_need_defaults; then
19814 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
19815 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
19816 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS
=$config_links
19817 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
19820 # Have a temporary directory for convenience. Make it in the build tree
19821 # simply because there is no reason against having it here, and in addition,
19822 # creating and moving files from /tmp can sometimes cause problems.
19823 # Hook for its removal unless debugging.
19824 # Note that there is a small window in which the directory will not be cleaned:
19825 # after its creation but before its name has been assigned to `$tmp'.
19829 trap 'exit_status=$?
19830 : "${ac_tmp:=$tmp}"
19831 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
19833 trap 'as_fn_exit 1' 1 2 13 15
19835 # Create a (secure) tmp directory for tmp files.
19838 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
19842 tmp
=.
/conf$$
-$RANDOM
19843 (umask 077 && mkdir
"$tmp")
19844 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
19847 # Set up the scripts for CONFIG_FILES section.
19848 # No need to generate them if there are no CONFIG_FILES.
19849 # This happens for instance with `./config.status config.h'.
19850 if test -n "$CONFIG_FILES"; then
19853 ac_cr
=`echo X | tr X '\015'`
19854 # On cygwin, bash can eat \r inside `` if the user requested igncr.
19855 # But we know of no other shell where ac_cr would be empty at this
19856 # point, so we can use a bashism as a fallback.
19857 if test "x$ac_cr" = x
; then
19858 eval ac_cr
=\$
\'\\r
\'
19860 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
19861 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
19864 ac_cs_awk_cr
=$ac_cr
19867 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
19872 echo "cat >conf$$subs.awk <<_ACEOF" &&
19873 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
19875 } >conf$$subs.sh ||
19876 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
19877 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
19879 for ac_last_try in false false false false false :; do
19880 . ./conf$$subs.sh ||
19881 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
19883 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
19884 if test $ac_delim_n = $ac_delim_num; then
19886 elif $ac_last_try; then
19887 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
19889 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
19892 rm -f conf$$subs.sh
19894 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19895 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
19899 s/^/S["/; s
/!.
*/"]=/
19909 s/\(.\{148\}\)..*/\1/
19911 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
19916 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
19923 s/\(.\{148\}\)..*/\1/
19925 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
19929 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
19934 ' <conf$$subs.awk | sed '
19939 ' >>$CONFIG_STATUS || ac_write_fail=1
19940 rm -f conf$$subs.awk
19941 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19943 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
19944 for (key in S) S_is_set[key] = 1
19950 nfields = split(line, field, "@
")
19952 len = length(field[1])
19953 for (i = 2; i < nfields; i++) {
19955 keylen = length(key)
19956 if (S_is_set[key]) {
19958 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
19959 len += length(value) + length(field[++i])
19970 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19971 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
19972 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
19975 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
19976 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
19979 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
19980 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
19981 # trailing colons and then remove the whole line if VPATH becomes empty
19982 # (actually we leave an empty line to preserve line numbers).
19983 if test "x
$srcdir" = x.; then
19984 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
20002 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20003 fi # test -n "$CONFIG_FILES"
20005 # Set up the scripts for CONFIG_HEADERS section.
20006 # No need to generate them if there are no CONFIG_HEADERS.
20007 # This happens for instance with `./config.status Makefile'.
20008 if test -n "$CONFIG_HEADERS"; then
20009 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
20013 # Transform confdefs.h into an awk script `defines.awk', embedded as
20014 # here-document in config.status, that substitutes the proper values into
20015 # config.h.in to produce config.h.
20017 # Create a delimiter string that does not exist in confdefs.h, to ease
20018 # handling of long lines.
20020 for ac_last_try in false false :; do
20021 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
20022 if test -z "$ac_tt"; then
20024 elif $ac_last_try; then
20025 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
20027 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
20031 # For the awk script, D is an array of macro values keyed by name,
20032 # likewise P contains macro parameters if any. Preserve backslash
20033 # newline sequences.
20035 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
20037 s/.\{148\}/&'"$ac_delim"'/g
20040 s/^[ ]*#[ ]*define[ ][ ]*/ /
20047 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
20049 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
20053 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
20054 D["\
1"]=" \
3\\\\\\n
"\\/p
20056 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
20061 s/.\{148\}/&'"$ac_delim"'/g
20066 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
20069 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
20071 ' <confdefs.h | sed '
20072 s/'"$ac_delim"'/"\\\
20073 "/g' >>$CONFIG_STATUS || ac_write_fail=1
20075 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20076 for (key in D) D_is_set[key] = 1
20079 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
20081 split(line, arg, " ")
20082 if (arg[1] == "#") {
20086 defundef
= substr
(arg
[1], 2)
20089 split(mac1
, mac2
, "(") #)
20091 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
20092 if (D_is_set
[macro
]) {
20093 # Preserve the white space surrounding the "#".
20094 print prefix
"define", macro P
[macro
] D
[macro
]
20097 # Replace #undef with comments. This is necessary, for example,
20098 # in the case of _POSIX_SOURCE, which is predefined and required
20099 # on some systems where configure will not decide to define it.
20100 if (defundef
== "undef") {
20101 print
"/*", prefix defundef
, macro
, "*/"
20109 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
20110 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
20111 fi # test -n "$CONFIG_HEADERS"
20114 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
20119 :[FHLC
]) ac_mode
=$ac_tag; continue;;
20121 case $ac_mode$ac_tag in
20123 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
20124 :[FH
]-) ac_tag
=-:-;;
20125 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
20142 -) ac_f
="$ac_tmp/stdin";;
20143 *) # Look for the file first in the build tree, then in the source tree
20144 # (if the path is not absolute). The absolute path cannot be DOS-style,
20145 # because $ac_f cannot contain `:'.
20149 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
20151 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
20153 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
20154 as_fn_append ac_file_inputs
" '$ac_f'"
20157 # Let's still pretend it is `configure' which instantiates (i.e., don't
20158 # use $as_me), people would be surprised to read:
20159 # /* config.h. Generated by config.status. */
20160 configure_input
='Generated from '`
20161 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
20163 if test x
"$ac_file" != x-
; then
20164 configure_input
="$ac_file. $configure_input"
20165 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
20166 $as_echo "$as_me: creating $ac_file" >&6;}
20168 # Neutralize special characters interpreted by sed in replacement strings.
20169 case $configure_input in #(
20170 *\
&* |
*\|
* |
*\\* )
20171 ac_sed_conf_input
=`$as_echo "$configure_input" |
20172 sed 's/[\\\\&|]/\\\\&/g'`;; #(
20173 *) ac_sed_conf_input
=$configure_input;;
20177 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
20178 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
20183 ac_dir
=`$as_dirname -- "$ac_file" ||
20184 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20185 X"$ac_file" : 'X\(//\)[^/]' \| \
20186 X"$ac_file" : 'X\(//\)$' \| \
20187 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
20188 $as_echo X"$ac_file" |
20189 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20193 /^X\(\/\/\)[^/].*/{
20206 as_dir
="$ac_dir"; as_fn_mkdir_p
20210 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
20212 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
20213 # A ".." for each directory in $ac_dir_suffix.
20214 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
20215 case $ac_top_builddir_sub in
20216 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
20217 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
20220 ac_abs_top_builddir
=$ac_pwd
20221 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
20222 # for backward compatibility:
20223 ac_top_builddir
=$ac_top_build_prefix
20226 .
) # We are building in place.
20228 ac_top_srcdir
=$ac_top_builddir_sub
20229 ac_abs_top_srcdir
=$ac_pwd ;;
20230 [\\/]* | ?
:[\\/]* ) # Absolute name.
20231 ac_srcdir
=$srcdir$ac_dir_suffix;
20232 ac_top_srcdir
=$srcdir
20233 ac_abs_top_srcdir
=$srcdir ;;
20234 *) # Relative name.
20235 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
20236 ac_top_srcdir
=$ac_top_build_prefix$srcdir
20237 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
20239 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
20250 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
20251 # If the template does not know about datarootdir, expand it.
20252 # FIXME: This hack should be removed a few years after 2.60.
20253 ac_datarootdir_hack
=; ac_datarootdir_seen
=
20264 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
20265 *datarootdir
*) ac_datarootdir_seen
=yes;;
20266 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
20267 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
20268 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
20270 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20271 ac_datarootdir_hack='
20272 s&@datadir@&$datadir&g
20273 s&@docdir@&$docdir&g
20274 s&@infodir@&$infodir&g
20275 s&@localedir@&$localedir&g
20276 s&@mandir@&$mandir&g
20277 s&\\\${datarootdir}&$datarootdir&g' ;;
20281 # Neutralize VPATH when `$srcdir' = `.'.
20282 # Shell code in configure.ac might set extrasub.
20283 # FIXME: do we really want to maintain this feature?
20284 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20285 ac_sed_extra="$ac_vpsub
20288 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
20290 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
20291 s|@configure_input@|
$ac_sed_conf_input|
;t t
20292 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
20293 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
20294 s
&@srcdir@
&$ac_srcdir&;t t
20295 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
20296 s
&@top_srcdir@
&$ac_top_srcdir&;t t
20297 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
20298 s
&@builddir@
&$ac_builddir&;t t
20299 s
&@abs_builddir@
&$ac_abs_builddir&;t t
20300 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
20301 $ac_datarootdir_hack
20303 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
20304 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
20306 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
20307 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
20308 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
20309 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
20310 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
20311 which seems to be undefined. Please make sure it is defined" >&5
20312 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
20313 which seems to be undefined. Please make sure it is defined" >&2;}
20315 rm -f "$ac_tmp/stdin"
20317 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
20318 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
20320 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20326 if test x"$ac_file" != x-; then
20328 $as_echo "/* $configure_input */" \
20329 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
20330 } >"$ac_tmp/config.h" \
20331 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20332 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
20333 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
20334 $as_echo "$as_me: $ac_file is unchanged" >&6;}
20337 mv "$ac_tmp/config.h" "$ac_file" \
20338 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20341 $as_echo "/* $configure_input */" \
20342 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
20343 || as_fn_error $? "could not create -" "$LINENO" 5
20351 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.
'; then
20354 # Prefer the file from the source tree if names are identical.
20355 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
20356 ac_source=$srcdir/$ac_source
20359 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
20360 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
20362 if test ! -r "$ac_source"; then
20363 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
20367 # Try a relative symlink, then a hard link, then a copy.
20369 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
20370 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
20372 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
20373 ln "$ac_source" "$ac_file" 2>/dev/null ||
20374 cp -p "$ac_source" "$ac_file" ||
20375 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
20378 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
20379 $as_echo "$as_me: executing $ac_file commands" >&6;}
20384 case $ac_file$ac_mode in
20385 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
20386 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
20387 "Makefile":C) wine_fn_output_makefile Makefile ;;
20395 ac_clean_files=$ac_clean_files_save
20397 test $ac_write_fail = 0 ||
20398 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
20401 # configure is writing to config.log, and then calls config.status.
20402 # config.status does its own redirection, appending to config.log.
20403 # Unfortunately, on DOS this fails, as config.log is still kept open
20404 # by configure, so config.status won't be able to
write to it
; its
20405 # output is simply discarded. So we exec the FD to /dev/null,
20406 # effectively closing config.log, so it can be properly (re)opened and
20407 # appended to by config.status. When coming back to configure, we
20408 # need to make the FD available again.
20409 if test "$no_create" != yes; then
20411 ac_config_status_args
=
20412 test "$silent" = yes &&
20413 ac_config_status_args
="$ac_config_status_args --quiet"
20415 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
20417 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
20418 # would make configure fail if this is the last instruction.
20419 $ac_cs_success || as_fn_exit
1
20421 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
20422 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
20423 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
20427 if test "$no_create" = "yes"
20433 if test "x$wine_notices" != x
; then
20436 for msg
in $wine_notices; do
20438 if ${msg:+false} :; then :
20441 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
20442 $as_echo "$as_me: $msg" >&6;}
20447 for msg
in $wine_warnings; do
20449 if ${msg:+false} :; then :
20453 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
20454 $as_echo "$as_me: WARNING: $msg" >&2;}
20460 $as_me: Finished. Do '${ac_make}' to compile Wine.