2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 2.15.
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.15'
584 PACKAGE_STRING
='Wine 2.15'
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
1571 enable_aspnet_regiis
1608 enable_presentationfontcache
1621 enable_servicemodelreg
1644 enable_winemenubuilder
1646 enable_winemsibuilder
1661 ac_precious_vars
='build_alias
1718 # Initialize some variables set by options.
1720 ac_init_version
=false
1721 ac_unrecognized_opts
=
1722 ac_unrecognized_sep
=
1723 # The variables have the same names as the options, with
1724 # dashes changed to underlines.
1725 cache_file
=/dev
/null
1732 program_transform_name
=s
,x
,x
,
1740 # Installation directory options.
1741 # These are left unexpanded so users can "make install exec_prefix=/foo"
1742 # and all the variables that are supposed to be based on exec_prefix
1743 # by default will actually change.
1744 # Use braces instead of parens because sh, perl, etc. also accept them.
1745 # (The list follows the same order as the GNU Coding Standards.)
1746 bindir
='${exec_prefix}/bin'
1747 sbindir
='${exec_prefix}/sbin'
1748 libexecdir
='${exec_prefix}/libexec'
1749 datarootdir
='${prefix}/share'
1750 datadir
='${datarootdir}'
1751 sysconfdir
='${prefix}/etc'
1752 sharedstatedir
='${prefix}/com'
1753 localstatedir
='${prefix}/var'
1754 runstatedir
='${localstatedir}/run'
1755 includedir
='${prefix}/include'
1756 oldincludedir
='/usr/include'
1757 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
1758 infodir
='${datarootdir}/info'
1763 libdir
='${exec_prefix}/lib'
1764 localedir
='${datarootdir}/locale'
1765 mandir
='${datarootdir}/man'
1771 # If the previous option needs an argument, assign it.
1772 if test -n "$ac_prev"; then
1773 eval $ac_prev=\
$ac_option
1779 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1784 # Accept the important Cygnus configure options, so we can diagnose typos.
1786 case $ac_dashdash$ac_option in
1790 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
1792 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
1793 bindir
=$ac_optarg ;;
1795 -build |
--build |
--buil |
--bui |
--bu)
1796 ac_prev
=build_alias
;;
1797 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
1798 build_alias
=$ac_optarg ;;
1800 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
1801 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
1802 ac_prev
=cache_file
;;
1803 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
1804 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
1805 cache_file
=$ac_optarg ;;
1807 --config-cache |
-C)
1808 cache_file
=config.cache
;;
1810 -datadir |
--datadir |
--datadi |
--datad)
1812 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
1813 datadir
=$ac_optarg ;;
1815 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1816 |
--dataroo |
--dataro |
--datar)
1817 ac_prev
=datarootdir
;;
1818 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1819 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1820 datarootdir
=$ac_optarg ;;
1822 -disable-* |
--disable-*)
1823 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1824 # Reject names that are not valid shell variable names.
1825 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1826 as_fn_error $?
"invalid feature name: $ac_useropt"
1827 ac_useropt_orig
=$ac_useropt
1828 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1829 case $ac_user_opts in
1831 "enable_
$ac_useropt"
1833 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1834 ac_unrecognized_sep
=', ';;
1836 eval enable_
$ac_useropt=no
;;
1838 -docdir |
--docdir |
--docdi |
--doc |
--do)
1840 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1841 docdir
=$ac_optarg ;;
1843 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1845 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1846 dvidir
=$ac_optarg ;;
1848 -enable-* |
--enable-*)
1849 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1850 # Reject names that are not valid shell variable names.
1851 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1852 as_fn_error $?
"invalid feature name: $ac_useropt"
1853 ac_useropt_orig
=$ac_useropt
1854 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1855 case $ac_user_opts in
1857 "enable_
$ac_useropt"
1859 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1860 ac_unrecognized_sep
=', ';;
1862 eval enable_
$ac_useropt=\
$ac_optarg ;;
1864 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1865 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1866 |
--exec |
--exe |
--ex)
1867 ac_prev
=exec_prefix
;;
1868 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1869 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1870 |
--exec=* |
--exe=* |
--ex=*)
1871 exec_prefix
=$ac_optarg ;;
1873 -gas |
--gas |
--ga |
--g)
1874 # Obsolete; use --with-gas.
1877 -help |
--help |
--hel |
--he |
-h)
1878 ac_init_help
=long
;;
1879 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1880 ac_init_help
=recursive
;;
1881 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1882 ac_init_help
=short
;;
1884 -host |
--host |
--hos |
--ho)
1885 ac_prev
=host_alias
;;
1886 -host=* |
--host=* |
--hos=* |
--ho=*)
1887 host_alias
=$ac_optarg ;;
1889 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1891 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1893 htmldir
=$ac_optarg ;;
1895 -includedir |
--includedir |
--includedi |
--included |
--include \
1896 |
--includ |
--inclu |
--incl |
--inc)
1897 ac_prev
=includedir
;;
1898 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1899 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1900 includedir
=$ac_optarg ;;
1902 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1904 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1905 infodir
=$ac_optarg ;;
1907 -libdir |
--libdir |
--libdi |
--libd)
1909 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1910 libdir
=$ac_optarg ;;
1912 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1913 |
--libexe |
--libex |
--libe)
1914 ac_prev
=libexecdir
;;
1915 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1916 |
--libexe=* |
--libex=* |
--libe=*)
1917 libexecdir
=$ac_optarg ;;
1919 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1920 ac_prev
=localedir
;;
1921 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1922 localedir
=$ac_optarg ;;
1924 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1925 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1926 ac_prev
=localstatedir
;;
1927 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1928 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1929 localstatedir
=$ac_optarg ;;
1931 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1933 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1934 mandir
=$ac_optarg ;;
1936 -nfp |
--nfp |
--nf)
1937 # Obsolete; use --without-fp.
1940 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1941 |
--no-cr |
--no-c |
-n)
1944 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1945 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1948 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1949 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1950 |
--oldin |
--oldi |
--old |
--ol |
--o)
1951 ac_prev
=oldincludedir
;;
1952 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1953 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1954 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1955 oldincludedir
=$ac_optarg ;;
1957 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1959 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1960 prefix
=$ac_optarg ;;
1962 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1963 |
--program-pre |
--program-pr |
--program-p)
1964 ac_prev
=program_prefix
;;
1965 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1966 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1967 program_prefix
=$ac_optarg ;;
1969 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1970 |
--program-suf |
--program-su |
--program-s)
1971 ac_prev
=program_suffix
;;
1972 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1973 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1974 program_suffix
=$ac_optarg ;;
1976 -program-transform-name |
--program-transform-name \
1977 |
--program-transform-nam |
--program-transform-na \
1978 |
--program-transform-n |
--program-transform- \
1979 |
--program-transform |
--program-transfor \
1980 |
--program-transfo |
--program-transf \
1981 |
--program-trans |
--program-tran \
1982 |
--progr-tra |
--program-tr |
--program-t)
1983 ac_prev
=program_transform_name
;;
1984 -program-transform-name=* |
--program-transform-name=* \
1985 |
--program-transform-nam=* |
--program-transform-na=* \
1986 |
--program-transform-n=* |
--program-transform-=* \
1987 |
--program-transform=* |
--program-transfor=* \
1988 |
--program-transfo=* |
--program-transf=* \
1989 |
--program-trans=* |
--program-tran=* \
1990 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1991 program_transform_name
=$ac_optarg ;;
1993 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1995 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1996 pdfdir
=$ac_optarg ;;
1998 -psdir |
--psdir |
--psdi |
--psd |
--ps)
2000 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
2003 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2004 |
-silent |
--silent |
--silen |
--sile |
--sil)
2007 -runstatedir |
--runstatedir |
--runstatedi |
--runstated \
2008 |
--runstate |
--runstat |
--runsta |
--runst |
--runs \
2009 |
--run |
--ru |
--r)
2010 ac_prev
=runstatedir
;;
2011 -runstatedir=* |
--runstatedir=* |
--runstatedi=* |
--runstated=* \
2012 |
--runstate=* |
--runstat=* |
--runsta=* |
--runst=* |
--runs=* \
2013 |
--run=* |
--ru=* |
--r=*)
2014 runstatedir
=$ac_optarg ;;
2016 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
2018 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
2020 sbindir
=$ac_optarg ;;
2022 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
2023 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
2024 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
2026 ac_prev
=sharedstatedir
;;
2027 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
2028 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
2029 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
2031 sharedstatedir
=$ac_optarg ;;
2033 -site |
--site |
--sit)
2035 -site=* |
--site=* |
--sit=*)
2038 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
2040 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
2041 srcdir
=$ac_optarg ;;
2043 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
2044 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
2045 ac_prev
=sysconfdir
;;
2046 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
2047 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
2048 sysconfdir
=$ac_optarg ;;
2050 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
2051 ac_prev
=target_alias
;;
2052 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
2053 target_alias
=$ac_optarg ;;
2055 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
2058 -version |
--version |
--versio |
--versi |
--vers |
-V)
2059 ac_init_version
=: ;;
2062 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2063 # Reject names that are not valid shell variable names.
2064 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
2065 as_fn_error $?
"invalid package name: $ac_useropt"
2066 ac_useropt_orig
=$ac_useropt
2067 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2068 case $ac_user_opts in
2072 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2073 ac_unrecognized_sep
=', ';;
2075 eval with_
$ac_useropt=\
$ac_optarg ;;
2077 -without-* |
--without-*)
2078 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2079 # Reject names that are not valid shell variable names.
2080 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
2081 as_fn_error $?
"invalid package name: $ac_useropt"
2082 ac_useropt_orig
=$ac_useropt
2083 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2084 case $ac_user_opts in
2088 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2089 ac_unrecognized_sep
=', ';;
2091 eval with_
$ac_useropt=no
;;
2094 # Obsolete; use --with-x.
2097 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
2098 |
--x-incl |
--x-inc |
--x-in |
--x-i)
2099 ac_prev
=x_includes
;;
2100 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
2101 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
2102 x_includes
=$ac_optarg ;;
2104 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
2105 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
2106 ac_prev
=x_libraries
;;
2107 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
2108 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
2109 x_libraries
=$ac_optarg ;;
2111 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
2112 Try \`$0 --help' for more information"
2116 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
2117 # Reject names that are not valid shell variable names.
2118 case $ac_envvar in #(
2119 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
2120 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
2122 eval $ac_envvar=\
$ac_optarg
2123 export $ac_envvar ;;
2126 # FIXME: should be removed in autoconf 3.0.
2127 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
2128 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
2129 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
2130 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2136 if test -n "$ac_prev"; then
2137 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
2138 as_fn_error $?
"missing argument to $ac_option"
2141 if test -n "$ac_unrecognized_opts"; then
2142 case $enable_option_checking in
2144 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
2145 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2149 # Check all directory arguments for consistency.
2150 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2151 datadir sysconfdir sharedstatedir localstatedir includedir \
2152 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2153 libdir localedir mandir runstatedir
2155 eval ac_val
=\$
$ac_var
2156 # Remove trailing slashes.
2159 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2160 eval $ac_var=\
$ac_val;;
2162 # Be sure to have absolute directory names.
2164 [\\/$
]* | ?
:[\\/]* ) continue;;
2165 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
2167 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
2170 # There might be people who depend on the old broken behavior: `$host'
2171 # used to hold the argument of --host etc.
2172 # FIXME: To remove some day.
2175 target
=$target_alias
2177 # FIXME: To remove some day.
2178 if test "x$host_alias" != x
; then
2179 if test "x$build_alias" = x
; then
2180 cross_compiling
=maybe
2181 elif test "x$build_alias" != "x$host_alias"; then
2187 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
2189 test "$silent" = yes && exec 6>/dev
/null
2192 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
2193 ac_ls_di
=`ls -di .` &&
2194 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
2195 as_fn_error $?
"working directory cannot be determined"
2196 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2197 as_fn_error $?
"pwd does not report name of working directory"
2200 # Find the source files, if location was not specified.
2201 if test -z "$srcdir"; then
2202 ac_srcdir_defaulted
=yes
2203 # Try the directory containing this script, then the parent directory.
2204 ac_confdir
=`$as_dirname -- "$as_myself" ||
2205 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2206 X"$as_myself" : 'X\(//\)[^/]' \| \
2207 X"$as_myself" : 'X\(//\)$' \| \
2208 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2209 $as_echo X"$as_myself" |
2210 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2228 if test ! -r "$srcdir/$ac_unique_file"; then
2232 ac_srcdir_defaulted
=no
2234 if test ! -r "$srcdir/$ac_unique_file"; then
2235 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
2236 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
2238 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
2240 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2242 # When building in place, set srcdir=.
2243 if test "$ac_abs_confdir" = "$ac_pwd"; then
2246 # Remove unnecessary trailing slashes from srcdir.
2247 # Double slashes in file names in object file debugging info
2248 # mess up M-x gdb in Emacs.
2250 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2252 for ac_var
in $ac_precious_vars; do
2253 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
2254 eval ac_env_
${ac_var}_value
=\$
${ac_var}
2255 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
2256 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
2260 # Report the --help message.
2262 if test "$ac_init_help" = "long"; then
2263 # Omit some internal or obsolete options to make the list less imposing.
2264 # This message is too long to be a string in the A/UX 3.1 sh.
2266 \`configure' configures Wine 2.15 to adapt to many kinds of systems.
2268 Usage: $0 [OPTION]... [VAR=VALUE]...
2270 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2271 VAR=VALUE. See below for descriptions of some of the useful variables.
2273 Defaults for the options are specified in brackets.
2276 -h, --help display this help and exit
2277 --help=short display options specific to this package
2278 --help=recursive display the short help of all the included packages
2279 -V, --version display version information and exit
2280 -q, --quiet, --silent do not print \`checking ...' messages
2281 --cache-file=FILE cache test results in FILE [disabled]
2282 -C, --config-cache alias for \`--cache-file=config.cache'
2283 -n, --no-create do not create output files
2284 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2286 Installation directories:
2287 --prefix=PREFIX install architecture-independent files in PREFIX
2288 [$ac_default_prefix]
2289 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2292 By default, \`make install' will install all the files in
2293 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2294 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2295 for instance \`--prefix=\$HOME'.
2297 For better control, use the options below.
2299 Fine tuning of the installation directories:
2300 --bindir=DIR user executables [EPREFIX/bin]
2301 --sbindir=DIR system admin executables [EPREFIX/sbin]
2302 --libexecdir=DIR program executables [EPREFIX/libexec]
2303 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2304 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2305 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2306 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2307 --libdir=DIR object code libraries [EPREFIX/lib]
2308 --includedir=DIR C header files [PREFIX/include]
2309 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2310 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2311 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2312 --infodir=DIR info documentation [DATAROOTDIR/info]
2313 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2314 --mandir=DIR man documentation [DATAROOTDIR/man]
2315 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2316 --htmldir=DIR html documentation [DOCDIR]
2317 --dvidir=DIR dvi documentation [DOCDIR]
2318 --pdfdir=DIR pdf documentation [DOCDIR]
2319 --psdir=DIR ps documentation [DOCDIR]
2325 --x-includes=DIR X include files are
in DIR
2326 --x-libraries=DIR X library files are
in DIR
2329 --build=BUILD configure
for building on BUILD
[guessed
]
2330 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
2334 if test -n "$ac_init_help"; then
2335 case $ac_init_help in
2336 short | recursive
) echo "Configuration of Wine 2.15:";;
2341 --disable-option-checking ignore unrecognized
--enable/--with options
2342 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
2343 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
2344 --disable-win16 do not include Win16 support
2345 --enable-win64 build a Win64 emulator on AMD64
(won
't run Win32
2347 --disable-tests do not build the regression tests
2348 --enable-maintainer-mode
2349 enable maintainer-specific build rules
2350 --disable-largefile omit support for large files
2353 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2354 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2355 --without-alsa do not use the Alsa sound support
2356 --without-capi do not use CAPI (ISDN support)
2357 --without-cms do not use CMS (color management support)
2358 --without-coreaudio do not use the CoreAudio sound support
2359 --without-cups do not use CUPS
2360 --without-curses do not use (n)curses
2361 --without-dbus do not use DBus (dynamic device support)
2362 --without-fontconfig do not use fontconfig
2363 --without-freetype do not use the FreeType library
2364 --without-gettext do not use gettext
2365 --with-gettextpo use the GetTextPO library to rebuild po files
2366 --without-gphoto do not use gphoto (Digital Camera support)
2367 --without-glu do not use the GLU library
2368 --without-gnutls do not use GnuTLS (schannel support)
2369 --without-gsm do not use libgsm (GSM 06.10 codec support)
2370 --without-gstreamer do not use GStreamer (codecs support)
2371 --without-hal do not use HAL (dynamic device support)
2372 --without-jpeg do not use JPEG
2373 --without-ldap do not use LDAP
2374 --without-mpg123 do not use the mpg123 library
2375 --without-netapi do not use the Samba NetAPI library
2376 --without-openal do not use OpenAL
2377 --without-opencl do not use OpenCL
2378 --without-opengl do not use OpenGL
2379 --without-osmesa do not use the OSMesa library
2380 --without-oss do not use the OSS sound support
2381 --without-pcap do not use the Packet Capture library
2382 --without-png do not use PNG
2383 --without-pthread do not use the pthread library
2384 --without-pulse do not use PulseAudio sound support
2385 --without-sane do not use SANE (scanner support)
2386 --without-tiff do not use TIFF
2387 --without-udev do not use udev (plug and play support)
2388 --without-v4l do not use v4l1 (v4l support)
2389 --without-xcomposite do not use the Xcomposite extension
2390 --without-xcursor do not use the Xcursor extension
2391 --without-xfixes do not use Xfixes for clipboard change notifications
2392 --without-xinerama do not use Xinerama (multi-monitor support)
2393 --without-xinput do not use the Xinput extension
2394 --without-xinput2 do not use the Xinput 2 extension
2395 --without-xml do not use XML
2396 --without-xrandr do not use Xrandr (resolution changes)
2397 --without-xrender do not use the Xrender extension
2398 --without-xshape do not use the Xshape extension
2399 --without-xshm do not use XShm (shared memory extension)
2400 --without-xslt do not use XSLT
2401 --without-xxf86vm do not use XFree video mode extension
2402 --without-zlib do not use Zlib (data compression)
2403 --with-wine-tools=DIR use Wine tools from directory DIR
2404 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2405 --with-x use the X Window System
2407 Some influential environment variables:
2408 CC C compiler command
2409 CFLAGS C compiler flags
2410 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2411 nonstandard directory <lib dir>
2412 LIBS libraries to pass to the linker, e.g. -l<library>
2413 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2414 you have headers in a nonstandard directory <include dir>
2415 CXX C++ compiler command
2416 CXXFLAGS C++ compiler flags
2418 XMKMF Path to xmkmf, Makefile generator for X Window System
2419 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2420 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2421 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2422 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2423 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2424 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2425 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2426 HAL_LIBS Linker flags for hal, overriding pkg-config
2428 C compiler flags for gnutls, overriding pkg-config
2429 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2430 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2431 SANE_LIBS Linker flags for libsane, overriding pkg-config
2433 C compiler flags for libgphoto2, overriding pkg-config
2435 Linker flags for libgphoto2, overriding pkg-config
2437 C compiler flags for libgphoto2_port, overriding pkg-config
2439 Linker flags for libgphoto2_port, overriding pkg-config
2441 C compiler flags for lcms2, overriding pkg-config
2442 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2444 C compiler flags for freetype2, overriding pkg-config
2446 Linker flags for freetype2, overriding pkg-config
2448 C compiler flags for libpulse, overriding pkg-config
2449 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2451 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2452 gstreamer-audio-1.0, overriding pkg-config
2454 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2455 gstreamer-audio-1.0, overriding pkg-config
2456 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2457 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2459 C compiler flags for capi20, overriding pkg-config
2460 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2462 C compiler flags for fontconfig, overriding pkg-config
2464 Linker flags for fontconfig, overriding pkg-config
2465 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2466 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2467 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2468 PNG_LIBS Linker flags for libpng, overriding pkg-config
2469 TIFF_CFLAGS C compiler flags for libtiff-4, overriding pkg-config
2470 TIFF_LIBS Linker flags for libtiff-4, overriding pkg-config
2472 C compiler flags for libmpg123, overriding pkg-config
2473 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2475 C compiler flags for netapi, overriding pkg-config
2476 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2477 LDAP_CFLAGS C compiler flags for openldap, overriding pkg-config
2478 LDAP_LIBS Linker flags for openldap, overriding pkg-config
2480 Use these variables to override the choices made by `configure' or to
help
2481 it to
find libraries and programs with nonstandard names
/locations.
2483 Report bugs to
<wine-devel@winehq.org
>.
2484 Wine home page
: <http
://www.winehq.org
>.
2489 if test "$ac_init_help" = "recursive"; then
2490 # If there are subdirs, report their specific --help.
2491 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
2492 test -d "$ac_dir" ||
2493 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
2498 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2500 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2501 # A ".." for each directory in $ac_dir_suffix.
2502 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2503 case $ac_top_builddir_sub in
2504 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2505 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
2508 ac_abs_top_builddir
=$ac_pwd
2509 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
2510 # for backward compatibility:
2511 ac_top_builddir
=$ac_top_build_prefix
2514 .
) # We are building in place.
2516 ac_top_srcdir
=$ac_top_builddir_sub
2517 ac_abs_top_srcdir
=$ac_pwd ;;
2518 [\\/]* | ?
:[\\/]* ) # Absolute name.
2519 ac_srcdir
=$srcdir$ac_dir_suffix;
2520 ac_top_srcdir
=$srcdir
2521 ac_abs_top_srcdir
=$srcdir ;;
2523 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
2524 ac_top_srcdir
=$ac_top_build_prefix$srcdir
2525 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
2527 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
2529 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
2530 # Check for guested configure.
2531 if test -f "$ac_srcdir/configure.gnu"; then
2533 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2534 elif test -f "$ac_srcdir/configure"; then
2536 $SHELL "$ac_srcdir/configure" --help=recursive
2538 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2540 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
2544 test -n "$ac_init_help" && exit $ac_status
2545 if $ac_init_version; then
2548 generated by GNU Autoconf
2.69
2550 Copyright
(C
) 2012 Free Software Foundation
, Inc.
2551 This configure
script is free software
; the Free Software Foundation
2552 gives unlimited permission to copy
, distribute and modify it.
2557 ## ------------------------ ##
2558 ## Autoconf initialization. ##
2559 ## ------------------------ ##
2561 # ac_fn_c_try_compile LINENO
2562 # --------------------------
2563 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2564 ac_fn_c_try_compile
()
2566 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2567 rm -f conftest.
$ac_objext
2568 if { { ac_try
="$ac_compile"
2570 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2571 *) ac_try_echo=$ac_try;;
2573 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2574 $as_echo "$ac_try_echo"; } >&5
2575 (eval "$ac_compile") 2>conftest.err
2577 if test -s conftest.err; then
2578 grep -v '^ *+' conftest.err >conftest.er1
2579 cat conftest.er1 >&5
2580 mv -f conftest.er1 conftest.err
2582 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2583 test $ac_status = 0; } && {
2584 test -z "$ac_c_werror_flag" ||
2585 test ! -s conftest.err
2586 } && test -s conftest.$ac_objext; then :
2589 $as_echo "$as_me: failed program was:" >&5
2590 sed 's/^/| /' conftest.$ac_ext >&5
2594 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2595 as_fn_set_status $ac_retval
2597 } # ac_fn_c_try_compile
2599 # ac_fn_cxx_try_compile LINENO
2600 # ----------------------------
2601 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2602 ac_fn_cxx_try_compile ()
2604 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2605 rm -f conftest.$ac_objext
2606 if { { ac_try="$ac_compile"
2608 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2609 *) ac_try_echo
=$ac_try;;
2611 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2612 $as_echo "$ac_try_echo"; } >&5
2613 (eval "$ac_compile") 2>conftest.err
2615 if test -s conftest.err
; then
2616 grep -v '^ *+' conftest.err
>conftest.er1
2617 cat conftest.er1
>&5
2618 mv -f conftest.er1 conftest.err
2620 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2621 test $ac_status = 0; } && {
2622 test -z "$ac_cxx_werror_flag" ||
2623 test ! -s conftest.err
2624 } && test -s conftest.
$ac_objext; then :
2627 $as_echo "$as_me: failed program was:" >&5
2628 sed 's/^/| /' conftest.
$ac_ext >&5
2632 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2633 as_fn_set_status
$ac_retval
2635 } # ac_fn_cxx_try_compile
2637 # ac_fn_c_try_link LINENO
2638 # -----------------------
2639 # Try to link conftest.$ac_ext, and return whether this succeeded.
2642 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2643 rm -f conftest.
$ac_objext conftest
$ac_exeext
2644 if { { ac_try
="$ac_link"
2646 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2647 *) ac_try_echo=$ac_try;;
2649 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2650 $as_echo "$ac_try_echo"; } >&5
2651 (eval "$ac_link") 2>conftest.err
2653 if test -s conftest.err; then
2654 grep -v '^ *+' conftest.err >conftest.er1
2655 cat conftest.er1 >&5
2656 mv -f conftest.er1 conftest.err
2658 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2659 test $ac_status = 0; } && {
2660 test -z "$ac_c_werror_flag" ||
2661 test ! -s conftest.err
2662 } && test -s conftest$ac_exeext && {
2663 test "$cross_compiling" = yes ||
2664 test -x conftest$ac_exeext
2668 $as_echo "$as_me: failed program was:" >&5
2669 sed 's/^/| /' conftest.$ac_ext >&5
2673 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2674 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2675 # interfere with the next link command; also delete a directory that is
2676 # left behind by Apple's compiler. We do this before executing the actions.
2677 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2678 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2679 as_fn_set_status $ac_retval
2681 } # ac_fn_c_try_link
2683 # ac_fn_c_try_cpp LINENO
2684 # ----------------------
2685 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2688 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2689 if { { ac_try="$ac_cpp conftest.$ac_ext"
2691 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2692 *) ac_try_echo
=$ac_try;;
2694 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2695 $as_echo "$ac_try_echo"; } >&5
2696 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2698 if test -s conftest.err
; then
2699 grep -v '^ *+' conftest.err
>conftest.er1
2700 cat conftest.er1
>&5
2701 mv -f conftest.er1 conftest.err
2703 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2704 test $ac_status = 0; } > conftest.i
&& {
2705 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2706 test ! -s conftest.err
2710 $as_echo "$as_me: failed program was:" >&5
2711 sed 's/^/| /' conftest.
$ac_ext >&5
2715 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2716 as_fn_set_status
$ac_retval
2720 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2721 # -------------------------------------------------------
2722 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2723 # the include files in INCLUDES and setting the cache variable VAR
2725 ac_fn_c_check_header_mongrel
()
2727 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2728 if eval \
${$3+:} false
; then :
2729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2730 $as_echo_n "checking for $2... " >&6; }
2731 if eval \
${$3+:} false
; then :
2732 $as_echo_n "(cached) " >&6
2735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2736 $as_echo "$ac_res" >&6; }
2738 # Is the header compilable?
2739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2740 $as_echo_n "checking $2 usability... " >&6; }
2741 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2742 /* end confdefs.h. */
2746 if ac_fn_c_try_compile
"$LINENO"; then :
2747 ac_header_compiler
=yes
2749 ac_header_compiler
=no
2751 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2753 $as_echo "$ac_header_compiler" >&6; }
2755 # Is the header present?
2756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2757 $as_echo_n "checking $2 presence... " >&6; }
2758 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2759 /* end confdefs.h. */
2762 if ac_fn_c_try_cpp
"$LINENO"; then :
2763 ac_header_preproc
=yes
2765 ac_header_preproc
=no
2767 rm -f conftest.err conftest.i conftest.
$ac_ext
2768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2769 $as_echo "$ac_header_preproc" >&6; }
2771 # So? What about this header?
2772 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2774 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2775 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2776 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2777 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2780 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2781 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2782 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2783 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2784 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2785 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2786 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2787 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2788 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2789 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2790 ( $as_echo "## ------------------------------------ ##
2791 ## Report this to wine-devel@winehq.org ##
2792 ## ------------------------------------ ##"
2793 ) |
sed "s/^/$as_me: WARNING: /" >&2
2796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2797 $as_echo_n "checking for $2... " >&6; }
2798 if eval \
${$3+:} false
; then :
2799 $as_echo_n "(cached) " >&6
2801 eval "$3=\$ac_header_compiler"
2804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2805 $as_echo "$ac_res" >&6; }
2807 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2809 } # ac_fn_c_check_header_mongrel
2811 # ac_fn_c_try_run LINENO
2812 # ----------------------
2813 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2814 # that executables *can* be run.
2817 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2818 if { { ac_try
="$ac_link"
2820 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2821 *) ac_try_echo=$ac_try;;
2823 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2824 $as_echo "$ac_try_echo"; } >&5
2825 (eval "$ac_link") 2>&5
2827 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2828 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2829 { { case "(($ac_try" in
2830 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2831 *) ac_try_echo
=$ac_try;;
2833 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2834 $as_echo "$ac_try_echo"; } >&5
2835 (eval "$ac_try") 2>&5
2837 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2838 test $ac_status = 0; }; }; then :
2841 $as_echo "$as_me: program exited with status $ac_status" >&5
2842 $as_echo "$as_me: failed program was:" >&5
2843 sed 's/^/| /' conftest.
$ac_ext >&5
2845 ac_retval
=$ac_status
2847 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2848 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2849 as_fn_set_status
$ac_retval
2853 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2854 # -------------------------------------------------------
2855 # Tests whether HEADER exists and can be compiled using the include files in
2856 # INCLUDES, setting the cache variable VAR accordingly.
2857 ac_fn_c_check_header_compile
()
2859 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2861 $as_echo_n "checking for $2... " >&6; }
2862 if eval \
${$3+:} false
; then :
2863 $as_echo_n "(cached) " >&6
2865 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2866 /* end confdefs.h. */
2870 if ac_fn_c_try_compile
"$LINENO"; then :
2875 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2879 $as_echo "$ac_res" >&6; }
2880 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2882 } # ac_fn_c_check_header_compile
2884 # ac_fn_c_check_func LINENO FUNC VAR
2885 # ----------------------------------
2886 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2887 ac_fn_c_check_func
()
2889 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2891 $as_echo_n "checking for $2... " >&6; }
2892 if eval \
${$3+:} false
; then :
2893 $as_echo_n "(cached) " >&6
2895 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2896 /* end confdefs.h. */
2897 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2898 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2899 #define $2 innocuous_$2
2901 /* System header to define __stub macros and hopefully few prototypes,
2902 which can conflict with char $2 (); below.
2903 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2904 <limits.h> exists even on freestanding compilers. */
2907 # include <limits.h>
2909 # include <assert.h>
2914 /* Override any GCC internal prototype to avoid an error.
2915 Use char because int might match the return type of a GCC
2916 builtin and then its argument prototype would still apply. */
2921 /* The GNU C library defines this for functions which it implements
2922 to always fail with ENOSYS. Some functions are actually named
2923 something starting with __ and the normal name is an alias. */
2924 #if defined __stub_$2 || defined __stub___$2
2936 if ac_fn_c_try_link
"$LINENO"; then :
2941 rm -f core conftest.err conftest.
$ac_objext \
2942 conftest
$ac_exeext conftest.
$ac_ext
2945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2946 $as_echo "$ac_res" >&6; }
2947 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2949 } # ac_fn_c_check_func
2951 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2952 # ----------------------------------------------------
2953 # Tries to find if the field MEMBER exists in type AGGR, after including
2954 # INCLUDES, setting cache variable VAR accordingly.
2955 ac_fn_c_check_member
()
2957 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2959 $as_echo_n "checking for $2.$3... " >&6; }
2960 if eval \
${$4+:} false
; then :
2961 $as_echo_n "(cached) " >&6
2963 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2964 /* end confdefs.h. */
2976 if ac_fn_c_try_compile
"$LINENO"; then :
2979 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2980 /* end confdefs.h. */
2986 if (sizeof ac_aggr.$3)
2992 if ac_fn_c_try_compile
"$LINENO"; then :
2997 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2999 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3003 $as_echo "$ac_res" >&6; }
3004 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3006 } # ac_fn_c_check_member
3008 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3009 # -------------------------------------------
3010 # Tests whether TYPE exists after having included INCLUDES, setting cache
3011 # variable VAR accordingly.
3012 ac_fn_c_check_type
()
3014 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
3015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3016 $as_echo_n "checking for $2... " >&6; }
3017 if eval \
${$3+:} false
; then :
3018 $as_echo_n "(cached) " >&6
3021 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3022 /* end confdefs.h. */
3033 if ac_fn_c_try_compile
"$LINENO"; then :
3034 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3035 /* end confdefs.h. */
3046 if ac_fn_c_try_compile
"$LINENO"; then :
3051 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3053 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3057 $as_echo "$ac_res" >&6; }
3058 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3060 } # ac_fn_c_check_type
3061 cat >config.log
<<_ACEOF
3062 This file contains any messages produced by compilers while
3063 running configure, to aid debugging if configure makes a mistake.
3065 It was created by Wine $as_me 2.15, which was
3066 generated by GNU Autoconf 2.69. Invocation command line was
3078 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3079 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3080 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3081 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3082 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3084 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3085 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3087 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3088 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3089 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3090 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3091 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3092 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3093 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3097 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3101 test -z "$as_dir" && as_dir
=.
3102 $as_echo "PATH: $as_dir"
3118 # Keep a trace of the command line.
3119 # Strip out --no-create and --no-recursion so they do not pile up.
3120 # Strip out --silent because we don't want to record it for future runs.
3121 # Also quote any args containing shell meta-characters.
3122 # Make two passes to allow for proper duplicate-argument suppression.
3126 ac_must_keep_next
=false
3132 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
3133 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
3134 |
-silent |
--silent |
--silen |
--sile |
--sil)
3137 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3140 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
3142 as_fn_append ac_configure_args1
" '$ac_arg'"
3143 if test $ac_must_keep_next = true
; then
3144 ac_must_keep_next
=false
# Got value, back to normal.
3147 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
3148 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
3149 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
3150 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
3151 case "$ac_configure_args0 " in
3152 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3155 -* ) ac_must_keep_next
=true
;;
3158 as_fn_append ac_configure_args
" '$ac_arg'"
3163 { ac_configure_args0
=; unset ac_configure_args0
;}
3164 { ac_configure_args1
=; unset ac_configure_args1
;}
3166 # When interrupted or exit'd, cleanup temporary files, and complete
3167 # config.log. We remove comments because anyway the quotes in there
3168 # would cause problems or look ugly.
3169 # WARNING: Use '\'' to represent an apostrophe within the trap.
3170 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3171 trap 'exit_status=$?
3172 # Save into config.log some information that might help in debugging.
3176 $as_echo "## ---------------- ##
3177 ## Cache variables. ##
3178 ## ---------------- ##"
3180 # The following way of writing the cache mishandles newlines in values,
3182 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3183 eval ac_val=\$$ac_var
3187 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3188 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3191 _ | IFS | as_nl) ;; #(
3192 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3193 *) { eval $ac_var=; unset $ac_var;} ;;
3198 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3199 *${as_nl}ac_space=\ *)
3201 "s/'\''/'\''\\\\'\'''\''/g;
3202 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3205 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3212 $as_echo "## ----------------- ##
3213 ## Output variables. ##
3214 ## ----------------- ##"
3216 for ac_var in $ac_subst_vars
3218 eval ac_val=\$$ac_var
3220 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3222 $as_echo "$ac_var='\''$ac_val'\''"
3226 if test -n "$ac_subst_files"; then
3227 $as_echo "## ------------------- ##
3228 ## File substitutions. ##
3229 ## ------------------- ##"
3231 for ac_var
in $ac_subst_files
3233 eval ac_val
=\$
$ac_var
3235 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3237 $as_echo "$ac_var='\''$ac_val'\''"
3242 if test -s confdefs.h; then
3243 $as_echo "## ----------- ##
3250 test "$ac_signal" != 0 &&
3251 $as_echo "$as_me: caught signal $ac_signal"
3252 $as_echo "$as_me: exit $exit_status"
3254 rm -f core *.core core.conftest.* &&
3255 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3258 for ac_signal
in 1 2 13 15; do
3259 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3263 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3264 rm -f -r conftest
* confdefs.h
3266 $as_echo "/* confdefs.h */" > confdefs.h
3268 # Predefined preprocessor variables.
3270 cat >>confdefs.h
<<_ACEOF
3271 #define PACKAGE_NAME "$PACKAGE_NAME"
3274 cat >>confdefs.h
<<_ACEOF
3275 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3278 cat >>confdefs.h
<<_ACEOF
3279 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3282 cat >>confdefs.h
<<_ACEOF
3283 #define PACKAGE_STRING "$PACKAGE_STRING"
3286 cat >>confdefs.h
<<_ACEOF
3287 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3290 cat >>confdefs.h
<<_ACEOF
3291 #define PACKAGE_URL "$PACKAGE_URL"
3295 # Let the site file select an alternate cache file if it wants to.
3296 # Prefer an explicitly selected file to automatically selected ones.
3299 if test -n "$CONFIG_SITE"; then
3300 # We do not want a PATH search for config.site.
3301 case $CONFIG_SITE in #((
3302 -*) ac_site_file1
=.
/$CONFIG_SITE;;
3303 */*) ac_site_file1
=$CONFIG_SITE;;
3304 *) ac_site_file1
=.
/$CONFIG_SITE;;
3306 elif test "x$prefix" != xNONE
; then
3307 ac_site_file1
=$prefix/share
/config.site
3308 ac_site_file2
=$prefix/etc
/config.site
3310 ac_site_file1
=$ac_default_prefix/share
/config.site
3311 ac_site_file2
=$ac_default_prefix/etc
/config.site
3313 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
3315 test "x$ac_site_file" = xNONE
&& continue
3316 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
3317 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3318 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3319 sed 's/^/| /' "$ac_site_file" >&5
3321 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3322 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3323 as_fn_error $?
"failed to load site script $ac_site_file
3324 See \`config.log' for more details" "$LINENO" 5; }
3328 if test -r "$cache_file"; then
3329 # Some versions of bash will fail to source /dev/null (special files
3330 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3331 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
3332 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3333 $as_echo "$as_me: loading cache $cache_file" >&6;}
3335 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
3336 *) .
"./$cache_file";;
3340 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3341 $as_echo "$as_me: creating cache $cache_file" >&6;}
3345 # Check that the precious variables saved in the cache have kept the same
3347 ac_cache_corrupted
=false
3348 for ac_var
in $ac_precious_vars; do
3349 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
3350 eval ac_new_set
=\
$ac_env_${ac_var}_set
3351 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
3352 eval ac_new_val
=\
$ac_env_${ac_var}_value
3353 case $ac_old_set,$ac_new_set in
3355 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3356 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3357 ac_cache_corrupted
=: ;;
3359 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3360 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3361 ac_cache_corrupted
=: ;;
3364 if test "x$ac_old_val" != "x$ac_new_val"; then
3365 # differences in whitespace do not lead to failure.
3366 ac_old_val_w
=`echo x $ac_old_val`
3367 ac_new_val_w
=`echo x $ac_new_val`
3368 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3369 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3370 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3371 ac_cache_corrupted
=:
3373 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3374 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3375 eval $ac_var=\
$ac_old_val
3377 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3378 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3379 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3380 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3383 # Pass precious variables to config.status.
3384 if test "$ac_new_set" = set; then
3386 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3387 *) ac_arg
=$ac_var=$ac_new_val ;;
3389 case " $ac_configure_args " in
3390 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3391 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
3395 if $ac_cache_corrupted; then
3396 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3397 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3398 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3399 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3400 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3402 ## -------------------- ##
3403 ## Main body of script. ##
3404 ## -------------------- ##
3407 ac_cpp
='$CPP $CPPFLAGS'
3408 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3409 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3410 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3414 ac_config_headers
="$ac_config_headers include/config.h"
3417 for ac_dir
in tools
"$srcdir"/tools
; do
3418 if test -f "$ac_dir/install-sh"; then
3420 ac_install_sh
="$ac_aux_dir/install-sh -c"
3422 elif test -f "$ac_dir/install.sh"; then
3424 ac_install_sh
="$ac_aux_dir/install.sh -c"
3426 elif test -f "$ac_dir/shtool"; then
3428 ac_install_sh
="$ac_aux_dir/shtool install -c"
3432 if test -z "$ac_aux_dir"; then
3433 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3436 # These three variables are undocumented and unsupported,
3437 # and are intended to be withdrawn in a future Autoconf release.
3438 # They can cause serious problems if a builder's source tree is in a directory
3439 # whose full name contains unusual characters.
3440 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3441 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3442 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3446 libwine_version
="1.0"
3450 # Check whether --enable-win16 was given.
3451 if test "${enable_win16+set}" = set; then :
3452 enableval
=$enable_win16;
3455 # Check whether --enable-win64 was given.
3456 if test "${enable_win64+set}" = set; then :
3457 enableval
=$enable_win64;
3460 # Check whether --enable-tests was given.
3461 if test "${enable_tests+set}" = set; then :
3462 enableval
=$enable_tests;
3465 # Check whether --enable-maintainer-mode was given.
3466 if test "${enable_maintainer_mode+set}" = set; then :
3467 enableval
=$enable_maintainer_mode;
3472 # Check whether --with-alsa was given.
3473 if test "${with_alsa+set}" = set; then :
3474 withval
=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h
=no
; ac_cv_header_alsa_asoundlib_h
=no
; fi
3478 # Check whether --with-capi was given.
3479 if test "${with_capi+set}" = set; then :
3484 # Check whether --with-cms was given.
3485 if test "${with_cms+set}" = set; then :
3490 # Check whether --with-coreaudio was given.
3491 if test "${with_coreaudio+set}" = set; then :
3492 withval
=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h
=no
; fi
3496 # Check whether --with-cups was given.
3497 if test "${with_cups+set}" = set; then :
3502 # Check whether --with-curses was given.
3503 if test "${with_curses+set}" = set; then :
3504 withval
=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h
=no
; ac_cv_header_curses_h
=no
; fi
3508 # Check whether --with-dbus was given.
3509 if test "${with_dbus+set}" = set; then :
3514 # Check whether --with-fontconfig was given.
3515 if test "${with_fontconfig+set}" = set; then :
3516 withval
=$with_fontconfig;
3520 # Check whether --with-freetype was given.
3521 if test "${with_freetype+set}" = set; then :
3522 withval
=$with_freetype;
3526 # Check whether --with-gettext was given.
3527 if test "${with_gettext+set}" = set; then :
3528 withval
=$with_gettext;
3532 # Check whether --with-gettextpo was given.
3533 if test "${with_gettextpo+set}" = set; then :
3534 withval
=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h
=no
; fi
3538 # Check whether --with-gphoto was given.
3539 if test "${with_gphoto+set}" = set; then :
3540 withval
=$with_gphoto;
3544 # Check whether --with-glu was given.
3545 if test "${with_glu+set}" = set; then :
3550 # Check whether --with-gnutls was given.
3551 if test "${with_gnutls+set}" = set; then :
3552 withval
=$with_gnutls;
3556 # Check whether --with-gsm was given.
3557 if test "${with_gsm+set}" = set; then :
3558 withval
=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h
=no
; ac_cv_header_gsm_gsm_h
=no
; fi
3562 # Check whether --with-gstreamer was given.
3563 if test "${with_gstreamer+set}" = set; then :
3564 withval
=$with_gstreamer;
3568 # Check whether --with-hal was given.
3569 if test "${with_hal+set}" = set; then :
3574 # Check whether --with-jpeg was given.
3575 if test "${with_jpeg+set}" = set; then :
3580 # Check whether --with-ldap was given.
3581 if test "${with_ldap+set}" = set; then :
3582 withval
=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h
=no
; ac_cv_header_lber_h
=no
; fi
3586 # Check whether --with-mpg123 was given.
3587 if test "${with_mpg123+set}" = set; then :
3588 withval
=$with_mpg123;
3592 # Check whether --with-netapi was given.
3593 if test "${with_netapi+set}" = set; then :
3594 withval
=$with_netapi;
3598 # Check whether --with-openal was given.
3599 if test "${with_openal+set}" = set; then :
3600 withval
=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h
=no
; ac_cv_header_OpenAL_al_h
=no
; fi
3604 # Check whether --with-opencl was given.
3605 if test "${with_opencl+set}" = set; then :
3606 withval
=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h
=no
; ac_cv_header_OpenCL_opencl_h
=no
; fi
3610 # Check whether --with-opengl was given.
3611 if test "${with_opengl+set}" = set; then :
3612 withval
=$with_opengl;
3616 # Check whether --with-osmesa was given.
3617 if test "${with_osmesa+set}" = set; then :
3618 withval
=$with_osmesa;
3622 # Check whether --with-oss was given.
3623 if test "${with_oss+set}" = set; then :
3628 # Check whether --with-pcap was given.
3629 if test "${with_pcap+set}" = set; then :
3630 withval
=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h
=no
; fi
3634 # Check whether --with-png was given.
3635 if test "${with_png+set}" = set; then :
3640 # Check whether --with-pthread was given.
3641 if test "${with_pthread+set}" = set; then :
3642 withval
=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h
=no
; fi
3646 # Check whether --with-pulse was given.
3647 if test "${with_pulse+set}" = set; then :
3648 withval
=$with_pulse;
3652 # Check whether --with-sane was given.
3653 if test "${with_sane+set}" = set; then :
3658 # Check whether --with-tiff was given.
3659 if test "${with_tiff+set}" = set; then :
3664 # Check whether --with-udev was given.
3665 if test "${with_udev+set}" = set; then :
3670 # Check whether --with-v4l was given.
3671 if test "${with_v4l+set}" = set; then :
3676 # Check whether --with-xcomposite was given.
3677 if test "${with_xcomposite+set}" = set; then :
3678 withval
=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h
=no
; fi
3682 # Check whether --with-xcursor was given.
3683 if test "${with_xcursor+set}" = set; then :
3684 withval
=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h
=no
; fi
3688 # Check whether --with-xfixes was given.
3689 if test "${with_xfixes+set}" = set; then :
3690 withval
=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h
=no
; fi
3694 # Check whether --with-xinerama was given.
3695 if test "${with_xinerama+set}" = set; then :
3696 withval
=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h
=no
; fi
3700 # Check whether --with-xinput was given.
3701 if test "${with_xinput+set}" = set; then :
3702 withval
=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h
=no
; fi
3706 # Check whether --with-xinput2 was given.
3707 if test "${with_xinput2+set}" = set; then :
3708 withval
=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h
=no
; fi
3712 # Check whether --with-xml was given.
3713 if test "${with_xml+set}" = set; then :
3718 # Check whether --with-xrandr was given.
3719 if test "${with_xrandr+set}" = set; then :
3720 withval
=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h
=no
; fi
3724 # Check whether --with-xrender was given.
3725 if test "${with_xrender+set}" = set; then :
3726 withval
=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h
=no
; fi
3730 # Check whether --with-xshape was given.
3731 if test "${with_xshape+set}" = set; then :
3732 withval
=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h
=no
; fi
3736 # Check whether --with-xshm was given.
3737 if test "${with_xshm+set}" = set; then :
3738 withval
=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h
=no
; fi
3742 # Check whether --with-xslt was given.
3743 if test "${with_xslt+set}" = set; then :
3748 # Check whether --with-xxf86vm was given.
3749 if test "${with_xxf86vm+set}" = set; then :
3750 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
3754 # Check whether --with-zlib was given.
3755 if test "${with_zlib+set}" = set; then :
3756 withval
=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h
=no
; fi
3761 # Check whether --with-wine-tools was given.
3762 if test "${with_wine_tools+set}" = set; then :
3763 withval
=$with_wine_tools;
3767 # Check whether --with-wine64 was given.
3768 if test "${with_wine64+set}" = set; then :
3769 withval
=$with_wine64;
3773 # Make sure we can run config.sub.
3774 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
3775 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3778 $as_echo_n "checking build system type... " >&6; }
3779 if ${ac_cv_build+:} false
; then :
3780 $as_echo_n "(cached) " >&6
3782 ac_build_alias
=$build_alias
3783 test "x$ac_build_alias" = x
&&
3784 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
3785 test "x$ac_build_alias" = x
&&
3786 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
3787 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3788 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3792 $as_echo "$ac_cv_build" >&6; }
3793 case $ac_cv_build in
3795 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
3798 ac_save_IFS
=$IFS; IFS
='-'
3804 # Remember, the first character of IFS is used to create $*,
3805 # except with old shells:
3808 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
3811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3812 $as_echo_n "checking host system type... " >&6; }
3813 if ${ac_cv_host+:} false
; then :
3814 $as_echo_n "(cached) " >&6
3816 if test "x$host_alias" = x
; then
3817 ac_cv_host
=$ac_cv_build
3819 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3820 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3825 $as_echo "$ac_cv_host" >&6; }
3828 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
3831 ac_save_IFS
=$IFS; IFS
='-'
3837 # Remember, the first character of IFS is used to create $*,
3838 # except with old shells:
3841 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
3847 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
3848 as_fn_error $?
"you are building out of the source tree, but the source tree contains object files.
3849 You need to run 'make distclean' in the source tree first." "$LINENO" 5
3854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3855 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3857 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3858 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
3859 $as_echo_n "(cached) " >&6
3861 cat >conftest.
make <<\_ACEOF
3864 @
echo '@@@%%%=$(MAKE)=@@@%%%'
3866 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3867 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3869 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
3871 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
3875 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
3876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3877 $as_echo "yes" >&6; }
3880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3881 $as_echo "no" >&6; }
3882 SET_MAKE
="MAKE=${MAKE-make}"
3886 ac_cpp
='$CPP $CPPFLAGS'
3887 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3888 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3889 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3890 if test -n "$ac_tool_prefix"; then
3891 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3892 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3894 $as_echo_n "checking for $ac_word... " >&6; }
3895 if ${ac_cv_prog_CC+:} false
; then :
3896 $as_echo_n "(cached) " >&6
3898 if test -n "$CC"; then
3899 ac_cv_prog_CC
="$CC" # Let the user override the test.
3901 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3905 test -z "$as_dir" && as_dir
=.
3906 for ac_exec_ext
in '' $ac_executable_extensions; do
3907 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3908 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3909 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3919 if test -n "$CC"; then
3920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3921 $as_echo "$CC" >&6; }
3923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3924 $as_echo "no" >&6; }
3929 if test -z "$ac_cv_prog_CC"; then
3931 # Extract the first word of "gcc", so it can be a program name with args.
3932 set dummy gcc
; ac_word
=$2
3933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3934 $as_echo_n "checking for $ac_word... " >&6; }
3935 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3936 $as_echo_n "(cached) " >&6
3938 if test -n "$ac_ct_CC"; then
3939 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3941 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3945 test -z "$as_dir" && as_dir
=.
3946 for ac_exec_ext
in '' $ac_executable_extensions; do
3947 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3948 ac_cv_prog_ac_ct_CC
="gcc"
3949 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3958 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3959 if test -n "$ac_ct_CC"; then
3960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3961 $as_echo "$ac_ct_CC" >&6; }
3963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3964 $as_echo "no" >&6; }
3967 if test "x$ac_ct_CC" = x
; then
3970 case $cross_compiling:$ac_tool_warned in
3972 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3973 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3974 ac_tool_warned
=yes ;;
3982 if test -z "$CC"; then
3983 if test -n "$ac_tool_prefix"; then
3984 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3985 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3987 $as_echo_n "checking for $ac_word... " >&6; }
3988 if ${ac_cv_prog_CC+:} false
; then :
3989 $as_echo_n "(cached) " >&6
3991 if test -n "$CC"; then
3992 ac_cv_prog_CC
="$CC" # Let the user override the test.
3994 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3998 test -z "$as_dir" && as_dir
=.
3999 for ac_exec_ext
in '' $ac_executable_extensions; do
4000 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4001 ac_cv_prog_CC
="${ac_tool_prefix}cc"
4002 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4012 if test -n "$CC"; then
4013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4014 $as_echo "$CC" >&6; }
4016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4017 $as_echo "no" >&6; }
4023 if test -z "$CC"; then
4024 # Extract the first word of "cc", so it can be a program name with args.
4025 set dummy cc
; ac_word
=$2
4026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4027 $as_echo_n "checking for $ac_word... " >&6; }
4028 if ${ac_cv_prog_CC+:} false
; then :
4029 $as_echo_n "(cached) " >&6
4031 if test -n "$CC"; then
4032 ac_cv_prog_CC
="$CC" # Let the user override the test.
4035 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4039 test -z "$as_dir" && as_dir
=.
4040 for ac_exec_ext
in '' $ac_executable_extensions; do
4041 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4042 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4043 ac_prog_rejected
=yes
4047 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4054 if test $ac_prog_rejected = yes; then
4055 # We found a bogon in the path, so make sure we never use it.
4056 set dummy
$ac_cv_prog_CC
4058 if test $# != 0; then
4059 # We chose a different compiler from the bogus one.
4060 # However, it has the same basename, so the bogon will be chosen
4061 # first if we set CC to just the basename; use the full file name.
4063 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
4069 if test -n "$CC"; then
4070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4071 $as_echo "$CC" >&6; }
4073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4074 $as_echo "no" >&6; }
4079 if test -z "$CC"; then
4080 if test -n "$ac_tool_prefix"; then
4081 for ac_prog
in cl.exe
4083 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4084 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4086 $as_echo_n "checking for $ac_word... " >&6; }
4087 if ${ac_cv_prog_CC+:} false
; then :
4088 $as_echo_n "(cached) " >&6
4090 if test -n "$CC"; then
4091 ac_cv_prog_CC
="$CC" # Let the user override the test.
4093 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4097 test -z "$as_dir" && as_dir
=.
4098 for ac_exec_ext
in '' $ac_executable_extensions; do
4099 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4100 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
4101 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4111 if test -n "$CC"; then
4112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4113 $as_echo "$CC" >&6; }
4115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4116 $as_echo "no" >&6; }
4120 test -n "$CC" && break
4123 if test -z "$CC"; then
4125 for ac_prog
in cl.exe
4127 # Extract the first word of "$ac_prog", so it can be a program name with args.
4128 set dummy
$ac_prog; ac_word
=$2
4129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4130 $as_echo_n "checking for $ac_word... " >&6; }
4131 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
4132 $as_echo_n "(cached) " >&6
4134 if test -n "$ac_ct_CC"; then
4135 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4137 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4141 test -z "$as_dir" && as_dir
=.
4142 for ac_exec_ext
in '' $ac_executable_extensions; do
4143 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4144 ac_cv_prog_ac_ct_CC
="$ac_prog"
4145 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4154 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4155 if test -n "$ac_ct_CC"; then
4156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4157 $as_echo "$ac_ct_CC" >&6; }
4159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4160 $as_echo "no" >&6; }
4164 test -n "$ac_ct_CC" && break
4167 if test "x$ac_ct_CC" = x
; then
4170 case $cross_compiling:$ac_tool_warned in
4172 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4173 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4174 ac_tool_warned
=yes ;;
4183 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4184 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4185 as_fn_error $?
"no acceptable C compiler found in \$PATH
4186 See \`config.log' for more details" "$LINENO" 5; }
4188 # Provide some information about the compiler.
4189 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4192 for ac_option
in --version -v -V -qversion; do
4193 { { ac_try
="$ac_compiler $ac_option >&5"
4195 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4196 *) ac_try_echo=$ac_try;;
4198 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4199 $as_echo "$ac_try_echo"; } >&5
4200 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4202 if test -s conftest.err; then
4204 ... rest of stderr output deleted ...
4205 10q' conftest.err >conftest.er1
4206 cat conftest.er1 >&5
4208 rm -f conftest.er1 conftest.err
4209 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4210 test $ac_status = 0; }
4213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4214 /* end confdefs.h. */
4224 ac_clean_files_save=$ac_clean_files
4225 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4226 # Try to create an executable without -o first, disregard a.out.
4227 # It will help us diagnose broken compilers, and finding out an intuition
4229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4230 $as_echo_n "checking whether the C compiler works... " >&6; }
4231 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
4233 # The possible output files:
4234 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4237 for ac_file in $ac_files
4240 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4241 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4246 if { { ac_try="$ac_link_default"
4248 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4249 *) ac_try_echo
=$ac_try;;
4251 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4252 $as_echo "$ac_try_echo"; } >&5
4253 (eval "$ac_link_default") 2>&5
4255 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4256 test $ac_status = 0; }; then :
4257 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4258 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4259 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4260 # so that the user can short-circuit this test for compilers unknown to
4262 for ac_file
in $ac_files ''
4264 test -f "$ac_file" ||
continue
4266 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
4269 # We found the default executable, but exeext='' is most
4273 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
4275 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4277 # We set ac_cv_exeext here because the later test for it is not
4278 # safe: cross compilers may not add the suffix if given an `-o'
4279 # argument, so we may need to know it at that point already.
4280 # Even if this section looks crufty: it has the advantage of
4287 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
4292 if test -z "$ac_file"; then :
4293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4294 $as_echo "no" >&6; }
4295 $as_echo "$as_me: failed program was:" >&5
4296 sed 's/^/| /' conftest.
$ac_ext >&5
4298 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4299 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4300 as_fn_error
77 "C compiler cannot create executables
4301 See \`config.log' for more details" "$LINENO" 5; }
4303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4304 $as_echo "yes" >&6; }
4306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4307 $as_echo_n "checking for C compiler default output file name... " >&6; }
4308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4309 $as_echo "$ac_file" >&6; }
4310 ac_exeext
=$ac_cv_exeext
4312 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
4313 ac_clean_files
=$ac_clean_files_save
4314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4315 $as_echo_n "checking for suffix of executables... " >&6; }
4316 if { { ac_try
="$ac_link"
4318 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4319 *) ac_try_echo=$ac_try;;
4321 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4322 $as_echo "$ac_try_echo"; } >&5
4323 (eval "$ac_link") 2>&5
4325 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4326 test $ac_status = 0; }; then :
4327 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
4328 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
4329 # work properly (i.e., refer to `conftest.exe'), while it won't with
4331 for ac_file
in conftest.exe conftest conftest.
*; do
4332 test -f "$ac_file" ||
continue
4334 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
4335 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4341 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4342 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4343 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
4344 See \`config.log' for more details" "$LINENO" 5; }
4346 rm -f conftest conftest
$ac_cv_exeext
4347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4348 $as_echo "$ac_cv_exeext" >&6; }
4350 rm -f conftest.
$ac_ext
4351 EXEEXT
=$ac_cv_exeext
4353 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4354 /* end confdefs.h. */
4359 FILE *f = fopen ("conftest.out", "w");
4360 return ferror (f) || fclose (f) != 0;
4366 ac_clean_files
="$ac_clean_files conftest.out"
4367 # Check that the compiler produces executables we can run. If not, either
4368 # the compiler is broken, or we cross compile.
4369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4370 $as_echo_n "checking whether we are cross compiling... " >&6; }
4371 if test "$cross_compiling" != yes; then
4372 { { ac_try
="$ac_link"
4374 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4375 *) ac_try_echo=$ac_try;;
4377 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4378 $as_echo "$ac_try_echo"; } >&5
4379 (eval "$ac_link") 2>&5
4381 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4382 test $ac_status = 0; }
4383 if { ac_try='./conftest$ac_cv_exeext'
4384 { { case "(($ac_try" in
4385 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4386 *) ac_try_echo
=$ac_try;;
4388 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4389 $as_echo "$ac_try_echo"; } >&5
4390 (eval "$ac_try") 2>&5
4392 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4393 test $ac_status = 0; }; }; then
4396 if test "$cross_compiling" = maybe
; then
4399 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4400 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4401 as_fn_error $?
"cannot run C compiled programs.
4402 If you meant to cross compile, use \`--host'.
4403 See \`config.log' for more details" "$LINENO" 5; }
4407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4408 $as_echo "$cross_compiling" >&6; }
4410 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
4411 ac_clean_files
=$ac_clean_files_save
4412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4413 $as_echo_n "checking for suffix of object files... " >&6; }
4414 if ${ac_cv_objext+:} false
; then :
4415 $as_echo_n "(cached) " >&6
4417 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4418 /* end confdefs.h. */
4428 rm -f conftest.o conftest.obj
4429 if { { ac_try
="$ac_compile"
4431 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4432 *) ac_try_echo=$ac_try;;
4434 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4435 $as_echo "$ac_try_echo"; } >&5
4436 (eval "$ac_compile") 2>&5
4438 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4439 test $ac_status = 0; }; then :
4440 for ac_file in conftest.o conftest.obj conftest.*; do
4441 test -f "$ac_file" || continue;
4443 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4444 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4449 $as_echo "$as_me: failed program was:" >&5
4450 sed 's/^/| /' conftest.$ac_ext >&5
4452 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4453 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4454 as_fn_error $? "cannot compute suffix of object files
: cannot compile
4455 See \
`config.log' for more details" "$LINENO" 5; }
4457 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4460 $as_echo "$ac_cv_objext" >&6; }
4461 OBJEXT=$ac_cv_objext
4463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4464 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4465 if ${ac_cv_c_compiler_gnu+:} false; then :
4466 $as_echo_n "(cached) " >&6
4468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4469 /* end confdefs.h. */
4482 if ac_fn_c_try_compile "$LINENO"; then :
4487 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4488 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4492 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4493 if test $ac_compiler_gnu = yes; then
4498 ac_test_CFLAGS=${CFLAGS+set}
4499 ac_save_CFLAGS=$CFLAGS
4500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4501 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4502 if ${ac_cv_prog_cc_g+:} false; then :
4503 $as_echo_n "(cached) " >&6
4505 ac_save_c_werror_flag=$ac_c_werror_flag
4506 ac_c_werror_flag=yes
4509 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4510 /* end confdefs.h. */
4520 if ac_fn_c_try_compile "$LINENO"; then :
4524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4525 /* end confdefs.h. */
4535 if ac_fn_c_try_compile "$LINENO"; then :
4538 ac_c_werror_flag=$ac_save_c_werror_flag
4540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4541 /* end confdefs.h. */
4551 if ac_fn_c_try_compile "$LINENO"; then :
4554 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4556 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4558 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4559 ac_c_werror_flag=$ac_save_c_werror_flag
4561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4562 $as_echo "$ac_cv_prog_cc_g" >&6; }
4563 if test "$ac_test_CFLAGS" = set; then
4564 CFLAGS=$ac_save_CFLAGS
4565 elif test $ac_cv_prog_cc_g = yes; then
4566 if test "$GCC" = yes; then
4572 if test "$GCC" = yes; then
4578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4579 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4580 if ${ac_cv_prog_cc_c89+:} false; then :
4581 $as_echo_n "(cached) " >&6
4583 ac_cv_prog_cc_c89=no
4585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4586 /* end confdefs.h. */
4590 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4591 struct buf { int x; };
4592 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4593 static char *e (p, i)
4599 static char *f (char * (*g) (char **, int), char **p, ...)
4604 s = g (p, va_arg (v,int));
4609 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4610 function prototypes and stuff, but not '\xHH' hex character constants.
4611 These don't provoke an error unfortunately, instead are silently treated
4612 as 'x'. The following induces an error, until -std is added to get
4613 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4614 array size at least. It's necessary to write '\x00'==0 to get something
4615 that's true only with -std. */
4616 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4618 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4619 inside strings and character constants. */
4621 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4623 int test (int i, double x);
4624 struct s1 {int (*f) (int a);};
4625 struct s2 {int (*f) (double a);};
4626 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4632 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4637 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4638 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4640 CC="$ac_save_CC $ac_arg"
4641 if ac_fn_c_try_compile "$LINENO"; then :
4642 ac_cv_prog_cc_c89=$ac_arg
4644 rm -f core conftest.err conftest.$ac_objext
4645 test "x$ac_cv_prog_cc_c89" != "xno" && break
4647 rm -f conftest.$ac_ext
4652 case "x$ac_cv_prog_cc_c89" in
4654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4655 $as_echo "none needed" >&6; } ;;
4657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4658 $as_echo "unsupported" >&6; } ;;
4660 CC="$CC $ac_cv_prog_cc_c89"
4661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4662 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4664 if test "x$ac_cv_prog_cc_c89" != xno; then :
4669 ac_cpp='$CPP $CPPFLAGS'
4670 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4671 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4672 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4675 ac_cpp='$CXXCPP $CPPFLAGS'
4676 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4677 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4678 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4679 if test -z "$CXX"; then
4680 if test -n "$CCC"; then
4683 if test -n "$ac_tool_prefix"; then
4684 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4686 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4687 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4689 $as_echo_n "checking for $ac_word... " >&6; }
4690 if ${ac_cv_prog_CXX+:} false; then :
4691 $as_echo_n "(cached) " >&6
4693 if test -n "$CXX"; then
4694 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4696 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4700 test -z "$as_dir" && as_dir=.
4701 for ac_exec_ext in '' $ac_executable_extensions; do
4702 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4703 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4704 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4714 if test -n "$CXX"; then
4715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4716 $as_echo "$CXX" >&6; }
4718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4719 $as_echo "no" >&6; }
4723 test -n "$CXX" && break
4726 if test -z "$CXX"; then
4728 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4730 # Extract the first word of "$ac_prog", so it can be a program name with args.
4731 set dummy $ac_prog; ac_word=$2
4732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4733 $as_echo_n "checking for $ac_word... " >&6; }
4734 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4735 $as_echo_n "(cached) " >&6
4737 if test -n "$ac_ct_CXX"; then
4738 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4740 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4744 test -z "$as_dir" && as_dir=.
4745 for ac_exec_ext in '' $ac_executable_extensions; do
4746 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4747 ac_cv_prog_ac_ct_CXX="$ac_prog"
4748 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4757 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4758 if test -n "$ac_ct_CXX"; then
4759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4760 $as_echo "$ac_ct_CXX" >&6; }
4762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4763 $as_echo "no" >&6; }
4767 test -n "$ac_ct_CXX" && break
4770 if test "x$ac_ct_CXX" = x; then
4773 case $cross_compiling:$ac_tool_warned in
4775 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4776 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4777 ac_tool_warned=yes ;;
4785 # Provide some information about the compiler.
4786 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4789 for ac_option in --version -v -V -qversion; do
4790 { { ac_try="$ac_compiler $ac_option >&5"
4792 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4793 *) ac_try_echo
=$ac_try;;
4795 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4796 $as_echo "$ac_try_echo"; } >&5
4797 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4799 if test -s conftest.err
; then
4801 ... rest of stderr output deleted ...
4802 10q' conftest.err
>conftest.er1
4803 cat conftest.er1
>&5
4805 rm -f conftest.er1 conftest.err
4806 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4807 test $ac_status = 0; }
4810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4811 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4812 if ${ac_cv_cxx_compiler_gnu+:} false
; then :
4813 $as_echo_n "(cached) " >&6
4815 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4816 /* end confdefs.h. */
4829 if ac_fn_cxx_try_compile
"$LINENO"; then :
4834 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4835 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
4838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4839 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4840 if test $ac_compiler_gnu = yes; then
4845 ac_test_CXXFLAGS
=${CXXFLAGS+set}
4846 ac_save_CXXFLAGS
=$CXXFLAGS
4847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4848 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4849 if ${ac_cv_prog_cxx_g+:} false
; then :
4850 $as_echo_n "(cached) " >&6
4852 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
4853 ac_cxx_werror_flag
=yes
4856 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4857 /* end confdefs.h. */
4867 if ac_fn_cxx_try_compile
"$LINENO"; then :
4868 ac_cv_prog_cxx_g
=yes
4871 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4872 /* end confdefs.h. */
4882 if ac_fn_cxx_try_compile
"$LINENO"; then :
4885 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4887 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4888 /* end confdefs.h. */
4898 if ac_fn_cxx_try_compile
"$LINENO"; then :
4899 ac_cv_prog_cxx_g
=yes
4901 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4903 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4905 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4906 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4909 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4910 if test "$ac_test_CXXFLAGS" = set; then
4911 CXXFLAGS
=$ac_save_CXXFLAGS
4912 elif test $ac_cv_prog_cxx_g = yes; then
4913 if test "$GXX" = yes; then
4919 if test "$GXX" = yes; then
4926 ac_cpp
='$CPP $CPPFLAGS'
4927 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4928 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4929 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4931 if test -n "$ac_tool_prefix"; then
4932 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
4933 set dummy
${ac_tool_prefix}cpp
; ac_word
=$2
4934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4935 $as_echo_n "checking for $ac_word... " >&6; }
4936 if ${ac_cv_prog_CPPBIN+:} false
; then :
4937 $as_echo_n "(cached) " >&6
4939 if test -n "$CPPBIN"; then
4940 ac_cv_prog_CPPBIN
="$CPPBIN" # Let the user override the test.
4942 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4946 test -z "$as_dir" && as_dir
=.
4947 for ac_exec_ext
in '' $ac_executable_extensions; do
4948 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4949 ac_cv_prog_CPPBIN
="${ac_tool_prefix}cpp"
4950 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4959 CPPBIN
=$ac_cv_prog_CPPBIN
4960 if test -n "$CPPBIN"; then
4961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
4962 $as_echo "$CPPBIN" >&6; }
4964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4965 $as_echo "no" >&6; }
4970 if test -z "$ac_cv_prog_CPPBIN"; then
4971 ac_ct_CPPBIN
=$CPPBIN
4972 # Extract the first word of "cpp", so it can be a program name with args.
4973 set dummy cpp
; ac_word
=$2
4974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4975 $as_echo_n "checking for $ac_word... " >&6; }
4976 if ${ac_cv_prog_ac_ct_CPPBIN+:} false
; then :
4977 $as_echo_n "(cached) " >&6
4979 if test -n "$ac_ct_CPPBIN"; then
4980 ac_cv_prog_ac_ct_CPPBIN
="$ac_ct_CPPBIN" # Let the user override the test.
4982 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4986 test -z "$as_dir" && as_dir
=.
4987 for ac_exec_ext
in '' $ac_executable_extensions; do
4988 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4989 ac_cv_prog_ac_ct_CPPBIN
="cpp"
4990 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4999 ac_ct_CPPBIN
=$ac_cv_prog_ac_ct_CPPBIN
5000 if test -n "$ac_ct_CPPBIN"; then
5001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
5002 $as_echo "$ac_ct_CPPBIN" >&6; }
5004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5005 $as_echo "no" >&6; }
5008 if test "x$ac_ct_CPPBIN" = x
; then
5011 case $cross_compiling:$ac_tool_warned in
5013 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5014 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5015 ac_tool_warned
=yes ;;
5017 CPPBIN
=$ac_ct_CPPBIN
5020 CPPBIN
="$ac_cv_prog_CPPBIN"
5024 cat >>confdefs.h
<<_ACEOF
5025 #define EXEEXT "$ac_exeext"
5028 if test -n "$ac_tool_prefix"; then
5029 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
5030 set dummy
${ac_tool_prefix}ld
; ac_word
=$2
5031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5032 $as_echo_n "checking for $ac_word... " >&6; }
5033 if ${ac_cv_prog_LD+:} false
; then :
5034 $as_echo_n "(cached) " >&6
5036 if test -n "$LD"; then
5037 ac_cv_prog_LD
="$LD" # Let the user override the test.
5039 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5043 test -z "$as_dir" && as_dir
=.
5044 for ac_exec_ext
in '' $ac_executable_extensions; do
5045 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5046 ac_cv_prog_LD
="${ac_tool_prefix}ld"
5047 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5057 if test -n "$LD"; then
5058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5059 $as_echo "$LD" >&6; }
5061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5062 $as_echo "no" >&6; }
5067 if test -z "$ac_cv_prog_LD"; then
5069 # Extract the first word of "ld", so it can be a program name with args.
5070 set dummy ld
; ac_word
=$2
5071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5072 $as_echo_n "checking for $ac_word... " >&6; }
5073 if ${ac_cv_prog_ac_ct_LD+:} false
; then :
5074 $as_echo_n "(cached) " >&6
5076 if test -n "$ac_ct_LD"; then
5077 ac_cv_prog_ac_ct_LD
="$ac_ct_LD" # Let the user override the test.
5079 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5083 test -z "$as_dir" && as_dir
=.
5084 for ac_exec_ext
in '' $ac_executable_extensions; do
5085 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5086 ac_cv_prog_ac_ct_LD
="ld"
5087 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5096 ac_ct_LD
=$ac_cv_prog_ac_ct_LD
5097 if test -n "$ac_ct_LD"; then
5098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
5099 $as_echo "$ac_ct_LD" >&6; }
5101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5102 $as_echo "no" >&6; }
5105 if test "x$ac_ct_LD" = x
; then
5108 case $cross_compiling:$ac_tool_warned in
5110 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5111 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5112 ac_tool_warned
=yes ;;
5123 with_fontconfig
=${with_fontconfig:-no}
5125 *-mingw32*|
*-cygwin*)
5126 enable_win16
=${enable_win16:-no}
5127 CFLAGS
="$CFLAGS -D_WIN32"
5133 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
5137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
5138 $as_echo_n "checking whether $CC works... " >&6; }
5140 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5141 /* end confdefs.h. */
5151 if ac_fn_c_try_link
"$LINENO"; then :
5152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5153 $as_echo "yes" >&6; }
5155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5156 $as_echo "no" >&6; }
5157 as_fn_error $?
"Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
5159 rm -f core conftest.err conftest.
$ac_objext \
5160 conftest
$ac_exeext conftest.
$ac_ext
5162 notice_platform
="32-bit "
5165 PKG_CONFIG_PATH
=${PKG_CONFIG_PATH:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib/pkgconfig}
5166 export PKG_CONFIG_PATH
5167 enable_win16
=${enable_win16:-yes}
5169 if test "x${GCC}" = "xyes"
5171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5172 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5173 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5174 /* end confdefs.h. */
5179 void func(__builtin_ms_va_list *args);
5184 if ac_fn_c_try_compile
"$LINENO"; then :
5185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5186 $as_echo "yes" >&6; }
5188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5189 $as_echo "no" >&6; }
5190 as_fn_error $?
"You need gcc >= 4.4 or clang >= 3.8 to build Wine as 64-bit." "$LINENO" 5
5192 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5197 notice_platform
="64-bit "
5203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
5204 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
5205 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5206 /* end confdefs.h. */
5207 int ac_test(int i) { return i; }
5211 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
5216 if ac_fn_c_try_link
"$LINENO"; then :
5217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5218 $as_echo "yes" >&6; }
5220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5221 $as_echo "no" >&6; }
5222 as_fn_error $?
"You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
5224 rm -f core conftest.err conftest.
$ac_objext \
5225 conftest
$ac_exeext conftest.
$ac_ext
5226 CFLAGS
="$CFLAGS -marm"
5231 enable_win16
=${enable_win16:-yes}
5235 enable_win16
=${enable_win16:-no}
5236 enable_win64
=${enable_win64:-no}
5238 enable_winetest
=${enable_winetest:-$enable_tests}
5240 if test -n "$with_wine64"
5242 if test "x$enable_win64" = "xyes"
5244 as_fn_error $?
"--enable-win64 and --with-wine64 are mutually exclusive.
5245 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
5247 test "$srcdir" != . || as_fn_error $?
"--with-wine64 cannot be used when building inside the source tree.
5248 You should create a separate build directory and run configure from there." "$LINENO" 5
5249 enable_fonts
=${enable_fonts:-no}
5250 enable_server
=${enable_server:-no}
5251 elif test "x$enable_win64" = "xyes"
5253 test "x$libdir" != "x\${exec_prefix}/lib" || libdir
="\${exec_prefix}/lib64"
5256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
5257 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
5258 if ${wine_cv_toolsdir+:} false
; then :
5259 $as_echo_n "(cached) " >&6
5261 wine_cv_toolsdir
="$with_wine_tools"
5262 if test -z "$with_wine_tools"; then
5263 if test "$cross_compiling" = "yes"; then
5264 as_fn_error $?
"you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
5265 elif test -n "$with_wine64"; then
5266 wine_cv_toolsdir
="$with_wine64"
5269 if test -z "$wine_cv_toolsdir"; then
5270 wine_makedep
=tools
/makedep
5271 wine_cv_toolsdir
="\$(top_builddir)"
5272 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5273 wine_makedep
=$wine_cv_toolsdir/tools
/makedep
5274 case "$wine_cv_toolsdir" in
5276 *) wine_cv_toolsdir
="\$(top_builddir)/$wine_cv_toolsdir" ;;
5278 enable_tools
=${enable_tools:-no}
5279 test -f "$wine_makedep" || as_fn_error $?
"the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5281 as_fn_error $?
"could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5285 $as_echo "$wine_cv_toolsdir" >&6; }
5286 TOOLSDIR
=$wine_cv_toolsdir
5288 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5290 TARGETFLAGS
="-b $host_alias $TARGETFLAGS"
5296 # Extract the first word of "$ac_prog", so it can be a program name with args.
5297 set dummy
$ac_prog; ac_word
=$2
5298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5299 $as_echo_n "checking for $ac_word... " >&6; }
5300 if ${ac_cv_prog_FLEX+:} false
; then :
5301 $as_echo_n "(cached) " >&6
5303 if test -n "$FLEX"; then
5304 ac_cv_prog_FLEX
="$FLEX" # Let the user override the test.
5306 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5310 test -z "$as_dir" && as_dir
=.
5311 for ac_exec_ext
in '' $ac_executable_extensions; do
5312 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5313 ac_cv_prog_FLEX
="$ac_prog"
5314 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5323 FLEX
=$ac_cv_prog_FLEX
5324 if test -n "$FLEX"; then
5325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5326 $as_echo "$FLEX" >&6; }
5328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5329 $as_echo "no" >&6; }
5333 test -n "$FLEX" && break
5335 test -n "$FLEX" || FLEX
="none"
5337 if test "$FLEX" = "none"
5339 as_fn_error $?
"no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5342 $as_echo_n "checking whether flex is recent enough... " >&6; }
5343 cat >conftest.l
<<EOF
5345 #include "prediluvian.h"
5349 if $FLEX -t conftest.l
>/dev
/null
2>&5
5351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5352 $as_echo "yes" >&6; }
5354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5355 $as_echo "no" >&6; }
5356 as_fn_error $?
"Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
5359 for ac_prog
in bison
5361 # Extract the first word of "$ac_prog", so it can be a program name with args.
5362 set dummy
$ac_prog; ac_word
=$2
5363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5364 $as_echo_n "checking for $ac_word... " >&6; }
5365 if ${ac_cv_prog_BISON+:} false
; then :
5366 $as_echo_n "(cached) " >&6
5368 if test -n "$BISON"; then
5369 ac_cv_prog_BISON
="$BISON" # Let the user override the test.
5371 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5375 test -z "$as_dir" && as_dir
=.
5376 for ac_exec_ext
in '' $ac_executable_extensions; do
5377 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5378 ac_cv_prog_BISON
="$ac_prog"
5379 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5388 BISON
=$ac_cv_prog_BISON
5389 if test -n "$BISON"; then
5390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5391 $as_echo "$BISON" >&6; }
5393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5394 $as_echo "no" >&6; }
5398 test -n "$BISON" && break
5400 test -n "$BISON" || BISON
="none"
5402 if test "$BISON" = "none"
5404 as_fn_error $?
"no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5407 if test -n "$ac_tool_prefix"; then
5408 for ac_prog
in ar gar
5410 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5411 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5413 $as_echo_n "checking for $ac_word... " >&6; }
5414 if ${ac_cv_prog_AR+:} false
; then :
5415 $as_echo_n "(cached) " >&6
5417 if test -n "$AR"; then
5418 ac_cv_prog_AR
="$AR" # Let the user override the test.
5420 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5424 test -z "$as_dir" && as_dir
=.
5425 for ac_exec_ext
in '' $ac_executable_extensions; do
5426 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5427 ac_cv_prog_AR
="$ac_tool_prefix$ac_prog"
5428 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5438 if test -n "$AR"; then
5439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5440 $as_echo "$AR" >&6; }
5442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5443 $as_echo "no" >&6; }
5447 test -n "$AR" && break
5450 if test -z "$AR"; then
5452 for ac_prog
in ar gar
5454 # Extract the first word of "$ac_prog", so it can be a program name with args.
5455 set dummy
$ac_prog; ac_word
=$2
5456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5457 $as_echo_n "checking for $ac_word... " >&6; }
5458 if ${ac_cv_prog_ac_ct_AR+:} false
; then :
5459 $as_echo_n "(cached) " >&6
5461 if test -n "$ac_ct_AR"; then
5462 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
5464 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5468 test -z "$as_dir" && as_dir
=.
5469 for ac_exec_ext
in '' $ac_executable_extensions; do
5470 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5471 ac_cv_prog_ac_ct_AR
="$ac_prog"
5472 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5481 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
5482 if test -n "$ac_ct_AR"; then
5483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5484 $as_echo "$ac_ct_AR" >&6; }
5486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5487 $as_echo "no" >&6; }
5491 test -n "$ac_ct_AR" && break
5494 if test "x$ac_ct_AR" = x
; then
5497 case $cross_compiling:$ac_tool_warned in
5499 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5500 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5501 ac_tool_warned
=yes ;;
5507 if test -n "$ac_tool_prefix"; then
5508 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5509 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
5510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5511 $as_echo_n "checking for $ac_word... " >&6; }
5512 if ${ac_cv_prog_STRIP+:} false
; then :
5513 $as_echo_n "(cached) " >&6
5515 if test -n "$STRIP"; then
5516 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
5518 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5522 test -z "$as_dir" && as_dir
=.
5523 for ac_exec_ext
in '' $ac_executable_extensions; do
5524 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5525 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
5526 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5535 STRIP
=$ac_cv_prog_STRIP
5536 if test -n "$STRIP"; then
5537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5538 $as_echo "$STRIP" >&6; }
5540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5541 $as_echo "no" >&6; }
5546 if test -z "$ac_cv_prog_STRIP"; then
5548 # Extract the first word of "strip", so it can be a program name with args.
5549 set dummy strip
; ac_word
=$2
5550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5551 $as_echo_n "checking for $ac_word... " >&6; }
5552 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
5553 $as_echo_n "(cached) " >&6
5555 if test -n "$ac_ct_STRIP"; then
5556 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
5558 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5562 test -z "$as_dir" && as_dir
=.
5563 for ac_exec_ext
in '' $ac_executable_extensions; do
5564 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5565 ac_cv_prog_ac_ct_STRIP
="strip"
5566 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5575 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
5576 if test -n "$ac_ct_STRIP"; then
5577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5578 $as_echo "$ac_ct_STRIP" >&6; }
5580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5581 $as_echo "no" >&6; }
5584 if test "x$ac_ct_STRIP" = x
; then
5587 case $cross_compiling:$ac_tool_warned in
5589 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5590 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5591 ac_tool_warned
=yes ;;
5596 STRIP
="$ac_cv_prog_STRIP"
5601 if test -n "$ac_tool_prefix"; then
5602 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5603 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
5604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5605 $as_echo_n "checking for $ac_word... " >&6; }
5606 if ${ac_cv_prog_RANLIB+:} false
; then :
5607 $as_echo_n "(cached) " >&6
5609 if test -n "$RANLIB"; then
5610 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
5612 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5616 test -z "$as_dir" && as_dir
=.
5617 for ac_exec_ext
in '' $ac_executable_extensions; do
5618 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5619 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
5620 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5629 RANLIB
=$ac_cv_prog_RANLIB
5630 if test -n "$RANLIB"; then
5631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5632 $as_echo "$RANLIB" >&6; }
5634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5635 $as_echo "no" >&6; }
5640 if test -z "$ac_cv_prog_RANLIB"; then
5641 ac_ct_RANLIB
=$RANLIB
5642 # Extract the first word of "ranlib", so it can be a program name with args.
5643 set dummy ranlib
; ac_word
=$2
5644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5645 $as_echo_n "checking for $ac_word... " >&6; }
5646 if ${ac_cv_prog_ac_ct_RANLIB+:} false
; then :
5647 $as_echo_n "(cached) " >&6
5649 if test -n "$ac_ct_RANLIB"; then
5650 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
5652 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5656 test -z "$as_dir" && as_dir
=.
5657 for ac_exec_ext
in '' $ac_executable_extensions; do
5658 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5659 ac_cv_prog_ac_ct_RANLIB
="ranlib"
5660 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5669 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
5670 if test -n "$ac_ct_RANLIB"; then
5671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5672 $as_echo "$ac_ct_RANLIB" >&6; }
5674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5675 $as_echo "no" >&6; }
5678 if test "x$ac_ct_RANLIB" = x
; then
5681 case $cross_compiling:$ac_tool_warned in
5683 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5684 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5685 ac_tool_warned
=yes ;;
5687 RANLIB
=$ac_ct_RANLIB
5690 RANLIB
="$ac_cv_prog_RANLIB"
5693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5694 $as_echo_n "checking whether ln -s works... " >&6; }
5696 if test "$LN_S" = "ln -s"; then
5697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5698 $as_echo "yes" >&6; }
5700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5701 $as_echo "no, using $LN_S" >&6; }
5704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5705 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5706 if ${ac_cv_path_GREP+:} false
; then :
5707 $as_echo_n "(cached) " >&6
5709 if test -z "$GREP"; then
5710 ac_path_GREP_found
=false
5711 # Loop through the user's path and test for each of PROGNAME-LIST
5712 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5713 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5716 test -z "$as_dir" && as_dir
=.
5717 for ac_prog
in grep ggrep
; do
5718 for ac_exec_ext
in '' $ac_executable_extensions; do
5719 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
5720 as_fn_executable_p
"$ac_path_GREP" ||
continue
5721 # Check for GNU ac_path_GREP and select it if it is found.
5722 # Check for GNU $ac_path_GREP
5723 case `"$ac_path_GREP" --version 2>&1` in
5725 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
5728 $as_echo_n 0123456789 >"conftest.in"
5731 cat "conftest.in" "conftest.in" >"conftest.tmp"
5732 mv "conftest.tmp" "conftest.in"
5733 cp "conftest.in" "conftest.nl"
5734 $as_echo 'GREP' >> "conftest.nl"
5735 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5736 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5737 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5738 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5739 # Best one so far, save it but keep looking for a better one
5740 ac_cv_path_GREP
="$ac_path_GREP"
5741 ac_path_GREP_max
=$ac_count
5743 # 10*(2^10) chars as input seems more than enough
5744 test $ac_count -gt 10 && break
5746 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5749 $ac_path_GREP_found && break 3
5754 if test -z "$ac_cv_path_GREP"; then
5755 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5758 ac_cv_path_GREP
=$GREP
5762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5763 $as_echo "$ac_cv_path_GREP" >&6; }
5764 GREP
="$ac_cv_path_GREP"
5767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5768 $as_echo_n "checking for egrep... " >&6; }
5769 if ${ac_cv_path_EGREP+:} false
; then :
5770 $as_echo_n "(cached) " >&6
5772 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
5773 then ac_cv_path_EGREP
="$GREP -E"
5775 if test -z "$EGREP"; then
5776 ac_path_EGREP_found
=false
5777 # Loop through the user's path and test for each of PROGNAME-LIST
5778 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5779 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5782 test -z "$as_dir" && as_dir
=.
5783 for ac_prog
in egrep; do
5784 for ac_exec_ext
in '' $ac_executable_extensions; do
5785 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
5786 as_fn_executable_p
"$ac_path_EGREP" ||
continue
5787 # Check for GNU ac_path_EGREP and select it if it is found.
5788 # Check for GNU $ac_path_EGREP
5789 case `"$ac_path_EGREP" --version 2>&1` in
5791 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
5794 $as_echo_n 0123456789 >"conftest.in"
5797 cat "conftest.in" "conftest.in" >"conftest.tmp"
5798 mv "conftest.tmp" "conftest.in"
5799 cp "conftest.in" "conftest.nl"
5800 $as_echo 'EGREP' >> "conftest.nl"
5801 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5802 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5803 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5804 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5805 # Best one so far, save it but keep looking for a better one
5806 ac_cv_path_EGREP
="$ac_path_EGREP"
5807 ac_path_EGREP_max
=$ac_count
5809 # 10*(2^10) chars as input seems more than enough
5810 test $ac_count -gt 10 && break
5812 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5815 $ac_path_EGREP_found && break 3
5820 if test -z "$ac_cv_path_EGREP"; then
5821 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5824 ac_cv_path_EGREP
=$EGREP
5829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5830 $as_echo "$ac_cv_path_EGREP" >&6; }
5831 EGREP
="$ac_cv_path_EGREP"
5834 # Extract the first word of "ldconfig", so it can be a program name with args.
5835 set dummy ldconfig
; ac_word
=$2
5836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5837 $as_echo_n "checking for $ac_word... " >&6; }
5838 if ${ac_cv_path_LDCONFIG+:} false
; then :
5839 $as_echo_n "(cached) " >&6
5843 ac_cv_path_LDCONFIG
="$LDCONFIG" # Let the user override the test with a path.
5846 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5847 for as_dir
in /sbin
/usr
/sbin
$PATH
5850 test -z "$as_dir" && as_dir
=.
5851 for ac_exec_ext
in '' $ac_executable_extensions; do
5852 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5853 ac_cv_path_LDCONFIG
="$as_dir/$ac_word$ac_exec_ext"
5854 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5861 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG
="true"
5865 LDCONFIG
=$ac_cv_path_LDCONFIG
5866 if test -n "$LDCONFIG"; then
5867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
5868 $as_echo "$LDCONFIG" >&6; }
5870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5871 $as_echo "no" >&6; }
5875 for ac_prog
in msgfmt
5877 # Extract the first word of "$ac_prog", so it can be a program name with args.
5878 set dummy
$ac_prog; ac_word
=$2
5879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5880 $as_echo_n "checking for $ac_word... " >&6; }
5881 if ${ac_cv_prog_MSGFMT+:} false
; then :
5882 $as_echo_n "(cached) " >&6
5884 if test -n "$MSGFMT"; then
5885 ac_cv_prog_MSGFMT
="$MSGFMT" # Let the user override the test.
5887 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5891 test -z "$as_dir" && as_dir
=.
5892 for ac_exec_ext
in '' $ac_executable_extensions; do
5893 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5894 ac_cv_prog_MSGFMT
="$ac_prog"
5895 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5904 MSGFMT
=$ac_cv_prog_MSGFMT
5905 if test -n "$MSGFMT"; then
5906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5907 $as_echo "$MSGFMT" >&6; }
5909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5910 $as_echo "no" >&6; }
5914 test -n "$MSGFMT" && break
5916 test -n "$MSGFMT" || MSGFMT
="false"
5918 if ${ac_tool_prefix+:} false
; then :
5919 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5920 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
5921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5922 $as_echo_n "checking for $ac_word... " >&6; }
5923 if ${ac_cv_prog_PKG_CONFIG+:} false
; then :
5924 $as_echo_n "(cached) " >&6
5926 if test -n "$PKG_CONFIG"; then
5927 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
5929 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5933 test -z "$as_dir" && as_dir
=.
5934 for ac_exec_ext
in '' $ac_executable_extensions; do
5935 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5936 ac_cv_prog_PKG_CONFIG
="${ac_tool_prefix}pkg-config"
5937 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5946 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
5947 if test -n "$PKG_CONFIG"; then
5948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5949 $as_echo "$PKG_CONFIG" >&6; }
5951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5952 $as_echo "no" >&6; }
5957 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
5958 if test "x$cross_compiling" = xyes
; then :
5961 { ac_cv_prog_PKG_CONFIG
=; unset ac_cv_prog_PKG_CONFIG
;}
5962 # Extract the first word of "pkg-config", so it can be a program name with args.
5963 set dummy pkg-config
; ac_word
=$2
5964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5965 $as_echo_n "checking for $ac_word... " >&6; }
5966 if ${ac_cv_prog_PKG_CONFIG+:} false
; then :
5967 $as_echo_n "(cached) " >&6
5969 if test -n "$PKG_CONFIG"; then
5970 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
5972 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5976 test -z "$as_dir" && as_dir
=.
5977 for ac_exec_ext
in '' $ac_executable_extensions; do
5978 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5979 ac_cv_prog_PKG_CONFIG
="pkg-config"
5980 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5989 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
5990 if test -n "$PKG_CONFIG"; then
5991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5992 $as_echo "$PKG_CONFIG" >&6; }
5994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5995 $as_echo "no" >&6; }
6001 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
6004 if test "x$enable_maintainer_mode" != "xyes"
6011 test "$srcdir" = . || as_fn_error $?
"Maintainer mode cannot work out of tree." "$LINENO" 5
6012 for ac_prog
in fontforge
6014 # Extract the first word of "$ac_prog", so it can be a program name with args.
6015 set dummy
$ac_prog; ac_word
=$2
6016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6017 $as_echo_n "checking for $ac_word... " >&6; }
6018 if ${ac_cv_prog_FONTFORGE+:} false
; then :
6019 $as_echo_n "(cached) " >&6
6021 if test -n "$FONTFORGE"; then
6022 ac_cv_prog_FONTFORGE
="$FONTFORGE" # Let the user override the test.
6024 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6028 test -z "$as_dir" && as_dir
=.
6029 for ac_exec_ext
in '' $ac_executable_extensions; do
6030 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6031 ac_cv_prog_FONTFORGE
="$ac_prog"
6032 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6041 FONTFORGE
=$ac_cv_prog_FONTFORGE
6042 if test -n "$FONTFORGE"; then
6043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
6044 $as_echo "$FONTFORGE" >&6; }
6046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6047 $as_echo "no" >&6; }
6051 test -n "$FONTFORGE" && break
6053 test -n "$FONTFORGE" || FONTFORGE
="false"
6055 for ac_prog
in rsvg-convert rsvg
6057 # Extract the first word of "$ac_prog", so it can be a program name with args.
6058 set dummy
$ac_prog; ac_word
=$2
6059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6060 $as_echo_n "checking for $ac_word... " >&6; }
6061 if ${ac_cv_prog_RSVG+:} false
; then :
6062 $as_echo_n "(cached) " >&6
6064 if test -n "$RSVG"; then
6065 ac_cv_prog_RSVG
="$RSVG" # Let the user override the test.
6067 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6071 test -z "$as_dir" && as_dir
=.
6072 for ac_exec_ext
in '' $ac_executable_extensions; do
6073 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6074 ac_cv_prog_RSVG
="$ac_prog"
6075 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6084 RSVG
=$ac_cv_prog_RSVG
6085 if test -n "$RSVG"; then
6086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
6087 $as_echo "$RSVG" >&6; }
6089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6090 $as_echo "no" >&6; }
6094 test -n "$RSVG" && break
6096 test -n "$RSVG" || RSVG
="false"
6098 for ac_prog
in convert
6100 # Extract the first word of "$ac_prog", so it can be a program name with args.
6101 set dummy
$ac_prog; ac_word
=$2
6102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6103 $as_echo_n "checking for $ac_word... " >&6; }
6104 if ${ac_cv_prog_CONVERT+:} false
; then :
6105 $as_echo_n "(cached) " >&6
6107 if test -n "$CONVERT"; then
6108 ac_cv_prog_CONVERT
="$CONVERT" # Let the user override the test.
6110 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6114 test -z "$as_dir" && as_dir
=.
6115 for ac_exec_ext
in '' $ac_executable_extensions; do
6116 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6117 ac_cv_prog_CONVERT
="$ac_prog"
6118 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6127 CONVERT
=$ac_cv_prog_CONVERT
6128 if test -n "$CONVERT"; then
6129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
6130 $as_echo "$CONVERT" >&6; }
6132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6133 $as_echo "no" >&6; }
6137 test -n "$CONVERT" && break
6139 test -n "$CONVERT" || CONVERT
="false"
6141 for ac_prog
in icotool
6143 # Extract the first word of "$ac_prog", so it can be a program name with args.
6144 set dummy
$ac_prog; ac_word
=$2
6145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6146 $as_echo_n "checking for $ac_word... " >&6; }
6147 if ${ac_cv_prog_ICOTOOL+:} false
; then :
6148 $as_echo_n "(cached) " >&6
6150 if test -n "$ICOTOOL"; then
6151 ac_cv_prog_ICOTOOL
="$ICOTOOL" # Let the user override the test.
6153 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6157 test -z "$as_dir" && as_dir
=.
6158 for ac_exec_ext
in '' $ac_executable_extensions; do
6159 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6160 ac_cv_prog_ICOTOOL
="$ac_prog"
6161 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6170 ICOTOOL
=$ac_cv_prog_ICOTOOL
6171 if test -n "$ICOTOOL"; then
6172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
6173 $as_echo "$ICOTOOL" >&6; }
6175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6176 $as_echo "no" >&6; }
6180 test -n "$ICOTOOL" && break
6182 test -n "$ICOTOOL" || ICOTOOL
="false"
6184 test "$FONTFORGE" != "false" || as_fn_error $?
"You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
6185 test "$RSVG" != "false" || as_fn_error $?
"You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
6187 if test "$CONVERT" = false
6189 as_fn_error $?
"You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
6191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
6192 $as_echo_n "checking for recent enough imagemagick... " >&6; }
6193 convert_version
=`convert --version | head -n1`
6194 if test "x$convert_version" != "x"
6196 convert_version_major
=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
6197 convert_version_minor
=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
6198 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
6203 if test "$CONVERT" = false
6205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
6206 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
6207 as_fn_error $?
"You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
6210 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
6214 if test "$ICOTOOL" = false
6216 as_fn_error $?
"You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
6218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
6219 $as_echo_n "checking for recent enough icotool... " >&6; }
6220 icotool_version
=`icotool --version | head -n1`
6221 if test "x$icotool_version" != "x"
6223 icotool_version_major
=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
6224 icotool_version_minor
=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
6225 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
6228 as_fn_append wine_warnings
"|icotool version 0.29.0 or newer is needed to rebuild icons."
6231 if test "$ICOTOOL" = false
6233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
6234 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
6235 as_fn_error $?
"You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
6238 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
6244 { ac_cv_header_gettext_po_h
=; unset ac_cv_header_gettext_po_h
;}
6247 test "x$with_gettext" != xno || MSGFMT
=false
6248 if test "$MSGFMT" != "false"
6250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
6251 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
6252 cat >conftest.po
<<EOF
6258 if $MSGFMT -o /dev
/null conftest.po
2>&5
6260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6261 $as_echo "yes" >&6; }
6263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6264 $as_echo "no" >&6; }
6268 if test "$MSGFMT" = false
; then :
6269 case "x$with_gettext" in
6270 x
) as_fn_append wine_warnings
"|gettext tools not found (or too old), translations won't be built." ;;
6272 *) as_fn_error $?
"gettext tools not found (or too old), translations won't be built.
6273 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6275 enable_po
=${enable_po:-no}
6279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6280 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6281 if ${ac_cv_lib_i386_i386_set_ldt+:} false
; then :
6282 $as_echo_n "(cached) " >&6
6284 ac_check_lib_save_LIBS
=$LIBS
6286 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6287 /* end confdefs.h. */
6289 /* Override any GCC internal prototype to avoid an error.
6290 Use char because int might match the return type of a GCC
6291 builtin and then its argument prototype would still apply. */
6295 char i386_set_ldt ();
6299 return i386_set_ldt ();
6304 if ac_fn_c_try_link
"$LINENO"; then :
6305 ac_cv_lib_i386_i386_set_ldt
=yes
6307 ac_cv_lib_i386_i386_set_ldt
=no
6309 rm -f core conftest.err conftest.
$ac_objext \
6310 conftest
$ac_exeext conftest.
$ac_ext
6311 LIBS
=$ac_check_lib_save_LIBS
6313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6314 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6315 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes
; then :
6316 cat >>confdefs.h
<<_ACEOF
6317 #define HAVE_LIBI386 1
6324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
6325 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
6326 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false
; then :
6327 $as_echo_n "(cached) " >&6
6329 ac_check_lib_save_LIBS
=$LIBS
6330 LIBS
="-lossaudio $LIBS"
6331 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6332 /* end confdefs.h. */
6334 /* Override any GCC internal prototype to avoid an error.
6335 Use char because int might match the return type of a GCC
6336 builtin and then its argument prototype would still apply. */
6344 return _oss_ioctl ();
6349 if ac_fn_c_try_link
"$LINENO"; then :
6350 ac_cv_lib_ossaudio__oss_ioctl
=yes
6352 ac_cv_lib_ossaudio__oss_ioctl
=no
6354 rm -f core conftest.err conftest.
$ac_objext \
6355 conftest
$ac_exeext conftest.
$ac_ext
6356 LIBS
=$ac_check_lib_save_LIBS
6358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6359 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6360 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes
; then :
6361 cat >>confdefs.h
<<_ACEOF
6362 #define HAVE_LIBOSSAUDIO 1
6365 LIBS
="-lossaudio $LIBS"
6374 # Check whether --enable-largefile was given.
6375 if test "${enable_largefile+set}" = set; then :
6376 enableval
=$enable_largefile;
6379 if test "$enable_largefile" != no
; then
6381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6382 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6383 if ${ac_cv_sys_largefile_CC+:} false
; then :
6384 $as_echo_n "(cached) " >&6
6386 ac_cv_sys_largefile_CC
=no
6387 if test "$GCC" != yes; then
6390 # IRIX 6.2 and later do not support large files by default,
6391 # so use the C compiler's -n32 option if that helps.
6392 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6393 /* end confdefs.h. */
6394 #include <sys/types.h>
6395 /* Check that off_t can represent 2**63 - 1 correctly.
6396 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6397 since some C++ compilers masquerading as C compilers
6398 incorrectly reject 9223372036854775807. */
6399 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6400 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6401 && LARGE_OFF_T % 2147483647 == 1)
6411 if ac_fn_c_try_compile
"$LINENO"; then :
6414 rm -f core conftest.err conftest.
$ac_objext
6416 if ac_fn_c_try_compile
"$LINENO"; then :
6417 ac_cv_sys_largefile_CC
=' -n32'; break
6419 rm -f core conftest.err conftest.
$ac_objext
6423 rm -f conftest.
$ac_ext
6426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6427 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6428 if test "$ac_cv_sys_largefile_CC" != no
; then
6429 CC
=$CC$ac_cv_sys_largefile_CC
6432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6433 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6434 if ${ac_cv_sys_file_offset_bits+:} false
; then :
6435 $as_echo_n "(cached) " >&6
6438 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6439 /* end confdefs.h. */
6440 #include <sys/types.h>
6441 /* Check that off_t can represent 2**63 - 1 correctly.
6442 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6443 since some C++ compilers masquerading as C compilers
6444 incorrectly reject 9223372036854775807. */
6445 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6446 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6447 && LARGE_OFF_T % 2147483647 == 1)
6457 if ac_fn_c_try_compile
"$LINENO"; then :
6458 ac_cv_sys_file_offset_bits
=no
; break
6460 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6461 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6462 /* end confdefs.h. */
6463 #define _FILE_OFFSET_BITS 64
6464 #include <sys/types.h>
6465 /* Check that off_t can represent 2**63 - 1 correctly.
6466 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6467 since some C++ compilers masquerading as C compilers
6468 incorrectly reject 9223372036854775807. */
6469 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6470 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6471 && LARGE_OFF_T % 2147483647 == 1)
6481 if ac_fn_c_try_compile
"$LINENO"; then :
6482 ac_cv_sys_file_offset_bits
=64; break
6484 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6485 ac_cv_sys_file_offset_bits
=unknown
6489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6490 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6491 case $ac_cv_sys_file_offset_bits in #(
6494 cat >>confdefs.h
<<_ACEOF
6495 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6500 if test $ac_cv_sys_file_offset_bits = unknown
; then
6501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6502 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6503 if ${ac_cv_sys_large_files+:} false
; then :
6504 $as_echo_n "(cached) " >&6
6507 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6508 /* end confdefs.h. */
6509 #include <sys/types.h>
6510 /* Check that off_t can represent 2**63 - 1 correctly.
6511 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6512 since some C++ compilers masquerading as C compilers
6513 incorrectly reject 9223372036854775807. */
6514 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6515 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6516 && LARGE_OFF_T % 2147483647 == 1)
6526 if ac_fn_c_try_compile
"$LINENO"; then :
6527 ac_cv_sys_large_files
=no
; break
6529 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6530 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6531 /* end confdefs.h. */
6532 #define _LARGE_FILES 1
6533 #include <sys/types.h>
6534 /* Check that off_t can represent 2**63 - 1 correctly.
6535 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6536 since some C++ compilers masquerading as C compilers
6537 incorrectly reject 9223372036854775807. */
6538 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6539 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6540 && LARGE_OFF_T % 2147483647 == 1)
6550 if ac_fn_c_try_compile
"$LINENO"; then :
6551 ac_cv_sys_large_files
=1; break
6553 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6554 ac_cv_sys_large_files
=unknown
6558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6559 $as_echo "$ac_cv_sys_large_files" >&6; }
6560 case $ac_cv_sys_large_files in #(
6563 cat >>confdefs.h
<<_ACEOF
6564 #define _LARGE_FILES $ac_cv_sys_large_files
6576 ac_cpp
='$CPP $CPPFLAGS'
6577 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6578 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6579 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6581 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6582 # On Suns, sometimes $CPP names a directory.
6583 if test -n "$CPP" && test -d "$CPP"; then
6586 if test -z "$CPP"; then
6587 if ${ac_cv_prog_CPP+:} false
; then :
6588 $as_echo_n "(cached) " >&6
6590 # Double quotes because CPP needs to be expanded
6591 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6594 for ac_c_preproc_warn_flag
in '' yes
6596 # Use a header file that comes with gcc, so configuring glibc
6597 # with a fresh cross-compiler works.
6598 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6599 # <limits.h> exists even on freestanding compilers.
6600 # On the NeXT, cc -E runs the code through the compiler's parser,
6601 # not just through cpp. "Syntax error" is here to catch this case.
6602 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6603 /* end confdefs.h. */
6605 # include <limits.h>
6607 # include <assert.h>
6611 if ac_fn_c_try_cpp
"$LINENO"; then :
6614 # Broken: fails on valid input.
6617 rm -f conftest.err conftest.i conftest.
$ac_ext
6619 # OK, works on sane cases. Now check whether nonexistent headers
6620 # can be detected and how.
6621 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6622 /* end confdefs.h. */
6623 #include <ac_nonexistent.h>
6625 if ac_fn_c_try_cpp
"$LINENO"; then :
6626 # Broken: success on invalid input.
6629 # Passes both tests.
6633 rm -f conftest.err conftest.i conftest.
$ac_ext
6636 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6637 rm -f conftest.i conftest.err conftest.
$ac_ext
6638 if $ac_preproc_ok; then :
6650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6651 $as_echo "$CPP" >&6; }
6653 for ac_c_preproc_warn_flag
in '' yes
6655 # Use a header file that comes with gcc, so configuring glibc
6656 # with a fresh cross-compiler works.
6657 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6658 # <limits.h> exists even on freestanding compilers.
6659 # On the NeXT, cc -E runs the code through the compiler's parser,
6660 # not just through cpp. "Syntax error" is here to catch this case.
6661 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6662 /* end confdefs.h. */
6664 # include <limits.h>
6666 # include <assert.h>
6670 if ac_fn_c_try_cpp
"$LINENO"; then :
6673 # Broken: fails on valid input.
6676 rm -f conftest.err conftest.i conftest.
$ac_ext
6678 # OK, works on sane cases. Now check whether nonexistent headers
6679 # can be detected and how.
6680 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6681 /* end confdefs.h. */
6682 #include <ac_nonexistent.h>
6684 if ac_fn_c_try_cpp
"$LINENO"; then :
6685 # Broken: success on invalid input.
6688 # Passes both tests.
6692 rm -f conftest.err conftest.i conftest.
$ac_ext
6695 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6696 rm -f conftest.i conftest.err conftest.
$ac_ext
6697 if $ac_preproc_ok; then :
6700 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6701 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6702 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
6703 See \`config.log' for more details" "$LINENO" 5; }
6707 ac_cpp
='$CPP $CPPFLAGS'
6708 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6709 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6710 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6714 $as_echo_n "checking for ANSI C header files... " >&6; }
6715 if ${ac_cv_header_stdc+:} false
; then :
6716 $as_echo_n "(cached) " >&6
6718 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6719 /* end confdefs.h. */
6733 if ac_fn_c_try_compile
"$LINENO"; then :
6734 ac_cv_header_stdc
=yes
6736 ac_cv_header_stdc
=no
6738 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6740 if test $ac_cv_header_stdc = yes; then
6741 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6742 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6743 /* end confdefs.h. */
6747 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6748 $EGREP "memchr" >/dev
/null
2>&1; then :
6751 ac_cv_header_stdc
=no
6757 if test $ac_cv_header_stdc = yes; then
6758 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6759 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6760 /* end confdefs.h. */
6764 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6765 $EGREP "free" >/dev
/null
2>&1; then :
6768 ac_cv_header_stdc
=no
6774 if test $ac_cv_header_stdc = yes; then
6775 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6776 if test "$cross_compiling" = yes; then :
6779 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6780 /* end confdefs.h. */
6783 #if ((' ' & 0x0FF) == 0x020)
6784 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6785 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6787 # define ISLOWER(c) \
6788 (('a' <= (c) && (c) <= 'i') \
6789 || ('j' <= (c) && (c) <= 'r') \
6790 || ('s' <= (c) && (c) <= 'z'))
6791 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6794 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6799 for (i = 0; i < 256; i++)
6800 if (XOR (islower (i), ISLOWER (i))
6801 || toupper (i) != TOUPPER (i))
6806 if ac_fn_c_try_run
"$LINENO"; then :
6809 ac_cv_header_stdc
=no
6811 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6812 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6818 $as_echo "$ac_cv_header_stdc" >&6; }
6819 if test $ac_cv_header_stdc = yes; then
6821 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6825 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6826 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
6827 inttypes.h stdint.h unistd.h
6829 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6830 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6832 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6833 cat >>confdefs.h
<<_ACEOF
6834 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6844 ApplicationServices
/ApplicationServices.h \
6845 AudioToolbox
/AudioConverter.h \
6846 AudioUnit
/AudioUnit.h \
6847 AudioUnit
/AudioComponent.h \
6850 CommonCrypto
/CommonDigest.h \
6851 CoreAudio
/CoreAudio.h \
6852 CoreServices
/CoreServices.h \
6853 DiskArbitration
/DiskArbitration.h \
6856 IOKit
/hid
/IOHIDLib.h \
6859 QuickTime
/ImageCompression.h \
6860 Security
/Security.h \
6910 netinet
/in_systm.h \
6975 valgrind
/memcheck.h \
6976 valgrind
/valgrind.h \
6980 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6981 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6982 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6983 cat >>confdefs.h
<<_ACEOF
6984 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether sys/types.h defines makedev" >&5
6992 $as_echo_n "checking whether sys/types.h defines makedev... " >&6; }
6993 if ${ac_cv_header_sys_types_h_makedev+:} false
; then :
6994 $as_echo_n "(cached) " >&6
6996 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6997 /* end confdefs.h. */
6998 #include <sys/types.h>
7002 return makedev(0, 0);
7007 if ac_fn_c_try_link
"$LINENO"; then :
7008 ac_cv_header_sys_types_h_makedev
=yes
7010 ac_cv_header_sys_types_h_makedev
=no
7012 rm -f core conftest.err conftest.
$ac_objext \
7013 conftest
$ac_exeext conftest.
$ac_ext
7016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_types_h_makedev" >&5
7017 $as_echo "$ac_cv_header_sys_types_h_makedev" >&6; }
7019 if test $ac_cv_header_sys_types_h_makedev = no
; then
7020 ac_fn_c_check_header_mongrel
"$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
7021 if test "x$ac_cv_header_sys_mkdev_h" = xyes
; then :
7023 $as_echo "#define MAJOR_IN_MKDEV 1" >>confdefs.h
7029 if test $ac_cv_header_sys_mkdev_h = no
; then
7030 ac_fn_c_check_header_mongrel
"$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
7031 if test "x$ac_cv_header_sys_sysmacros_h" = xyes
; then :
7033 $as_echo "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
7041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
7042 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
7043 if ${ac_cv_header_stat_broken+:} false
; then :
7044 $as_echo_n "(cached) " >&6
7046 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7047 /* end confdefs.h. */
7048 #include <sys/types.h>
7049 #include <sys/stat.h>
7051 #if defined S_ISBLK && defined S_IFDIR
7052 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7055 #if defined S_ISBLK && defined S_IFCHR
7056 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7059 #if defined S_ISLNK && defined S_IFREG
7060 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7063 #if defined S_ISSOCK && defined S_IFREG
7064 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7068 if ac_fn_c_try_compile
"$LINENO"; then :
7069 ac_cv_header_stat_broken
=no
7071 ac_cv_header_stat_broken
=yes
7073 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
7076 $as_echo "$ac_cv_header_stat_broken" >&6; }
7077 if test $ac_cv_header_stat_broken = yes; then
7079 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
7085 for ac_header
in sys
/mount.h sys
/statfs.h sys
/sysctl.h sys
/user.h sys
/vfs.h
7087 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7088 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7089 #ifdef HAVE_SYS_PARAM_H
7090 # include <sys/param.h>
7093 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
7094 cat >>confdefs.h
<<_ACEOF
7095 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7110 netinet
/if_ether.h \
7111 netinet
/if_inarp.h \
7120 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7121 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7122 #ifdef HAVE_SYS_SOCKET_H
7123 # include <sys/socket.h>
7125 #ifdef HAVE_SYS_SOCKETVAR_H
7126 # include <sys/socketvar.h>
7128 #ifdef HAVE_NET_ROUTE_H
7129 # include <net/route.h>
7131 #ifdef HAVE_NETINET_IN_H
7132 # include <netinet/in.h>
7134 #ifdef HAVE_NETINET_IN_SYSTM_H
7135 # include <netinet/in_systm.h>
7137 #ifdef HAVE_NET_IF_H
7138 # include <net/if.h>
7140 #ifdef HAVE_NETINET_IP_H
7141 # include <netinet/ip.h>
7144 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
7145 cat >>confdefs.h
<<_ACEOF
7146 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7154 for ac_header
in netinet
/tcp_timer.h netinet
/udp_var.h netinet
/icmp_var.h netinet
/tcp_var.h
7156 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7157 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7161 #ifdef HAVE_SYS_SOCKET_H
7162 # include <sys/socket.h>
7164 #ifdef HAVE_SYS_SOCKETVAR_H
7165 # include <sys/socketvar.h>
7167 #ifdef HAVE_SYS_TIMEOUT_H
7168 # include <sys/timeout.h>
7170 #ifdef HAVE_NETINET_IN_H
7171 # include <netinet/in.h>
7173 #ifdef HAVE_NETINET_IN_SYSTM_H
7174 # include <netinet/in_systm.h>
7176 #ifdef HAVE_NETINET_IP_H
7177 # include <netinet/ip.h>
7179 #ifdef HAVE_NETINET_IP_VAR_H
7180 # include <netinet/ip_var.h>
7182 #ifdef HAVE_NETINET_IP_ICMP_H
7183 # include <netinet/ip_icmp.h>
7185 #ifdef HAVE_NETINET_UDP_H
7186 # include <netinet/udp.h>
7188 #ifdef HAVE_NETINET_TCP_H
7189 # include <netinet/tcp.h>
7191 #ifdef HAVE_NETINET_TCP_TIMER_H
7192 #include <netinet/tcp_timer.h>
7195 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
7196 cat >>confdefs.h
<<_ACEOF
7197 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7205 for ac_header
in linux
/ipx.h linux
/irda.h linux
/rtnetlink.h
7207 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7208 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7209 #ifdef HAVE_ASM_TYPES_H
7210 # include <asm/types.h>
7212 #ifdef HAVE_SYS_SOCKET_H
7213 # include <sys/socket.h>
7215 #ifdef HAVE_LINUX_TYPES_H
7216 # include <linux/types.h>
7219 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
7220 cat >>confdefs.h
<<_ACEOF
7221 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7229 for ac_header
in mach-o
/dyld_images.h
7231 ac_fn_c_check_header_compile
"$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
7232 # include <stdbool.h>
7234 #ifdef HAVE_STDINT_H
7235 # include <stdint.h>
7238 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes
; then :
7239 cat >>confdefs.h
<<_ACEOF
7240 #define HAVE_MACH_O_DYLD_IMAGES_H 1
7248 for ac_header
in resolv.h
7250 ac_fn_c_check_header_compile
"$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
7251 #ifdef HAVE_SYS_SOCKET_H
7252 # include <sys/socket.h>
7254 #ifdef HAVE_NETINET_IN_H
7255 # include <netinet/in.h>
7257 #ifdef HAVE_ARPA_NAMESER_H
7258 # include <arpa/nameser.h>
7261 if test "x$ac_cv_header_resolv_h" = xyes
; then :
7262 cat >>confdefs.h
<<_ACEOF
7263 #define HAVE_RESOLV_H 1
7271 for ac_header
in ifaddrs.h
7273 ac_fn_c_check_header_compile
"$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
7275 if test "x$ac_cv_header_ifaddrs_h" = xyes
; then :
7276 cat >>confdefs.h
<<_ACEOF
7277 #define HAVE_IFADDRS_H 1
7285 for ac_header
in sys
/ucontext.h
7287 ac_fn_c_check_header_compile
"$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
7289 if test "x$ac_cv_header_sys_ucontext_h" = xyes
; then :
7290 cat >>confdefs.h
<<_ACEOF
7291 #define HAVE_SYS_UCONTEXT_H 1
7299 for ac_header
in sys
/thr.h
7301 ac_fn_c_check_header_compile
"$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
7302 #ifdef HAVE_SYS_UCONTEXT_H
7303 #include <sys/ucontext.h>
7306 if test "x$ac_cv_header_sys_thr_h" = xyes
; then :
7307 cat >>confdefs.h
<<_ACEOF
7308 #define HAVE_SYS_THR_H 1
7316 for ac_header
in pthread_np.h
7318 ac_fn_c_check_header_compile
"$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7319 #include <pthread.h>
7322 if test "x$ac_cv_header_pthread_np_h" = xyes
; then :
7323 cat >>confdefs.h
<<_ACEOF
7324 #define HAVE_PTHREAD_NP_H 1
7332 for ac_header
in linux
/videodev.h linux
/videodev2.h libv4l1.h
7334 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7335 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
7336 #include <sys/time.h>
7338 #include <sys/types.h>
7339 #ifdef HAVE_ASM_TYPES_H
7340 #include <asm/types.h>
7343 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
7344 cat >>confdefs.h
<<_ACEOF
7345 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7353 for ac_header
in libprocstat.h
7355 ac_fn_c_check_header_compile
"$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7356 #include <sys/param.h>
7358 #ifdef HAVE_SYS_QUEUE_H
7359 #include <sys/queue.h>
7361 #ifdef HAVE_SYS_SOCKET_H
7362 #include <sys/socket.h>
7365 if test "x$ac_cv_header_libprocstat_h" = xyes
; then :
7366 cat >>confdefs.h
<<_ACEOF
7367 #define HAVE_LIBPROCSTAT_H 1
7376 dlldir
="\${libdir}/wine"
7378 DLLFLAGS
="-D_REENTRANT"
7386 WINELOADER_LDFLAGS
=""
7391 # Extract the first word of "ldd", so it can be a program name with args.
7392 set dummy ldd
; ac_word
=$2
7393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7394 $as_echo_n "checking for $ac_word... " >&6; }
7395 if ${ac_cv_path_LDD+:} false
; then :
7396 $as_echo_n "(cached) " >&6
7400 ac_cv_path_LDD
="$LDD" # Let the user override the test with a path.
7403 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7404 as_dummy
="/sbin:/usr/sbin:$PATH"
7405 for as_dir
in $as_dummy
7408 test -z "$as_dir" && as_dir
=.
7409 for ac_exec_ext
in '' $ac_executable_extensions; do
7410 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7411 ac_cv_path_LDD
="$as_dir/$ac_word$ac_exec_ext"
7412 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7419 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD
="true"
7424 if test -n "$LDD"; then
7425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7426 $as_echo "$LDD" >&6; }
7428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7429 $as_echo "no" >&6; }
7433 if test -n "$ac_tool_prefix"; then
7434 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7435 set dummy
${ac_tool_prefix}otool
; ac_word
=$2
7436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7437 $as_echo_n "checking for $ac_word... " >&6; }
7438 if ${ac_cv_prog_OTOOL+:} false
; then :
7439 $as_echo_n "(cached) " >&6
7441 if test -n "$OTOOL"; then
7442 ac_cv_prog_OTOOL
="$OTOOL" # Let the user override the test.
7444 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7448 test -z "$as_dir" && as_dir
=.
7449 for ac_exec_ext
in '' $ac_executable_extensions; do
7450 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7451 ac_cv_prog_OTOOL
="${ac_tool_prefix}otool"
7452 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7461 OTOOL
=$ac_cv_prog_OTOOL
7462 if test -n "$OTOOL"; then
7463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7464 $as_echo "$OTOOL" >&6; }
7466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7467 $as_echo "no" >&6; }
7472 if test -z "$ac_cv_prog_OTOOL"; then
7474 # Extract the first word of "otool", so it can be a program name with args.
7475 set dummy otool
; ac_word
=$2
7476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7477 $as_echo_n "checking for $ac_word... " >&6; }
7478 if ${ac_cv_prog_ac_ct_OTOOL+:} false
; then :
7479 $as_echo_n "(cached) " >&6
7481 if test -n "$ac_ct_OTOOL"; then
7482 ac_cv_prog_ac_ct_OTOOL
="$ac_ct_OTOOL" # Let the user override the test.
7484 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7488 test -z "$as_dir" && as_dir
=.
7489 for ac_exec_ext
in '' $ac_executable_extensions; do
7490 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7491 ac_cv_prog_ac_ct_OTOOL
="otool"
7492 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7501 ac_ct_OTOOL
=$ac_cv_prog_ac_ct_OTOOL
7502 if test -n "$ac_ct_OTOOL"; then
7503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7504 $as_echo "$ac_ct_OTOOL" >&6; }
7506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7507 $as_echo "no" >&6; }
7510 if test "x$ac_ct_OTOOL" = x
; then
7513 case $cross_compiling:$ac_tool_warned in
7515 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7516 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7517 ac_tool_warned
=yes ;;
7522 OTOOL
="$ac_cv_prog_OTOOL"
7525 if test -n "$ac_tool_prefix"; then
7526 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
7527 set dummy
${ac_tool_prefix}readelf
; ac_word
=$2
7528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7529 $as_echo_n "checking for $ac_word... " >&6; }
7530 if ${ac_cv_prog_READELF+:} false
; then :
7531 $as_echo_n "(cached) " >&6
7533 if test -n "$READELF"; then
7534 ac_cv_prog_READELF
="$READELF" # Let the user override the test.
7536 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7540 test -z "$as_dir" && as_dir
=.
7541 for ac_exec_ext
in '' $ac_executable_extensions; do
7542 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7543 ac_cv_prog_READELF
="${ac_tool_prefix}readelf"
7544 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7553 READELF
=$ac_cv_prog_READELF
7554 if test -n "$READELF"; then
7555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
7556 $as_echo "$READELF" >&6; }
7558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7559 $as_echo "no" >&6; }
7564 if test -z "$ac_cv_prog_READELF"; then
7565 ac_ct_READELF
=$READELF
7566 # Extract the first word of "readelf", so it can be a program name with args.
7567 set dummy readelf
; ac_word
=$2
7568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7569 $as_echo_n "checking for $ac_word... " >&6; }
7570 if ${ac_cv_prog_ac_ct_READELF+:} false
; then :
7571 $as_echo_n "(cached) " >&6
7573 if test -n "$ac_ct_READELF"; then
7574 ac_cv_prog_ac_ct_READELF
="$ac_ct_READELF" # Let the user override the test.
7576 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7580 test -z "$as_dir" && as_dir
=.
7581 for ac_exec_ext
in '' $ac_executable_extensions; do
7582 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7583 ac_cv_prog_ac_ct_READELF
="readelf"
7584 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7593 ac_ct_READELF
=$ac_cv_prog_ac_ct_READELF
7594 if test -n "$ac_ct_READELF"; then
7595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7596 $as_echo "$ac_ct_READELF" >&6; }
7598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7599 $as_echo "no" >&6; }
7602 if test "x$ac_ct_READELF" = x
; then
7605 case $cross_compiling:$ac_tool_warned in
7607 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7608 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7609 ac_tool_warned
=yes ;;
7611 READELF
=$ac_ct_READELF
7614 READELF
="$ac_cv_prog_READELF"
7617 wine_rules_file
=conf$
$rules.
make
7618 rm -f $wine_rules_file
7623 CONFIGURE_TARGETS
=""
7625 ALL_TEST_RESOURCES
=""
7628 wine_fn_append_file
()
7630 as_fn_append
$1 " \\$as_nl $2"
7633 wine_fn_append_rule
()
7635 $as_echo "$1" >>$wine_rules_file
7640 expr ",$ac_flags," : ".*,$1,.*" >/dev
/null
7643 wine_fn_all_rules
()
7645 wine_fn_append_file SUBDIRS
$ac_dir
7646 wine_fn_append_rule \
7650 @cd $ac_dir && \$(MAKE)"
7653 wine_fn_install_rules
()
7655 wine_fn_has_flag install-lib || wine_fn_has_flag install-dev ||
return
7657 wine_fn_append_rule \
7658 ".PHONY: $ac_dir/install $ac_dir/uninstall
7659 $ac_dir/install:: $ac_dir
7660 @cd $ac_dir && \$(MAKE) install
7662 @cd $ac_dir && \$(MAKE) uninstall
7663 install:: $ac_dir/install
7664 __uninstall__: $ac_dir/uninstall"
7666 if wine_fn_has_flag install-lib
7668 wine_fn_append_rule \
7669 ".PHONY: $ac_dir/install-lib
7670 $ac_dir/install-lib:: $ac_dir
7671 @cd $ac_dir && \$(MAKE) install-lib
7672 install-lib:: $ac_dir/install-lib"
7675 if wine_fn_has_flag install-dev
7677 wine_fn_append_rule \
7678 ".PHONY: $ac_dir/install-dev
7679 $ac_dir/install-dev:: $ac_dir
7680 @cd $ac_dir && \$(MAKE) install-dev
7681 install-dev:: $ac_dir/install-dev"
7685 wine_fn_clean_rules
()
7689 if wine_fn_has_flag clean
7691 wine_fn_append_rule \
7692 "$ac_dir/clean: dummy
7693 @cd $ac_dir && \$(MAKE) clean"
7695 wine_fn_append_rule \
7696 "$ac_dir/clean: dummy
7697 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean"
7699 wine_fn_append_rule \
7700 "__clean__: $ac_dir/clean
7701 .PHONY: $ac_dir/clean"
7704 wine_fn_disabled_rules
()
7708 wine_fn_append_file SUBDIRS
$ac_dir
7709 wine_fn_append_file DISABLED_SUBDIRS
$ac_dir
7710 wine_fn_append_rule \
7711 "__clean__: $ac_dir/clean
7712 .PHONY: $ac_dir/clean
7713 $ac_dir/clean: dummy
7714 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean"
7717 wine_fn_config_makefile
()
7724 fonts|server
) test -z "$with_wine64" ||
return ;;
7726 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
7727 wine_fn_disabled_rules
; return
7730 wine_fn_install_rules
7734 wine_fn_config_lib
()
7738 ac_dir
=dlls
/$ac_name
7741 if test "x$enable_tools" = xno
; then :
7744 ac_deps
="tools/widl tools/winebuild tools/winegcc $ac_deps"
7749 wine_fn_append_rule \
7750 ".PHONY: $ac_dir/install $ac_dir/uninstall
7751 $ac_dir/install:: $ac_dir
7752 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7754 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7755 install install-dev:: $ac_dir/install
7756 __uninstall__: $ac_dir/uninstall
7757 __builddeps__: $ac_dir
7761 wine_fn_config_dll
()
7764 ac_dir
=dlls
/$ac_name
7767 ac_implib
=${4:-$ac_name}
7768 ac_file
=$ac_dir/lib
$ac_implib
7773 if test "x$enable_tools" = xno
; then :
7776 ac_deps
="tools/widl tools/winebuild tools/winegcc $ac_deps"
7779 *.
*16) ac_implibflags
=" -m16" ;;
7781 *) ac_dll
=$ac_dll.dll
;;
7785 wine_fn_has_flag implib
&& ac_clean
="$ac_clean $ac_file.$IMPLIBEXT"
7786 test -n "$DLLEXT" || ac_clean
="$ac_clean $ac_dir/$ac_dll"
7788 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
7789 if test "$ac_enable" != enable_win16
7791 wine_fn_clean_rules
$ac_clean
7792 wine_fn_append_file SUBDIRS
$ac_dir
7793 wine_fn_append_file DISABLED_SUBDIRS
$ac_dir
7795 wine_fn_disabled_rules
$ac_clean
7800 wine_fn_clean_rules
$ac_clean
7801 wine_fn_append_rule \
7802 "$ac_dir: __builddeps__
7803 manpages htmlpages sgmlpages xmlpages::
7804 @cd $ac_dir && \$(MAKE) \$@
7805 .PHONY: $ac_dir/install-lib $ac_dir/uninstall
7806 install install-lib:: $ac_dir/install-lib
7807 __uninstall__: $ac_dir/uninstall"
7808 if test -n "$DLLEXT"
7810 wine_fn_append_rule \
7811 "$ac_dir/install-lib:: $ac_dir
7812 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT
7813 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
7815 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
7817 wine_fn_append_rule \
7818 "$ac_dir/install-lib:: $ac_dir
7819 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
7821 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
7825 if wine_fn_has_flag staticimplib
7827 wine_fn_append_rule \
7828 "__builddeps__: $ac_file.a
7829 $ac_file.a $ac_file.cross.a: $ac_deps
7831 @cd $ac_dir && \$(MAKE) lib$ac_implib.a
7832 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7833 $ac_dir/install-dev:: $ac_file.a
7834 \$(INSTALL_DATA) $ac_file.a \$(DESTDIR)\$(dlldir)/lib$ac_implib.a
7836 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.a
7837 install install-dev:: $ac_dir/install-dev
7838 __uninstall__: $ac_dir/uninstall"
7840 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7842 wine_fn_append_rule \
7843 "__builddeps__: $ac_file.cross.a
7844 $ac_file.cross.a: dummy
7845 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
7848 elif wine_fn_has_flag implib
7850 wine_fn_append_rule \
7851 "__builddeps__: $ac_file.$IMPLIBEXT
7852 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7853 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7854 $ac_file.a: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7855 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7856 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7857 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7858 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7860 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7861 install install-dev:: $ac_dir/install-dev
7862 __uninstall__: $ac_dir/uninstall"
7863 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7865 wine_fn_append_rule \
7866 "__builddeps__: $ac_file.cross.a
7867 $ac_file.cross.a: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7868 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec"
7873 wine_fn_config_program
()
7876 ac_dir
=programs
/$ac_name
7883 *) ac_program
=$ac_program.exe
;;
7887 wine_fn_has_flag manpage
&& ac_clean
="$ac_clean $ac_dir/$ac_name.man"
7888 test -n "$DLLEXT" || ac_clean
="$ac_clean $ac_dir/$ac_program"
7890 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
7891 wine_fn_disabled_rules
$ac_clean; return
7895 wine_fn_clean_rules
$ac_clean
7896 wine_fn_append_rule
"$ac_dir: __builddeps__"
7898 wine_fn_has_flag
install ||
return
7899 wine_fn_append_rule \
7900 ".PHONY: $ac_dir/install $ac_dir/uninstall
7901 install install-lib:: $ac_dir/install
7902 __uninstall__: $ac_dir/uninstall"
7904 if test -n "$DLLEXT"
7906 wine_fn_append_rule \
7907 "$ac_dir/install:: $ac_dir
7908 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT
7909 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
7911 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
7913 if test -z "$with_wine64" && wine_fn_has_flag installbin
7915 wine_fn_append_rule \
7916 "$ac_dir/install:: __tooldeps__
7917 \$(INSTALL_SCRIPT) \$(TOOLSDIR)/tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
7919 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
7922 wine_fn_append_rule \
7923 "$ac_dir/install:: $ac_dir
7924 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(bindir)/$ac_program
7926 \$(RM) \$(DESTDIR)\$(bindir)/$ac_program"
7929 if test -z "$with_wine64" && wine_fn_has_flag manpage
7931 wine_fn_append_rule \
7932 "$ac_dir/install:: $ac_dir
7933 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
7935 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
7939 wine_fn_config_test
()
7946 test -n "$CROSSTARGET" && ac_clean
=`expr $ac_dir/${ac_name} : "\\(.*\\)_test"`_crosstest.exe
7947 test -n "$DLLEXT" || ac_clean
="$ac_dir/${ac_name}.exe $ac_dir/${ac_name}-stripped.exe"
7949 if test "x$enable_tests" = xno
; then :
7950 wine_fn_disabled_rules
$ac_clean; return
7953 wine_fn_append_file ALL_TEST_RESOURCES
$ac_name.res
7955 wine_fn_clean_rules
$ac_clean
7957 wine_fn_append_rule \
7958 "$ac_dir: __builddeps__
7959 programs/winetest: $ac_dir
7960 check test: $ac_dir/test
7961 .PHONY: $ac_dir/test
7963 @cd $ac_dir && \$(MAKE) test
7965 \$(RM) $ac_dir/*.ok"
7967 if test -n "$CROSSTARGET"
7969 wine_fn_append_rule \
7970 "crosstest: $ac_dir/crosstest
7971 .PHONY: $ac_dir/crosstest
7972 $ac_dir/crosstest: __builddeps__ dummy
7973 @cd $ac_dir && \$(MAKE) crosstest"
7977 wine_fn_config_tool
()
7981 if test "x$enable_tools" = xno
; then :
7982 wine_fn_append_file DISABLED_SUBDIRS
$ac_dir; return
7986 wine_fn_install_rules
7989 wine_fn_append_rule
"__tooldeps__: $ac_dir"
7990 wine_fn_append_rule
"$ac_dir: libs/port"
7992 tools
/winebuild
) wine_fn_append_rule
"\$(WINEBUILD): $ac_dir" ;;
7996 wine_fn_config_symlink
()
7999 if test "x$1" = "x-d"
8005 wine_fn_append_rule \
8007 @./config.status \$@"
8008 for f
in $ac_links; do wine_fn_append_file CONFIGURE_TARGETS
$f; done
8009 test -n "$ac_linkdir" ||
return
8010 wine_fn_append_rule
"$ac_linkdir/depend: $ac_links"
8014 test "x$enable_win64" != "xyes" || wine_binary
="wine64"
8015 WINELOADER_PROGRAMS
="$wine_binary"
8017 libwine_soversion
=`expr $libwine_version : '\([0-9]*\)\..*'`
8021 if test -n "$ac_tool_prefix"; then
8022 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
8023 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
8024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8025 $as_echo_n "checking for $ac_word... " >&6; }
8026 if ${ac_cv_prog_DLLTOOL+:} false
; then :
8027 $as_echo_n "(cached) " >&6
8029 if test -n "$DLLTOOL"; then
8030 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
8032 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8036 test -z "$as_dir" && as_dir
=.
8037 for ac_exec_ext
in '' $ac_executable_extensions; do
8038 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8039 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
8040 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8049 DLLTOOL
=$ac_cv_prog_DLLTOOL
8050 if test -n "$DLLTOOL"; then
8051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
8052 $as_echo "$DLLTOOL" >&6; }
8054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8055 $as_echo "no" >&6; }
8060 if test -z "$ac_cv_prog_DLLTOOL"; then
8061 ac_ct_DLLTOOL
=$DLLTOOL
8062 # Extract the first word of "dlltool", so it can be a program name with args.
8063 set dummy dlltool
; ac_word
=$2
8064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8065 $as_echo_n "checking for $ac_word... " >&6; }
8066 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false
; then :
8067 $as_echo_n "(cached) " >&6
8069 if test -n "$ac_ct_DLLTOOL"; then
8070 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
8072 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8076 test -z "$as_dir" && as_dir
=.
8077 for ac_exec_ext
in '' $ac_executable_extensions; do
8078 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8079 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
8080 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8089 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
8090 if test -n "$ac_ct_DLLTOOL"; then
8091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
8092 $as_echo "$ac_ct_DLLTOOL" >&6; }
8094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8095 $as_echo "no" >&6; }
8098 if test "x$ac_ct_DLLTOOL" = x
; then
8101 case $cross_compiling:$ac_tool_warned in
8103 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8104 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8105 ac_tool_warned
=yes ;;
8107 DLLTOOL
=$ac_ct_DLLTOOL
8110 DLLTOOL
="$ac_cv_prog_DLLTOOL"
8116 enable_iphlpapi
=${enable_iphlpapi:-no}
8117 enable_kernel32
=${enable_kernel32:-no}
8118 enable_msvcrt
=${enable_msvcrt:-no}
8119 enable_ntdll
=${enable_ntdll:-no}
8120 enable_ws2_32
=${enable_ws2_32:-no}
8121 enable_loader
=${enable_loader:-no}
8122 enable_server
=${enable_server:-no}
8123 with_x
=${with_x:-no}
8124 with_pthread
=${with_pthread:-no}
8130 SOCKET_LIBS
="-lws2_32"
8134 LIBWINE_SHAREDLIB
="libwine.dll"
8136 LIBWINE_IMPORTLIB
="libwine.a"
8138 LIBWINE_INSTALL_LIB
="libwine.dll"
8140 LIBWINE_INSTALL_DEV
="libwine.a"
8142 LIBWINE_LDFLAGS
="-shared \$(srcdir)/wine.def"
8144 LIBWINE_DEPENDS
="wine.def"
8149 for ac_header
in libunwind.h
8151 ac_fn_c_check_header_mongrel
"$LINENO" "libunwind.h" "ac_cv_header_libunwind_h" "$ac_includes_default"
8152 if test "x$ac_cv_header_libunwind_h" = xyes
; then :
8153 cat >>confdefs.h
<<_ACEOF
8154 #define HAVE_LIBUNWIND_H 1
8162 DLLFLAGS
="$DLLFLAGS -fPIC"
8163 LDRPATH_INSTALL
="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8164 LDRPATH_LOCAL
="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
8165 COREFOUNDATION_LIBS
="-framework CoreFoundation"
8167 IOKIT_LIBS
="-framework IOKit -framework CoreFoundation"
8169 FORCEFEEDBACK_LIBS
="-framework ForceFeedback -framework CoreFoundation"
8171 APPLICATIONSERVICES_LIBS
="-framework ApplicationServices"
8173 CORESERVICES_LIBS
="-framework CoreServices"
8175 APPKIT_LIBS
="-framework AppKit"
8177 WINELOADER_LDFLAGS
="-image_base 0x7bf00000 -Wl,-pagezero_size,0x1000,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
8178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
8179 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
8180 if ${ac_cv_cflags__Wl__no_pie+:} false
; then :
8181 $as_echo_n "(cached) " >&6
8183 ac_wine_try_cflags_saved
=$CFLAGS
8184 CFLAGS
="$CFLAGS -Wl,-no_pie"
8185 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8186 /* end confdefs.h. */
8187 int main(int argc, char **argv) { return 0; }
8189 if ac_fn_c_try_link
"$LINENO"; then :
8190 ac_cv_cflags__Wl__no_pie
=yes
8192 ac_cv_cflags__Wl__no_pie
=no
8194 rm -f core conftest.err conftest.
$ac_objext \
8195 conftest
$ac_exeext conftest.
$ac_ext
8196 CFLAGS
=$ac_wine_try_cflags_saved
8198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
8199 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
8200 if test "x$ac_cv_cflags__Wl__no_pie" = xyes
; then :
8201 WINELOADER_LDFLAGS
="-Wl,-no_pie $WINELOADER_LDFLAGS"
8203 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8205 DISKARBITRATION_LIBS
="-framework DiskArbitration -framework CoreFoundation"
8208 if test "$ac_cv_header_Security_Security_h" = "yes"
8210 SECURITY_LIBS
="-framework Security -framework CoreFoundation"
8212 ac_save_LIBS
="$LIBS"
8213 LIBS
="$LIBS $SECURITY_LIBS"
8214 for ac_func
in SSLCopyPeerCertificates
8216 ac_fn_c_check_func
"$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
8217 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes
; then :
8218 cat >>confdefs.h
<<_ACEOF
8219 #define HAVE_SSLCOPYPEERCERTIFICATES 1
8225 LIBS
="$ac_save_LIBS"
8226 with_gnutls
=${with_gnutls:-no}
8228 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8230 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
8232 COREAUDIO_LIBS
="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
8235 COREAUDIO_LIBS
="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8238 enable_winecoreaudio_drv
=${enable_winecoreaudio_drv:-yes}
8239 ac_save_LIBS
="$LIBS"
8240 LIBS
="$LIBS $COREAUDIO_LIBS"
8241 for ac_func
in AUGraphAddNode
8243 ac_fn_c_check_func
"$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
8244 if test "x$ac_cv_func_AUGraphAddNode" = xyes
; then :
8245 cat >>confdefs.h
<<_ACEOF
8246 #define HAVE_AUGRAPHADDNODE 1
8252 LIBS
="$ac_save_LIBS"
8254 if test "$ac_cv_header_OpenAL_al_h" = "yes"
8256 OPENAL_LIBS
="-framework OpenAL"
8259 cat >>confdefs.h
<<_ACEOF
8260 #define HAVE_OPENAL 1
8263 ac_cv_lib_openal
=yes
8265 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
8267 OPENCL_LIBS
="-framework OpenCL"
8269 ac_cv_lib_OpenCL_clGetPlatformInfo
=yes
8271 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
8273 ac_save_LIBS
="$LIBS"
8274 LIBS
="$LIBS $IOKIT_LIBS"
8275 for ac_func
in IOHIDManagerCreate
8277 ac_fn_c_check_func
"$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
8278 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes
; then :
8279 cat >>confdefs.h
<<_ACEOF
8280 #define HAVE_IOHIDMANAGERCREATE 1
8286 LIBS
="$ac_save_LIBS"
8288 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
8290 ac_save_LIBS
="$LIBS"
8291 LIBS
="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
8292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
8293 $as_echo_n "checking for the QuickTime framework... " >&6; }
8294 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8295 /* end confdefs.h. */
8296 #include <QuickTime/ImageCompression.h>
8300 CodecManagerVersion(NULL);
8305 if ac_fn_c_try_link
"$LINENO"; then :
8306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8307 $as_echo "yes" >&6; }
8308 QUICKTIME_LIBS
="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
8310 enable_wineqtdecoder
=${enable_wineqtdecoder:-yes}
8312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8313 $as_echo "no" >&6; }
8314 ac_cv_header_QuickTime_ImageCompression_h
=no
8316 rm -f core conftest.err conftest.
$ac_objext \
8317 conftest
$ac_exeext conftest.
$ac_ext
8318 LIBS
="$ac_save_LIBS"
8320 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"
8322 as_fn_append wine_notices
"|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
8324 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8326 CARBON_LIBS
="-framework Carbon"
8330 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
8332 ac_save_LIBS
="$LIBS"
8333 LIBS
="$LIBS $APPLICATIONSERVICES_LIBS"
8334 ac_fn_c_check_func
"$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
8335 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes
; then :
8336 enable_winemac_drv
=${enable_winemac_drv:-yes}
8339 LIBS
="$ac_save_LIBS"
8342 if test "x$enable_win16" = "xyes"
8344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
8345 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
8346 if test "$cross_compiling" = yes; then :
8347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
8348 $as_echo "cross-compiling, assuming yes" >&6; }
8350 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8351 /* end confdefs.h. */
8354 "good:\tnop;nop\n\t"
8355 ".globl _testfunc\n"
8356 "_testfunc:\tcallw good");
8357 extern void testfunc();
8361 unsigned short *p = (unsigned short *)testfunc;
8362 return p[0] != 0xe866 || p[1] != 0xfffa
8367 if ac_fn_c_try_run
"$LINENO"; then :
8368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8369 $as_echo "yes" >&6; }
8371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8372 $as_echo "no" >&6; }
8373 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
8375 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
8376 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
8381 LIBWINE_SHAREDLIB
="libwine.$libwine_version.dylib"
8383 LIBWINE_INSTALL_LIB
="libwine.$libwine_version.dylib libwine.$libwine_soversion.dylib"
8385 LIBWINE_INSTALL_DEV
="libwine.dylib"
8387 LIBWINE_LDFLAGS
="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
8389 WINELOADER_DEPENDS
="wine_info.plist"
8394 DLLFLAGS
="$DLLFLAGS -fPIC"
8395 LDEXECFLAGS
="-Wl,-pie"
8396 enable_wineandroid_drv
=${enable_wineandroid_drv:-yes}
8397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8398 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8399 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false
; then :
8400 $as_echo_n "(cached) " >&6
8402 ac_wine_try_cflags_saved
=$CFLAGS
8403 CFLAGS
="$CFLAGS -fPIC -Wl,--export-dynamic"
8404 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8405 /* end confdefs.h. */
8406 int main(int argc, char **argv) { return 0; }
8408 if ac_fn_c_try_link
"$LINENO"; then :
8409 ac_cv_cflags__fPIC__Wl___export_dynamic
=yes
8411 ac_cv_cflags__fPIC__Wl___export_dynamic
=no
8413 rm -f core conftest.err conftest.
$ac_objext \
8414 conftest
$ac_exeext conftest.
$ac_ext
8415 CFLAGS
=$ac_wine_try_cflags_saved
8417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8418 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8419 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes
; then :
8420 WINELOADER_LDFLAGS
="-Wl,--export-dynamic"
8422 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8424 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8425 if eval \
${$as_ac_var+:} false
; then :
8426 $as_echo_n "(cached) " >&6
8428 ac_wine_try_cflags_saved
=$CFLAGS
8429 CFLAGS
="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8430 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8431 /* end confdefs.h. */
8432 int main(int argc, char **argv) { return 0; }
8434 if ac_fn_c_try_link
"$LINENO"; then :
8435 eval "$as_ac_var=yes"
8437 eval "$as_ac_var=no"
8439 rm -f core conftest.err conftest.
$ac_objext \
8440 conftest
$ac_exeext conftest.
$ac_ext
8441 CFLAGS
=$ac_wine_try_cflags_saved
8443 eval ac_res
=\$
$as_ac_var
8444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8445 $as_echo "$ac_res" >&6; }
8446 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
8447 LDRPATH_INSTALL
="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8448 LDRPATH_LOCAL
="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8450 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8452 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8453 if eval \
${$as_ac_var+:} false
; then :
8454 $as_echo_n "(cached) " >&6
8456 ac_wine_try_cflags_saved
=$CFLAGS
8457 CFLAGS
="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8458 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8459 /* end confdefs.h. */
8460 int main(int argc, char **argv) { return 0; }
8462 if ac_fn_c_try_link
"$LINENO"; then :
8463 eval "$as_ac_var=yes"
8465 eval "$as_ac_var=no"
8467 rm -f core conftest.err conftest.
$ac_objext \
8468 conftest
$ac_exeext conftest.
$ac_ext
8469 CFLAGS
=$ac_wine_try_cflags_saved
8471 eval ac_res
=\$
$as_ac_var
8472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8473 $as_echo "$ac_res" >&6; }
8474 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
8475 LDRPATH_INSTALL
="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8476 LDRPATH_LOCAL
="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8480 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8481 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false
; then :
8482 $as_echo_n "(cached) " >&6
8484 ac_wine_try_cflags_saved
=$CFLAGS
8485 CFLAGS
="$CFLAGS -Wl,--enable-new-dtags"
8486 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8487 /* end confdefs.h. */
8488 int main(int argc, char **argv) { return 0; }
8490 if ac_fn_c_try_link
"$LINENO"; then :
8491 ac_cv_cflags__Wl___enable_new_dtags
=yes
8493 ac_cv_cflags__Wl___enable_new_dtags
=no
8495 rm -f core conftest.err conftest.
$ac_objext \
8496 conftest
$ac_exeext conftest.
$ac_ext
8497 CFLAGS
=$ac_wine_try_cflags_saved
8499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8500 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8501 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes
; then :
8502 LDRPATH_INSTALL
="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8505 LIBWINE_SHAREDLIB
="libwine.so"
8507 LIBWINE_INSTALL_LIB
="libwine.so"
8509 LIBWINE_LDFLAGS
="-shared -Wl,-soname,libwine.so"
8512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
8513 $as_echo_n "checking for -lEGL... " >&6; }
8514 if ${ac_cv_lib_soname_EGL+:} false
; then :
8515 $as_echo_n "(cached) " >&6
8517 ac_check_soname_save_LIBS
=$LIBS
8519 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8520 /* end confdefs.h. */
8522 /* Override any GCC internal prototype to avoid an error.
8523 Use char because int might match the return type of a GCC
8524 builtin and then its argument prototype would still apply. */
8528 char eglGetProcAddress ();
8532 return eglGetProcAddress ();
8537 if ac_fn_c_try_link
"$LINENO"; then :
8539 dll
) ac_cv_lib_soname_EGL
=`$ac_cv_path_LDD conftest.exe | grep "EGL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8540 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'` ;;
8541 *) ac_cv_lib_soname_EGL
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libEGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
8542 if ${ac_cv_lib_soname_EGL:+false} :; then :
8543 ac_cv_lib_soname_EGL
=`$LDD conftest$ac_exeext | grep "libEGL\\.$LIBEXT" | sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
8547 rm -f core conftest.err conftest.
$ac_objext \
8548 conftest
$ac_exeext conftest.
$ac_ext
8549 LIBS
=$ac_check_soname_save_LIBS
8551 if ${ac_cv_lib_soname_EGL:+false} :; then :
8552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8553 $as_echo "not found" >&6; }
8556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
8557 $as_echo "$ac_cv_lib_soname_EGL" >&6; }
8559 cat >>confdefs.h
<<_ACEOF
8560 #define SONAME_LIBEGL "$ac_cv_lib_soname_EGL"
8565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
8566 $as_echo_n "checking for -lGLESv2... " >&6; }
8567 if ${ac_cv_lib_soname_GLESv2+:} false
; then :
8568 $as_echo_n "(cached) " >&6
8570 ac_check_soname_save_LIBS
=$LIBS
8571 LIBS
="-lGLESv2 $LIBS"
8572 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8573 /* end confdefs.h. */
8575 /* Override any GCC internal prototype to avoid an error.
8576 Use char because int might match the return type of a GCC
8577 builtin and then its argument prototype would still apply. */
8590 if ac_fn_c_try_link
"$LINENO"; then :
8592 dll
) ac_cv_lib_soname_GLESv2
=`$ac_cv_path_LDD conftest.exe | grep "GLESv2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8593 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'` ;;
8594 *) ac_cv_lib_soname_GLESv2
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLESv2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
8595 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
8596 ac_cv_lib_soname_GLESv2
=`$LDD conftest$ac_exeext | grep "libGLESv2\\.$LIBEXT" | sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
8600 rm -f core conftest.err conftest.
$ac_objext \
8601 conftest
$ac_exeext conftest.
$ac_ext
8602 LIBS
=$ac_check_soname_save_LIBS
8604 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
8605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8606 $as_echo "not found" >&6; }
8609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
8610 $as_echo "$ac_cv_lib_soname_GLESv2" >&6; }
8612 cat >>confdefs.h
<<_ACEOF
8613 #define SONAME_LIBGLESV2 "$ac_cv_lib_soname_GLESv2"
8619 if test "x$exec_prefix" = xNONE
8622 *i
[3456]86*) exec_prefix
='${prefix}/x86' ;;
8623 *x86_64
*) exec_prefix
='${prefix}/x86_64' ;;
8624 *arm
*) exec_prefix
='${prefix}/armeabi-v7a' ;;
8625 *aarch64
*) exec_prefix
='${prefix}/arm64-v8a' ;;
8631 DLLFLAGS
="$DLLFLAGS -fPIC"
8632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
8633 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
8634 if ${ac_cv_c_dll_gnuelf+:} false
; then :
8635 $as_echo_n "(cached) " >&6
8637 ac_wine_try_cflags_saved
=$CFLAGS
8638 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8639 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8640 /* end confdefs.h. */
8643 if ac_fn_c_try_link
"$LINENO"; then :
8644 ac_cv_c_dll_gnuelf
="yes"
8646 ac_cv_c_dll_gnuelf
="no"
8648 rm -f core conftest.err conftest.
$ac_objext \
8649 conftest
$ac_exeext conftest.
$ac_ext
8650 CFLAGS
=$ac_wine_try_cflags_saved
8652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
8653 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
8654 if test "$ac_cv_c_dll_gnuelf" = "yes"
8656 LIBWINE_LDFLAGS
="-shared"
8657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8658 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
8659 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false
; then :
8660 $as_echo_n "(cached) " >&6
8662 ac_wine_try_cflags_saved
=$CFLAGS
8663 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8664 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8665 /* end confdefs.h. */
8666 int main(int argc, char **argv) { return 0; }
8668 if ac_fn_c_try_link
"$LINENO"; then :
8669 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1
=yes
8671 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1
=no
8673 rm -f core conftest.err conftest.
$ac_objext \
8674 conftest
$ac_exeext conftest.
$ac_ext
8675 CFLAGS
=$ac_wine_try_cflags_saved
8677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8678 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8679 if test "x$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" = xyes
; then :
8680 LIBWINE_LDFLAGS
="-shared -Wl,-soname,libwine.so.$libwine_soversion"
8682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8683 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
8684 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false
; then :
8685 $as_echo_n "(cached) " >&6
8687 ac_wine_try_cflags_saved
=$CFLAGS
8688 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8689 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8690 /* end confdefs.h. */
8691 int main(int argc, char **argv) { return 0; }
8693 if ac_fn_c_try_link
"$LINENO"; then :
8694 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1
=yes
8696 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1
=no
8698 rm -f core conftest.err conftest.
$ac_objext \
8699 conftest
$ac_exeext conftest.
$ac_ext
8700 CFLAGS
=$ac_wine_try_cflags_saved
8702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8703 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8704 if test "x$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" = xyes
; then :
8705 LIBWINE_LDFLAGS
="-shared -Wl,-h,libwine.so.$libwine_soversion"
8709 echo '{ global: *; };' >conftest.map
8710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8711 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
8712 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false
; then :
8713 $as_echo_n "(cached) " >&6
8715 ac_wine_try_cflags_saved
=$CFLAGS
8716 CFLAGS
="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8717 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8718 /* end confdefs.h. */
8719 int main(int argc, char **argv) { return 0; }
8721 if ac_fn_c_try_link
"$LINENO"; then :
8722 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map
=yes
8724 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map
=no
8726 rm -f core conftest.err conftest.
$ac_objext \
8727 conftest
$ac_exeext conftest.
$ac_ext
8728 CFLAGS
=$ac_wine_try_cflags_saved
8730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8731 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8732 if test "x$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" = xyes
; then :
8733 LIBWINE_LDFLAGS
="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
8737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8738 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8739 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false
; then :
8740 $as_echo_n "(cached) " >&6
8742 ac_wine_try_cflags_saved
=$CFLAGS
8743 CFLAGS
="$CFLAGS -fPIC -Wl,--export-dynamic"
8744 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8745 /* end confdefs.h. */
8746 int main(int argc, char **argv) { return 0; }
8748 if ac_fn_c_try_link
"$LINENO"; then :
8749 ac_cv_cflags__fPIC__Wl___export_dynamic
=yes
8751 ac_cv_cflags__fPIC__Wl___export_dynamic
=no
8753 rm -f core conftest.err conftest.
$ac_objext \
8754 conftest
$ac_exeext conftest.
$ac_ext
8755 CFLAGS
=$ac_wine_try_cflags_saved
8757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8758 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8759 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes
; then :
8760 WINELOADER_LDFLAGS
="-Wl,--export-dynamic"
8763 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8765 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8766 if eval \
${$as_ac_var+:} false
; then :
8767 $as_echo_n "(cached) " >&6
8769 ac_wine_try_cflags_saved
=$CFLAGS
8770 CFLAGS
="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8771 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8772 /* end confdefs.h. */
8773 int main(int argc, char **argv) { return 0; }
8775 if ac_fn_c_try_link
"$LINENO"; then :
8776 eval "$as_ac_var=yes"
8778 eval "$as_ac_var=no"
8780 rm -f core conftest.err conftest.
$ac_objext \
8781 conftest
$ac_exeext conftest.
$ac_ext
8782 CFLAGS
=$ac_wine_try_cflags_saved
8784 eval ac_res
=\$
$as_ac_var
8785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8786 $as_echo "$ac_res" >&6; }
8787 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
8788 LDRPATH_INSTALL
="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8789 LDRPATH_LOCAL
="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8791 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8793 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8794 if eval \
${$as_ac_var+:} false
; then :
8795 $as_echo_n "(cached) " >&6
8797 ac_wine_try_cflags_saved
=$CFLAGS
8798 CFLAGS
="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8799 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8800 /* end confdefs.h. */
8801 int main(int argc, char **argv) { return 0; }
8803 if ac_fn_c_try_link
"$LINENO"; then :
8804 eval "$as_ac_var=yes"
8806 eval "$as_ac_var=no"
8808 rm -f core conftest.err conftest.
$ac_objext \
8809 conftest
$ac_exeext conftest.
$ac_ext
8810 CFLAGS
=$ac_wine_try_cflags_saved
8812 eval ac_res
=\$
$as_ac_var
8813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8814 $as_echo "$ac_res" >&6; }
8815 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
8816 LDRPATH_INSTALL
="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8817 LDRPATH_LOCAL
="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8822 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8823 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false
; then :
8824 $as_echo_n "(cached) " >&6
8826 ac_wine_try_cflags_saved
=$CFLAGS
8827 CFLAGS
="$CFLAGS -Wl,--enable-new-dtags"
8828 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8829 /* end confdefs.h. */
8830 int main(int argc, char **argv) { return 0; }
8832 if ac_fn_c_try_link
"$LINENO"; then :
8833 ac_cv_cflags__Wl___enable_new_dtags
=yes
8835 ac_cv_cflags__Wl___enable_new_dtags
=no
8837 rm -f core conftest.err conftest.
$ac_objext \
8838 conftest
$ac_exeext conftest.
$ac_ext
8839 CFLAGS
=$ac_wine_try_cflags_saved
8841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8842 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8843 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes
; then :
8844 LDRPATH_INSTALL
="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8848 *i
[3456789]86* | x86_64
)
8849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
8850 $as_echo_n "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
8851 if ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+:} false
; then :
8852 $as_echo_n "(cached) " >&6
8854 ac_wine_try_cflags_saved
=$CFLAGS
8855 CFLAGS
="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
8856 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8857 /* end confdefs.h. */
8858 int main(int argc, char **argv) { return 0; }
8860 if ac_fn_c_try_link
"$LINENO"; then :
8861 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000
=yes
8863 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000
=no
8865 rm -f core conftest.err conftest.
$ac_objext \
8866 conftest
$ac_exeext conftest.
$ac_ext
8867 CFLAGS
=$ac_wine_try_cflags_saved
8869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
8870 $as_echo "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
8871 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes
; then :
8873 freebsd
* | kfreebsd
*-gnu) WINELOADER_LDFLAGS
="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x60000000" ;;
8874 *) WINELOADER_LDFLAGS
="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x7c000000" ;;
8877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400" >&5
8878 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400... " >&6; }
8879 if ${ac_cv_cflags__Wl___section_start__interp_0x7c000400+:} false
; then :
8880 $as_echo_n "(cached) " >&6
8882 ac_wine_try_cflags_saved
=$CFLAGS
8883 CFLAGS
="$CFLAGS -Wl,--section-start,.interp=0x7c000400"
8884 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8885 /* end confdefs.h. */
8886 int main(int argc, char **argv) { return 0; }
8888 if ac_fn_c_try_link
"$LINENO"; then :
8889 ac_cv_cflags__Wl___section_start__interp_0x7c000400
=yes
8891 ac_cv_cflags__Wl___section_start__interp_0x7c000400
=no
8893 rm -f core conftest.err conftest.
$ac_objext \
8894 conftest
$ac_exeext conftest.
$ac_ext
8895 CFLAGS
=$ac_wine_try_cflags_saved
8897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&5
8898 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&6; }
8899 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7c000400" = xyes
; then :
8901 freebsd
* | kfreebsd
*-gnu) WINELOADER_LDFLAGS
="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x60000400" ;;
8902 *) WINELOADER_LDFLAGS
="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x7c000400" ;;
8905 # Extract the first word of "prelink", so it can be a program name with args.
8906 set dummy prelink
; ac_word
=$2
8907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8908 $as_echo_n "checking for $ac_word... " >&6; }
8909 if ${ac_cv_path_PRELINK+:} false
; then :
8910 $as_echo_n "(cached) " >&6
8914 ac_cv_path_PRELINK
="$PRELINK" # Let the user override the test with a path.
8917 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8918 for as_dir
in /sbin
/usr
/sbin
$PATH
8921 test -z "$as_dir" && as_dir
=.
8922 for ac_exec_ext
in '' $ac_executable_extensions; do
8923 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8924 ac_cv_path_PRELINK
="$as_dir/$ac_word$ac_exec_ext"
8925 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8932 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK
="false"
8936 PRELINK
=$ac_cv_path_PRELINK
8937 if test -n "$PRELINK"; then
8938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
8939 $as_echo "$PRELINK" >&6; }
8941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8942 $as_echo "no" >&6; }
8946 if test "x$PRELINK" = xfalse
8948 as_fn_append wine_warnings
"|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
8951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
8952 $as_echo_n "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
8953 if ${ac_cv_cflags__Wl__z_max_page_size_0x1000+:} false
; then :
8954 $as_echo_n "(cached) " >&6
8956 ac_wine_try_cflags_saved
=$CFLAGS
8957 CFLAGS
="$CFLAGS -Wl,-z,max-page-size=0x1000"
8958 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8959 /* end confdefs.h. */
8960 int main(int argc, char **argv) { return 0; }
8962 if ac_fn_c_try_link
"$LINENO"; then :
8963 ac_cv_cflags__Wl__z_max_page_size_0x1000
=yes
8965 ac_cv_cflags__Wl__z_max_page_size_0x1000
=no
8967 rm -f core conftest.err conftest.
$ac_objext \
8968 conftest
$ac_exeext conftest.
$ac_ext
8969 CFLAGS
=$ac_wine_try_cflags_saved
8971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
8972 $as_echo "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
8973 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes
; then :
8974 WINELOADER_LDFLAGS
="$WINELOADER_LDFLAGS -Wl,-z,max-page-size=0x1000"
8980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
8981 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
8982 if ${ac_cv_c_dll_unixware+:} false
; then :
8983 $as_echo_n "(cached) " >&6
8985 ac_wine_try_cflags_saved
=$CFLAGS
8986 CFLAGS
="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
8987 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8988 /* end confdefs.h. */
8991 if ac_fn_c_try_link
"$LINENO"; then :
8992 ac_cv_c_dll_unixware
="yes"
8994 ac_cv_c_dll_unixware
="no"
8996 rm -f core conftest.err conftest.
$ac_objext \
8997 conftest
$ac_exeext conftest.
$ac_ext
8998 CFLAGS
=$ac_wine_try_cflags_saved
9000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
9001 $as_echo "$ac_cv_c_dll_unixware" >&6; }
9002 if test "$ac_cv_c_dll_unixware" = "yes"
9004 LIBWINE_LDFLAGS
="-Wl,-G,-h,libwine.so.$libwine_soversion"
9007 LIBWINE_SHAREDLIB
="libwine.so.$libwine_version"
9009 LIBWINE_INSTALL_LIB
="libwine.so.$libwine_version libwine.so.$libwine_soversion"
9011 LIBWINE_INSTALL_DEV
="libwine.so"
9013 LIBWINE_DEPENDS
="wine.map"
9018 enable_winecoreaudio_drv
=${enable_winecoreaudio_drv:-no}
9019 enable_wineqtdecoder
=${enable_wineqtdecoder:-no}
9020 enable_wineandroid_drv
=${enable_wineandroid_drv:-no}
9021 enable_winemac_drv
=${enable_winemac_drv:-no}
9022 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv
=${enable_winejoystick_drv:-no}
9026 if test "x$enable_tests" != xno
-a "$LIBEXT" != "dll"
9030 ac_prefix_list
="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc" ;;
9032 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
9033 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
9036 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
9037 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang " ;;
9039 ac_prefix_list
="" ;;
9041 for ac_prog
in $ac_prefix_list
9043 # Extract the first word of "$ac_prog", so it can be a program name with args.
9044 set dummy
$ac_prog; ac_word
=$2
9045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9046 $as_echo_n "checking for $ac_word... " >&6; }
9047 if ${ac_cv_prog_CROSSCC+:} false
; then :
9048 $as_echo_n "(cached) " >&6
9050 if test -n "$CROSSCC"; then
9051 ac_cv_prog_CROSSCC
="$CROSSCC" # Let the user override the test.
9053 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9057 test -z "$as_dir" && as_dir
=.
9058 for ac_exec_ext
in '' $ac_executable_extensions; do
9059 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9060 ac_cv_prog_CROSSCC
="$ac_prog"
9061 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9070 CROSSCC
=$ac_cv_prog_CROSSCC
9071 if test -n "$CROSSCC"; then
9072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
9073 $as_echo "$CROSSCC" >&6; }
9075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9076 $as_echo "no" >&6; }
9080 test -n "$CROSSCC" && break
9082 test -n "$CROSSCC" || CROSSCC
="false"
9084 if test "$CROSSCC" != "false"
9088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
9089 $as_echo_n "checking whether $CROSSCC works... " >&6; }
9090 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9091 /* end confdefs.h. */
9101 if ac_fn_c_try_compile
"$LINENO"; then :
9102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9103 $as_echo "yes" >&6; }
9109 *-gcc) CROSSTARGET
=`expr "$1" : '\(.*\)-gcc'` ;;
9110 *-clang) CROSSTARGET
=`expr "$1" : '\(.*\)-clang'` ;;
9115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9116 $as_echo "no" >&6; }
9118 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9120 CROSSCFLAGS
=${CROSSCFLAGS:-$CFLAGS}
9126 if test "$ac_cv_header_pthread_h" = "yes"
9128 ac_fn_c_check_func
"$LINENO" "pthread_create" "ac_cv_func_pthread_create"
9129 if test "x$ac_cv_func_pthread_create" = xyes
; then :
9132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
9133 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
9134 if ${ac_cv_lib_pthread_pthread_create+:} false
; then :
9135 $as_echo_n "(cached) " >&6
9137 ac_check_lib_save_LIBS
=$LIBS
9138 LIBS
="-lpthread $LIBS"
9139 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9140 /* end confdefs.h. */
9142 /* Override any GCC internal prototype to avoid an error.
9143 Use char because int might match the return type of a GCC
9144 builtin and then its argument prototype would still apply. */
9148 char pthread_create ();
9152 return pthread_create ();
9157 if ac_fn_c_try_link
"$LINENO"; then :
9158 ac_cv_lib_pthread_pthread_create
=yes
9160 ac_cv_lib_pthread_pthread_create
=no
9162 rm -f core conftest.err conftest.
$ac_objext \
9163 conftest
$ac_exeext conftest.
$ac_ext
9164 LIBS
=$ac_check_lib_save_LIBS
9166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
9167 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
9168 if test "x$ac_cv_lib_pthread_pthread_create" = xyes
; then :
9169 PTHREAD_LIBS
="-lpthread"
9176 if test "x$ac_cv_func_pthread_create" != xyes
-a "x$PTHREAD_LIBS" = x
; then :
9177 case "x$with_pthread" in
9179 *) as_fn_error $?
"pthread ${notice_platform}development files not found.
9180 Wine cannot support threads without libpthread.
9181 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
9187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
9188 $as_echo_n "checking for X... " >&6; }
9191 # Check whether --with-x was given.
9192 if test "${with_x+set}" = set; then :
9196 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
9197 if test "x$with_x" = xno
; then
9198 # The user explicitly disabled X.
9201 case $x_includes,$x_libraries in #(
9202 *\'*) as_fn_error $?
"cannot use X directory names containing '" "$LINENO" 5;; #(
9203 *,NONE | NONE
,*) if ${ac_cv_have_x+:} false
; then :
9204 $as_echo_n "(cached) " >&6
9206 # One or both of the vars are not set, and there is no cached value.
9207 ac_x_includes
=no ac_x_libraries
=no
9208 rm -f -r conftest.dir
9209 if mkdir conftest.dir
; then
9211 cat >Imakefile
<<'_ACEOF'
9213 @echo incroot='${INCROOT}'
9215 @echo usrlibdir='${USRLIBDIR}'
9217 @echo libdir='${LIBDIR}'
9219 if (export CC
; ${XMKMF-xmkmf}) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
9220 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
9221 for ac_var
in incroot usrlibdir libdir
; do
9222 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
9224 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
9225 for ac_extension
in a so sl dylib la dll
; do
9226 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
9227 test -f "$ac_im_libdir/libX11.$ac_extension"; then
9228 ac_im_usrlibdir
=$ac_im_libdir; break
9231 # Screen out bogus values from the imake configuration. They are
9232 # bogus both because they are the default anyway, and because
9233 # using them would break gcc on systems where it needs fixed includes.
9234 case $ac_im_incroot in
9235 /usr
/include
) ac_x_includes
= ;;
9236 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
9238 case $ac_im_usrlibdir in
9239 /usr
/lib |
/usr
/lib64 |
/lib |
/lib64
) ;;
9240 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
9244 rm -f -r conftest.dir
9247 # Standard set of common directories for X headers.
9248 # Check X11 before X11Rn because it is often a symlink to the current release.
9262 /usr/local/X11/include
9263 /usr/local/X11R7/include
9264 /usr/local/X11R6/include
9265 /usr/local/X11R5/include
9266 /usr/local/X11R4/include
9268 /usr/local/include/X11
9269 /usr/local/include/X11R7
9270 /usr/local/include/X11R6
9271 /usr/local/include/X11R5
9272 /usr/local/include/X11R4
9276 /usr/XFree86/include/X11
9280 /usr/unsupported/include
9282 /usr/local/x11r5/include
9283 /usr/lpp/Xamples/include
9285 /usr/openwin/include
9286 /usr/openwin/share/include'
9288 if test "$ac_x_includes" = no
; then
9289 # Guess where to find include files, by looking for Xlib.h.
9290 # First, try using that file with no special directory specified.
9291 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9292 /* end confdefs.h. */
9293 #include <X11/Xlib.h>
9295 if ac_fn_c_try_cpp
"$LINENO"; then :
9296 # We can compile using X headers with no special include directory.
9299 for ac_dir
in $ac_x_header_dirs; do
9300 if test -r "$ac_dir/X11/Xlib.h"; then
9301 ac_x_includes
=$ac_dir
9306 rm -f conftest.err conftest.i conftest.
$ac_ext
9307 fi # $ac_x_includes = no
9309 if test "$ac_x_libraries" = no
; then
9310 # Check for the libraries.
9311 # See if we find them without any special options.
9312 # Don't add to $LIBS permanently.
9315 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9316 /* end confdefs.h. */
9317 #include <X11/Xlib.h>
9326 if ac_fn_c_try_link
"$LINENO"; then :
9328 # We can link X programs with no special library path.
9332 for ac_dir
in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
9334 # Don't even attempt the hair of trying to link an X program!
9335 for ac_extension
in a so sl dylib la dll
; do
9336 if test -r "$ac_dir/libX11.$ac_extension"; then
9337 ac_x_libraries
=$ac_dir
9343 rm -f core conftest.err conftest.
$ac_objext \
9344 conftest
$ac_exeext conftest.
$ac_ext
9345 fi # $ac_x_libraries = no
9347 case $ac_x_includes,$ac_x_libraries in #(
9349 # Didn't find X, or a directory has "'" in its name.
9350 ac_cv_have_x
="have_x=no";; #(
9352 # Record where we found X for the cache.
9353 ac_cv_have_x
="have_x=yes\
9354 ac_x_includes='$ac_x_includes'\
9355 ac_x_libraries='$ac_x_libraries'"
9361 eval "$ac_cv_have_x"
9364 if test "$have_x" != yes; then
9365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
9366 $as_echo "$have_x" >&6; }
9369 # If each of the values was on the command line, it overrides each guess.
9370 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
9371 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
9372 # Update the cache value to reflect the command line values.
9373 ac_cv_have_x
="have_x=yes\
9374 ac_x_includes='$x_includes'\
9375 ac_x_libraries='$x_libraries'"
9376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
9377 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
9380 if test "$no_x" = yes; then
9381 # Not all programs may use this symbol, but it does not hurt to define it.
9383 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
9385 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
9387 if test -n "$x_includes"; then
9388 X_CFLAGS
="$X_CFLAGS -I$x_includes"
9391 # It would also be nice to do this for all -L options, not just this one.
9392 if test -n "$x_libraries"; then
9393 X_LIBS
="$X_LIBS -L$x_libraries"
9394 # For Solaris; some versions of Sun CC require a space after -R and
9395 # others require no space. Words are not sufficient . . . .
9396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
9397 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
9398 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
9399 ac_xsave_c_werror_flag
=$ac_c_werror_flag
9400 ac_c_werror_flag
=yes
9401 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9402 /* end confdefs.h. */
9412 if ac_fn_c_try_link
"$LINENO"; then :
9413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9414 $as_echo "no" >&6; }
9415 X_LIBS
="$X_LIBS -R$x_libraries"
9417 LIBS
="$ac_xsave_LIBS -R $x_libraries"
9418 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9419 /* end confdefs.h. */
9429 if ac_fn_c_try_link
"$LINENO"; then :
9430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9431 $as_echo "yes" >&6; }
9432 X_LIBS
="$X_LIBS -R $x_libraries"
9434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
9435 $as_echo "neither works" >&6; }
9437 rm -f core conftest.err conftest.
$ac_objext \
9438 conftest
$ac_exeext conftest.
$ac_ext
9440 rm -f core conftest.err conftest.
$ac_objext \
9441 conftest
$ac_exeext conftest.
$ac_ext
9442 ac_c_werror_flag
=$ac_xsave_c_werror_flag
9446 # Check for system-dependent libraries X programs must link with.
9447 # Do this before checking for the system-independent R6 libraries
9448 # (-lICE), since we may need -lsocket or whatever for X linking.
9450 if test "$ISC" = yes; then
9451 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
9453 # Martyn Johnson says this is needed for Ultrix, if the X
9454 # libraries were built with DECnet support. And Karl Berry says
9455 # the Alpha needs dnet_stub (dnet does not exist).
9456 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
9457 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9458 /* end confdefs.h. */
9460 /* Override any GCC internal prototype to avoid an error.
9461 Use char because int might match the return type of a GCC
9462 builtin and then its argument prototype would still apply. */
9466 char XOpenDisplay ();
9470 return XOpenDisplay ();
9475 if ac_fn_c_try_link
"$LINENO"; then :
9478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
9479 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
9480 if ${ac_cv_lib_dnet_dnet_ntoa+:} false
; then :
9481 $as_echo_n "(cached) " >&6
9483 ac_check_lib_save_LIBS
=$LIBS
9485 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9486 /* end confdefs.h. */
9488 /* Override any GCC internal prototype to avoid an error.
9489 Use char because int might match the return type of a GCC
9490 builtin and then its argument prototype would still apply. */
9498 return dnet_ntoa ();
9503 if ac_fn_c_try_link
"$LINENO"; then :
9504 ac_cv_lib_dnet_dnet_ntoa
=yes
9506 ac_cv_lib_dnet_dnet_ntoa
=no
9508 rm -f core conftest.err conftest.
$ac_objext \
9509 conftest
$ac_exeext conftest.
$ac_ext
9510 LIBS
=$ac_check_lib_save_LIBS
9512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
9513 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
9514 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes
; then :
9515 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
9518 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
9519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
9520 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
9521 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false
; then :
9522 $as_echo_n "(cached) " >&6
9524 ac_check_lib_save_LIBS
=$LIBS
9525 LIBS
="-ldnet_stub $LIBS"
9526 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9527 /* end confdefs.h. */
9529 /* Override any GCC internal prototype to avoid an error.
9530 Use char because int might match the return type of a GCC
9531 builtin and then its argument prototype would still apply. */
9539 return dnet_ntoa ();
9544 if ac_fn_c_try_link
"$LINENO"; then :
9545 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
9547 ac_cv_lib_dnet_stub_dnet_ntoa
=no
9549 rm -f core conftest.err conftest.
$ac_objext \
9550 conftest
$ac_exeext conftest.
$ac_ext
9551 LIBS
=$ac_check_lib_save_LIBS
9553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
9554 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
9555 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes
; then :
9556 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
9561 rm -f core conftest.err conftest.
$ac_objext \
9562 conftest
$ac_exeext conftest.
$ac_ext
9563 LIBS
="$ac_xsave_LIBS"
9565 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
9566 # to get the SysV transport functions.
9567 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
9569 # The nsl library prevents programs from opening the X display
9570 # on Irix 5.2, according to T.E. Dickey.
9571 # The functions gethostbyname, getservbyname, and inet_addr are
9572 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
9573 ac_fn_c_check_func
"$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
9574 if test "x$ac_cv_func_gethostbyname" = xyes
; then :
9578 if test $ac_cv_func_gethostbyname = no
; then
9579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
9580 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
9581 if ${ac_cv_lib_nsl_gethostbyname+:} false
; then :
9582 $as_echo_n "(cached) " >&6
9584 ac_check_lib_save_LIBS
=$LIBS
9586 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9587 /* end confdefs.h. */
9589 /* Override any GCC internal prototype to avoid an error.
9590 Use char because int might match the return type of a GCC
9591 builtin and then its argument prototype would still apply. */
9595 char gethostbyname ();
9599 return gethostbyname ();
9604 if ac_fn_c_try_link
"$LINENO"; then :
9605 ac_cv_lib_nsl_gethostbyname
=yes
9607 ac_cv_lib_nsl_gethostbyname
=no
9609 rm -f core conftest.err conftest.
$ac_objext \
9610 conftest
$ac_exeext conftest.
$ac_ext
9611 LIBS
=$ac_check_lib_save_LIBS
9613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
9614 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
9615 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes
; then :
9616 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
9619 if test $ac_cv_lib_nsl_gethostbyname = no
; then
9620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
9621 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
9622 if ${ac_cv_lib_bsd_gethostbyname+:} false
; then :
9623 $as_echo_n "(cached) " >&6
9625 ac_check_lib_save_LIBS
=$LIBS
9627 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9628 /* end confdefs.h. */
9630 /* Override any GCC internal prototype to avoid an error.
9631 Use char because int might match the return type of a GCC
9632 builtin and then its argument prototype would still apply. */
9636 char gethostbyname ();
9640 return gethostbyname ();
9645 if ac_fn_c_try_link
"$LINENO"; then :
9646 ac_cv_lib_bsd_gethostbyname
=yes
9648 ac_cv_lib_bsd_gethostbyname
=no
9650 rm -f core conftest.err conftest.
$ac_objext \
9651 conftest
$ac_exeext conftest.
$ac_ext
9652 LIBS
=$ac_check_lib_save_LIBS
9654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
9655 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
9656 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes
; then :
9657 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
9663 # lieder@skyler.mavd.honeywell.com says without -lsocket,
9664 # socket/setsockopt and other routines are undefined under SCO ODT
9665 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
9666 # on later versions), says Simon Leinen: it contains gethostby*
9667 # variants that don't use the name server (or something). -lsocket
9668 # must be given before -lnsl if both are needed. We assume that
9669 # if connect needs -lnsl, so does gethostbyname.
9670 ac_fn_c_check_func
"$LINENO" "connect" "ac_cv_func_connect"
9671 if test "x$ac_cv_func_connect" = xyes
; then :
9675 if test $ac_cv_func_connect = no
; then
9676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
9677 $as_echo_n "checking for connect in -lsocket... " >&6; }
9678 if ${ac_cv_lib_socket_connect+:} false
; then :
9679 $as_echo_n "(cached) " >&6
9681 ac_check_lib_save_LIBS
=$LIBS
9682 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
9683 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9684 /* end confdefs.h. */
9686 /* Override any GCC internal prototype to avoid an error.
9687 Use char because int might match the return type of a GCC
9688 builtin and then its argument prototype would still apply. */
9701 if ac_fn_c_try_link
"$LINENO"; then :
9702 ac_cv_lib_socket_connect
=yes
9704 ac_cv_lib_socket_connect
=no
9706 rm -f core conftest.err conftest.
$ac_objext \
9707 conftest
$ac_exeext conftest.
$ac_ext
9708 LIBS
=$ac_check_lib_save_LIBS
9710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
9711 $as_echo "$ac_cv_lib_socket_connect" >&6; }
9712 if test "x$ac_cv_lib_socket_connect" = xyes
; then :
9713 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
9718 # Guillermo Gomez says -lposix is necessary on A/UX.
9719 ac_fn_c_check_func
"$LINENO" "remove" "ac_cv_func_remove"
9720 if test "x$ac_cv_func_remove" = xyes
; then :
9724 if test $ac_cv_func_remove = no
; then
9725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
9726 $as_echo_n "checking for remove in -lposix... " >&6; }
9727 if ${ac_cv_lib_posix_remove+:} false
; then :
9728 $as_echo_n "(cached) " >&6
9730 ac_check_lib_save_LIBS
=$LIBS
9731 LIBS
="-lposix $LIBS"
9732 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9733 /* end confdefs.h. */
9735 /* Override any GCC internal prototype to avoid an error.
9736 Use char because int might match the return type of a GCC
9737 builtin and then its argument prototype would still apply. */
9750 if ac_fn_c_try_link
"$LINENO"; then :
9751 ac_cv_lib_posix_remove
=yes
9753 ac_cv_lib_posix_remove
=no
9755 rm -f core conftest.err conftest.
$ac_objext \
9756 conftest
$ac_exeext conftest.
$ac_ext
9757 LIBS
=$ac_check_lib_save_LIBS
9759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
9760 $as_echo "$ac_cv_lib_posix_remove" >&6; }
9761 if test "x$ac_cv_lib_posix_remove" = xyes
; then :
9762 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
9767 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
9768 ac_fn_c_check_func
"$LINENO" "shmat" "ac_cv_func_shmat"
9769 if test "x$ac_cv_func_shmat" = xyes
; then :
9773 if test $ac_cv_func_shmat = no
; then
9774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
9775 $as_echo_n "checking for shmat in -lipc... " >&6; }
9776 if ${ac_cv_lib_ipc_shmat+:} false
; then :
9777 $as_echo_n "(cached) " >&6
9779 ac_check_lib_save_LIBS
=$LIBS
9781 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9782 /* end confdefs.h. */
9784 /* Override any GCC internal prototype to avoid an error.
9785 Use char because int might match the return type of a GCC
9786 builtin and then its argument prototype would still apply. */
9799 if ac_fn_c_try_link
"$LINENO"; then :
9800 ac_cv_lib_ipc_shmat
=yes
9802 ac_cv_lib_ipc_shmat
=no
9804 rm -f core conftest.err conftest.
$ac_objext \
9805 conftest
$ac_exeext conftest.
$ac_ext
9806 LIBS
=$ac_check_lib_save_LIBS
9808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
9809 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
9810 if test "x$ac_cv_lib_ipc_shmat" = xyes
; then :
9811 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
9817 # Check for libraries that X11R6 Xt/Xaw programs need.
9818 ac_save_LDFLAGS
=$LDFLAGS
9819 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
9820 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
9821 # check for ICE first), but we must link in the order -lSM -lICE or
9822 # we get undefined symbols. So assume we have SM if we have ICE.
9823 # These have to be linked with before -lX11, unlike the other
9824 # libraries we check for below, so use a different variable.
9825 # John Interrante, Karl Berry
9826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
9827 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
9828 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false
; then :
9829 $as_echo_n "(cached) " >&6
9831 ac_check_lib_save_LIBS
=$LIBS
9832 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
9833 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9834 /* end confdefs.h. */
9836 /* Override any GCC internal prototype to avoid an error.
9837 Use char because int might match the return type of a GCC
9838 builtin and then its argument prototype would still apply. */
9842 char IceConnectionNumber ();
9846 return IceConnectionNumber ();
9851 if ac_fn_c_try_link
"$LINENO"; then :
9852 ac_cv_lib_ICE_IceConnectionNumber
=yes
9854 ac_cv_lib_ICE_IceConnectionNumber
=no
9856 rm -f core conftest.err conftest.
$ac_objext \
9857 conftest
$ac_exeext conftest.
$ac_ext
9858 LIBS
=$ac_check_lib_save_LIBS
9860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
9861 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
9862 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes
; then :
9863 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
9866 LDFLAGS
=$ac_save_LDFLAGS
9871 if test "$have_x" = "yes"
9873 ac_save_CPPFLAGS
="$CPPFLAGS"
9874 CPPFLAGS
="$CPPFLAGS $X_CFLAGS"
9876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
9877 $as_echo_n "checking for -lX11... " >&6; }
9878 if ${ac_cv_lib_soname_X11+:} false
; then :
9879 $as_echo_n "(cached) " >&6
9881 ac_check_soname_save_LIBS
=$LIBS
9882 LIBS
="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9883 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9884 /* end confdefs.h. */
9886 /* Override any GCC internal prototype to avoid an error.
9887 Use char because int might match the return type of a GCC
9888 builtin and then its argument prototype would still apply. */
9892 char XCreateWindow ();
9896 return XCreateWindow ();
9901 if ac_fn_c_try_link
"$LINENO"; then :
9903 dll
) ac_cv_lib_soname_X11
=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9904 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'` ;;
9905 *) ac_cv_lib_soname_X11
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9906 if ${ac_cv_lib_soname_X11:+false} :; then :
9907 ac_cv_lib_soname_X11
=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9911 rm -f core conftest.err conftest.
$ac_objext \
9912 conftest
$ac_exeext conftest.
$ac_ext
9913 LIBS
=$ac_check_soname_save_LIBS
9915 if ${ac_cv_lib_soname_X11:+false} :; then :
9916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9917 $as_echo "not found" >&6; }
9920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
9921 $as_echo "$ac_cv_lib_soname_X11" >&6; }
9923 cat >>confdefs.h
<<_ACEOF
9924 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
9930 $as_echo_n "checking for -lXext... " >&6; }
9931 if ${ac_cv_lib_soname_Xext+:} false
; then :
9932 $as_echo_n "(cached) " >&6
9934 ac_check_soname_save_LIBS
=$LIBS
9935 LIBS
="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9936 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9937 /* end confdefs.h. */
9939 /* Override any GCC internal prototype to avoid an error.
9940 Use char because int might match the return type of a GCC
9941 builtin and then its argument prototype would still apply. */
9945 char XextCreateExtension ();
9949 return XextCreateExtension ();
9954 if ac_fn_c_try_link
"$LINENO"; then :
9956 dll
) ac_cv_lib_soname_Xext
=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9957 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'` ;;
9958 *) ac_cv_lib_soname_Xext
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9959 if ${ac_cv_lib_soname_Xext:+false} :; then :
9960 ac_cv_lib_soname_Xext
=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9964 rm -f core conftest.err conftest.
$ac_objext \
9965 conftest
$ac_exeext conftest.
$ac_ext
9966 LIBS
=$ac_check_soname_save_LIBS
9968 if ${ac_cv_lib_soname_Xext:+false} :; then :
9969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9970 $as_echo "not found" >&6; }
9973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
9974 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
9976 cat >>confdefs.h
<<_ACEOF
9977 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9980 X_LIBS
="$X_LIBS -lXext"
9982 X_LIBS
="$X_LIBS -lX11"
9984 for ac_header
in X11
/Xlib.h \
9987 X11
/Xcursor
/Xcursor.h \
9988 X11
/extensions
/shape.h \
9989 X11
/extensions
/XInput.h \
9990 X11
/extensions
/XInput2.h \
9991 X11
/extensions
/XShm.h \
9992 X11
/extensions
/Xcomposite.h \
9993 X11
/extensions
/Xfixes.h \
9994 X11
/extensions
/Xinerama.h \
9995 X11
/extensions
/Xrandr.h \
9996 X11
/extensions
/Xrender.h \
9997 X11
/extensions
/xf86vmode.h \
9998 X11
/extensions
/xf86vmproto.h
10000 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10001 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
10002 # include <X11/Xlib.h>
10004 #ifdef HAVE_X11_XUTIL_H
10005 # include <X11/Xutil.h>
10008 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
10009 cat >>confdefs.h
<<_ACEOF
10010 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10018 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
10020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
10021 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
10022 if ${ac_cv_lib_X11_XkbQueryExtension+:} false
; then :
10023 $as_echo_n "(cached) " >&6
10025 ac_check_lib_save_LIBS
=$LIBS
10026 LIBS
="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
10027 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10028 /* end confdefs.h. */
10030 /* Override any GCC internal prototype to avoid an error.
10031 Use char because int might match the return type of a GCC
10032 builtin and then its argument prototype would still apply. */
10036 char XkbQueryExtension ();
10040 return XkbQueryExtension ();
10045 if ac_fn_c_try_link
"$LINENO"; then :
10046 ac_cv_lib_X11_XkbQueryExtension
=yes
10048 ac_cv_lib_X11_XkbQueryExtension
=no
10050 rm -f core conftest.err conftest.
$ac_objext \
10051 conftest
$ac_exeext conftest.
$ac_ext
10052 LIBS
=$ac_check_lib_save_LIBS
10054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
10055 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
10056 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes
; then :
10058 $as_echo "#define HAVE_XKB 1" >>confdefs.h
10064 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
10066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
10067 $as_echo_n "checking for -lXcursor... " >&6; }
10068 if ${ac_cv_lib_soname_Xcursor+:} false
; then :
10069 $as_echo_n "(cached) " >&6
10071 ac_check_soname_save_LIBS
=$LIBS
10072 LIBS
="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
10073 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10074 /* end confdefs.h. */
10076 /* Override any GCC internal prototype to avoid an error.
10077 Use char because int might match the return type of a GCC
10078 builtin and then its argument prototype would still apply. */
10082 char XcursorImageLoadCursor ();
10086 return XcursorImageLoadCursor ();
10091 if ac_fn_c_try_link
"$LINENO"; then :
10093 dll
) ac_cv_lib_soname_Xcursor
=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10094 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'` ;;
10095 *) ac_cv_lib_soname_Xcursor
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10096 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
10097 ac_cv_lib_soname_Xcursor
=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10101 rm -f core conftest.err conftest.
$ac_objext \
10102 conftest
$ac_exeext conftest.
$ac_ext
10103 LIBS
=$ac_check_soname_save_LIBS
10105 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
10106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10107 $as_echo "not found" >&6; }
10110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
10111 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
10113 cat >>confdefs.h
<<_ACEOF
10114 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
10120 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
10121 case "x$with_xcursor" in
10122 x
) as_fn_append wine_notices
"|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
10124 *) as_fn_error $?
"libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
10125 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
10130 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
10132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
10133 $as_echo_n "checking for -lXi... " >&6; }
10134 if ${ac_cv_lib_soname_Xi+:} false
; then :
10135 $as_echo_n "(cached) " >&6
10137 ac_check_soname_save_LIBS
=$LIBS
10138 LIBS
="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
10139 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10140 /* end confdefs.h. */
10142 /* Override any GCC internal prototype to avoid an error.
10143 Use char because int might match the return type of a GCC
10144 builtin and then its argument prototype would still apply. */
10148 char XOpenDevice ();
10152 return XOpenDevice ();
10157 if ac_fn_c_try_link
"$LINENO"; then :
10159 dll
) ac_cv_lib_soname_Xi
=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10160 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'` ;;
10161 *) ac_cv_lib_soname_Xi
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10162 if ${ac_cv_lib_soname_Xi:+false} :; then :
10163 ac_cv_lib_soname_Xi
=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10167 rm -f core conftest.err conftest.
$ac_objext \
10168 conftest
$ac_exeext conftest.
$ac_ext
10169 LIBS
=$ac_check_soname_save_LIBS
10171 if ${ac_cv_lib_soname_Xi:+false} :; then :
10172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10173 $as_echo "not found" >&6; }
10176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
10177 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
10179 cat >>confdefs.h
<<_ACEOF
10180 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
10186 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
10187 case "x$with_xinput" in
10188 x
) as_fn_append wine_notices
"|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
10190 *) as_fn_error $?
"libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
10191 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
10196 if test "x$ac_cv_lib_soname_Xi" != x
10198 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
10199 case "x$with_xinput2" in
10200 x
) as_fn_append wine_notices
"|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
10202 *) as_fn_error $?
"XInput2 headers not found, the XInput 2 extension won't be supported.
10203 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
10209 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
10211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
10212 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
10213 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false
; then :
10214 $as_echo_n "(cached) " >&6
10216 ac_check_lib_save_LIBS
=$LIBS
10217 LIBS
="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
10218 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10219 /* end confdefs.h. */
10221 /* Override any GCC internal prototype to avoid an error.
10222 Use char because int might match the return type of a GCC
10223 builtin and then its argument prototype would still apply. */
10227 char XShmQueryExtension ();
10231 return XShmQueryExtension ();
10236 if ac_fn_c_try_link
"$LINENO"; then :
10237 ac_cv_lib_Xext_XShmQueryExtension
=yes
10239 ac_cv_lib_Xext_XShmQueryExtension
=no
10241 rm -f core conftest.err conftest.
$ac_objext \
10242 conftest
$ac_exeext conftest.
$ac_ext
10243 LIBS
=$ac_check_lib_save_LIBS
10245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
10246 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
10247 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes
; then :
10249 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
10254 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
10255 case "x$with_xshm" in
10256 x
) as_fn_append wine_notices
"|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
10258 *) as_fn_error $?
"XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
10259 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
10264 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
10266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
10267 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
10268 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false
; then :
10269 $as_echo_n "(cached) " >&6
10271 ac_check_lib_save_LIBS
=$LIBS
10272 LIBS
="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
10273 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10274 /* end confdefs.h. */
10276 /* Override any GCC internal prototype to avoid an error.
10277 Use char because int might match the return type of a GCC
10278 builtin and then its argument prototype would still apply. */
10282 char XShapeQueryExtension ();
10286 return XShapeQueryExtension ();
10291 if ac_fn_c_try_link
"$LINENO"; then :
10292 ac_cv_lib_Xext_XShapeQueryExtension
=yes
10294 ac_cv_lib_Xext_XShapeQueryExtension
=no
10296 rm -f core conftest.err conftest.
$ac_objext \
10297 conftest
$ac_exeext conftest.
$ac_ext
10298 LIBS
=$ac_check_lib_save_LIBS
10300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
10301 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
10302 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes
; then :
10304 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
10309 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
10310 case "x$with_xshape" in
10311 x
) as_fn_append wine_notices
"|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
10313 *) as_fn_error $?
"XShape ${notice_platform}development files not found, XShape won't be supported.
10314 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
10319 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
10321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
10322 $as_echo_n "checking for -lXxf86vm... " >&6; }
10323 if ${ac_cv_lib_soname_Xxf86vm+:} false
; then :
10324 $as_echo_n "(cached) " >&6
10326 ac_check_soname_save_LIBS
=$LIBS
10327 LIBS
="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
10328 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10329 /* end confdefs.h. */
10331 /* Override any GCC internal prototype to avoid an error.
10332 Use char because int might match the return type of a GCC
10333 builtin and then its argument prototype would still apply. */
10337 char XF86VidModeQueryExtension ();
10341 return XF86VidModeQueryExtension ();
10346 if ac_fn_c_try_link
"$LINENO"; then :
10348 dll
) ac_cv_lib_soname_Xxf86vm
=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10349 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'` ;;
10350 *) ac_cv_lib_soname_Xxf86vm
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10351 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10352 ac_cv_lib_soname_Xxf86vm
=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10356 rm -f core conftest.err conftest.
$ac_objext \
10357 conftest
$ac_exeext conftest.
$ac_ext
10358 LIBS
=$ac_check_soname_save_LIBS
10360 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10362 $as_echo "not found" >&6; }
10365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
10366 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
10368 cat >>confdefs.h
<<_ACEOF
10369 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
10375 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
10376 case "x$with_xxf86vm" in
10377 x
) as_fn_append wine_notices
"|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
10379 *) as_fn_error $?
"libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
10380 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
10385 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
10387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
10388 $as_echo_n "checking for -lXrender... " >&6; }
10389 if ${ac_cv_lib_soname_Xrender+:} false
; then :
10390 $as_echo_n "(cached) " >&6
10392 ac_check_soname_save_LIBS
=$LIBS
10393 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10394 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10395 /* end confdefs.h. */
10397 /* Override any GCC internal prototype to avoid an error.
10398 Use char because int might match the return type of a GCC
10399 builtin and then its argument prototype would still apply. */
10403 char XRenderQueryExtension ();
10407 return XRenderQueryExtension ();
10412 if ac_fn_c_try_link
"$LINENO"; then :
10414 dll
) ac_cv_lib_soname_Xrender
=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10415 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'` ;;
10416 *) ac_cv_lib_soname_Xrender
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10417 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10418 ac_cv_lib_soname_Xrender
=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10422 rm -f core conftest.err conftest.
$ac_objext \
10423 conftest
$ac_exeext conftest.
$ac_ext
10424 LIBS
=$ac_check_soname_save_LIBS
10426 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10428 $as_echo "not found" >&6; }
10431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
10432 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
10434 cat >>confdefs.h
<<_ACEOF
10435 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
10438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
10439 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
10440 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false
; then :
10441 $as_echo_n "(cached) " >&6
10443 ac_check_lib_save_LIBS
=$LIBS
10444 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10445 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10446 /* end confdefs.h. */
10448 /* Override any GCC internal prototype to avoid an error.
10449 Use char because int might match the return type of a GCC
10450 builtin and then its argument prototype would still apply. */
10454 char XRenderSetPictureTransform ();
10458 return XRenderSetPictureTransform ();
10463 if ac_fn_c_try_link
"$LINENO"; then :
10464 ac_cv_lib_Xrender_XRenderSetPictureTransform
=yes
10466 ac_cv_lib_Xrender_XRenderSetPictureTransform
=no
10468 rm -f core conftest.err conftest.
$ac_objext \
10469 conftest
$ac_exeext conftest.
$ac_ext
10470 LIBS
=$ac_check_lib_save_LIBS
10472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
10473 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
10474 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes
; then :
10476 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
10480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
10481 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
10482 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false
; then :
10483 $as_echo_n "(cached) " >&6
10485 ac_check_lib_save_LIBS
=$LIBS
10486 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10487 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10488 /* end confdefs.h. */
10490 /* Override any GCC internal prototype to avoid an error.
10491 Use char because int might match the return type of a GCC
10492 builtin and then its argument prototype would still apply. */
10496 char XRenderCreateLinearGradient ();
10500 return XRenderCreateLinearGradient ();
10505 if ac_fn_c_try_link
"$LINENO"; then :
10506 ac_cv_lib_Xrender_XRenderCreateLinearGradient
=yes
10508 ac_cv_lib_Xrender_XRenderCreateLinearGradient
=no
10510 rm -f core conftest.err conftest.
$ac_objext \
10511 conftest
$ac_exeext conftest.
$ac_ext
10512 LIBS
=$ac_check_lib_save_LIBS
10514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
10515 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
10516 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes
; then :
10518 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
10525 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
10526 case "x$with_xrender" in
10527 x
) as_fn_append wine_warnings
"|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
10529 *) as_fn_error $?
"libxrender ${notice_platform}development files not found, XRender won't be supported.
10530 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
10535 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
10537 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10538 /* end confdefs.h. */
10539 #include <X11/Xlib.h>
10540 #include <X11/extensions/Xrandr.h>
10544 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
10549 if ac_fn_c_try_compile
"$LINENO"; then :
10550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
10551 $as_echo_n "checking for -lXrandr... " >&6; }
10552 if ${ac_cv_lib_soname_Xrandr+:} false
; then :
10553 $as_echo_n "(cached) " >&6
10555 ac_check_soname_save_LIBS
=$LIBS
10556 LIBS
="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
10557 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10558 /* end confdefs.h. */
10560 /* Override any GCC internal prototype to avoid an error.
10561 Use char because int might match the return type of a GCC
10562 builtin and then its argument prototype would still apply. */
10566 char XRRQueryExtension ();
10570 return XRRQueryExtension ();
10575 if ac_fn_c_try_link
"$LINENO"; then :
10577 dll
) ac_cv_lib_soname_Xrandr
=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10578 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'` ;;
10579 *) ac_cv_lib_soname_Xrandr
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10580 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10581 ac_cv_lib_soname_Xrandr
=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10585 rm -f core conftest.err conftest.
$ac_objext \
10586 conftest
$ac_exeext conftest.
$ac_ext
10587 LIBS
=$ac_check_soname_save_LIBS
10589 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10591 $as_echo "not found" >&6; }
10594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
10595 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
10597 cat >>confdefs.h
<<_ACEOF
10598 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10601 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10602 /* end confdefs.h. */
10603 #include <X11/Xlib.h>
10604 #include <X11/extensions/Xrandr.h>
10608 static typeof(XRRGetScreenResources) *f; if (f) return 0;
10613 if ac_fn_c_try_compile
"$LINENO"; then :
10615 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
10618 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10621 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10623 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
10624 case "x$with_xrandr" in
10625 x
) as_fn_append wine_notices
"|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
10627 *) as_fn_error $?
"libxrandr ${notice_platform}development files not found, XRandr won't be supported.
10628 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
10633 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
10635 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10636 /* end confdefs.h. */
10637 #include <X11/Xlib.h>
10638 #include <X11/extensions/Xfixes.h>
10642 static typeof(XFixesQueryVersion) * func; if (func) return 0;
10647 if ac_fn_c_try_compile
"$LINENO"; then :
10648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
10649 $as_echo_n "checking for -lXfixes... " >&6; }
10650 if ${ac_cv_lib_soname_Xfixes+:} false
; then :
10651 $as_echo_n "(cached) " >&6
10653 ac_check_soname_save_LIBS
=$LIBS
10654 LIBS
="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
10655 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10656 /* end confdefs.h. */
10658 /* Override any GCC internal prototype to avoid an error.
10659 Use char because int might match the return type of a GCC
10660 builtin and then its argument prototype would still apply. */
10664 char XFixesQueryVersion ();
10668 return XFixesQueryVersion ();
10673 if ac_fn_c_try_link
"$LINENO"; then :
10675 dll
) ac_cv_lib_soname_Xfixes
=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10676 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'` ;;
10677 *) ac_cv_lib_soname_Xfixes
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10678 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
10679 ac_cv_lib_soname_Xfixes
=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10683 rm -f core conftest.err conftest.
$ac_objext \
10684 conftest
$ac_exeext conftest.
$ac_ext
10685 LIBS
=$ac_check_soname_save_LIBS
10687 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
10688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10689 $as_echo "not found" >&6; }
10692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
10693 $as_echo "$ac_cv_lib_soname_Xfixes" >&6; }
10695 cat >>confdefs.h
<<_ACEOF
10696 #define SONAME_LIBXFIXES "$ac_cv_lib_soname_Xfixes"
10702 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10704 if test "x$ac_cv_lib_soname_Xfixes" = "x"; then :
10705 case "x$with_xfixes" in
10706 x
) as_fn_append wine_notices
"|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
10708 *) as_fn_error $?
"libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
10709 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
10714 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10716 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10717 /* end confdefs.h. */
10718 #include <X11/Xlib.h>
10719 #include <X11/extensions/Xinerama.h>
10723 static typeof(XineramaQueryScreens) * func; if (func) return 0;
10728 if ac_fn_c_try_compile
"$LINENO"; then :
10729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
10730 $as_echo_n "checking for -lXinerama... " >&6; }
10731 if ${ac_cv_lib_soname_Xinerama+:} false
; then :
10732 $as_echo_n "(cached) " >&6
10734 ac_check_soname_save_LIBS
=$LIBS
10735 LIBS
="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
10736 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10737 /* end confdefs.h. */
10739 /* Override any GCC internal prototype to avoid an error.
10740 Use char because int might match the return type of a GCC
10741 builtin and then its argument prototype would still apply. */
10745 char XineramaQueryScreens ();
10749 return XineramaQueryScreens ();
10754 if ac_fn_c_try_link
"$LINENO"; then :
10756 dll
) ac_cv_lib_soname_Xinerama
=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10757 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'` ;;
10758 *) ac_cv_lib_soname_Xinerama
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10759 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10760 ac_cv_lib_soname_Xinerama
=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10764 rm -f core conftest.err conftest.
$ac_objext \
10765 conftest
$ac_exeext conftest.
$ac_ext
10766 LIBS
=$ac_check_soname_save_LIBS
10768 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10770 $as_echo "not found" >&6; }
10773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
10774 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
10776 cat >>confdefs.h
<<_ACEOF
10777 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10783 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10785 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
10786 case "x$with_xinerama" in
10787 x
) as_fn_append wine_notices
"|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
10789 *) as_fn_error $?
"libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
10790 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
10795 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
10798 $as_echo_n "checking for -lXcomposite... " >&6; }
10799 if ${ac_cv_lib_soname_Xcomposite+:} false
; then :
10800 $as_echo_n "(cached) " >&6
10802 ac_check_soname_save_LIBS
=$LIBS
10803 LIBS
="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
10804 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10805 /* end confdefs.h. */
10807 /* Override any GCC internal prototype to avoid an error.
10808 Use char because int might match the return type of a GCC
10809 builtin and then its argument prototype would still apply. */
10813 char XCompositeRedirectWindow ();
10817 return XCompositeRedirectWindow ();
10822 if ac_fn_c_try_link
"$LINENO"; then :
10824 dll
) ac_cv_lib_soname_Xcomposite
=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10825 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'` ;;
10826 *) ac_cv_lib_soname_Xcomposite
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10827 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10828 ac_cv_lib_soname_Xcomposite
=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10832 rm -f core conftest.err conftest.
$ac_objext \
10833 conftest
$ac_exeext conftest.
$ac_ext
10834 LIBS
=$ac_check_soname_save_LIBS
10836 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10838 $as_echo "not found" >&6; }
10841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
10842 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
10844 cat >>confdefs.h
<<_ACEOF
10845 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10851 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
10852 case "x$with_xcomposite" in
10853 x
) as_fn_append wine_notices
"|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
10855 *) as_fn_error $?
"libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
10856 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
10861 ac_fn_c_check_member
"$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
10862 #include <X11/Xlib.h>
10865 if test "x$ac_cv_member_XICCallback_callback" = xyes
; then :
10867 cat >>confdefs.h
<<_ACEOF
10868 #define HAVE_XICCALLBACK_CALLBACK 1
10873 ac_fn_c_check_member
"$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
10874 #include <X11/Xlib.h>
10877 if test "x$ac_cv_member_XEvent_xcookie" = xyes
; then :
10879 cat >>confdefs.h
<<_ACEOF
10880 #define HAVE_XEVENT_XCOOKIE 1
10889 if test "x$with_opengl" != "xno"
10891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10892 $as_echo_n "checking for -lGL... " >&6; }
10893 if ${ac_cv_lib_soname_GL+:} false
; then :
10894 $as_echo_n "(cached) " >&6
10896 ac_check_soname_save_LIBS
=$LIBS
10897 LIBS
="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10898 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10899 /* end confdefs.h. */
10901 /* Override any GCC internal prototype to avoid an error.
10902 Use char because int might match the return type of a GCC
10903 builtin and then its argument prototype would still apply. */
10907 char glXCreateContext ();
10911 return glXCreateContext ();
10916 if ac_fn_c_try_link
"$LINENO"; then :
10918 dll
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10919 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'` ;;
10920 *) ac_cv_lib_soname_GL
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10921 if ${ac_cv_lib_soname_GL:+false} :; then :
10922 ac_cv_lib_soname_GL
=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10926 rm -f core conftest.err conftest.
$ac_objext \
10927 conftest
$ac_exeext conftest.
$ac_ext
10928 LIBS
=$ac_check_soname_save_LIBS
10930 if ${ac_cv_lib_soname_GL:+false} :; then :
10931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10932 $as_echo "not found" >&6; }
10933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10934 $as_echo_n "checking for -lGL... " >&6; }
10935 if ${ac_cv_lib_soname_GL+:} false
; then :
10936 $as_echo_n "(cached) " >&6
10938 ac_check_soname_save_LIBS
=$LIBS
10939 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"
10940 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10941 /* end confdefs.h. */
10943 /* Override any GCC internal prototype to avoid an error.
10944 Use char because int might match the return type of a GCC
10945 builtin and then its argument prototype would still apply. */
10949 char glXCreateContext ();
10953 return glXCreateContext ();
10958 if ac_fn_c_try_link
"$LINENO"; then :
10960 dll
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10961 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'` ;;
10962 *) ac_cv_lib_soname_GL
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10963 if ${ac_cv_lib_soname_GL:+false} :; then :
10964 ac_cv_lib_soname_GL
=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10968 rm -f core conftest.err conftest.
$ac_objext \
10969 conftest
$ac_exeext conftest.
$ac_ext
10970 LIBS
=$ac_check_soname_save_LIBS
10972 if ${ac_cv_lib_soname_GL:+false} :; then :
10973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10974 $as_echo "not found" >&6; }
10975 if test -f /usr
/X11R
6/lib
/libGL.a
10977 opengl_msg
="/usr/X11R6/lib/libGL.a is present on your system.
10978 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10980 opengl_msg
="No OpenGL library found on this system."
10983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10984 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10986 cat >>confdefs.h
<<_ACEOF
10987 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10990 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"
10993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10994 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10996 cat >>confdefs.h
<<_ACEOF
10997 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
11002 if test "x$with_glu" != "xno"
11004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLU" >&5
11005 $as_echo_n "checking for -lGLU... " >&6; }
11006 if ${ac_cv_lib_soname_GLU+:} false
; then :
11007 $as_echo_n "(cached) " >&6
11009 ac_check_soname_save_LIBS
=$LIBS
11010 LIBS
="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
11011 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11012 /* end confdefs.h. */
11014 /* Override any GCC internal prototype to avoid an error.
11015 Use char because int might match the return type of a GCC
11016 builtin and then its argument prototype would still apply. */
11024 return gluLookAt ();
11029 if ac_fn_c_try_link
"$LINENO"; then :
11031 dll
) ac_cv_lib_soname_GLU
=`$ac_cv_path_LDD conftest.exe | grep "GLU" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11032 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'` ;;
11033 *) ac_cv_lib_soname_GLU
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLU\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLU\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11034 if ${ac_cv_lib_soname_GLU:+false} :; then :
11035 ac_cv_lib_soname_GLU
=`$LDD conftest$ac_exeext | grep "libGLU\\.$LIBEXT" | sed -e "s/^.*\(libGLU\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11039 rm -f core conftest.err conftest.
$ac_objext \
11040 conftest
$ac_exeext conftest.
$ac_ext
11041 LIBS
=$ac_check_soname_save_LIBS
11043 if ${ac_cv_lib_soname_GLU:+false} :; then :
11044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11045 $as_echo "not found" >&6; }
11048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLU" >&5
11049 $as_echo "$ac_cv_lib_soname_GLU" >&6; }
11051 cat >>confdefs.h
<<_ACEOF
11052 #define SONAME_LIBGLU "$ac_cv_lib_soname_GLU"
11057 if test "x$ac_cv_lib_soname_GLU" = "x"; then :
11058 case "x$with_glu" in
11059 x
) as_fn_append wine_notices
"|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
11061 *) as_fn_error $?
"libGLU ${notice_platform}development files not found, GLU won't be supported.
11062 This is an error since --with-glu was requested." "$LINENO" 5 ;;
11068 if test "x$with_osmesa" != "xno"
11070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
11071 $as_echo_n "checking for -lOSMesa... " >&6; }
11072 if ${ac_cv_lib_soname_OSMesa+:} false
; then :
11073 $as_echo_n "(cached) " >&6
11075 ac_check_soname_save_LIBS
=$LIBS
11076 LIBS
="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
11077 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11078 /* end confdefs.h. */
11080 /* Override any GCC internal prototype to avoid an error.
11081 Use char because int might match the return type of a GCC
11082 builtin and then its argument prototype would still apply. */
11086 char OSMesaGetProcAddress ();
11090 return OSMesaGetProcAddress ();
11095 if ac_fn_c_try_link
"$LINENO"; then :
11097 dll
) ac_cv_lib_soname_OSMesa
=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11098 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'` ;;
11099 *) ac_cv_lib_soname_OSMesa
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11100 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
11101 ac_cv_lib_soname_OSMesa
=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11105 rm -f core conftest.err conftest.
$ac_objext \
11106 conftest
$ac_exeext conftest.
$ac_ext
11107 LIBS
=$ac_check_soname_save_LIBS
11109 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
11110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11111 $as_echo "not found" >&6; }
11114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
11115 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
11117 cat >>confdefs.h
<<_ACEOF
11118 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
11123 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
11124 case "x$with_osmesa" in
11125 x
) as_fn_append wine_notices
"|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
11127 *) as_fn_error $?
"libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
11128 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
11134 if test -n "$opengl_msg"; then :
11135 case "x$with_opengl" in
11136 x
) as_fn_append wine_warnings
"|$opengl_msg
11137 OpenGL and Direct3D won't be supported." ;;
11139 *) as_fn_error $?
"$opengl_msg
11140 OpenGL and Direct3D won't be supported.
11141 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
11146 CPPFLAGS
="$ac_save_CPPFLAGS"
11152 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
11154 if test "x$X_LIBS" = "x"; then :
11157 *) as_fn_error $?
"X ${notice_platform}development files not found. Wine will be built
11158 without X support, which probably isn't what you want. You will need
11159 to install ${notice_platform}development packages of Xlib at the very least.
11160 Use the --without-x option if you really want this." "$LINENO" 5 ;;
11162 enable_winex11_drv
=${enable_winex11_drv:-no}
11165 if test "x$X_LIBS" = "x"; then :
11167 x
) as_fn_append wine_notices
"|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
11169 *) as_fn_error $?
"X ${notice_platform}development files not found, the X11 driver won't be supported.
11170 This is an error since --with-x was requested." "$LINENO" 5 ;;
11172 enable_winex11_drv
=${enable_winex11_drv:-no}
11176 if test "$ac_cv_header_CL_cl_h" = "yes"
11178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
11179 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
11180 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false
; then :
11181 $as_echo_n "(cached) " >&6
11183 ac_check_lib_save_LIBS
=$LIBS
11184 LIBS
="-lOpenCL $LIBS"
11185 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11186 /* end confdefs.h. */
11188 /* Override any GCC internal prototype to avoid an error.
11189 Use char because int might match the return type of a GCC
11190 builtin and then its argument prototype would still apply. */
11194 char clGetPlatformInfo ();
11198 return clGetPlatformInfo ();
11203 if ac_fn_c_try_link
"$LINENO"; then :
11204 ac_cv_lib_OpenCL_clGetPlatformInfo
=yes
11206 ac_cv_lib_OpenCL_clGetPlatformInfo
=no
11208 rm -f core conftest.err conftest.
$ac_objext \
11209 conftest
$ac_exeext conftest.
$ac_ext
11210 LIBS
=$ac_check_lib_save_LIBS
11212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
11213 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
11214 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes
; then :
11215 OPENCL_LIBS
="-lOpenCL"
11220 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
; then :
11221 case "x$with_opencl" in
11222 x
) as_fn_append wine_notices
"|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
11224 *) as_fn_error $?
"OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
11225 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
11227 enable_opencl
=${enable_opencl:-no}
11230 if test "$ac_cv_header_pcap_pcap_h" = "yes"
11232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
11233 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
11234 if ${ac_cv_lib_pcap_pcap_create+:} false
; then :
11235 $as_echo_n "(cached) " >&6
11237 ac_check_lib_save_LIBS
=$LIBS
11238 LIBS
="-lpcap $LIBS"
11239 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11240 /* end confdefs.h. */
11242 /* Override any GCC internal prototype to avoid an error.
11243 Use char because int might match the return type of a GCC
11244 builtin and then its argument prototype would still apply. */
11248 char pcap_create ();
11252 return pcap_create ();
11257 if ac_fn_c_try_link
"$LINENO"; then :
11258 ac_cv_lib_pcap_pcap_create
=yes
11260 ac_cv_lib_pcap_pcap_create
=no
11262 rm -f core conftest.err conftest.
$ac_objext \
11263 conftest
$ac_exeext conftest.
$ac_ext
11264 LIBS
=$ac_check_lib_save_LIBS
11266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
11267 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
11268 if test "x$ac_cv_lib_pcap_pcap_create" = xyes
; then :
11274 if test "x$ac_cv_lib_pcap_pcap_create" != xyes
; then :
11275 case "x$with_pcap" in
11276 x
) as_fn_append wine_notices
"|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
11278 *) as_fn_error $?
"pcap ${notice_platform}development files not found, wpcap won't be supported.
11279 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
11281 enable_wpcap
=${enable_wpcap:-no}
11285 if test "x$with_xml" != "xno"
11287 if ${XML2_CFLAGS:+false} :; then :
11288 if ${PKG_CONFIG+:} false
; then :
11289 XML2_CFLAGS
=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
11292 test "$cross_compiling" = yes || XML2_CFLAGS
=${XML2_CFLAGS:-`${XML2_CONFIG:-xml2-config} --cflags 2>/dev/null`}
11293 if ${XML2_LIBS:+false} :; then :
11294 if ${PKG_CONFIG+:} false
; then :
11295 XML2_LIBS
=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
11298 test "$cross_compiling" = yes || XML2_LIBS
=${XML2_LIBS:-`${XML2_CONFIG:-xml2-config} --libs 2>/dev/null`}
11299 XML2_LIBS
=${XML2_LIBS:-"-lxml2"}
11300 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
11301 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
11302 ac_save_CPPFLAGS
=$CPPFLAGS
11303 CPPFLAGS
="$CPPFLAGS $XML2_CFLAGS"
11304 for ac_header
in libxml
/parser.h libxml
/xmlsave.h libxml
/SAX2.h
11306 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11307 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
11308 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
11309 cat >>confdefs.h
<<_ACEOF
11310 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11317 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"
11319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
11320 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
11321 if ${ac_cv_lib_xml2_xmlParseMemory+:} false
; then :
11322 $as_echo_n "(cached) " >&6
11324 ac_check_lib_save_LIBS
=$LIBS
11325 LIBS
="-lxml2 $XML2_LIBS $LIBS"
11326 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11327 /* end confdefs.h. */
11329 /* Override any GCC internal prototype to avoid an error.
11330 Use char because int might match the return type of a GCC
11331 builtin and then its argument prototype would still apply. */
11335 char xmlParseMemory ();
11339 return xmlParseMemory ();
11344 if ac_fn_c_try_link
"$LINENO"; then :
11345 ac_cv_lib_xml2_xmlParseMemory
=yes
11347 ac_cv_lib_xml2_xmlParseMemory
=no
11349 rm -f core conftest.err conftest.
$ac_objext \
11350 conftest
$ac_exeext conftest.
$ac_ext
11351 LIBS
=$ac_check_lib_save_LIBS
11353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
11354 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
11355 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes
; then :
11357 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
11363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
11364 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
11365 if ${ac_cv_lib_xml2_xmlReadMemory+:} false
; then :
11366 $as_echo_n "(cached) " >&6
11368 ac_check_lib_save_LIBS
=$LIBS
11369 LIBS
="-lxml2 $XML2_LIBS $LIBS"
11370 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11371 /* end confdefs.h. */
11373 /* Override any GCC internal prototype to avoid an error.
11374 Use char because int might match the return type of a GCC
11375 builtin and then its argument prototype would still apply. */
11379 char xmlReadMemory ();
11383 return xmlReadMemory ();
11388 if ac_fn_c_try_link
"$LINENO"; then :
11389 ac_cv_lib_xml2_xmlReadMemory
=yes
11391 ac_cv_lib_xml2_xmlReadMemory
=no
11393 rm -f core conftest.err conftest.
$ac_objext \
11394 conftest
$ac_exeext conftest.
$ac_ext
11395 LIBS
=$ac_check_lib_save_LIBS
11397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
11398 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
11399 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes
; then :
11401 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
11405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
11406 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
11407 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false
; then :
11408 $as_echo_n "(cached) " >&6
11410 ac_check_lib_save_LIBS
=$LIBS
11411 LIBS
="-lxml2 $XML2_LIBS $LIBS"
11412 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11413 /* end confdefs.h. */
11415 /* Override any GCC internal prototype to avoid an error.
11416 Use char because int might match the return type of a GCC
11417 builtin and then its argument prototype would still apply. */
11421 char xmlNewDocPI ();
11425 return xmlNewDocPI ();
11430 if ac_fn_c_try_link
"$LINENO"; then :
11431 ac_cv_lib_xml2_xmlNewDocPI
=yes
11433 ac_cv_lib_xml2_xmlNewDocPI
=no
11435 rm -f core conftest.err conftest.
$ac_objext \
11436 conftest
$ac_exeext conftest.
$ac_ext
11437 LIBS
=$ac_check_lib_save_LIBS
11439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
11440 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
11441 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes
; then :
11443 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
11447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
11448 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
11449 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false
; then :
11450 $as_echo_n "(cached) " >&6
11452 ac_check_lib_save_LIBS
=$LIBS
11453 LIBS
="-lxml2 $XML2_LIBS $LIBS"
11454 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11455 /* end confdefs.h. */
11457 /* Override any GCC internal prototype to avoid an error.
11458 Use char because int might match the return type of a GCC
11459 builtin and then its argument prototype would still apply. */
11463 char xmlSchemaSetParserStructuredErrors ();
11467 return xmlSchemaSetParserStructuredErrors ();
11472 if ac_fn_c_try_link
"$LINENO"; then :
11473 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors
=yes
11475 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors
=no
11477 rm -f core conftest.err conftest.
$ac_objext \
11478 conftest
$ac_exeext conftest.
$ac_ext
11479 LIBS
=$ac_check_lib_save_LIBS
11481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
11482 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
11483 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes
; then :
11485 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
11489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
11490 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
11491 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false
; then :
11492 $as_echo_n "(cached) " >&6
11494 ac_check_lib_save_LIBS
=$LIBS
11495 LIBS
="-lxml2 $XML2_LIBS $LIBS"
11496 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11497 /* end confdefs.h. */
11499 /* Override any GCC internal prototype to avoid an error.
11500 Use char because int might match the return type of a GCC
11501 builtin and then its argument prototype would still apply. */
11505 char xmlSchemaSetValidStructuredErrors ();
11509 return xmlSchemaSetValidStructuredErrors ();
11514 if ac_fn_c_try_link
"$LINENO"; then :
11515 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors
=yes
11517 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors
=no
11519 rm -f core conftest.err conftest.
$ac_objext \
11520 conftest
$ac_exeext conftest.
$ac_ext
11521 LIBS
=$ac_check_lib_save_LIBS
11523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
11524 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
11525 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes
; then :
11527 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
11531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
11532 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
11533 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false
; then :
11534 $as_echo_n "(cached) " >&6
11536 ac_check_lib_save_LIBS
=$LIBS
11537 LIBS
="-lxml2 $XML2_LIBS $LIBS"
11538 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11539 /* end confdefs.h. */
11541 /* Override any GCC internal prototype to avoid an error.
11542 Use char because int might match the return type of a GCC
11543 builtin and then its argument prototype would still apply. */
11547 char xmlFirstElementChild ();
11551 return xmlFirstElementChild ();
11556 if ac_fn_c_try_link
"$LINENO"; then :
11557 ac_cv_lib_xml2_xmlFirstElementChild
=yes
11559 ac_cv_lib_xml2_xmlFirstElementChild
=no
11561 rm -f core conftest.err conftest.
$ac_objext \
11562 conftest
$ac_exeext conftest.
$ac_ext
11563 LIBS
=$ac_check_lib_save_LIBS
11565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
11566 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
11567 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes
; then :
11569 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
11573 ac_fn_c_check_type
"$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
11575 if test "x$ac_cv_type_xmlDocProperties" = xyes
; then :
11577 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
11585 CPPFLAGS
=$ac_save_CPPFLAGS
11586 test -z "$XML2_CFLAGS" || XML2_CFLAGS
=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11587 test -z "$XML2_LIBS" || XML2_LIBS
=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11590 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
11591 case "x$with_xml" in
11592 x
) as_fn_append wine_warnings
"|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
11594 *) as_fn_error $?
"libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
11595 This is an error since --with-xml was requested." "$LINENO" 5 ;;
11600 if test "x$with_xslt" != "xno"
11602 if ${XSLT_CFLAGS:+false} :; then :
11603 if ${PKG_CONFIG+:} false
; then :
11604 XSLT_CFLAGS
=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
11607 test "$cross_compiling" = yes || XSLT_CFLAGS
=${XSLT_CFLAGS:-`${XSLT_CONFIG:-xslt-config} --cflags 2>/dev/null`}
11608 if ${XSLT_LIBS:+false} :; then :
11609 if ${PKG_CONFIG+:} false
; then :
11610 XSLT_LIBS
=`$PKG_CONFIG --libs libxslt 2>/dev/null`
11613 test "$cross_compiling" = yes || XSLT_LIBS
=${XSLT_LIBS:-`${XSLT_CONFIG:-xslt-config} --libs 2>/dev/null`}
11614 XSLT_LIBS
=${XSLT_LIBS:-"-lxml2"}
11615 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
11616 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
11617 ac_save_CPPFLAGS
=$CPPFLAGS
11618 CPPFLAGS
="$CPPFLAGS $XSLT_CFLAGS"
11619 for ac_header
in libxslt
/pattern.h libxslt
/transform.h
11621 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11622 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
11623 # include <libxslt/pattern.h>
11626 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
11627 cat >>confdefs.h
<<_ACEOF
11628 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11635 if test "$ac_cv_header_libxslt_transform_h" = "yes"
11637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
11638 $as_echo_n "checking for -lxslt... " >&6; }
11639 if ${ac_cv_lib_soname_xslt+:} false
; then :
11640 $as_echo_n "(cached) " >&6
11642 ac_check_soname_save_LIBS
=$LIBS
11643 LIBS
="-lxslt $XSLT_LIBS $LIBS"
11644 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11645 /* end confdefs.h. */
11647 /* Override any GCC internal prototype to avoid an error.
11648 Use char because int might match the return type of a GCC
11649 builtin and then its argument prototype would still apply. */
11653 char xsltCompilePattern ();
11657 return xsltCompilePattern ();
11662 if ac_fn_c_try_link
"$LINENO"; then :
11664 dll
) ac_cv_lib_soname_xslt
=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11665 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'` ;;
11666 *) ac_cv_lib_soname_xslt
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11667 if ${ac_cv_lib_soname_xslt:+false} :; then :
11668 ac_cv_lib_soname_xslt
=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11672 rm -f core conftest.err conftest.
$ac_objext \
11673 conftest
$ac_exeext conftest.
$ac_ext
11674 LIBS
=$ac_check_soname_save_LIBS
11676 if ${ac_cv_lib_soname_xslt:+false} :; then :
11677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11678 $as_echo "not found" >&6; }
11681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
11682 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
11684 cat >>confdefs.h
<<_ACEOF
11685 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
11693 CPPFLAGS
=$ac_save_CPPFLAGS
11694 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS
=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11695 test -z "$XSLT_LIBS" || XSLT_LIBS
=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11698 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
11699 case "x$with_xslt" in
11700 x
) as_fn_append wine_warnings
"|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
11702 *) as_fn_error $?
"libxslt ${notice_platform}development files not found, xslt won't be supported.
11703 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
11708 if test "x$with_dbus" != "xno"
11710 if ${DBUS_CFLAGS:+false} :; then :
11711 if ${PKG_CONFIG+:} false
; then :
11712 DBUS_CFLAGS
=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
11716 if ${DBUS_LIBS:+false} :; then :
11717 if ${PKG_CONFIG+:} false
; then :
11718 DBUS_LIBS
=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
11723 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
11724 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
11725 ac_save_CPPFLAGS
=$CPPFLAGS
11726 CPPFLAGS
="$CPPFLAGS $DBUS_CFLAGS"
11727 ac_fn_c_check_header_mongrel
"$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
11728 if test "x$ac_cv_header_dbus_dbus_h" = xyes
; then :
11729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
11730 $as_echo_n "checking for -ldbus-1... " >&6; }
11731 if ${ac_cv_lib_soname_dbus_1+:} false
; then :
11732 $as_echo_n "(cached) " >&6
11734 ac_check_soname_save_LIBS
=$LIBS
11735 LIBS
="-ldbus-1 $DBUS_LIBS $LIBS"
11736 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11737 /* end confdefs.h. */
11739 /* Override any GCC internal prototype to avoid an error.
11740 Use char because int might match the return type of a GCC
11741 builtin and then its argument prototype would still apply. */
11745 char dbus_connection_close ();
11749 return dbus_connection_close ();
11754 if ac_fn_c_try_link
"$LINENO"; then :
11756 dll
) ac_cv_lib_soname_dbus_1
=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11757 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'` ;;
11758 *) 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'`
11759 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11760 ac_cv_lib_soname_dbus_1
=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11764 rm -f core conftest.err conftest.
$ac_objext \
11765 conftest
$ac_exeext conftest.
$ac_ext
11766 LIBS
=$ac_check_soname_save_LIBS
11768 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11770 $as_echo "not found" >&6; }
11773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
11774 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
11776 cat >>confdefs.h
<<_ACEOF
11777 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
11787 CPPFLAGS
=$ac_save_CPPFLAGS
11788 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS
=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11789 test -z "$DBUS_LIBS" || DBUS_LIBS
=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11792 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
11793 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11794 case "x$with_dbus" in
11795 x
) as_fn_append wine_notices
"|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
11797 *) as_fn_error $?
"libdbus ${notice_platform}development files not found, no dynamic device support.
11798 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
11803 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
11805 if ${HAL_CFLAGS:+false} :; then :
11806 if ${PKG_CONFIG+:} false
; then :
11807 HAL_CFLAGS
=`$PKG_CONFIG --cflags hal 2>/dev/null`
11811 if ${HAL_LIBS:+false} :; then :
11812 if ${PKG_CONFIG+:} false
; then :
11813 HAL_LIBS
=`$PKG_CONFIG --libs hal 2>/dev/null`
11817 HAL_LIBS
=${HAL_LIBS:-"-ldbus-1"}
11818 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
11819 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
11820 ac_save_CPPFLAGS
=$CPPFLAGS
11821 CPPFLAGS
="$CPPFLAGS $HAL_CFLAGS"
11822 ac_fn_c_check_header_mongrel
"$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
11823 if test "x$ac_cv_header_hal_libhal_h" = xyes
; then :
11824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
11825 $as_echo_n "checking for -lhal... " >&6; }
11826 if ${ac_cv_lib_soname_hal+:} false
; then :
11827 $as_echo_n "(cached) " >&6
11829 ac_check_soname_save_LIBS
=$LIBS
11830 LIBS
="-lhal $HAL_LIBS $LIBS"
11831 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11832 /* end confdefs.h. */
11834 /* Override any GCC internal prototype to avoid an error.
11835 Use char because int might match the return type of a GCC
11836 builtin and then its argument prototype would still apply. */
11840 char libhal_ctx_new ();
11844 return libhal_ctx_new ();
11849 if ac_fn_c_try_link
"$LINENO"; then :
11851 dll
) ac_cv_lib_soname_hal
=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11852 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'` ;;
11853 *) ac_cv_lib_soname_hal
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11854 if ${ac_cv_lib_soname_hal:+false} :; then :
11855 ac_cv_lib_soname_hal
=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11859 rm -f core conftest.err conftest.
$ac_objext \
11860 conftest
$ac_exeext conftest.
$ac_ext
11861 LIBS
=$ac_check_soname_save_LIBS
11863 if ${ac_cv_lib_soname_hal:+false} :; then :
11864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11865 $as_echo "not found" >&6; }
11868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
11869 $as_echo "$ac_cv_lib_soname_hal" >&6; }
11871 cat >>confdefs.h
<<_ACEOF
11872 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11882 CPPFLAGS
=$ac_save_CPPFLAGS
11883 test -z "$HAL_CFLAGS" || HAL_CFLAGS
=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11884 test -z "$HAL_LIBS" || HAL_LIBS
=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11886 if test "x$ac_cv_lib_soname_hal" = "x" -a \
11887 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11888 case "x$with_hal" in
11889 x
) as_fn_append wine_notices
"|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
11891 *) as_fn_error $?
"libhal ${notice_platform}development files not found, no legacy dynamic device support.
11892 This is an error since --with-hal was requested." "$LINENO" 5 ;;
11898 if test "x$with_gnutls" != "xno"
11900 if ${GNUTLS_CFLAGS:+false} :; then :
11901 if ${PKG_CONFIG+:} false
; then :
11902 GNUTLS_CFLAGS
=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
11906 if ${GNUTLS_LIBS:+false} :; then :
11907 if ${PKG_CONFIG+:} false
; then :
11908 GNUTLS_LIBS
=`$PKG_CONFIG --libs gnutls 2>/dev/null`
11913 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
11914 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
11915 ac_save_CPPFLAGS
=$CPPFLAGS
11916 CPPFLAGS
="$CPPFLAGS $GNUTLS_CFLAGS"
11917 ac_fn_c_check_header_mongrel
"$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
11918 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes
; then :
11919 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11920 /* end confdefs.h. */
11921 #include <gnutls/gnutls.h>
11922 #include <gnutls/crypto.h>
11926 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
11931 if ac_fn_c_try_compile
"$LINENO"; then :
11932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
11933 $as_echo_n "checking for -lgnutls... " >&6; }
11934 if ${ac_cv_lib_soname_gnutls+:} false
; then :
11935 $as_echo_n "(cached) " >&6
11937 ac_check_soname_save_LIBS
=$LIBS
11938 LIBS
="-lgnutls $GNUTLS_LIBS $LIBS"
11939 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11940 /* end confdefs.h. */
11942 /* Override any GCC internal prototype to avoid an error.
11943 Use char because int might match the return type of a GCC
11944 builtin and then its argument prototype would still apply. */
11948 char gnutls_global_init ();
11952 return gnutls_global_init ();
11957 if ac_fn_c_try_link
"$LINENO"; then :
11959 dll
) ac_cv_lib_soname_gnutls
=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11960 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'` ;;
11961 *) 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'`
11962 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11963 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'`
11967 rm -f core conftest.err conftest.
$ac_objext \
11968 conftest
$ac_exeext conftest.
$ac_ext
11969 LIBS
=$ac_check_soname_save_LIBS
11971 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11973 $as_echo "not found" >&6; }
11976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
11977 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
11979 cat >>confdefs.h
<<_ACEOF
11980 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
11985 ac_wine_check_funcs_save_LIBS
="$LIBS"
11986 LIBS
="$LIBS $GNUTLS_LIBS"
11987 for ac_func
in gnutls_cipher_init
11989 ac_fn_c_check_func
"$LINENO" "gnutls_cipher_init" "ac_cv_func_gnutls_cipher_init"
11990 if test "x$ac_cv_func_gnutls_cipher_init" = xyes
; then :
11991 cat >>confdefs.h
<<_ACEOF
11992 #define HAVE_GNUTLS_CIPHER_INIT 1
11996 as_fn_append wine_notices
"|libgnutls ${notice_platform}development files too old, bcrypt encryption won't be supported."
12000 LIBS
="$ac_wine_check_funcs_save_LIBS"
12002 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12008 CPPFLAGS
=$ac_save_CPPFLAGS
12009 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS
=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12010 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS
=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12013 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
12014 case "x$with_gnutls" in
12015 x
) as_fn_append wine_warnings
"|libgnutls ${notice_platform}development files not found, no schannel support." ;;
12017 *) as_fn_error $?
"libgnutls ${notice_platform}development files not found, no schannel support.
12018 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
12024 if test "$ac_cv_header_ncurses_h" = "yes"
12026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
12027 $as_echo_n "checking for -lncurses... " >&6; }
12028 if ${ac_cv_lib_soname_ncurses+:} false
; then :
12029 $as_echo_n "(cached) " >&6
12031 ac_check_soname_save_LIBS
=$LIBS
12032 LIBS
="-lncurses $LIBS"
12033 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12034 /* end confdefs.h. */
12036 /* Override any GCC internal prototype to avoid an error.
12037 Use char because int might match the return type of a GCC
12038 builtin and then its argument prototype would still apply. */
12051 if ac_fn_c_try_link
"$LINENO"; then :
12053 dll
) ac_cv_lib_soname_ncurses
=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12054 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'` ;;
12055 *) 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'`
12056 if ${ac_cv_lib_soname_ncurses:+false} :; then :
12057 ac_cv_lib_soname_ncurses
=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12061 rm -f core conftest.err conftest.
$ac_objext \
12062 conftest
$ac_exeext conftest.
$ac_ext
12063 LIBS
=$ac_check_soname_save_LIBS
12065 if ${ac_cv_lib_soname_ncurses:+false} :; then :
12066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12067 $as_echo "not found" >&6; }
12070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
12071 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
12073 cat >>confdefs.h
<<_ACEOF
12074 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
12077 CURSES_LIBS
="-lncurses"
12079 elif test "$ac_cv_header_curses_h" = "yes"
12081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
12082 $as_echo_n "checking for -lcurses... " >&6; }
12083 if ${ac_cv_lib_soname_curses+:} false
; then :
12084 $as_echo_n "(cached) " >&6
12086 ac_check_soname_save_LIBS
=$LIBS
12087 LIBS
="-lcurses $LIBS"
12088 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12089 /* end confdefs.h. */
12091 /* Override any GCC internal prototype to avoid an error.
12092 Use char because int might match the return type of a GCC
12093 builtin and then its argument prototype would still apply. */
12106 if ac_fn_c_try_link
"$LINENO"; then :
12108 dll
) ac_cv_lib_soname_curses
=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12109 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'` ;;
12110 *) ac_cv_lib_soname_curses
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12111 if ${ac_cv_lib_soname_curses:+false} :; then :
12112 ac_cv_lib_soname_curses
=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12116 rm -f core conftest.err conftest.
$ac_objext \
12117 conftest
$ac_exeext conftest.
$ac_ext
12118 LIBS
=$ac_check_soname_save_LIBS
12120 if ${ac_cv_lib_soname_curses:+false} :; then :
12121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12122 $as_echo "not found" >&6; }
12125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
12126 $as_echo "$ac_cv_lib_soname_curses" >&6; }
12128 cat >>confdefs.h
<<_ACEOF
12129 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
12132 CURSES_LIBS
="-lcurses"
12135 ac_save_LIBS
="$LIBS"
12136 LIBS
="$LIBS $CURSES_LIBS"
12137 for ac_func
in mousemask
12139 ac_fn_c_check_func
"$LINENO" "mousemask" "ac_cv_func_mousemask"
12140 if test "x$ac_cv_func_mousemask" = xyes
; then :
12141 cat >>confdefs.h
<<_ACEOF
12142 #define HAVE_MOUSEMASK 1
12148 LIBS
="$ac_save_LIBS"
12149 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
12150 case "x$with_curses" in
12151 x
) as_fn_append wine_notices
"|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
12153 *) as_fn_error $?
"lib(n)curses ${notice_platform}development files not found, curses won't be supported.
12154 This is an error since --with-curses was requested." "$LINENO" 5 ;;
12159 if test "x$with_sane" != "xno"
12161 if ${SANE_CFLAGS:+false} :; then :
12162 if ${PKG_CONFIG+:} false
; then :
12163 SANE_CFLAGS
=`$PKG_CONFIG --cflags libsane 2>/dev/null`
12166 test "$cross_compiling" = yes || SANE_CFLAGS
=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
12167 if ${SANE_LIBS:+false} :; then :
12168 if ${PKG_CONFIG+:} false
; then :
12169 SANE_LIBS
=`$PKG_CONFIG --libs libsane 2>/dev/null`
12172 test "$cross_compiling" = yes || SANE_LIBS
=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
12174 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
12175 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
12176 ac_save_CPPFLAGS
=$CPPFLAGS
12177 CPPFLAGS
="$CPPFLAGS $SANE_CFLAGS"
12178 ac_fn_c_check_header_mongrel
"$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
12179 if test "x$ac_cv_header_sane_sane_h" = xyes
; then :
12180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
12181 $as_echo_n "checking for -lsane... " >&6; }
12182 if ${ac_cv_lib_soname_sane+:} false
; then :
12183 $as_echo_n "(cached) " >&6
12185 ac_check_soname_save_LIBS
=$LIBS
12186 LIBS
="-lsane $SANE_LIBS $LIBS"
12187 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12188 /* end confdefs.h. */
12190 /* Override any GCC internal prototype to avoid an error.
12191 Use char because int might match the return type of a GCC
12192 builtin and then its argument prototype would still apply. */
12200 return sane_init ();
12205 if ac_fn_c_try_link
"$LINENO"; then :
12207 dll
) ac_cv_lib_soname_sane
=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12208 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'` ;;
12209 *) ac_cv_lib_soname_sane
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12210 if ${ac_cv_lib_soname_sane:+false} :; then :
12211 ac_cv_lib_soname_sane
=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12215 rm -f core conftest.err conftest.
$ac_objext \
12216 conftest
$ac_exeext conftest.
$ac_ext
12217 LIBS
=$ac_check_soname_save_LIBS
12219 if ${ac_cv_lib_soname_sane:+false} :; then :
12220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12221 $as_echo "not found" >&6; }
12224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
12225 $as_echo "$ac_cv_lib_soname_sane" >&6; }
12227 cat >>confdefs.h
<<_ACEOF
12228 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
12238 CPPFLAGS
=$ac_save_CPPFLAGS
12239 test -z "$SANE_CFLAGS" || SANE_CFLAGS
=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12240 test -z "$SANE_LIBS" || SANE_LIBS
=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12243 if test "x$ac_cv_lib_soname_sane" = "x"; then :
12244 case "x$with_sane" in
12245 x
) as_fn_append wine_notices
"|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
12247 *) as_fn_error $?
"libsane ${notice_platform}development files not found, scanners won't be supported.
12248 This is an error since --with-sane was requested." "$LINENO" 5 ;;
12253 if test "x$with_v4l" != "xno"
12255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
12256 $as_echo_n "checking for -lv4l1... " >&6; }
12257 if ${ac_cv_lib_soname_v4l1+:} false
; then :
12258 $as_echo_n "(cached) " >&6
12260 ac_check_soname_save_LIBS
=$LIBS
12261 LIBS
="-lv4l1 $LIBS"
12262 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12263 /* end confdefs.h. */
12265 /* Override any GCC internal prototype to avoid an error.
12266 Use char because int might match the return type of a GCC
12267 builtin and then its argument prototype would still apply. */
12275 return v4l1_open ();
12280 if ac_fn_c_try_link
"$LINENO"; then :
12282 dll
) ac_cv_lib_soname_v4l1
=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12283 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'` ;;
12284 *) ac_cv_lib_soname_v4l1
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12285 if ${ac_cv_lib_soname_v4l1:+false} :; then :
12286 ac_cv_lib_soname_v4l1
=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12290 rm -f core conftest.err conftest.
$ac_objext \
12291 conftest
$ac_exeext conftest.
$ac_ext
12292 LIBS
=$ac_check_soname_save_LIBS
12294 if ${ac_cv_lib_soname_v4l1:+false} :; then :
12295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12296 $as_echo "not found" >&6; }
12299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
12300 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
12302 cat >>confdefs.h
<<_ACEOF
12303 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
12309 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
12310 case "x$with_v4l" in
12311 x
) as_fn_append wine_notices
"|libv4l ${notice_platform}development files not found." ;;
12313 *) as_fn_error $?
"libv4l ${notice_platform}development files not found.
12314 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
12319 if test "x$with_gphoto" != "xno"
12321 if ${GPHOTO2_CFLAGS:+false} :; then :
12322 if ${PKG_CONFIG+:} false
; then :
12323 GPHOTO2_CFLAGS
=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
12326 test "$cross_compiling" = yes || GPHOTO2_CFLAGS
=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
12327 if ${GPHOTO2_LIBS:+false} :; then :
12328 if ${PKG_CONFIG+:} false
; then :
12329 GPHOTO2_LIBS
=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
12332 test "$cross_compiling" = yes || GPHOTO2_LIBS
=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
12333 GPHOTO2_LIBS
=${GPHOTO2_LIBS:-"-lgphoto2"}
12334 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
12335 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
12336 ac_save_CPPFLAGS
=$CPPFLAGS
12337 CPPFLAGS
="$CPPFLAGS $GPHOTO2_CFLAGS"
12338 ac_fn_c_check_header_mongrel
"$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
12339 if test "x$ac_cv_header_gphoto2_camera_h" = xyes
; then :
12340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
12341 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
12342 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false
; then :
12343 $as_echo_n "(cached) " >&6
12345 ac_check_lib_save_LIBS
=$LIBS
12346 LIBS
="-lgphoto2 $GPHOTO2_LIBS $LIBS"
12347 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12348 /* end confdefs.h. */
12350 /* Override any GCC internal prototype to avoid an error.
12351 Use char because int might match the return type of a GCC
12352 builtin and then its argument prototype would still apply. */
12356 char gp_camera_new ();
12360 return gp_camera_new ();
12365 if ac_fn_c_try_link
"$LINENO"; then :
12366 ac_cv_lib_gphoto2_gp_camera_new
=yes
12368 ac_cv_lib_gphoto2_gp_camera_new
=no
12370 rm -f core conftest.err conftest.
$ac_objext \
12371 conftest
$ac_exeext conftest.
$ac_ext
12372 LIBS
=$ac_check_lib_save_LIBS
12374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
12375 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
12376 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes
; then :
12378 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
12381 GPHOTO2_LIBS
=""; GPHOTO2_CFLAGS
=""
12385 GPHOTO2_LIBS
=""; GPHOTO2_CFLAGS
=""
12389 CPPFLAGS
=$ac_save_CPPFLAGS
12390 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS
=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12391 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS
=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12393 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
12394 if ${PKG_CONFIG+:} false
; then :
12395 GPHOTO2_PORT_CFLAGS
=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
12398 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS
=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
12399 if ${GPHOTO2_PORT_LIBS:+false} :; then :
12400 if ${PKG_CONFIG+:} false
; then :
12401 GPHOTO2_PORT_LIBS
=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
12404 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS
=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
12405 GPHOTO2_PORT_LIBS
=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
12406 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
12407 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
12408 ac_save_CPPFLAGS
=$CPPFLAGS
12409 CPPFLAGS
="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
12410 ac_fn_c_check_header_mongrel
"$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
12411 if test "x$ac_cv_header_gphoto2_port_h" = xyes
; then :
12412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
12413 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
12414 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false
; then :
12415 $as_echo_n "(cached) " >&6
12417 ac_check_lib_save_LIBS
=$LIBS
12418 LIBS
="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
12419 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12420 /* end confdefs.h. */
12422 /* Override any GCC internal prototype to avoid an error.
12423 Use char because int might match the return type of a GCC
12424 builtin and then its argument prototype would still apply. */
12428 char gp_port_info_list_new ();
12432 return gp_port_info_list_new ();
12437 if ac_fn_c_try_link
"$LINENO"; then :
12438 ac_cv_lib_gphoto2_port_gp_port_info_list_new
=yes
12440 ac_cv_lib_gphoto2_port_gp_port_info_list_new
=no
12442 rm -f core conftest.err conftest.
$ac_objext \
12443 conftest
$ac_exeext conftest.
$ac_ext
12444 LIBS
=$ac_check_lib_save_LIBS
12446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
12447 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
12448 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes
; then :
12450 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
12453 GPHOTO2_PORT_LIBS
=""; GPHOTO2_PORT_CFLAGS
=""
12457 GPHOTO2_PORT_LIBS
=""; GPHOTO2_PORT_CFLAGS
=""
12461 CPPFLAGS
=$ac_save_CPPFLAGS
12462 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS
=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12463 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS
=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12466 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
12467 case "x$with_gphoto" in
12468 x
) as_fn_append wine_notices
"|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
12470 *) as_fn_error $?
"libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
12471 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12475 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
12476 case "x$with_gphoto" in
12477 x
) as_fn_append wine_notices
"|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
12479 *) as_fn_error $?
"libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
12480 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12486 if test "$ac_cv_header_resolv_h" = "yes"
12488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
12489 $as_echo_n "checking for resolver library... " >&6; }
12490 if ${ac_cv_have_resolv+:} false
; then :
12491 $as_echo_n "(cached) " >&6
12493 ac_save_LIBS
="$LIBS"
12494 for lib
in '' -lresolv
12496 LIBS
="$lib $ac_save_LIBS"
12497 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12498 /* end confdefs.h. */
12499 #ifdef HAVE_NETINET_IN_H
12500 #include <netinet/in.h>
12502 #include <resolv.h>
12506 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
12511 if ac_fn_c_try_link
"$LINENO"; then :
12512 ac_cv_have_resolv
=${lib:-"none required"}
12514 ac_cv_have_resolv
="not found"
12516 rm -f core conftest.err conftest.
$ac_objext \
12517 conftest
$ac_exeext conftest.
$ac_ext
12518 test "x$ac_cv_have_resolv" = "xnot found" ||
break
12520 LIBS
="$ac_save_LIBS"
12522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
12523 $as_echo "$ac_cv_have_resolv" >&6; }
12525 case "$ac_cv_have_resolv" in
12529 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12532 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12534 RESOLV_LIBS
=$ac_cv_have_resolv
12539 if test "x$with_cms" != "xno"
12541 if ${LCMS2_CFLAGS:+false} :; then :
12542 if ${PKG_CONFIG+:} false
; then :
12543 LCMS2_CFLAGS
=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
12547 if ${LCMS2_LIBS:+false} :; then :
12548 if ${PKG_CONFIG+:} false
; then :
12549 LCMS2_LIBS
=`$PKG_CONFIG --libs lcms2 2>/dev/null`
12553 LCMS2_LIBS
=${LCMS2_LIBS:-"-llcms2"}
12554 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
12555 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
12556 ac_save_CPPFLAGS
=$CPPFLAGS
12557 CPPFLAGS
="$CPPFLAGS $LCMS2_CFLAGS"
12558 for ac_header
in lcms2.h
12560 ac_fn_c_check_header_mongrel
"$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
12561 if test "x$ac_cv_header_lcms2_h" = xyes
; then :
12562 cat >>confdefs.h
<<_ACEOF
12563 #define HAVE_LCMS2_H 1
12570 if test "$ac_cv_header_lcms2_h" = "yes"
12572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
12573 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
12574 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false
; then :
12575 $as_echo_n "(cached) " >&6
12577 ac_check_lib_save_LIBS
=$LIBS
12578 LIBS
="-llcms2 $LCMS2_LIBS $LIBS"
12579 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12580 /* end confdefs.h. */
12582 /* Override any GCC internal prototype to avoid an error.
12583 Use char because int might match the return type of a GCC
12584 builtin and then its argument prototype would still apply. */
12588 char cmsOpenProfileFromFile ();
12592 return cmsOpenProfileFromFile ();
12597 if ac_fn_c_try_link
"$LINENO"; then :
12598 ac_cv_lib_lcms2_cmsOpenProfileFromFile
=yes
12600 ac_cv_lib_lcms2_cmsOpenProfileFromFile
=no
12602 rm -f core conftest.err conftest.
$ac_objext \
12603 conftest
$ac_exeext conftest.
$ac_ext
12604 LIBS
=$ac_check_lib_save_LIBS
12606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
12607 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
12608 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes
; then :
12610 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
12620 CPPFLAGS
=$ac_save_CPPFLAGS
12621 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS
=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12622 test -z "$LCMS2_LIBS" || LCMS2_LIBS
=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12625 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
12626 case "x$with_cms" in
12627 x
) as_fn_append wine_notices
"|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
12629 *) as_fn_error $?
"liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
12630 This is an error since --with-cms was requested." "$LINENO" 5 ;;
12635 if test "x$with_freetype" != "xno"
12637 if ${FREETYPE_CFLAGS:+false} :; then :
12638 if ${PKG_CONFIG+:} false
; then :
12639 FREETYPE_CFLAGS
=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
12642 test "$cross_compiling" = yes || FREETYPE_CFLAGS
=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
12643 if ${FREETYPE_LIBS:+false} :; then :
12644 if ${PKG_CONFIG+:} false
; then :
12645 FREETYPE_LIBS
=`$PKG_CONFIG --libs freetype2 2>/dev/null`
12648 test "$cross_compiling" = yes || FREETYPE_LIBS
=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
12649 FREETYPE_LIBS
=${FREETYPE_LIBS:-"-lfreetype"}
12650 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
12651 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
12652 ac_save_CPPFLAGS
=$CPPFLAGS
12653 CPPFLAGS
="$CPPFLAGS $FREETYPE_CFLAGS"
12654 for ac_header
in ft2build.h
12656 ac_fn_c_check_header_mongrel
"$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
12657 if test "x$ac_cv_header_ft2build_h" = xyes
; then :
12658 cat >>confdefs.h
<<_ACEOF
12659 #define HAVE_FT2BUILD_H 1
12666 if test "$ac_cv_header_ft2build_h" = "yes"
12668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
12669 $as_echo_n "checking for -lfreetype... " >&6; }
12670 if ${ac_cv_lib_soname_freetype+:} false
; then :
12671 $as_echo_n "(cached) " >&6
12673 ac_check_soname_save_LIBS
=$LIBS
12674 LIBS
="-lfreetype $FREETYPE_LIBS $LIBS"
12675 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12676 /* end confdefs.h. */
12678 /* Override any GCC internal prototype to avoid an error.
12679 Use char because int might match the return type of a GCC
12680 builtin and then its argument prototype would still apply. */
12684 char FT_Init_FreeType ();
12688 return FT_Init_FreeType ();
12693 if ac_fn_c_try_link
"$LINENO"; then :
12695 dll
) ac_cv_lib_soname_freetype
=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12696 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'` ;;
12697 *) ac_cv_lib_soname_freetype
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12698 if ${ac_cv_lib_soname_freetype:+false} :; then :
12699 ac_cv_lib_soname_freetype
=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12703 rm -f core conftest.err conftest.
$ac_objext \
12704 conftest
$ac_exeext conftest.
$ac_ext
12705 LIBS
=$ac_check_soname_save_LIBS
12707 if ${ac_cv_lib_soname_freetype:+false} :; then :
12708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12709 $as_echo "not found" >&6; }
12712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
12713 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
12715 cat >>confdefs.h
<<_ACEOF
12716 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
12720 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
12722 ac_fn_c_check_type
"$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
12723 #include FT_MODULE_H
12725 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes
; then :
12727 cat >>confdefs.h
<<_ACEOF
12728 #define HAVE_FT_TRUETYPEENGINETYPE 1
12739 CPPFLAGS
=$ac_save_CPPFLAGS
12740 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS
=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12741 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS
=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12744 if test "x$ac_cv_lib_soname_freetype" = x
; then :
12745 case "x$with_freetype" in
12747 *) as_fn_error $?
"FreeType ${notice_platform}development files not found. Fonts will not be built.
12748 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
12750 enable_fonts
=${enable_fonts:-no}
12753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
12754 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
12755 if ${ac_cv_c_ppdev+:} false
; then :
12756 $as_echo_n "(cached) " >&6
12758 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12759 /* end confdefs.h. */
12760 #ifdef HAVE_SYS_IOCTL_H
12761 # include <sys/ioctl.h>
12763 #include <linux/ppdev.h>
12767 ioctl (1,PPCLAIM,0)
12772 if ac_fn_c_try_compile
"$LINENO"; then :
12773 ac_cv_c_ppdev
="yes"
12777 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
12780 $as_echo "$ac_cv_c_ppdev" >&6; }
12781 if test "$ac_cv_c_ppdev" = "yes"
12784 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
12788 ac_wine_check_funcs_save_LIBS
="$LIBS"
12789 LIBS
="$LIBS $PTHREAD_LIBS"
12791 pthread_attr_get_np \
12792 pthread_getattr_np \
12793 pthread_getthreadid_np \
12794 pthread_get_stackaddr_np \
12795 pthread_get_stacksize_np
12797 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12798 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
12799 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
12800 cat >>confdefs.h
<<_ACEOF
12801 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12807 LIBS
="$ac_wine_check_funcs_save_LIBS"
12809 if test "$ac_cv_header_zlib_h" = "yes"
12811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
12812 $as_echo_n "checking for inflate in -lz... " >&6; }
12813 if ${ac_cv_lib_z_inflate+:} false
; then :
12814 $as_echo_n "(cached) " >&6
12816 ac_check_lib_save_LIBS
=$LIBS
12818 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12819 /* end confdefs.h. */
12821 /* Override any GCC internal prototype to avoid an error.
12822 Use char because int might match the return type of a GCC
12823 builtin and then its argument prototype would still apply. */
12836 if ac_fn_c_try_link
"$LINENO"; then :
12837 ac_cv_lib_z_inflate
=yes
12839 ac_cv_lib_z_inflate
=no
12841 rm -f core conftest.err conftest.
$ac_objext \
12842 conftest
$ac_exeext conftest.
$ac_ext
12843 LIBS
=$ac_check_lib_save_LIBS
12845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
12846 $as_echo "$ac_cv_lib_z_inflate" >&6; }
12847 if test "x$ac_cv_lib_z_inflate" = xyes
; then :
12849 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
12856 if test "x$Z_LIBS" = "x"; then :
12857 case "x$with_zlib" in
12858 x
) as_fn_append wine_notices
"|libz ${notice_platform}development files not found, data compression won't be supported." ;;
12860 *) as_fn_error $?
"libz ${notice_platform}development files not found, data compression won't be supported.
12861 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
12866 if test "x$enable_tools" != xno
-a "x$with_gettextpo" = xyes
12868 if test "$ac_cv_header_gettext_po_h" = "yes"
12870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
12871 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
12872 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false
; then :
12873 $as_echo_n "(cached) " >&6
12875 ac_check_lib_save_LIBS
=$LIBS
12876 LIBS
="-lgettextpo $LIBS"
12877 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12878 /* end confdefs.h. */
12880 /* Override any GCC internal prototype to avoid an error.
12881 Use char because int might match the return type of a GCC
12882 builtin and then its argument prototype would still apply. */
12886 char po_message_msgctxt ();
12890 return po_message_msgctxt ();
12895 if ac_fn_c_try_link
"$LINENO"; then :
12896 ac_cv_lib_gettextpo_po_message_msgctxt
=yes
12898 ac_cv_lib_gettextpo_po_message_msgctxt
=no
12900 rm -f core conftest.err conftest.
$ac_objext \
12901 conftest
$ac_exeext conftest.
$ac_ext
12902 LIBS
=$ac_check_lib_save_LIBS
12904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
12905 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
12906 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes
; then :
12908 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
12910 GETTEXTPO_LIBS
="-lgettextpo"
12915 if test "x$GETTEXTPO_LIBS" = "x"; then :
12916 case "x$with_gettextpo" in
12917 x
) as_fn_append wine_notices
"|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
12919 *) as_fn_error $?
"GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
12920 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12924 if test "$srcdir" != .
; then :
12925 case "x$with_gettextpo" in
12926 x
) as_fn_append wine_notices
"|Rebuilding po files is not supported for out of tree builds." ;;
12928 *) as_fn_error $?
"Rebuilding po files is not supported for out of tree builds.
12929 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12935 if test "x$with_pulse" != "xno";
12937 if ${PULSE_CFLAGS:+false} :; then :
12938 if ${PKG_CONFIG+:} false
; then :
12939 PULSE_CFLAGS
=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
12943 if ${PULSE_LIBS:+false} :; then :
12944 if ${PKG_CONFIG+:} false
; then :
12945 PULSE_LIBS
=`$PKG_CONFIG --libs libpulse 2>/dev/null`
12950 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
12951 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
12952 ac_save_CPPFLAGS
=$CPPFLAGS
12953 CPPFLAGS
="$CPPFLAGS $PULSE_CFLAGS"
12954 for ac_header
in pulse
/pulseaudio.h
12956 ac_fn_c_check_header_mongrel
"$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
12957 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes
; then :
12958 cat >>confdefs.h
<<_ACEOF
12959 #define HAVE_PULSE_PULSEAUDIO_H 1
12961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
12962 $as_echo_n "checking for pa_stream_is_corked in -lpulse... " >&6; }
12963 if ${ac_cv_lib_pulse_pa_stream_is_corked+:} false
; then :
12964 $as_echo_n "(cached) " >&6
12966 ac_check_lib_save_LIBS
=$LIBS
12967 LIBS
="-lpulse $PULSE_LIBS $LIBS"
12968 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12969 /* end confdefs.h. */
12971 /* Override any GCC internal prototype to avoid an error.
12972 Use char because int might match the return type of a GCC
12973 builtin and then its argument prototype would still apply. */
12977 char pa_stream_is_corked ();
12981 return pa_stream_is_corked ();
12986 if ac_fn_c_try_link
"$LINENO"; then :
12987 ac_cv_lib_pulse_pa_stream_is_corked
=yes
12989 ac_cv_lib_pulse_pa_stream_is_corked
=no
12991 rm -f core conftest.err conftest.
$ac_objext \
12992 conftest
$ac_exeext conftest.
$ac_ext
12993 LIBS
=$ac_check_lib_save_LIBS
12995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
12996 $as_echo "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
12997 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes
; then :
13009 CPPFLAGS
=$ac_save_CPPFLAGS
13010 test -z "$PULSE_CFLAGS" || PULSE_CFLAGS
=`echo " $PULSE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13011 test -z "$PULSE_LIBS" || PULSE_LIBS
=`echo " $PULSE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13014 if test -z "$PULSE_LIBS"; then :
13015 case "x$with_pulse" in
13016 x
) as_fn_append wine_notices
"|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
13018 *) as_fn_error $?
"libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
13019 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
13021 enable_winepulse_drv
=${enable_winepulse_drv:-no}
13024 if test "x$with_gstreamer" != "xno"
13026 if ${GSTREAMER_CFLAGS:+false} :; then :
13027 if ${PKG_CONFIG+:} false
; then :
13028 GSTREAMER_CFLAGS
=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
13032 if ${GSTREAMER_LIBS:+false} :; then :
13033 if ${PKG_CONFIG+:} false
; then :
13034 GSTREAMER_LIBS
=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
13039 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
13040 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
13041 ac_save_CPPFLAGS
=$CPPFLAGS
13042 CPPFLAGS
="$CPPFLAGS $GSTREAMER_CFLAGS"
13044 for i
in $GSTREAMER_CFLAGS
13047 -I*) ac_gst_incl
="$ac_gst_incl $i";;
13050 GSTREAMER_CFLAGS
=$ac_gst_incl
13051 CPPFLAGS
="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
13052 ac_fn_c_check_header_mongrel
"$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
13053 if test "x$ac_cv_header_gst_gst_h" = xyes
; then :
13054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
13055 $as_echo_n "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
13056 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13057 /* end confdefs.h. */
13058 #include <gst/gst.h>
13062 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
13067 if ac_fn_c_try_compile
"$LINENO"; then :
13068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13069 $as_echo "yes" >&6; }
13070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
13071 $as_echo_n "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
13072 if ${ac_cv_lib_gstreamer_1_0_gst_pad_new+:} false
; then :
13073 $as_echo_n "(cached) " >&6
13075 ac_check_lib_save_LIBS
=$LIBS
13076 LIBS
="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
13077 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13078 /* end confdefs.h. */
13080 /* Override any GCC internal prototype to avoid an error.
13081 Use char because int might match the return type of a GCC
13082 builtin and then its argument prototype would still apply. */
13086 char gst_pad_new ();
13090 return gst_pad_new ();
13095 if ac_fn_c_try_link
"$LINENO"; then :
13096 ac_cv_lib_gstreamer_1_0_gst_pad_new
=yes
13098 ac_cv_lib_gstreamer_1_0_gst_pad_new
=no
13100 rm -f core conftest.err conftest.
$ac_objext \
13101 conftest
$ac_exeext conftest.
$ac_ext
13102 LIBS
=$ac_check_lib_save_LIBS
13104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
13105 $as_echo "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
13106 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes
; then :
13111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13112 $as_echo "no" >&6; }
13113 ac_glib2_broken
=yes
13114 as_fn_append wine_notices
"|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
13116 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13120 CPPFLAGS
=$ac_save_CPPFLAGS
13121 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS
=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13122 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS
=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13125 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 :
13126 case "x$with_gstreamer" in
13127 x
) as_fn_append wine_notices
"|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
13129 *) as_fn_error $?
"gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
13130 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
13134 test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes || enable_winegstreamer
=${enable_winegstreamer:-no}
13138 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
13140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
13141 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
13142 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false
; then :
13143 $as_echo_n "(cached) " >&6
13145 ac_check_lib_save_LIBS
=$LIBS
13146 LIBS
="-lasound $LIBS"
13147 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13148 /* end confdefs.h. */
13150 /* Override any GCC internal prototype to avoid an error.
13151 Use char because int might match the return type of a GCC
13152 builtin and then its argument prototype would still apply. */
13156 char snd_pcm_hw_params_get_access_mask ();
13160 return snd_pcm_hw_params_get_access_mask ();
13165 if ac_fn_c_try_link
"$LINENO"; then :
13166 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask
=yes
13168 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask
=no
13170 rm -f core conftest.err conftest.
$ac_objext \
13171 conftest
$ac_exeext conftest.
$ac_ext
13172 LIBS
=$ac_check_lib_save_LIBS
13174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
13175 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
13176 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes
; then :
13177 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13178 /* end confdefs.h. */
13179 #ifdef HAVE_ALSA_ASOUNDLIB_H
13180 #include <alsa/asoundlib.h>
13181 #elif defined(HAVE_SYS_ASOUNDLIB_H)
13182 #include <sys/asoundlib.h>
13187 snd_pcm_hw_params_get_access_mask(NULL, NULL)
13192 if ac_fn_c_try_compile
"$LINENO"; then :
13193 ALSA_LIBS
="-lasound"
13195 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13199 test -n "$ALSA_LIBS" || enable_winealsa_drv
=${enable_winealsa_drv:-no}
13201 if test "x$with_oss" != xno
13203 ac_save_CPPFLAGS
="$CPPFLAGS"
13204 if test -f /etc
/oss.conf
13208 ac_oss_incl
="-I${OSSLIBDIR:-/usr/lib/oss}/include"
13209 CPPFLAGS
="$CPPFLAGS $ac_oss_incl"
13210 ac_fn_c_check_header_mongrel
"$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
13211 if test "x$ac_cv_header_sys_soundcard_h" = xyes
; then :
13212 ac_fn_c_check_member
"$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
13214 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes
; then :
13216 cat >>confdefs.h
<<_ACEOF
13217 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
13220 OSS4_CFLAGS
="$ac_oss_incl"
13227 CPPFLAGS
="$ac_save_CPPFLAGS"
13229 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
; then :
13230 case "x$with_oss" in
13231 x
) as_fn_append wine_notices
"|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
13233 *) as_fn_error $?
"OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
13234 This is an error since --with-oss was requested." "$LINENO" 5 ;;
13236 enable_wineoss_drv
=${enable_wineoss_drv:-no}
13239 if test "x$with_udev" != "xno"
13241 if ${UDEV_CFLAGS:+false} :; then :
13242 if ${PKG_CONFIG+:} false
; then :
13243 UDEV_CFLAGS
=`$PKG_CONFIG --cflags libudev 2>/dev/null`
13247 if ${UDEV_LIBS:+false} :; then :
13248 if ${PKG_CONFIG+:} false
; then :
13249 UDEV_LIBS
=`$PKG_CONFIG --libs libudev 2>/dev/null`
13253 UDEV_LIBS
=${UDEV_LIBS:-"-ludev"}
13254 $as_echo "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
13255 $as_echo "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
13256 ac_save_CPPFLAGS
=$CPPFLAGS
13257 CPPFLAGS
="$CPPFLAGS $UDEV_CFLAGS"
13258 for ac_header
in libudev.h
13260 ac_fn_c_check_header_mongrel
"$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
13261 if test "x$ac_cv_header_libudev_h" = xyes
; then :
13262 cat >>confdefs.h
<<_ACEOF
13263 #define HAVE_LIBUDEV_H 1
13265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
13266 $as_echo_n "checking for udev_new in -ludev... " >&6; }
13267 if ${ac_cv_lib_udev_udev_new+:} false
; then :
13268 $as_echo_n "(cached) " >&6
13270 ac_check_lib_save_LIBS
=$LIBS
13271 LIBS
="-ludev $UDEV_LIBS $LIBS"
13272 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13273 /* end confdefs.h. */
13275 /* Override any GCC internal prototype to avoid an error.
13276 Use char because int might match the return type of a GCC
13277 builtin and then its argument prototype would still apply. */
13285 return udev_new ();
13290 if ac_fn_c_try_link
"$LINENO"; then :
13291 ac_cv_lib_udev_udev_new
=yes
13293 ac_cv_lib_udev_udev_new
=no
13295 rm -f core conftest.err conftest.
$ac_objext \
13296 conftest
$ac_exeext conftest.
$ac_ext
13297 LIBS
=$ac_check_lib_save_LIBS
13299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
13300 $as_echo "$ac_cv_lib_udev_udev_new" >&6; }
13301 if test "x$ac_cv_lib_udev_udev_new" = xyes
; then :
13303 $as_echo "#define HAVE_UDEV 1" >>confdefs.h
13315 CPPFLAGS
=$ac_save_CPPFLAGS
13316 test -z "$UDEV_CFLAGS" || UDEV_CFLAGS
=`echo " $UDEV_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13317 test -z "$UDEV_LIBS" || UDEV_LIBS
=`echo " $UDEV_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13320 if test "x$UDEV_LIBS" = "x"; then :
13321 case "x$with_udev" in
13322 x
) as_fn_append wine_notices
"|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
13324 *) as_fn_error $?
"libudev ${notice_platform}development files not found, plug and play won't be supported.
13325 This is an error since --with-udev was requested." "$LINENO" 5 ;;
13330 if test "x$with_capi" != "xno"
13332 if ${CAPI20_CFLAGS:+false} :; then :
13333 if ${PKG_CONFIG+:} false
; then :
13334 CAPI20_CFLAGS
=`$PKG_CONFIG --cflags capi20 2>/dev/null`
13338 if ${CAPI20_LIBS:+false} :; then :
13339 if ${PKG_CONFIG+:} false
; then :
13340 CAPI20_LIBS
=`$PKG_CONFIG --libs capi20 2>/dev/null`
13345 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
13346 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
13347 ac_save_CPPFLAGS
=$CPPFLAGS
13348 CPPFLAGS
="$CPPFLAGS $CAPI20_CFLAGS"
13349 for ac_header
in capi20.h linux
/capi.h
13351 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13352 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#define __user
13354 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
13355 cat >>confdefs.h
<<_ACEOF
13356 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13363 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
13365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
13366 $as_echo_n "checking for -lcapi20... " >&6; }
13367 if ${ac_cv_lib_soname_capi20+:} false
; then :
13368 $as_echo_n "(cached) " >&6
13370 ac_check_soname_save_LIBS
=$LIBS
13371 LIBS
="-lcapi20 $CAPI20_LIBS $LIBS"
13372 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13373 /* end confdefs.h. */
13375 /* Override any GCC internal prototype to avoid an error.
13376 Use char because int might match the return type of a GCC
13377 builtin and then its argument prototype would still apply. */
13381 char capi20_register ();
13385 return capi20_register ();
13390 if ac_fn_c_try_link
"$LINENO"; then :
13392 dll
) ac_cv_lib_soname_capi20
=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13393 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'` ;;
13394 *) ac_cv_lib_soname_capi20
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13395 if ${ac_cv_lib_soname_capi20:+false} :; then :
13396 ac_cv_lib_soname_capi20
=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13400 rm -f core conftest.err conftest.
$ac_objext \
13401 conftest
$ac_exeext conftest.
$ac_ext
13402 LIBS
=$ac_check_soname_save_LIBS
13404 if ${ac_cv_lib_soname_capi20:+false} :; then :
13405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13406 $as_echo "not found" >&6; }
13409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
13410 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
13412 cat >>confdefs.h
<<_ACEOF
13413 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
13419 CPPFLAGS
=$ac_save_CPPFLAGS
13420 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS
=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13421 test -z "$CAPI20_LIBS" || CAPI20_LIBS
=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13424 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
13425 case "x$with_capi" in
13426 x
) as_fn_append wine_notices
"|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
13428 *) as_fn_error $?
"libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
13429 This is an error since --with-capi was requested." "$LINENO" 5 ;;
13436 if test "x$with_cups" != "xno"
13438 ac_save_CPPFLAGS
="$CPPFLAGS"
13439 ac_cups_cflags
=`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`
13440 ac_cups_libs
=`${CUPS_CONFIG:-cups-config} --ldflags 2>/dev/null`
13441 CPPFLAGS
="$CPPFLAGS $ac_cups_cflags"
13442 for ac_header
in cups
/cups.h
13444 ac_fn_c_check_header_mongrel
"$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
13445 if test "x$ac_cv_header_cups_cups_h" = xyes
; then :
13446 cat >>confdefs.h
<<_ACEOF
13447 #define HAVE_CUPS_CUPS_H 1
13449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
13450 $as_echo_n "checking for -lcups... " >&6; }
13451 if ${ac_cv_lib_soname_cups+:} false
; then :
13452 $as_echo_n "(cached) " >&6
13454 ac_check_soname_save_LIBS
=$LIBS
13455 LIBS
="-lcups $ac_cups_libs $LIBS"
13456 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13457 /* end confdefs.h. */
13459 /* Override any GCC internal prototype to avoid an error.
13460 Use char because int might match the return type of a GCC
13461 builtin and then its argument prototype would still apply. */
13465 char cupsGetDefault ();
13469 return cupsGetDefault ();
13474 if ac_fn_c_try_link
"$LINENO"; then :
13476 dll
) ac_cv_lib_soname_cups
=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13477 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'` ;;
13478 *) ac_cv_lib_soname_cups
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13479 if ${ac_cv_lib_soname_cups:+false} :; then :
13480 ac_cv_lib_soname_cups
=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13484 rm -f core conftest.err conftest.
$ac_objext \
13485 conftest
$ac_exeext conftest.
$ac_ext
13486 LIBS
=$ac_check_soname_save_LIBS
13488 if ${ac_cv_lib_soname_cups:+false} :; then :
13489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13490 $as_echo "not found" >&6; }
13493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
13494 $as_echo "$ac_cv_lib_soname_cups" >&6; }
13496 cat >>confdefs.h
<<_ACEOF
13497 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
13500 CUPS_CFLAGS
="$ac_cups_cflags"
13502 for ac_header
in cups
/ppd.h
13504 ac_fn_c_check_header_mongrel
"$LINENO" "cups/ppd.h" "ac_cv_header_cups_ppd_h" "$ac_includes_default"
13505 if test "x$ac_cv_header_cups_ppd_h" = xyes
; then :
13506 cat >>confdefs.h
<<_ACEOF
13507 #define HAVE_CUPS_PPD_H 1
13518 CPPFLAGS
="$ac_save_CPPFLAGS"
13520 if test "x$ac_cv_lib_soname_cups" = "x"; then :
13521 case "x$with_cups" in
13522 x
) as_fn_append wine_notices
"|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
13524 *) as_fn_error $?
"libcups ${notice_platform}development files not found, CUPS won't be supported.
13525 This is an error since --with-cups was requested." "$LINENO" 5 ;;
13530 if test "x$with_fontconfig" != "xno"
13532 if ${FONTCONFIG_CFLAGS:+false} :; then :
13533 if ${PKG_CONFIG+:} false
; then :
13534 FONTCONFIG_CFLAGS
=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
13537 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS
=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
13538 if ${FONTCONFIG_LIBS:+false} :; then :
13539 if ${PKG_CONFIG+:} false
; then :
13540 FONTCONFIG_LIBS
=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
13543 test "$cross_compiling" = yes || FONTCONFIG_LIBS
=${FONTCONFIG_LIBS:-$X_LIBS}
13545 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
13546 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
13547 ac_save_CPPFLAGS
=$CPPFLAGS
13548 CPPFLAGS
="$CPPFLAGS $FONTCONFIG_CFLAGS"
13549 for ac_header
in fontconfig
/fontconfig.h
13551 ac_fn_c_check_header_mongrel
"$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
13552 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes
; then :
13553 cat >>confdefs.h
<<_ACEOF
13554 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
13561 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
13563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
13564 $as_echo_n "checking for -lfontconfig... " >&6; }
13565 if ${ac_cv_lib_soname_fontconfig+:} false
; then :
13566 $as_echo_n "(cached) " >&6
13568 ac_check_soname_save_LIBS
=$LIBS
13569 LIBS
="-lfontconfig $FONTCONFIG_LIBS $LIBS"
13570 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13571 /* end confdefs.h. */
13573 /* Override any GCC internal prototype to avoid an error.
13574 Use char because int might match the return type of a GCC
13575 builtin and then its argument prototype would still apply. */
13588 if ac_fn_c_try_link
"$LINENO"; then :
13590 dll
) ac_cv_lib_soname_fontconfig
=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13591 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'` ;;
13592 *) ac_cv_lib_soname_fontconfig
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13593 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13594 ac_cv_lib_soname_fontconfig
=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13598 rm -f core conftest.err conftest.
$ac_objext \
13599 conftest
$ac_exeext conftest.
$ac_ext
13600 LIBS
=$ac_check_soname_save_LIBS
13602 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13604 $as_echo "not found" >&6; }
13605 FONTCONFIG_CFLAGS
=""
13607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
13608 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
13610 cat >>confdefs.h
<<_ACEOF
13611 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
13617 FONTCONFIG_CFLAGS
=""
13619 CPPFLAGS
=$ac_save_CPPFLAGS
13620 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS
=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13621 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS
=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13624 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
13625 case "x$with_fontconfig" in
13626 x
) as_fn_append wine_notices
"|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
13628 *) as_fn_error $?
"fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
13629 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
13634 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
13636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
13637 $as_echo_n "checking for -lgsm... " >&6; }
13638 if ${ac_cv_lib_soname_gsm+:} false
; then :
13639 $as_echo_n "(cached) " >&6
13641 ac_check_soname_save_LIBS
=$LIBS
13643 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13644 /* end confdefs.h. */
13646 /* Override any GCC internal prototype to avoid an error.
13647 Use char because int might match the return type of a GCC
13648 builtin and then its argument prototype would still apply. */
13652 char gsm_create ();
13656 return gsm_create ();
13661 if ac_fn_c_try_link
"$LINENO"; then :
13663 dll
) ac_cv_lib_soname_gsm
=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13664 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'` ;;
13665 *) ac_cv_lib_soname_gsm
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13666 if ${ac_cv_lib_soname_gsm:+false} :; then :
13667 ac_cv_lib_soname_gsm
=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13671 rm -f core conftest.err conftest.
$ac_objext \
13672 conftest
$ac_exeext conftest.
$ac_ext
13673 LIBS
=$ac_check_soname_save_LIBS
13675 if ${ac_cv_lib_soname_gsm:+false} :; then :
13676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13677 $as_echo "not found" >&6; }
13680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
13681 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
13683 cat >>confdefs.h
<<_ACEOF
13684 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
13690 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
13691 case "x$with_gsm" in
13692 x
) as_fn_append wine_notices
"|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
13694 *) as_fn_error $?
"libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
13695 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
13700 if test "x$with_jpeg" != "xno"
13702 if ${JPEG_CFLAGS:+false} :; then :
13703 if ${PKG_CONFIG+:} false
; then :
13704 JPEG_CFLAGS
=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
13708 if ${JPEG_LIBS:+false} :; then :
13709 if ${PKG_CONFIG+:} false
; then :
13710 JPEG_LIBS
=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
13715 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
13716 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
13717 ac_save_CPPFLAGS
=$CPPFLAGS
13718 CPPFLAGS
="$CPPFLAGS $JPEG_CFLAGS"
13719 for ac_header
in jpeglib.h
13721 ac_fn_c_check_header_mongrel
"$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
13722 if test "x$ac_cv_header_jpeglib_h" = xyes
; then :
13723 cat >>confdefs.h
<<_ACEOF
13724 #define HAVE_JPEGLIB_H 1
13731 if test "$ac_cv_header_jpeglib_h" = "yes"
13733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
13734 $as_echo_n "checking for -ljpeg... " >&6; }
13735 if ${ac_cv_lib_soname_jpeg+:} false
; then :
13736 $as_echo_n "(cached) " >&6
13738 ac_check_soname_save_LIBS
=$LIBS
13739 LIBS
="-ljpeg $JPEG_LIBS $LIBS"
13740 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13741 /* end confdefs.h. */
13743 /* Override any GCC internal prototype to avoid an error.
13744 Use char because int might match the return type of a GCC
13745 builtin and then its argument prototype would still apply. */
13749 char jpeg_start_decompress ();
13753 return jpeg_start_decompress ();
13758 if ac_fn_c_try_link
"$LINENO"; then :
13760 dll
) ac_cv_lib_soname_jpeg
=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13761 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'` ;;
13762 *) ac_cv_lib_soname_jpeg
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13763 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13764 ac_cv_lib_soname_jpeg
=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13768 rm -f core conftest.err conftest.
$ac_objext \
13769 conftest
$ac_exeext conftest.
$ac_ext
13770 LIBS
=$ac_check_soname_save_LIBS
13772 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13774 $as_echo "not found" >&6; }
13777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
13778 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
13780 cat >>confdefs.h
<<_ACEOF
13781 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
13789 CPPFLAGS
=$ac_save_CPPFLAGS
13790 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS
=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13791 test -z "$JPEG_LIBS" || JPEG_LIBS
=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13794 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
13795 case "x$with_jpeg" in
13796 x
) as_fn_append wine_warnings
"|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
13798 *) as_fn_error $?
"libjpeg ${notice_platform}development files not found, JPEG won't be supported.
13799 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
13804 if test "x$with_png" != "xno"
13806 if ${PNG_CFLAGS:+false} :; then :
13807 if ${PKG_CONFIG+:} false
; then :
13808 PNG_CFLAGS
=`$PKG_CONFIG --cflags libpng 2>/dev/null`
13811 test "$cross_compiling" = yes || PNG_CFLAGS
=${PNG_CFLAGS:-$X_CFLAGS}
13812 if ${PNG_LIBS:+false} :; then :
13813 if ${PKG_CONFIG+:} false
; then :
13814 PNG_LIBS
=`$PKG_CONFIG --libs libpng 2>/dev/null`
13817 test "$cross_compiling" = yes || PNG_LIBS
=${PNG_LIBS:-$X_LIBS}
13819 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
13820 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
13821 ac_save_CPPFLAGS
=$CPPFLAGS
13822 CPPFLAGS
="$CPPFLAGS $PNG_CFLAGS"
13823 for ac_header
in png.h
13825 ac_fn_c_check_header_mongrel
"$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
13826 if test "x$ac_cv_header_png_h" = xyes
; then :
13827 cat >>confdefs.h
<<_ACEOF
13828 #define HAVE_PNG_H 1
13835 if test "$ac_cv_header_png_h" = "yes"
13837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
13838 $as_echo_n "checking for -lpng... " >&6; }
13839 if ${ac_cv_lib_soname_png+:} false
; then :
13840 $as_echo_n "(cached) " >&6
13842 ac_check_soname_save_LIBS
=$LIBS
13843 LIBS
="-lpng $PNG_LIBS -lm -lz $LIBS"
13844 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13845 /* end confdefs.h. */
13847 /* Override any GCC internal prototype to avoid an error.
13848 Use char because int might match the return type of a GCC
13849 builtin and then its argument prototype would still apply. */
13853 char png_create_read_struct ();
13857 return png_create_read_struct ();
13862 if ac_fn_c_try_link
"$LINENO"; then :
13864 dll
) ac_cv_lib_soname_png
=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13865 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'` ;;
13866 *) 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'`
13867 if ${ac_cv_lib_soname_png:+false} :; then :
13868 ac_cv_lib_soname_png
=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13872 rm -f core conftest.err conftest.
$ac_objext \
13873 conftest
$ac_exeext conftest.
$ac_ext
13874 LIBS
=$ac_check_soname_save_LIBS
13876 if ${ac_cv_lib_soname_png:+false} :; then :
13877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13878 $as_echo "not found" >&6; }
13881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
13882 $as_echo "$ac_cv_lib_soname_png" >&6; }
13884 cat >>confdefs.h
<<_ACEOF
13885 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
13888 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13889 /* end confdefs.h. */
13894 typeof(png_set_expand_gray_1_2_4_to_8) *p
13899 if ac_fn_c_try_compile
"$LINENO"; then :
13901 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
13904 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13909 CPPFLAGS
=$ac_save_CPPFLAGS
13910 test -z "$PNG_CFLAGS" || PNG_CFLAGS
=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13911 test -z "$PNG_LIBS" || PNG_LIBS
=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13914 if test "x$ac_cv_lib_soname_png" = "x"; then :
13915 case "x$with_png" in
13916 x
) as_fn_append wine_warnings
"|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
13918 *) as_fn_error $?
"libpng ${notice_platform}development files not found, PNG won't be supported.
13919 This is an error since --with-png was requested." "$LINENO" 5 ;;
13924 if test "x$with_tiff" != "xno"
13926 if ${TIFF_CFLAGS:+false} :; then :
13927 if ${PKG_CONFIG+:} false
; then :
13928 TIFF_CFLAGS
=`$PKG_CONFIG --cflags libtiff-4 2>/dev/null`
13932 if ${TIFF_LIBS:+false} :; then :
13933 if ${PKG_CONFIG+:} false
; then :
13934 TIFF_LIBS
=`$PKG_CONFIG --libs libtiff-4 2>/dev/null`
13939 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 cflags: $TIFF_CFLAGS" >&5
13940 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 libs: $TIFF_LIBS" >&5
13941 ac_save_CPPFLAGS
=$CPPFLAGS
13942 CPPFLAGS
="$CPPFLAGS $TIFF_CFLAGS"
13943 for ac_header
in tiffio.h
13945 ac_fn_c_check_header_mongrel
"$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
13946 if test "x$ac_cv_header_tiffio_h" = xyes
; then :
13947 cat >>confdefs.h
<<_ACEOF
13948 #define HAVE_TIFFIO_H 1
13955 if test "$ac_cv_header_tiffio_h" = "yes"
13957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
13958 $as_echo_n "checking for -ltiff... " >&6; }
13959 if ${ac_cv_lib_soname_tiff+:} false
; then :
13960 $as_echo_n "(cached) " >&6
13962 ac_check_soname_save_LIBS
=$LIBS
13963 LIBS
="-ltiff $TIFF_LIBS $LIBS"
13964 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13965 /* end confdefs.h. */
13967 /* Override any GCC internal prototype to avoid an error.
13968 Use char because int might match the return type of a GCC
13969 builtin and then its argument prototype would still apply. */
13973 char TIFFClientOpen ();
13977 return TIFFClientOpen ();
13982 if ac_fn_c_try_link
"$LINENO"; then :
13984 dll
) ac_cv_lib_soname_tiff
=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13985 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'` ;;
13986 *) ac_cv_lib_soname_tiff
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13987 if ${ac_cv_lib_soname_tiff:+false} :; then :
13988 ac_cv_lib_soname_tiff
=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13992 rm -f core conftest.err conftest.
$ac_objext \
13993 conftest
$ac_exeext conftest.
$ac_ext
13994 LIBS
=$ac_check_soname_save_LIBS
13996 if ${ac_cv_lib_soname_tiff:+false} :; then :
13997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13998 $as_echo "not found" >&6; }
14001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
14002 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
14004 cat >>confdefs.h
<<_ACEOF
14005 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
14011 CPPFLAGS
=$ac_save_CPPFLAGS
14012 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS
=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14013 test -z "$TIFF_LIBS" || TIFF_LIBS
=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14016 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
14017 case "x$with_tiff" in
14018 x
) as_fn_append wine_notices
"|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
14020 *) as_fn_error $?
"libtiff ${notice_platform}development files not found, TIFF won't be supported.
14021 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
14026 if test "x$with_mpg123" != "xno"
14028 if ${MPG123_CFLAGS:+false} :; then :
14029 if ${PKG_CONFIG+:} false
; then :
14030 MPG123_CFLAGS
=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
14034 if ${MPG123_LIBS:+false} :; then :
14035 if ${PKG_CONFIG+:} false
; then :
14036 MPG123_LIBS
=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
14040 MPG123_LIBS
=${MPG123_LIBS:-"-lmpg123"}
14041 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
14042 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
14043 ac_save_CPPFLAGS
=$CPPFLAGS
14044 CPPFLAGS
="$CPPFLAGS $MPG123_CFLAGS"
14045 for ac_header
in mpg123.h
14047 ac_fn_c_check_header_mongrel
"$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
14048 if test "x$ac_cv_header_mpg123_h" = xyes
; then :
14049 cat >>confdefs.h
<<_ACEOF
14050 #define HAVE_MPG123_H 1
14057 if test "$ac_cv_header_mpg123_h" = "yes"
14059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
14060 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
14061 if ${ac_cv_lib_mpg123_mpg123_feed+:} false
; then :
14062 $as_echo_n "(cached) " >&6
14064 ac_check_lib_save_LIBS
=$LIBS
14065 LIBS
="-lmpg123 $MPG123_LIBS $LIBS"
14066 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14067 /* end confdefs.h. */
14069 /* Override any GCC internal prototype to avoid an error.
14070 Use char because int might match the return type of a GCC
14071 builtin and then its argument prototype would still apply. */
14075 char mpg123_feed ();
14079 return mpg123_feed ();
14084 if ac_fn_c_try_link
"$LINENO"; then :
14085 ac_cv_lib_mpg123_mpg123_feed
=yes
14087 ac_cv_lib_mpg123_mpg123_feed
=no
14089 rm -f core conftest.err conftest.
$ac_objext \
14090 conftest
$ac_exeext conftest.
$ac_ext
14091 LIBS
=$ac_check_lib_save_LIBS
14093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
14094 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
14095 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes
; then :
14105 CPPFLAGS
=$ac_save_CPPFLAGS
14106 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS
=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14107 test -z "$MPG123_LIBS" || MPG123_LIBS
=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14110 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes
-a x
"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes
; then :
14111 case "x$with_mpg123" in
14112 x
) as_fn_append wine_notices
"|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
14114 *) as_fn_error $?
"libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
14115 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
14117 enable_winemp3_acm
=${enable_winemp3_acm:-no}
14120 if test "$ac_cv_header_AL_al_h" = "yes"
14122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
14123 $as_echo_n "checking for -lopenal... " >&6; }
14124 if ${ac_cv_lib_soname_openal+:} false
; then :
14125 $as_echo_n "(cached) " >&6
14127 ac_check_soname_save_LIBS
=$LIBS
14128 LIBS
="-lopenal $LIBS"
14129 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14130 /* end confdefs.h. */
14132 /* Override any GCC internal prototype to avoid an error.
14133 Use char because int might match the return type of a GCC
14134 builtin and then its argument prototype would still apply. */
14138 char alGetSource3i ();
14142 return alGetSource3i ();
14147 if ac_fn_c_try_link
"$LINENO"; then :
14149 dll
) ac_cv_lib_soname_openal
=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14150 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'` ;;
14151 *) ac_cv_lib_soname_openal
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14152 if ${ac_cv_lib_soname_openal:+false} :; then :
14153 ac_cv_lib_soname_openal
=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14157 rm -f core conftest.err conftest.
$ac_objext \
14158 conftest
$ac_exeext conftest.
$ac_ext
14159 LIBS
=$ac_check_soname_save_LIBS
14161 if ${ac_cv_lib_soname_openal:+false} :; then :
14162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14163 $as_echo "not found" >&6; }
14166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
14167 $as_echo "$ac_cv_lib_soname_openal" >&6; }
14169 cat >>confdefs.h
<<_ACEOF
14170 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
14173 OPENAL_LIBS
="-lopenal"
14175 ac_cv_lib_openal
=yes
14177 cat >>confdefs.h
<<_ACEOF
14178 #define HAVE_OPENAL 1
14183 if test "x$ac_cv_lib_openal" != xyes
; then :
14184 case "x$with_openal" in
14185 x
) as_fn_append wine_notices
"|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
14187 *) as_fn_error $?
"libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
14188 This is an error since --with-openal was requested." "$LINENO" 5 ;;
14190 enable_openal32
=${enable_openal32:-no}
14193 if test "x$ac_cv_lib_openal" = xyes
14195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for openal-soft" >&5
14196 $as_echo_n "checking for openal-soft... " >&6; }
14197 if ${ac_cv_have_openalsoft+:} false
; then :
14198 $as_echo_n "(cached) " >&6
14200 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14201 /* end confdefs.h. */
14203 #include <AL/alc.h>
14204 #include <AL/alext.h>
14205 LPALCRENDERSAMPLESSOFT x;
14214 if ac_fn_c_try_compile
"$LINENO"; then :
14215 ac_cv_have_openalsoft
=yes
14217 ac_cv_have_openalsoft
=no
14219 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_openalsoft" >&5
14222 $as_echo "$ac_cv_have_openalsoft" >&6; }
14224 if test "x$ac_cv_have_openalsoft" != xyes
14226 as_fn_append wine_notices
"|openal-soft ${notice_platform}development files not found (or too old), XAudio2 won't be supported."
14227 enable_x3daudio1_0
=${enable_x3daudio1_0:-no}
14228 enable_x3daudio1_1
=${enable_x3daudio1_1:-no}
14229 enable_x3daudio1_2
=${enable_x3daudio1_2:-no}
14230 enable_x3daudio1_3
=${enable_x3daudio1_3:-no}
14231 enable_x3daudio1_4
=${enable_x3daudio1_4:-no}
14232 enable_x3daudio1_5
=${enable_x3daudio1_5:-no}
14233 enable_x3daudio1_6
=${enable_x3daudio1_6:-no}
14234 enable_x3daudio1_7
=${enable_x3daudio1_7:-no}
14235 enable_xapofx1_1
=${enable_xapofx1_1:-no}
14236 enable_xapofx1_2
=${enable_xapofx1_2:-no}
14237 enable_xapofx1_3
=${enable_xapofx1_3:-no}
14238 enable_xapofx1_4
=${enable_xapofx1_4:-no}
14239 enable_xapofx1_5
=${enable_xapofx1_5:-no}
14240 enable_xaudio2_0
=${enable_xaudio2_0:-no}
14241 enable_xaudio2_1
=${enable_xaudio2_1:-no}
14242 enable_xaudio2_2
=${enable_xaudio2_2:-no}
14243 enable_xaudio2_3
=${enable_xaudio2_3:-no}
14244 enable_xaudio2_4
=${enable_xaudio2_4:-no}
14245 enable_xaudio2_5
=${enable_xaudio2_5:-no}
14246 enable_xaudio2_6
=${enable_xaudio2_6:-no}
14247 enable_xaudio2_7
=${enable_xaudio2_7:-no}
14248 enable_xaudio2_8
=${enable_xaudio2_8:-no}
14249 enable_xaudio2_9
=${enable_xaudio2_9:-no}
14252 if test "$ac_cv_header_kstat_h" = "yes"
14254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
14255 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
14256 if ${ac_cv_lib_kstat_kstat_open+:} false
; then :
14257 $as_echo_n "(cached) " >&6
14259 ac_check_lib_save_LIBS
=$LIBS
14260 LIBS
="-lkstat $LIBS"
14261 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14262 /* end confdefs.h. */
14264 /* Override any GCC internal prototype to avoid an error.
14265 Use char because int might match the return type of a GCC
14266 builtin and then its argument prototype would still apply. */
14270 char kstat_open ();
14274 return kstat_open ();
14279 if ac_fn_c_try_link
"$LINENO"; then :
14280 ac_cv_lib_kstat_kstat_open
=yes
14282 ac_cv_lib_kstat_kstat_open
=no
14284 rm -f core conftest.err conftest.
$ac_objext \
14285 conftest
$ac_exeext conftest.
$ac_ext
14286 LIBS
=$ac_check_lib_save_LIBS
14288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
14289 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
14290 if test "x$ac_cv_lib_kstat_kstat_open" = xyes
; then :
14292 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
14294 KSTAT_LIBS
="-lkstat"
14300 if test "$ac_cv_header_libprocstat_h" = "yes"
14302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
14303 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
14304 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false
; then :
14305 $as_echo_n "(cached) " >&6
14307 ac_check_lib_save_LIBS
=$LIBS
14308 LIBS
="-lprocstat $LIBS"
14309 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14310 /* end confdefs.h. */
14312 /* Override any GCC internal prototype to avoid an error.
14313 Use char because int might match the return type of a GCC
14314 builtin and then its argument prototype would still apply. */
14318 char procstat_open_sysctl ();
14322 return procstat_open_sysctl ();
14327 if ac_fn_c_try_link
"$LINENO"; then :
14328 ac_cv_lib_procstat_procstat_open_sysctl
=yes
14330 ac_cv_lib_procstat_procstat_open_sysctl
=no
14332 rm -f core conftest.err conftest.
$ac_objext \
14333 conftest
$ac_exeext conftest.
$ac_ext
14334 LIBS
=$ac_check_lib_save_LIBS
14336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
14337 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
14338 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes
; then :
14340 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
14342 PROCSTAT_LIBS
="-lprocstat"
14348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
14349 $as_echo_n "checking for -lodbc... " >&6; }
14350 if ${ac_cv_lib_soname_odbc+:} false
; then :
14351 $as_echo_n "(cached) " >&6
14353 ac_check_soname_save_LIBS
=$LIBS
14354 LIBS
="-lodbc $LIBS"
14355 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14356 /* end confdefs.h. */
14358 /* Override any GCC internal prototype to avoid an error.
14359 Use char because int might match the return type of a GCC
14360 builtin and then its argument prototype would still apply. */
14364 char SQLConnect ();
14368 return SQLConnect ();
14373 if ac_fn_c_try_link
"$LINENO"; then :
14375 dll
) ac_cv_lib_soname_odbc
=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14376 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'` ;;
14377 *) ac_cv_lib_soname_odbc
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14378 if ${ac_cv_lib_soname_odbc:+false} :; then :
14379 ac_cv_lib_soname_odbc
=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14383 rm -f core conftest.err conftest.
$ac_objext \
14384 conftest
$ac_exeext conftest.
$ac_ext
14385 LIBS
=$ac_check_soname_save_LIBS
14387 if ${ac_cv_lib_soname_odbc:+false} :; then :
14388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14389 $as_echo "not found" >&6; }
14390 cat >>confdefs.h
<<_ACEOF
14391 #define SONAME_LIBODBC "libodbc.$LIBEXT"
14395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
14396 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
14398 cat >>confdefs.h
<<_ACEOF
14399 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
14405 if test "x$with_netapi" != "xno"
14407 if ${NETAPI_CFLAGS:+false} :; then :
14408 if ${PKG_CONFIG+:} false
; then :
14409 NETAPI_CFLAGS
=`$PKG_CONFIG --cflags netapi 2>/dev/null`
14413 if ${NETAPI_LIBS:+false} :; then :
14414 if ${PKG_CONFIG+:} false
; then :
14415 NETAPI_LIBS
=`$PKG_CONFIG --libs netapi 2>/dev/null`
14420 $as_echo "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
14421 $as_echo "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
14422 ac_save_CPPFLAGS
=$CPPFLAGS
14423 CPPFLAGS
="$CPPFLAGS $NETAPI_CFLAGS"
14424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
14425 $as_echo_n "checking for -lnetapi... " >&6; }
14426 if ${ac_cv_lib_soname_netapi+:} false
; then :
14427 $as_echo_n "(cached) " >&6
14429 ac_check_soname_save_LIBS
=$LIBS
14430 LIBS
="-lnetapi $NETAPI_LIBS $LIBS"
14431 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14432 /* end confdefs.h. */
14434 /* Override any GCC internal prototype to avoid an error.
14435 Use char because int might match the return type of a GCC
14436 builtin and then its argument prototype would still apply. */
14440 char libnetapi_init ();
14444 return libnetapi_init ();
14449 if ac_fn_c_try_link
"$LINENO"; then :
14451 dll
) ac_cv_lib_soname_netapi
=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14452 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'` ;;
14453 *) ac_cv_lib_soname_netapi
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14454 if ${ac_cv_lib_soname_netapi:+false} :; then :
14455 ac_cv_lib_soname_netapi
=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14459 rm -f core conftest.err conftest.
$ac_objext \
14460 conftest
$ac_exeext conftest.
$ac_ext
14461 LIBS
=$ac_check_soname_save_LIBS
14463 if ${ac_cv_lib_soname_netapi:+false} :; then :
14464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14465 $as_echo "not found" >&6; }
14466 cat >>confdefs.h
<<_ACEOF
14467 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
14471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
14472 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
14474 cat >>confdefs.h
<<_ACEOF
14475 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
14480 CPPFLAGS
=$ac_save_CPPFLAGS
14481 test -z "$NETAPI_CFLAGS" || NETAPI_CFLAGS
=`echo " $NETAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14482 test -z "$NETAPI_LIBS" || NETAPI_LIBS
=`echo " $NETAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14486 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono
-a \
14487 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
14489 as_fn_append wine_warnings
"|No sound system was found. Windows applications will be silent."
14495 if test "x${GCC}" = "xyes"
14497 EXTRACFLAGS
="-Wall -pipe"
14499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
14500 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
14501 if ${ac_cv_c_gcc_strength_bug+:} false
; then :
14502 $as_echo_n "(cached) " >&6
14504 if test "$cross_compiling" = yes; then :
14505 ac_cv_c_gcc_strength_bug
="no"
14507 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14508 /* end confdefs.h. */
14509 int L[4] = {0,1,2,3};
14513 static int Array[3];
14514 unsigned int B = 3;
14516 for(i=0; i<B; i++) Array[i] = i - 3;
14517 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
14519 return (Array[1] != -2 || L[2] != 3)
14524 if ac_fn_c_try_run
"$LINENO"; then :
14525 ac_cv_c_gcc_strength_bug
="no"
14527 ac_cv_c_gcc_strength_bug
="yes"
14529 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
14530 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
14534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
14535 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
14536 if test "$ac_cv_c_gcc_strength_bug" = "yes"
14538 EXTRACFLAGS
="$EXTRACFLAGS -fno-strength-reduce"
14541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
14542 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
14543 if ${ac_cv_cflags__fno_builtin+:} false
; then :
14544 $as_echo_n "(cached) " >&6
14546 ac_wine_try_cflags_saved
=$CFLAGS
14547 CFLAGS
="$CFLAGS -fno-builtin"
14548 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14549 /* end confdefs.h. */
14550 int main(int argc, char **argv) { return 0; }
14552 if ac_fn_c_try_link
"$LINENO"; then :
14553 ac_cv_cflags__fno_builtin
=yes
14555 ac_cv_cflags__fno_builtin
=no
14557 rm -f core conftest.err conftest.
$ac_objext \
14558 conftest
$ac_exeext conftest.
$ac_ext
14559 CFLAGS
=$ac_wine_try_cflags_saved
14561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
14562 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
14563 if test "x$ac_cv_cflags__fno_builtin" = xyes
; then :
14564 BUILTINFLAG
="-fno-builtin"
14567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
14568 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
14569 if ${ac_cv_cflags__fno_strict_aliasing+:} false
; then :
14570 $as_echo_n "(cached) " >&6
14572 ac_wine_try_cflags_saved
=$CFLAGS
14573 CFLAGS
="$CFLAGS -fno-strict-aliasing"
14574 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14575 /* end confdefs.h. */
14576 int main(int argc, char **argv) { return 0; }
14578 if ac_fn_c_try_link
"$LINENO"; then :
14579 ac_cv_cflags__fno_strict_aliasing
=yes
14581 ac_cv_cflags__fno_strict_aliasing
=no
14583 rm -f core conftest.err conftest.
$ac_objext \
14584 conftest
$ac_exeext conftest.
$ac_ext
14585 CFLAGS
=$ac_wine_try_cflags_saved
14587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
14588 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
14589 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes
; then :
14590 EXTRACFLAGS
="$EXTRACFLAGS -fno-strict-aliasing"
14592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
14593 $as_echo_n "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
14594 if ${ac_cv_cflags__fexcess_precision_standard+:} false
; then :
14595 $as_echo_n "(cached) " >&6
14597 ac_wine_try_cflags_saved
=$CFLAGS
14598 CFLAGS
="$CFLAGS -fexcess-precision=standard"
14599 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14600 /* end confdefs.h. */
14601 int main(int argc, char **argv) { return 0; }
14603 if ac_fn_c_try_link
"$LINENO"; then :
14604 ac_cv_cflags__fexcess_precision_standard
=yes
14606 ac_cv_cflags__fexcess_precision_standard
=no
14608 rm -f core conftest.err conftest.
$ac_objext \
14609 conftest
$ac_exeext conftest.
$ac_ext
14610 CFLAGS
=$ac_wine_try_cflags_saved
14612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
14613 $as_echo "$ac_cv_cflags__fexcess_precision_standard" >&6; }
14614 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes
; then :
14615 EXCESS_PRECISION_CFLAGS
="-fexcess-precision=standard"
14618 saved_CFLAGS
=$CFLAGS
14619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
14620 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
14621 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false
; then :
14622 $as_echo_n "(cached) " >&6
14624 ac_wine_try_cflags_saved
=$CFLAGS
14625 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
14626 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14627 /* end confdefs.h. */
14628 int main(int argc, char **argv) { return 0; }
14630 if ac_fn_c_try_link
"$LINENO"; then :
14631 ac_cv_cflags__Werror_unknown_warning_option
=yes
14633 ac_cv_cflags__Werror_unknown_warning_option
=no
14635 rm -f core conftest.err conftest.
$ac_objext \
14636 conftest
$ac_exeext conftest.
$ac_ext
14637 CFLAGS
=$ac_wine_try_cflags_saved
14639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
14640 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
14641 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes
; then :
14642 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
14644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
14645 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
14646 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false
; then :
14647 $as_echo_n "(cached) " >&6
14649 ac_wine_try_cflags_saved
=$CFLAGS
14650 CFLAGS
="$CFLAGS -Wdeclaration-after-statement"
14651 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14652 /* end confdefs.h. */
14653 int main(int argc, char **argv) { return 0; }
14655 if ac_fn_c_try_link
"$LINENO"; then :
14656 ac_cv_cflags__Wdeclaration_after_statement
=yes
14658 ac_cv_cflags__Wdeclaration_after_statement
=no
14660 rm -f core conftest.err conftest.
$ac_objext \
14661 conftest
$ac_exeext conftest.
$ac_ext
14662 CFLAGS
=$ac_wine_try_cflags_saved
14664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
14665 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
14666 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes
; then :
14667 EXTRACFLAGS
="$EXTRACFLAGS -Wdeclaration-after-statement"
14669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
14670 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
14671 if ${ac_cv_cflags__Wempty_body+:} false
; then :
14672 $as_echo_n "(cached) " >&6
14674 ac_wine_try_cflags_saved
=$CFLAGS
14675 CFLAGS
="$CFLAGS -Wempty-body"
14676 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14677 /* end confdefs.h. */
14678 int main(int argc, char **argv) { return 0; }
14680 if ac_fn_c_try_link
"$LINENO"; then :
14681 ac_cv_cflags__Wempty_body
=yes
14683 ac_cv_cflags__Wempty_body
=no
14685 rm -f core conftest.err conftest.
$ac_objext \
14686 conftest
$ac_exeext conftest.
$ac_ext
14687 CFLAGS
=$ac_wine_try_cflags_saved
14689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
14690 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
14691 if test "x$ac_cv_cflags__Wempty_body" = xyes
; then :
14692 EXTRACFLAGS
="$EXTRACFLAGS -Wempty-body"
14694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
14695 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
14696 if ${ac_cv_cflags__Wignored_qualifiers+:} false
; then :
14697 $as_echo_n "(cached) " >&6
14699 ac_wine_try_cflags_saved
=$CFLAGS
14700 CFLAGS
="$CFLAGS -Wignored-qualifiers"
14701 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14702 /* end confdefs.h. */
14703 int main(int argc, char **argv) { return 0; }
14705 if ac_fn_c_try_link
"$LINENO"; then :
14706 ac_cv_cflags__Wignored_qualifiers
=yes
14708 ac_cv_cflags__Wignored_qualifiers
=no
14710 rm -f core conftest.err conftest.
$ac_objext \
14711 conftest
$ac_exeext conftest.
$ac_ext
14712 CFLAGS
=$ac_wine_try_cflags_saved
14714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
14715 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
14716 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes
; then :
14717 EXTRACFLAGS
="$EXTRACFLAGS -Wignored-qualifiers"
14719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
14720 $as_echo_n "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
14721 if ${ac_cv_cflags__Wshift_overflow_2+:} false
; then :
14722 $as_echo_n "(cached) " >&6
14724 ac_wine_try_cflags_saved
=$CFLAGS
14725 CFLAGS
="$CFLAGS -Wshift-overflow=2"
14726 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14727 /* end confdefs.h. */
14728 int main(int argc, char **argv) { return 0; }
14730 if ac_fn_c_try_link
"$LINENO"; then :
14731 ac_cv_cflags__Wshift_overflow_2
=yes
14733 ac_cv_cflags__Wshift_overflow_2
=no
14735 rm -f core conftest.err conftest.
$ac_objext \
14736 conftest
$ac_exeext conftest.
$ac_ext
14737 CFLAGS
=$ac_wine_try_cflags_saved
14739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
14740 $as_echo "$ac_cv_cflags__Wshift_overflow_2" >&6; }
14741 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes
; then :
14742 EXTRACFLAGS
="$EXTRACFLAGS -Wshift-overflow=2"
14744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
14745 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
14746 if ${ac_cv_cflags__Wstrict_prototypes+:} false
; then :
14747 $as_echo_n "(cached) " >&6
14749 ac_wine_try_cflags_saved
=$CFLAGS
14750 CFLAGS
="$CFLAGS -Wstrict-prototypes"
14751 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14752 /* end confdefs.h. */
14753 int main(int argc, char **argv) { return 0; }
14755 if ac_fn_c_try_link
"$LINENO"; then :
14756 ac_cv_cflags__Wstrict_prototypes
=yes
14758 ac_cv_cflags__Wstrict_prototypes
=no
14760 rm -f core conftest.err conftest.
$ac_objext \
14761 conftest
$ac_exeext conftest.
$ac_ext
14762 CFLAGS
=$ac_wine_try_cflags_saved
14764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
14765 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
14766 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes
; then :
14767 EXTRACFLAGS
="$EXTRACFLAGS -Wstrict-prototypes"
14769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
14770 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
14771 if ${ac_cv_cflags__Wtype_limits+:} false
; then :
14772 $as_echo_n "(cached) " >&6
14774 ac_wine_try_cflags_saved
=$CFLAGS
14775 CFLAGS
="$CFLAGS -Wtype-limits"
14776 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14777 /* end confdefs.h. */
14778 int main(int argc, char **argv) { return 0; }
14780 if ac_fn_c_try_link
"$LINENO"; then :
14781 ac_cv_cflags__Wtype_limits
=yes
14783 ac_cv_cflags__Wtype_limits
=no
14785 rm -f core conftest.err conftest.
$ac_objext \
14786 conftest
$ac_exeext conftest.
$ac_ext
14787 CFLAGS
=$ac_wine_try_cflags_saved
14789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
14790 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
14791 if test "x$ac_cv_cflags__Wtype_limits" = xyes
; then :
14792 EXTRACFLAGS
="$EXTRACFLAGS -Wtype-limits"
14794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
14795 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
14796 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false
; then :
14797 $as_echo_n "(cached) " >&6
14799 ac_wine_try_cflags_saved
=$CFLAGS
14800 CFLAGS
="$CFLAGS -Wunused-but-set-parameter"
14801 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14802 /* end confdefs.h. */
14803 int main(int argc, char **argv) { return 0; }
14805 if ac_fn_c_try_link
"$LINENO"; then :
14806 ac_cv_cflags__Wunused_but_set_parameter
=yes
14808 ac_cv_cflags__Wunused_but_set_parameter
=no
14810 rm -f core conftest.err conftest.
$ac_objext \
14811 conftest
$ac_exeext conftest.
$ac_ext
14812 CFLAGS
=$ac_wine_try_cflags_saved
14814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
14815 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
14816 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes
; then :
14817 EXTRACFLAGS
="$EXTRACFLAGS -Wunused-but-set-parameter"
14819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
14820 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
14821 if ${ac_cv_cflags__Wvla+:} false
; then :
14822 $as_echo_n "(cached) " >&6
14824 ac_wine_try_cflags_saved
=$CFLAGS
14825 CFLAGS
="$CFLAGS -Wvla"
14826 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14827 /* end confdefs.h. */
14828 int main(int argc, char **argv) { return 0; }
14830 if ac_fn_c_try_link
"$LINENO"; then :
14831 ac_cv_cflags__Wvla
=yes
14833 ac_cv_cflags__Wvla
=no
14835 rm -f core conftest.err conftest.
$ac_objext \
14836 conftest
$ac_exeext conftest.
$ac_ext
14837 CFLAGS
=$ac_wine_try_cflags_saved
14839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
14840 $as_echo "$ac_cv_cflags__Wvla" >&6; }
14841 if test "x$ac_cv_cflags__Wvla" = xyes
; then :
14842 EXTRACFLAGS
="$EXTRACFLAGS -Wvla"
14844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
14845 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
14846 if ${ac_cv_cflags__Wwrite_strings+:} false
; then :
14847 $as_echo_n "(cached) " >&6
14849 ac_wine_try_cflags_saved
=$CFLAGS
14850 CFLAGS
="$CFLAGS -Wwrite-strings"
14851 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14852 /* end confdefs.h. */
14853 int main(int argc, char **argv) { return 0; }
14855 if ac_fn_c_try_link
"$LINENO"; then :
14856 ac_cv_cflags__Wwrite_strings
=yes
14858 ac_cv_cflags__Wwrite_strings
=no
14860 rm -f core conftest.err conftest.
$ac_objext \
14861 conftest
$ac_exeext conftest.
$ac_ext
14862 CFLAGS
=$ac_wine_try_cflags_saved
14864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
14865 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
14866 if test "x$ac_cv_cflags__Wwrite_strings" = xyes
; then :
14867 EXTRACFLAGS
="$EXTRACFLAGS -Wwrite-strings"
14870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
14871 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
14872 if ${ac_cv_cflags__Wpointer_arith+:} false
; then :
14873 $as_echo_n "(cached) " >&6
14875 ac_wine_try_cflags_saved
=$CFLAGS
14876 CFLAGS
="$CFLAGS -Wpointer-arith"
14877 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14878 /* end confdefs.h. */
14879 int main(int argc, char **argv) { return 0; }
14881 if ac_fn_c_try_link
"$LINENO"; then :
14882 ac_cv_cflags__Wpointer_arith
=yes
14884 ac_cv_cflags__Wpointer_arith
=no
14886 rm -f core conftest.err conftest.
$ac_objext \
14887 conftest
$ac_exeext conftest.
$ac_ext
14888 CFLAGS
=$ac_wine_try_cflags_saved
14890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
14891 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
14892 if test "x$ac_cv_cflags__Wpointer_arith" = xyes
; then :
14893 saved_string_h_CFLAGS
=$CFLAGS
14894 CFLAGS
="$CFLAGS -Wpointer-arith -Werror"
14895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
14896 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
14897 if ${ac_cv_c_string_h_warnings+:} false
; then :
14898 $as_echo_n "(cached) " >&6
14900 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14901 /* end confdefs.h. */
14902 #include <string.h>
14911 if ac_fn_c_try_compile
"$LINENO"; then :
14912 ac_cv_c_string_h_warnings
=no
14914 ac_cv_c_string_h_warnings
=yes
14916 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
14919 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
14920 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS
="$EXTRACFLAGS -Wpointer-arith"
14921 CFLAGS
=$saved_string_h_CFLAGS
14924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
14925 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
14926 if ${ac_cv_cflags__Wlogical_op+:} false
; then :
14927 $as_echo_n "(cached) " >&6
14929 ac_wine_try_cflags_saved
=$CFLAGS
14930 CFLAGS
="$CFLAGS -Wlogical-op"
14931 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14932 /* end confdefs.h. */
14933 int main(int argc, char **argv) { return 0; }
14935 if ac_fn_c_try_link
"$LINENO"; then :
14936 ac_cv_cflags__Wlogical_op
=yes
14938 ac_cv_cflags__Wlogical_op
=no
14940 rm -f core conftest.err conftest.
$ac_objext \
14941 conftest
$ac_exeext conftest.
$ac_ext
14942 CFLAGS
=$ac_wine_try_cflags_saved
14944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
14945 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
14946 if test "x$ac_cv_cflags__Wlogical_op" = xyes
; then :
14947 saved_string_h_CFLAGS
=$CFLAGS
14948 CFLAGS
="$CFLAGS -Wlogical-op -Werror"
14949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
14950 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
14951 if ${ac_cv_c_logicalop_noisy+:} false
; then :
14952 $as_echo_n "(cached) " >&6
14954 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14955 /* end confdefs.h. */
14956 #include <string.h>
14957 char*f(const char *h,char n) {return strchr(h,n);}
14966 if ac_fn_c_try_compile
"$LINENO"; then :
14967 ac_cv_c_logicalop_noisy
=no
14969 ac_cv_c_logicalop_noisy
=yes
14971 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
14974 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
14975 CFLAGS
=$saved_string_h_CFLAGS
14976 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS
="$EXTRACFLAGS -Wlogical-op"
14979 CFLAGS
=$saved_CFLAGS
14981 for ac_flag
in $CFLAGS; do
14983 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
14984 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
14985 if ${ac_cv_cflags__gdwarf_2+:} false
; then :
14986 $as_echo_n "(cached) " >&6
14988 ac_wine_try_cflags_saved
=$CFLAGS
14989 CFLAGS
="$CFLAGS -gdwarf-2"
14990 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14991 /* end confdefs.h. */
14992 int main(int argc, char **argv) { return 0; }
14994 if ac_fn_c_try_link
"$LINENO"; then :
14995 ac_cv_cflags__gdwarf_2
=yes
14997 ac_cv_cflags__gdwarf_2
=no
14999 rm -f core conftest.err conftest.
$ac_objext \
15000 conftest
$ac_exeext conftest.
$ac_ext
15001 CFLAGS
=$ac_wine_try_cflags_saved
15003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
15004 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
15005 if test "x$ac_cv_cflags__gdwarf_2" = xyes
; then :
15006 EXTRACFLAGS
="$EXTRACFLAGS -gdwarf-2"
15008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
15009 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
15010 if ${ac_cv_cflags__gstrict_dwarf+:} false
; then :
15011 $as_echo_n "(cached) " >&6
15013 ac_wine_try_cflags_saved
=$CFLAGS
15014 CFLAGS
="$CFLAGS -gstrict-dwarf"
15015 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15016 /* end confdefs.h. */
15017 int main(int argc, char **argv) { return 0; }
15019 if ac_fn_c_try_link
"$LINENO"; then :
15020 ac_cv_cflags__gstrict_dwarf
=yes
15022 ac_cv_cflags__gstrict_dwarf
=no
15024 rm -f core conftest.err conftest.
$ac_objext \
15025 conftest
$ac_exeext conftest.
$ac_ext
15026 CFLAGS
=$ac_wine_try_cflags_saved
15028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
15029 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
15030 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes
; then :
15031 EXTRACFLAGS
="$EXTRACFLAGS -gstrict-dwarf"
15037 *i
[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
15038 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
15039 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false
; then :
15040 $as_echo_n "(cached) " >&6
15042 ac_wine_try_cflags_saved
=$CFLAGS
15043 CFLAGS
="$CFLAGS -fno-omit-frame-pointer"
15044 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15045 /* end confdefs.h. */
15046 int main(int argc, char **argv) { return 0; }
15048 if ac_fn_c_try_link
"$LINENO"; then :
15049 ac_cv_cflags__fno_omit_frame_pointer
=yes
15051 ac_cv_cflags__fno_omit_frame_pointer
=no
15053 rm -f core conftest.err conftest.
$ac_objext \
15054 conftest
$ac_exeext conftest.
$ac_ext
15055 CFLAGS
=$ac_wine_try_cflags_saved
15057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
15058 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
15059 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes
; then :
15060 EXTRACFLAGS
="$EXTRACFLAGS -fno-omit-frame-pointer"
15065 x86_64-
*mingw32
*|x86_64-
*cygwin
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
15066 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
15067 if ${ac_cv_cflags__Wno_format+:} false
; then :
15068 $as_echo_n "(cached) " >&6
15070 ac_wine_try_cflags_saved
=$CFLAGS
15071 CFLAGS
="$CFLAGS -Wno-format"
15072 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15073 /* end confdefs.h. */
15074 int main(int argc, char **argv) { return 0; }
15076 if ac_fn_c_try_link
"$LINENO"; then :
15077 ac_cv_cflags__Wno_format
=yes
15079 ac_cv_cflags__Wno_format
=no
15081 rm -f core conftest.err conftest.
$ac_objext \
15082 conftest
$ac_exeext conftest.
$ac_ext
15083 CFLAGS
=$ac_wine_try_cflags_saved
15085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
15086 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
15087 if test "x$ac_cv_cflags__Wno_format" = xyes
; then :
15088 EXTRACFLAGS
="$EXTRACFLAGS -Wno-format"
15092 if test "x$enable_maintainer_mode" = "xyes"
15094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
15095 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
15096 if ${ac_cv_cflags__Werror+:} false
; then :
15097 $as_echo_n "(cached) " >&6
15099 ac_wine_try_cflags_saved
=$CFLAGS
15100 CFLAGS
="$CFLAGS -Werror"
15101 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15102 /* end confdefs.h. */
15103 int main(int argc, char **argv) { return 0; }
15105 if ac_fn_c_try_link
"$LINENO"; then :
15106 ac_cv_cflags__Werror
=yes
15108 ac_cv_cflags__Werror
=no
15110 rm -f core conftest.err conftest.
$ac_objext \
15111 conftest
$ac_exeext conftest.
$ac_ext
15112 CFLAGS
=$ac_wine_try_cflags_saved
15114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
15115 $as_echo "$ac_cv_cflags__Werror" >&6; }
15116 if test "x$ac_cv_cflags__Werror" = xyes
; then :
15117 EXTRACFLAGS
="$EXTRACFLAGS -Werror"
15121 saved_CFLAGS
="$CFLAGS"
15122 CFLAGS
="$CFLAGS -Werror"
15123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
15124 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
15125 if ${ac_cv_have_ms_hook_prologue+:} false
; then :
15126 $as_echo_n "(cached) " >&6
15128 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15129 /* end confdefs.h. */
15130 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
15139 if ac_fn_c_try_compile
"$LINENO"; then :
15140 ac_cv_have_ms_hook_prologue
="yes"
15142 ac_cv_have_ms_hook_prologue
="no"
15144 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
15147 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
15148 CFLAGS
="$saved_CFLAGS"
15149 if test "$ac_cv_have_ms_hook_prologue" = "yes"
15152 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
15155 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
15161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
15162 $as_echo_n "checking for the need to disable Fortify... " >&6; }
15163 if ${ac_cv_c_fortify_enabled+:} false
; then :
15164 $as_echo_n "(cached) " >&6
15166 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15167 /* end confdefs.h. */
15168 #include <string.h>
15172 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
15173 #error Fortify enabled
15179 if ac_fn_c_try_compile
"$LINENO"; then :
15180 ac_cv_c_fortify_enabled
=no
15182 ac_cv_c_fortify_enabled
=yes
15184 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
15187 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
15188 if test "$ac_cv_c_fortify_enabled" = yes
15190 CFLAGS
="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
15194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
15195 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
15196 if ${ac_cv_c_extern_prefix+:} false
; then :
15197 $as_echo_n "(cached) " >&6
15199 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15200 /* end confdefs.h. */
15201 extern int ac_test;
15205 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
15210 if ac_fn_c_try_link
"$LINENO"; then :
15211 ac_cv_c_extern_prefix
="yes"
15213 ac_cv_c_extern_prefix
="no"
15215 rm -f core conftest.err conftest.
$ac_objext \
15216 conftest
$ac_exeext conftest.
$ac_ext
15218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
15219 $as_echo "$ac_cv_c_extern_prefix" >&6; }
15223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
15224 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
15225 if ${ac_cv_c_stdcall_suffix+:} false
; then :
15226 $as_echo_n "(cached) " >&6
15228 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15229 /* end confdefs.h. */
15231 #define __stdcall __attribute__((__stdcall__))
15233 int __stdcall ac_test(int i) { return i; }
15237 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
15242 if ac_fn_c_try_link
"$LINENO"; then :
15243 ac_cv_c_stdcall_suffix
="yes"
15245 ac_cv_c_stdcall_suffix
="no"
15247 rm -f core conftest.err conftest.
$ac_objext \
15248 conftest
$ac_exeext conftest.
$ac_ext
15250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
15251 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
15252 *) ac_cv_c_stdcall_suffix
="no" ;;
15256 if test "$ac_cv_c_extern_prefix" = "yes"
15258 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
15260 asm_name_prefix
="_"
15262 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
15268 if test "$ac_cv_c_stdcall_suffix" = "yes"
15270 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
15273 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
15278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
15279 $as_echo_n "checking how to define a function in assembly code... " >&6; }
15280 if ${ac_cv_asm_func_def+:} false
; then :
15281 $as_echo_n "(cached) " >&6
15283 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15284 /* end confdefs.h. */
15289 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
15294 if ac_fn_c_try_link
"$LINENO"; then :
15295 ac_cv_asm_func_def
=".def"
15297 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15298 /* end confdefs.h. */
15303 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
15308 if ac_fn_c_try_link
"$LINENO"; then :
15309 ac_cv_asm_func_def
=".type @function"
15311 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15312 /* end confdefs.h. */
15317 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
15322 if ac_fn_c_try_link
"$LINENO"; then :
15323 ac_cv_asm_func_def
=".type 2"
15325 ac_cv_asm_func_def
="unknown"
15327 rm -f core conftest.err conftest.
$ac_objext \
15328 conftest
$ac_exeext conftest.
$ac_ext
15330 rm -f core conftest.err conftest.
$ac_objext \
15331 conftest
$ac_exeext conftest.
$ac_ext
15333 rm -f core conftest.err conftest.
$ac_objext \
15334 conftest
$ac_exeext conftest.
$ac_ext
15336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
15337 $as_echo "$ac_cv_asm_func_def" >&6; }
15340 case "$ac_cv_asm_func_def" in
15342 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
15344 asm_func_header
=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
15346 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
15348 asm_func_header
=".type $asm_name_prefix\" #name suffix \",@function" ;;
15350 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
15352 asm_func_header
=".type $asm_name_prefix\" #name suffix \",2" ;;
15354 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
15356 asm_func_header
="" ;;
15359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
15360 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
15361 if ${ac_cv_c_asm_outside_funcs+:} false
; then :
15362 $as_echo_n "(cached) " >&6
15364 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15365 /* end confdefs.h. */
15366 asm(".text\n\t.long 0");
15375 if ac_fn_c_try_compile
"$LINENO"; then :
15376 ac_cv_c_asm_outside_funcs
="yes"
15378 ac_cv_c_asm_outside_funcs
="no"
15380 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
15383 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
15385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
15386 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
15387 if ${ac_cv_c_dot_previous+:} false
; then :
15388 $as_echo_n "(cached) " >&6
15390 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15391 /* end confdefs.h. */
15396 asm(".text\nac_test:\t.long 0\n\t.previous");
15401 if ac_fn_c_try_link
"$LINENO"; then :
15402 ac_cv_c_dot_previous
="yes"
15404 ac_cv_c_dot_previous
="no"
15406 rm -f core conftest.err conftest.
$ac_objext \
15407 conftest
$ac_exeext conftest.
$ac_ext
15409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
15410 $as_echo "$ac_cv_c_dot_previous" >&6; }
15412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
15413 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
15414 if ${ac_cv_c_cfi_support+:} false
; then :
15415 $as_echo_n "(cached) " >&6
15417 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15418 /* end confdefs.h. */
15419 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
15428 if ac_fn_c_try_compile
"$LINENO"; then :
15429 ac_cv_c_cfi_support
="yes"
15431 ac_cv_c_cfi_support
="no"
15433 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
15436 $as_echo "$ac_cv_c_cfi_support" >&6; }
15438 asm_func_header
=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
15439 asm_func_trailer
=""
15440 if test "$ac_cv_c_dot_previous" = "yes"
15442 asm_func_trailer
="\\n\\t.previous"
15444 if test "$ac_cv_c_cfi_support" = "yes"
15446 asm_func_header
="$asm_func_header.cfi_startproc\\n\\t"
15447 asm_func_trailer
="\\n\\t.cfi_endproc$asm_func_trailer"
15449 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
15451 UNWINDFLAGS
=-fasynchronous-unwind-tables
15454 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
15456 if test "x$enable_win64" = "xyes"
15458 as_fn_append wine_warnings
"|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
15462 asm_func_code
="$asm_func_header\" code \"$asm_func_trailer"
15465 if test "$ac_cv_c_asm_outside_funcs" = "yes"
15467 cat >>confdefs.h
<<_ACEOF
15468 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
15472 cat >>confdefs.h
<<_ACEOF
15473 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
15478 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
15481 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
15486 cygwin
*|mingw32
*) TOOLSEXT
=".exe"
15493 *i
[3456789]86*|x86_64
*)
15494 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS
"loader/wine-preloader"
15495 WINELOADER_PROGRAMS
="$WINELOADER_PROGRAMS $wine_binary-preloader"
15502 ac_save_CFLAGS
="$CFLAGS"
15503 CFLAGS
="$CFLAGS $BUILTINFLAG"
15584 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15585 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
15586 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
15587 cat >>confdefs.h
<<_ACEOF
15588 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15594 CFLAGS
="$ac_save_CFLAGS"
15596 if test "$ac_cv_func_dlopen" = no
15598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
15599 $as_echo_n "checking for dlopen in -ldl... " >&6; }
15600 if ${ac_cv_lib_dl_dlopen+:} false
; then :
15601 $as_echo_n "(cached) " >&6
15603 ac_check_lib_save_LIBS
=$LIBS
15605 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15606 /* end confdefs.h. */
15608 /* Override any GCC internal prototype to avoid an error.
15609 Use char because int might match the return type of a GCC
15610 builtin and then its argument prototype would still apply. */
15623 if ac_fn_c_try_link
"$LINENO"; then :
15624 ac_cv_lib_dl_dlopen
=yes
15626 ac_cv_lib_dl_dlopen
=no
15628 rm -f core conftest.err conftest.
$ac_objext \
15629 conftest
$ac_exeext conftest.
$ac_ext
15630 LIBS
=$ac_check_lib_save_LIBS
15632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
15633 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
15634 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
15635 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
15641 ac_wine_check_funcs_save_LIBS
="$LIBS"
15642 LIBS
="$LIBS $DL_LIBS"
15643 for ac_func
in dladdr
15645 ac_fn_c_check_func
"$LINENO" "dladdr" "ac_cv_func_dladdr"
15646 if test "x$ac_cv_func_dladdr" = xyes
; then :
15647 cat >>confdefs.h
<<_ACEOF
15648 #define HAVE_DLADDR 1
15654 LIBS
="$ac_wine_check_funcs_save_LIBS"
15656 if test "$ac_cv_func_poll" = no
15658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
15659 $as_echo_n "checking for poll in -lpoll... " >&6; }
15660 if ${ac_cv_lib_poll_poll+:} false
; then :
15661 $as_echo_n "(cached) " >&6
15663 ac_check_lib_save_LIBS
=$LIBS
15664 LIBS
="-lpoll $LIBS"
15665 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15666 /* end confdefs.h. */
15668 /* Override any GCC internal prototype to avoid an error.
15669 Use char because int might match the return type of a GCC
15670 builtin and then its argument prototype would still apply. */
15683 if ac_fn_c_try_link
"$LINENO"; then :
15684 ac_cv_lib_poll_poll
=yes
15686 ac_cv_lib_poll_poll
=no
15688 rm -f core conftest.err conftest.
$ac_objext \
15689 conftest
$ac_exeext conftest.
$ac_ext
15690 LIBS
=$ac_check_lib_save_LIBS
15692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
15693 $as_echo "$ac_cv_lib_poll_poll" >&6; }
15694 if test "x$ac_cv_lib_poll_poll" = xyes
; then :
15695 $as_echo "#define HAVE_POLL 1" >>confdefs.h
15702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
15703 $as_echo_n "checking for library containing gethostbyname... " >&6; }
15704 if ${ac_cv_search_gethostbyname+:} false
; then :
15705 $as_echo_n "(cached) " >&6
15707 ac_func_search_save_LIBS
=$LIBS
15708 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15709 /* end confdefs.h. */
15711 /* Override any GCC internal prototype to avoid an error.
15712 Use char because int might match the return type of a GCC
15713 builtin and then its argument prototype would still apply. */
15717 char gethostbyname ();
15721 return gethostbyname ();
15726 for ac_lib
in '' nsl
; do
15727 if test -z "$ac_lib"; then
15728 ac_res
="none required"
15731 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
15733 if ac_fn_c_try_link
"$LINENO"; then :
15734 ac_cv_search_gethostbyname
=$ac_res
15736 rm -f core conftest.err conftest.
$ac_objext \
15738 if ${ac_cv_search_gethostbyname+:} false
; then :
15742 if ${ac_cv_search_gethostbyname+:} false
; then :
15745 ac_cv_search_gethostbyname
=no
15747 rm conftest.
$ac_ext
15748 LIBS
=$ac_func_search_save_LIBS
15750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
15751 $as_echo "$ac_cv_search_gethostbyname" >&6; }
15752 ac_res
=$ac_cv_search_gethostbyname
15753 if test "$ac_res" != no
; then :
15754 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
15759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
15760 $as_echo_n "checking for library containing connect... " >&6; }
15761 if ${ac_cv_search_connect+:} false
; then :
15762 $as_echo_n "(cached) " >&6
15764 ac_func_search_save_LIBS
=$LIBS
15765 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15766 /* end confdefs.h. */
15768 /* Override any GCC internal prototype to avoid an error.
15769 Use char because int might match the return type of a GCC
15770 builtin and then its argument prototype would still apply. */
15783 for ac_lib
in '' socket
; do
15784 if test -z "$ac_lib"; then
15785 ac_res
="none required"
15788 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
15790 if ac_fn_c_try_link
"$LINENO"; then :
15791 ac_cv_search_connect
=$ac_res
15793 rm -f core conftest.err conftest.
$ac_objext \
15795 if ${ac_cv_search_connect+:} false
; then :
15799 if ${ac_cv_search_connect+:} false
; then :
15802 ac_cv_search_connect
=no
15804 rm conftest.
$ac_ext
15805 LIBS
=$ac_func_search_save_LIBS
15807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
15808 $as_echo "$ac_cv_search_connect" >&6; }
15809 ac_res
=$ac_cv_search_connect
15810 if test "$ac_res" != no
; then :
15811 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
15816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
15817 $as_echo_n "checking for library containing inet_aton... " >&6; }
15818 if ${ac_cv_search_inet_aton+:} false
; then :
15819 $as_echo_n "(cached) " >&6
15821 ac_func_search_save_LIBS
=$LIBS
15822 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15823 /* end confdefs.h. */
15825 /* Override any GCC internal prototype to avoid an error.
15826 Use char because int might match the return type of a GCC
15827 builtin and then its argument prototype would still apply. */
15835 return inet_aton ();
15840 for ac_lib
in '' resolv
; do
15841 if test -z "$ac_lib"; then
15842 ac_res
="none required"
15845 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
15847 if ac_fn_c_try_link
"$LINENO"; then :
15848 ac_cv_search_inet_aton
=$ac_res
15850 rm -f core conftest.err conftest.
$ac_objext \
15852 if ${ac_cv_search_inet_aton+:} false
; then :
15856 if ${ac_cv_search_inet_aton+:} false
; then :
15859 ac_cv_search_inet_aton
=no
15861 rm conftest.
$ac_ext
15862 LIBS
=$ac_func_search_save_LIBS
15864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
15865 $as_echo "$ac_cv_search_inet_aton" >&6; }
15866 ac_res
=$ac_cv_search_inet_aton
15867 if test "$ac_res" != no
; then :
15868 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
15888 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15889 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
15890 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
15891 cat >>confdefs.h
<<_ACEOF
15892 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
15901 $as_echo_n "checking for library containing clock_gettime... " >&6; }
15902 if ${ac_cv_search_clock_gettime+:} false
; then :
15903 $as_echo_n "(cached) " >&6
15905 ac_func_search_save_LIBS
=$LIBS
15906 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15907 /* end confdefs.h. */
15909 /* Override any GCC internal prototype to avoid an error.
15910 Use char because int might match the return type of a GCC
15911 builtin and then its argument prototype would still apply. */
15915 char clock_gettime ();
15919 return clock_gettime ();
15924 for ac_lib
in '' rt
; do
15925 if test -z "$ac_lib"; then
15926 ac_res
="none required"
15929 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
15931 if ac_fn_c_try_link
"$LINENO"; then :
15932 ac_cv_search_clock_gettime
=$ac_res
15934 rm -f core conftest.err conftest.
$ac_objext \
15936 if ${ac_cv_search_clock_gettime+:} false
; then :
15940 if ${ac_cv_search_clock_gettime+:} false
; then :
15943 ac_cv_search_clock_gettime
=no
15945 rm conftest.
$ac_ext
15946 LIBS
=$ac_func_search_save_LIBS
15948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
15949 $as_echo "$ac_cv_search_clock_gettime" >&6; }
15950 ac_res
=$ac_cv_search_clock_gettime
15951 if test "$ac_res" != no
; then :
15952 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
15954 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
15956 test "$ac_res" = "none required" || RT_LIBS
="$ac_res"
15962 if test "x$with_ldap" != "xno"
15964 if ${LDAP_CFLAGS:+false} :; then :
15965 if ${PKG_CONFIG+:} false
; then :
15966 LDAP_CFLAGS
=`$PKG_CONFIG --cflags openldap 2>/dev/null`
15970 if ${LDAP_LIBS:+false} :; then :
15971 if ${PKG_CONFIG+:} false
; then :
15972 LDAP_LIBS
=`$PKG_CONFIG --libs openldap 2>/dev/null`
15976 LDAP_LIBS
=${LDAP_LIBS:-"-lldap_r -llber"}
15977 $as_echo "$as_me:${as_lineno-$LINENO}: openldap cflags: $LDAP_CFLAGS" >&5
15978 $as_echo "$as_me:${as_lineno-$LINENO}: openldap libs: $LDAP_LIBS" >&5
15979 ac_save_CPPFLAGS
=$CPPFLAGS
15980 CPPFLAGS
="$CPPFLAGS $LDAP_CFLAGS"
15981 for ac_header
in ldap.h lber.h
15983 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15984 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15985 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
15986 cat >>confdefs.h
<<_ACEOF
15987 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15994 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
15996 ac_fn_c_check_type
"$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
15998 if test "x$ac_cv_type_LDAPSortKey" = xyes
; then :
15999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
16000 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
16001 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false
; then :
16002 $as_echo_n "(cached) " >&6
16004 ac_check_lib_save_LIBS
=$LIBS
16005 LIBS
="-lldap_r $PTHREAD_LIBS $LDAP_LIBS $LIBS"
16006 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16007 /* end confdefs.h. */
16009 /* Override any GCC internal prototype to avoid an error.
16010 Use char because int might match the return type of a GCC
16011 builtin and then its argument prototype would still apply. */
16015 char ldap_initialize ();
16019 return ldap_initialize ();
16024 if ac_fn_c_try_link
"$LINENO"; then :
16025 ac_cv_lib_ldap_r_ldap_initialize
=yes
16027 ac_cv_lib_ldap_r_ldap_initialize
=no
16029 rm -f core conftest.err conftest.
$ac_objext \
16030 conftest
$ac_exeext conftest.
$ac_ext
16031 LIBS
=$ac_check_lib_save_LIBS
16033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
16034 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
16035 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes
; then :
16036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
16037 $as_echo_n "checking for ber_init in -llber... " >&6; }
16038 if ${ac_cv_lib_lber_ber_init+:} false
; then :
16039 $as_echo_n "(cached) " >&6
16041 ac_check_lib_save_LIBS
=$LIBS
16042 LIBS
="-llber $PTHREAD_LIBS $LDAP_LIBS $LIBS"
16043 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16044 /* end confdefs.h. */
16046 /* Override any GCC internal prototype to avoid an error.
16047 Use char because int might match the return type of a GCC
16048 builtin and then its argument prototype would still apply. */
16056 return ber_init ();
16061 if ac_fn_c_try_link
"$LINENO"; then :
16062 ac_cv_lib_lber_ber_init
=yes
16064 ac_cv_lib_lber_ber_init
=no
16066 rm -f core conftest.err conftest.
$ac_objext \
16067 conftest
$ac_exeext conftest.
$ac_ext
16068 LIBS
=$ac_check_lib_save_LIBS
16070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
16071 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
16072 if test "x$ac_cv_lib_lber_ber_init" = xyes
; then :
16074 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
16088 ac_wine_check_funcs_save_LIBS
="$LIBS"
16089 LIBS
="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
16091 ldap_count_references \
16092 ldap_first_reference \
16093 ldap_next_reference \
16094 ldap_parse_reference \
16095 ldap_parse_sort_control \
16096 ldap_parse_sortresponse_control \
16097 ldap_parse_vlv_control \
16098 ldap_parse_vlvresponse_control
16100 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16101 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
16102 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
16103 cat >>confdefs.h
<<_ACEOF
16104 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16110 LIBS
="$ac_wine_check_funcs_save_LIBS"
16114 CPPFLAGS
=$ac_save_CPPFLAGS
16115 test -z "$LDAP_CFLAGS" || LDAP_CFLAGS
=`echo " $LDAP_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16116 test -z "$LDAP_LIBS" || LDAP_LIBS
=`echo " $LDAP_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16119 if test "x$LDAP_LIBS" = "x"; then :
16120 case "x$with_ldap" in
16121 x
) as_fn_append wine_notices
"|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
16123 *) as_fn_error $?
"libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
16124 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
16129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
16130 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
16131 if ${wine_cv_one_arg_mkdir+:} false
; then :
16132 $as_echo_n "(cached) " >&6
16134 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16135 /* end confdefs.h. */
16136 #include <sys/stat.h>
16145 if ac_fn_c_try_compile
"$LINENO"; then :
16146 wine_cv_one_arg_mkdir
=yes
16148 wine_cv_one_arg_mkdir
=no
16150 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
16153 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
16154 if test "$wine_cv_one_arg_mkdir" = "yes"
16157 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
16161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
16162 $as_echo_n "checking for sched_setaffinity... " >&6; }
16163 if ${wine_cv_have_sched_setaffinity+:} false
; then :
16164 $as_echo_n "(cached) " >&6
16166 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16167 /* end confdefs.h. */
16168 #define _GNU_SOURCE
16173 sched_setaffinity(0, 0, 0);
16178 if ac_fn_c_try_link
"$LINENO"; then :
16179 wine_cv_have_sched_setaffinity
=yes
16181 wine_cv_have_sched_setaffinity
=no
16183 rm -f core conftest.err conftest.
$ac_objext \
16184 conftest
$ac_exeext conftest.
$ac_ext
16186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
16187 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
16188 if test "$wine_cv_have_sched_setaffinity" = "yes"
16191 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
16195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
16196 $as_echo_n "checking for fallocate... " >&6; }
16197 if ${wine_cv_have_fallocate+:} false
; then :
16198 $as_echo_n "(cached) " >&6
16200 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16201 /* end confdefs.h. */
16202 #define _GNU_SOURCE
16207 fallocate(-1, 0, 0, 0);
16212 if ac_fn_c_try_link
"$LINENO"; then :
16213 wine_cv_have_fallocate
=yes
16215 wine_cv_have_fallocate
=no
16217 rm -f core conftest.err conftest.
$ac_objext \
16218 conftest
$ac_exeext conftest.
$ac_ext
16220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
16221 $as_echo "$wine_cv_have_fallocate" >&6; }
16222 if test "$wine_cv_have_fallocate" = "yes"
16225 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
16230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
16231 $as_echo_n "checking for inline... " >&6; }
16232 if ${ac_cv_c_inline+:} false
; then :
16233 $as_echo_n "(cached) " >&6
16236 for ac_kw
in inline __inline__ __inline
; do
16237 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16238 /* end confdefs.h. */
16239 #ifndef __cplusplus
16241 static $ac_kw foo_t static_foo () {return 0; }
16242 $ac_kw foo_t foo () {return 0; }
16246 if ac_fn_c_try_compile
"$LINENO"; then :
16247 ac_cv_c_inline
=$ac_kw
16249 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16250 test "$ac_cv_c_inline" != no
&& break
16254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
16255 $as_echo "$ac_cv_c_inline" >&6; }
16257 case $ac_cv_c_inline in
16260 case $ac_cv_c_inline in
16262 *) ac_val
=$ac_cv_c_inline;;
16264 cat >>confdefs.h
<<_ACEOF
16265 #ifndef __cplusplus
16266 #define inline $ac_val
16272 ac_fn_c_check_type
"$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
16273 if test "x$ac_cv_type_mode_t" = xyes
; then :
16275 cat >>confdefs.h
<<_ACEOF
16276 #define HAVE_MODE_T 1
16281 ac_fn_c_check_type
"$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
16282 if test "x$ac_cv_type_off_t" = xyes
; then :
16284 cat >>confdefs.h
<<_ACEOF
16285 #define HAVE_OFF_T 1
16290 ac_fn_c_check_type
"$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
16291 if test "x$ac_cv_type_pid_t" = xyes
; then :
16293 cat >>confdefs.h
<<_ACEOF
16294 #define HAVE_PID_T 1
16299 ac_fn_c_check_type
"$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
16300 if test "x$ac_cv_type_size_t" = xyes
; then :
16302 cat >>confdefs.h
<<_ACEOF
16303 #define HAVE_SIZE_T 1
16308 ac_fn_c_check_type
"$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
16309 if test "x$ac_cv_type_ssize_t" = xyes
; then :
16311 cat >>confdefs.h
<<_ACEOF
16312 #define HAVE_SSIZE_T 1
16317 ac_fn_c_check_type
"$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
16318 if test "x$ac_cv_type_long_long" = xyes
; then :
16320 cat >>confdefs.h
<<_ACEOF
16321 #define HAVE_LONG_LONG 1
16326 ac_fn_c_check_type
"$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
16327 if test "x$ac_cv_type_fsblkcnt_t" = xyes
; then :
16329 cat >>confdefs.h
<<_ACEOF
16330 #define HAVE_FSBLKCNT_T 1
16335 ac_fn_c_check_type
"$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
16336 if test "x$ac_cv_type_fsfilcnt_t" = xyes
; then :
16338 cat >>confdefs.h
<<_ACEOF
16339 #define HAVE_FSFILCNT_T 1
16345 ac_fn_c_check_type
"$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
16346 #include <signal.h>
16348 if test "x$ac_cv_type_sigset_t" = xyes
; then :
16350 cat >>confdefs.h
<<_ACEOF
16351 #define HAVE_SIGSET_T 1
16357 ac_fn_c_check_type
"$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
16359 if test "x$ac_cv_type_request_sense" = xyes
; then :
16361 cat >>confdefs.h
<<_ACEOF
16362 #define HAVE_REQUEST_SENSE 1
16369 ac_fn_c_check_type
"$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
16370 #ifdef HAVE_SYS_SOCKET_H
16371 #include <sys/socket.h>
16373 #ifdef HAVE_SYS_SOCKETVAR_H
16374 #include <sys/socketvar.h>
16376 #ifdef HAVE_NET_ROUTE_H
16377 #include <net/route.h>
16379 #ifdef HAVE_NETINET_IN_H
16380 #include <netinet/in.h>
16382 #ifdef HAVE_NETINET_IN_SYSTM_H
16383 #include <netinet/in_systm.h>
16385 #ifdef HAVE_NETINET_IP_H
16386 #include <netinet/ip.h>
16388 #ifdef HAVE_NETINET_IN_PCB_H
16389 #include <netinet/in_pcb.h>
16392 if test "x$ac_cv_type_struct_xinpgen" = xyes
; then :
16394 cat >>confdefs.h
<<_ACEOF
16395 #define HAVE_STRUCT_XINPGEN 1
16402 ac_fn_c_check_type
"$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
16405 #ifdef HAVE_SYS_LINK_H
16406 #include <sys/link.h>
16409 if test "x$ac_cv_type_struct_r_debug" = xyes
; then :
16411 cat >>confdefs.h
<<_ACEOF
16412 #define HAVE_STRUCT_R_DEBUG 1
16417 ac_fn_c_check_type
"$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
16420 #ifdef HAVE_SYS_LINK_H
16421 #include <sys/link.h>
16424 if test "x$ac_cv_type_struct_link_map" = xyes
; then :
16426 cat >>confdefs.h
<<_ACEOF
16427 #define HAVE_STRUCT_LINK_MAP 1
16434 ac_fn_c_check_member
"$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
16435 #include <linux/input.h>
16438 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes
; then :
16440 cat >>confdefs.h
<<_ACEOF
16441 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
16448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for if_nameindex" >&5
16449 $as_echo_n "checking for if_nameindex... " >&6; }
16450 if ${wine_cv_have_if_nameindex+:} false
; then :
16451 $as_echo_n "(cached) " >&6
16453 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16454 /* end confdefs.h. */
16455 #ifdef HAVE_SYS_TYPES_H
16456 #include <sys/types.h>
16458 #ifdef HAVE_SYS_SOCKET_H
16459 #include <sys/socket.h>
16461 #ifdef HAVE_NET_IF_H
16462 # include <net/if.h>
16467 struct if_nameindex *p = if_nameindex(); return p->if_index;
16472 if ac_fn_c_try_link
"$LINENO"; then :
16473 wine_cv_have_if_nameindex
=yes
16475 wine_cv_have_if_nameindex
=no
16477 rm -f core conftest.err conftest.
$ac_objext \
16478 conftest
$ac_exeext conftest.
$ac_ext
16480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_if_nameindex" >&5
16481 $as_echo "$wine_cv_have_if_nameindex" >&6; }
16482 if test "$wine_cv_have_if_nameindex" = "yes"
16485 $as_echo "#define HAVE_IF_NAMEINDEX 1" >>confdefs.h
16489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
16490 $as_echo_n "checking for sigaddset... " >&6; }
16491 if ${wine_cv_have_sigaddset+:} false
; then :
16492 $as_echo_n "(cached) " >&6
16494 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16495 /* end confdefs.h. */
16496 #include <signal.h>
16500 sigset_t set; sigaddset(&set,SIGTERM);
16505 if ac_fn_c_try_link
"$LINENO"; then :
16506 wine_cv_have_sigaddset
=yes
16508 wine_cv_have_sigaddset
=no
16510 rm -f core conftest.err conftest.
$ac_objext \
16511 conftest
$ac_exeext conftest.
$ac_ext
16513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
16514 $as_echo "$wine_cv_have_sigaddset" >&6; }
16515 if test "$wine_cv_have_sigaddset" = "yes"
16518 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
16523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
16524 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
16525 if ${wine_cv_linux_gethostbyname_r_6+:} false
; then :
16526 $as_echo_n "(cached) " >&6
16528 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16529 /* end confdefs.h. */
16537 struct hostent *result;
16544 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
16545 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
16551 if ac_fn_c_try_link
"$LINENO"; then :
16552 wine_cv_linux_gethostbyname_r_6
=yes
16554 wine_cv_linux_gethostbyname_r_6
=no
16557 rm -f core conftest.err conftest.
$ac_objext \
16558 conftest
$ac_exeext conftest.
$ac_ext
16561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
16562 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
16563 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
16566 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
16570 if test "$ac_cv_header_linux_joystick_h" = "yes"
16572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
16573 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
16574 if ${wine_cv_linux_joystick_22_api+:} false
; then :
16575 $as_echo_n "(cached) " >&6
16577 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16578 /* end confdefs.h. */
16580 #include <sys/ioctl.h>
16581 #include <sys/types.h>
16582 #include <linux/joystick.h>
16584 struct js_event blub;
16585 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
16586 #error "no 2.2 header"
16597 if ac_fn_c_try_compile
"$LINENO"; then :
16598 wine_cv_linux_joystick_22_api
=yes
16600 wine_cv_linux_joystick_22_api
=no
16602 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
16606 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
16607 if test "$wine_cv_linux_joystick_22_api" = "yes"
16610 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
16616 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
16617 #ifdef HAVE_SYS_PARAM_H
16618 # include <sys/param.h>
16620 #ifdef HAVE_SYS_MOUNT_H
16621 # include <sys/mount.h>
16623 #ifdef HAVE_SYS_VFS_H
16624 # include <sys/vfs.h>
16626 #ifdef HAVE_SYS_STATFS_H
16627 # include <sys/statfs.h>
16630 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes
; then :
16632 cat >>confdefs.h
<<_ACEOF
16633 #define HAVE_STRUCT_STATFS_F_BFREE 1
16638 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
16639 #ifdef HAVE_SYS_PARAM_H
16640 # include <sys/param.h>
16642 #ifdef HAVE_SYS_MOUNT_H
16643 # include <sys/mount.h>
16645 #ifdef HAVE_SYS_VFS_H
16646 # include <sys/vfs.h>
16648 #ifdef HAVE_SYS_STATFS_H
16649 # include <sys/statfs.h>
16652 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes
; then :
16654 cat >>confdefs.h
<<_ACEOF
16655 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
16660 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
16661 #ifdef HAVE_SYS_PARAM_H
16662 # include <sys/param.h>
16664 #ifdef HAVE_SYS_MOUNT_H
16665 # include <sys/mount.h>
16667 #ifdef HAVE_SYS_VFS_H
16668 # include <sys/vfs.h>
16670 #ifdef HAVE_SYS_STATFS_H
16671 # include <sys/statfs.h>
16674 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes
; then :
16676 cat >>confdefs.h
<<_ACEOF
16677 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
16682 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
16683 #ifdef HAVE_SYS_PARAM_H
16684 # include <sys/param.h>
16686 #ifdef HAVE_SYS_MOUNT_H
16687 # include <sys/mount.h>
16689 #ifdef HAVE_SYS_VFS_H
16690 # include <sys/vfs.h>
16692 #ifdef HAVE_SYS_STATFS_H
16693 # include <sys/statfs.h>
16696 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes
; then :
16698 cat >>confdefs.h
<<_ACEOF
16699 #define HAVE_STRUCT_STATFS_F_FFREE 1
16704 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
16705 #ifdef HAVE_SYS_PARAM_H
16706 # include <sys/param.h>
16708 #ifdef HAVE_SYS_MOUNT_H
16709 # include <sys/mount.h>
16711 #ifdef HAVE_SYS_VFS_H
16712 # include <sys/vfs.h>
16714 #ifdef HAVE_SYS_STATFS_H
16715 # include <sys/statfs.h>
16718 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes
; then :
16720 cat >>confdefs.h
<<_ACEOF
16721 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
16726 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
16727 #ifdef HAVE_SYS_PARAM_H
16728 # include <sys/param.h>
16730 #ifdef HAVE_SYS_MOUNT_H
16731 # include <sys/mount.h>
16733 #ifdef HAVE_SYS_VFS_H
16734 # include <sys/vfs.h>
16736 #ifdef HAVE_SYS_STATFS_H
16737 # include <sys/statfs.h>
16740 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes
; then :
16742 cat >>confdefs.h
<<_ACEOF
16743 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
16750 ac_fn_c_check_member
"$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
16751 #include <sys/statvfs.h>
16754 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes
; then :
16756 cat >>confdefs.h
<<_ACEOF
16757 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
16764 ac_fn_c_check_member
"$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
16765 #include <dirent.h>
16768 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes
; then :
16770 cat >>confdefs.h
<<_ACEOF
16771 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
16778 ac_fn_c_check_member
"$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
16779 #ifdef HAVE_SYS_SOCKET_H
16780 # include <sys/socket.h>
16782 #ifdef HAVE_SYS_UN_H
16783 # include <sys/un.h>
16786 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes
; then :
16788 cat >>confdefs.h
<<_ACEOF
16789 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
16794 ac_fn_c_check_member
"$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
16795 #ifdef HAVE_SYS_SOCKET_H
16796 # include <sys/socket.h>
16798 #ifdef HAVE_SYS_UN_H
16799 # include <sys/un.h>
16802 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes
; then :
16804 cat >>confdefs.h
<<_ACEOF
16805 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
16810 ac_fn_c_check_member
"$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
16811 #ifdef HAVE_SYS_SOCKET_H
16812 # include <sys/socket.h>
16814 #ifdef HAVE_SYS_UN_H
16815 # include <sys/un.h>
16818 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes
; then :
16820 cat >>confdefs.h
<<_ACEOF
16821 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
16828 ac_fn_c_check_member
"$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
16829 #ifdef HAVE_SCSI_SG_H
16830 #include <scsi/sg.h>
16833 if test "x$ac_cv_member_scsireq_t_cmd" = xyes
; then :
16835 cat >>confdefs.h
<<_ACEOF
16836 #define HAVE_SCSIREQ_T_CMD 1
16841 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>
16842 #ifdef HAVE_SCSI_SG_H
16843 #include <scsi/sg.h>
16846 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes
; then :
16848 cat >>confdefs.h
<<_ACEOF
16849 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
16856 ac_fn_c_check_member
"$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
16858 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes
; then :
16860 cat >>confdefs.h
<<_ACEOF
16861 #define HAVE_SIGINFO_T_SI_FD 1
16868 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
16869 #ifdef HAVE_SYS_MTIO_H
16870 #include <sys/mtio.h>
16873 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes
; then :
16875 cat >>confdefs.h
<<_ACEOF
16876 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
16881 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
16882 #ifdef HAVE_SYS_MTIO_H
16883 #include <sys/mtio.h>
16886 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes
; then :
16888 cat >>confdefs.h
<<_ACEOF
16889 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
16894 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
16895 #ifdef HAVE_SYS_MTIO_H
16896 #include <sys/mtio.h>
16899 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes
; then :
16901 cat >>confdefs.h
<<_ACEOF
16902 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
16909 ac_fn_c_check_member
"$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
16910 #include <getopt.h>
16913 if test "x$ac_cv_member_struct_option_name" = xyes
; then :
16915 cat >>confdefs.h
<<_ACEOF
16916 #define HAVE_STRUCT_OPTION_NAME 1
16923 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
16924 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes
; then :
16926 cat >>confdefs.h
<<_ACEOF
16927 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
16932 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
16933 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes
; then :
16935 cat >>confdefs.h
<<_ACEOF
16936 #define HAVE_STRUCT_STAT_ST_MTIM 1
16941 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
16942 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes
; then :
16944 cat >>confdefs.h
<<_ACEOF
16945 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
16950 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
16951 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes
; then :
16953 cat >>confdefs.h
<<_ACEOF
16954 #define HAVE_STRUCT_STAT_ST_CTIM 1
16959 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
16960 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes
; then :
16962 cat >>confdefs.h
<<_ACEOF
16963 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
16968 ac_fn_c_check_member
"$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
16969 if test "x$ac_cv_member_struct_stat_st_atim" = xyes
; then :
16971 cat >>confdefs.h
<<_ACEOF
16972 #define HAVE_STRUCT_STAT_ST_ATIM 1
16977 ac_fn_c_check_member
"$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
16978 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes
; then :
16980 cat >>confdefs.h
<<_ACEOF
16981 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
16986 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
16987 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes
; then :
16989 cat >>confdefs.h
<<_ACEOF
16990 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
16995 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
16996 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes
; then :
16998 cat >>confdefs.h
<<_ACEOF
16999 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
17004 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
17005 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes
; then :
17007 cat >>confdefs.h
<<_ACEOF
17008 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
17013 ac_fn_c_check_member
"$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
17014 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes
; then :
17016 cat >>confdefs.h
<<_ACEOF
17017 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
17022 ac_fn_c_check_member
"$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
17023 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes
; then :
17025 cat >>confdefs.h
<<_ACEOF
17026 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
17033 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
17034 #include <sys/types.h>
17036 #ifdef HAVE_NETINET_IN_H
17037 #include <netinet/in.h>
17040 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes
; then :
17042 cat >>confdefs.h
<<_ACEOF
17043 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
17050 ac_fn_c_check_type
"$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_SYS_TYPES_H
17051 #include <sys/types.h>
17053 #ifdef HAVE_NETINET_IN_H
17054 #include <netinet/in.h>
17056 #ifdef HAVE_RESOLV_H
17057 #include <resolv.h>
17060 if test "x$ac_cv_type_struct___res_state" = xyes
; then :
17062 cat >>confdefs.h
<<_ACEOF
17063 #define HAVE_STRUCT___RES_STATE 1
17070 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
17071 #include <resolv.h>
17074 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes
; then :
17076 cat >>confdefs.h
<<_ACEOF
17077 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
17084 ac_fn_c_check_member
"$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
17085 #include <sys/types.h>
17087 #ifdef HAVE_NETINET_IN_H
17088 # include <netinet/in.h>
17090 #ifdef HAVE_ARPA_NAMESER_H
17091 # include <arpa/nameser.h>
17094 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes
; then :
17096 cat >>confdefs.h
<<_ACEOF
17097 #define HAVE_NS_MSG__MSG_PTR 1
17104 ac_fn_c_check_member
"$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
17105 #include <sys/types.h>
17107 #ifdef HAVE_NETINET_IN_H
17108 #include <netinet/in.h>
17110 #ifdef HAVE_NETINET_IP_H
17111 #include <netinet/ip.h>
17113 #ifdef HAVE_NETINET_IP_ICMP_H
17114 #include <netinet/ip_icmp.h>
17116 #ifdef HAVE_NETINET_ICMP_VAR_H
17117 #include <netinet/icmp_var.h>
17120 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes
; then :
17122 cat >>confdefs.h
<<_ACEOF
17123 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
17130 ac_fn_c_check_member
"$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
17131 #include <sys/types.h>
17133 #ifdef HAVE_ALIAS_H
17136 #ifdef HAVE_SYS_SOCKET_H
17137 #include <sys/socket.h>
17139 #ifdef HAVE_SYS_SOCKETVAR_H
17140 #include <sys/socketvar.h>
17142 #ifdef HAVE_SYS_TIMEOUT_H
17143 #include <sys/timeout.h>
17145 #ifdef HAVE_NETINET_IN_H
17146 #include <netinet/in.h>
17148 #ifdef HAVE_NETINET_IN_SYSTM_H
17149 #include <netinet/in_systm.h>
17151 #ifdef HAVE_NETINET_IP_H
17152 #include <netinet/ip.h>
17154 #ifdef HAVE_NETINET_IP_VAR_H
17155 #include <netinet/ip_var.h>
17157 #ifdef HAVE_NETINET_IP_ICMP_H
17158 #include <netinet/ip_icmp.h>
17160 #ifdef HAVE_NETINET_ICMP_VAR_H
17161 #include <netinet/icmp_var.h>
17164 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes
; then :
17166 cat >>confdefs.h
<<_ACEOF
17167 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
17174 ac_fn_c_check_member
"$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
17175 #include <sys/types.h>
17177 #ifdef HAVE_SYS_SOCKETVAR_H
17178 #include <sys/socketvar.h>
17180 #ifdef HAVE_NETINET_IN_H
17181 #include <netinet/in.h>
17183 #ifdef HAVE_NETINET_IP_VAR_H
17184 #include <netinet/ip_var.h>
17187 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes
; then :
17189 cat >>confdefs.h
<<_ACEOF
17190 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
17197 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
17198 #include <netinet/ip_var.h>
17201 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes
; then :
17203 cat >>confdefs.h
<<_ACEOF
17204 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
17211 ac_fn_c_check_member
"$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
17212 #include <sys/types.h>
17214 #ifdef HAVE_SYS_SOCKETVAR_H
17215 #include <sys/socketvar.h>
17217 #ifdef HAVE_NETINET_IN_H
17218 #include <netinet/in.h>
17220 #ifdef HAVE_NETINET_TCP_H
17221 #include <netinet/tcp.h>
17223 #ifdef HAVE_NETINET_TCP_VAR_H
17224 #include <netinet/tcp_var.h>
17227 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes
; then :
17229 cat >>confdefs.h
<<_ACEOF
17230 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
17237 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
17238 #include <netinet/tcp_var.h>
17241 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes
; then :
17243 cat >>confdefs.h
<<_ACEOF
17244 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
17251 ac_fn_c_check_member
"$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
17252 #include <sys/types.h>
17254 #ifdef HAVE_NETINET_IN_H
17255 #include <netinet/in.h>
17257 #ifdef HAVE_NETINET_IP_VAR_H
17258 #include <netinet/ip_var.h>
17260 #ifdef HAVE_NETINET_UDP_H
17261 #include <netinet/udp.h>
17263 #ifdef HAVE_NETINET_UDP_VAR_H
17264 #include <netinet/udp_var.h>
17267 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes
; then :
17269 cat >>confdefs.h
<<_ACEOF
17270 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
17277 ac_fn_c_check_member
"$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
17278 #include <sys/types.h>
17280 #ifdef HAVE_NET_IF_H
17281 # include <net/if.h>
17284 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes
; then :
17286 cat >>confdefs.h
<<_ACEOF
17287 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
17294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
17295 $as_echo_n "checking for timezone variable... " >&6; }
17296 if ${ac_cv_have_timezone+:} false
; then :
17297 $as_echo_n "(cached) " >&6
17299 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17300 /* end confdefs.h. */
17310 if ac_fn_c_try_link
"$LINENO"; then :
17311 ac_cv_have_timezone
="yes"
17313 ac_cv_have_timezone
="no"
17315 rm -f core conftest.err conftest.
$ac_objext \
17316 conftest
$ac_exeext conftest.
$ac_ext
17318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
17319 $as_echo "$ac_cv_have_timezone" >&6; }
17320 if test "$ac_cv_have_timezone" = "yes"
17323 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
17326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
17327 $as_echo_n "checking for daylight variable... " >&6; }
17328 if ${ac_cv_have_daylight+:} false
; then :
17329 $as_echo_n "(cached) " >&6
17331 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17332 /* end confdefs.h. */
17342 if ac_fn_c_try_link
"$LINENO"; then :
17343 ac_cv_have_daylight
="yes"
17345 ac_cv_have_daylight
="no"
17347 rm -f core conftest.err conftest.
$ac_objext \
17348 conftest
$ac_exeext conftest.
$ac_ext
17350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
17351 $as_echo "$ac_cv_have_daylight" >&6; }
17352 if test "$ac_cv_have_daylight" = "yes"
17355 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
17359 ac_save_LIBS
="$LIBS"
17361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
17362 $as_echo_n "checking for isfinite... " >&6; }
17363 if ${ac_cv_have_isfinite+:} false
; then :
17364 $as_echo_n "(cached) " >&6
17366 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17367 /* end confdefs.h. */
17368 #define _GNU_SOURCE
17373 float f = 0.0; return isfinite(f)
17378 if ac_fn_c_try_link
"$LINENO"; then :
17379 ac_cv_have_isfinite
="yes"
17381 ac_cv_have_isfinite
="no"
17383 rm -f core conftest.err conftest.
$ac_objext \
17384 conftest
$ac_exeext conftest.
$ac_ext
17386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
17387 $as_echo "$ac_cv_have_isfinite" >&6; }
17388 if test "$ac_cv_have_isfinite" = "yes"
17391 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
17395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
17396 $as_echo_n "checking for isinf... " >&6; }
17397 if ${ac_cv_have_isinf+:} false
; then :
17398 $as_echo_n "(cached) " >&6
17400 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17401 /* end confdefs.h. */
17406 float f = 0.0; return isinf(f)
17411 if ac_fn_c_try_link
"$LINENO"; then :
17412 ac_cv_have_isinf
="yes"
17414 ac_cv_have_isinf
="no"
17416 rm -f core conftest.err conftest.
$ac_objext \
17417 conftest
$ac_exeext conftest.
$ac_ext
17419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
17420 $as_echo "$ac_cv_have_isinf" >&6; }
17421 if test "$ac_cv_have_isinf" = "yes"
17424 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
17428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
17429 $as_echo_n "checking for isnan... " >&6; }
17430 if ${ac_cv_have_isnan+:} false
; then :
17431 $as_echo_n "(cached) " >&6
17433 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17434 /* end confdefs.h. */
17439 float f = 0.0; return isnan(f)
17444 if ac_fn_c_try_link
"$LINENO"; then :
17445 ac_cv_have_isnan
="yes"
17447 ac_cv_have_isnan
="no"
17449 rm -f core conftest.err conftest.
$ac_objext \
17450 conftest
$ac_exeext conftest.
$ac_ext
17452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
17453 $as_echo "$ac_cv_have_isnan" >&6; }
17454 if test "$ac_cv_have_isnan" = "yes"
17457 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
17505 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17506 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
17507 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
17508 cat >>confdefs.h
<<_ACEOF
17509 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17515 LIBS
="$ac_save_LIBS"
17517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_clz" >&5
17518 $as_echo_n "checking for __builtin_clz... " >&6; }
17519 if ${ac_cv_have___builtin_clz+:} false
; then :
17520 $as_echo_n "(cached) " >&6
17522 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17523 /* end confdefs.h. */
17528 return __builtin_clz(1)
17533 if ac_fn_c_try_link
"$LINENO"; then :
17534 ac_cv_have___builtin_clz
="yes"
17536 ac_cv_have___builtin_clz
="no"
17538 rm -f core conftest.err conftest.
$ac_objext \
17539 conftest
$ac_exeext conftest.
$ac_ext
17541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_clz" >&5
17542 $as_echo "$ac_cv_have___builtin_clz" >&6; }
17543 if test "$ac_cv_have___builtin_clz" = "yes"
17546 $as_echo "#define HAVE___BUILTIN_CLZ 1" >>confdefs.h
17550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
17551 $as_echo_n "checking for __builtin_popcount... " >&6; }
17552 if ${ac_cv_have___builtin_popcount+:} false
; then :
17553 $as_echo_n "(cached) " >&6
17555 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17556 /* end confdefs.h. */
17561 return __builtin_popcount(1)
17566 if ac_fn_c_try_link
"$LINENO"; then :
17567 ac_cv_have___builtin_popcount
="yes"
17569 ac_cv_have___builtin_popcount
="no"
17571 rm -f core conftest.err conftest.
$ac_objext \
17572 conftest
$ac_exeext conftest.
$ac_ext
17574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
17575 $as_echo "$ac_cv_have___builtin_popcount" >&6; }
17576 if test "$ac_cv_have___builtin_popcount" = "yes"
17579 $as_echo "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
17585 *i
[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
17586 $as_echo_n "checking whether we need to define __i386__... " >&6; }
17587 if ${ac_cv_cpp_def___i386__+:} false
; then :
17588 $as_echo_n "(cached) " >&6
17590 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17591 /* end confdefs.h. */
17596 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17597 $EGREP "yes" >/dev
/null
2>&1; then :
17598 ac_cv_cpp_def___i386__
=yes
17600 ac_cv_cpp_def___i386__
=no
17605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
17606 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
17607 if test "x$ac_cv_cpp_def___i386__" = xyes
; then :
17608 CFLAGS
="$CFLAGS -D__i386__"
17609 LINTFLAGS
="$LINTFLAGS -D__i386__"
17611 *x86_64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
17612 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
17613 if ${ac_cv_cpp_def___x86_64__+:} false
; then :
17614 $as_echo_n "(cached) " >&6
17616 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17617 /* end confdefs.h. */
17622 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17623 $EGREP "yes" >/dev
/null
2>&1; then :
17624 ac_cv_cpp_def___x86_64__
=yes
17626 ac_cv_cpp_def___x86_64__
=no
17631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
17632 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
17633 if test "x$ac_cv_cpp_def___x86_64__" = xyes
; then :
17634 CFLAGS
="$CFLAGS -D__x86_64__"
17635 LINTFLAGS
="$LINTFLAGS -D__x86_64__"
17637 *sparc64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
17638 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
17639 if ${ac_cv_cpp_def___sparc64__+:} false
; then :
17640 $as_echo_n "(cached) " >&6
17642 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17643 /* end confdefs.h. */
17644 #ifndef __sparc64__
17648 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17649 $EGREP "yes" >/dev
/null
2>&1; then :
17650 ac_cv_cpp_def___sparc64__
=yes
17652 ac_cv_cpp_def___sparc64__
=no
17657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
17658 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
17659 if test "x$ac_cv_cpp_def___sparc64__" = xyes
; then :
17660 CFLAGS
="$CFLAGS -D__sparc64__"
17661 LINTFLAGS
="$LINTFLAGS -D__sparc64__"
17663 *sparc
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
17664 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
17665 if ${ac_cv_cpp_def___sparc__+:} false
; then :
17666 $as_echo_n "(cached) " >&6
17668 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17669 /* end confdefs.h. */
17674 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17675 $EGREP "yes" >/dev
/null
2>&1; then :
17676 ac_cv_cpp_def___sparc__
=yes
17678 ac_cv_cpp_def___sparc__
=no
17683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
17684 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
17685 if test "x$ac_cv_cpp_def___sparc__" = xyes
; then :
17686 CFLAGS
="$CFLAGS -D__sparc__"
17687 LINTFLAGS
="$LINTFLAGS -D__sparc__"
17689 *powerpc64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
17690 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
17691 if ${ac_cv_cpp_def___powerpc64__+:} false
; then :
17692 $as_echo_n "(cached) " >&6
17694 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17695 /* end confdefs.h. */
17696 #ifndef __powerpc64__
17700 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17701 $EGREP "yes" >/dev
/null
2>&1; then :
17702 ac_cv_cpp_def___powerpc64__
=yes
17704 ac_cv_cpp_def___powerpc64__
=no
17709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
17710 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
17711 if test "x$ac_cv_cpp_def___powerpc64__" = xyes
; then :
17712 CFLAGS
="$CFLAGS -D__powerpc64__"
17713 LINTFLAGS
="$LINTFLAGS -D__powerpc64__"
17715 *powerpc
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
17716 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
17717 if ${ac_cv_cpp_def___powerpc__+:} false
; then :
17718 $as_echo_n "(cached) " >&6
17720 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17721 /* end confdefs.h. */
17722 #ifndef __powerpc__
17726 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17727 $EGREP "yes" >/dev
/null
2>&1; then :
17728 ac_cv_cpp_def___powerpc__
=yes
17730 ac_cv_cpp_def___powerpc__
=no
17735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
17736 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
17737 if test "x$ac_cv_cpp_def___powerpc__" = xyes
; then :
17738 CFLAGS
="$CFLAGS -D__powerpc__"
17739 LINTFLAGS
="$LINTFLAGS -D__powerpc__"
17741 *aarch64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
17742 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
17743 if ${ac_cv_cpp_def___aarch64__+:} false
; then :
17744 $as_echo_n "(cached) " >&6
17746 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17747 /* end confdefs.h. */
17748 #ifndef __aarch64__
17752 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17753 $EGREP "yes" >/dev
/null
2>&1; then :
17754 ac_cv_cpp_def___aarch64__
=yes
17756 ac_cv_cpp_def___aarch64__
=no
17761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
17762 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
17763 if test "x$ac_cv_cpp_def___aarch64__" = xyes
; then :
17764 CFLAGS
="$CFLAGS -D__aarch64__"
17765 LINTFLAGS
="$LINTFLAGS -D__aarch64__"
17767 *arm
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
17768 $as_echo_n "checking whether we need to define __arm__... " >&6; }
17769 if ${ac_cv_cpp_def___arm__+:} false
; then :
17770 $as_echo_n "(cached) " >&6
17772 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17773 /* end confdefs.h. */
17778 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17779 $EGREP "yes" >/dev
/null
2>&1; then :
17780 ac_cv_cpp_def___arm__
=yes
17782 ac_cv_cpp_def___arm__
=no
17787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
17788 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
17789 if test "x$ac_cv_cpp_def___arm__" = xyes
; then :
17790 CFLAGS
="$CFLAGS -D__arm__"
17791 LINTFLAGS
="$LINTFLAGS -D__arm__"
17795 case $host_vendor in
17796 *sun
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
17797 $as_echo_n "checking whether we need to define __sun__... " >&6; }
17798 if ${ac_cv_cpp_def___sun__+:} false
; then :
17799 $as_echo_n "(cached) " >&6
17801 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17802 /* end confdefs.h. */
17807 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17808 $EGREP "yes" >/dev
/null
2>&1; then :
17809 ac_cv_cpp_def___sun__
=yes
17811 ac_cv_cpp_def___sun__
=no
17816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
17817 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
17818 if test "x$ac_cv_cpp_def___sun__" = xyes
; then :
17819 CFLAGS
="$CFLAGS -D__sun__"
17820 LINTFLAGS
="$LINTFLAGS -D__sun__"
17828 ac_config_commands
="$ac_config_commands include/stamp-h"
17830 $as_echo_n "creating Makefile rules..." >&6
17832 ALL_VARS_RULES
="OPENGL_LIBS = $OPENGL_LIBS
17833 SOCKET_LIBS = $SOCKET_LIBS
17834 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
17835 IOKIT_LIBS = $IOKIT_LIBS
17836 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
17837 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
17838 CORESERVICES_LIBS = $CORESERVICES_LIBS
17839 APPKIT_LIBS = $APPKIT_LIBS
17840 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
17841 SECURITY_LIBS = $SECURITY_LIBS
17842 COREAUDIO_LIBS = $COREAUDIO_LIBS
17843 OPENAL_LIBS = $OPENAL_LIBS
17844 OPENCL_LIBS = $OPENCL_LIBS
17845 QUICKTIME_LIBS = $QUICKTIME_LIBS
17846 CARBON_LIBS = $CARBON_LIBS
17847 PTHREAD_LIBS = $PTHREAD_LIBS
17848 X_CFLAGS = $X_CFLAGS
17849 X_PRE_LIBS = $X_PRE_LIBS
17851 X_EXTRA_LIBS = $X_EXTRA_LIBS
17852 PCAP_LIBS = $PCAP_LIBS
17853 XML2_CFLAGS = $XML2_CFLAGS
17854 XML2_LIBS = $XML2_LIBS
17855 XSLT_CFLAGS = $XSLT_CFLAGS
17856 XSLT_LIBS = $XSLT_LIBS
17857 DBUS_CFLAGS = $DBUS_CFLAGS
17858 DBUS_LIBS = $DBUS_LIBS
17859 HAL_CFLAGS = $HAL_CFLAGS
17860 HAL_LIBS = $HAL_LIBS
17861 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
17862 GNUTLS_LIBS = $GNUTLS_LIBS
17863 SANE_CFLAGS = $SANE_CFLAGS
17864 SANE_LIBS = $SANE_LIBS
17865 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
17866 GPHOTO2_LIBS = $GPHOTO2_LIBS
17867 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
17868 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
17869 RESOLV_LIBS = $RESOLV_LIBS
17870 LCMS2_CFLAGS = $LCMS2_CFLAGS
17871 LCMS2_LIBS = $LCMS2_LIBS
17872 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
17873 FREETYPE_LIBS = $FREETYPE_LIBS
17875 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
17876 PULSE_CFLAGS = $PULSE_CFLAGS
17877 PULSE_LIBS = $PULSE_LIBS
17878 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
17879 GSTREAMER_LIBS = $GSTREAMER_LIBS
17880 ALSA_LIBS = $ALSA_LIBS
17881 OSS4_CFLAGS = $OSS4_CFLAGS
17882 UDEV_CFLAGS = $UDEV_CFLAGS
17883 UDEV_LIBS = $UDEV_LIBS
17884 CAPI20_CFLAGS = $CAPI20_CFLAGS
17885 CAPI20_LIBS = $CAPI20_LIBS
17886 CUPS_CFLAGS = $CUPS_CFLAGS
17887 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
17888 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
17889 JPEG_CFLAGS = $JPEG_CFLAGS
17890 JPEG_LIBS = $JPEG_LIBS
17891 PNG_CFLAGS = $PNG_CFLAGS
17892 PNG_LIBS = $PNG_LIBS
17893 TIFF_CFLAGS = $TIFF_CFLAGS
17894 TIFF_LIBS = $TIFF_LIBS
17895 MPG123_CFLAGS = $MPG123_CFLAGS
17896 MPG123_LIBS = $MPG123_LIBS
17897 KSTAT_LIBS = $KSTAT_LIBS
17898 PROCSTAT_LIBS = $PROCSTAT_LIBS
17899 NETAPI_CFLAGS = $NETAPI_CFLAGS
17900 NETAPI_LIBS = $NETAPI_LIBS
17901 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
17903 POLL_LIBS = $POLL_LIBS
17905 LDAP_CFLAGS = $LDAP_CFLAGS
17906 LDAP_LIBS = $LDAP_LIBS
17911 wine_fn_append_rule
"
17912 # Rules automatically generated by configure
17914 CLEAN_FILES = *.o *.a *.so *.res *.fake *.ok *.tab.[ch] *.yy.c
17919 Makefile: $srcdir/Makefile.in config.status \$(MAKEDEP)
17920 @./config.status Make.tmp Makefile
17921 depend: \$(MAKEDEP) dummy
17924 test -n "$CROSSTARGET" || wine_fn_append_rule
"crosstest:
17925 @echo \"crosstest is not supported (mingw not installed?)\" && false"
17927 if test "x$enable_fonts" != xno
; then
17928 ac_config_links
="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
17929 ac_config_links
="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
17930 ac_config_links
="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
17931 ac_config_links
="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
17932 ac_config_links
="$ac_config_links fonts/wingding.ttf:fonts/wingding.ttf"
17933 test "$srcdir" = "." || wine_fn_config_symlink fonts
/marlett.ttf fonts
/symbol.ttf fonts
/tahoma.ttf fonts
/tahomabd.ttf fonts
/wingding.ttf
17935 ac_config_links
="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
17936 test "$srcdir" = "." || wine_fn_config_symlink loader
/l_intl.nls
17937 ac_config_links
="$ac_config_links wine:tools/winewrapper"
17938 wine_fn_config_symlink wine
17939 if test "x$enable_win64" != xno
; then
17940 ac_config_links
="$ac_config_links wine64:tools/winewrapper"
17941 wine_fn_config_symlink wine64
17944 wine_fn_config_dll acledit enable_acledit
17945 wine_fn_config_dll aclui enable_aclui implib
17946 wine_fn_config_dll activeds enable_activeds implib
17947 wine_fn_config_dll actxprxy enable_actxprxy clean
17948 wine_fn_config_lib adsiid
17949 wine_fn_config_dll adsldpc enable_adsldpc
17950 wine_fn_config_dll advapi32 enable_advapi32 clean
,implib
17951 wine_fn_config_test dlls
/advapi32
/tests advapi32_test
17952 wine_fn_config_dll advpack enable_advpack implib
17953 wine_fn_config_test dlls
/advpack
/tests advpack_test
17954 wine_fn_config_dll amstream enable_amstream clean
17955 wine_fn_config_test dlls
/amstream
/tests amstream_test
17956 wine_fn_config_dll api-ms-win-appmodel-identity-l1-1-0 enable_api_ms_win_appmodel_identity_l1_1_0
17957 wine_fn_config_dll api-ms-win-appmodel-runtime-l1-1-1 enable_api_ms_win_appmodel_runtime_l1_1_1
17958 wine_fn_config_dll api-ms-win-core-apiquery-l1-1-0 enable_api_ms_win_core_apiquery_l1_1_0
17959 wine_fn_config_dll api-ms-win-core-appcompat-l1-1-1 enable_api_ms_win_core_appcompat_l1_1_1
17960 wine_fn_config_dll api-ms-win-core-appinit-l1-1-0 enable_api_ms_win_core_appinit_l1_1_0
17961 wine_fn_config_dll api-ms-win-core-atoms-l1-1-0 enable_api_ms_win_core_atoms_l1_1_0
17962 wine_fn_config_dll api-ms-win-core-bem-l1-1-0 enable_api_ms_win_core_bem_l1_1_0
17963 wine_fn_config_dll api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
17964 wine_fn_config_dll api-ms-win-core-com-l1-1-1 enable_api_ms_win_core_com_l1_1_1
17965 wine_fn_config_dll api-ms-win-core-com-private-l1-1-0 enable_api_ms_win_core_com_private_l1_1_0
17966 wine_fn_config_dll api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
17967 wine_fn_config_dll api-ms-win-core-console-l2-1-0 enable_api_ms_win_core_console_l2_1_0
17968 wine_fn_config_dll api-ms-win-core-crt-l1-1-0 enable_api_ms_win_core_crt_l1_1_0
17969 wine_fn_config_dll api-ms-win-core-crt-l2-1-0 enable_api_ms_win_core_crt_l2_1_0
17970 wine_fn_config_dll api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
17971 wine_fn_config_dll api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
17972 wine_fn_config_dll api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
17973 wine_fn_config_dll api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
17974 wine_fn_config_dll api-ms-win-core-delayload-l1-1-0 enable_api_ms_win_core_delayload_l1_1_0
17975 wine_fn_config_dll api-ms-win-core-delayload-l1-1-1 enable_api_ms_win_core_delayload_l1_1_1
17976 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
17977 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
17978 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
17979 wine_fn_config_dll api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
17980 wine_fn_config_dll api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
17981 wine_fn_config_dll api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
17982 wine_fn_config_dll api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
17983 wine_fn_config_dll api-ms-win-core-file-l1-2-1 enable_api_ms_win_core_file_l1_2_1
17984 wine_fn_config_dll api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
17985 wine_fn_config_dll api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
17986 wine_fn_config_dll api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
17987 wine_fn_config_dll api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
17988 wine_fn_config_dll api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
17989 wine_fn_config_dll api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
17990 wine_fn_config_dll api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
17991 wine_fn_config_dll api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
17992 wine_fn_config_dll api-ms-win-core-io-l1-1-0 enable_api_ms_win_core_io_l1_1_0
17993 wine_fn_config_dll api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
17994 wine_fn_config_dll api-ms-win-core-job-l1-1-0 enable_api_ms_win_core_job_l1_1_0
17995 wine_fn_config_dll api-ms-win-core-job-l2-1-0 enable_api_ms_win_core_job_l2_1_0
17996 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
17997 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-1 enable_api_ms_win_core_kernel32_legacy_l1_1_1
17998 wine_fn_config_dll api-ms-win-core-kernel32-private-l1-1-1 enable_api_ms_win_core_kernel32_private_l1_1_1
17999 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
18000 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
18001 wine_fn_config_dll api-ms-win-core-libraryloader-l1-2-0 enable_api_ms_win_core_libraryloader_l1_2_0
18002 wine_fn_config_dll api-ms-win-core-libraryloader-l1-2-2 enable_api_ms_win_core_libraryloader_l1_2_2
18003 wine_fn_config_dll api-ms-win-core-localization-l1-1-0 enable_api_ms_win_core_localization_l1_1_0
18004 wine_fn_config_dll api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
18005 wine_fn_config_dll api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
18006 wine_fn_config_dll api-ms-win-core-localization-l2-1-0 enable_api_ms_win_core_localization_l2_1_0
18007 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
18008 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-2-0 enable_api_ms_win_core_localization_obsolete_l1_2_0
18009 wine_fn_config_dll api-ms-win-core-localization-private-l1-1-0 enable_api_ms_win_core_localization_private_l1_1_0
18010 wine_fn_config_dll api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
18011 wine_fn_config_dll api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
18012 wine_fn_config_dll api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
18013 wine_fn_config_dll api-ms-win-core-memory-l1-1-2 enable_api_ms_win_core_memory_l1_1_2
18014 wine_fn_config_dll api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
18015 wine_fn_config_dll api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
18016 wine_fn_config_dll api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
18017 wine_fn_config_dll api-ms-win-core-namespace-l1-1-0 enable_api_ms_win_core_namespace_l1_1_0
18018 wine_fn_config_dll api-ms-win-core-normalization-l1-1-0 enable_api_ms_win_core_normalization_l1_1_0
18019 wine_fn_config_dll api-ms-win-core-path-l1-1-0 enable_api_ms_win_core_path_l1_1_0
18020 wine_fn_config_dll api-ms-win-core-privateprofile-l1-1-1 enable_api_ms_win_core_privateprofile_l1_1_1
18021 wine_fn_config_dll api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
18022 wine_fn_config_dll api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
18023 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
18024 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
18025 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
18026 wine_fn_config_dll api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
18027 wine_fn_config_dll api-ms-win-core-psapi-ansi-l1-1-0 enable_api_ms_win_core_psapi_ansi_l1_1_0
18028 wine_fn_config_dll api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
18029 wine_fn_config_dll api-ms-win-core-psapi-obsolete-l1-1-0 enable_api_ms_win_core_psapi_obsolete_l1_1_0
18030 wine_fn_config_dll api-ms-win-core-quirks-l1-1-0 enable_api_ms_win_core_quirks_l1_1_0
18031 wine_fn_config_dll api-ms-win-core-realtime-l1-1-0 enable_api_ms_win_core_realtime_l1_1_0
18032 wine_fn_config_dll api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
18033 wine_fn_config_dll api-ms-win-core-registry-l2-1-0 enable_api_ms_win_core_registry_l2_1_0
18034 wine_fn_config_dll api-ms-win-core-registryuserspecific-l1-1-0 enable_api_ms_win_core_registryuserspecific_l1_1_0
18035 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
18036 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
18037 wine_fn_config_dll api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
18038 wine_fn_config_dll api-ms-win-core-shlwapi-obsolete-l1-1-0 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
18039 wine_fn_config_dll api-ms-win-core-sidebyside-l1-1-0 enable_api_ms_win_core_sidebyside_l1_1_0
18040 wine_fn_config_dll api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
18041 wine_fn_config_dll api-ms-win-core-string-l2-1-0 enable_api_ms_win_core_string_l2_1_0
18042 wine_fn_config_dll api-ms-win-core-string-obsolete-l1-1-0 enable_api_ms_win_core_string_obsolete_l1_1_0
18043 wine_fn_config_dll api-ms-win-core-stringansi-l1-1-0 enable_api_ms_win_core_stringansi_l1_1_0
18044 wine_fn_config_dll api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
18045 wine_fn_config_dll api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
18046 wine_fn_config_dll api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
18047 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
18048 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
18049 wine_fn_config_dll api-ms-win-core-threadpool-l1-1-0 enable_api_ms_win_core_threadpool_l1_1_0
18050 wine_fn_config_dll api-ms-win-core-threadpool-l1-2-0 enable_api_ms_win_core_threadpool_l1_2_0
18051 wine_fn_config_dll api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
18052 wine_fn_config_dll api-ms-win-core-threadpool-private-l1-1-0 enable_api_ms_win_core_threadpool_private_l1_1_0
18053 wine_fn_config_dll api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
18054 wine_fn_config_dll api-ms-win-core-toolhelp-l1-1-0 enable_api_ms_win_core_toolhelp_l1_1_0
18055 wine_fn_config_dll api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
18056 wine_fn_config_dll api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
18057 wine_fn_config_dll api-ms-win-core-version-l1-1-0 enable_api_ms_win_core_version_l1_1_0
18058 wine_fn_config_dll api-ms-win-core-version-private-l1-1-0 enable_api_ms_win_core_version_private_l1_1_0
18059 wine_fn_config_dll api-ms-win-core-versionansi-l1-1-0 enable_api_ms_win_core_versionansi_l1_1_0
18060 wine_fn_config_dll api-ms-win-core-windowserrorreporting-l1-1-0 enable_api_ms_win_core_windowserrorreporting_l1_1_0
18061 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
18062 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
18063 wine_fn_config_dll api-ms-win-core-winrt-errorprivate-l1-1-1 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
18064 wine_fn_config_dll api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
18065 wine_fn_config_dll api-ms-win-core-winrt-registration-l1-1-0 enable_api_ms_win_core_winrt_registration_l1_1_0
18066 wine_fn_config_dll api-ms-win-core-winrt-roparameterizediid-l1-1-0 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
18067 wine_fn_config_dll api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
18068 wine_fn_config_dll api-ms-win-core-wow64-l1-1-0 enable_api_ms_win_core_wow64_l1_1_0
18069 wine_fn_config_dll api-ms-win-core-xstate-l1-1-0 enable_api_ms_win_core_xstate_l1_1_0
18070 wine_fn_config_dll api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
18071 wine_fn_config_dll api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
18072 wine_fn_config_dll api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
18073 wine_fn_config_dll api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
18074 wine_fn_config_dll api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
18075 wine_fn_config_dll api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
18076 wine_fn_config_dll api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
18077 wine_fn_config_dll api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
18078 wine_fn_config_dll api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
18079 wine_fn_config_dll api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
18080 wine_fn_config_dll api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
18081 wine_fn_config_dll api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
18082 wine_fn_config_dll api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
18083 wine_fn_config_dll api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
18084 wine_fn_config_dll api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
18085 wine_fn_config_dll api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
18086 wine_fn_config_dll api-ms-win-devices-config-l1-1-1 enable_api_ms_win_devices_config_l1_1_1
18087 wine_fn_config_dll api-ms-win-devices-query-l1-1-1 enable_api_ms_win_devices_query_l1_1_1
18088 wine_fn_config_dll api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
18089 wine_fn_config_dll api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
18090 wine_fn_config_dll api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
18091 wine_fn_config_dll api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
18092 wine_fn_config_dll api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
18093 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
18094 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
18095 wine_fn_config_dll api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
18096 wine_fn_config_dll api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
18097 wine_fn_config_dll api-ms-win-dx-d3dkmt-l1-1-0 enable_api_ms_win_dx_d3dkmt_l1_1_0
18098 wine_fn_config_dll api-ms-win-eventing-classicprovider-l1-1-0 enable_api_ms_win_eventing_classicprovider_l1_1_0
18099 wine_fn_config_dll api-ms-win-eventing-consumer-l1-1-0 enable_api_ms_win_eventing_consumer_l1_1_0
18100 wine_fn_config_dll api-ms-win-eventing-controller-l1-1-0 enable_api_ms_win_eventing_controller_l1_1_0
18101 wine_fn_config_dll api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
18102 wine_fn_config_dll api-ms-win-eventlog-legacy-l1-1-0 enable_api_ms_win_eventlog_legacy_l1_1_0
18103 wine_fn_config_dll api-ms-win-mm-misc-l1-1-1 enable_api_ms_win_mm_misc_l1_1_1
18104 wine_fn_config_dll api-ms-win-mm-mme-l1-1-0 enable_api_ms_win_mm_mme_l1_1_0
18105 wine_fn_config_dll api-ms-win-mm-time-l1-1-0 enable_api_ms_win_mm_time_l1_1_0
18106 wine_fn_config_dll api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
18107 wine_fn_config_dll api-ms-win-power-base-l1-1-0 enable_api_ms_win_power_base_l1_1_0
18108 wine_fn_config_dll api-ms-win-power-setting-l1-1-0 enable_api_ms_win_power_setting_l1_1_0
18109 wine_fn_config_dll api-ms-win-rtcore-ntuser-private-l1-1-0 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
18110 wine_fn_config_dll api-ms-win-security-activedirectoryclient-l1-1-0 enable_api_ms_win_security_activedirectoryclient_l1_1_0
18111 wine_fn_config_dll api-ms-win-security-audit-l1-1-1 enable_api_ms_win_security_audit_l1_1_1
18112 wine_fn_config_dll api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
18113 wine_fn_config_dll api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
18114 wine_fn_config_dll api-ms-win-security-base-private-l1-1-1 enable_api_ms_win_security_base_private_l1_1_1
18115 wine_fn_config_dll api-ms-win-security-credentials-l1-1-0 enable_api_ms_win_security_credentials_l1_1_0
18116 wine_fn_config_dll api-ms-win-security-grouppolicy-l1-1-0 enable_api_ms_win_security_grouppolicy_l1_1_0
18117 wine_fn_config_dll api-ms-win-security-lsalookup-l1-1-0 enable_api_ms_win_security_lsalookup_l1_1_0
18118 wine_fn_config_dll api-ms-win-security-lsalookup-l1-1-1 enable_api_ms_win_security_lsalookup_l1_1_1
18119 wine_fn_config_dll api-ms-win-security-lsalookup-l2-1-1 enable_api_ms_win_security_lsalookup_l2_1_1
18120 wine_fn_config_dll api-ms-win-security-lsapolicy-l1-1-0 enable_api_ms_win_security_lsapolicy_l1_1_0
18121 wine_fn_config_dll api-ms-win-security-provider-l1-1-0 enable_api_ms_win_security_provider_l1_1_0
18122 wine_fn_config_dll api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
18123 wine_fn_config_dll api-ms-win-security-systemfunctions-l1-1-0 enable_api_ms_win_security_systemfunctions_l1_1_0
18124 wine_fn_config_dll api-ms-win-service-core-l1-1-0 enable_api_ms_win_service_core_l1_1_0
18125 wine_fn_config_dll api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
18126 wine_fn_config_dll api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
18127 wine_fn_config_dll api-ms-win-service-management-l2-1-0 enable_api_ms_win_service_management_l2_1_0
18128 wine_fn_config_dll api-ms-win-service-private-l1-1-1 enable_api_ms_win_service_private_l1_1_1
18129 wine_fn_config_dll api-ms-win-service-winsvc-l1-1-0 enable_api_ms_win_service_winsvc_l1_1_0
18130 wine_fn_config_dll api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
18131 wine_fn_config_dll api-ms-win-shell-shellcom-l1-1-0 enable_api_ms_win_shell_shellcom_l1_1_0
18132 wine_fn_config_dll api-ms-win-shell-shellfolders-l1-1-0 enable_api_ms_win_shell_shellfolders_l1_1_0
18133 wine_fn_config_dll apphelp enable_apphelp
18134 wine_fn_config_test dlls
/apphelp
/tests apphelp_test
18135 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl clean
18136 wine_fn_config_dll atl enable_atl clean
,implib
18137 wine_fn_config_test dlls
/atl
/tests atl_test
18138 wine_fn_config_dll atl100 enable_atl100 clean
,implib
18139 wine_fn_config_test dlls
/atl100
/tests atl100_test
18140 wine_fn_config_dll atl110 enable_atl110 clean
18141 wine_fn_config_dll atl80 enable_atl80 clean
,implib
18142 wine_fn_config_test dlls
/atl80
/tests atl80_test
18143 wine_fn_config_dll atl90 enable_atl90 clean
18144 wine_fn_config_dll authz enable_authz
18145 wine_fn_config_dll avicap32 enable_avicap32 implib
18146 wine_fn_config_dll avifil32 enable_avifil32 clean
,implib
18147 wine_fn_config_test dlls
/avifil32
/tests avifil32_test
18148 wine_fn_config_dll avifile.dll16 enable_win16
18149 wine_fn_config_dll avrt enable_avrt implib
18150 wine_fn_config_dll bcrypt enable_bcrypt implib
18151 wine_fn_config_test dlls
/bcrypt
/tests bcrypt_test
18152 wine_fn_config_dll bluetoothapis enable_bluetoothapis
18153 wine_fn_config_dll browseui enable_browseui clean
18154 wine_fn_config_test dlls
/browseui
/tests browseui_test
18155 wine_fn_config_dll bthprops.cpl enable_bthprops_cpl
18156 wine_fn_config_dll cabinet enable_cabinet implib
18157 wine_fn_config_test dlls
/cabinet
/tests cabinet_test
18158 wine_fn_config_dll capi2032 enable_capi2032 implib
18159 wine_fn_config_dll cards enable_cards implib
18160 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
18161 wine_fn_config_dll clusapi enable_clusapi implib
18162 wine_fn_config_dll combase enable_combase
18163 wine_fn_config_test dlls
/combase
/tests combase_test
18164 wine_fn_config_dll comcat enable_comcat
18165 wine_fn_config_test dlls
/comcat
/tests comcat_test
18166 wine_fn_config_dll comctl32 enable_comctl32 clean
,implib
18167 wine_fn_config_test dlls
/comctl32
/tests comctl32_test
18168 wine_fn_config_dll comdlg32 enable_comdlg32 clean
,implib
18169 wine_fn_config_test dlls
/comdlg32
/tests comdlg32_test
18170 wine_fn_config_dll
comm.drv16 enable_win16
18171 wine_fn_config_dll commdlg.dll16 enable_win16
18172 wine_fn_config_dll compobj.dll16 enable_win16
18173 wine_fn_config_dll compstui enable_compstui implib
18174 wine_fn_config_dll comsvcs enable_comsvcs clean
,implib
18175 wine_fn_config_dll concrt140 enable_concrt140
18176 wine_fn_config_dll connect enable_connect
18177 wine_fn_config_dll credui enable_credui clean
,implib
18178 wine_fn_config_test dlls
/credui
/tests credui_test
18179 wine_fn_config_dll crtdll enable_crtdll
18180 wine_fn_config_dll crypt32 enable_crypt32 clean
,implib
18181 wine_fn_config_test dlls
/crypt32
/tests crypt32_test
18182 wine_fn_config_dll cryptdlg enable_cryptdlg clean
18183 wine_fn_config_dll cryptdll enable_cryptdll implib
18184 wine_fn_config_dll cryptext enable_cryptext
18185 wine_fn_config_dll cryptnet enable_cryptnet implib
18186 wine_fn_config_test dlls
/cryptnet
/tests cryptnet_test
18187 wine_fn_config_dll cryptui enable_cryptui clean
,implib
18188 wine_fn_config_test dlls
/cryptui
/tests cryptui_test
18189 wine_fn_config_dll ctapi32 enable_ctapi32
18190 wine_fn_config_dll ctl3d.dll16 enable_win16
18191 wine_fn_config_dll ctl3d32 enable_ctl3d32
18192 wine_fn_config_dll ctl3dv2.dll16 enable_win16
18193 wine_fn_config_dll d2d1 enable_d2d1 implib
18194 wine_fn_config_test dlls
/d2d
1/tests d2d1_test
18195 wine_fn_config_dll d3d10 enable_d3d10 implib
18196 wine_fn_config_test dlls
/d3d10
/tests d3d10_test
18197 wine_fn_config_dll d3d10_1 enable_d3d10_1 implib
18198 wine_fn_config_test dlls
/d3d10_
1/tests d3d10_1_test
18199 wine_fn_config_dll d3d10core enable_d3d10core implib
18200 wine_fn_config_test dlls
/d3d10core
/tests d3d10core_test
18201 wine_fn_config_dll d3d11 enable_d3d11 implib
18202 wine_fn_config_test dlls
/d3d11
/tests d3d11_test
18203 wine_fn_config_dll d3d8 enable_d3d8 implib
18204 wine_fn_config_test dlls
/d3d
8/tests d3d8_test
18205 wine_fn_config_dll d3d9 enable_d3d9 implib
18206 wine_fn_config_test dlls
/d3d
9/tests d3d9_test
18207 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
18208 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
18209 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
18210 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
18211 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
18212 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
18213 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
18214 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
18215 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
18216 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
18217 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
18218 wine_fn_config_test dlls
/d3dcompiler_43
/tests d3dcompiler_43_test
18219 wine_fn_config_dll d3dcompiler_46 enable_d3dcompiler_46
18220 wine_fn_config_dll d3dcompiler_47 enable_d3dcompiler_47
18221 wine_fn_config_dll d3dim enable_d3dim
18222 wine_fn_config_dll d3drm enable_d3drm implib
18223 wine_fn_config_test dlls
/d3drm
/tests d3drm_test
18224 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
18225 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
18226 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
18227 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
18228 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
18229 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
18230 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
18231 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
18232 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
18233 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
18234 wine_fn_config_dll d3dx10_43 enable_d3dx10_43 implib d3dx10
18235 wine_fn_config_test dlls
/d3dx10_43
/tests d3dx10_43_test
18236 wine_fn_config_dll d3dx11_42 enable_d3dx11_42
18237 wine_fn_config_dll d3dx11_43 enable_d3dx11_43 implib d3dx11
18238 wine_fn_config_test dlls
/d3dx11_43
/tests d3dx11_43_test
18239 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
18240 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
18241 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
18242 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
18243 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
18244 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
18245 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
18246 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
18247 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
18248 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
18249 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
18250 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
18251 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
18252 wine_fn_config_test dlls
/d3dx9_36
/tests d3dx9_36_test
18253 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
18254 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
18255 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
18256 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
18257 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
18258 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
18259 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
18260 wine_fn_config_dll d3dxof enable_d3dxof clean
,implib
18261 wine_fn_config_test dlls
/d3dxof
/tests d3dxof_test
18262 wine_fn_config_dll davclnt enable_davclnt
18263 wine_fn_config_dll dbgeng enable_dbgeng implib
18264 wine_fn_config_dll dbghelp enable_dbghelp implib
18265 wine_fn_config_dll dciman32 enable_dciman32 implib
18266 wine_fn_config_dll ddeml.dll16 enable_win16
18267 wine_fn_config_dll ddraw enable_ddraw clean
,implib
18268 wine_fn_config_test dlls
/ddraw
/tests ddraw_test
18269 wine_fn_config_dll ddrawex enable_ddrawex clean
18270 wine_fn_config_test dlls
/ddrawex
/tests ddrawex_test
18271 wine_fn_config_dll devenum enable_devenum clean
18272 wine_fn_config_test dlls
/devenum
/tests devenum_test
18273 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
18274 wine_fn_config_dll difxapi enable_difxapi
18275 wine_fn_config_dll dinput enable_dinput clean
,implib
,staticimplib
18276 wine_fn_config_test dlls
/dinput
/tests dinput_test
18277 wine_fn_config_dll dinput8 enable_dinput8 clean
,implib
18278 wine_fn_config_test dlls
/dinput
8/tests dinput8_test
18279 wine_fn_config_dll dispdib.dll16 enable_win16
18280 wine_fn_config_dll dispex enable_dispex clean
18281 wine_fn_config_test dlls
/dispex
/tests dispex_test
18282 wine_fn_config_dll display.drv16 enable_win16
18283 wine_fn_config_dll dmband enable_dmband clean
18284 wine_fn_config_test dlls
/dmband
/tests dmband_test
18285 wine_fn_config_dll dmcompos enable_dmcompos clean
18286 wine_fn_config_test dlls
/dmcompos
/tests dmcompos_test
18287 wine_fn_config_dll dmime enable_dmime clean
18288 wine_fn_config_test dlls
/dmime
/tests dmime_test
18289 wine_fn_config_dll dmloader enable_dmloader clean
18290 wine_fn_config_test dlls
/dmloader
/tests dmloader_test
18291 wine_fn_config_dll dmscript enable_dmscript clean
18292 wine_fn_config_test dlls
/dmscript
/tests dmscript_test
18293 wine_fn_config_dll dmstyle enable_dmstyle clean
18294 wine_fn_config_test dlls
/dmstyle
/tests dmstyle_test
18295 wine_fn_config_dll dmsynth enable_dmsynth clean
18296 wine_fn_config_test dlls
/dmsynth
/tests dmsynth_test
18297 wine_fn_config_dll dmusic enable_dmusic clean
18298 wine_fn_config_test dlls
/dmusic
/tests dmusic_test
18299 wine_fn_config_dll dmusic32 enable_dmusic32
18300 wine_fn_config_dll dnsapi enable_dnsapi implib
18301 wine_fn_config_test dlls
/dnsapi
/tests dnsapi_test
18302 wine_fn_config_dll dplay enable_dplay
18303 wine_fn_config_dll dplayx enable_dplayx clean
,implib
18304 wine_fn_config_test dlls
/dplayx
/tests dplayx_test
18305 wine_fn_config_dll dpnaddr enable_dpnaddr
18306 wine_fn_config_dll dpnet enable_dpnet clean
,implib
18307 wine_fn_config_test dlls
/dpnet
/tests dpnet_test
18308 wine_fn_config_dll dpnhpast enable_dpnhpast
18309 wine_fn_config_dll dpnlobby enable_dpnlobby
18310 wine_fn_config_dll dpvoice enable_dpvoice clean
18311 wine_fn_config_test dlls
/dpvoice
/tests dpvoice_test
18312 wine_fn_config_dll dpwsockx enable_dpwsockx
18313 wine_fn_config_dll drmclien enable_drmclien
18314 wine_fn_config_dll dsound enable_dsound clean
,implib
18315 wine_fn_config_test dlls
/dsound
/tests dsound_test
18316 wine_fn_config_dll dsquery enable_dsquery
18317 wine_fn_config_dll dssenh enable_dssenh
18318 wine_fn_config_test dlls
/dssenh
/tests dssenh_test
18319 wine_fn_config_dll dswave enable_dswave clean
18320 wine_fn_config_test dlls
/dswave
/tests dswave_test
18321 wine_fn_config_dll dwmapi enable_dwmapi implib
18322 wine_fn_config_dll dwrite enable_dwrite implib
18323 wine_fn_config_test dlls
/dwrite
/tests dwrite_test
18324 wine_fn_config_dll dxdiagn enable_dxdiagn clean
18325 wine_fn_config_test dlls
/dxdiagn
/tests dxdiagn_test
18326 wine_fn_config_lib dxerr8
18327 wine_fn_config_lib dxerr9
18328 wine_fn_config_dll dxgi enable_dxgi implib
18329 wine_fn_config_test dlls
/dxgi
/tests dxgi_test
18330 wine_fn_config_lib dxguid
18331 wine_fn_config_dll dxva2 enable_dxva2
18332 wine_fn_config_dll esent enable_esent
18333 wine_fn_config_dll evr enable_evr
18334 wine_fn_config_dll explorerframe enable_explorerframe clean
18335 wine_fn_config_test dlls
/explorerframe
/tests explorerframe_test
18336 wine_fn_config_dll ext-ms-win-authz-context-l1-1-0 enable_ext_ms_win_authz_context_l1_1_0
18337 wine_fn_config_dll ext-ms-win-domainjoin-netjoin-l1-1-0 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
18338 wine_fn_config_dll ext-ms-win-gdi-dc-create-l1-1-1 enable_ext_ms_win_gdi_dc_create_l1_1_1
18339 wine_fn_config_dll ext-ms-win-gdi-dc-l1-2-0 enable_ext_ms_win_gdi_dc_l1_2_0
18340 wine_fn_config_dll ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
18341 wine_fn_config_dll ext-ms-win-gdi-draw-l1-1-1 enable_ext_ms_win_gdi_draw_l1_1_1
18342 wine_fn_config_dll ext-ms-win-gdi-render-l1-1-0 enable_ext_ms_win_gdi_render_l1_1_0
18343 wine_fn_config_dll ext-ms-win-kernel32-package-current-l1-1-0 enable_ext_ms_win_kernel32_package_current_l1_1_0
18344 wine_fn_config_dll ext-ms-win-kernel32-package-l1-1-1 enable_ext_ms_win_kernel32_package_l1_1_1
18345 wine_fn_config_dll ext-ms-win-ntuser-message-l1-1-1 enable_ext_ms_win_ntuser_message_l1_1_1
18346 wine_fn_config_dll ext-ms-win-ntuser-private-l1-1-1 enable_ext_ms_win_ntuser_private_l1_1_1
18347 wine_fn_config_dll ext-ms-win-ntuser-rectangle-ext-l1-1-0 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
18348 wine_fn_config_dll ext-ms-win-ntuser-uicontext-ext-l1-1-0 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
18349 wine_fn_config_dll ext-ms-win-ntuser-window-l1-1-1 enable_ext_ms_win_ntuser_window_l1_1_1
18350 wine_fn_config_dll ext-ms-win-ntuser-windowclass-l1-1-1 enable_ext_ms_win_ntuser_windowclass_l1_1_1
18351 wine_fn_config_dll ext-ms-win-ras-rasapi32-l1-1-0 enable_ext_ms_win_ras_rasapi32_l1_1_0
18352 wine_fn_config_dll ext-ms-win-rtcore-gdi-object-l1-1-0 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
18353 wine_fn_config_dll ext-ms-win-rtcore-gdi-rgn-l1-1-0 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
18354 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
18355 wine_fn_config_dll ext-ms-win-rtcore-ntuser-dpi-l1-1-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
18356 wine_fn_config_dll ext-ms-win-rtcore-ntuser-sysparams-l1-1-0 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
18357 wine_fn_config_dll ext-ms-win-security-credui-l1-1-0 enable_ext_ms_win_security_credui_l1_1_0
18358 wine_fn_config_dll ext-ms-win-security-cryptui-l1-1-0 enable_ext_ms_win_security_cryptui_l1_1_0
18359 wine_fn_config_dll faultrep enable_faultrep implib
18360 wine_fn_config_test dlls
/faultrep
/tests faultrep_test
18361 wine_fn_config_dll fltlib enable_fltlib
18362 wine_fn_config_dll fltmgr.sys enable_fltmgr_sys
18363 wine_fn_config_dll fntcache enable_fntcache
18364 wine_fn_config_dll fontsub enable_fontsub
18365 wine_fn_config_dll fusion enable_fusion
18366 wine_fn_config_test dlls
/fusion
/tests fusion_test
18367 wine_fn_config_dll fwpuclnt enable_fwpuclnt
18368 wine_fn_config_dll gameux enable_gameux clean
18369 wine_fn_config_test dlls
/gameux
/tests gameux_test
18370 wine_fn_config_dll gdi.exe16 enable_win16
18371 wine_fn_config_dll gdi32 enable_gdi32 clean
,implib
18372 wine_fn_config_test dlls
/gdi32
/tests gdi32_test
18373 wine_fn_config_dll gdiplus enable_gdiplus implib
18374 wine_fn_config_test dlls
/gdiplus
/tests gdiplus_test
18375 wine_fn_config_dll glu32 enable_glu32 implib
18376 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds clean
18377 wine_fn_config_dll gpkcsp enable_gpkcsp
18378 wine_fn_config_dll hal enable_hal
18379 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx clean
,implib htmlhelp
18380 wine_fn_config_dll hid enable_hid implib
18381 wine_fn_config_test dlls
/hid
/tests hid_test
18382 wine_fn_config_dll hidclass.sys enable_hidclass_sys implib hidclass
18383 wine_fn_config_dll hlink enable_hlink clean
,implib
18384 wine_fn_config_test dlls
/hlink
/tests hlink_test
18385 wine_fn_config_dll hnetcfg enable_hnetcfg clean
18386 wine_fn_config_test dlls
/hnetcfg
/tests hnetcfg_test
18387 wine_fn_config_dll httpapi enable_httpapi
18388 wine_fn_config_dll iccvid enable_iccvid clean
18389 wine_fn_config_dll icmp enable_icmp
18390 wine_fn_config_dll ieframe enable_ieframe clean
,implib
18391 wine_fn_config_test dlls
/ieframe
/tests ieframe_test
18392 wine_fn_config_dll ieproxy enable_ieproxy clean
18393 wine_fn_config_dll ifsmgr.vxd enable_win16
18394 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
18395 wine_fn_config_dll imagehlp enable_imagehlp implib
18396 wine_fn_config_test dlls
/imagehlp
/tests imagehlp_test
18397 wine_fn_config_dll imm.dll16 enable_win16
18398 wine_fn_config_dll imm32 enable_imm32 implib
18399 wine_fn_config_test dlls
/imm32
/tests imm32_test
18400 wine_fn_config_dll inetcomm enable_inetcomm clean
,implib
18401 wine_fn_config_test dlls
/inetcomm
/tests inetcomm_test
18402 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl clean
18403 wine_fn_config_dll inetmib1 enable_inetmib1
18404 wine_fn_config_test dlls
/inetmib
1/tests inetmib1_test
18405 wine_fn_config_dll infosoft enable_infosoft clean
18406 wine_fn_config_test dlls
/infosoft
/tests infosoft_test
18407 wine_fn_config_dll initpki enable_initpki
18408 wine_fn_config_dll inkobj enable_inkobj
18409 wine_fn_config_dll inseng enable_inseng clean
18410 wine_fn_config_dll iphlpapi enable_iphlpapi implib
18411 wine_fn_config_test dlls
/iphlpapi
/tests iphlpapi_test
18412 wine_fn_config_dll iprop enable_iprop
18413 wine_fn_config_dll irprops.cpl enable_irprops_cpl
18414 wine_fn_config_dll itircl enable_itircl
18415 wine_fn_config_dll itss enable_itss clean
18416 wine_fn_config_test dlls
/itss
/tests itss_test
18417 wine_fn_config_dll joy.cpl enable_joy_cpl clean
18418 wine_fn_config_dll jscript enable_jscript clean
18419 wine_fn_config_test dlls
/jscript
/tests jscript_test
18420 wine_fn_config_dll jsproxy enable_jsproxy implib
18421 wine_fn_config_test dlls
/jsproxy
/tests jsproxy_test
18422 wine_fn_config_dll kernel32 enable_kernel32 clean
,implib
18423 wine_fn_config_test dlls
/kernel32
/tests kernel32_test
18424 wine_fn_config_dll kernelbase enable_kernelbase
18425 wine_fn_config_dll keyboard.drv16 enable_win16
18426 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
18427 wine_fn_config_dll ksuser enable_ksuser
18428 wine_fn_config_dll ktmw32 enable_ktmw32
18429 wine_fn_config_dll loadperf enable_loadperf implib
18430 wine_fn_config_dll localspl enable_localspl clean
18431 wine_fn_config_test dlls
/localspl
/tests localspl_test
18432 wine_fn_config_dll localui enable_localui clean
18433 wine_fn_config_test dlls
/localui
/tests localui_test
18434 wine_fn_config_dll lz32 enable_lz32 implib
18435 wine_fn_config_test dlls
/lz32
/tests lz32_test
18436 wine_fn_config_dll lzexpand.dll16 enable_win16
18437 wine_fn_config_dll mapi32 enable_mapi32 clean
,implib
18438 wine_fn_config_test dlls
/mapi32
/tests mapi32_test
18439 wine_fn_config_dll mapistub enable_mapistub
18440 wine_fn_config_dll mciavi32 enable_mciavi32
18441 wine_fn_config_dll mcicda enable_mcicda
18442 wine_fn_config_dll mciqtz32 enable_mciqtz32
18443 wine_fn_config_dll mciseq enable_mciseq
18444 wine_fn_config_dll mciwave enable_mciwave
18445 wine_fn_config_dll mf enable_mf implib
18446 wine_fn_config_test dlls
/mf
/tests mf_test
18447 wine_fn_config_dll mf3216 enable_mf3216
18448 wine_fn_config_dll mfplat enable_mfplat implib
18449 wine_fn_config_test dlls
/mfplat
/tests mfplat_test
18450 wine_fn_config_dll mfreadwrite enable_mfreadwrite
18451 wine_fn_config_dll mgmtapi enable_mgmtapi
18452 wine_fn_config_dll midimap enable_midimap
18453 wine_fn_config_dll mlang enable_mlang clean
,implib
18454 wine_fn_config_test dlls
/mlang
/tests mlang_test
18455 wine_fn_config_dll mmcndmgr enable_mmcndmgr clean
18456 wine_fn_config_test dlls
/mmcndmgr
/tests mmcndmgr_test
18457 wine_fn_config_dll mmdevapi enable_mmdevapi clean
18458 wine_fn_config_test dlls
/mmdevapi
/tests mmdevapi_test
18459 wine_fn_config_dll mmdevldr.vxd enable_win16
18460 wine_fn_config_dll mmsystem.dll16 enable_win16
18461 wine_fn_config_dll monodebg.vxd enable_win16
18462 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
18463 wine_fn_config_dll mouse.drv16 enable_win16
18464 wine_fn_config_dll mpr enable_mpr clean
,implib
18465 wine_fn_config_test dlls
/mpr
/tests mpr_test
18466 wine_fn_config_dll mprapi enable_mprapi implib
18467 wine_fn_config_dll msacm.dll16 enable_win16
18468 wine_fn_config_dll msacm32.drv enable_msacm32_drv
18469 wine_fn_config_dll msacm32 enable_msacm32 clean
,implib
18470 wine_fn_config_test dlls
/msacm32
/tests msacm32_test
18471 wine_fn_config_dll msadp32.acm enable_msadp32_acm
18472 wine_fn_config_dll msasn1 enable_msasn1 implib
18473 wine_fn_config_dll mscat32 enable_mscat32
18474 wine_fn_config_dll mscms enable_mscms implib
18475 wine_fn_config_test dlls
/mscms
/tests mscms_test
18476 wine_fn_config_dll mscoree enable_mscoree clean
18477 wine_fn_config_test dlls
/mscoree
/tests mscoree_test
18478 wine_fn_config_dll msctf enable_msctf clean
18479 wine_fn_config_test dlls
/msctf
/tests msctf_test
18480 wine_fn_config_dll msctfp enable_msctfp clean
18481 wine_fn_config_dll msdaps enable_msdaps clean
18482 wine_fn_config_dll msdelta enable_msdelta
18483 wine_fn_config_dll msdmo enable_msdmo implib
18484 wine_fn_config_test dlls
/msdmo
/tests msdmo_test
18485 wine_fn_config_dll msdrm enable_msdrm
18486 wine_fn_config_dll msftedit enable_msftedit
18487 wine_fn_config_dll msg711.acm enable_msg711_acm
18488 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
18489 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb clean
18490 wine_fn_config_dll mshtml enable_mshtml clean
,implib
18491 wine_fn_config_test dlls
/mshtml
/tests mshtml_test clean
18492 wine_fn_config_dll msi enable_msi clean
,implib
18493 wine_fn_config_test dlls
/msi
/tests msi_test
18494 wine_fn_config_dll msident enable_msident clean
18495 wine_fn_config_dll msimg32 enable_msimg32 implib
18496 wine_fn_config_dll msimsg enable_msimsg
18497 wine_fn_config_dll msimtf enable_msimtf clean
18498 wine_fn_config_dll msisip enable_msisip
18499 wine_fn_config_dll msisys.ocx enable_msisys_ocx
18500 wine_fn_config_dll msls31 enable_msls31
18501 wine_fn_config_dll msnet32 enable_msnet32
18502 wine_fn_config_dll mspatcha enable_mspatcha implib
18503 wine_fn_config_dll msports enable_msports
18504 wine_fn_config_dll msrle32 enable_msrle32 clean
18505 wine_fn_config_test dlls
/msrle32
/tests msrle32_test
18506 wine_fn_config_dll msscript.ocx enable_msscript_ocx clean
18507 wine_fn_config_test dlls
/msscript.ocx
/tests msscript.ocx_test clean
18508 wine_fn_config_dll mssign32 enable_mssign32
18509 wine_fn_config_dll mssip32 enable_mssip32
18510 wine_fn_config_dll mstask enable_mstask clean
18511 wine_fn_config_test dlls
/mstask
/tests mstask_test
18512 wine_fn_config_dll msvcirt enable_msvcirt
18513 wine_fn_config_test dlls
/msvcirt
/tests msvcirt_test
18514 wine_fn_config_dll msvcm80 enable_msvcm80
18515 wine_fn_config_dll msvcm90 enable_msvcm90
18516 wine_fn_config_dll msvcp100 enable_msvcp100
18517 wine_fn_config_test dlls
/msvcp100
/tests msvcp100_test
18518 wine_fn_config_dll msvcp110 enable_msvcp110
18519 wine_fn_config_test dlls
/msvcp110
/tests msvcp110_test
18520 wine_fn_config_dll msvcp120 enable_msvcp120
18521 wine_fn_config_test dlls
/msvcp120
/tests msvcp120_test
18522 wine_fn_config_dll msvcp120_app enable_msvcp120_app
18523 wine_fn_config_dll msvcp140 enable_msvcp140
18524 wine_fn_config_test dlls
/msvcp140
/tests msvcp140_test
18525 wine_fn_config_dll msvcp60 enable_msvcp60
18526 wine_fn_config_test dlls
/msvcp60
/tests msvcp60_test
18527 wine_fn_config_dll msvcp70 enable_msvcp70
18528 wine_fn_config_dll msvcp71 enable_msvcp71
18529 wine_fn_config_dll msvcp80 enable_msvcp80
18530 wine_fn_config_dll msvcp90 enable_msvcp90
18531 wine_fn_config_test dlls
/msvcp90
/tests msvcp90_test
18532 wine_fn_config_dll msvcr100 enable_msvcr100 implib
18533 wine_fn_config_test dlls
/msvcr100
/tests msvcr100_test
18534 wine_fn_config_dll msvcr110 enable_msvcr110 implib
18535 wine_fn_config_dll msvcr120 enable_msvcr120 implib
18536 wine_fn_config_test dlls
/msvcr120
/tests msvcr120_test
18537 wine_fn_config_dll msvcr120_app enable_msvcr120_app
18538 wine_fn_config_dll msvcr70 enable_msvcr70 implib
18539 wine_fn_config_dll msvcr71 enable_msvcr71 implib
18540 wine_fn_config_dll msvcr80 enable_msvcr80 implib
18541 wine_fn_config_dll msvcr90 enable_msvcr90 implib
18542 wine_fn_config_test dlls
/msvcr90
/tests msvcr90_test
18543 wine_fn_config_dll msvcrt enable_msvcrt implib
18544 wine_fn_config_test dlls
/msvcrt
/tests msvcrt_test
18545 wine_fn_config_dll msvcrt20 enable_msvcrt20
18546 wine_fn_config_dll msvcrt40 enable_msvcrt40
18547 wine_fn_config_dll msvcrtd enable_msvcrtd implib
18548 wine_fn_config_test dlls
/msvcrtd
/tests msvcrtd_test
18549 wine_fn_config_dll msvfw32 enable_msvfw32 clean
,implib
18550 wine_fn_config_test dlls
/msvfw32
/tests msvfw32_test
18551 wine_fn_config_dll msvidc32 enable_msvidc32 clean
18552 wine_fn_config_dll msvideo.dll16 enable_win16
18553 wine_fn_config_dll mswsock enable_mswsock implib
18554 wine_fn_config_dll msxml enable_msxml clean
18555 wine_fn_config_dll msxml2 enable_msxml2 clean
18556 wine_fn_config_dll msxml3 enable_msxml3 clean
18557 wine_fn_config_test dlls
/msxml
3/tests msxml3_test clean
18558 wine_fn_config_dll msxml4 enable_msxml4 clean
18559 wine_fn_config_dll msxml6 enable_msxml6 clean
18560 wine_fn_config_dll mtxdm enable_mtxdm
18561 wine_fn_config_dll ncrypt enable_ncrypt
18562 wine_fn_config_dll nddeapi enable_nddeapi implib
18563 wine_fn_config_dll ndis.sys enable_ndis_sys
18564 wine_fn_config_dll netapi32 enable_netapi32 implib
18565 wine_fn_config_test dlls
/netapi32
/tests netapi32_test
18566 wine_fn_config_dll netcfgx enable_netcfgx clean
18567 wine_fn_config_test dlls
/netcfgx
/tests netcfgx_test
18568 wine_fn_config_dll netprofm enable_netprofm clean
18569 wine_fn_config_test dlls
/netprofm
/tests netprofm_test
18570 wine_fn_config_dll newdev enable_newdev implib
18571 wine_fn_config_dll normaliz enable_normaliz implib
18572 wine_fn_config_dll npmshtml enable_npmshtml
18573 wine_fn_config_dll npptools enable_npptools
18574 wine_fn_config_dll ntdll enable_ntdll implib
18575 wine_fn_config_test dlls
/ntdll
/tests ntdll_test
18576 wine_fn_config_dll ntdsapi enable_ntdsapi implib
18577 wine_fn_config_test dlls
/ntdsapi
/tests ntdsapi_test
18578 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib ntoskrnl
18579 wine_fn_config_dll ntprint enable_ntprint
18580 wine_fn_config_test dlls
/ntprint
/tests ntprint_test
18581 wine_fn_config_dll objsel enable_objsel clean
18582 wine_fn_config_dll odbc32 enable_odbc32 implib
18583 wine_fn_config_dll odbccp32 enable_odbccp32 implib
18584 wine_fn_config_test dlls
/odbccp32
/tests odbccp32_test
18585 wine_fn_config_dll odbccu32 enable_odbccu32
18586 wine_fn_config_dll ole2.dll16 enable_win16
18587 wine_fn_config_dll ole2conv.dll16 enable_win16
18588 wine_fn_config_dll ole2disp.dll16 enable_win16
18589 wine_fn_config_dll ole2nls.dll16 enable_win16
18590 wine_fn_config_dll ole2prox.dll16 enable_win16
18591 wine_fn_config_dll ole2thk.dll16 enable_win16
18592 wine_fn_config_dll ole32 enable_ole32 clean
,implib
18593 wine_fn_config_test dlls
/ole32
/tests ole32_test
18594 wine_fn_config_dll oleacc enable_oleacc clean
,implib
18595 wine_fn_config_test dlls
/oleacc
/tests oleacc_test
18596 wine_fn_config_dll oleaut32 enable_oleaut32 clean
,implib
18597 wine_fn_config_test dlls
/oleaut32
/tests oleaut32_test clean
18598 wine_fn_config_dll olecli.dll16 enable_win16
18599 wine_fn_config_dll olecli32 enable_olecli32 implib
18600 wine_fn_config_dll oledb32 enable_oledb32 clean
18601 wine_fn_config_test dlls
/oledb32
/tests oledb32_test clean
18602 wine_fn_config_dll oledlg enable_oledlg clean
,implib
18603 wine_fn_config_test dlls
/oledlg
/tests oledlg_test
18604 wine_fn_config_dll olepro32 enable_olepro32 clean
,implib
18605 wine_fn_config_dll olesvr.dll16 enable_win16
18606 wine_fn_config_dll olesvr32 enable_olesvr32 implib
18607 wine_fn_config_dll olethk32 enable_olethk32
18608 wine_fn_config_dll openal32 enable_openal32
18609 wine_fn_config_dll opencl enable_opencl
18610 wine_fn_config_dll opengl32 enable_opengl32 implib
18611 wine_fn_config_test dlls
/opengl32
/tests opengl32_test
18612 wine_fn_config_dll packager enable_packager clean
18613 wine_fn_config_test dlls
/packager
/tests packager_test
18614 wine_fn_config_dll pdh enable_pdh implib
18615 wine_fn_config_test dlls
/pdh
/tests pdh_test
18616 wine_fn_config_dll photometadatahandler enable_photometadatahandler
18617 wine_fn_config_dll pidgen enable_pidgen
18618 wine_fn_config_dll powrprof enable_powrprof implib
18619 wine_fn_config_dll printui enable_printui
18620 wine_fn_config_dll prntvpt enable_prntvpt
18621 wine_fn_config_dll propsys enable_propsys clean
,implib
18622 wine_fn_config_test dlls
/propsys
/tests propsys_test
18623 wine_fn_config_dll psapi enable_psapi implib
18624 wine_fn_config_test dlls
/psapi
/tests psapi_test
18625 wine_fn_config_dll pstorec enable_pstorec clean
18626 wine_fn_config_test dlls
/pstorec
/tests pstorec_test
18627 wine_fn_config_dll qcap enable_qcap
18628 wine_fn_config_test dlls
/qcap
/tests qcap_test
18629 wine_fn_config_dll qedit enable_qedit clean
18630 wine_fn_config_test dlls
/qedit
/tests qedit_test
18631 wine_fn_config_dll qmgr enable_qmgr clean
18632 wine_fn_config_test dlls
/qmgr
/tests qmgr_test
18633 wine_fn_config_dll qmgrprxy enable_qmgrprxy clean
18634 wine_fn_config_dll quartz enable_quartz clean
,implib
18635 wine_fn_config_test dlls
/quartz
/tests quartz_test clean
18636 wine_fn_config_dll query enable_query
18637 wine_fn_config_dll rasapi16.dll16 enable_win16
18638 wine_fn_config_dll rasapi32 enable_rasapi32 implib
18639 wine_fn_config_test dlls
/rasapi32
/tests rasapi32_test
18640 wine_fn_config_dll rasdlg enable_rasdlg implib
18641 wine_fn_config_dll regapi enable_regapi
18642 wine_fn_config_dll resutils enable_resutils implib
18643 wine_fn_config_dll riched20 enable_riched20 clean
,implib
18644 wine_fn_config_test dlls
/riched20
/tests riched20_test
18645 wine_fn_config_dll riched32 enable_riched32
18646 wine_fn_config_test dlls
/riched32
/tests riched32_test
18647 wine_fn_config_dll rpcrt4 enable_rpcrt4 clean
,implib
18648 wine_fn_config_test dlls
/rpcrt
4/tests rpcrt4_test clean
18649 wine_fn_config_dll rsabase enable_rsabase
18650 wine_fn_config_dll rsaenh enable_rsaenh implib
18651 wine_fn_config_test dlls
/rsaenh
/tests rsaenh_test
18652 wine_fn_config_dll rstrtmgr enable_rstrtmgr
18653 wine_fn_config_dll rtutils enable_rtutils implib
18654 wine_fn_config_dll samlib enable_samlib
18655 wine_fn_config_dll sane.ds enable_sane_ds clean
18656 wine_fn_config_dll scarddlg enable_scarddlg
18657 wine_fn_config_dll sccbase enable_sccbase
18658 wine_fn_config_dll schannel enable_schannel
18659 wine_fn_config_test dlls
/schannel
/tests schannel_test
18660 wine_fn_config_dll schedsvc enable_schedsvc clean
18661 wine_fn_config_test dlls
/schedsvc
/tests schedsvc_test clean
18662 wine_fn_config_dll scrobj enable_scrobj clean
18663 wine_fn_config_dll scrrun enable_scrrun clean
18664 wine_fn_config_test dlls
/scrrun
/tests scrrun_test clean
18665 wine_fn_config_dll scsiport.sys enable_scsiport_sys
18666 wine_fn_config_dll secur32 enable_secur32 implib
18667 wine_fn_config_test dlls
/secur32
/tests secur32_test
18668 wine_fn_config_dll security enable_security
18669 wine_fn_config_dll sensapi enable_sensapi implib
18670 wine_fn_config_dll serialui enable_serialui clean
18671 wine_fn_config_test dlls
/serialui
/tests serialui_test
18672 wine_fn_config_dll setupapi enable_setupapi clean
,implib
18673 wine_fn_config_test dlls
/setupapi
/tests setupapi_test
18674 wine_fn_config_dll setupx.dll16 enable_win16
18675 wine_fn_config_dll sfc enable_sfc implib
18676 wine_fn_config_dll sfc_os enable_sfc_os implib
18677 wine_fn_config_dll shdoclc enable_shdoclc clean
18678 wine_fn_config_dll shdocvw enable_shdocvw clean
,implib
18679 wine_fn_config_test dlls
/shdocvw
/tests shdocvw_test
18680 wine_fn_config_dll shell.dll16 enable_win16
18681 wine_fn_config_dll shell32 enable_shell32 clean
,implib
18682 wine_fn_config_test dlls
/shell32
/tests shell32_test
18683 wine_fn_config_dll shfolder enable_shfolder implib
18684 wine_fn_config_dll shlwapi enable_shlwapi clean
,implib
18685 wine_fn_config_test dlls
/shlwapi
/tests shlwapi_test
18686 wine_fn_config_dll slbcsp enable_slbcsp
18687 wine_fn_config_dll slc enable_slc implib
18688 wine_fn_config_test dlls
/slc
/tests slc_test
18689 wine_fn_config_dll snmpapi enable_snmpapi implib
18690 wine_fn_config_test dlls
/snmpapi
/tests snmpapi_test
18691 wine_fn_config_dll softpub enable_softpub
18692 wine_fn_config_dll sound.drv16 enable_win16
18693 wine_fn_config_dll spoolss enable_spoolss implib
18694 wine_fn_config_test dlls
/spoolss
/tests spoolss_test
18695 wine_fn_config_dll sspicli enable_sspicli
18696 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb clean
18697 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb clean
18698 wine_fn_config_dll sti enable_sti clean
,implib
18699 wine_fn_config_test dlls
/sti
/tests sti_test
18700 wine_fn_config_dll storage.dll16 enable_win16
18701 wine_fn_config_dll stress.dll16 enable_win16
18702 wine_fn_config_lib strmbase
18703 wine_fn_config_lib strmiids
18704 wine_fn_config_dll svrapi enable_svrapi
18705 wine_fn_config_dll sxs enable_sxs implib
18706 wine_fn_config_test dlls
/sxs
/tests sxs_test
18707 wine_fn_config_dll system.drv16 enable_win16
18708 wine_fn_config_dll t2embed enable_t2embed implib
18709 wine_fn_config_test dlls
/t2embed
/tests t2embed_test
18710 wine_fn_config_dll tapi32 enable_tapi32 implib
18711 wine_fn_config_dll taskschd enable_taskschd clean
18712 wine_fn_config_test dlls
/taskschd
/tests taskschd_test
18713 wine_fn_config_dll tdh enable_tdh
18714 wine_fn_config_dll tdi.sys enable_tdi_sys
18715 wine_fn_config_dll toolhelp.dll16 enable_win16
18716 wine_fn_config_dll traffic enable_traffic
18717 wine_fn_config_dll twain.dll16 enable_win16
18718 wine_fn_config_dll twain_32 enable_twain_32
18719 wine_fn_config_test dlls
/twain_32
/tests twain_32_test
18720 wine_fn_config_dll typelib.dll16 enable_win16
18721 wine_fn_config_dll ucrtbase enable_ucrtbase implib
18722 wine_fn_config_test dlls
/ucrtbase
/tests ucrtbase_test
18723 wine_fn_config_dll uiautomationcore enable_uiautomationcore
18724 wine_fn_config_dll uiribbon enable_uiribbon clean
18725 wine_fn_config_dll unicows enable_unicows implib
18726 wine_fn_config_dll updspapi enable_updspapi
18727 wine_fn_config_dll url enable_url implib
18728 wine_fn_config_dll urlmon enable_urlmon clean
,implib
18729 wine_fn_config_test dlls
/urlmon
/tests urlmon_test
18730 wine_fn_config_dll usbd.sys enable_usbd_sys implib usbd
18731 wine_fn_config_dll user.exe16 enable_win16
18732 wine_fn_config_dll user32 enable_user32 clean
,implib
18733 wine_fn_config_test dlls
/user32
/tests user32_test
18734 wine_fn_config_dll userenv enable_userenv implib
18735 wine_fn_config_test dlls
/userenv
/tests userenv_test
18736 wine_fn_config_dll usp10 enable_usp10 implib
18737 wine_fn_config_test dlls
/usp10
/tests usp10_test
18738 wine_fn_config_lib uuid
18739 wine_fn_config_dll uxtheme enable_uxtheme implib
18740 wine_fn_config_test dlls
/uxtheme
/tests uxtheme_test
18741 wine_fn_config_dll vbscript enable_vbscript clean
18742 wine_fn_config_test dlls
/vbscript
/tests vbscript_test clean
18743 wine_fn_config_dll vcomp enable_vcomp
18744 wine_fn_config_test dlls
/vcomp
/tests vcomp_test
18745 wine_fn_config_dll vcomp100 enable_vcomp100
18746 wine_fn_config_dll vcomp110 enable_vcomp110
18747 wine_fn_config_dll vcomp120 enable_vcomp120
18748 wine_fn_config_dll vcomp140 enable_vcomp140
18749 wine_fn_config_dll vcomp90 enable_vcomp90
18750 wine_fn_config_dll vcruntime140 enable_vcruntime140
18751 wine_fn_config_dll vdhcp.vxd enable_win16
18752 wine_fn_config_dll vdmdbg enable_vdmdbg implib
18753 wine_fn_config_dll ver.dll16 enable_win16
18754 wine_fn_config_dll version enable_version implib
18755 wine_fn_config_test dlls
/version
/tests version_test
18756 wine_fn_config_dll virtdisk enable_virtdisk
18757 wine_fn_config_dll vmm.vxd enable_win16
18758 wine_fn_config_dll vnbt.vxd enable_win16
18759 wine_fn_config_dll vnetbios.vxd enable_win16
18760 wine_fn_config_dll vssapi enable_vssapi
18761 wine_fn_config_dll vtdapi.vxd enable_win16
18762 wine_fn_config_dll vwin32.vxd enable_win16
18763 wine_fn_config_dll w32skrnl enable_win16
18764 wine_fn_config_dll w32sys.dll16 enable_win16
18765 wine_fn_config_dll wbemdisp enable_wbemdisp clean
18766 wine_fn_config_test dlls
/wbemdisp
/tests wbemdisp_test
18767 wine_fn_config_dll wbemprox enable_wbemprox clean
18768 wine_fn_config_test dlls
/wbemprox
/tests wbemprox_test
18769 wine_fn_config_dll webservices enable_webservices implib
18770 wine_fn_config_test dlls
/webservices
/tests webservices_test
18771 wine_fn_config_dll wer enable_wer implib
18772 wine_fn_config_test dlls
/wer
/tests wer_test
18773 wine_fn_config_dll wevtapi enable_wevtapi
18774 wine_fn_config_dll wiaservc enable_wiaservc clean
18775 wine_fn_config_test dlls
/wiaservc
/tests wiaservc_test
18776 wine_fn_config_dll wimgapi enable_wimgapi
18777 wine_fn_config_dll win32s16.dll16 enable_win16
18778 wine_fn_config_dll win87em.dll16 enable_win16
18779 wine_fn_config_dll winaspi.dll16 enable_win16
18780 wine_fn_config_dll windebug.dll16 enable_win16
18781 wine_fn_config_dll windowscodecs enable_windowscodecs clean
,implib
18782 wine_fn_config_test dlls
/windowscodecs
/tests windowscodecs_test
18783 wine_fn_config_dll windowscodecsext enable_windowscodecsext implib
18784 wine_fn_config_test dlls
/windowscodecsext
/tests windowscodecsext_test
18785 wine_fn_config_dll winealsa.drv enable_winealsa_drv
18786 wine_fn_config_dll wineandroid.drv enable_wineandroid_drv clean
18787 wine_fn_config_dll winebus.sys enable_winebus_sys
18788 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
18789 wine_fn_config_lib winecrt0
18790 wine_fn_config_dll wined3d enable_wined3d implib
18791 wine_fn_config_dll winegstreamer enable_winegstreamer
18792 wine_fn_config_dll winehid.sys enable_winehid_sys
18793 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
18794 wine_fn_config_dll winemac.drv enable_winemac_drv clean
18795 wine_fn_config_dll winemapi enable_winemapi
18796 wine_fn_config_dll winemp3.acm enable_winemp3_acm
18797 wine_fn_config_dll wineoss.drv enable_wineoss_drv
18798 wine_fn_config_dll wineps.drv enable_wineps_drv clean
18799 wine_fn_config_dll wineps16.drv16 enable_win16
18800 wine_fn_config_dll winepulse.drv enable_winepulse_drv
18801 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
18802 wine_fn_config_dll winex11.drv enable_winex11_drv
18803 wine_fn_config_dll wing.dll16 enable_win16
18804 wine_fn_config_dll wing32 enable_wing32
18805 wine_fn_config_dll winhttp enable_winhttp clean
,implib
18806 wine_fn_config_test dlls
/winhttp
/tests winhttp_test
18807 wine_fn_config_dll wininet enable_wininet clean
,implib
18808 wine_fn_config_test dlls
/wininet
/tests wininet_test
18809 wine_fn_config_dll winmm enable_winmm clean
,implib
18810 wine_fn_config_test dlls
/winmm
/tests winmm_test
18811 wine_fn_config_dll winnls.dll16 enable_win16
18812 wine_fn_config_dll winnls32 enable_winnls32 implib
18813 wine_fn_config_dll winscard enable_winscard implib
18814 wine_fn_config_dll winsock.dll16 enable_win16
18815 wine_fn_config_dll winspool.drv enable_winspool_drv clean
,implib winspool
18816 wine_fn_config_test dlls
/winspool.drv
/tests winspool.drv_test
18817 wine_fn_config_dll winsta enable_winsta
18818 wine_fn_config_dll wintab.dll16 enable_win16
18819 wine_fn_config_dll wintab32 enable_wintab32 implib
18820 wine_fn_config_test dlls
/wintab32
/tests wintab32_test
18821 wine_fn_config_dll wintrust enable_wintrust implib
18822 wine_fn_config_test dlls
/wintrust
/tests wintrust_test
18823 wine_fn_config_dll winusb enable_winusb
18824 wine_fn_config_dll wlanapi enable_wlanapi implib
18825 wine_fn_config_test dlls
/wlanapi
/tests wlanapi_test
18826 wine_fn_config_dll wldap32 enable_wldap32 clean
,implib
18827 wine_fn_config_test dlls
/wldap32
/tests wldap32_test
18828 wine_fn_config_dll wmasf enable_wmasf
18829 wine_fn_config_dll wmi enable_wmi
18830 wine_fn_config_dll wmiutils enable_wmiutils clean
18831 wine_fn_config_test dlls
/wmiutils
/tests wmiutils_test
18832 wine_fn_config_dll wmp enable_wmp clean
18833 wine_fn_config_test dlls
/wmp
/tests wmp_test
18834 wine_fn_config_dll wmphoto enable_wmphoto clean
18835 wine_fn_config_dll wmvcore enable_wmvcore implib
18836 wine_fn_config_test dlls
/wmvcore
/tests wmvcore_test
18837 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
18838 wine_fn_config_dll wow32 enable_win16 implib
18839 wine_fn_config_dll wpc enable_wpc clean
18840 wine_fn_config_test dlls
/wpc
/tests wpc_test
18841 wine_fn_config_dll wpcap enable_wpcap
18842 wine_fn_config_dll ws2_32 enable_ws2_32 implib
18843 wine_fn_config_test dlls
/ws2_32
/tests ws2_32_test
18844 wine_fn_config_dll wsdapi enable_wsdapi implib
18845 wine_fn_config_test dlls
/wsdapi
/tests wsdapi_test
18846 wine_fn_config_dll wshom.ocx enable_wshom_ocx clean
18847 wine_fn_config_test dlls
/wshom.ocx
/tests wshom.ocx_test clean
18848 wine_fn_config_dll wsnmp32 enable_wsnmp32 implib
18849 wine_fn_config_test dlls
/wsnmp32
/tests wsnmp32_test
18850 wine_fn_config_dll wsock32 enable_wsock32 implib
18851 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
18852 wine_fn_config_test dlls
/wtsapi32
/tests wtsapi32_test
18853 wine_fn_config_dll wuapi enable_wuapi clean
18854 wine_fn_config_dll wuaueng enable_wuaueng
18855 wine_fn_config_dll x3daudio1_0 enable_x3daudio1_0
18856 wine_fn_config_dll x3daudio1_1 enable_x3daudio1_1
18857 wine_fn_config_dll x3daudio1_2 enable_x3daudio1_2
18858 wine_fn_config_dll x3daudio1_3 enable_x3daudio1_3
18859 wine_fn_config_dll x3daudio1_4 enable_x3daudio1_4
18860 wine_fn_config_dll x3daudio1_5 enable_x3daudio1_5
18861 wine_fn_config_dll x3daudio1_6 enable_x3daudio1_6
18862 wine_fn_config_dll x3daudio1_7 enable_x3daudio1_7
18863 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
18864 wine_fn_config_dll xapofx1_2 enable_xapofx1_2
18865 wine_fn_config_dll xapofx1_3 enable_xapofx1_3
18866 wine_fn_config_dll xapofx1_4 enable_xapofx1_4
18867 wine_fn_config_dll xapofx1_5 enable_xapofx1_5
18868 wine_fn_config_dll xaudio2_0 enable_xaudio2_0 clean
18869 wine_fn_config_dll xaudio2_1 enable_xaudio2_1 clean
18870 wine_fn_config_dll xaudio2_2 enable_xaudio2_2 clean
18871 wine_fn_config_dll xaudio2_3 enable_xaudio2_3 clean
18872 wine_fn_config_dll xaudio2_4 enable_xaudio2_4 clean
18873 wine_fn_config_dll xaudio2_5 enable_xaudio2_5 clean
18874 wine_fn_config_dll xaudio2_6 enable_xaudio2_6 clean
18875 wine_fn_config_dll xaudio2_7 enable_xaudio2_7 clean
18876 wine_fn_config_test dlls
/xaudio2_
7/tests xaudio2_7_test
18877 wine_fn_config_dll xaudio2_8 enable_xaudio2_8 clean
18878 wine_fn_config_dll xaudio2_9 enable_xaudio2_9 clean
18879 wine_fn_config_dll xinput1_1 enable_xinput1_1
18880 wine_fn_config_dll xinput1_2 enable_xinput1_2
18881 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
18882 wine_fn_config_test dlls
/xinput1_
3/tests xinput1_3_test
18883 wine_fn_config_dll xinput1_4 enable_xinput1_4
18884 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
18885 wine_fn_config_dll xmllite enable_xmllite implib
18886 wine_fn_config_test dlls
/xmllite
/tests xmllite_test
18887 wine_fn_config_dll xolehlp enable_xolehlp
18888 wine_fn_config_dll xpsprint enable_xpsprint
18889 wine_fn_config_dll xpssvcs enable_xpssvcs
18890 wine_fn_config_makefile fonts enable_fonts clean
,install-lib
18891 wine_fn_config_makefile include enable_include clean
,install-dev
18892 wine_fn_config_makefile libs
/port enable_libs_port
18893 wine_fn_config_makefile libs
/wine enable_libs_wine clean
,implib
,install-dev
,install-lib
18894 wine_fn_config_makefile libs
/wpp enable_libs_wpp
18895 wine_fn_config_makefile loader enable_loader clean
,install-lib
18896 wine_fn_config_makefile po enable_po clean
18897 wine_fn_config_program arp enable_arp
install
18898 wine_fn_config_program aspnet_regiis enable_aspnet_regiis
install
18899 wine_fn_config_program attrib enable_attrib clean
,install
18900 wine_fn_config_program cabarc enable_cabarc
install
18901 wine_fn_config_program cacls enable_cacls
install
18902 wine_fn_config_program
clock enable_clock clean
,install
18903 wine_fn_config_program cmd enable_cmd clean
,install
18904 wine_fn_config_test programs
/cmd
/tests cmd.exe_test
18905 wine_fn_config_program conhost enable_conhost
install
18906 wine_fn_config_program control enable_control
install
18907 wine_fn_config_program cscript enable_cscript clean
,install
18908 wine_fn_config_program dpnsvr enable_dpnsvr
install
18909 wine_fn_config_program dxdiag enable_dxdiag clean
,install
18910 wine_fn_config_program eject enable_eject
install
18911 wine_fn_config_program
expand enable_expand
install
18912 wine_fn_config_program explorer enable_explorer clean
,install
18913 wine_fn_config_program extrac32 enable_extrac32
install
18914 wine_fn_config_program findstr enable_findstr
install
18915 wine_fn_config_program fsutil enable_fsutil
install
18916 wine_fn_config_program hh enable_hh
install
18917 wine_fn_config_program hostname enable_hostname clean
,install
18918 wine_fn_config_program icacls enable_icacls
install
18919 wine_fn_config_program icinfo enable_icinfo
install
18920 wine_fn_config_program iexplore enable_iexplore
install
18921 wine_fn_config_program ipconfig enable_ipconfig clean
,install
18922 wine_fn_config_program lodctr enable_lodctr
install
18923 wine_fn_config_program mofcomp enable_mofcomp
install
18924 wine_fn_config_program mshta enable_mshta
install
18925 wine_fn_config_program msiexec enable_msiexec
install,installbin
,manpage
18926 wine_fn_config_program msinfo32 enable_msinfo32 clean
,install
18927 wine_fn_config_program net enable_net clean
,install
18928 wine_fn_config_program netsh enable_netsh
install
18929 wine_fn_config_program netstat enable_netstat clean
,install
18930 wine_fn_config_program ngen enable_ngen
install
18931 wine_fn_config_program notepad enable_notepad clean
,install,installbin
,manpage
18932 wine_fn_config_program oleview enable_oleview clean
,install
18933 wine_fn_config_program
ping enable_ping
install
18934 wine_fn_config_program plugplay enable_plugplay
install
18935 wine_fn_config_program powershell enable_powershell
install
18936 wine_fn_config_program presentationfontcache enable_presentationfontcache
install
18937 wine_fn_config_program progman enable_progman clean
,install
18938 wine_fn_config_program reg enable_reg clean
,install
18939 wine_fn_config_test programs
/reg
/tests reg.exe_test
18940 wine_fn_config_program regasm enable_regasm
install
18941 wine_fn_config_program regedit enable_regedit clean
,install,installbin
,manpage
18942 wine_fn_config_test programs
/regedit
/tests regedit.exe_test
18943 wine_fn_config_program regsvcs enable_regsvcs
install
18944 wine_fn_config_program regsvr32 enable_regsvr32 clean
,install,installbin
,manpage
18945 wine_fn_config_program rpcss enable_rpcss clean
,install
18946 wine_fn_config_program rundll.exe16 enable_win16
install
18947 wine_fn_config_program rundll32 enable_rundll32
install
18948 wine_fn_config_program sc enable_sc
install
18949 wine_fn_config_program schtasks enable_schtasks
install
18950 wine_fn_config_program sdbinst enable_sdbinst
install
18951 wine_fn_config_program secedit enable_secedit
install
18952 wine_fn_config_program servicemodelreg enable_servicemodelreg
install
18953 wine_fn_config_program services enable_services clean
,install
18954 wine_fn_config_test programs
/services
/tests services.exe_test
18955 wine_fn_config_program shutdown enable_shutdown
install
18956 wine_fn_config_program spoolsv enable_spoolsv
install
18957 wine_fn_config_program start enable_start clean
,install
18958 wine_fn_config_program subst enable_subst
install
18959 wine_fn_config_program svchost enable_svchost
install
18960 wine_fn_config_program systeminfo enable_systeminfo
install
18961 wine_fn_config_program taskkill enable_taskkill clean
,install
18962 wine_fn_config_program tasklist enable_tasklist
install
18963 wine_fn_config_program taskmgr enable_taskmgr clean
,install
18964 wine_fn_config_program termsv enable_termsv
install
18965 wine_fn_config_program uninstaller enable_uninstaller clean
,install
18966 wine_fn_config_program unlodctr enable_unlodctr
install
18967 wine_fn_config_program view enable_view clean
,install
18968 wine_fn_config_program wevtutil enable_wevtutil
install
18969 wine_fn_config_program wineboot enable_wineboot clean
,install,installbin
,manpage
18970 wine_fn_config_program winebrowser enable_winebrowser
install
18971 wine_fn_config_program winecfg enable_winecfg clean
,install,installbin
,manpage
18972 wine_fn_config_program wineconsole enable_wineconsole clean
,install,installbin
,manpage
18973 wine_fn_config_program winedbg enable_winedbg clean
,install,installbin
,manpage
18974 wine_fn_config_program winedevice enable_winedevice
install
18975 wine_fn_config_program winefile enable_winefile clean
,install,installbin
,manpage
18976 wine_fn_config_program winemenubuilder enable_winemenubuilder
install
18977 wine_fn_config_program winemine enable_winemine clean
,install,installbin
,manpage
18978 wine_fn_config_program winemsibuilder enable_winemsibuilder
install
18979 wine_fn_config_program winepath enable_winepath
install,installbin
,manpage
18980 wine_fn_config_program winetest enable_winetest clean
18981 wine_fn_config_program winevdm enable_win16
install
18982 wine_fn_config_program winhelp.exe16 enable_win16
install
18983 wine_fn_config_program winhlp32 enable_winhlp32 clean
,install
18984 wine_fn_config_program winoldap.mod16 enable_win16
install
18985 wine_fn_config_program winver enable_winver
install
18986 wine_fn_config_program wmic enable_wmic clean
,install
18987 wine_fn_config_program wmplayer enable_wmplayer
install
18988 wine_fn_config_program wordpad enable_wordpad clean
,install
18989 wine_fn_config_program
write enable_write clean
,install
18990 wine_fn_config_program wscript enable_wscript clean
,install
18991 wine_fn_config_test programs
/wscript
/tests wscript.exe_test
18992 wine_fn_config_program wusa enable_wusa
install
18993 wine_fn_config_program xcopy enable_xcopy clean
,install
18994 wine_fn_config_test programs
/xcopy
/tests xcopy.exe_test
18995 wine_fn_config_makefile server enable_server clean
,install-lib
18996 wine_fn_config_tool tools clean
18997 wine_fn_config_tool tools
/sfnt2fon clean
18998 wine_fn_config_tool tools
/widl clean
,install-dev
18999 wine_fn_config_tool tools
/winebuild clean
,install-dev
19000 wine_fn_config_tool tools
/winedump clean
,install-dev
19001 wine_fn_config_tool tools
/winegcc clean
,install-dev
19002 wine_fn_config_tool tools
/winemaker clean
,install-dev
19003 wine_fn_config_tool tools
/wmc clean
,install-dev
19004 wine_fn_config_tool tools
/wrc clean
,install-dev
19007 wine_fn_append_file CONFIGURE_TARGETS
"TAGS"
19008 wine_fn_append_file CONFIGURE_TARGETS
"tags"
19009 wine_fn_append_file CONFIGURE_TARGETS
"autom4te.cache"
19010 wine_fn_append_file CONFIGURE_TARGETS
"config.log"
19011 wine_fn_append_file CONFIGURE_TARGETS
"config.status"
19012 wine_fn_append_file CONFIGURE_TARGETS
"include/config.h"
19013 wine_fn_append_file CONFIGURE_TARGETS
"include/stamp-h"
19014 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS
"loader/wine"
19016 if test "x$enable_tools" != xno
19018 wine_fn_append_file CONFIGURE_TARGETS
"tools/makedep$ac_exeext"
19019 ac_config_commands
="$ac_config_commands tools/makedep"
19023 ac_config_commands
="$ac_config_commands Makefile"
19026 ac_config_files
="$ac_config_files Make.tmp:Makefile.in"
19030 if test "x$enable_maintainer_mode" = xyes
19032 wine_fn_append_rule
"configure: configure.ac aclocal.m4
19033 autoconf --warnings=all
19034 include/config.h.in: include/stamp-h.in
19035 include/stamp-h.in: configure.ac aclocal.m4
19036 autoheader --warnings=all
19037 @echo timestamp > \$@"
19040 if test "x$enable_tools" != xno
19042 wine_fn_append_rule
"tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
19043 @./config.status tools/makedep
19044 Makefile: tools/makedep$ac_exeext"
19046 wine_fn_append_rule
"\$(MAKEDEP):
19047 @echo \"You need to run make in $TOOLSDIR first\" && false"
19050 if test -n "$with_wine64"
19052 wine_fn_append_rule
"all: fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader
19054 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
19055 $with_wine64/loader/wine:
19056 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
19057 $with_wine64/loader/wine-preloader:
19058 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
19060 \$(RM) fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
19062 WINELOADER_INSTALL
="wine.inf"
19064 wine_fn_append_rule
"install install-lib::
19065 \$(INSTALL_DATA) $srcdir/loader/l_intl.nls \$(DESTDIR)\$(datadir)/wine/l_intl.nls
19067 \$(RM) \$(DESTDIR)\$(datadir)/wine/l_intl.nls"
19069 cygwin
*|mingw32
*|darwin
*|macosx
*|linux-android
*) ;;
19070 *) wine_fn_append_rule
"install install-lib::
19071 \$(INSTALL_DATA) $srcdir/loader/wine.desktop \$(DESTDIR)\$(datadir)/applications/wine.desktop
19073 \$(RM) \$(DESTDIR)\$(datadir)/applications/wine.desktop" ;;
19077 $as_echo " done" >&6
19078 cat >confcache
<<\_ACEOF
19079 # This file is a shell script that caches the results of configure
19080 # tests run on this system so they can be shared between configure
19081 # scripts and configure runs, see configure's option --config-cache.
19082 # It is not useful on other systems. If it contains results you don't
19083 # want to keep, you may remove or edit it.
19085 # config.status only pays attention to the cache file if you give it
19086 # the --recheck option to rerun configure.
19088 # `ac_cv_env_foo' variables (set or unset) will be overridden when
19089 # loading this file, other *unset* `ac_cv_foo' will be assigned the
19090 # following values.
19094 # The following way of writing the cache mishandles newlines in values,
19095 # but we know of no workaround that is simple, portable, and efficient.
19096 # So, we kill variables containing newlines.
19097 # Ultrix sh set writes to stderr and can't be redirected directly,
19098 # and sets the high bit in the cache file unless we assign to the vars.
19100 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
19101 eval ac_val
=\$
$ac_var
19105 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
19106 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
19109 _ | IFS | as_nl
) ;; #(
19110 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
19111 *) { eval $ac_var=; unset $ac_var;} ;;
19117 case $as_nl`(ac_space=' '; set) 2>&1` in #(
19118 *${as_nl}ac_space
=\
*)
19119 # `set' does not quote correctly, so add quotes: double-quote
19120 # substitution turns \\\\ into \\, and sed turns \\ into \.
19123 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
19126 # `set' quotes correctly as required by POSIX, so do not add quotes.
19127 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
19136 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
19138 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
19140 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
19141 if test -w "$cache_file"; then
19142 if test "x$cache_file" != "x/dev/null"; then
19143 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
19144 $as_echo "$as_me: updating cache $cache_file" >&6;}
19145 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
19146 cat confcache
>"$cache_file"
19148 case $cache_file in #(
19150 mv -f confcache
"$cache_file"$$
&&
19151 mv -f "$cache_file"$$
"$cache_file" ;; #(
19153 mv -f confcache
"$cache_file" ;;
19158 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
19159 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
19164 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
19165 # Let make expand exec_prefix.
19166 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
19168 DEFS
=-DHAVE_CONFIG_H
19173 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
19174 # 1. Remove the extension, and $U if already installed.
19175 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
19176 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
19177 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
19178 # will be set to the directory where LIBOBJS objects are built.
19179 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
19180 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
19182 LIBOBJS
=$ac_libobjs
19184 LTLIBOBJS
=$ac_ltlibobjs
19188 : "${CONFIG_STATUS=./config.status}"
19190 ac_clean_files_save
=$ac_clean_files
19191 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
19192 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
19193 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
19195 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
19197 # Generated by $as_me.
19198 # Run this file to recreate the current configuration.
19199 # Compiler output produced by configure, useful for debugging
19200 # configure, is in config.log if it exists.
19203 ac_cs_recheck=false
19206 SHELL=\${CONFIG_SHELL-$SHELL}
19209 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
19210 ## -------------------- ##
19211 ## M4sh Initialization. ##
19212 ## -------------------- ##
19214 # Be more Bourne compatible
19215 DUALCASE
=1; export DUALCASE
# for MKS sh
19216 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
19219 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
19220 # is contrary to our usage. Disable this feature.
19221 alias -g '${1+"$@"}'='"$@"'
19222 setopt NO_GLOB_SUBST
19224 case `(set -o) 2>/dev/null` in #(
19236 # Printing a long string crashes Solaris 7 /usr/bin/printf.
19237 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
19238 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
19239 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
19240 # Prefer a ksh shell builtin over an external printf program on Solaris,
19241 # but without wasting forks for bash or zsh.
19242 if test -z "$BASH_VERSION$ZSH_VERSION" \
19243 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
19244 as_echo='print
-r --'
19245 as_echo_n='print
-rn --'
19246 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
19247 as_echo='printf %s
\n'
19248 as_echo_n='printf %s
'
19250 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
19251 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
19252 as_echo_n='/usr
/ucb
/echo -n'
19254 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
19255 as_echo_n_body='eval
19259 expr "X$arg" : "X\\(.*\\)$as_nl";
19260 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
19262 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
19264 export as_echo_n_body
19265 as_echo_n='sh
-c $as_echo_n_body as_echo
'
19267 export as_echo_body
19268 as_echo='sh
-c $as_echo_body as_echo
'
19271 # The user is always right.
19272 if test "${PATH_SEPARATOR+set}" != set; then
19274 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
19275 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
19282 # We need space, tab and new line, in precisely that order. Quoting is
19283 # there to prevent editors from complaining about space-tab.
19284 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
19285 # splitting by setting IFS to empty value.)
19288 # Find who we are. Look in the path if we contain no directory separator.
19291 *[\\/]* ) as_myself=$0 ;;
19292 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19293 for as_dir in $PATH
19296 test -z "$as_dir" && as_dir=.
19297 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
19303 # We did not find ourselves, most probably we were run as `sh COMMAND'
19304 # in which case we are not to be found in the path.
19305 if test "x$as_myself" = x
; then
19308 if test ! -f "$as_myself"; then
19309 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
19313 # Unset variables that we do not need and which cause bugs (e.g. in
19314 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
19315 # suppresses any "Segmentation fault" message there. '((' could
19316 # trigger a bug in pdksh 5.2.14.
19317 for as_var
in BASH_ENV ENV MAIL MAILPATH
19318 do eval test x\
${$as_var+set} = xset \
19319 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
19332 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
19335 # as_fn_error STATUS ERROR [LINENO LOG_FD]
19336 # ----------------------------------------
19337 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
19338 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
19339 # script with STATUS, using 1 if that was 0.
19342 as_status
=$1; test $as_status -eq 0 && as_status
=1
19344 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
19345 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
19347 $as_echo "$as_me: error: $2" >&2
19348 as_fn_exit
$as_status
19352 # as_fn_set_status STATUS
19353 # -----------------------
19354 # Set $? to STATUS, without forking.
19355 as_fn_set_status
()
19358 } # as_fn_set_status
19360 # as_fn_exit STATUS
19361 # -----------------
19362 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
19366 as_fn_set_status
$1
19372 # Portably unset VAR.
19375 { eval $1=; unset $1;}
19377 as_unset
=as_fn_unset
19378 # as_fn_append VAR VALUE
19379 # ----------------------
19380 # Append the text in VALUE to the end of the definition contained in VAR. Take
19381 # advantage of any shell optimizations that allow amortized linear growth over
19382 # repeated appends, instead of the typical quadratic growth present in naive
19384 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
19385 eval 'as_fn_append ()
19396 # as_fn_arith ARG...
19397 # ------------------
19398 # Perform arithmetic evaluation on the ARGs, and store the result in the
19399 # global $as_val. Take advantage of shells that can avoid forks. The arguments
19400 # must be portable across $(()) and expr.
19401 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
19402 eval 'as_fn_arith ()
19409 as_val
=`expr "$@" || test $? -eq 1`
19414 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
19415 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
19421 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
19422 as_basename
=basename
19427 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
19433 as_me
=`$as_basename -- "$0" ||
19434 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
19435 X"$0" : 'X\(//\)$' \| \
19436 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
19438 sed '/^.*\/\([^/][^/]*\)\/*$/{
19452 # Avoid depending upon Character Ranges.
19453 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
19454 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
19455 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
19456 as_cr_digits
='0123456789'
19457 as_cr_alnum
=$as_cr_Letters$as_cr_digits
19459 ECHO_C
= ECHO_N
= ECHO_T
=
19460 case `echo -n x` in #(((((
19462 case `echo 'xy\c'` in
19463 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
19465 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
19472 rm -f conf$$ conf$$.exe conf$$.
file
19473 if test -d conf$$.dir
; then
19474 rm -f conf$$.dir
/conf$$.
file
19477 mkdir conf$$.dir
2>/dev
/null
19479 if (echo >conf$$.
file) 2>/dev
/null
; then
19480 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
19482 # ... but there are two gotchas:
19483 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
19484 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
19485 # In both cases, we have to default to `cp -pR'.
19486 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
19488 elif ln conf$$.
file conf$$
2>/dev
/null
; then
19496 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
19497 rmdir conf$$.dir
2>/dev
/null
19502 # Create "$as_dir" as a directory, including parents if necessary.
19507 -*) as_dir
=.
/$as_dir;;
19509 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
19513 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
19514 *) as_qdir
=$as_dir;;
19516 as_dirs
="'$as_qdir' $as_dirs"
19517 as_dir
=`$as_dirname -- "$as_dir" ||
19518 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19519 X"$as_dir" : 'X\(//\)[^/]' \| \
19520 X"$as_dir" : 'X\(//\)$' \| \
19521 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
19522 $as_echo X"$as_dir" |
19523 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19527 /^X\(\/\/\)[^/].*/{
19540 test -d "$as_dir" && break
19542 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
19543 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
19547 if mkdir
-p .
2>/dev
/null
; then
19548 as_mkdir_p
='mkdir -p "$as_dir"'
19550 test -d .
/-p && rmdir .
/-p
19555 # as_fn_executable_p FILE
19556 # -----------------------
19557 # Test if FILE is an executable regular file.
19558 as_fn_executable_p
()
19560 test -f "$1" && test -x "$1"
19561 } # as_fn_executable_p
19562 as_test_x
='test -x'
19563 as_executable_p
=as_fn_executable_p
19565 # Sed expression to map a string onto a valid CPP name.
19566 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
19568 # Sed expression to map a string onto a valid variable name.
19569 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
19573 ## ----------------------------------- ##
19574 ## Main body of $CONFIG_STATUS script. ##
19575 ## ----------------------------------- ##
19577 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
19579 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19580 # Save the log message, to keep $0 and so on meaningful, and to
19581 # report actual input values of CONFIG_FILES etc. instead of their
19582 # values after options handling.
19584 This file was extended by Wine $as_me 2.15, which was
19585 generated by GNU Autoconf 2.69. Invocation command line was
19587 CONFIG_FILES = $CONFIG_FILES
19588 CONFIG_HEADERS = $CONFIG_HEADERS
19589 CONFIG_LINKS = $CONFIG_LINKS
19590 CONFIG_COMMANDS = $CONFIG_COMMANDS
19593 on `(hostname || uname -n) 2>/dev/null | sed 1q`
19598 case $ac_config_files in *"
19599 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
19602 case $ac_config_headers in *"
19603 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
19607 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19608 # Files that config.status was made for.
19609 config_files="$ac_config_files"
19610 config_headers="$ac_config_headers"
19611 config_links="$ac_config_links"
19612 config_commands="$ac_config_commands"
19616 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19618 \`$as_me' instantiates files and other configuration actions
19619 from templates according to the current configuration. Unless the files
19620 and actions are specified as TAGs, all are instantiated by default.
19622 Usage: $0 [OPTION]... [TAG]...
19624 -h, --help print this help, then exit
19625 -V, --version print version number and configuration settings, then exit
19626 --config print configuration, then exit
19627 -q, --quiet, --silent
19628 do not print progress messages
19629 -d, --debug don't remove temporary files
19630 --recheck update $as_me by reconfiguring in the same conditions
19631 --file=FILE[:TEMPLATE]
19632 instantiate the configuration file FILE
19633 --header=FILE[:TEMPLATE]
19634 instantiate the configuration header FILE
19636 Configuration files:
19639 Configuration headers:
19642 Configuration links:
19645 Configuration commands:
19648 Report bugs to <wine-devel@winehq.org>.
19649 Wine home page: <http://www.winehq.org>."
19652 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19653 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
19655 Wine config.status 2.15
19656 configured by $0, generated by GNU Autoconf 2.69,
19657 with options \\"\$ac_cs_config\\"
19659 Copyright (C) 2012 Free Software Foundation, Inc.
19660 This config.status script is free software; the Free Software Foundation
19661 gives unlimited permission to copy, distribute and modify it."
19665 test -n "\$AWK" || AWK=awk
19668 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19669 # The default lists apply if the user does not specify any file.
19675 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
19676 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
19680 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
19692 # Handling of the options.
19693 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
19695 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
19696 $as_echo "$ac_cs_version"; exit ;;
19697 --config |
--confi |
--conf |
--con |
--co |
--c )
19698 $as_echo "$ac_cs_config"; exit ;;
19699 --debug |
--debu |
--deb |
--de |
--d |
-d )
19701 --file |
--fil |
--fi |
--f )
19704 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
19705 '') as_fn_error $?
"missing file argument" ;;
19707 as_fn_append CONFIG_FILES
" '$ac_optarg'"
19708 ac_need_defaults
=false
;;
19709 --header |
--heade |
--head |
--hea )
19712 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
19714 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
19715 ac_need_defaults
=false
;;
19717 # Conflict between --help and --header
19718 as_fn_error $?
"ambiguous option: \`$1'
19719 Try \`$0 --help' for more information.";;
19720 --help |
--hel |
-h )
19721 $as_echo "$ac_cs_usage"; exit ;;
19722 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
19723 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
19726 # This is an error.
19727 -*) as_fn_error $?
"unrecognized option: \`$1'
19728 Try \`$0 --help' for more information." ;;
19730 *) as_fn_append ac_config_targets
" $1"
19731 ac_need_defaults
=false
;;
19737 ac_configure_extra_args
=
19739 if $ac_cs_silent; then
19741 ac_configure_extra_args
="$ac_configure_extra_args --silent"
19745 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19746 if \$ac_cs_recheck; then
19747 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
19749 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
19750 CONFIG_SHELL='$SHELL'
19751 export CONFIG_SHELL
19756 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19760 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
19761 ## Running $as_me. ##
19767 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19771 wine_fn_output_makedep ()
19773 as_dir=tools; as_fn_mkdir_p
19774 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
19776 wine_fn_output_makefile ()
19778 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" && return
19779 `cat $wine_rules_file`
19781 as_fn_error $? "could not create Makefile" "$LINENO" 5
19786 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19788 # Handling of arguments.
19789 for ac_config_target
in $ac_config_targets
19791 case $ac_config_target in
19792 "include/config.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/config.h" ;;
19793 "include/stamp-h") CONFIG_COMMANDS
="$CONFIG_COMMANDS include/stamp-h" ;;
19794 "fonts/marlett.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
19795 "fonts/symbol.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
19796 "fonts/tahoma.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
19797 "fonts/tahomabd.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
19798 "fonts/wingding.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/wingding.ttf:fonts/wingding.ttf" ;;
19799 "loader/l_intl.nls") CONFIG_LINKS
="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
19800 "wine") CONFIG_LINKS
="$CONFIG_LINKS wine:tools/winewrapper" ;;
19801 "wine64") CONFIG_LINKS
="$CONFIG_LINKS wine64:tools/winewrapper" ;;
19802 "tools/makedep") CONFIG_COMMANDS
="$CONFIG_COMMANDS tools/makedep" ;;
19803 "Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS Makefile" ;;
19804 "Make.tmp") CONFIG_FILES
="$CONFIG_FILES Make.tmp:Makefile.in" ;;
19806 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
19811 # If the user did not use the arguments to specify the items to instantiate,
19812 # then the envvar interface is used. Set only those that are not.
19813 # We use the long form for the default assignment because of an extremely
19814 # bizarre bug on SunOS 4.1.3.
19815 if $ac_need_defaults; then
19816 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
19817 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
19818 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS
=$config_links
19819 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
19822 # Have a temporary directory for convenience. Make it in the build tree
19823 # simply because there is no reason against having it here, and in addition,
19824 # creating and moving files from /tmp can sometimes cause problems.
19825 # Hook for its removal unless debugging.
19826 # Note that there is a small window in which the directory will not be cleaned:
19827 # after its creation but before its name has been assigned to `$tmp'.
19831 trap 'exit_status=$?
19832 : "${ac_tmp:=$tmp}"
19833 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
19835 trap 'as_fn_exit 1' 1 2 13 15
19837 # Create a (secure) tmp directory for tmp files.
19840 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
19844 tmp
=.
/conf$$
-$RANDOM
19845 (umask 077 && mkdir
"$tmp")
19846 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
19849 # Set up the scripts for CONFIG_FILES section.
19850 # No need to generate them if there are no CONFIG_FILES.
19851 # This happens for instance with `./config.status config.h'.
19852 if test -n "$CONFIG_FILES"; then
19855 ac_cr
=`echo X | tr X '\015'`
19856 # On cygwin, bash can eat \r inside `` if the user requested igncr.
19857 # But we know of no other shell where ac_cr would be empty at this
19858 # point, so we can use a bashism as a fallback.
19859 if test "x$ac_cr" = x
; then
19860 eval ac_cr
=\$
\'\\r
\'
19862 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
19863 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
19866 ac_cs_awk_cr
=$ac_cr
19869 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
19874 echo "cat >conf$$subs.awk <<_ACEOF" &&
19875 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
19877 } >conf$$subs.sh ||
19878 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
19879 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
19881 for ac_last_try in false false false false false :; do
19882 . ./conf$$subs.sh ||
19883 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
19885 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
19886 if test $ac_delim_n = $ac_delim_num; then
19888 elif $ac_last_try; then
19889 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
19891 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
19894 rm -f conf$$subs.sh
19896 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19897 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
19901 s/^/S["/; s
/!.
*/"]=/
19911 s/\(.\{148\}\)..*/\1/
19913 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
19918 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
19925 s/\(.\{148\}\)..*/\1/
19927 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
19931 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
19936 ' <conf$$subs.awk | sed '
19941 ' >>$CONFIG_STATUS || ac_write_fail=1
19942 rm -f conf$$subs.awk
19943 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19945 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
19946 for (key in S) S_is_set[key] = 1
19952 nfields = split(line, field, "@
")
19954 len = length(field[1])
19955 for (i = 2; i < nfields; i++) {
19957 keylen = length(key)
19958 if (S_is_set[key]) {
19960 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
19961 len += length(value) + length(field[++i])
19972 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19973 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
19974 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
19977 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
19978 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
19981 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
19982 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
19983 # trailing colons and then remove the whole line if VPATH becomes empty
19984 # (actually we leave an empty line to preserve line numbers).
19985 if test "x
$srcdir" = x.; then
19986 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
20004 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20005 fi # test -n "$CONFIG_FILES"
20007 # Set up the scripts for CONFIG_HEADERS section.
20008 # No need to generate them if there are no CONFIG_HEADERS.
20009 # This happens for instance with `./config.status Makefile'.
20010 if test -n "$CONFIG_HEADERS"; then
20011 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
20015 # Transform confdefs.h into an awk script `defines.awk', embedded as
20016 # here-document in config.status, that substitutes the proper values into
20017 # config.h.in to produce config.h.
20019 # Create a delimiter string that does not exist in confdefs.h, to ease
20020 # handling of long lines.
20022 for ac_last_try in false false :; do
20023 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
20024 if test -z "$ac_tt"; then
20026 elif $ac_last_try; then
20027 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
20029 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
20033 # For the awk script, D is an array of macro values keyed by name,
20034 # likewise P contains macro parameters if any. Preserve backslash
20035 # newline sequences.
20037 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
20039 s/.\{148\}/&'"$ac_delim"'/g
20042 s/^[ ]*#[ ]*define[ ][ ]*/ /
20049 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
20051 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
20055 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
20056 D["\
1"]=" \
3\\\\\\n
"\\/p
20058 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
20063 s/.\{148\}/&'"$ac_delim"'/g
20068 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
20071 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
20073 ' <confdefs.h | sed '
20074 s/'"$ac_delim"'/"\\\
20075 "/g' >>$CONFIG_STATUS || ac_write_fail=1
20077 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20078 for (key in D) D_is_set[key] = 1
20081 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
20083 split(line, arg, " ")
20084 if (arg[1] == "#") {
20088 defundef
= substr
(arg
[1], 2)
20091 split(mac1
, mac2
, "(") #)
20093 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
20094 if (D_is_set
[macro
]) {
20095 # Preserve the white space surrounding the "#".
20096 print prefix
"define", macro P
[macro
] D
[macro
]
20099 # Replace #undef with comments. This is necessary, for example,
20100 # in the case of _POSIX_SOURCE, which is predefined and required
20101 # on some systems where configure will not decide to define it.
20102 if (defundef
== "undef") {
20103 print
"/*", prefix defundef
, macro
, "*/"
20111 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
20112 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
20113 fi # test -n "$CONFIG_HEADERS"
20116 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
20121 :[FHLC
]) ac_mode
=$ac_tag; continue;;
20123 case $ac_mode$ac_tag in
20125 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
20126 :[FH
]-) ac_tag
=-:-;;
20127 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
20144 -) ac_f
="$ac_tmp/stdin";;
20145 *) # Look for the file first in the build tree, then in the source tree
20146 # (if the path is not absolute). The absolute path cannot be DOS-style,
20147 # because $ac_f cannot contain `:'.
20151 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
20153 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
20155 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
20156 as_fn_append ac_file_inputs
" '$ac_f'"
20159 # Let's still pretend it is `configure' which instantiates (i.e., don't
20160 # use $as_me), people would be surprised to read:
20161 # /* config.h. Generated by config.status. */
20162 configure_input
='Generated from '`
20163 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
20165 if test x
"$ac_file" != x-
; then
20166 configure_input
="$ac_file. $configure_input"
20167 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
20168 $as_echo "$as_me: creating $ac_file" >&6;}
20170 # Neutralize special characters interpreted by sed in replacement strings.
20171 case $configure_input in #(
20172 *\
&* |
*\|
* |
*\\* )
20173 ac_sed_conf_input
=`$as_echo "$configure_input" |
20174 sed 's/[\\\\&|]/\\\\&/g'`;; #(
20175 *) ac_sed_conf_input
=$configure_input;;
20179 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
20180 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
20185 ac_dir
=`$as_dirname -- "$ac_file" ||
20186 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20187 X"$ac_file" : 'X\(//\)[^/]' \| \
20188 X"$ac_file" : 'X\(//\)$' \| \
20189 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
20190 $as_echo X"$ac_file" |
20191 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20195 /^X\(\/\/\)[^/].*/{
20208 as_dir
="$ac_dir"; as_fn_mkdir_p
20212 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
20214 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
20215 # A ".." for each directory in $ac_dir_suffix.
20216 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
20217 case $ac_top_builddir_sub in
20218 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
20219 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
20222 ac_abs_top_builddir
=$ac_pwd
20223 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
20224 # for backward compatibility:
20225 ac_top_builddir
=$ac_top_build_prefix
20228 .
) # We are building in place.
20230 ac_top_srcdir
=$ac_top_builddir_sub
20231 ac_abs_top_srcdir
=$ac_pwd ;;
20232 [\\/]* | ?
:[\\/]* ) # Absolute name.
20233 ac_srcdir
=$srcdir$ac_dir_suffix;
20234 ac_top_srcdir
=$srcdir
20235 ac_abs_top_srcdir
=$srcdir ;;
20236 *) # Relative name.
20237 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
20238 ac_top_srcdir
=$ac_top_build_prefix$srcdir
20239 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
20241 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
20252 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
20253 # If the template does not know about datarootdir, expand it.
20254 # FIXME: This hack should be removed a few years after 2.60.
20255 ac_datarootdir_hack
=; ac_datarootdir_seen
=
20266 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
20267 *datarootdir
*) ac_datarootdir_seen
=yes;;
20268 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
20269 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
20270 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
20272 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20273 ac_datarootdir_hack='
20274 s&@datadir@&$datadir&g
20275 s&@docdir@&$docdir&g
20276 s&@infodir@&$infodir&g
20277 s&@localedir@&$localedir&g
20278 s&@mandir@&$mandir&g
20279 s&\\\${datarootdir}&$datarootdir&g' ;;
20283 # Neutralize VPATH when `$srcdir' = `.'.
20284 # Shell code in configure.ac might set extrasub.
20285 # FIXME: do we really want to maintain this feature?
20286 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20287 ac_sed_extra="$ac_vpsub
20290 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
20292 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
20293 s|@configure_input@|
$ac_sed_conf_input|
;t t
20294 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
20295 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
20296 s
&@srcdir@
&$ac_srcdir&;t t
20297 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
20298 s
&@top_srcdir@
&$ac_top_srcdir&;t t
20299 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
20300 s
&@builddir@
&$ac_builddir&;t t
20301 s
&@abs_builddir@
&$ac_abs_builddir&;t t
20302 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
20303 $ac_datarootdir_hack
20305 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
20306 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
20308 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
20309 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
20310 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
20311 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
20312 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
20313 which seems to be undefined. Please make sure it is defined" >&5
20314 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
20315 which seems to be undefined. Please make sure it is defined" >&2;}
20317 rm -f "$ac_tmp/stdin"
20319 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
20320 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
20322 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20328 if test x"$ac_file" != x-; then
20330 $as_echo "/* $configure_input */" \
20331 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
20332 } >"$ac_tmp/config.h" \
20333 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20334 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
20335 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
20336 $as_echo "$as_me: $ac_file is unchanged" >&6;}
20339 mv "$ac_tmp/config.h" "$ac_file" \
20340 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20343 $as_echo "/* $configure_input */" \
20344 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
20345 || as_fn_error $? "could not create -" "$LINENO" 5
20353 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.
'; then
20356 # Prefer the file from the source tree if names are identical.
20357 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
20358 ac_source=$srcdir/$ac_source
20361 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
20362 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
20364 if test ! -r "$ac_source"; then
20365 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
20369 # Try a relative symlink, then a hard link, then a copy.
20371 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
20372 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
20374 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
20375 ln "$ac_source" "$ac_file" 2>/dev/null ||
20376 cp -p "$ac_source" "$ac_file" ||
20377 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
20380 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
20381 $as_echo "$as_me: executing $ac_file commands" >&6;}
20386 case $ac_file$ac_mode in
20387 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
20388 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
20389 "Makefile":C) wine_fn_output_makefile Makefile ;;
20397 ac_clean_files=$ac_clean_files_save
20399 test $ac_write_fail = 0 ||
20400 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
20403 # configure is writing to config.log, and then calls config.status.
20404 # config.status does its own redirection, appending to config.log.
20405 # Unfortunately, on DOS this fails, as config.log is still kept open
20406 # by configure, so config.status won't be able to
write to it
; its
20407 # output is simply discarded. So we exec the FD to /dev/null,
20408 # effectively closing config.log, so it can be properly (re)opened and
20409 # appended to by config.status. When coming back to configure, we
20410 # need to make the FD available again.
20411 if test "$no_create" != yes; then
20413 ac_config_status_args
=
20414 test "$silent" = yes &&
20415 ac_config_status_args
="$ac_config_status_args --quiet"
20417 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
20419 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
20420 # would make configure fail if this is the last instruction.
20421 $ac_cs_success || as_fn_exit
1
20423 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
20424 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
20425 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
20429 if test "$no_create" = "yes"
20435 if test "x$wine_notices" != x
; then
20438 for msg
in $wine_notices; do
20440 if ${msg:+false} :; then :
20443 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
20444 $as_echo "$as_me: $msg" >&6;}
20449 for msg
in $wine_warnings; do
20451 if ${msg:+false} :; then :
20455 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
20456 $as_echo "$as_me: WARNING: $msg" >&2;}
20462 $as_me: Finished. Do '${ac_make}' to compile Wine.