2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 1.8.
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
='1.8'
584 PACKAGE_STRING
='Wine 1.8'
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
703 APPLICATIONSERVICES_LIBS
795 program_transform_name
808 enable_option_checking
812 enable_maintainer_mode
870 enable_api_ms_win_core_com_l1_1_0
871 enable_api_ms_win_core_console_l1_1_0
872 enable_api_ms_win_core_datetime_l1_1_0
873 enable_api_ms_win_core_datetime_l1_1_1
874 enable_api_ms_win_core_debug_l1_1_0
875 enable_api_ms_win_core_debug_l1_1_1
876 enable_api_ms_win_core_errorhandling_l1_1_0
877 enable_api_ms_win_core_errorhandling_l1_1_1
878 enable_api_ms_win_core_errorhandling_l1_1_2
879 enable_api_ms_win_core_fibers_l1_1_0
880 enable_api_ms_win_core_fibers_l1_1_1
881 enable_api_ms_win_core_file_l1_1_0
882 enable_api_ms_win_core_file_l1_2_0
883 enable_api_ms_win_core_file_l2_1_0
884 enable_api_ms_win_core_file_l2_1_1
885 enable_api_ms_win_core_handle_l1_1_0
886 enable_api_ms_win_core_heap_l1_1_0
887 enable_api_ms_win_core_heap_l1_2_0
888 enable_api_ms_win_core_heap_obsolete_l1_1_0
889 enable_api_ms_win_core_interlocked_l1_1_0
890 enable_api_ms_win_core_interlocked_l1_2_0
891 enable_api_ms_win_core_io_l1_1_1
892 enable_api_ms_win_core_kernel32_legacy_l1_1_0
893 enable_api_ms_win_core_libraryloader_l1_1_0
894 enable_api_ms_win_core_libraryloader_l1_1_1
895 enable_api_ms_win_core_localization_l1_2_0
896 enable_api_ms_win_core_localization_l1_2_1
897 enable_api_ms_win_core_localization_obsolete_l1_1_0
898 enable_api_ms_win_core_localregistry_l1_1_0
899 enable_api_ms_win_core_memory_l1_1_0
900 enable_api_ms_win_core_memory_l1_1_1
901 enable_api_ms_win_core_misc_l1_1_0
902 enable_api_ms_win_core_namedpipe_l1_1_0
903 enable_api_ms_win_core_namedpipe_l1_2_0
904 enable_api_ms_win_core_path_l1_1_0
905 enable_api_ms_win_core_processenvironment_l1_1_0
906 enable_api_ms_win_core_processenvironment_l1_2_0
907 enable_api_ms_win_core_processthreads_l1_1_0
908 enable_api_ms_win_core_processthreads_l1_1_1
909 enable_api_ms_win_core_processthreads_l1_1_2
910 enable_api_ms_win_core_profile_l1_1_0
911 enable_api_ms_win_core_psapi_l1_1_0
912 enable_api_ms_win_core_registry_l1_1_0
913 enable_api_ms_win_core_rtlsupport_l1_1_0
914 enable_api_ms_win_core_rtlsupport_l1_2_0
915 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
916 enable_api_ms_win_core_string_l1_1_0
917 enable_api_ms_win_core_synch_l1_1_0
918 enable_api_ms_win_core_synch_l1_2_0
919 enable_api_ms_win_core_sysinfo_l1_1_0
920 enable_api_ms_win_core_sysinfo_l1_2_0
921 enable_api_ms_win_core_sysinfo_l1_2_1
922 enable_api_ms_win_core_threadpool_legacy_l1_1_0
923 enable_api_ms_win_core_timezone_l1_1_0
924 enable_api_ms_win_core_url_l1_1_0
925 enable_api_ms_win_core_util_l1_1_0
926 enable_api_ms_win_core_winrt_error_l1_1_0
927 enable_api_ms_win_core_winrt_error_l1_1_1
928 enable_api_ms_win_core_winrt_l1_1_0
929 enable_api_ms_win_core_winrt_string_l1_1_0
930 enable_api_ms_win_core_xstate_l2_1_0
931 enable_api_ms_win_crt_conio_l1_1_0
932 enable_api_ms_win_crt_convert_l1_1_0
933 enable_api_ms_win_crt_environment_l1_1_0
934 enable_api_ms_win_crt_filesystem_l1_1_0
935 enable_api_ms_win_crt_heap_l1_1_0
936 enable_api_ms_win_crt_locale_l1_1_0
937 enable_api_ms_win_crt_math_l1_1_0
938 enable_api_ms_win_crt_multibyte_l1_1_0
939 enable_api_ms_win_crt_private_l1_1_0
940 enable_api_ms_win_crt_process_l1_1_0
941 enable_api_ms_win_crt_runtime_l1_1_0
942 enable_api_ms_win_crt_stdio_l1_1_0
943 enable_api_ms_win_crt_string_l1_1_0
944 enable_api_ms_win_crt_time_l1_1_0
945 enable_api_ms_win_crt_utility_l1_1_0
946 enable_api_ms_win_downlevel_advapi32_l1_1_0
947 enable_api_ms_win_downlevel_advapi32_l2_1_0
948 enable_api_ms_win_downlevel_normaliz_l1_1_0
949 enable_api_ms_win_downlevel_ole32_l1_1_0
950 enable_api_ms_win_downlevel_shell32_l1_1_0
951 enable_api_ms_win_downlevel_shlwapi_l1_1_0
952 enable_api_ms_win_downlevel_shlwapi_l2_1_0
953 enable_api_ms_win_downlevel_user32_l1_1_0
954 enable_api_ms_win_downlevel_version_l1_1_0
955 enable_api_ms_win_eventing_provider_l1_1_0
956 enable_api_ms_win_ntuser_dc_access_l1_1_0
957 enable_api_ms_win_security_base_l1_1_0
958 enable_api_ms_win_security_base_l1_2_0
959 enable_api_ms_win_security_sddl_l1_1_0
960 enable_api_ms_win_service_core_l1_1_1
961 enable_api_ms_win_service_management_l1_1_0
962 enable_api_ms_win_service_winsvc_l1_2_0
1007 enable_d3dcompiler_33
1008 enable_d3dcompiler_34
1009 enable_d3dcompiler_35
1010 enable_d3dcompiler_36
1011 enable_d3dcompiler_37
1012 enable_d3dcompiler_38
1013 enable_d3dcompiler_39
1014 enable_d3dcompiler_40
1015 enable_d3dcompiler_41
1016 enable_d3dcompiler_42
1017 enable_d3dcompiler_43
1018 enable_d3dcompiler_46
1019 enable_d3dcompiler_47
1097 enable_explorerframe
1098 enable_ext_ms_win_gdi_devcaps_l1_1_0
1258 enable_photometadatahandler
1346 enable_windowscodecs
1347 enable_windowscodecsext
1349 enable_winecoreaudio_drv
1351 enable_winegstreamer
1352 enable_winejoystick_drv
1358 enable_winepulse_drv
1359 enable_wineqtdecoder
1424 enable_aspnet_regiis
1457 enable_presentationfontcache
1470 enable_servicemodelreg
1491 enable_winemenubuilder
1493 enable_winemsibuilder
1508 ac_precious_vars
='build_alias
1559 # Initialize some variables set by options.
1561 ac_init_version
=false
1562 ac_unrecognized_opts
=
1563 ac_unrecognized_sep
=
1564 # The variables have the same names as the options, with
1565 # dashes changed to underlines.
1566 cache_file
=/dev
/null
1573 program_transform_name
=s
,x
,x
,
1581 # Installation directory options.
1582 # These are left unexpanded so users can "make install exec_prefix=/foo"
1583 # and all the variables that are supposed to be based on exec_prefix
1584 # by default will actually change.
1585 # Use braces instead of parens because sh, perl, etc. also accept them.
1586 # (The list follows the same order as the GNU Coding Standards.)
1587 bindir
='${exec_prefix}/bin'
1588 sbindir
='${exec_prefix}/sbin'
1589 libexecdir
='${exec_prefix}/libexec'
1590 datarootdir
='${prefix}/share'
1591 datadir
='${datarootdir}'
1592 sysconfdir
='${prefix}/etc'
1593 sharedstatedir
='${prefix}/com'
1594 localstatedir
='${prefix}/var'
1595 runstatedir
='${localstatedir}/run'
1596 includedir
='${prefix}/include'
1597 oldincludedir
='/usr/include'
1598 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
1599 infodir
='${datarootdir}/info'
1604 libdir
='${exec_prefix}/lib'
1605 localedir
='${datarootdir}/locale'
1606 mandir
='${datarootdir}/man'
1612 # If the previous option needs an argument, assign it.
1613 if test -n "$ac_prev"; then
1614 eval $ac_prev=\
$ac_option
1620 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1625 # Accept the important Cygnus configure options, so we can diagnose typos.
1627 case $ac_dashdash$ac_option in
1631 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
1633 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
1634 bindir
=$ac_optarg ;;
1636 -build |
--build |
--buil |
--bui |
--bu)
1637 ac_prev
=build_alias
;;
1638 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
1639 build_alias
=$ac_optarg ;;
1641 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
1642 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
1643 ac_prev
=cache_file
;;
1644 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
1645 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
1646 cache_file
=$ac_optarg ;;
1648 --config-cache |
-C)
1649 cache_file
=config.cache
;;
1651 -datadir |
--datadir |
--datadi |
--datad)
1653 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
1654 datadir
=$ac_optarg ;;
1656 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1657 |
--dataroo |
--dataro |
--datar)
1658 ac_prev
=datarootdir
;;
1659 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1660 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1661 datarootdir
=$ac_optarg ;;
1663 -disable-* |
--disable-*)
1664 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1665 # Reject names that are not valid shell variable names.
1666 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1667 as_fn_error $?
"invalid feature name: $ac_useropt"
1668 ac_useropt_orig
=$ac_useropt
1669 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1670 case $ac_user_opts in
1672 "enable_
$ac_useropt"
1674 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1675 ac_unrecognized_sep
=', ';;
1677 eval enable_
$ac_useropt=no
;;
1679 -docdir |
--docdir |
--docdi |
--doc |
--do)
1681 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1682 docdir
=$ac_optarg ;;
1684 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1686 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1687 dvidir
=$ac_optarg ;;
1689 -enable-* |
--enable-*)
1690 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1691 # Reject names that are not valid shell variable names.
1692 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1693 as_fn_error $?
"invalid feature name: $ac_useropt"
1694 ac_useropt_orig
=$ac_useropt
1695 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1696 case $ac_user_opts in
1698 "enable_
$ac_useropt"
1700 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1701 ac_unrecognized_sep
=', ';;
1703 eval enable_
$ac_useropt=\
$ac_optarg ;;
1705 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1706 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1707 |
--exec |
--exe |
--ex)
1708 ac_prev
=exec_prefix
;;
1709 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1710 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1711 |
--exec=* |
--exe=* |
--ex=*)
1712 exec_prefix
=$ac_optarg ;;
1714 -gas |
--gas |
--ga |
--g)
1715 # Obsolete; use --with-gas.
1718 -help |
--help |
--hel |
--he |
-h)
1719 ac_init_help
=long
;;
1720 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1721 ac_init_help
=recursive
;;
1722 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1723 ac_init_help
=short
;;
1725 -host |
--host |
--hos |
--ho)
1726 ac_prev
=host_alias
;;
1727 -host=* |
--host=* |
--hos=* |
--ho=*)
1728 host_alias
=$ac_optarg ;;
1730 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1732 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1734 htmldir
=$ac_optarg ;;
1736 -includedir |
--includedir |
--includedi |
--included |
--include \
1737 |
--includ |
--inclu |
--incl |
--inc)
1738 ac_prev
=includedir
;;
1739 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1740 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1741 includedir
=$ac_optarg ;;
1743 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1745 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1746 infodir
=$ac_optarg ;;
1748 -libdir |
--libdir |
--libdi |
--libd)
1750 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1751 libdir
=$ac_optarg ;;
1753 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1754 |
--libexe |
--libex |
--libe)
1755 ac_prev
=libexecdir
;;
1756 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1757 |
--libexe=* |
--libex=* |
--libe=*)
1758 libexecdir
=$ac_optarg ;;
1760 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1761 ac_prev
=localedir
;;
1762 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1763 localedir
=$ac_optarg ;;
1765 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1766 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1767 ac_prev
=localstatedir
;;
1768 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1769 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1770 localstatedir
=$ac_optarg ;;
1772 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1774 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1775 mandir
=$ac_optarg ;;
1777 -nfp |
--nfp |
--nf)
1778 # Obsolete; use --without-fp.
1781 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1782 |
--no-cr |
--no-c |
-n)
1785 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1786 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1789 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1790 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1791 |
--oldin |
--oldi |
--old |
--ol |
--o)
1792 ac_prev
=oldincludedir
;;
1793 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1794 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1795 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1796 oldincludedir
=$ac_optarg ;;
1798 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1800 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1801 prefix
=$ac_optarg ;;
1803 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1804 |
--program-pre |
--program-pr |
--program-p)
1805 ac_prev
=program_prefix
;;
1806 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1807 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1808 program_prefix
=$ac_optarg ;;
1810 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1811 |
--program-suf |
--program-su |
--program-s)
1812 ac_prev
=program_suffix
;;
1813 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1814 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1815 program_suffix
=$ac_optarg ;;
1817 -program-transform-name |
--program-transform-name \
1818 |
--program-transform-nam |
--program-transform-na \
1819 |
--program-transform-n |
--program-transform- \
1820 |
--program-transform |
--program-transfor \
1821 |
--program-transfo |
--program-transf \
1822 |
--program-trans |
--program-tran \
1823 |
--progr-tra |
--program-tr |
--program-t)
1824 ac_prev
=program_transform_name
;;
1825 -program-transform-name=* |
--program-transform-name=* \
1826 |
--program-transform-nam=* |
--program-transform-na=* \
1827 |
--program-transform-n=* |
--program-transform-=* \
1828 |
--program-transform=* |
--program-transfor=* \
1829 |
--program-transfo=* |
--program-transf=* \
1830 |
--program-trans=* |
--program-tran=* \
1831 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1832 program_transform_name
=$ac_optarg ;;
1834 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1836 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1837 pdfdir
=$ac_optarg ;;
1839 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1841 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1844 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1845 |
-silent |
--silent |
--silen |
--sile |
--sil)
1848 -runstatedir |
--runstatedir |
--runstatedi |
--runstated \
1849 |
--runstate |
--runstat |
--runsta |
--runst |
--runs \
1850 |
--run |
--ru |
--r)
1851 ac_prev
=runstatedir
;;
1852 -runstatedir=* |
--runstatedir=* |
--runstatedi=* |
--runstated=* \
1853 |
--runstate=* |
--runstat=* |
--runsta=* |
--runst=* |
--runs=* \
1854 |
--run=* |
--ru=* |
--r=*)
1855 runstatedir
=$ac_optarg ;;
1857 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1859 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1861 sbindir
=$ac_optarg ;;
1863 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1864 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1865 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1867 ac_prev
=sharedstatedir
;;
1868 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1869 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1870 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1872 sharedstatedir
=$ac_optarg ;;
1874 -site |
--site |
--sit)
1876 -site=* |
--site=* |
--sit=*)
1879 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1881 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1882 srcdir
=$ac_optarg ;;
1884 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1885 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1886 ac_prev
=sysconfdir
;;
1887 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1888 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1889 sysconfdir
=$ac_optarg ;;
1891 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1892 ac_prev
=target_alias
;;
1893 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1894 target_alias
=$ac_optarg ;;
1896 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1899 -version |
--version |
--versio |
--versi |
--vers |
-V)
1900 ac_init_version
=: ;;
1903 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1904 # Reject names that are not valid shell variable names.
1905 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1906 as_fn_error $?
"invalid package name: $ac_useropt"
1907 ac_useropt_orig
=$ac_useropt
1908 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1909 case $ac_user_opts in
1913 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1914 ac_unrecognized_sep
=', ';;
1916 eval with_
$ac_useropt=\
$ac_optarg ;;
1918 -without-* |
--without-*)
1919 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1920 # Reject names that are not valid shell variable names.
1921 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1922 as_fn_error $?
"invalid package name: $ac_useropt"
1923 ac_useropt_orig
=$ac_useropt
1924 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1925 case $ac_user_opts in
1929 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1930 ac_unrecognized_sep
=', ';;
1932 eval with_
$ac_useropt=no
;;
1935 # Obsolete; use --with-x.
1938 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1939 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1940 ac_prev
=x_includes
;;
1941 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1942 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1943 x_includes
=$ac_optarg ;;
1945 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1946 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1947 ac_prev
=x_libraries
;;
1948 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1949 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1950 x_libraries
=$ac_optarg ;;
1952 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1953 Try \`$0 --help' for more information"
1957 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1958 # Reject names that are not valid shell variable names.
1959 case $ac_envvar in #(
1960 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1961 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1963 eval $ac_envvar=\
$ac_optarg
1964 export $ac_envvar ;;
1967 # FIXME: should be removed in autoconf 3.0.
1968 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1969 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1970 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1971 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1977 if test -n "$ac_prev"; then
1978 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1979 as_fn_error $?
"missing argument to $ac_option"
1982 if test -n "$ac_unrecognized_opts"; then
1983 case $enable_option_checking in
1985 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1986 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1990 # Check all directory arguments for consistency.
1991 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1992 datadir sysconfdir sharedstatedir localstatedir includedir \
1993 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1994 libdir localedir mandir runstatedir
1996 eval ac_val
=\$
$ac_var
1997 # Remove trailing slashes.
2000 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2001 eval $ac_var=\
$ac_val;;
2003 # Be sure to have absolute directory names.
2005 [\\/$
]* | ?
:[\\/]* ) continue;;
2006 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
2008 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
2011 # There might be people who depend on the old broken behavior: `$host'
2012 # used to hold the argument of --host etc.
2013 # FIXME: To remove some day.
2016 target
=$target_alias
2018 # FIXME: To remove some day.
2019 if test "x$host_alias" != x
; then
2020 if test "x$build_alias" = x
; then
2021 cross_compiling
=maybe
2022 elif test "x$build_alias" != "x$host_alias"; then
2028 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
2030 test "$silent" = yes && exec 6>/dev
/null
2033 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
2034 ac_ls_di
=`ls -di .` &&
2035 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
2036 as_fn_error $?
"working directory cannot be determined"
2037 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2038 as_fn_error $?
"pwd does not report name of working directory"
2041 # Find the source files, if location was not specified.
2042 if test -z "$srcdir"; then
2043 ac_srcdir_defaulted
=yes
2044 # Try the directory containing this script, then the parent directory.
2045 ac_confdir
=`$as_dirname -- "$as_myself" ||
2046 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2047 X"$as_myself" : 'X\(//\)[^/]' \| \
2048 X"$as_myself" : 'X\(//\)$' \| \
2049 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2050 $as_echo X"$as_myself" |
2051 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2069 if test ! -r "$srcdir/$ac_unique_file"; then
2073 ac_srcdir_defaulted
=no
2075 if test ! -r "$srcdir/$ac_unique_file"; then
2076 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
2077 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
2079 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
2081 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2083 # When building in place, set srcdir=.
2084 if test "$ac_abs_confdir" = "$ac_pwd"; then
2087 # Remove unnecessary trailing slashes from srcdir.
2088 # Double slashes in file names in object file debugging info
2089 # mess up M-x gdb in Emacs.
2091 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2093 for ac_var
in $ac_precious_vars; do
2094 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
2095 eval ac_env_
${ac_var}_value
=\$
${ac_var}
2096 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
2097 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
2101 # Report the --help message.
2103 if test "$ac_init_help" = "long"; then
2104 # Omit some internal or obsolete options to make the list less imposing.
2105 # This message is too long to be a string in the A/UX 3.1 sh.
2107 \`configure' configures Wine 1.8 to adapt to many kinds of systems.
2109 Usage: $0 [OPTION]... [VAR=VALUE]...
2111 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2112 VAR=VALUE. See below for descriptions of some of the useful variables.
2114 Defaults for the options are specified in brackets.
2117 -h, --help display this help and exit
2118 --help=short display options specific to this package
2119 --help=recursive display the short help of all the included packages
2120 -V, --version display version information and exit
2121 -q, --quiet, --silent do not print \`checking ...' messages
2122 --cache-file=FILE cache test results in FILE [disabled]
2123 -C, --config-cache alias for \`--cache-file=config.cache'
2124 -n, --no-create do not create output files
2125 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2127 Installation directories:
2128 --prefix=PREFIX install architecture-independent files in PREFIX
2129 [$ac_default_prefix]
2130 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2133 By default, \`make install' will install all the files in
2134 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2135 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2136 for instance \`--prefix=\$HOME'.
2138 For better control, use the options below.
2140 Fine tuning of the installation directories:
2141 --bindir=DIR user executables [EPREFIX/bin]
2142 --sbindir=DIR system admin executables [EPREFIX/sbin]
2143 --libexecdir=DIR program executables [EPREFIX/libexec]
2144 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2145 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2146 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2147 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2148 --libdir=DIR object code libraries [EPREFIX/lib]
2149 --includedir=DIR C header files [PREFIX/include]
2150 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2151 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2152 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2153 --infodir=DIR info documentation [DATAROOTDIR/info]
2154 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2155 --mandir=DIR man documentation [DATAROOTDIR/man]
2156 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2157 --htmldir=DIR html documentation [DOCDIR]
2158 --dvidir=DIR dvi documentation [DOCDIR]
2159 --pdfdir=DIR pdf documentation [DOCDIR]
2160 --psdir=DIR ps documentation [DOCDIR]
2166 --x-includes=DIR X include files are
in DIR
2167 --x-libraries=DIR X library files are
in DIR
2170 --build=BUILD configure
for building on BUILD
[guessed
]
2171 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
2175 if test -n "$ac_init_help"; then
2176 case $ac_init_help in
2177 short | recursive
) echo "Configuration of Wine 1.8:";;
2182 --disable-option-checking ignore unrecognized
--enable/--with options
2183 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
2184 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
2185 --disable-win16 do not include Win16 support
2186 --enable-win64 build a Win64 emulator on AMD64
(won
't run Win32
2188 --disable-tests do not build the regression tests
2189 --enable-maintainer-mode
2190 enable maintainer-specific build rules
2191 --disable-largefile omit support for large files
2194 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2195 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2196 --without-alsa do not use the Alsa sound support
2197 --without-capi do not use CAPI (ISDN support)
2198 --without-cms do not use CMS (color management support)
2199 --without-coreaudio do not use the CoreAudio sound support
2200 --without-cups do not use CUPS
2201 --without-curses do not use (n)curses
2202 --without-dbus do not use DBus (dynamic device support)
2203 --without-fontconfig do not use fontconfig
2204 --without-freetype do not use the FreeType library
2205 --without-gettext do not use gettext
2206 --with-gettextpo use the GetTextPO library to rebuild po files
2207 --without-gphoto do not use gphoto (Digital Camera support)
2208 --without-glu do not use the GLU library
2209 --without-gnutls do not use GnuTLS (schannel support)
2210 --without-gsm do not use libgsm (GSM 06.10 codec support)
2211 --without-gstreamer do not use GStreamer (codecs support)
2212 --without-hal do not use HAL (dynamic device support)
2213 --without-jpeg do not use JPEG
2214 --without-ldap do not use LDAP
2215 --without-mpg123 do not use the mpg123 library
2216 --without-netapi do not use the Samba NetAPI library
2217 --without-openal do not use OpenAL
2218 --without-opencl do not use OpenCL
2219 --without-opengl do not use OpenGL
2220 --without-osmesa do not use the OSMesa library
2221 --without-oss do not use the OSS sound support
2222 --without-pcap do not use the Packet Capture library
2223 --without-png do not use PNG
2224 --without-pthread do not use the pthread library
2225 --without-pulse do not use PulseAudio sound support
2226 --without-sane do not use SANE (scanner support)
2227 --without-tiff do not use TIFF
2228 --without-v4l do not use v4l1 (v4l support)
2229 --without-xcomposite do not use the Xcomposite extension
2230 --without-xcursor do not use the Xcursor extension
2231 --without-xinerama do not use Xinerama (multi-monitor support)
2232 --without-xinput do not use the Xinput extension
2233 --without-xinput2 do not use the Xinput 2 extension
2234 --without-xml do not use XML
2235 --without-xrandr do not use Xrandr (resolution changes)
2236 --without-xrender do not use the Xrender extension
2237 --without-xshape do not use the Xshape extension
2238 --without-xshm do not use XShm (shared memory extension)
2239 --without-xslt do not use XSLT
2240 --without-xxf86vm do not use XFree video mode extension
2241 --without-zlib do not use Zlib (data compression)
2242 --with-wine-tools=DIR use Wine tools from directory DIR
2243 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2244 --with-x use the X Window System
2246 Some influential environment variables:
2247 CC C compiler command
2248 CFLAGS C compiler flags
2249 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2250 nonstandard directory <lib dir>
2251 LIBS libraries to pass to the linker, e.g. -l<library>
2252 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2253 you have headers in a nonstandard directory <include dir>
2254 CXX C++ compiler command
2255 CXXFLAGS C++ compiler flags
2257 XMKMF Path to xmkmf, Makefile generator for X Window System
2258 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2259 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2260 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2261 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2262 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2263 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2264 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2265 HAL_LIBS Linker flags for hal, overriding pkg-config
2267 C compiler flags for gnutls, overriding pkg-config
2268 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2269 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2270 SANE_LIBS Linker flags for libsane, overriding pkg-config
2272 C compiler flags for libgphoto2, overriding pkg-config
2274 Linker flags for libgphoto2, overriding pkg-config
2276 C compiler flags for libgphoto2_port, overriding pkg-config
2278 Linker flags for libgphoto2_port, overriding pkg-config
2280 C compiler flags for lcms2, overriding pkg-config
2281 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2283 C compiler flags for freetype2, overriding pkg-config
2285 Linker flags for freetype2, overriding pkg-config
2287 C compiler flags for libpulse, overriding pkg-config
2288 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2290 C compiler flags for gstreamer-app-0.10, overriding pkg-config
2292 Linker flags for gstreamer-app-0.10, overriding pkg-config
2294 C compiler flags for capi20, overriding pkg-config
2295 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2297 C compiler flags for fontconfig, overriding pkg-config
2299 Linker flags for fontconfig, overriding pkg-config
2300 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2301 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2302 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2303 PNG_LIBS Linker flags for libpng, overriding pkg-config
2304 TIFF_CFLAGS C compiler flags for libtiff-4, overriding pkg-config
2305 TIFF_LIBS Linker flags for libtiff-4, overriding pkg-config
2307 C compiler flags for libmpg123, overriding pkg-config
2308 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2310 Use these variables to override the choices made by `configure' or to
help
2311 it to
find libraries and programs with nonstandard names
/locations.
2313 Report bugs to
<wine-devel@winehq.org
>.
2314 Wine home page
: <http
://www.winehq.org
>.
2319 if test "$ac_init_help" = "recursive"; then
2320 # If there are subdirs, report their specific --help.
2321 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
2322 test -d "$ac_dir" ||
2323 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
2328 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2330 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2331 # A ".." for each directory in $ac_dir_suffix.
2332 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2333 case $ac_top_builddir_sub in
2334 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2335 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
2338 ac_abs_top_builddir
=$ac_pwd
2339 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
2340 # for backward compatibility:
2341 ac_top_builddir
=$ac_top_build_prefix
2344 .
) # We are building in place.
2346 ac_top_srcdir
=$ac_top_builddir_sub
2347 ac_abs_top_srcdir
=$ac_pwd ;;
2348 [\\/]* | ?
:[\\/]* ) # Absolute name.
2349 ac_srcdir
=$srcdir$ac_dir_suffix;
2350 ac_top_srcdir
=$srcdir
2351 ac_abs_top_srcdir
=$srcdir ;;
2353 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
2354 ac_top_srcdir
=$ac_top_build_prefix$srcdir
2355 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
2357 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
2359 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
2360 # Check for guested configure.
2361 if test -f "$ac_srcdir/configure.gnu"; then
2363 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2364 elif test -f "$ac_srcdir/configure"; then
2366 $SHELL "$ac_srcdir/configure" --help=recursive
2368 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2370 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
2374 test -n "$ac_init_help" && exit $ac_status
2375 if $ac_init_version; then
2378 generated by GNU Autoconf
2.69
2380 Copyright
(C
) 2012 Free Software Foundation
, Inc.
2381 This configure
script is free software
; the Free Software Foundation
2382 gives unlimited permission to copy
, distribute and modify it.
2387 ## ------------------------ ##
2388 ## Autoconf initialization. ##
2389 ## ------------------------ ##
2391 # ac_fn_c_try_compile LINENO
2392 # --------------------------
2393 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2394 ac_fn_c_try_compile
()
2396 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2397 rm -f conftest.
$ac_objext
2398 if { { ac_try
="$ac_compile"
2400 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2401 *) ac_try_echo=$ac_try;;
2403 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2404 $as_echo "$ac_try_echo"; } >&5
2405 (eval "$ac_compile") 2>conftest.err
2407 if test -s conftest.err; then
2408 grep -v '^ *+' conftest.err >conftest.er1
2409 cat conftest.er1 >&5
2410 mv -f conftest.er1 conftest.err
2412 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2413 test $ac_status = 0; } && {
2414 test -z "$ac_c_werror_flag" ||
2415 test ! -s conftest.err
2416 } && test -s conftest.$ac_objext; then :
2419 $as_echo "$as_me: failed program was:" >&5
2420 sed 's/^/| /' conftest.$ac_ext >&5
2424 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2425 as_fn_set_status $ac_retval
2427 } # ac_fn_c_try_compile
2429 # ac_fn_cxx_try_compile LINENO
2430 # ----------------------------
2431 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2432 ac_fn_cxx_try_compile ()
2434 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2435 rm -f conftest.$ac_objext
2436 if { { ac_try="$ac_compile"
2438 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2439 *) ac_try_echo
=$ac_try;;
2441 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2442 $as_echo "$ac_try_echo"; } >&5
2443 (eval "$ac_compile") 2>conftest.err
2445 if test -s conftest.err
; then
2446 grep -v '^ *+' conftest.err
>conftest.er1
2447 cat conftest.er1
>&5
2448 mv -f conftest.er1 conftest.err
2450 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2451 test $ac_status = 0; } && {
2452 test -z "$ac_cxx_werror_flag" ||
2453 test ! -s conftest.err
2454 } && test -s conftest.
$ac_objext; then :
2457 $as_echo "$as_me: failed program was:" >&5
2458 sed 's/^/| /' conftest.
$ac_ext >&5
2462 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2463 as_fn_set_status
$ac_retval
2465 } # ac_fn_cxx_try_compile
2467 # ac_fn_c_try_link LINENO
2468 # -----------------------
2469 # Try to link conftest.$ac_ext, and return whether this succeeded.
2472 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2473 rm -f conftest.
$ac_objext conftest
$ac_exeext
2474 if { { ac_try
="$ac_link"
2476 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2477 *) ac_try_echo=$ac_try;;
2479 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2480 $as_echo "$ac_try_echo"; } >&5
2481 (eval "$ac_link") 2>conftest.err
2483 if test -s conftest.err; then
2484 grep -v '^ *+' conftest.err >conftest.er1
2485 cat conftest.er1 >&5
2486 mv -f conftest.er1 conftest.err
2488 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2489 test $ac_status = 0; } && {
2490 test -z "$ac_c_werror_flag" ||
2491 test ! -s conftest.err
2492 } && test -s conftest$ac_exeext && {
2493 test "$cross_compiling" = yes ||
2494 test -x conftest$ac_exeext
2498 $as_echo "$as_me: failed program was:" >&5
2499 sed 's/^/| /' conftest.$ac_ext >&5
2503 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2504 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2505 # interfere with the next link command; also delete a directory that is
2506 # left behind by Apple's compiler. We do this before executing the actions.
2507 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2508 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2509 as_fn_set_status $ac_retval
2511 } # ac_fn_c_try_link
2513 # ac_fn_c_try_cpp LINENO
2514 # ----------------------
2515 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2518 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2519 if { { ac_try="$ac_cpp conftest.$ac_ext"
2521 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2522 *) ac_try_echo
=$ac_try;;
2524 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2525 $as_echo "$ac_try_echo"; } >&5
2526 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2528 if test -s conftest.err
; then
2529 grep -v '^ *+' conftest.err
>conftest.er1
2530 cat conftest.er1
>&5
2531 mv -f conftest.er1 conftest.err
2533 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2534 test $ac_status = 0; } > conftest.i
&& {
2535 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2536 test ! -s conftest.err
2540 $as_echo "$as_me: failed program was:" >&5
2541 sed 's/^/| /' conftest.
$ac_ext >&5
2545 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2546 as_fn_set_status
$ac_retval
2550 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2551 # -------------------------------------------------------
2552 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2553 # the include files in INCLUDES and setting the cache variable VAR
2555 ac_fn_c_check_header_mongrel
()
2557 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2558 if eval \
${$3+:} false
; then :
2559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2560 $as_echo_n "checking for $2... " >&6; }
2561 if eval \
${$3+:} false
; then :
2562 $as_echo_n "(cached) " >&6
2565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2566 $as_echo "$ac_res" >&6; }
2568 # Is the header compilable?
2569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2570 $as_echo_n "checking $2 usability... " >&6; }
2571 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2572 /* end confdefs.h. */
2576 if ac_fn_c_try_compile
"$LINENO"; then :
2577 ac_header_compiler
=yes
2579 ac_header_compiler
=no
2581 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2583 $as_echo "$ac_header_compiler" >&6; }
2585 # Is the header present?
2586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2587 $as_echo_n "checking $2 presence... " >&6; }
2588 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2589 /* end confdefs.h. */
2592 if ac_fn_c_try_cpp
"$LINENO"; then :
2593 ac_header_preproc
=yes
2595 ac_header_preproc
=no
2597 rm -f conftest.err conftest.i conftest.
$ac_ext
2598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2599 $as_echo "$ac_header_preproc" >&6; }
2601 # So? What about this header?
2602 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2604 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2605 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2606 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2607 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2610 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2611 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2612 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2613 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2614 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2615 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2616 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2617 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2618 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2619 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2620 ( $as_echo "## ------------------------------------ ##
2621 ## Report this to wine-devel@winehq.org ##
2622 ## ------------------------------------ ##"
2623 ) |
sed "s/^/$as_me: WARNING: /" >&2
2626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2627 $as_echo_n "checking for $2... " >&6; }
2628 if eval \
${$3+:} false
; then :
2629 $as_echo_n "(cached) " >&6
2631 eval "$3=\$ac_header_compiler"
2634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2635 $as_echo "$ac_res" >&6; }
2637 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2639 } # ac_fn_c_check_header_mongrel
2641 # ac_fn_c_try_run LINENO
2642 # ----------------------
2643 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2644 # that executables *can* be run.
2647 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2648 if { { ac_try
="$ac_link"
2650 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2651 *) ac_try_echo=$ac_try;;
2653 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2654 $as_echo "$ac_try_echo"; } >&5
2655 (eval "$ac_link") 2>&5
2657 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2658 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2659 { { case "(($ac_try" in
2660 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2661 *) ac_try_echo
=$ac_try;;
2663 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2664 $as_echo "$ac_try_echo"; } >&5
2665 (eval "$ac_try") 2>&5
2667 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2668 test $ac_status = 0; }; }; then :
2671 $as_echo "$as_me: program exited with status $ac_status" >&5
2672 $as_echo "$as_me: failed program was:" >&5
2673 sed 's/^/| /' conftest.
$ac_ext >&5
2675 ac_retval
=$ac_status
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
2683 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2684 # -------------------------------------------------------
2685 # Tests whether HEADER exists and can be compiled using the include files in
2686 # INCLUDES, setting the cache variable VAR accordingly.
2687 ac_fn_c_check_header_compile
()
2689 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2691 $as_echo_n "checking for $2... " >&6; }
2692 if eval \
${$3+:} false
; then :
2693 $as_echo_n "(cached) " >&6
2695 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2696 /* end confdefs.h. */
2700 if ac_fn_c_try_compile
"$LINENO"; then :
2705 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2709 $as_echo "$ac_res" >&6; }
2710 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2712 } # ac_fn_c_check_header_compile
2714 # ac_fn_c_check_func LINENO FUNC VAR
2715 # ----------------------------------
2716 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2717 ac_fn_c_check_func
()
2719 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2721 $as_echo_n "checking for $2... " >&6; }
2722 if eval \
${$3+:} false
; then :
2723 $as_echo_n "(cached) " >&6
2725 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2726 /* end confdefs.h. */
2727 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2728 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2729 #define $2 innocuous_$2
2731 /* System header to define __stub macros and hopefully few prototypes,
2732 which can conflict with char $2 (); below.
2733 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2734 <limits.h> exists even on freestanding compilers. */
2737 # include <limits.h>
2739 # include <assert.h>
2744 /* Override any GCC internal prototype to avoid an error.
2745 Use char because int might match the return type of a GCC
2746 builtin and then its argument prototype would still apply. */
2751 /* The GNU C library defines this for functions which it implements
2752 to always fail with ENOSYS. Some functions are actually named
2753 something starting with __ and the normal name is an alias. */
2754 #if defined __stub_$2 || defined __stub___$2
2766 if ac_fn_c_try_link
"$LINENO"; then :
2771 rm -f core conftest.err conftest.
$ac_objext \
2772 conftest
$ac_exeext conftest.
$ac_ext
2775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2776 $as_echo "$ac_res" >&6; }
2777 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2779 } # ac_fn_c_check_func
2781 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2782 # ----------------------------------------------------
2783 # Tries to find if the field MEMBER exists in type AGGR, after including
2784 # INCLUDES, setting cache variable VAR accordingly.
2785 ac_fn_c_check_member
()
2787 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2789 $as_echo_n "checking for $2.$3... " >&6; }
2790 if eval \
${$4+:} false
; then :
2791 $as_echo_n "(cached) " >&6
2793 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2794 /* end confdefs.h. */
2806 if ac_fn_c_try_compile
"$LINENO"; then :
2809 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2810 /* end confdefs.h. */
2816 if (sizeof ac_aggr.$3)
2822 if ac_fn_c_try_compile
"$LINENO"; then :
2827 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2829 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2833 $as_echo "$ac_res" >&6; }
2834 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2836 } # ac_fn_c_check_member
2838 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2839 # -------------------------------------------
2840 # Tests whether TYPE exists after having included INCLUDES, setting cache
2841 # variable VAR accordingly.
2842 ac_fn_c_check_type
()
2844 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2846 $as_echo_n "checking for $2... " >&6; }
2847 if eval \
${$3+:} false
; then :
2848 $as_echo_n "(cached) " >&6
2851 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2852 /* end confdefs.h. */
2863 if ac_fn_c_try_compile
"$LINENO"; then :
2864 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2865 /* end confdefs.h. */
2876 if ac_fn_c_try_compile
"$LINENO"; then :
2881 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2883 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2887 $as_echo "$ac_res" >&6; }
2888 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2890 } # ac_fn_c_check_type
2891 cat >config.log
<<_ACEOF
2892 This file contains any messages produced by compilers while
2893 running configure, to aid debugging if configure makes a mistake.
2895 It was created by Wine $as_me 1.8, which was
2896 generated by GNU Autoconf 2.69. Invocation command line was
2908 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2909 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2910 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2911 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2912 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2914 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2915 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2917 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2918 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2919 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2920 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2921 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2922 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2923 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2927 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2931 test -z "$as_dir" && as_dir
=.
2932 $as_echo "PATH: $as_dir"
2948 # Keep a trace of the command line.
2949 # Strip out --no-create and --no-recursion so they do not pile up.
2950 # Strip out --silent because we don't want to record it for future runs.
2951 # Also quote any args containing shell meta-characters.
2952 # Make two passes to allow for proper duplicate-argument suppression.
2956 ac_must_keep_next
=false
2962 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
2963 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2964 |
-silent |
--silent |
--silen |
--sile |
--sil)
2967 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2970 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2972 as_fn_append ac_configure_args1
" '$ac_arg'"
2973 if test $ac_must_keep_next = true
; then
2974 ac_must_keep_next
=false
# Got value, back to normal.
2977 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
2978 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
2979 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
2980 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
2981 case "$ac_configure_args0 " in
2982 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2985 -* ) ac_must_keep_next
=true
;;
2988 as_fn_append ac_configure_args
" '$ac_arg'"
2993 { ac_configure_args0
=; unset ac_configure_args0
;}
2994 { ac_configure_args1
=; unset ac_configure_args1
;}
2996 # When interrupted or exit'd, cleanup temporary files, and complete
2997 # config.log. We remove comments because anyway the quotes in there
2998 # would cause problems or look ugly.
2999 # WARNING: Use '\'' to represent an apostrophe within the trap.
3000 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3001 trap 'exit_status=$?
3002 # Save into config.log some information that might help in debugging.
3006 $as_echo "## ---------------- ##
3007 ## Cache variables. ##
3008 ## ---------------- ##"
3010 # The following way of writing the cache mishandles newlines in values,
3012 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3013 eval ac_val=\$$ac_var
3017 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3018 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3021 _ | IFS | as_nl) ;; #(
3022 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3023 *) { eval $ac_var=; unset $ac_var;} ;;
3028 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3029 *${as_nl}ac_space=\ *)
3031 "s/'\''/'\''\\\\'\'''\''/g;
3032 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3035 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3042 $as_echo "## ----------------- ##
3043 ## Output variables. ##
3044 ## ----------------- ##"
3046 for ac_var in $ac_subst_vars
3048 eval ac_val=\$$ac_var
3050 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3052 $as_echo "$ac_var='\''$ac_val'\''"
3056 if test -n "$ac_subst_files"; then
3057 $as_echo "## ------------------- ##
3058 ## File substitutions. ##
3059 ## ------------------- ##"
3061 for ac_var
in $ac_subst_files
3063 eval ac_val
=\$
$ac_var
3065 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3067 $as_echo "$ac_var='\''$ac_val'\''"
3072 if test -s confdefs.h; then
3073 $as_echo "## ----------- ##
3080 test "$ac_signal" != 0 &&
3081 $as_echo "$as_me: caught signal $ac_signal"
3082 $as_echo "$as_me: exit $exit_status"
3084 rm -f core *.core core.conftest.* &&
3085 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3088 for ac_signal
in 1 2 13 15; do
3089 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3093 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3094 rm -f -r conftest
* confdefs.h
3096 $as_echo "/* confdefs.h */" > confdefs.h
3098 # Predefined preprocessor variables.
3100 cat >>confdefs.h
<<_ACEOF
3101 #define PACKAGE_NAME "$PACKAGE_NAME"
3104 cat >>confdefs.h
<<_ACEOF
3105 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3108 cat >>confdefs.h
<<_ACEOF
3109 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3112 cat >>confdefs.h
<<_ACEOF
3113 #define PACKAGE_STRING "$PACKAGE_STRING"
3116 cat >>confdefs.h
<<_ACEOF
3117 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3120 cat >>confdefs.h
<<_ACEOF
3121 #define PACKAGE_URL "$PACKAGE_URL"
3125 # Let the site file select an alternate cache file if it wants to.
3126 # Prefer an explicitly selected file to automatically selected ones.
3129 if test -n "$CONFIG_SITE"; then
3130 # We do not want a PATH search for config.site.
3131 case $CONFIG_SITE in #((
3132 -*) ac_site_file1
=.
/$CONFIG_SITE;;
3133 */*) ac_site_file1
=$CONFIG_SITE;;
3134 *) ac_site_file1
=.
/$CONFIG_SITE;;
3136 elif test "x$prefix" != xNONE
; then
3137 ac_site_file1
=$prefix/share
/config.site
3138 ac_site_file2
=$prefix/etc
/config.site
3140 ac_site_file1
=$ac_default_prefix/share
/config.site
3141 ac_site_file2
=$ac_default_prefix/etc
/config.site
3143 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
3145 test "x$ac_site_file" = xNONE
&& continue
3146 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
3147 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3148 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3149 sed 's/^/| /' "$ac_site_file" >&5
3151 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3152 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3153 as_fn_error $?
"failed to load site script $ac_site_file
3154 See \`config.log' for more details" "$LINENO" 5; }
3158 if test -r "$cache_file"; then
3159 # Some versions of bash will fail to source /dev/null (special files
3160 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3161 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
3162 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3163 $as_echo "$as_me: loading cache $cache_file" >&6;}
3165 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
3166 *) .
"./$cache_file";;
3170 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3171 $as_echo "$as_me: creating cache $cache_file" >&6;}
3175 # Check that the precious variables saved in the cache have kept the same
3177 ac_cache_corrupted
=false
3178 for ac_var
in $ac_precious_vars; do
3179 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
3180 eval ac_new_set
=\
$ac_env_${ac_var}_set
3181 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
3182 eval ac_new_val
=\
$ac_env_${ac_var}_value
3183 case $ac_old_set,$ac_new_set in
3185 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3186 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3187 ac_cache_corrupted
=: ;;
3189 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3190 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3191 ac_cache_corrupted
=: ;;
3194 if test "x$ac_old_val" != "x$ac_new_val"; then
3195 # differences in whitespace do not lead to failure.
3196 ac_old_val_w
=`echo x $ac_old_val`
3197 ac_new_val_w
=`echo x $ac_new_val`
3198 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3199 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3200 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3201 ac_cache_corrupted
=:
3203 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3204 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3205 eval $ac_var=\
$ac_old_val
3207 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3208 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3209 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3210 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3213 # Pass precious variables to config.status.
3214 if test "$ac_new_set" = set; then
3216 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3217 *) ac_arg
=$ac_var=$ac_new_val ;;
3219 case " $ac_configure_args " in
3220 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3221 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
3225 if $ac_cache_corrupted; then
3226 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3227 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3228 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3229 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3230 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3232 ## -------------------- ##
3233 ## Main body of script. ##
3234 ## -------------------- ##
3237 ac_cpp
='$CPP $CPPFLAGS'
3238 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3239 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3240 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3244 ac_config_headers
="$ac_config_headers include/config.h"
3247 for ac_dir
in tools
"$srcdir"/tools
; do
3248 if test -f "$ac_dir/install-sh"; then
3250 ac_install_sh
="$ac_aux_dir/install-sh -c"
3252 elif test -f "$ac_dir/install.sh"; then
3254 ac_install_sh
="$ac_aux_dir/install.sh -c"
3256 elif test -f "$ac_dir/shtool"; then
3258 ac_install_sh
="$ac_aux_dir/shtool install -c"
3262 if test -z "$ac_aux_dir"; then
3263 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3266 # These three variables are undocumented and unsupported,
3267 # and are intended to be withdrawn in a future Autoconf release.
3268 # They can cause serious problems if a builder's source tree is in a directory
3269 # whose full name contains unusual characters.
3270 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3271 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3272 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3276 libwine_version
="1.0"
3280 # Check whether --enable-win16 was given.
3281 if test "${enable_win16+set}" = set; then :
3282 enableval
=$enable_win16;
3285 # Check whether --enable-win64 was given.
3286 if test "${enable_win64+set}" = set; then :
3287 enableval
=$enable_win64;
3290 # Check whether --enable-tests was given.
3291 if test "${enable_tests+set}" = set; then :
3292 enableval
=$enable_tests;
3295 # Check whether --enable-maintainer-mode was given.
3296 if test "${enable_maintainer_mode+set}" = set; then :
3297 enableval
=$enable_maintainer_mode;
3302 # Check whether --with-alsa was given.
3303 if test "${with_alsa+set}" = set; then :
3304 withval
=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h
=no
; ac_cv_header_alsa_asoundlib_h
=no
; fi
3308 # Check whether --with-capi was given.
3309 if test "${with_capi+set}" = set; then :
3314 # Check whether --with-cms was given.
3315 if test "${with_cms+set}" = set; then :
3320 # Check whether --with-coreaudio was given.
3321 if test "${with_coreaudio+set}" = set; then :
3322 withval
=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h
=no
; fi
3326 # Check whether --with-cups was given.
3327 if test "${with_cups+set}" = set; then :
3332 # Check whether --with-curses was given.
3333 if test "${with_curses+set}" = set; then :
3334 withval
=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h
=no
; ac_cv_header_curses_h
=no
; fi
3338 # Check whether --with-dbus was given.
3339 if test "${with_dbus+set}" = set; then :
3344 # Check whether --with-fontconfig was given.
3345 if test "${with_fontconfig+set}" = set; then :
3346 withval
=$with_fontconfig;
3350 # Check whether --with-freetype was given.
3351 if test "${with_freetype+set}" = set; then :
3352 withval
=$with_freetype;
3356 # Check whether --with-gettext was given.
3357 if test "${with_gettext+set}" = set; then :
3358 withval
=$with_gettext;
3362 # Check whether --with-gettextpo was given.
3363 if test "${with_gettextpo+set}" = set; then :
3364 withval
=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h
=no
; fi
3368 # Check whether --with-gphoto was given.
3369 if test "${with_gphoto+set}" = set; then :
3370 withval
=$with_gphoto;
3374 # Check whether --with-glu was given.
3375 if test "${with_glu+set}" = set; then :
3380 # Check whether --with-gnutls was given.
3381 if test "${with_gnutls+set}" = set; then :
3382 withval
=$with_gnutls;
3386 # Check whether --with-gsm was given.
3387 if test "${with_gsm+set}" = set; then :
3388 withval
=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h
=no
; ac_cv_header_gsm_gsm_h
=no
; fi
3392 # Check whether --with-gstreamer was given.
3393 if test "${with_gstreamer+set}" = set; then :
3394 withval
=$with_gstreamer;
3398 # Check whether --with-hal was given.
3399 if test "${with_hal+set}" = set; then :
3404 # Check whether --with-jpeg was given.
3405 if test "${with_jpeg+set}" = set; then :
3410 # Check whether --with-ldap was given.
3411 if test "${with_ldap+set}" = set; then :
3412 withval
=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h
=no
; ac_cv_header_lber_h
=no
; fi
3416 # Check whether --with-mpg123 was given.
3417 if test "${with_mpg123+set}" = set; then :
3418 withval
=$with_mpg123;
3422 # Check whether --with-netapi was given.
3423 if test "${with_netapi+set}" = set; then :
3424 withval
=$with_netapi;
3428 # Check whether --with-openal was given.
3429 if test "${with_openal+set}" = set; then :
3430 withval
=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h
=no
; ac_cv_header_OpenAL_al_h
=no
; fi
3434 # Check whether --with-opencl was given.
3435 if test "${with_opencl+set}" = set; then :
3436 withval
=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h
=no
; ac_cv_header_OpenCL_opencl_h
=no
; fi
3440 # Check whether --with-opengl was given.
3441 if test "${with_opengl+set}" = set; then :
3442 withval
=$with_opengl;
3446 # Check whether --with-osmesa was given.
3447 if test "${with_osmesa+set}" = set; then :
3448 withval
=$with_osmesa;
3452 # Check whether --with-oss was given.
3453 if test "${with_oss+set}" = set; then :
3458 # Check whether --with-pcap was given.
3459 if test "${with_pcap+set}" = set; then :
3460 withval
=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h
=no
; fi
3464 # Check whether --with-png was given.
3465 if test "${with_png+set}" = set; then :
3470 # Check whether --with-pthread was given.
3471 if test "${with_pthread+set}" = set; then :
3472 withval
=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h
=no
; fi
3476 # Check whether --with-pulse was given.
3477 if test "${with_pulse+set}" = set; then :
3478 withval
=$with_pulse;
3482 # Check whether --with-sane was given.
3483 if test "${with_sane+set}" = set; then :
3488 # Check whether --with-tiff was given.
3489 if test "${with_tiff+set}" = set; then :
3494 # Check whether --with-v4l was given.
3495 if test "${with_v4l+set}" = set; then :
3500 # Check whether --with-xcomposite was given.
3501 if test "${with_xcomposite+set}" = set; then :
3502 withval
=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h
=no
; fi
3506 # Check whether --with-xcursor was given.
3507 if test "${with_xcursor+set}" = set; then :
3508 withval
=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h
=no
; fi
3512 # Check whether --with-xinerama was given.
3513 if test "${with_xinerama+set}" = set; then :
3514 withval
=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h
=no
; fi
3518 # Check whether --with-xinput was given.
3519 if test "${with_xinput+set}" = set; then :
3520 withval
=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h
=no
; fi
3524 # Check whether --with-xinput2 was given.
3525 if test "${with_xinput2+set}" = set; then :
3526 withval
=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h
=no
; fi
3530 # Check whether --with-xml was given.
3531 if test "${with_xml+set}" = set; then :
3536 # Check whether --with-xrandr was given.
3537 if test "${with_xrandr+set}" = set; then :
3538 withval
=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h
=no
; fi
3542 # Check whether --with-xrender was given.
3543 if test "${with_xrender+set}" = set; then :
3544 withval
=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h
=no
; fi
3548 # Check whether --with-xshape was given.
3549 if test "${with_xshape+set}" = set; then :
3550 withval
=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h
=no
; fi
3554 # Check whether --with-xshm was given.
3555 if test "${with_xshm+set}" = set; then :
3556 withval
=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h
=no
; fi
3560 # Check whether --with-xslt was given.
3561 if test "${with_xslt+set}" = set; then :
3566 # Check whether --with-xxf86vm was given.
3567 if test "${with_xxf86vm+set}" = set; then :
3568 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
3572 # Check whether --with-zlib was given.
3573 if test "${with_zlib+set}" = set; then :
3574 withval
=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h
=no
; fi
3579 # Check whether --with-wine-tools was given.
3580 if test "${with_wine_tools+set}" = set; then :
3581 withval
=$with_wine_tools;
3585 # Check whether --with-wine64 was given.
3586 if test "${with_wine64+set}" = set; then :
3587 withval
=$with_wine64;
3591 # Make sure we can run config.sub.
3592 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
3593 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3596 $as_echo_n "checking build system type... " >&6; }
3597 if ${ac_cv_build+:} false
; then :
3598 $as_echo_n "(cached) " >&6
3600 ac_build_alias
=$build_alias
3601 test "x$ac_build_alias" = x
&&
3602 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
3603 test "x$ac_build_alias" = x
&&
3604 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
3605 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3606 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3610 $as_echo "$ac_cv_build" >&6; }
3611 case $ac_cv_build in
3613 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
3616 ac_save_IFS
=$IFS; IFS
='-'
3622 # Remember, the first character of IFS is used to create $*,
3623 # except with old shells:
3626 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
3629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3630 $as_echo_n "checking host system type... " >&6; }
3631 if ${ac_cv_host+:} false
; then :
3632 $as_echo_n "(cached) " >&6
3634 if test "x$host_alias" = x
; then
3635 ac_cv_host
=$ac_cv_build
3637 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3638 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3643 $as_echo "$ac_cv_host" >&6; }
3646 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
3649 ac_save_IFS
=$IFS; IFS
='-'
3655 # Remember, the first character of IFS is used to create $*,
3656 # except with old shells:
3659 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
3665 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
3666 as_fn_error $?
"you are building out of the source tree, but the source tree contains object files.
3667 You need to run 'make distclean' in the source tree first." "$LINENO" 5
3672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3673 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3675 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3676 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
3677 $as_echo_n "(cached) " >&6
3679 cat >conftest.
make <<\_ACEOF
3682 @
echo '@@@%%%=$(MAKE)=@@@%%%'
3684 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3685 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3687 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
3689 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
3693 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
3694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3695 $as_echo "yes" >&6; }
3698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3699 $as_echo "no" >&6; }
3700 SET_MAKE
="MAKE=${MAKE-make}"
3704 ac_cpp
='$CPP $CPPFLAGS'
3705 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3706 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3707 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3708 if test -n "$ac_tool_prefix"; then
3709 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3710 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3712 $as_echo_n "checking for $ac_word... " >&6; }
3713 if ${ac_cv_prog_CC+:} false
; then :
3714 $as_echo_n "(cached) " >&6
3716 if test -n "$CC"; then
3717 ac_cv_prog_CC
="$CC" # Let the user override the test.
3719 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3723 test -z "$as_dir" && as_dir
=.
3724 for ac_exec_ext
in '' $ac_executable_extensions; do
3725 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3726 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3727 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3737 if test -n "$CC"; then
3738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3739 $as_echo "$CC" >&6; }
3741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3742 $as_echo "no" >&6; }
3747 if test -z "$ac_cv_prog_CC"; then
3749 # Extract the first word of "gcc", so it can be a program name with args.
3750 set dummy gcc
; ac_word
=$2
3751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3752 $as_echo_n "checking for $ac_word... " >&6; }
3753 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3754 $as_echo_n "(cached) " >&6
3756 if test -n "$ac_ct_CC"; then
3757 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3759 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3763 test -z "$as_dir" && as_dir
=.
3764 for ac_exec_ext
in '' $ac_executable_extensions; do
3765 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3766 ac_cv_prog_ac_ct_CC
="gcc"
3767 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3776 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3777 if test -n "$ac_ct_CC"; then
3778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3779 $as_echo "$ac_ct_CC" >&6; }
3781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3782 $as_echo "no" >&6; }
3785 if test "x$ac_ct_CC" = x
; then
3788 case $cross_compiling:$ac_tool_warned in
3790 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3791 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3792 ac_tool_warned
=yes ;;
3800 if test -z "$CC"; then
3801 if test -n "$ac_tool_prefix"; then
3802 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3803 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3805 $as_echo_n "checking for $ac_word... " >&6; }
3806 if ${ac_cv_prog_CC+:} false
; then :
3807 $as_echo_n "(cached) " >&6
3809 if test -n "$CC"; then
3810 ac_cv_prog_CC
="$CC" # Let the user override the test.
3812 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3816 test -z "$as_dir" && as_dir
=.
3817 for ac_exec_ext
in '' $ac_executable_extensions; do
3818 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3819 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3820 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3830 if test -n "$CC"; then
3831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3832 $as_echo "$CC" >&6; }
3834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3835 $as_echo "no" >&6; }
3841 if test -z "$CC"; then
3842 # Extract the first word of "cc", so it can be a program name with args.
3843 set dummy cc
; ac_word
=$2
3844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3845 $as_echo_n "checking for $ac_word... " >&6; }
3846 if ${ac_cv_prog_CC+:} false
; then :
3847 $as_echo_n "(cached) " >&6
3849 if test -n "$CC"; then
3850 ac_cv_prog_CC
="$CC" # Let the user override the test.
3853 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3857 test -z "$as_dir" && as_dir
=.
3858 for ac_exec_ext
in '' $ac_executable_extensions; do
3859 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3860 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3861 ac_prog_rejected
=yes
3865 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3872 if test $ac_prog_rejected = yes; then
3873 # We found a bogon in the path, so make sure we never use it.
3874 set dummy
$ac_cv_prog_CC
3876 if test $# != 0; then
3877 # We chose a different compiler from the bogus one.
3878 # However, it has the same basename, so the bogon will be chosen
3879 # first if we set CC to just the basename; use the full file name.
3881 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3887 if test -n "$CC"; then
3888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3889 $as_echo "$CC" >&6; }
3891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3892 $as_echo "no" >&6; }
3897 if test -z "$CC"; then
3898 if test -n "$ac_tool_prefix"; then
3899 for ac_prog
in cl.exe
3901 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3902 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3904 $as_echo_n "checking for $ac_word... " >&6; }
3905 if ${ac_cv_prog_CC+:} false
; then :
3906 $as_echo_n "(cached) " >&6
3908 if test -n "$CC"; then
3909 ac_cv_prog_CC
="$CC" # Let the user override the test.
3911 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3915 test -z "$as_dir" && as_dir
=.
3916 for ac_exec_ext
in '' $ac_executable_extensions; do
3917 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3918 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3919 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3929 if test -n "$CC"; then
3930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3931 $as_echo "$CC" >&6; }
3933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3934 $as_echo "no" >&6; }
3938 test -n "$CC" && break
3941 if test -z "$CC"; then
3943 for ac_prog
in cl.exe
3945 # Extract the first word of "$ac_prog", so it can be a program name with args.
3946 set dummy
$ac_prog; ac_word
=$2
3947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3948 $as_echo_n "checking for $ac_word... " >&6; }
3949 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3950 $as_echo_n "(cached) " >&6
3952 if test -n "$ac_ct_CC"; then
3953 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3955 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3959 test -z "$as_dir" && as_dir
=.
3960 for ac_exec_ext
in '' $ac_executable_extensions; do
3961 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3962 ac_cv_prog_ac_ct_CC
="$ac_prog"
3963 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3972 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3973 if test -n "$ac_ct_CC"; then
3974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3975 $as_echo "$ac_ct_CC" >&6; }
3977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3978 $as_echo "no" >&6; }
3982 test -n "$ac_ct_CC" && break
3985 if test "x$ac_ct_CC" = x
; then
3988 case $cross_compiling:$ac_tool_warned in
3990 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3991 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3992 ac_tool_warned
=yes ;;
4001 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4002 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4003 as_fn_error $?
"no acceptable C compiler found in \$PATH
4004 See \`config.log' for more details" "$LINENO" 5; }
4006 # Provide some information about the compiler.
4007 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4010 for ac_option
in --version -v -V -qversion; do
4011 { { ac_try
="$ac_compiler $ac_option >&5"
4013 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4014 *) ac_try_echo=$ac_try;;
4016 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4017 $as_echo "$ac_try_echo"; } >&5
4018 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4020 if test -s conftest.err; then
4022 ... rest of stderr output deleted ...
4023 10q' conftest.err >conftest.er1
4024 cat conftest.er1 >&5
4026 rm -f conftest.er1 conftest.err
4027 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4028 test $ac_status = 0; }
4031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4032 /* end confdefs.h. */
4042 ac_clean_files_save=$ac_clean_files
4043 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4044 # Try to create an executable without -o first, disregard a.out.
4045 # It will help us diagnose broken compilers, and finding out an intuition
4047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4048 $as_echo_n "checking whether the C compiler works... " >&6; }
4049 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
4051 # The possible output files:
4052 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4055 for ac_file in $ac_files
4058 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4059 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4064 if { { ac_try="$ac_link_default"
4066 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4067 *) ac_try_echo
=$ac_try;;
4069 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4070 $as_echo "$ac_try_echo"; } >&5
4071 (eval "$ac_link_default") 2>&5
4073 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4074 test $ac_status = 0; }; then :
4075 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4076 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4077 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4078 # so that the user can short-circuit this test for compilers unknown to
4080 for ac_file
in $ac_files ''
4082 test -f "$ac_file" ||
continue
4084 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
4087 # We found the default executable, but exeext='' is most
4091 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
4093 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4095 # We set ac_cv_exeext here because the later test for it is not
4096 # safe: cross compilers may not add the suffix if given an `-o'
4097 # argument, so we may need to know it at that point already.
4098 # Even if this section looks crufty: it has the advantage of
4105 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
4110 if test -z "$ac_file"; then :
4111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4112 $as_echo "no" >&6; }
4113 $as_echo "$as_me: failed program was:" >&5
4114 sed 's/^/| /' conftest.
$ac_ext >&5
4116 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4117 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4118 as_fn_error
77 "C compiler cannot create executables
4119 See \`config.log' for more details" "$LINENO" 5; }
4121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4122 $as_echo "yes" >&6; }
4124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4125 $as_echo_n "checking for C compiler default output file name... " >&6; }
4126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4127 $as_echo "$ac_file" >&6; }
4128 ac_exeext
=$ac_cv_exeext
4130 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
4131 ac_clean_files
=$ac_clean_files_save
4132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4133 $as_echo_n "checking for suffix of executables... " >&6; }
4134 if { { ac_try
="$ac_link"
4136 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4137 *) ac_try_echo=$ac_try;;
4139 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4140 $as_echo "$ac_try_echo"; } >&5
4141 (eval "$ac_link") 2>&5
4143 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4144 test $ac_status = 0; }; then :
4145 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
4146 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
4147 # work properly (i.e., refer to `conftest.exe'), while it won't with
4149 for ac_file
in conftest.exe conftest conftest.
*; do
4150 test -f "$ac_file" ||
continue
4152 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
4153 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4159 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4160 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4161 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
4162 See \`config.log' for more details" "$LINENO" 5; }
4164 rm -f conftest conftest
$ac_cv_exeext
4165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4166 $as_echo "$ac_cv_exeext" >&6; }
4168 rm -f conftest.
$ac_ext
4169 EXEEXT
=$ac_cv_exeext
4171 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4172 /* end confdefs.h. */
4177 FILE *f = fopen ("conftest.out", "w");
4178 return ferror (f) || fclose (f) != 0;
4184 ac_clean_files
="$ac_clean_files conftest.out"
4185 # Check that the compiler produces executables we can run. If not, either
4186 # the compiler is broken, or we cross compile.
4187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4188 $as_echo_n "checking whether we are cross compiling... " >&6; }
4189 if test "$cross_compiling" != yes; then
4190 { { ac_try
="$ac_link"
4192 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4193 *) ac_try_echo=$ac_try;;
4195 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4196 $as_echo "$ac_try_echo"; } >&5
4197 (eval "$ac_link") 2>&5
4199 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4200 test $ac_status = 0; }
4201 if { ac_try='./conftest$ac_cv_exeext'
4202 { { case "(($ac_try" in
4203 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4204 *) ac_try_echo
=$ac_try;;
4206 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4207 $as_echo "$ac_try_echo"; } >&5
4208 (eval "$ac_try") 2>&5
4210 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4211 test $ac_status = 0; }; }; then
4214 if test "$cross_compiling" = maybe
; then
4217 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4218 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4219 as_fn_error $?
"cannot run C compiled programs.
4220 If you meant to cross compile, use \`--host'.
4221 See \`config.log' for more details" "$LINENO" 5; }
4225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4226 $as_echo "$cross_compiling" >&6; }
4228 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
4229 ac_clean_files
=$ac_clean_files_save
4230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4231 $as_echo_n "checking for suffix of object files... " >&6; }
4232 if ${ac_cv_objext+:} false
; then :
4233 $as_echo_n "(cached) " >&6
4235 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4236 /* end confdefs.h. */
4246 rm -f conftest.o conftest.obj
4247 if { { ac_try
="$ac_compile"
4249 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4250 *) ac_try_echo=$ac_try;;
4252 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4253 $as_echo "$ac_try_echo"; } >&5
4254 (eval "$ac_compile") 2>&5
4256 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4257 test $ac_status = 0; }; then :
4258 for ac_file in conftest.o conftest.obj conftest.*; do
4259 test -f "$ac_file" || continue;
4261 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4262 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4267 $as_echo "$as_me: failed program was:" >&5
4268 sed 's/^/| /' conftest.$ac_ext >&5
4270 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4271 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4272 as_fn_error $? "cannot compute suffix of object files
: cannot compile
4273 See \
`config.log' for more details" "$LINENO" 5; }
4275 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4278 $as_echo "$ac_cv_objext" >&6; }
4279 OBJEXT=$ac_cv_objext
4281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4282 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4283 if ${ac_cv_c_compiler_gnu+:} false; then :
4284 $as_echo_n "(cached) " >&6
4286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4287 /* end confdefs.h. */
4300 if ac_fn_c_try_compile "$LINENO"; then :
4305 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4306 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4310 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4311 if test $ac_compiler_gnu = yes; then
4316 ac_test_CFLAGS=${CFLAGS+set}
4317 ac_save_CFLAGS=$CFLAGS
4318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4319 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4320 if ${ac_cv_prog_cc_g+:} false; then :
4321 $as_echo_n "(cached) " >&6
4323 ac_save_c_werror_flag=$ac_c_werror_flag
4324 ac_c_werror_flag=yes
4327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4328 /* end confdefs.h. */
4338 if ac_fn_c_try_compile "$LINENO"; then :
4342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4343 /* end confdefs.h. */
4353 if ac_fn_c_try_compile "$LINENO"; then :
4356 ac_c_werror_flag=$ac_save_c_werror_flag
4358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4359 /* end confdefs.h. */
4369 if ac_fn_c_try_compile "$LINENO"; then :
4372 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4374 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4376 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4377 ac_c_werror_flag=$ac_save_c_werror_flag
4379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4380 $as_echo "$ac_cv_prog_cc_g" >&6; }
4381 if test "$ac_test_CFLAGS" = set; then
4382 CFLAGS=$ac_save_CFLAGS
4383 elif test $ac_cv_prog_cc_g = yes; then
4384 if test "$GCC" = yes; then
4390 if test "$GCC" = yes; then
4396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4397 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4398 if ${ac_cv_prog_cc_c89+:} false; then :
4399 $as_echo_n "(cached) " >&6
4401 ac_cv_prog_cc_c89=no
4403 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4404 /* end confdefs.h. */
4408 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4409 struct buf { int x; };
4410 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4411 static char *e (p, i)
4417 static char *f (char * (*g) (char **, int), char **p, ...)
4422 s = g (p, va_arg (v,int));
4427 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4428 function prototypes and stuff, but not '\xHH' hex character constants.
4429 These don't provoke an error unfortunately, instead are silently treated
4430 as 'x'. The following induces an error, until -std is added to get
4431 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4432 array size at least. It's necessary to write '\x00'==0 to get something
4433 that's true only with -std. */
4434 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4436 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4437 inside strings and character constants. */
4439 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4441 int test (int i, double x);
4442 struct s1 {int (*f) (int a);};
4443 struct s2 {int (*f) (double a);};
4444 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4450 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4455 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4456 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4458 CC="$ac_save_CC $ac_arg"
4459 if ac_fn_c_try_compile "$LINENO"; then :
4460 ac_cv_prog_cc_c89=$ac_arg
4462 rm -f core conftest.err conftest.$ac_objext
4463 test "x$ac_cv_prog_cc_c89" != "xno" && break
4465 rm -f conftest.$ac_ext
4470 case "x$ac_cv_prog_cc_c89" in
4472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4473 $as_echo "none needed" >&6; } ;;
4475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4476 $as_echo "unsupported" >&6; } ;;
4478 CC="$CC $ac_cv_prog_cc_c89"
4479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4480 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4482 if test "x$ac_cv_prog_cc_c89" != xno; then :
4487 ac_cpp='$CPP $CPPFLAGS'
4488 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4489 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4490 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4493 ac_cpp='$CXXCPP $CPPFLAGS'
4494 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4495 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4496 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4497 if test -z "$CXX"; then
4498 if test -n "$CCC"; then
4501 if test -n "$ac_tool_prefix"; then
4502 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4504 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4505 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4507 $as_echo_n "checking for $ac_word... " >&6; }
4508 if ${ac_cv_prog_CXX+:} false; then :
4509 $as_echo_n "(cached) " >&6
4511 if test -n "$CXX"; then
4512 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4514 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4518 test -z "$as_dir" && as_dir=.
4519 for ac_exec_ext in '' $ac_executable_extensions; do
4520 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4521 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4522 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4532 if test -n "$CXX"; then
4533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4534 $as_echo "$CXX" >&6; }
4536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4537 $as_echo "no" >&6; }
4541 test -n "$CXX" && break
4544 if test -z "$CXX"; then
4546 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4548 # Extract the first word of "$ac_prog", so it can be a program name with args.
4549 set dummy $ac_prog; ac_word=$2
4550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4551 $as_echo_n "checking for $ac_word... " >&6; }
4552 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4553 $as_echo_n "(cached) " >&6
4555 if test -n "$ac_ct_CXX"; then
4556 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4558 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4562 test -z "$as_dir" && as_dir=.
4563 for ac_exec_ext in '' $ac_executable_extensions; do
4564 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4565 ac_cv_prog_ac_ct_CXX="$ac_prog"
4566 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4575 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4576 if test -n "$ac_ct_CXX"; then
4577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4578 $as_echo "$ac_ct_CXX" >&6; }
4580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4581 $as_echo "no" >&6; }
4585 test -n "$ac_ct_CXX" && break
4588 if test "x$ac_ct_CXX" = x; then
4591 case $cross_compiling:$ac_tool_warned in
4593 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4594 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4595 ac_tool_warned=yes ;;
4603 # Provide some information about the compiler.
4604 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4607 for ac_option in --version -v -V -qversion; do
4608 { { ac_try="$ac_compiler $ac_option >&5"
4610 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4611 *) ac_try_echo
=$ac_try;;
4613 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4614 $as_echo "$ac_try_echo"; } >&5
4615 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4617 if test -s conftest.err
; then
4619 ... rest of stderr output deleted ...
4620 10q' conftest.err
>conftest.er1
4621 cat conftest.er1
>&5
4623 rm -f conftest.er1 conftest.err
4624 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4625 test $ac_status = 0; }
4628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4629 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4630 if ${ac_cv_cxx_compiler_gnu+:} false
; then :
4631 $as_echo_n "(cached) " >&6
4633 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4634 /* end confdefs.h. */
4647 if ac_fn_cxx_try_compile
"$LINENO"; then :
4652 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4653 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
4656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4657 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4658 if test $ac_compiler_gnu = yes; then
4663 ac_test_CXXFLAGS
=${CXXFLAGS+set}
4664 ac_save_CXXFLAGS
=$CXXFLAGS
4665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4666 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4667 if ${ac_cv_prog_cxx_g+:} false
; then :
4668 $as_echo_n "(cached) " >&6
4670 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
4671 ac_cxx_werror_flag
=yes
4674 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4675 /* end confdefs.h. */
4685 if ac_fn_cxx_try_compile
"$LINENO"; then :
4686 ac_cv_prog_cxx_g
=yes
4689 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4690 /* end confdefs.h. */
4700 if ac_fn_cxx_try_compile
"$LINENO"; then :
4703 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4705 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4706 /* end confdefs.h. */
4716 if ac_fn_cxx_try_compile
"$LINENO"; then :
4717 ac_cv_prog_cxx_g
=yes
4719 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4721 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4723 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4724 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4727 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4728 if test "$ac_test_CXXFLAGS" = set; then
4729 CXXFLAGS
=$ac_save_CXXFLAGS
4730 elif test $ac_cv_prog_cxx_g = yes; then
4731 if test "$GXX" = yes; then
4737 if test "$GXX" = yes; then
4744 ac_cpp
='$CPP $CPPFLAGS'
4745 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4746 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4747 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4749 if test -n "$ac_tool_prefix"; then
4750 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
4751 set dummy
${ac_tool_prefix}cpp
; ac_word
=$2
4752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4753 $as_echo_n "checking for $ac_word... " >&6; }
4754 if ${ac_cv_prog_CPPBIN+:} false
; then :
4755 $as_echo_n "(cached) " >&6
4757 if test -n "$CPPBIN"; then
4758 ac_cv_prog_CPPBIN
="$CPPBIN" # Let the user override the test.
4760 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4764 test -z "$as_dir" && as_dir
=.
4765 for ac_exec_ext
in '' $ac_executable_extensions; do
4766 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4767 ac_cv_prog_CPPBIN
="${ac_tool_prefix}cpp"
4768 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4777 CPPBIN
=$ac_cv_prog_CPPBIN
4778 if test -n "$CPPBIN"; then
4779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
4780 $as_echo "$CPPBIN" >&6; }
4782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4783 $as_echo "no" >&6; }
4788 if test -z "$ac_cv_prog_CPPBIN"; then
4789 ac_ct_CPPBIN
=$CPPBIN
4790 # Extract the first word of "cpp", so it can be a program name with args.
4791 set dummy cpp
; ac_word
=$2
4792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4793 $as_echo_n "checking for $ac_word... " >&6; }
4794 if ${ac_cv_prog_ac_ct_CPPBIN+:} false
; then :
4795 $as_echo_n "(cached) " >&6
4797 if test -n "$ac_ct_CPPBIN"; then
4798 ac_cv_prog_ac_ct_CPPBIN
="$ac_ct_CPPBIN" # Let the user override the test.
4800 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4804 test -z "$as_dir" && as_dir
=.
4805 for ac_exec_ext
in '' $ac_executable_extensions; do
4806 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4807 ac_cv_prog_ac_ct_CPPBIN
="cpp"
4808 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4817 ac_ct_CPPBIN
=$ac_cv_prog_ac_ct_CPPBIN
4818 if test -n "$ac_ct_CPPBIN"; then
4819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
4820 $as_echo "$ac_ct_CPPBIN" >&6; }
4822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4823 $as_echo "no" >&6; }
4826 if test "x$ac_ct_CPPBIN" = x
; then
4829 case $cross_compiling:$ac_tool_warned in
4831 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4832 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4833 ac_tool_warned
=yes ;;
4835 CPPBIN
=$ac_ct_CPPBIN
4838 CPPBIN
="$ac_cv_prog_CPPBIN"
4842 cat >>confdefs.h
<<_ACEOF
4843 #define EXEEXT "$ac_exeext"
4846 if test -n "$ac_tool_prefix"; then
4847 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
4848 set dummy
${ac_tool_prefix}ld
; ac_word
=$2
4849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4850 $as_echo_n "checking for $ac_word... " >&6; }
4851 if ${ac_cv_prog_LD+:} false
; then :
4852 $as_echo_n "(cached) " >&6
4854 if test -n "$LD"; then
4855 ac_cv_prog_LD
="$LD" # Let the user override the test.
4857 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4861 test -z "$as_dir" && as_dir
=.
4862 for ac_exec_ext
in '' $ac_executable_extensions; do
4863 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4864 ac_cv_prog_LD
="${ac_tool_prefix}ld"
4865 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4875 if test -n "$LD"; then
4876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4877 $as_echo "$LD" >&6; }
4879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4880 $as_echo "no" >&6; }
4885 if test -z "$ac_cv_prog_LD"; then
4887 # Extract the first word of "ld", so it can be a program name with args.
4888 set dummy ld
; ac_word
=$2
4889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4890 $as_echo_n "checking for $ac_word... " >&6; }
4891 if ${ac_cv_prog_ac_ct_LD+:} false
; then :
4892 $as_echo_n "(cached) " >&6
4894 if test -n "$ac_ct_LD"; then
4895 ac_cv_prog_ac_ct_LD
="$ac_ct_LD" # Let the user override the test.
4897 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4901 test -z "$as_dir" && as_dir
=.
4902 for ac_exec_ext
in '' $ac_executable_extensions; do
4903 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4904 ac_cv_prog_ac_ct_LD
="ld"
4905 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4914 ac_ct_LD
=$ac_cv_prog_ac_ct_LD
4915 if test -n "$ac_ct_LD"; then
4916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
4917 $as_echo "$ac_ct_LD" >&6; }
4919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4920 $as_echo "no" >&6; }
4923 if test "x$ac_ct_LD" = x
; then
4926 case $cross_compiling:$ac_tool_warned in
4928 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4929 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4930 ac_tool_warned
=yes ;;
4941 if test "x$enable_win64" = "xyes"
4946 notice_platform
="64-bit "
4953 notice_platform
="32-bit "
4956 enable_win16
=${enable_win16:-yes}
4958 with_fontconfig
=${with_fontconfig:-no}
4961 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
4965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
4966 $as_echo_n "checking whether $CC works... " >&6; }
4968 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4969 /* end confdefs.h. */
4979 if ac_fn_c_try_link
"$LINENO"; then :
4980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4981 $as_echo "yes" >&6; }
4983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4984 $as_echo "no" >&6; }
4985 as_fn_error $?
"Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
4987 rm -f core conftest.err conftest.
$ac_objext \
4988 conftest
$ac_exeext conftest.
$ac_ext
4990 notice_platform
="32-bit "
4993 enable_win16
=${enable_win16:-yes}
4995 if test "x${GCC}" = "xyes"
4997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
4998 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
4999 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5000 /* end confdefs.h. */
5005 void func(__builtin_ms_va_list *args);
5010 if ac_fn_c_try_compile
"$LINENO"; then :
5011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5012 $as_echo "yes" >&6; }
5014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5015 $as_echo "no" >&6; }
5016 as_fn_error $?
"You need gcc >= 4.4 to build Wine as 64-bit." "$LINENO" 5
5018 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
5027 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
5028 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5029 /* end confdefs.h. */
5030 int ac_test(int i) { return i; }
5034 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
5039 if ac_fn_c_try_link
"$LINENO"; then :
5040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5041 $as_echo "yes" >&6; }
5043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5044 $as_echo "no" >&6; }
5045 as_fn_error $?
"You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
5047 rm -f core conftest.err conftest.
$ac_objext \
5048 conftest
$ac_exeext conftest.
$ac_ext
5049 CFLAGS
="$CFLAGS -marm"
5053 *-mingw32*|
*-cygwin*)
5054 enable_win16
=${enable_win16:-no}
5055 CFLAGS
="$CFLAGS -D_WIN32"
5058 enable_win16
=${enable_win16:-yes}
5062 enable_win16
=${enable_win16:-no}
5063 enable_win64
=${enable_win64:-no}
5065 enable_winetest
=${enable_winetest:-$enable_tests}
5067 if test -n "$with_wine64"
5069 if test "x$enable_win64" = "xyes"
5071 as_fn_error $?
"--enable-win64 and --with-wine64 are mutually exclusive.
5072 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
5074 test "$srcdir" != . || as_fn_error $?
"--with-wine64 cannot be used when building inside the source tree.
5075 You should create a separate build directory and run configure from there." "$LINENO" 5
5076 enable_fonts
=${enable_fonts:-no}
5077 enable_server
=${enable_server:-no}
5078 elif test "x$enable_win64" = "xyes"
5080 test "x$libdir" != "x\${exec_prefix}/lib" || libdir
="\${exec_prefix}/lib64"
5083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
5084 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
5085 if ${wine_cv_toolsdir+:} false
; then :
5086 $as_echo_n "(cached) " >&6
5088 wine_cv_toolsdir
="$with_wine_tools"
5089 if test -z "$with_wine_tools"; then
5090 if test "$cross_compiling" = "yes"; then
5091 as_fn_error $?
"you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
5092 elif test -n "$with_wine64"; then
5093 wine_cv_toolsdir
="$with_wine64"
5096 if test -z "$wine_cv_toolsdir"; then
5097 wine_makedep
=tools
/makedep
5098 wine_cv_toolsdir
="\$(top_builddir)"
5099 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5100 wine_makedep
=$wine_cv_toolsdir/tools
/makedep
5101 case "$wine_cv_toolsdir" in
5103 *) wine_cv_toolsdir
="\$(top_builddir)/$wine_cv_toolsdir" ;;
5105 enable_tools
=${enable_tools:-no}
5106 test -f "$wine_makedep" || as_fn_error $?
"the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5108 as_fn_error $?
"could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5112 $as_echo "$wine_cv_toolsdir" >&6; }
5113 TOOLSDIR
=$wine_cv_toolsdir
5115 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5117 TARGETFLAGS
="-b $host_alias $TARGETFLAGS"
5123 # Extract the first word of "$ac_prog", so it can be a program name with args.
5124 set dummy
$ac_prog; ac_word
=$2
5125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5126 $as_echo_n "checking for $ac_word... " >&6; }
5127 if ${ac_cv_prog_FLEX+:} false
; then :
5128 $as_echo_n "(cached) " >&6
5130 if test -n "$FLEX"; then
5131 ac_cv_prog_FLEX
="$FLEX" # Let the user override the test.
5133 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5137 test -z "$as_dir" && as_dir
=.
5138 for ac_exec_ext
in '' $ac_executable_extensions; do
5139 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5140 ac_cv_prog_FLEX
="$ac_prog"
5141 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5150 FLEX
=$ac_cv_prog_FLEX
5151 if test -n "$FLEX"; then
5152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5153 $as_echo "$FLEX" >&6; }
5155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5156 $as_echo "no" >&6; }
5160 test -n "$FLEX" && break
5162 test -n "$FLEX" || FLEX
="none"
5164 if test "$FLEX" = "none"
5166 as_fn_error $?
"no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5169 $as_echo_n "checking whether flex is recent enough... " >&6; }
5170 cat >conftest.l
<<EOF
5172 #include "prediluvian.h"
5176 if $FLEX -t conftest.l
>/dev
/null
2>&5
5178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5179 $as_echo "yes" >&6; }
5181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5182 $as_echo "no" >&6; }
5183 as_fn_error $?
"Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
5186 for ac_prog
in bison
5188 # Extract the first word of "$ac_prog", so it can be a program name with args.
5189 set dummy
$ac_prog; ac_word
=$2
5190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5191 $as_echo_n "checking for $ac_word... " >&6; }
5192 if ${ac_cv_prog_BISON+:} false
; then :
5193 $as_echo_n "(cached) " >&6
5195 if test -n "$BISON"; then
5196 ac_cv_prog_BISON
="$BISON" # Let the user override the test.
5198 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5202 test -z "$as_dir" && as_dir
=.
5203 for ac_exec_ext
in '' $ac_executable_extensions; do
5204 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5205 ac_cv_prog_BISON
="$ac_prog"
5206 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5215 BISON
=$ac_cv_prog_BISON
5216 if test -n "$BISON"; then
5217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5218 $as_echo "$BISON" >&6; }
5220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5221 $as_echo "no" >&6; }
5225 test -n "$BISON" && break
5227 test -n "$BISON" || BISON
="none"
5229 if test "$BISON" = "none"
5231 as_fn_error $?
"no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5234 if test -n "$ac_tool_prefix"; then
5235 for ac_prog
in ar gar
5237 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5238 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5240 $as_echo_n "checking for $ac_word... " >&6; }
5241 if ${ac_cv_prog_AR+:} false
; then :
5242 $as_echo_n "(cached) " >&6
5244 if test -n "$AR"; then
5245 ac_cv_prog_AR
="$AR" # Let the user override the test.
5247 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5251 test -z "$as_dir" && as_dir
=.
5252 for ac_exec_ext
in '' $ac_executable_extensions; do
5253 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5254 ac_cv_prog_AR
="$ac_tool_prefix$ac_prog"
5255 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5265 if test -n "$AR"; then
5266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5267 $as_echo "$AR" >&6; }
5269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5270 $as_echo "no" >&6; }
5274 test -n "$AR" && break
5277 if test -z "$AR"; then
5279 for ac_prog
in ar gar
5281 # Extract the first word of "$ac_prog", so it can be a program name with args.
5282 set dummy
$ac_prog; ac_word
=$2
5283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5284 $as_echo_n "checking for $ac_word... " >&6; }
5285 if ${ac_cv_prog_ac_ct_AR+:} false
; then :
5286 $as_echo_n "(cached) " >&6
5288 if test -n "$ac_ct_AR"; then
5289 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
5291 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5295 test -z "$as_dir" && as_dir
=.
5296 for ac_exec_ext
in '' $ac_executable_extensions; do
5297 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5298 ac_cv_prog_ac_ct_AR
="$ac_prog"
5299 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5308 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
5309 if test -n "$ac_ct_AR"; then
5310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5311 $as_echo "$ac_ct_AR" >&6; }
5313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5314 $as_echo "no" >&6; }
5318 test -n "$ac_ct_AR" && break
5321 if test "x$ac_ct_AR" = x
; then
5324 case $cross_compiling:$ac_tool_warned in
5326 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5327 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5328 ac_tool_warned
=yes ;;
5334 if test -n "$ac_tool_prefix"; then
5335 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5336 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
5337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5338 $as_echo_n "checking for $ac_word... " >&6; }
5339 if ${ac_cv_prog_STRIP+:} false
; then :
5340 $as_echo_n "(cached) " >&6
5342 if test -n "$STRIP"; then
5343 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
5345 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5349 test -z "$as_dir" && as_dir
=.
5350 for ac_exec_ext
in '' $ac_executable_extensions; do
5351 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5352 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
5353 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5362 STRIP
=$ac_cv_prog_STRIP
5363 if test -n "$STRIP"; then
5364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5365 $as_echo "$STRIP" >&6; }
5367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5368 $as_echo "no" >&6; }
5373 if test -z "$ac_cv_prog_STRIP"; then
5375 # Extract the first word of "strip", so it can be a program name with args.
5376 set dummy strip
; ac_word
=$2
5377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5378 $as_echo_n "checking for $ac_word... " >&6; }
5379 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
5380 $as_echo_n "(cached) " >&6
5382 if test -n "$ac_ct_STRIP"; then
5383 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
5385 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5389 test -z "$as_dir" && as_dir
=.
5390 for ac_exec_ext
in '' $ac_executable_extensions; do
5391 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5392 ac_cv_prog_ac_ct_STRIP
="strip"
5393 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5402 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
5403 if test -n "$ac_ct_STRIP"; then
5404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5405 $as_echo "$ac_ct_STRIP" >&6; }
5407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5408 $as_echo "no" >&6; }
5411 if test "x$ac_ct_STRIP" = x
; then
5414 case $cross_compiling:$ac_tool_warned in
5416 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5417 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5418 ac_tool_warned
=yes ;;
5423 STRIP
="$ac_cv_prog_STRIP"
5428 if test -n "$ac_tool_prefix"; then
5429 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5430 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
5431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5432 $as_echo_n "checking for $ac_word... " >&6; }
5433 if ${ac_cv_prog_RANLIB+:} false
; then :
5434 $as_echo_n "(cached) " >&6
5436 if test -n "$RANLIB"; then
5437 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
5439 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5443 test -z "$as_dir" && as_dir
=.
5444 for ac_exec_ext
in '' $ac_executable_extensions; do
5445 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5446 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
5447 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5456 RANLIB
=$ac_cv_prog_RANLIB
5457 if test -n "$RANLIB"; then
5458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5459 $as_echo "$RANLIB" >&6; }
5461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5462 $as_echo "no" >&6; }
5467 if test -z "$ac_cv_prog_RANLIB"; then
5468 ac_ct_RANLIB
=$RANLIB
5469 # Extract the first word of "ranlib", so it can be a program name with args.
5470 set dummy ranlib
; ac_word
=$2
5471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5472 $as_echo_n "checking for $ac_word... " >&6; }
5473 if ${ac_cv_prog_ac_ct_RANLIB+:} false
; then :
5474 $as_echo_n "(cached) " >&6
5476 if test -n "$ac_ct_RANLIB"; then
5477 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
5479 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5483 test -z "$as_dir" && as_dir
=.
5484 for ac_exec_ext
in '' $ac_executable_extensions; do
5485 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5486 ac_cv_prog_ac_ct_RANLIB
="ranlib"
5487 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5496 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
5497 if test -n "$ac_ct_RANLIB"; then
5498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5499 $as_echo "$ac_ct_RANLIB" >&6; }
5501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5502 $as_echo "no" >&6; }
5505 if test "x$ac_ct_RANLIB" = x
; then
5508 case $cross_compiling:$ac_tool_warned in
5510 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5511 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5512 ac_tool_warned
=yes ;;
5514 RANLIB
=$ac_ct_RANLIB
5517 RANLIB
="$ac_cv_prog_RANLIB"
5520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5521 $as_echo_n "checking whether ln -s works... " >&6; }
5523 if test "$LN_S" = "ln -s"; then
5524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5525 $as_echo "yes" >&6; }
5527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5528 $as_echo "no, using $LN_S" >&6; }
5531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5532 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5533 if ${ac_cv_path_GREP+:} false
; then :
5534 $as_echo_n "(cached) " >&6
5536 if test -z "$GREP"; then
5537 ac_path_GREP_found
=false
5538 # Loop through the user's path and test for each of PROGNAME-LIST
5539 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5540 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5543 test -z "$as_dir" && as_dir
=.
5544 for ac_prog
in grep ggrep
; do
5545 for ac_exec_ext
in '' $ac_executable_extensions; do
5546 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
5547 as_fn_executable_p
"$ac_path_GREP" ||
continue
5548 # Check for GNU ac_path_GREP and select it if it is found.
5549 # Check for GNU $ac_path_GREP
5550 case `"$ac_path_GREP" --version 2>&1` in
5552 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
5555 $as_echo_n 0123456789 >"conftest.in"
5558 cat "conftest.in" "conftest.in" >"conftest.tmp"
5559 mv "conftest.tmp" "conftest.in"
5560 cp "conftest.in" "conftest.nl"
5561 $as_echo 'GREP' >> "conftest.nl"
5562 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5563 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5564 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5565 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5566 # Best one so far, save it but keep looking for a better one
5567 ac_cv_path_GREP
="$ac_path_GREP"
5568 ac_path_GREP_max
=$ac_count
5570 # 10*(2^10) chars as input seems more than enough
5571 test $ac_count -gt 10 && break
5573 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5576 $ac_path_GREP_found && break 3
5581 if test -z "$ac_cv_path_GREP"; then
5582 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5585 ac_cv_path_GREP
=$GREP
5589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5590 $as_echo "$ac_cv_path_GREP" >&6; }
5591 GREP
="$ac_cv_path_GREP"
5594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5595 $as_echo_n "checking for egrep... " >&6; }
5596 if ${ac_cv_path_EGREP+:} false
; then :
5597 $as_echo_n "(cached) " >&6
5599 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
5600 then ac_cv_path_EGREP
="$GREP -E"
5602 if test -z "$EGREP"; then
5603 ac_path_EGREP_found
=false
5604 # Loop through the user's path and test for each of PROGNAME-LIST
5605 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5606 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5609 test -z "$as_dir" && as_dir
=.
5610 for ac_prog
in egrep; do
5611 for ac_exec_ext
in '' $ac_executable_extensions; do
5612 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
5613 as_fn_executable_p
"$ac_path_EGREP" ||
continue
5614 # Check for GNU ac_path_EGREP and select it if it is found.
5615 # Check for GNU $ac_path_EGREP
5616 case `"$ac_path_EGREP" --version 2>&1` in
5618 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
5621 $as_echo_n 0123456789 >"conftest.in"
5624 cat "conftest.in" "conftest.in" >"conftest.tmp"
5625 mv "conftest.tmp" "conftest.in"
5626 cp "conftest.in" "conftest.nl"
5627 $as_echo 'EGREP' >> "conftest.nl"
5628 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5629 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5630 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5631 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5632 # Best one so far, save it but keep looking for a better one
5633 ac_cv_path_EGREP
="$ac_path_EGREP"
5634 ac_path_EGREP_max
=$ac_count
5636 # 10*(2^10) chars as input seems more than enough
5637 test $ac_count -gt 10 && break
5639 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5642 $ac_path_EGREP_found && break 3
5647 if test -z "$ac_cv_path_EGREP"; then
5648 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5651 ac_cv_path_EGREP
=$EGREP
5656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5657 $as_echo "$ac_cv_path_EGREP" >&6; }
5658 EGREP
="$ac_cv_path_EGREP"
5661 # Extract the first word of "ldconfig", so it can be a program name with args.
5662 set dummy ldconfig
; ac_word
=$2
5663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5664 $as_echo_n "checking for $ac_word... " >&6; }
5665 if ${ac_cv_path_LDCONFIG+:} false
; then :
5666 $as_echo_n "(cached) " >&6
5670 ac_cv_path_LDCONFIG
="$LDCONFIG" # Let the user override the test with a path.
5673 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5674 for as_dir
in /sbin
/usr
/sbin
$PATH
5677 test -z "$as_dir" && as_dir
=.
5678 for ac_exec_ext
in '' $ac_executable_extensions; do
5679 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5680 ac_cv_path_LDCONFIG
="$as_dir/$ac_word$ac_exec_ext"
5681 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5688 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG
="true"
5692 LDCONFIG
=$ac_cv_path_LDCONFIG
5693 if test -n "$LDCONFIG"; then
5694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
5695 $as_echo "$LDCONFIG" >&6; }
5697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5698 $as_echo "no" >&6; }
5702 for ac_prog
in msgfmt
5704 # Extract the first word of "$ac_prog", so it can be a program name with args.
5705 set dummy
$ac_prog; ac_word
=$2
5706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5707 $as_echo_n "checking for $ac_word... " >&6; }
5708 if ${ac_cv_prog_MSGFMT+:} false
; then :
5709 $as_echo_n "(cached) " >&6
5711 if test -n "$MSGFMT"; then
5712 ac_cv_prog_MSGFMT
="$MSGFMT" # Let the user override the test.
5714 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5718 test -z "$as_dir" && as_dir
=.
5719 for ac_exec_ext
in '' $ac_executable_extensions; do
5720 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5721 ac_cv_prog_MSGFMT
="$ac_prog"
5722 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5731 MSGFMT
=$ac_cv_prog_MSGFMT
5732 if test -n "$MSGFMT"; then
5733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5734 $as_echo "$MSGFMT" >&6; }
5736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5737 $as_echo "no" >&6; }
5741 test -n "$MSGFMT" && break
5743 test -n "$MSGFMT" || MSGFMT
="false"
5745 if ${ac_tool_prefix+:} false
; then :
5746 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5747 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
5748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5749 $as_echo_n "checking for $ac_word... " >&6; }
5750 if ${ac_cv_prog_PKG_CONFIG+:} false
; then :
5751 $as_echo_n "(cached) " >&6
5753 if test -n "$PKG_CONFIG"; then
5754 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
5756 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5760 test -z "$as_dir" && as_dir
=.
5761 for ac_exec_ext
in '' $ac_executable_extensions; do
5762 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5763 ac_cv_prog_PKG_CONFIG
="${ac_tool_prefix}pkg-config"
5764 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5773 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
5774 if test -n "$PKG_CONFIG"; then
5775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5776 $as_echo "$PKG_CONFIG" >&6; }
5778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5779 $as_echo "no" >&6; }
5784 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
5785 if test "x$cross_compiling" = xyes
; then :
5788 { ac_cv_prog_PKG_CONFIG
=; unset ac_cv_prog_PKG_CONFIG
;}
5789 # Extract the first word of "pkg-config", so it can be a program name with args.
5790 set dummy pkg-config
; ac_word
=$2
5791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5792 $as_echo_n "checking for $ac_word... " >&6; }
5793 if ${ac_cv_prog_PKG_CONFIG+:} false
; then :
5794 $as_echo_n "(cached) " >&6
5796 if test -n "$PKG_CONFIG"; then
5797 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
5799 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5803 test -z "$as_dir" && as_dir
=.
5804 for ac_exec_ext
in '' $ac_executable_extensions; do
5805 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5806 ac_cv_prog_PKG_CONFIG
="pkg-config"
5807 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5816 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
5817 if test -n "$PKG_CONFIG"; then
5818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5819 $as_echo "$PKG_CONFIG" >&6; }
5821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5822 $as_echo "no" >&6; }
5828 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
5831 if test "x$enable_maintainer_mode" != "xyes"
5838 test "$srcdir" = . || as_fn_error $?
"Maintainer mode cannot work out of tree." "$LINENO" 5
5839 for ac_prog
in fontforge
5841 # Extract the first word of "$ac_prog", so it can be a program name with args.
5842 set dummy
$ac_prog; ac_word
=$2
5843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5844 $as_echo_n "checking for $ac_word... " >&6; }
5845 if ${ac_cv_prog_FONTFORGE+:} false
; then :
5846 $as_echo_n "(cached) " >&6
5848 if test -n "$FONTFORGE"; then
5849 ac_cv_prog_FONTFORGE
="$FONTFORGE" # Let the user override the test.
5851 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5855 test -z "$as_dir" && as_dir
=.
5856 for ac_exec_ext
in '' $ac_executable_extensions; do
5857 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5858 ac_cv_prog_FONTFORGE
="$ac_prog"
5859 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5868 FONTFORGE
=$ac_cv_prog_FONTFORGE
5869 if test -n "$FONTFORGE"; then
5870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
5871 $as_echo "$FONTFORGE" >&6; }
5873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5874 $as_echo "no" >&6; }
5878 test -n "$FONTFORGE" && break
5880 test -n "$FONTFORGE" || FONTFORGE
="false"
5882 for ac_prog
in rsvg-convert rsvg
5884 # Extract the first word of "$ac_prog", so it can be a program name with args.
5885 set dummy
$ac_prog; ac_word
=$2
5886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5887 $as_echo_n "checking for $ac_word... " >&6; }
5888 if ${ac_cv_prog_RSVG+:} false
; then :
5889 $as_echo_n "(cached) " >&6
5891 if test -n "$RSVG"; then
5892 ac_cv_prog_RSVG
="$RSVG" # Let the user override the test.
5894 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5898 test -z "$as_dir" && as_dir
=.
5899 for ac_exec_ext
in '' $ac_executable_extensions; do
5900 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5901 ac_cv_prog_RSVG
="$ac_prog"
5902 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5911 RSVG
=$ac_cv_prog_RSVG
5912 if test -n "$RSVG"; then
5913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
5914 $as_echo "$RSVG" >&6; }
5916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5917 $as_echo "no" >&6; }
5921 test -n "$RSVG" && break
5923 test -n "$RSVG" || RSVG
="false"
5925 for ac_prog
in convert
5927 # Extract the first word of "$ac_prog", so it can be a program name with args.
5928 set dummy
$ac_prog; ac_word
=$2
5929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5930 $as_echo_n "checking for $ac_word... " >&6; }
5931 if ${ac_cv_prog_CONVERT+:} false
; then :
5932 $as_echo_n "(cached) " >&6
5934 if test -n "$CONVERT"; then
5935 ac_cv_prog_CONVERT
="$CONVERT" # Let the user override the test.
5937 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5941 test -z "$as_dir" && as_dir
=.
5942 for ac_exec_ext
in '' $ac_executable_extensions; do
5943 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5944 ac_cv_prog_CONVERT
="$ac_prog"
5945 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5954 CONVERT
=$ac_cv_prog_CONVERT
5955 if test -n "$CONVERT"; then
5956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
5957 $as_echo "$CONVERT" >&6; }
5959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5960 $as_echo "no" >&6; }
5964 test -n "$CONVERT" && break
5966 test -n "$CONVERT" || CONVERT
="false"
5968 for ac_prog
in icotool
5970 # Extract the first word of "$ac_prog", so it can be a program name with args.
5971 set dummy
$ac_prog; ac_word
=$2
5972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5973 $as_echo_n "checking for $ac_word... " >&6; }
5974 if ${ac_cv_prog_ICOTOOL+:} false
; then :
5975 $as_echo_n "(cached) " >&6
5977 if test -n "$ICOTOOL"; then
5978 ac_cv_prog_ICOTOOL
="$ICOTOOL" # Let the user override the test.
5980 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5984 test -z "$as_dir" && as_dir
=.
5985 for ac_exec_ext
in '' $ac_executable_extensions; do
5986 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5987 ac_cv_prog_ICOTOOL
="$ac_prog"
5988 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5997 ICOTOOL
=$ac_cv_prog_ICOTOOL
5998 if test -n "$ICOTOOL"; then
5999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
6000 $as_echo "$ICOTOOL" >&6; }
6002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6003 $as_echo "no" >&6; }
6007 test -n "$ICOTOOL" && break
6009 test -n "$ICOTOOL" || ICOTOOL
="false"
6011 test "$FONTFORGE" != "false" || as_fn_error $?
"You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
6012 test "$RSVG" != "false" || as_fn_error $?
"You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
6014 if test "$CONVERT" = false
6016 as_fn_error $?
"You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
6018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
6019 $as_echo_n "checking for recent enough imagemagick... " >&6; }
6020 convert_version
=`convert --version | head -n1`
6021 if test "x$convert_version" != "x"
6023 convert_version_major
=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
6024 convert_version_minor
=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
6025 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
6030 if test "$CONVERT" = false
6032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
6033 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
6034 as_fn_error $?
"You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
6037 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
6041 if test "$ICOTOOL" = false
6043 as_fn_error $?
"You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
6045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
6046 $as_echo_n "checking for recent enough icotool... " >&6; }
6047 icotool_version
=`icotool --version | head -n1`
6048 if test "x$icotool_version" != "x"
6050 icotool_version_major
=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
6051 icotool_version_minor
=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
6052 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
6055 as_fn_append wine_warnings
"|icotool version 0.29.0 or newer is needed to rebuild icons."
6058 if test "$ICOTOOL" = false
6060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
6061 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
6062 as_fn_error $?
"You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
6065 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
6071 { ac_cv_header_gettext_po_h
=; unset ac_cv_header_gettext_po_h
;}
6074 test "x$with_gettext" != xno || MSGFMT
=false
6075 if test "$MSGFMT" != "false"
6077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
6078 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
6079 cat >conftest.po
<<EOF
6085 if $MSGFMT -o /dev
/null conftest.po
2>&5
6087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6088 $as_echo "yes" >&6; }
6090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6091 $as_echo "no" >&6; }
6095 if test "$MSGFMT" = false
; then :
6096 case "x$with_gettext" in
6097 x
) as_fn_append wine_warnings
"|gettext tools not found (or too old), translations won't be built." ;;
6099 *) as_fn_error $?
"gettext tools not found (or too old), translations won't be built.
6100 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6106 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6107 if ${ac_cv_lib_i386_i386_set_ldt+:} false
; then :
6108 $as_echo_n "(cached) " >&6
6110 ac_check_lib_save_LIBS
=$LIBS
6112 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6113 /* end confdefs.h. */
6115 /* Override any GCC internal prototype to avoid an error.
6116 Use char because int might match the return type of a GCC
6117 builtin and then its argument prototype would still apply. */
6121 char i386_set_ldt ();
6125 return i386_set_ldt ();
6130 if ac_fn_c_try_link
"$LINENO"; then :
6131 ac_cv_lib_i386_i386_set_ldt
=yes
6133 ac_cv_lib_i386_i386_set_ldt
=no
6135 rm -f core conftest.err conftest.
$ac_objext \
6136 conftest
$ac_exeext conftest.
$ac_ext
6137 LIBS
=$ac_check_lib_save_LIBS
6139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6140 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6141 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes
; then :
6142 cat >>confdefs.h
<<_ACEOF
6143 #define HAVE_LIBI386 1
6150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
6151 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
6152 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false
; then :
6153 $as_echo_n "(cached) " >&6
6155 ac_check_lib_save_LIBS
=$LIBS
6156 LIBS
="-lossaudio $LIBS"
6157 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6158 /* end confdefs.h. */
6160 /* Override any GCC internal prototype to avoid an error.
6161 Use char because int might match the return type of a GCC
6162 builtin and then its argument prototype would still apply. */
6170 return _oss_ioctl ();
6175 if ac_fn_c_try_link
"$LINENO"; then :
6176 ac_cv_lib_ossaudio__oss_ioctl
=yes
6178 ac_cv_lib_ossaudio__oss_ioctl
=no
6180 rm -f core conftest.err conftest.
$ac_objext \
6181 conftest
$ac_exeext conftest.
$ac_ext
6182 LIBS
=$ac_check_lib_save_LIBS
6184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6185 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6186 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes
; then :
6187 cat >>confdefs.h
<<_ACEOF
6188 #define HAVE_LIBOSSAUDIO 1
6191 LIBS
="-lossaudio $LIBS"
6200 # Check whether --enable-largefile was given.
6201 if test "${enable_largefile+set}" = set; then :
6202 enableval
=$enable_largefile;
6205 if test "$enable_largefile" != no
; then
6207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6208 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6209 if ${ac_cv_sys_largefile_CC+:} false
; then :
6210 $as_echo_n "(cached) " >&6
6212 ac_cv_sys_largefile_CC
=no
6213 if test "$GCC" != yes; then
6216 # IRIX 6.2 and later do not support large files by default,
6217 # so use the C compiler's -n32 option if that helps.
6218 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6219 /* end confdefs.h. */
6220 #include <sys/types.h>
6221 /* Check that off_t can represent 2**63 - 1 correctly.
6222 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6223 since some C++ compilers masquerading as C compilers
6224 incorrectly reject 9223372036854775807. */
6225 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6226 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6227 && LARGE_OFF_T % 2147483647 == 1)
6237 if ac_fn_c_try_compile
"$LINENO"; then :
6240 rm -f core conftest.err conftest.
$ac_objext
6242 if ac_fn_c_try_compile
"$LINENO"; then :
6243 ac_cv_sys_largefile_CC
=' -n32'; break
6245 rm -f core conftest.err conftest.
$ac_objext
6249 rm -f conftest.
$ac_ext
6252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6253 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6254 if test "$ac_cv_sys_largefile_CC" != no
; then
6255 CC
=$CC$ac_cv_sys_largefile_CC
6258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6259 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6260 if ${ac_cv_sys_file_offset_bits+:} false
; then :
6261 $as_echo_n "(cached) " >&6
6264 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6265 /* end confdefs.h. */
6266 #include <sys/types.h>
6267 /* Check that off_t can represent 2**63 - 1 correctly.
6268 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6269 since some C++ compilers masquerading as C compilers
6270 incorrectly reject 9223372036854775807. */
6271 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6272 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6273 && LARGE_OFF_T % 2147483647 == 1)
6283 if ac_fn_c_try_compile
"$LINENO"; then :
6284 ac_cv_sys_file_offset_bits
=no
; break
6286 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6287 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6288 /* end confdefs.h. */
6289 #define _FILE_OFFSET_BITS 64
6290 #include <sys/types.h>
6291 /* Check that off_t can represent 2**63 - 1 correctly.
6292 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6293 since some C++ compilers masquerading as C compilers
6294 incorrectly reject 9223372036854775807. */
6295 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6296 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6297 && LARGE_OFF_T % 2147483647 == 1)
6307 if ac_fn_c_try_compile
"$LINENO"; then :
6308 ac_cv_sys_file_offset_bits
=64; break
6310 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6311 ac_cv_sys_file_offset_bits
=unknown
6315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6316 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6317 case $ac_cv_sys_file_offset_bits in #(
6320 cat >>confdefs.h
<<_ACEOF
6321 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6326 if test $ac_cv_sys_file_offset_bits = unknown
; then
6327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6328 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6329 if ${ac_cv_sys_large_files+:} false
; then :
6330 $as_echo_n "(cached) " >&6
6333 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6334 /* end confdefs.h. */
6335 #include <sys/types.h>
6336 /* Check that off_t can represent 2**63 - 1 correctly.
6337 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6338 since some C++ compilers masquerading as C compilers
6339 incorrectly reject 9223372036854775807. */
6340 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6341 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6342 && LARGE_OFF_T % 2147483647 == 1)
6352 if ac_fn_c_try_compile
"$LINENO"; then :
6353 ac_cv_sys_large_files
=no
; break
6355 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6356 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6357 /* end confdefs.h. */
6358 #define _LARGE_FILES 1
6359 #include <sys/types.h>
6360 /* Check that off_t can represent 2**63 - 1 correctly.
6361 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6362 since some C++ compilers masquerading as C compilers
6363 incorrectly reject 9223372036854775807. */
6364 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6365 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6366 && LARGE_OFF_T % 2147483647 == 1)
6376 if ac_fn_c_try_compile
"$LINENO"; then :
6377 ac_cv_sys_large_files
=1; break
6379 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6380 ac_cv_sys_large_files
=unknown
6384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6385 $as_echo "$ac_cv_sys_large_files" >&6; }
6386 case $ac_cv_sys_large_files in #(
6389 cat >>confdefs.h
<<_ACEOF
6390 #define _LARGE_FILES $ac_cv_sys_large_files
6402 ac_cpp
='$CPP $CPPFLAGS'
6403 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6404 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6405 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6407 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6408 # On Suns, sometimes $CPP names a directory.
6409 if test -n "$CPP" && test -d "$CPP"; then
6412 if test -z "$CPP"; then
6413 if ${ac_cv_prog_CPP+:} false
; then :
6414 $as_echo_n "(cached) " >&6
6416 # Double quotes because CPP needs to be expanded
6417 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6420 for ac_c_preproc_warn_flag
in '' yes
6422 # Use a header file that comes with gcc, so configuring glibc
6423 # with a fresh cross-compiler works.
6424 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6425 # <limits.h> exists even on freestanding compilers.
6426 # On the NeXT, cc -E runs the code through the compiler's parser,
6427 # not just through cpp. "Syntax error" is here to catch this case.
6428 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6429 /* end confdefs.h. */
6431 # include <limits.h>
6433 # include <assert.h>
6437 if ac_fn_c_try_cpp
"$LINENO"; then :
6440 # Broken: fails on valid input.
6443 rm -f conftest.err conftest.i conftest.
$ac_ext
6445 # OK, works on sane cases. Now check whether nonexistent headers
6446 # can be detected and how.
6447 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6448 /* end confdefs.h. */
6449 #include <ac_nonexistent.h>
6451 if ac_fn_c_try_cpp
"$LINENO"; then :
6452 # Broken: success on invalid input.
6455 # Passes both tests.
6459 rm -f conftest.err conftest.i conftest.
$ac_ext
6462 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6463 rm -f conftest.i conftest.err conftest.
$ac_ext
6464 if $ac_preproc_ok; then :
6476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6477 $as_echo "$CPP" >&6; }
6479 for ac_c_preproc_warn_flag
in '' yes
6481 # Use a header file that comes with gcc, so configuring glibc
6482 # with a fresh cross-compiler works.
6483 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6484 # <limits.h> exists even on freestanding compilers.
6485 # On the NeXT, cc -E runs the code through the compiler's parser,
6486 # not just through cpp. "Syntax error" is here to catch this case.
6487 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6488 /* end confdefs.h. */
6490 # include <limits.h>
6492 # include <assert.h>
6496 if ac_fn_c_try_cpp
"$LINENO"; then :
6499 # Broken: fails on valid input.
6502 rm -f conftest.err conftest.i conftest.
$ac_ext
6504 # OK, works on sane cases. Now check whether nonexistent headers
6505 # can be detected and how.
6506 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6507 /* end confdefs.h. */
6508 #include <ac_nonexistent.h>
6510 if ac_fn_c_try_cpp
"$LINENO"; then :
6511 # Broken: success on invalid input.
6514 # Passes both tests.
6518 rm -f conftest.err conftest.i conftest.
$ac_ext
6521 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6522 rm -f conftest.i conftest.err conftest.
$ac_ext
6523 if $ac_preproc_ok; then :
6526 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6527 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6528 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
6529 See \`config.log' for more details" "$LINENO" 5; }
6533 ac_cpp
='$CPP $CPPFLAGS'
6534 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6535 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6536 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6540 $as_echo_n "checking for ANSI C header files... " >&6; }
6541 if ${ac_cv_header_stdc+:} false
; then :
6542 $as_echo_n "(cached) " >&6
6544 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6545 /* end confdefs.h. */
6559 if ac_fn_c_try_compile
"$LINENO"; then :
6560 ac_cv_header_stdc
=yes
6562 ac_cv_header_stdc
=no
6564 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6566 if test $ac_cv_header_stdc = yes; then
6567 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6568 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6569 /* end confdefs.h. */
6573 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6574 $EGREP "memchr" >/dev
/null
2>&1; then :
6577 ac_cv_header_stdc
=no
6583 if test $ac_cv_header_stdc = yes; then
6584 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6585 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6586 /* end confdefs.h. */
6590 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6591 $EGREP "free" >/dev
/null
2>&1; then :
6594 ac_cv_header_stdc
=no
6600 if test $ac_cv_header_stdc = yes; then
6601 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6602 if test "$cross_compiling" = yes; then :
6605 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6606 /* end confdefs.h. */
6609 #if ((' ' & 0x0FF) == 0x020)
6610 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6611 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6613 # define ISLOWER(c) \
6614 (('a' <= (c) && (c) <= 'i') \
6615 || ('j' <= (c) && (c) <= 'r') \
6616 || ('s' <= (c) && (c) <= 'z'))
6617 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6620 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6625 for (i = 0; i < 256; i++)
6626 if (XOR (islower (i), ISLOWER (i))
6627 || toupper (i) != TOUPPER (i))
6632 if ac_fn_c_try_run
"$LINENO"; then :
6635 ac_cv_header_stdc
=no
6637 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6638 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6644 $as_echo "$ac_cv_header_stdc" >&6; }
6645 if test $ac_cv_header_stdc = yes; then
6647 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6651 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6652 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
6653 inttypes.h stdint.h unistd.h
6655 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6656 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6658 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6659 cat >>confdefs.h
<<_ACEOF
6660 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6670 ApplicationServices
/ApplicationServices.h \
6671 AudioToolbox
/AudioConverter.h \
6672 AudioUnit
/AudioUnit.h \
6673 AudioUnit
/AudioComponent.h \
6676 CoreAudio
/CoreAudio.h \
6677 CoreServices
/CoreServices.h \
6678 DiskArbitration
/DiskArbitration.h \
6680 IOKit
/hid
/IOHIDLib.h \
6683 QuickTime
/ImageCompression.h \
6684 Security
/Security.h \
6735 netinet
/in_systm.h \
6798 valgrind
/memcheck.h \
6799 valgrind
/valgrind.h \
6803 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6804 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6805 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6806 cat >>confdefs.h
<<_ACEOF
6807 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
6815 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
6816 if ${ac_cv_header_stat_broken+:} false
; then :
6817 $as_echo_n "(cached) " >&6
6819 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6820 /* end confdefs.h. */
6821 #include <sys/types.h>
6822 #include <sys/stat.h>
6824 #if defined S_ISBLK && defined S_IFDIR
6825 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
6828 #if defined S_ISBLK && defined S_IFCHR
6829 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
6832 #if defined S_ISLNK && defined S_IFREG
6833 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
6836 #if defined S_ISSOCK && defined S_IFREG
6837 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
6841 if ac_fn_c_try_compile
"$LINENO"; then :
6842 ac_cv_header_stat_broken
=no
6844 ac_cv_header_stat_broken
=yes
6846 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
6849 $as_echo "$ac_cv_header_stat_broken" >&6; }
6850 if test $ac_cv_header_stat_broken = yes; then
6852 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
6858 for ac_header
in sys
/mount.h sys
/statfs.h sys
/sysctl.h sys
/user.h sys
/vfs.h
6860 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6861 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6862 #ifdef HAVE_SYS_PARAM_H
6863 # include <sys/param.h>
6866 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6867 cat >>confdefs.h
<<_ACEOF
6868 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6883 netinet
/if_ether.h \
6884 netinet
/if_inarp.h \
6893 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6894 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6895 #ifdef HAVE_SYS_SOCKET_H
6896 # include <sys/socket.h>
6898 #ifdef HAVE_SYS_SOCKETVAR_H
6899 # include <sys/socketvar.h>
6901 #ifdef HAVE_NET_ROUTE_H
6902 # include <net/route.h>
6904 #ifdef HAVE_NETINET_IN_H
6905 # include <netinet/in.h>
6907 #ifdef HAVE_NETINET_IN_SYSTM_H
6908 # include <netinet/in_systm.h>
6910 #ifdef HAVE_NET_IF_H
6911 # include <net/if.h>
6913 #ifdef HAVE_NETINET_IP_H
6914 # include <netinet/ip.h>
6917 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6918 cat >>confdefs.h
<<_ACEOF
6919 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6927 for ac_header
in netinet
/tcp_timer.h netinet
/udp_var.h netinet
/icmp_var.h netinet
/tcp_var.h
6929 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6930 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6934 #ifdef HAVE_SYS_SOCKET_H
6935 # include <sys/socket.h>
6937 #ifdef HAVE_SYS_SOCKETVAR_H
6938 # include <sys/socketvar.h>
6940 #ifdef HAVE_SYS_TIMEOUT_H
6941 # include <sys/timeout.h>
6943 #ifdef HAVE_NETINET_IN_H
6944 # include <netinet/in.h>
6946 #ifdef HAVE_NETINET_IN_SYSTM_H
6947 # include <netinet/in_systm.h>
6949 #ifdef HAVE_NETINET_IP_H
6950 # include <netinet/ip.h>
6952 #ifdef HAVE_NETINET_IP_VAR_H
6953 # include <netinet/ip_var.h>
6955 #ifdef HAVE_NETINET_IP_ICMP_H
6956 # include <netinet/ip_icmp.h>
6958 #ifdef HAVE_NETINET_UDP_H
6959 # include <netinet/udp.h>
6961 #ifdef HAVE_NETINET_TCP_H
6962 # include <netinet/tcp.h>
6964 #ifdef HAVE_NETINET_TCP_TIMER_H
6965 #include <netinet/tcp_timer.h>
6968 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6969 cat >>confdefs.h
<<_ACEOF
6970 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6978 for ac_header
in linux
/ipx.h linux
/irda.h linux
/rtnetlink.h
6980 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6981 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6982 #ifdef HAVE_ASM_TYPES_H
6983 # include <asm/types.h>
6985 #ifdef HAVE_SYS_SOCKET_H
6986 # include <sys/socket.h>
6988 #ifdef HAVE_LINUX_TYPES_H
6989 # include <linux/types.h>
6992 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6993 cat >>confdefs.h
<<_ACEOF
6994 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7002 for ac_header
in mach-o
/dyld_images.h
7004 ac_fn_c_check_header_compile
"$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
7005 # include <stdbool.h>
7007 #ifdef HAVE_STDINT_H
7008 # include <stdint.h>
7011 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes
; then :
7012 cat >>confdefs.h
<<_ACEOF
7013 #define HAVE_MACH_O_DYLD_IMAGES_H 1
7021 for ac_header
in resolv.h
7023 ac_fn_c_check_header_compile
"$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
7024 #ifdef HAVE_SYS_SOCKET_H
7025 # include <sys/socket.h>
7027 #ifdef HAVE_NETINET_IN_H
7028 # include <netinet/in.h>
7030 #ifdef HAVE_ARPA_NAMESER_H
7031 # include <arpa/nameser.h>
7034 if test "x$ac_cv_header_resolv_h" = xyes
; then :
7035 cat >>confdefs.h
<<_ACEOF
7036 #define HAVE_RESOLV_H 1
7044 for ac_header
in ifaddrs.h
7046 ac_fn_c_check_header_compile
"$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
7048 if test "x$ac_cv_header_ifaddrs_h" = xyes
; then :
7049 cat >>confdefs.h
<<_ACEOF
7050 #define HAVE_IFADDRS_H 1
7058 for ac_header
in sys
/ucontext.h
7060 ac_fn_c_check_header_compile
"$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
7062 if test "x$ac_cv_header_sys_ucontext_h" = xyes
; then :
7063 cat >>confdefs.h
<<_ACEOF
7064 #define HAVE_SYS_UCONTEXT_H 1
7072 for ac_header
in sys
/thr.h
7074 ac_fn_c_check_header_compile
"$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
7075 #ifdef HAVE_SYS_UCONTEXT_H
7076 #include <sys/ucontext.h>
7079 if test "x$ac_cv_header_sys_thr_h" = xyes
; then :
7080 cat >>confdefs.h
<<_ACEOF
7081 #define HAVE_SYS_THR_H 1
7089 for ac_header
in pthread_np.h
7091 ac_fn_c_check_header_compile
"$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7092 #include <pthread.h>
7095 if test "x$ac_cv_header_pthread_np_h" = xyes
; then :
7096 cat >>confdefs.h
<<_ACEOF
7097 #define HAVE_PTHREAD_NP_H 1
7105 for ac_header
in linux
/videodev.h linux
/videodev2.h libv4l1.h
7107 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7108 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
7109 #include <sys/time.h>
7111 #include <sys/types.h>
7112 #ifdef HAVE_ASM_TYPES_H
7113 #include <asm/types.h>
7116 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
7117 cat >>confdefs.h
<<_ACEOF
7118 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7126 for ac_header
in libprocstat.h
7128 ac_fn_c_check_header_compile
"$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7129 #include <sys/param.h>
7131 #ifdef HAVE_SYS_QUEUE_H
7132 #include <sys/queue.h>
7134 #ifdef HAVE_SYS_SOCKET_H
7135 #include <sys/socket.h>
7138 if test "x$ac_cv_header_libprocstat_h" = xyes
; then :
7139 cat >>confdefs.h
<<_ACEOF
7140 #define HAVE_LIBPROCSTAT_H 1
7149 dlldir
="\${libdir}/wine"
7151 DLLFLAGS
="-D_REENTRANT"
7162 STATIC_IMPLIBEXT
="def.a"
7163 # Extract the first word of "ldd", so it can be a program name with args.
7164 set dummy ldd
; ac_word
=$2
7165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7166 $as_echo_n "checking for $ac_word... " >&6; }
7167 if ${ac_cv_path_LDD+:} false
; then :
7168 $as_echo_n "(cached) " >&6
7172 ac_cv_path_LDD
="$LDD" # Let the user override the test with a path.
7175 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7176 as_dummy
="/sbin:/usr/sbin:$PATH"
7177 for as_dir
in $as_dummy
7180 test -z "$as_dir" && as_dir
=.
7181 for ac_exec_ext
in '' $ac_executable_extensions; do
7182 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7183 ac_cv_path_LDD
="$as_dir/$ac_word$ac_exec_ext"
7184 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7191 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD
="true"
7196 if test -n "$LDD"; then
7197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7198 $as_echo "$LDD" >&6; }
7200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7201 $as_echo "no" >&6; }
7205 if test -n "$ac_tool_prefix"; then
7206 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7207 set dummy
${ac_tool_prefix}otool
; ac_word
=$2
7208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7209 $as_echo_n "checking for $ac_word... " >&6; }
7210 if ${ac_cv_prog_OTOOL+:} false
; then :
7211 $as_echo_n "(cached) " >&6
7213 if test -n "$OTOOL"; then
7214 ac_cv_prog_OTOOL
="$OTOOL" # Let the user override the test.
7216 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7220 test -z "$as_dir" && as_dir
=.
7221 for ac_exec_ext
in '' $ac_executable_extensions; do
7222 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7223 ac_cv_prog_OTOOL
="${ac_tool_prefix}otool"
7224 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7233 OTOOL
=$ac_cv_prog_OTOOL
7234 if test -n "$OTOOL"; then
7235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7236 $as_echo "$OTOOL" >&6; }
7238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7239 $as_echo "no" >&6; }
7244 if test -z "$ac_cv_prog_OTOOL"; then
7246 # Extract the first word of "otool", so it can be a program name with args.
7247 set dummy otool
; ac_word
=$2
7248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7249 $as_echo_n "checking for $ac_word... " >&6; }
7250 if ${ac_cv_prog_ac_ct_OTOOL+:} false
; then :
7251 $as_echo_n "(cached) " >&6
7253 if test -n "$ac_ct_OTOOL"; then
7254 ac_cv_prog_ac_ct_OTOOL
="$ac_ct_OTOOL" # Let the user override the test.
7256 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7260 test -z "$as_dir" && as_dir
=.
7261 for ac_exec_ext
in '' $ac_executable_extensions; do
7262 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7263 ac_cv_prog_ac_ct_OTOOL
="otool"
7264 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7273 ac_ct_OTOOL
=$ac_cv_prog_ac_ct_OTOOL
7274 if test -n "$ac_ct_OTOOL"; then
7275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7276 $as_echo "$ac_ct_OTOOL" >&6; }
7278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7279 $as_echo "no" >&6; }
7282 if test "x$ac_ct_OTOOL" = x
; then
7285 case $cross_compiling:$ac_tool_warned in
7287 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7288 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7289 ac_tool_warned
=yes ;;
7294 OTOOL
="$ac_cv_prog_OTOOL"
7297 if test -n "$ac_tool_prefix"; then
7298 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
7299 set dummy
${ac_tool_prefix}readelf
; ac_word
=$2
7300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7301 $as_echo_n "checking for $ac_word... " >&6; }
7302 if ${ac_cv_prog_READELF+:} false
; then :
7303 $as_echo_n "(cached) " >&6
7305 if test -n "$READELF"; then
7306 ac_cv_prog_READELF
="$READELF" # Let the user override the test.
7308 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7312 test -z "$as_dir" && as_dir
=.
7313 for ac_exec_ext
in '' $ac_executable_extensions; do
7314 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7315 ac_cv_prog_READELF
="${ac_tool_prefix}readelf"
7316 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7325 READELF
=$ac_cv_prog_READELF
7326 if test -n "$READELF"; then
7327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
7328 $as_echo "$READELF" >&6; }
7330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7331 $as_echo "no" >&6; }
7336 if test -z "$ac_cv_prog_READELF"; then
7337 ac_ct_READELF
=$READELF
7338 # Extract the first word of "readelf", so it can be a program name with args.
7339 set dummy readelf
; ac_word
=$2
7340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7341 $as_echo_n "checking for $ac_word... " >&6; }
7342 if ${ac_cv_prog_ac_ct_READELF+:} false
; then :
7343 $as_echo_n "(cached) " >&6
7345 if test -n "$ac_ct_READELF"; then
7346 ac_cv_prog_ac_ct_READELF
="$ac_ct_READELF" # Let the user override the test.
7348 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7352 test -z "$as_dir" && as_dir
=.
7353 for ac_exec_ext
in '' $ac_executable_extensions; do
7354 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7355 ac_cv_prog_ac_ct_READELF
="readelf"
7356 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7365 ac_ct_READELF
=$ac_cv_prog_ac_ct_READELF
7366 if test -n "$ac_ct_READELF"; then
7367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7368 $as_echo "$ac_ct_READELF" >&6; }
7370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7371 $as_echo "no" >&6; }
7374 if test "x$ac_ct_READELF" = x
; then
7377 case $cross_compiling:$ac_tool_warned in
7379 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7380 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7381 ac_tool_warned
=yes ;;
7383 READELF
=$ac_ct_READELF
7386 READELF
="$ac_cv_prog_READELF"
7389 wine_rules_file
=conf$
$rules.
make
7390 rm -f $wine_rules_file
7392 GITIGNORE
="# Automatically generated by configure; DO NOT EDIT!!"
7393 ALL_TEST_RESOURCES
=""
7396 wine_fn_append_file
()
7398 as_fn_append
$1 " \\$as_nl $2"
7401 wine_fn_ignore_file
()
7404 */*) as_fn_append GITIGNORE
"$as_nl$1" ;;
7405 \
**) as_fn_append GITIGNORE
"$as_nl$1" ;;
7406 *) as_fn_append GITIGNORE
"$as_nl/$1" ;;
7410 wine_fn_append_rule
()
7412 $as_echo "$1" >>$wine_rules_file
7417 expr ",$ac_flags," : ".*,$1,.*" >/dev
/null
7420 wine_fn_depend_rules
()
7422 wine_fn_append_rule \
7423 "$ac_dir/Makefile: $srcdir/$ac_dir/Makefile.in Makefile \$(MAKEDEP)
7425 depend: $ac_dir/depend
7426 .PHONY: $ac_dir/depend
7427 $ac_dir/depend: \$(MAKEDEP) dummy
7428 \$(MAKEDEP) $ac_dir"
7431 wine_fn_pot_rules
()
7433 test "x$with_gettextpo" = xyes ||
return
7435 if wine_fn_has_flag mc
7437 wine_fn_append_file ALL_POT_FILES
$ac_dir/msg.pot
7438 wine_fn_append_rule \
7439 "$ac_dir/msg.pot: $ac_dir/Makefile dummy
7440 @cd $ac_dir && \$(MAKE) msg.pot
7441 $ac_dir/msg.pot: tools/wmc include"
7443 if wine_fn_has_flag po
7445 wine_fn_append_file ALL_POT_FILES
$ac_dir/rsrc.pot
7446 wine_fn_append_rule \
7447 "$ac_dir/rsrc.pot: $ac_dir/Makefile dummy
7448 @cd $ac_dir && \$(MAKE) rsrc.pot
7449 $ac_dir/rsrc.pot: tools/wrc include"
7453 wine_fn_all_rules
()
7455 wine_fn_depend_rules
7456 wine_fn_append_rule \
7459 $ac_dir: $ac_dir/Makefile dummy
7460 @cd $ac_dir && \$(MAKE)"
7463 wine_fn_install_rules
()
7465 wine_fn_has_flag install-lib || wine_fn_has_flag install-dev ||
return
7467 wine_fn_append_rule \
7468 ".PHONY: $ac_dir/install $ac_dir/uninstall
7469 $ac_dir/install:: $ac_dir
7470 @cd $ac_dir && \$(MAKE) install
7471 $ac_dir/uninstall:: $ac_dir/Makefile
7472 @cd $ac_dir && \$(MAKE) uninstall
7473 install:: $ac_dir/install
7474 __uninstall__: $ac_dir/uninstall"
7476 if wine_fn_has_flag install-lib
7478 wine_fn_append_rule \
7479 ".PHONY: $ac_dir/install-lib
7480 $ac_dir/install-lib:: $ac_dir
7481 @cd $ac_dir && \$(MAKE) install-lib
7482 install-lib:: $ac_dir/install-lib"
7485 if wine_fn_has_flag install-dev
7487 wine_fn_append_rule \
7488 ".PHONY: $ac_dir/install-dev
7489 $ac_dir/install-dev:: $ac_dir
7490 @cd $ac_dir && \$(MAKE) install-dev
7491 install-dev:: $ac_dir/install-dev"
7495 wine_fn_clean_rules
()
7498 ac_extraclean
="$ac_dir/Makefile"
7499 test "$srcdir" = .
&& ac_extraclean
="$ac_extraclean $ac_dir/.gitignore"
7501 */tests
) ac_extraclean
="$ac_extraclean $ac_dir/testlist.c" ;;
7504 if wine_fn_has_flag clean
7506 wine_fn_append_rule \
7507 "__clean__: $ac_dir/clean
7508 .PHONY: $ac_dir/clean
7509 $ac_dir/clean: $ac_dir/Makefile
7510 @cd $ac_dir && \$(MAKE) clean
7511 \$(RM) $ac_extraclean"
7513 wine_fn_append_rule \
7514 "__clean__: $ac_dir/clean
7515 .PHONY: $ac_dir/clean
7516 $ac_dir/clean: dummy
7517 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean $ac_extraclean"
7521 wine_fn_disabled_rules
()
7524 ac_extraclean
="$ac_dir/Makefile"
7525 test "$srcdir" = .
&& ac_extraclean
="$ac_extraclean $ac_dir/.gitignore"
7527 wine_fn_append_rule \
7528 "__clean__: $ac_dir/clean
7529 .PHONY: $ac_dir/clean
7530 $ac_dir/clean: dummy
7531 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean $ac_extraclean"
7534 wine_fn_config_makefile
()
7540 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
7541 wine_fn_disabled_rules
; return
7544 wine_fn_install_rules
7548 wine_fn_config_lib
()
7552 ac_dir
=dlls
/$ac_name
7555 if test "x$enable_tools" = xno
; then :
7558 ac_deps
="tools/widl tools/winebuild tools/winegcc $ac_deps"
7563 wine_fn_append_rule \
7564 ".PHONY: $ac_dir/install $ac_dir/uninstall
7565 $ac_dir/install:: $ac_dir
7566 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7568 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7569 install install-dev:: $ac_dir/install
7570 __uninstall__: $ac_dir/uninstall
7571 __builddeps__: $ac_dir
7575 wine_fn_config_dll
()
7578 ac_dir
=dlls
/$ac_name
7581 ac_implib
=${4:-$ac_name}
7582 ac_file
=$ac_dir/lib
$ac_implib
7587 if test "x$enable_tools" = xno
; then :
7590 ac_deps
="tools/widl tools/winebuild tools/winegcc $ac_deps"
7593 *16) ac_implibflags
=" -m16" ;;
7595 *) ac_dll
=$ac_dll.dll
;;
7599 wine_fn_has_flag implib
&& ac_clean
="$ac_clean $ac_file.$IMPLIBEXT"
7600 wine_fn_has_flag mc
&& ac_clean
="$ac_clean $ac_dir/msg.pot"
7601 wine_fn_has_flag po
&& ac_clean
="$ac_clean $ac_dir/rsrc.pot"
7602 test -n "$DLLEXT" || ac_clean
="$ac_clean $ac_dir/$ac_dll"
7604 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
7605 if test "$ac_enable" != enable_win16
7607 wine_fn_depend_rules
7608 wine_fn_clean_rules
$ac_clean
7611 wine_fn_disabled_rules
$ac_clean
7616 wine_fn_clean_rules
$ac_clean
7617 wine_fn_append_rule \
7618 "$ac_dir: __builddeps__
7619 manpages htmlpages sgmlpages xmlpages:: $ac_dir/Makefile
7620 @cd $ac_dir && \$(MAKE) \$@
7621 .PHONY: $ac_dir/install-lib $ac_dir/uninstall
7622 install install-lib:: $ac_dir/install-lib
7623 __uninstall__: $ac_dir/uninstall"
7624 if test -n "$DLLEXT"
7626 wine_fn_append_rule \
7627 "$ac_dir/install-lib:: $ac_dir
7628 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT
7629 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
7631 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
7633 wine_fn_append_rule \
7634 "$ac_dir/install-lib:: $ac_dir
7635 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
7637 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
7643 if wine_fn_has_flag staticimplib
7645 wine_fn_append_rule \
7646 "__builddeps__: $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT
7647 $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT $ac_file.cross.a: $ac_deps
7648 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7649 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7650 $ac_file.$STATIC_IMPLIBEXT: $ac_dir/Makefile dummy
7651 @cd $ac_dir && \$(MAKE) lib$ac_implib.$STATIC_IMPLIBEXT
7652 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7653 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7654 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7656 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7657 install install-dev:: $ac_dir/install-dev
7658 __uninstall__: $ac_dir/uninstall"
7660 if test "$IMPLIBEXT" != "$STATIC_IMPLIBEXT"
7662 wine_fn_append_rule \
7663 "$ac_dir/install-dev:: $ac_file.$STATIC_IMPLIBEXT __builddeps__
7664 \$(INSTALL_DATA) $ac_file.$STATIC_IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT
7666 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT"
7669 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7671 wine_fn_append_rule \
7672 "__builddeps__: $ac_file.cross.a
7673 $ac_file.cross.a: $ac_dir/Makefile dummy
7674 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
7677 elif wine_fn_has_flag implib
7679 wine_fn_append_rule \
7680 "__builddeps__: $ac_file.$IMPLIBEXT
7681 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7682 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7683 $ac_file.a: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7684 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7685 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7686 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7687 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7689 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7690 install install-dev:: $ac_dir/install-dev
7691 __uninstall__: $ac_dir/uninstall"
7692 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7694 wine_fn_append_rule \
7695 "__builddeps__: $ac_file.cross.a
7696 $ac_file.cross.a: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7697 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec"
7700 if test "$ac_name" != "$ac_implib"
7702 wine_fn_append_rule \
7703 "__builddeps__: dlls/lib$ac_implib.$IMPLIBEXT
7704 dlls/lib$ac_implib.$IMPLIBEXT: $ac_file.$IMPLIBEXT
7705 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.$IMPLIBEXT \$@
7707 \$(RM) dlls/lib$ac_implib.$IMPLIBEXT"
7708 wine_fn_ignore_file
"dlls/lib$ac_implib.$IMPLIBEXT"
7709 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7711 wine_fn_append_rule \
7712 "__builddeps__: dlls/lib$ac_implib.cross.a
7713 dlls/lib$ac_implib.cross.a: $ac_file.cross.a
7714 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.cross.a \$@
7716 \$(RM) dlls/lib$ac_implib.cross.a"
7717 wine_fn_ignore_file
"dlls/lib$ac_implib.cross.a"
7723 wine_fn_config_program
()
7726 ac_dir
=programs
/$ac_name
7733 *) ac_program
=$ac_program.exe
;;
7737 wine_fn_has_flag mc
&& ac_clean
="$ac_clean $ac_dir/msg.pot"
7738 wine_fn_has_flag po
&& ac_clean
="$ac_clean $ac_dir/rsrc.pot"
7739 wine_fn_has_flag manpage
&& ac_clean
="$ac_clean $ac_dir/$ac_name.man"
7740 test -n "$DLLEXT" || ac_clean
="$ac_clean $ac_dir/$ac_program"
7742 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
7743 wine_fn_disabled_rules
$ac_clean; return
7747 wine_fn_clean_rules
$ac_clean
7748 wine_fn_append_rule
"$ac_dir: __builddeps__"
7751 wine_fn_has_flag
install ||
return
7752 wine_fn_append_rule \
7753 ".PHONY: $ac_dir/install $ac_dir/uninstall
7754 install install-lib:: $ac_dir/install
7755 __uninstall__: $ac_dir/uninstall"
7757 if test -n "$DLLEXT"
7759 wine_fn_append_rule \
7760 "$ac_dir/install:: $ac_dir
7761 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT
7762 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
7764 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
7766 if test -z "$with_wine64" && wine_fn_has_flag installbin
7768 wine_fn_append_rule \
7769 "$ac_dir/install:: __tooldeps__
7770 \$(INSTALL_SCRIPT) \$(TOOLSDIR)/tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
7772 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
7775 wine_fn_append_rule \
7776 "$ac_dir/install:: $ac_dir
7777 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(bindir)/$ac_program
7779 \$(RM) \$(DESTDIR)\$(bindir)/$ac_program"
7782 if test -z "$with_wine64" && wine_fn_has_flag manpage
7784 wine_fn_append_rule \
7785 "$ac_dir/install:: $ac_dir
7786 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
7788 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
7792 wine_fn_config_test
()
7799 test -n "$CROSSTARGET" && ac_clean
=`expr $ac_dir/${ac_name} : "\\(.*\\)_test"`_crosstest.exe
7800 test -n "$DLLEXT" || ac_clean
="$ac_dir/${ac_name}.exe $ac_dir/${ac_name}-stripped.exe"
7802 if test "x$enable_tests" = xno
; then :
7803 wine_fn_disabled_rules
$ac_clean; return
7806 wine_fn_append_file ALL_TEST_RESOURCES
$ac_name.res
7808 wine_fn_clean_rules
$ac_clean
7810 wine_fn_append_rule \
7811 "$ac_dir: programs/winetest/Makefile __builddeps__
7812 programs/winetest: $ac_dir
7813 check test: $ac_dir/test
7814 .PHONY: $ac_dir/test
7816 @cd $ac_dir && \$(MAKE) test
7818 \$(RM) $ac_dir/*.ok"
7820 if test -n "$CROSSTARGET"
7822 wine_fn_append_rule \
7823 "crosstest: $ac_dir/crosstest
7824 .PHONY: $ac_dir/crosstest
7825 $ac_dir/crosstest: $ac_dir/Makefile __builddeps__ dummy
7826 @cd $ac_dir && \$(MAKE) crosstest"
7830 wine_fn_config_tool
()
7834 if test "x$enable_tools" = xno
; then :
7839 wine_fn_install_rules
7842 wine_fn_append_rule
"__tooldeps__: $ac_dir"
7843 wine_fn_append_rule
"$ac_dir: libs/port"
7845 tools
/winebuild
) wine_fn_append_rule
"\$(WINEBUILD): $ac_dir" ;;
7849 wine_fn_config_symlink
()
7852 if test "x$1" = "x-d"
7858 wine_fn_append_rule \
7860 @./config.status \$@
7863 for f
in $ac_links; do wine_fn_ignore_file
$f; done
7864 test -n "$ac_linkdir" ||
return
7865 wine_fn_append_rule
"$ac_linkdir/Makefile $ac_linkdir/depend: $ac_links"
7869 test "x$enable_win64" != "xyes" || wine_binary
="wine64"
7870 WINELOADER_PROGRAMS
="$wine_binary"
7872 libwine_soversion
=`expr $libwine_version : '\([0-9]*\)\..*'`
7876 if test -n "$ac_tool_prefix"; then
7877 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7878 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
7879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7880 $as_echo_n "checking for $ac_word... " >&6; }
7881 if ${ac_cv_prog_DLLTOOL+:} false
; then :
7882 $as_echo_n "(cached) " >&6
7884 if test -n "$DLLTOOL"; then
7885 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
7887 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7891 test -z "$as_dir" && as_dir
=.
7892 for ac_exec_ext
in '' $ac_executable_extensions; do
7893 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7894 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
7895 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7904 DLLTOOL
=$ac_cv_prog_DLLTOOL
7905 if test -n "$DLLTOOL"; then
7906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7907 $as_echo "$DLLTOOL" >&6; }
7909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7910 $as_echo "no" >&6; }
7915 if test -z "$ac_cv_prog_DLLTOOL"; then
7916 ac_ct_DLLTOOL
=$DLLTOOL
7917 # Extract the first word of "dlltool", so it can be a program name with args.
7918 set dummy dlltool
; ac_word
=$2
7919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7920 $as_echo_n "checking for $ac_word... " >&6; }
7921 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false
; then :
7922 $as_echo_n "(cached) " >&6
7924 if test -n "$ac_ct_DLLTOOL"; then
7925 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
7927 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7931 test -z "$as_dir" && as_dir
=.
7932 for ac_exec_ext
in '' $ac_executable_extensions; do
7933 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7934 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
7935 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7944 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
7945 if test -n "$ac_ct_DLLTOOL"; then
7946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7947 $as_echo "$ac_ct_DLLTOOL" >&6; }
7949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7950 $as_echo "no" >&6; }
7953 if test "x$ac_ct_DLLTOOL" = x
; then
7956 case $cross_compiling:$ac_tool_warned in
7958 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7959 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7960 ac_tool_warned
=yes ;;
7962 DLLTOOL
=$ac_ct_DLLTOOL
7965 DLLTOOL
="$ac_cv_prog_DLLTOOL"
7971 STATIC_IMPLIBEXT
="a"
7972 enable_iphlpapi
=${enable_iphlpapi:-no}
7973 enable_kernel32
=${enable_kernel32:-no}
7974 enable_msvcrt
=${enable_msvcrt:-no}
7975 enable_ntdll
=${enable_ntdll:-no}
7976 enable_ws2_32
=${enable_ws2_32:-no}
7977 enable_loader
=${enable_loader:-no}
7978 enable_server
=${enable_server:-no}
7979 with_x
=${with_x:-no}
7980 with_pthread
=${with_pthread:-no}
7986 SOCKET_LIBS
="-lws2_32"
7990 LIBWINE_SHAREDLIB
="libwine.dll"
7992 LIBWINE_IMPORTLIB
="libwine.a"
7994 LIBWINE_INSTALL_LIB
="libwine.dll"
7996 LIBWINE_INSTALL_DEV
="libwine.a"
7998 LIBWINE_LDFLAGS
="-shared \$(srcdir)/wine.def"
8000 LIBWINE_DEPENDS
="wine.def"
8005 for ac_header
in libunwind.h
8007 ac_fn_c_check_header_mongrel
"$LINENO" "libunwind.h" "ac_cv_header_libunwind_h" "$ac_includes_default"
8008 if test "x$ac_cv_header_libunwind_h" = xyes
; then :
8009 cat >>confdefs.h
<<_ACEOF
8010 #define HAVE_LIBUNWIND_H 1
8018 DLLFLAGS
="$DLLFLAGS -fPIC"
8019 LDRPATH_INSTALL
="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8020 LDRPATH_LOCAL
="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
8021 COREFOUNDATION_LIBS
="-framework CoreFoundation"
8023 IOKIT_LIBS
="-framework IOKit -framework CoreFoundation"
8025 FORCEFEEDBACK_LIBS
="-framework ForceFeedback -framework CoreFoundation"
8027 APPLICATIONSERVICES_LIBS
="-framework ApplicationServices"
8029 CORESERVICES_LIBS
="-framework CoreServices"
8031 APPKIT_LIBS
="-framework AppKit"
8033 LDEXECFLAGS
="-image_base 0x7bf00000 -Wl,-pagezero_size,0x1000,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
8034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
8035 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
8036 if ${ac_cv_cflags__Wl__no_pie+:} false
; then :
8037 $as_echo_n "(cached) " >&6
8039 ac_wine_try_cflags_saved
=$CFLAGS
8040 CFLAGS
="$CFLAGS -Wl,-no_pie"
8041 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8042 /* end confdefs.h. */
8043 int main(int argc, char **argv) { return 0; }
8045 if ac_fn_c_try_link
"$LINENO"; then :
8046 ac_cv_cflags__Wl__no_pie
=yes
8048 ac_cv_cflags__Wl__no_pie
=no
8050 rm -f core conftest.err conftest.
$ac_objext \
8051 conftest
$ac_exeext conftest.
$ac_ext
8052 CFLAGS
=$ac_wine_try_cflags_saved
8054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
8055 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
8056 if test "x$ac_cv_cflags__Wl__no_pie" = xyes
; then :
8057 LDEXECFLAGS
="-Wl,-no_pie $LDEXECFLAGS"
8059 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8061 DISKARBITRATION_LIBS
="-framework DiskArbitration -framework CoreFoundation"
8064 if test "$ac_cv_header_Security_Security_h" = "yes"
8066 SECURITY_LIBS
="-framework Security -framework CoreFoundation"
8068 ac_save_LIBS
="$LIBS"
8069 LIBS
="$LIBS $SECURITY_LIBS"
8070 for ac_func
in SSLCopyPeerCertificates
8072 ac_fn_c_check_func
"$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
8073 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes
; then :
8074 cat >>confdefs.h
<<_ACEOF
8075 #define HAVE_SSLCOPYPEERCERTIFICATES 1
8081 LIBS
="$ac_save_LIBS"
8082 with_gnutls
=${with_gnutls:-no}
8084 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8086 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
8088 COREAUDIO_LIBS
="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
8091 COREAUDIO_LIBS
="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8094 enable_winecoreaudio_drv
=${enable_winecoreaudio_drv:-yes}
8095 ac_save_LIBS
="$LIBS"
8096 LIBS
="$LIBS $COREAUDIO_LIBS"
8097 for ac_func
in AUGraphAddNode
8099 ac_fn_c_check_func
"$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
8100 if test "x$ac_cv_func_AUGraphAddNode" = xyes
; then :
8101 cat >>confdefs.h
<<_ACEOF
8102 #define HAVE_AUGRAPHADDNODE 1
8108 LIBS
="$ac_save_LIBS"
8110 if test "$ac_cv_header_OpenAL_al_h" = "yes"
8112 OPENAL_LIBS
="-framework OpenAL"
8115 cat >>confdefs.h
<<_ACEOF
8116 #define HAVE_OPENAL 1
8119 ac_cv_lib_openal
=yes
8121 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
8123 OPENCL_LIBS
="-framework OpenCL"
8125 ac_cv_lib_OpenCL_clGetPlatformInfo
=yes
8127 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
8129 ac_save_LIBS
="$LIBS"
8130 LIBS
="$LIBS $IOKIT_LIBS"
8131 for ac_func
in IOHIDManagerCreate
8133 ac_fn_c_check_func
"$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
8134 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes
; then :
8135 cat >>confdefs.h
<<_ACEOF
8136 #define HAVE_IOHIDMANAGERCREATE 1
8142 LIBS
="$ac_save_LIBS"
8144 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
8146 ac_save_LIBS
="$LIBS"
8147 LIBS
="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
8148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
8149 $as_echo_n "checking for the QuickTime framework... " >&6; }
8150 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8151 /* end confdefs.h. */
8152 #include <QuickTime/ImageCompression.h>
8156 CodecManagerVersion(NULL);
8161 if ac_fn_c_try_link
"$LINENO"; then :
8162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8163 $as_echo "yes" >&6; }
8164 QUICKTIME_LIBS
="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
8166 enable_wineqtdecoder
=${enable_wineqtdecoder:-yes}
8168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8169 $as_echo "no" >&6; }
8170 ac_cv_header_QuickTime_ImageCompression_h
=no
8172 rm -f core conftest.err conftest.
$ac_objext \
8173 conftest
$ac_exeext conftest.
$ac_ext
8174 LIBS
="$ac_save_LIBS"
8176 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"
8178 as_fn_append wine_notices
"|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
8180 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8182 CARBON_LIBS
="-framework Carbon"
8186 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
8188 ac_save_LIBS
="$LIBS"
8189 LIBS
="$LIBS $APPLICATIONSERVICES_LIBS"
8190 ac_fn_c_check_func
"$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
8191 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes
; then :
8192 enable_winemac_drv
=${enable_winemac_drv:-yes}
8195 LIBS
="$ac_save_LIBS"
8198 if test "x$enable_win16" = "xyes"
8200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
8201 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
8202 if test "$cross_compiling" = yes; then :
8203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
8204 $as_echo "cross-compiling, assuming yes" >&6; }
8206 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8207 /* end confdefs.h. */
8210 "good:\tnop;nop\n\t"
8211 ".globl _testfunc\n"
8212 "_testfunc:\tcallw good");
8213 extern void testfunc();
8217 unsigned short *p = (unsigned short *)testfunc;
8218 return p[0] != 0xe866 || p[1] != 0xfffa
8223 if ac_fn_c_try_run
"$LINENO"; then :
8224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8225 $as_echo "yes" >&6; }
8227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8228 $as_echo "no" >&6; }
8229 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
8231 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
8232 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
8237 LIBWINE_SHAREDLIB
="libwine.$libwine_version.dylib"
8239 LIBWINE_INSTALL_LIB
="libwine.$libwine_version.dylib libwine.$libwine_soversion.dylib"
8241 LIBWINE_INSTALL_DEV
="libwine.dylib"
8243 LIBWINE_LDFLAGS
="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
8245 WINELOADER_DEPENDS
="wine_info.plist"
8250 DLLFLAGS
="$DLLFLAGS -fPIC"
8251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8252 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8253 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false
; then :
8254 $as_echo_n "(cached) " >&6
8256 ac_wine_try_cflags_saved
=$CFLAGS
8257 CFLAGS
="$CFLAGS -fPIC -Wl,--export-dynamic"
8258 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8259 /* end confdefs.h. */
8260 int main(int argc, char **argv) { return 0; }
8262 if ac_fn_c_try_link
"$LINENO"; then :
8263 ac_cv_cflags__fPIC__Wl___export_dynamic
=yes
8265 ac_cv_cflags__fPIC__Wl___export_dynamic
=no
8267 rm -f core conftest.err conftest.
$ac_objext \
8268 conftest
$ac_exeext conftest.
$ac_ext
8269 CFLAGS
=$ac_wine_try_cflags_saved
8271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8272 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8273 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes
; then :
8274 LDEXECFLAGS
="-Wl,--export-dynamic"
8276 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8278 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8279 if eval \
${$as_ac_var+:} false
; then :
8280 $as_echo_n "(cached) " >&6
8282 ac_wine_try_cflags_saved
=$CFLAGS
8283 CFLAGS
="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8284 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8285 /* end confdefs.h. */
8286 int main(int argc, char **argv) { return 0; }
8288 if ac_fn_c_try_link
"$LINENO"; then :
8289 eval "$as_ac_var=yes"
8291 eval "$as_ac_var=no"
8293 rm -f core conftest.err conftest.
$ac_objext \
8294 conftest
$ac_exeext conftest.
$ac_ext
8295 CFLAGS
=$ac_wine_try_cflags_saved
8297 eval ac_res
=\$
$as_ac_var
8298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8299 $as_echo "$ac_res" >&6; }
8300 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
8301 LDRPATH_INSTALL
="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8302 LDRPATH_LOCAL
="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8304 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8306 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8307 if eval \
${$as_ac_var+:} false
; then :
8308 $as_echo_n "(cached) " >&6
8310 ac_wine_try_cflags_saved
=$CFLAGS
8311 CFLAGS
="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8312 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8313 /* end confdefs.h. */
8314 int main(int argc, char **argv) { return 0; }
8316 if ac_fn_c_try_link
"$LINENO"; then :
8317 eval "$as_ac_var=yes"
8319 eval "$as_ac_var=no"
8321 rm -f core conftest.err conftest.
$ac_objext \
8322 conftest
$ac_exeext conftest.
$ac_ext
8323 CFLAGS
=$ac_wine_try_cflags_saved
8325 eval ac_res
=\$
$as_ac_var
8326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8327 $as_echo "$ac_res" >&6; }
8328 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
8329 LDRPATH_INSTALL
="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8330 LDRPATH_LOCAL
="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8335 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8336 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false
; then :
8337 $as_echo_n "(cached) " >&6
8339 ac_wine_try_cflags_saved
=$CFLAGS
8340 CFLAGS
="$CFLAGS -Wl,--enable-new-dtags"
8341 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8342 /* end confdefs.h. */
8343 int main(int argc, char **argv) { return 0; }
8345 if ac_fn_c_try_link
"$LINENO"; then :
8346 ac_cv_cflags__Wl___enable_new_dtags
=yes
8348 ac_cv_cflags__Wl___enable_new_dtags
=no
8350 rm -f core conftest.err conftest.
$ac_objext \
8351 conftest
$ac_exeext conftest.
$ac_ext
8352 CFLAGS
=$ac_wine_try_cflags_saved
8354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8355 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8356 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes
; then :
8357 LDRPATH_INSTALL
="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-pie" >&5
8360 $as_echo_n "checking whether the compiler supports -Wl,-pie... " >&6; }
8361 if ${ac_cv_cflags__Wl__pie+:} false
; then :
8362 $as_echo_n "(cached) " >&6
8364 ac_wine_try_cflags_saved
=$CFLAGS
8365 CFLAGS
="$CFLAGS -Wl,-pie"
8366 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8367 /* end confdefs.h. */
8368 int main(int argc, char **argv) { return 0; }
8370 if ac_fn_c_try_link
"$LINENO"; then :
8371 ac_cv_cflags__Wl__pie
=yes
8373 ac_cv_cflags__Wl__pie
=no
8375 rm -f core conftest.err conftest.
$ac_objext \
8376 conftest
$ac_exeext conftest.
$ac_ext
8377 CFLAGS
=$ac_wine_try_cflags_saved
8379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__pie" >&5
8380 $as_echo "$ac_cv_cflags__Wl__pie" >&6; }
8381 if test "x$ac_cv_cflags__Wl__pie" = xyes
; then :
8382 LDRPATH_INSTALL
="$LDRPATH_INSTALL -Wl,-pie"
8385 LIBWINE_SHAREDLIB
="libwine.so"
8387 LIBWINE_INSTALL_LIB
="libwine.so"
8389 LIBWINE_LDFLAGS
="-shared"
8394 DLLFLAGS
="$DLLFLAGS -fPIC"
8396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
8397 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
8398 if ${ac_cv_c_dll_gnuelf+:} false
; then :
8399 $as_echo_n "(cached) " >&6
8401 ac_wine_try_cflags_saved
=$CFLAGS
8402 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8403 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8404 /* end confdefs.h. */
8407 if ac_fn_c_try_link
"$LINENO"; then :
8408 ac_cv_c_dll_gnuelf
="yes"
8410 ac_cv_c_dll_gnuelf
="no"
8412 rm -f core conftest.err conftest.
$ac_objext \
8413 conftest
$ac_exeext conftest.
$ac_ext
8414 CFLAGS
=$ac_wine_try_cflags_saved
8416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
8417 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
8418 if test "$ac_cv_c_dll_gnuelf" = "yes"
8420 LIBWINE_LDFLAGS
="-shared"
8421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8422 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
8423 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false
; then :
8424 $as_echo_n "(cached) " >&6
8426 ac_wine_try_cflags_saved
=$CFLAGS
8427 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8428 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8429 /* end confdefs.h. */
8430 int main(int argc, char **argv) { return 0; }
8432 if ac_fn_c_try_link
"$LINENO"; then :
8433 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1
=yes
8435 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1
=no
8437 rm -f core conftest.err conftest.
$ac_objext \
8438 conftest
$ac_exeext conftest.
$ac_ext
8439 CFLAGS
=$ac_wine_try_cflags_saved
8441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8442 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8443 if test "x$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" = xyes
; then :
8444 LIBWINE_LDFLAGS
="-shared -Wl,-soname,libwine.so.$libwine_soversion"
8446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8447 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
8448 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false
; then :
8449 $as_echo_n "(cached) " >&6
8451 ac_wine_try_cflags_saved
=$CFLAGS
8452 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8453 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8454 /* end confdefs.h. */
8455 int main(int argc, char **argv) { return 0; }
8457 if ac_fn_c_try_link
"$LINENO"; then :
8458 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1
=yes
8460 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1
=no
8462 rm -f core conftest.err conftest.
$ac_objext \
8463 conftest
$ac_exeext conftest.
$ac_ext
8464 CFLAGS
=$ac_wine_try_cflags_saved
8466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8467 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8468 if test "x$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" = xyes
; then :
8469 LIBWINE_LDFLAGS
="-shared -Wl,-h,libwine.so.$libwine_soversion"
8473 echo '{ global: *; };' >conftest.map
8474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8475 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
8476 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false
; then :
8477 $as_echo_n "(cached) " >&6
8479 ac_wine_try_cflags_saved
=$CFLAGS
8480 CFLAGS
="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8481 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8482 /* end confdefs.h. */
8483 int main(int argc, char **argv) { return 0; }
8485 if ac_fn_c_try_link
"$LINENO"; then :
8486 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map
=yes
8488 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map
=no
8490 rm -f core conftest.err conftest.
$ac_objext \
8491 conftest
$ac_exeext conftest.
$ac_ext
8492 CFLAGS
=$ac_wine_try_cflags_saved
8494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8495 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8496 if test "x$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" = xyes
; then :
8497 LIBWINE_LDFLAGS
="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
8501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8502 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8503 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false
; then :
8504 $as_echo_n "(cached) " >&6
8506 ac_wine_try_cflags_saved
=$CFLAGS
8507 CFLAGS
="$CFLAGS -fPIC -Wl,--export-dynamic"
8508 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8509 /* end confdefs.h. */
8510 int main(int argc, char **argv) { return 0; }
8512 if ac_fn_c_try_link
"$LINENO"; then :
8513 ac_cv_cflags__fPIC__Wl___export_dynamic
=yes
8515 ac_cv_cflags__fPIC__Wl___export_dynamic
=no
8517 rm -f core conftest.err conftest.
$ac_objext \
8518 conftest
$ac_exeext conftest.
$ac_ext
8519 CFLAGS
=$ac_wine_try_cflags_saved
8521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8522 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8523 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes
; then :
8524 LDEXECFLAGS
="-Wl,--export-dynamic"
8527 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8529 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8530 if eval \
${$as_ac_var+:} false
; then :
8531 $as_echo_n "(cached) " >&6
8533 ac_wine_try_cflags_saved
=$CFLAGS
8534 CFLAGS
="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8535 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8536 /* end confdefs.h. */
8537 int main(int argc, char **argv) { return 0; }
8539 if ac_fn_c_try_link
"$LINENO"; then :
8540 eval "$as_ac_var=yes"
8542 eval "$as_ac_var=no"
8544 rm -f core conftest.err conftest.
$ac_objext \
8545 conftest
$ac_exeext conftest.
$ac_ext
8546 CFLAGS
=$ac_wine_try_cflags_saved
8548 eval ac_res
=\$
$as_ac_var
8549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8550 $as_echo "$ac_res" >&6; }
8551 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
8552 LDRPATH_INSTALL
="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8553 LDRPATH_LOCAL
="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8555 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8557 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8558 if eval \
${$as_ac_var+:} false
; then :
8559 $as_echo_n "(cached) " >&6
8561 ac_wine_try_cflags_saved
=$CFLAGS
8562 CFLAGS
="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8563 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8564 /* end confdefs.h. */
8565 int main(int argc, char **argv) { return 0; }
8567 if ac_fn_c_try_link
"$LINENO"; then :
8568 eval "$as_ac_var=yes"
8570 eval "$as_ac_var=no"
8572 rm -f core conftest.err conftest.
$ac_objext \
8573 conftest
$ac_exeext conftest.
$ac_ext
8574 CFLAGS
=$ac_wine_try_cflags_saved
8576 eval ac_res
=\$
$as_ac_var
8577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8578 $as_echo "$ac_res" >&6; }
8579 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
8580 LDRPATH_INSTALL
="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8581 LDRPATH_LOCAL
="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8586 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8587 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false
; then :
8588 $as_echo_n "(cached) " >&6
8590 ac_wine_try_cflags_saved
=$CFLAGS
8591 CFLAGS
="$CFLAGS -Wl,--enable-new-dtags"
8592 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8593 /* end confdefs.h. */
8594 int main(int argc, char **argv) { return 0; }
8596 if ac_fn_c_try_link
"$LINENO"; then :
8597 ac_cv_cflags__Wl___enable_new_dtags
=yes
8599 ac_cv_cflags__Wl___enable_new_dtags
=no
8601 rm -f core conftest.err conftest.
$ac_objext \
8602 conftest
$ac_exeext conftest.
$ac_ext
8603 CFLAGS
=$ac_wine_try_cflags_saved
8605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8606 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8607 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes
; then :
8608 LDRPATH_INSTALL
="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8612 *i
[3456789]86* | x86_64
)
8613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8614 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
8615 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false
; then :
8616 $as_echo_n "(cached) " >&6
8618 ac_wine_try_cflags_saved
=$CFLAGS
8619 CFLAGS
="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8620 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8621 /* end confdefs.h. */
8622 int main(int argc, char **argv) { return 0; }
8624 if ac_fn_c_try_link
"$LINENO"; then :
8625 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=yes
8627 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=no
8629 rm -f core conftest.err conftest.
$ac_objext \
8630 conftest
$ac_exeext conftest.
$ac_ext
8631 CFLAGS
=$ac_wine_try_cflags_saved
8633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8634 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8635 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" = xyes
; then :
8637 freebsd
* | kfreebsd
*-gnu) LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x60000400" ;;
8638 *) LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400" ;;
8642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
8643 $as_echo_n "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
8644 if ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+:} false
; then :
8645 $as_echo_n "(cached) " >&6
8647 ac_wine_try_cflags_saved
=$CFLAGS
8648 CFLAGS
="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
8649 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8650 /* end confdefs.h. */
8651 int main(int argc, char **argv) { return 0; }
8653 if ac_fn_c_try_link
"$LINENO"; then :
8654 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000
=yes
8656 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000
=no
8658 rm -f core conftest.err conftest.
$ac_objext \
8659 conftest
$ac_exeext conftest.
$ac_ext
8660 CFLAGS
=$ac_wine_try_cflags_saved
8662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
8663 $as_echo "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
8664 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes
; then :
8667 # Extract the first word of "prelink", so it can be a program name with args.
8668 set dummy prelink
; ac_word
=$2
8669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8670 $as_echo_n "checking for $ac_word... " >&6; }
8671 if ${ac_cv_path_PRELINK+:} false
; then :
8672 $as_echo_n "(cached) " >&6
8676 ac_cv_path_PRELINK
="$PRELINK" # Let the user override the test with a path.
8679 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8680 for as_dir
in /sbin
/usr
/sbin
$PATH
8683 test -z "$as_dir" && as_dir
=.
8684 for ac_exec_ext
in '' $ac_executable_extensions; do
8685 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8686 ac_cv_path_PRELINK
="$as_dir/$ac_word$ac_exec_ext"
8687 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8694 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK
="false"
8698 PRELINK
=$ac_cv_path_PRELINK
8699 if test -n "$PRELINK"; then
8700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
8701 $as_echo "$PRELINK" >&6; }
8703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8704 $as_echo "no" >&6; }
8708 if test "x$PRELINK" = xfalse
8710 as_fn_append wine_warnings
"|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
8717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
8718 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
8719 if ${ac_cv_c_dll_unixware+:} false
; then :
8720 $as_echo_n "(cached) " >&6
8722 ac_wine_try_cflags_saved
=$CFLAGS
8723 CFLAGS
="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
8724 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8725 /* end confdefs.h. */
8728 if ac_fn_c_try_link
"$LINENO"; then :
8729 ac_cv_c_dll_unixware
="yes"
8731 ac_cv_c_dll_unixware
="no"
8733 rm -f core conftest.err conftest.
$ac_objext \
8734 conftest
$ac_exeext conftest.
$ac_ext
8735 CFLAGS
=$ac_wine_try_cflags_saved
8737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
8738 $as_echo "$ac_cv_c_dll_unixware" >&6; }
8739 if test "$ac_cv_c_dll_unixware" = "yes"
8741 LIBWINE_LDFLAGS
="-Wl,-G,-h,libwine.so.$libwine_soversion"
8744 LIBWINE_SHAREDLIB
="libwine.so.$libwine_version"
8746 LIBWINE_INSTALL_LIB
="libwine.so.$libwine_version libwine.so.$libwine_soversion"
8748 LIBWINE_INSTALL_DEV
="libwine.so"
8750 LIBWINE_DEPENDS
="wine.map"
8755 enable_winecoreaudio_drv
=${enable_winecoreaudio_drv:-no}
8756 enable_wineqtdecoder
=${enable_wineqtdecoder:-no}
8757 enable_winemac_drv
=${enable_winemac_drv:-no}
8758 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv
=${enable_winejoystick_drv:-no}
8762 if test "$cross_compiling" = "no" -a "x$enable_tests" != xno
-a "$LIBEXT" != "dll"
8766 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
8769 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 " ;;
8771 ac_prefix_list
="" ;;
8773 for ac_prog
in $ac_prefix_list
8775 # Extract the first word of "$ac_prog", so it can be a program name with args.
8776 set dummy
$ac_prog; ac_word
=$2
8777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8778 $as_echo_n "checking for $ac_word... " >&6; }
8779 if ${ac_cv_prog_CROSSCC+:} false
; then :
8780 $as_echo_n "(cached) " >&6
8782 if test -n "$CROSSCC"; then
8783 ac_cv_prog_CROSSCC
="$CROSSCC" # Let the user override the test.
8785 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8789 test -z "$as_dir" && as_dir
=.
8790 for ac_exec_ext
in '' $ac_executable_extensions; do
8791 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8792 ac_cv_prog_CROSSCC
="$ac_prog"
8793 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8802 CROSSCC
=$ac_cv_prog_CROSSCC
8803 if test -n "$CROSSCC"; then
8804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
8805 $as_echo "$CROSSCC" >&6; }
8807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8808 $as_echo "no" >&6; }
8812 test -n "$CROSSCC" && break
8814 test -n "$CROSSCC" || CROSSCC
="false"
8816 if test "$CROSSCC" != "false"
8820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
8821 $as_echo_n "checking whether $CROSSCC works... " >&6; }
8822 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8823 /* end confdefs.h. */
8833 if ac_fn_c_try_compile
"$LINENO"; then :
8834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8835 $as_echo "yes" >&6; }
8841 *-gcc) CROSSTARGET
=`expr "$1" : '\(.*\)-gcc'` ;;
8846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8847 $as_echo "no" >&6; }
8849 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8855 if test "$ac_cv_header_pthread_h" = "yes"
8857 ac_fn_c_check_func
"$LINENO" "pthread_create" "ac_cv_func_pthread_create"
8858 if test "x$ac_cv_func_pthread_create" = xyes
; then :
8861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
8862 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
8863 if ${ac_cv_lib_pthread_pthread_create+:} false
; then :
8864 $as_echo_n "(cached) " >&6
8866 ac_check_lib_save_LIBS
=$LIBS
8867 LIBS
="-lpthread $LIBS"
8868 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8869 /* end confdefs.h. */
8871 /* Override any GCC internal prototype to avoid an error.
8872 Use char because int might match the return type of a GCC
8873 builtin and then its argument prototype would still apply. */
8877 char pthread_create ();
8881 return pthread_create ();
8886 if ac_fn_c_try_link
"$LINENO"; then :
8887 ac_cv_lib_pthread_pthread_create
=yes
8889 ac_cv_lib_pthread_pthread_create
=no
8891 rm -f core conftest.err conftest.
$ac_objext \
8892 conftest
$ac_exeext conftest.
$ac_ext
8893 LIBS
=$ac_check_lib_save_LIBS
8895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
8896 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
8897 if test "x$ac_cv_lib_pthread_pthread_create" = xyes
; then :
8898 PTHREAD_LIBS
="-lpthread"
8905 if test "x$ac_cv_func_pthread_create" != xyes
-a "x$PTHREAD_LIBS" = x
; then :
8906 case "x$with_pthread" in
8908 *) as_fn_error $?
"pthread ${notice_platform}development files not found.
8909 Wine cannot support threads without libpthread.
8910 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
8915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
8916 $as_echo_n "checking for X... " >&6; }
8919 # Check whether --with-x was given.
8920 if test "${with_x+set}" = set; then :
8924 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
8925 if test "x$with_x" = xno
; then
8926 # The user explicitly disabled X.
8929 case $x_includes,$x_libraries in #(
8930 *\'*) as_fn_error $?
"cannot use X directory names containing '" "$LINENO" 5;; #(
8931 *,NONE | NONE
,*) if ${ac_cv_have_x+:} false
; then :
8932 $as_echo_n "(cached) " >&6
8934 # One or both of the vars are not set, and there is no cached value.
8935 ac_x_includes
=no ac_x_libraries
=no
8936 rm -f -r conftest.dir
8937 if mkdir conftest.dir
; then
8939 cat >Imakefile
<<'_ACEOF'
8941 @echo incroot='${INCROOT}'
8943 @echo usrlibdir='${USRLIBDIR}'
8945 @echo libdir='${LIBDIR}'
8947 if (export CC
; ${XMKMF-xmkmf}) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
8948 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
8949 for ac_var
in incroot usrlibdir libdir
; do
8950 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
8952 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
8953 for ac_extension
in a so sl dylib la dll
; do
8954 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
8955 test -f "$ac_im_libdir/libX11.$ac_extension"; then
8956 ac_im_usrlibdir
=$ac_im_libdir; break
8959 # Screen out bogus values from the imake configuration. They are
8960 # bogus both because they are the default anyway, and because
8961 # using them would break gcc on systems where it needs fixed includes.
8962 case $ac_im_incroot in
8963 /usr
/include
) ac_x_includes
= ;;
8964 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
8966 case $ac_im_usrlibdir in
8967 /usr
/lib |
/usr
/lib64 |
/lib |
/lib64
) ;;
8968 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
8972 rm -f -r conftest.dir
8975 # Standard set of common directories for X headers.
8976 # Check X11 before X11Rn because it is often a symlink to the current release.
8990 /usr/local/X11/include
8991 /usr/local/X11R7/include
8992 /usr/local/X11R6/include
8993 /usr/local/X11R5/include
8994 /usr/local/X11R4/include
8996 /usr/local/include/X11
8997 /usr/local/include/X11R7
8998 /usr/local/include/X11R6
8999 /usr/local/include/X11R5
9000 /usr/local/include/X11R4
9004 /usr/XFree86/include/X11
9008 /usr/unsupported/include
9010 /usr/local/x11r5/include
9011 /usr/lpp/Xamples/include
9013 /usr/openwin/include
9014 /usr/openwin/share/include'
9016 if test "$ac_x_includes" = no
; then
9017 # Guess where to find include files, by looking for Xlib.h.
9018 # First, try using that file with no special directory specified.
9019 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9020 /* end confdefs.h. */
9021 #include <X11/Xlib.h>
9023 if ac_fn_c_try_cpp
"$LINENO"; then :
9024 # We can compile using X headers with no special include directory.
9027 for ac_dir
in $ac_x_header_dirs; do
9028 if test -r "$ac_dir/X11/Xlib.h"; then
9029 ac_x_includes
=$ac_dir
9034 rm -f conftest.err conftest.i conftest.
$ac_ext
9035 fi # $ac_x_includes = no
9037 if test "$ac_x_libraries" = no
; then
9038 # Check for the libraries.
9039 # See if we find them without any special options.
9040 # Don't add to $LIBS permanently.
9043 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9044 /* end confdefs.h. */
9045 #include <X11/Xlib.h>
9054 if ac_fn_c_try_link
"$LINENO"; then :
9056 # We can link X programs with no special library path.
9060 for ac_dir
in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
9062 # Don't even attempt the hair of trying to link an X program!
9063 for ac_extension
in a so sl dylib la dll
; do
9064 if test -r "$ac_dir/libX11.$ac_extension"; then
9065 ac_x_libraries
=$ac_dir
9071 rm -f core conftest.err conftest.
$ac_objext \
9072 conftest
$ac_exeext conftest.
$ac_ext
9073 fi # $ac_x_libraries = no
9075 case $ac_x_includes,$ac_x_libraries in #(
9077 # Didn't find X, or a directory has "'" in its name.
9078 ac_cv_have_x
="have_x=no";; #(
9080 # Record where we found X for the cache.
9081 ac_cv_have_x
="have_x=yes\
9082 ac_x_includes='$ac_x_includes'\
9083 ac_x_libraries='$ac_x_libraries'"
9089 eval "$ac_cv_have_x"
9092 if test "$have_x" != yes; then
9093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
9094 $as_echo "$have_x" >&6; }
9097 # If each of the values was on the command line, it overrides each guess.
9098 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
9099 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
9100 # Update the cache value to reflect the command line values.
9101 ac_cv_have_x
="have_x=yes\
9102 ac_x_includes='$x_includes'\
9103 ac_x_libraries='$x_libraries'"
9104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
9105 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
9108 if test "$no_x" = yes; then
9109 # Not all programs may use this symbol, but it does not hurt to define it.
9111 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
9113 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
9115 if test -n "$x_includes"; then
9116 X_CFLAGS
="$X_CFLAGS -I$x_includes"
9119 # It would also be nice to do this for all -L options, not just this one.
9120 if test -n "$x_libraries"; then
9121 X_LIBS
="$X_LIBS -L$x_libraries"
9122 # For Solaris; some versions of Sun CC require a space after -R and
9123 # others require no space. Words are not sufficient . . . .
9124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
9125 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
9126 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
9127 ac_xsave_c_werror_flag
=$ac_c_werror_flag
9128 ac_c_werror_flag
=yes
9129 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9130 /* end confdefs.h. */
9140 if ac_fn_c_try_link
"$LINENO"; then :
9141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9142 $as_echo "no" >&6; }
9143 X_LIBS
="$X_LIBS -R$x_libraries"
9145 LIBS
="$ac_xsave_LIBS -R $x_libraries"
9146 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9147 /* end confdefs.h. */
9157 if ac_fn_c_try_link
"$LINENO"; then :
9158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9159 $as_echo "yes" >&6; }
9160 X_LIBS
="$X_LIBS -R $x_libraries"
9162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
9163 $as_echo "neither works" >&6; }
9165 rm -f core conftest.err conftest.
$ac_objext \
9166 conftest
$ac_exeext conftest.
$ac_ext
9168 rm -f core conftest.err conftest.
$ac_objext \
9169 conftest
$ac_exeext conftest.
$ac_ext
9170 ac_c_werror_flag
=$ac_xsave_c_werror_flag
9174 # Check for system-dependent libraries X programs must link with.
9175 # Do this before checking for the system-independent R6 libraries
9176 # (-lICE), since we may need -lsocket or whatever for X linking.
9178 if test "$ISC" = yes; then
9179 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
9181 # Martyn Johnson says this is needed for Ultrix, if the X
9182 # libraries were built with DECnet support. And Karl Berry says
9183 # the Alpha needs dnet_stub (dnet does not exist).
9184 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
9185 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9186 /* end confdefs.h. */
9188 /* Override any GCC internal prototype to avoid an error.
9189 Use char because int might match the return type of a GCC
9190 builtin and then its argument prototype would still apply. */
9194 char XOpenDisplay ();
9198 return XOpenDisplay ();
9203 if ac_fn_c_try_link
"$LINENO"; then :
9206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
9207 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
9208 if ${ac_cv_lib_dnet_dnet_ntoa+:} false
; then :
9209 $as_echo_n "(cached) " >&6
9211 ac_check_lib_save_LIBS
=$LIBS
9213 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9214 /* end confdefs.h. */
9216 /* Override any GCC internal prototype to avoid an error.
9217 Use char because int might match the return type of a GCC
9218 builtin and then its argument prototype would still apply. */
9226 return dnet_ntoa ();
9231 if ac_fn_c_try_link
"$LINENO"; then :
9232 ac_cv_lib_dnet_dnet_ntoa
=yes
9234 ac_cv_lib_dnet_dnet_ntoa
=no
9236 rm -f core conftest.err conftest.
$ac_objext \
9237 conftest
$ac_exeext conftest.
$ac_ext
9238 LIBS
=$ac_check_lib_save_LIBS
9240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
9241 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
9242 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes
; then :
9243 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
9246 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
9247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
9248 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
9249 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false
; then :
9250 $as_echo_n "(cached) " >&6
9252 ac_check_lib_save_LIBS
=$LIBS
9253 LIBS
="-ldnet_stub $LIBS"
9254 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9255 /* end confdefs.h. */
9257 /* Override any GCC internal prototype to avoid an error.
9258 Use char because int might match the return type of a GCC
9259 builtin and then its argument prototype would still apply. */
9267 return dnet_ntoa ();
9272 if ac_fn_c_try_link
"$LINENO"; then :
9273 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
9275 ac_cv_lib_dnet_stub_dnet_ntoa
=no
9277 rm -f core conftest.err conftest.
$ac_objext \
9278 conftest
$ac_exeext conftest.
$ac_ext
9279 LIBS
=$ac_check_lib_save_LIBS
9281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
9282 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
9283 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes
; then :
9284 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
9289 rm -f core conftest.err conftest.
$ac_objext \
9290 conftest
$ac_exeext conftest.
$ac_ext
9291 LIBS
="$ac_xsave_LIBS"
9293 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
9294 # to get the SysV transport functions.
9295 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
9297 # The nsl library prevents programs from opening the X display
9298 # on Irix 5.2, according to T.E. Dickey.
9299 # The functions gethostbyname, getservbyname, and inet_addr are
9300 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
9301 ac_fn_c_check_func
"$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
9302 if test "x$ac_cv_func_gethostbyname" = xyes
; then :
9306 if test $ac_cv_func_gethostbyname = no
; then
9307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
9308 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
9309 if ${ac_cv_lib_nsl_gethostbyname+:} false
; then :
9310 $as_echo_n "(cached) " >&6
9312 ac_check_lib_save_LIBS
=$LIBS
9314 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9315 /* end confdefs.h. */
9317 /* Override any GCC internal prototype to avoid an error.
9318 Use char because int might match the return type of a GCC
9319 builtin and then its argument prototype would still apply. */
9323 char gethostbyname ();
9327 return gethostbyname ();
9332 if ac_fn_c_try_link
"$LINENO"; then :
9333 ac_cv_lib_nsl_gethostbyname
=yes
9335 ac_cv_lib_nsl_gethostbyname
=no
9337 rm -f core conftest.err conftest.
$ac_objext \
9338 conftest
$ac_exeext conftest.
$ac_ext
9339 LIBS
=$ac_check_lib_save_LIBS
9341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
9342 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
9343 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes
; then :
9344 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
9347 if test $ac_cv_lib_nsl_gethostbyname = no
; then
9348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
9349 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
9350 if ${ac_cv_lib_bsd_gethostbyname+:} false
; then :
9351 $as_echo_n "(cached) " >&6
9353 ac_check_lib_save_LIBS
=$LIBS
9355 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9356 /* end confdefs.h. */
9358 /* Override any GCC internal prototype to avoid an error.
9359 Use char because int might match the return type of a GCC
9360 builtin and then its argument prototype would still apply. */
9364 char gethostbyname ();
9368 return gethostbyname ();
9373 if ac_fn_c_try_link
"$LINENO"; then :
9374 ac_cv_lib_bsd_gethostbyname
=yes
9376 ac_cv_lib_bsd_gethostbyname
=no
9378 rm -f core conftest.err conftest.
$ac_objext \
9379 conftest
$ac_exeext conftest.
$ac_ext
9380 LIBS
=$ac_check_lib_save_LIBS
9382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
9383 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
9384 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes
; then :
9385 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
9391 # lieder@skyler.mavd.honeywell.com says without -lsocket,
9392 # socket/setsockopt and other routines are undefined under SCO ODT
9393 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
9394 # on later versions), says Simon Leinen: it contains gethostby*
9395 # variants that don't use the name server (or something). -lsocket
9396 # must be given before -lnsl if both are needed. We assume that
9397 # if connect needs -lnsl, so does gethostbyname.
9398 ac_fn_c_check_func
"$LINENO" "connect" "ac_cv_func_connect"
9399 if test "x$ac_cv_func_connect" = xyes
; then :
9403 if test $ac_cv_func_connect = no
; then
9404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
9405 $as_echo_n "checking for connect in -lsocket... " >&6; }
9406 if ${ac_cv_lib_socket_connect+:} false
; then :
9407 $as_echo_n "(cached) " >&6
9409 ac_check_lib_save_LIBS
=$LIBS
9410 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
9411 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9412 /* end confdefs.h. */
9414 /* Override any GCC internal prototype to avoid an error.
9415 Use char because int might match the return type of a GCC
9416 builtin and then its argument prototype would still apply. */
9429 if ac_fn_c_try_link
"$LINENO"; then :
9430 ac_cv_lib_socket_connect
=yes
9432 ac_cv_lib_socket_connect
=no
9434 rm -f core conftest.err conftest.
$ac_objext \
9435 conftest
$ac_exeext conftest.
$ac_ext
9436 LIBS
=$ac_check_lib_save_LIBS
9438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
9439 $as_echo "$ac_cv_lib_socket_connect" >&6; }
9440 if test "x$ac_cv_lib_socket_connect" = xyes
; then :
9441 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
9446 # Guillermo Gomez says -lposix is necessary on A/UX.
9447 ac_fn_c_check_func
"$LINENO" "remove" "ac_cv_func_remove"
9448 if test "x$ac_cv_func_remove" = xyes
; then :
9452 if test $ac_cv_func_remove = no
; then
9453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
9454 $as_echo_n "checking for remove in -lposix... " >&6; }
9455 if ${ac_cv_lib_posix_remove+:} false
; then :
9456 $as_echo_n "(cached) " >&6
9458 ac_check_lib_save_LIBS
=$LIBS
9459 LIBS
="-lposix $LIBS"
9460 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9461 /* end confdefs.h. */
9463 /* Override any GCC internal prototype to avoid an error.
9464 Use char because int might match the return type of a GCC
9465 builtin and then its argument prototype would still apply. */
9478 if ac_fn_c_try_link
"$LINENO"; then :
9479 ac_cv_lib_posix_remove
=yes
9481 ac_cv_lib_posix_remove
=no
9483 rm -f core conftest.err conftest.
$ac_objext \
9484 conftest
$ac_exeext conftest.
$ac_ext
9485 LIBS
=$ac_check_lib_save_LIBS
9487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
9488 $as_echo "$ac_cv_lib_posix_remove" >&6; }
9489 if test "x$ac_cv_lib_posix_remove" = xyes
; then :
9490 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
9495 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
9496 ac_fn_c_check_func
"$LINENO" "shmat" "ac_cv_func_shmat"
9497 if test "x$ac_cv_func_shmat" = xyes
; then :
9501 if test $ac_cv_func_shmat = no
; then
9502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
9503 $as_echo_n "checking for shmat in -lipc... " >&6; }
9504 if ${ac_cv_lib_ipc_shmat+:} false
; then :
9505 $as_echo_n "(cached) " >&6
9507 ac_check_lib_save_LIBS
=$LIBS
9509 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9510 /* end confdefs.h. */
9512 /* Override any GCC internal prototype to avoid an error.
9513 Use char because int might match the return type of a GCC
9514 builtin and then its argument prototype would still apply. */
9527 if ac_fn_c_try_link
"$LINENO"; then :
9528 ac_cv_lib_ipc_shmat
=yes
9530 ac_cv_lib_ipc_shmat
=no
9532 rm -f core conftest.err conftest.
$ac_objext \
9533 conftest
$ac_exeext conftest.
$ac_ext
9534 LIBS
=$ac_check_lib_save_LIBS
9536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
9537 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
9538 if test "x$ac_cv_lib_ipc_shmat" = xyes
; then :
9539 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
9545 # Check for libraries that X11R6 Xt/Xaw programs need.
9546 ac_save_LDFLAGS
=$LDFLAGS
9547 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
9548 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
9549 # check for ICE first), but we must link in the order -lSM -lICE or
9550 # we get undefined symbols. So assume we have SM if we have ICE.
9551 # These have to be linked with before -lX11, unlike the other
9552 # libraries we check for below, so use a different variable.
9553 # John Interrante, Karl Berry
9554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
9555 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
9556 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false
; then :
9557 $as_echo_n "(cached) " >&6
9559 ac_check_lib_save_LIBS
=$LIBS
9560 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
9561 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9562 /* end confdefs.h. */
9564 /* Override any GCC internal prototype to avoid an error.
9565 Use char because int might match the return type of a GCC
9566 builtin and then its argument prototype would still apply. */
9570 char IceConnectionNumber ();
9574 return IceConnectionNumber ();
9579 if ac_fn_c_try_link
"$LINENO"; then :
9580 ac_cv_lib_ICE_IceConnectionNumber
=yes
9582 ac_cv_lib_ICE_IceConnectionNumber
=no
9584 rm -f core conftest.err conftest.
$ac_objext \
9585 conftest
$ac_exeext conftest.
$ac_ext
9586 LIBS
=$ac_check_lib_save_LIBS
9588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
9589 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
9590 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes
; then :
9591 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
9594 LDFLAGS
=$ac_save_LDFLAGS
9599 if test "$have_x" = "yes"
9601 ac_save_CPPFLAGS
="$CPPFLAGS"
9602 CPPFLAGS
="$CPPFLAGS $X_CFLAGS"
9604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
9605 $as_echo_n "checking for -lX11... " >&6; }
9606 if ${ac_cv_lib_soname_X11+:} false
; then :
9607 $as_echo_n "(cached) " >&6
9609 ac_check_soname_save_LIBS
=$LIBS
9610 LIBS
="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9611 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9612 /* end confdefs.h. */
9614 /* Override any GCC internal prototype to avoid an error.
9615 Use char because int might match the return type of a GCC
9616 builtin and then its argument prototype would still apply. */
9620 char XCreateWindow ();
9624 return XCreateWindow ();
9629 if ac_fn_c_try_link
"$LINENO"; then :
9631 dll
) ac_cv_lib_soname_X11
=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9632 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'` ;;
9633 *) ac_cv_lib_soname_X11
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9634 if ${ac_cv_lib_soname_X11:+false} :; then :
9635 ac_cv_lib_soname_X11
=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9639 rm -f core conftest.err conftest.
$ac_objext \
9640 conftest
$ac_exeext conftest.
$ac_ext
9641 LIBS
=$ac_check_soname_save_LIBS
9643 if ${ac_cv_lib_soname_X11:+false} :; then :
9644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9645 $as_echo "not found" >&6; }
9648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
9649 $as_echo "$ac_cv_lib_soname_X11" >&6; }
9651 cat >>confdefs.h
<<_ACEOF
9652 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
9658 $as_echo_n "checking for -lXext... " >&6; }
9659 if ${ac_cv_lib_soname_Xext+:} false
; then :
9660 $as_echo_n "(cached) " >&6
9662 ac_check_soname_save_LIBS
=$LIBS
9663 LIBS
="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9664 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9665 /* end confdefs.h. */
9667 /* Override any GCC internal prototype to avoid an error.
9668 Use char because int might match the return type of a GCC
9669 builtin and then its argument prototype would still apply. */
9673 char XextCreateExtension ();
9677 return XextCreateExtension ();
9682 if ac_fn_c_try_link
"$LINENO"; then :
9684 dll
) ac_cv_lib_soname_Xext
=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9685 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'` ;;
9686 *) ac_cv_lib_soname_Xext
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9687 if ${ac_cv_lib_soname_Xext:+false} :; then :
9688 ac_cv_lib_soname_Xext
=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9692 rm -f core conftest.err conftest.
$ac_objext \
9693 conftest
$ac_exeext conftest.
$ac_ext
9694 LIBS
=$ac_check_soname_save_LIBS
9696 if ${ac_cv_lib_soname_Xext:+false} :; then :
9697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9698 $as_echo "not found" >&6; }
9701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
9702 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
9704 cat >>confdefs.h
<<_ACEOF
9705 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9708 X_LIBS
="$X_LIBS -lXext"
9710 X_LIBS
="$X_LIBS -lX11"
9712 for ac_header
in X11
/Xlib.h \
9715 X11
/Xcursor
/Xcursor.h \
9716 X11
/extensions
/shape.h \
9717 X11
/extensions
/XInput.h \
9718 X11
/extensions
/XInput2.h \
9719 X11
/extensions
/XShm.h \
9720 X11
/extensions
/Xcomposite.h \
9721 X11
/extensions
/Xinerama.h \
9722 X11
/extensions
/Xrandr.h \
9723 X11
/extensions
/Xrender.h \
9724 X11
/extensions
/xf86vmode.h \
9725 X11
/extensions
/xf86vmproto.h
9727 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9728 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
9729 # include <X11/Xlib.h>
9731 #ifdef HAVE_X11_XUTIL_H
9732 # include <X11/Xutil.h>
9735 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
9736 cat >>confdefs.h
<<_ACEOF
9737 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9745 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
9748 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
9749 if ${ac_cv_lib_X11_XkbQueryExtension+:} false
; then :
9750 $as_echo_n "(cached) " >&6
9752 ac_check_lib_save_LIBS
=$LIBS
9753 LIBS
="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9754 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9755 /* end confdefs.h. */
9757 /* Override any GCC internal prototype to avoid an error.
9758 Use char because int might match the return type of a GCC
9759 builtin and then its argument prototype would still apply. */
9763 char XkbQueryExtension ();
9767 return XkbQueryExtension ();
9772 if ac_fn_c_try_link
"$LINENO"; then :
9773 ac_cv_lib_X11_XkbQueryExtension
=yes
9775 ac_cv_lib_X11_XkbQueryExtension
=no
9777 rm -f core conftest.err conftest.
$ac_objext \
9778 conftest
$ac_exeext conftest.
$ac_ext
9779 LIBS
=$ac_check_lib_save_LIBS
9781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9782 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9783 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes
; then :
9785 $as_echo "#define HAVE_XKB 1" >>confdefs.h
9791 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
9794 $as_echo_n "checking for -lXcursor... " >&6; }
9795 if ${ac_cv_lib_soname_Xcursor+:} false
; then :
9796 $as_echo_n "(cached) " >&6
9798 ac_check_soname_save_LIBS
=$LIBS
9799 LIBS
="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
9800 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9801 /* end confdefs.h. */
9803 /* Override any GCC internal prototype to avoid an error.
9804 Use char because int might match the return type of a GCC
9805 builtin and then its argument prototype would still apply. */
9809 char XcursorImageLoadCursor ();
9813 return XcursorImageLoadCursor ();
9818 if ac_fn_c_try_link
"$LINENO"; then :
9820 dll
) ac_cv_lib_soname_Xcursor
=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9821 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'` ;;
9822 *) ac_cv_lib_soname_Xcursor
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9823 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9824 ac_cv_lib_soname_Xcursor
=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9828 rm -f core conftest.err conftest.
$ac_objext \
9829 conftest
$ac_exeext conftest.
$ac_ext
9830 LIBS
=$ac_check_soname_save_LIBS
9832 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9834 $as_echo "not found" >&6; }
9837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
9838 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
9840 cat >>confdefs.h
<<_ACEOF
9841 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9847 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
9848 case "x$with_xcursor" in
9849 x
) as_fn_append wine_notices
"|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
9851 *) as_fn_error $?
"libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
9852 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
9856 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
9859 $as_echo_n "checking for -lXi... " >&6; }
9860 if ${ac_cv_lib_soname_Xi+:} false
; then :
9861 $as_echo_n "(cached) " >&6
9863 ac_check_soname_save_LIBS
=$LIBS
9864 LIBS
="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
9865 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9866 /* end confdefs.h. */
9868 /* Override any GCC internal prototype to avoid an error.
9869 Use char because int might match the return type of a GCC
9870 builtin and then its argument prototype would still apply. */
9874 char XOpenDevice ();
9878 return XOpenDevice ();
9883 if ac_fn_c_try_link
"$LINENO"; then :
9885 dll
) ac_cv_lib_soname_Xi
=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9886 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'` ;;
9887 *) ac_cv_lib_soname_Xi
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9888 if ${ac_cv_lib_soname_Xi:+false} :; then :
9889 ac_cv_lib_soname_Xi
=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9893 rm -f core conftest.err conftest.
$ac_objext \
9894 conftest
$ac_exeext conftest.
$ac_ext
9895 LIBS
=$ac_check_soname_save_LIBS
9897 if ${ac_cv_lib_soname_Xi:+false} :; then :
9898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9899 $as_echo "not found" >&6; }
9902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
9903 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
9905 cat >>confdefs.h
<<_ACEOF
9906 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
9912 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
9913 case "x$with_xinput" in
9914 x
) as_fn_append wine_notices
"|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
9916 *) as_fn_error $?
"libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
9917 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
9921 if test "x$ac_cv_lib_soname_Xi" != x
9923 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
9924 case "x$with_xinput2" in
9925 x
) as_fn_append wine_notices
"|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
9927 *) as_fn_error $?
"XInput2 headers not found, the XInput 2 extension won't be supported.
9928 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
9933 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
9935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
9936 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
9937 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false
; then :
9938 $as_echo_n "(cached) " >&6
9940 ac_check_lib_save_LIBS
=$LIBS
9941 LIBS
="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
9942 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9943 /* end confdefs.h. */
9945 /* Override any GCC internal prototype to avoid an error.
9946 Use char because int might match the return type of a GCC
9947 builtin and then its argument prototype would still apply. */
9951 char XShmQueryExtension ();
9955 return XShmQueryExtension ();
9960 if ac_fn_c_try_link
"$LINENO"; then :
9961 ac_cv_lib_Xext_XShmQueryExtension
=yes
9963 ac_cv_lib_Xext_XShmQueryExtension
=no
9965 rm -f core conftest.err conftest.
$ac_objext \
9966 conftest
$ac_exeext conftest.
$ac_ext
9967 LIBS
=$ac_check_lib_save_LIBS
9969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
9970 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
9971 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes
; then :
9973 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
9978 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
9979 case "x$with_xshm" in
9980 x
) as_fn_append wine_notices
"|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
9982 *) as_fn_error $?
"XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
9983 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
9987 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
9989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
9990 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
9991 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false
; then :
9992 $as_echo_n "(cached) " >&6
9994 ac_check_lib_save_LIBS
=$LIBS
9995 LIBS
="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
9996 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9997 /* end confdefs.h. */
9999 /* Override any GCC internal prototype to avoid an error.
10000 Use char because int might match the return type of a GCC
10001 builtin and then its argument prototype would still apply. */
10005 char XShapeQueryExtension ();
10009 return XShapeQueryExtension ();
10014 if ac_fn_c_try_link
"$LINENO"; then :
10015 ac_cv_lib_Xext_XShapeQueryExtension
=yes
10017 ac_cv_lib_Xext_XShapeQueryExtension
=no
10019 rm -f core conftest.err conftest.
$ac_objext \
10020 conftest
$ac_exeext conftest.
$ac_ext
10021 LIBS
=$ac_check_lib_save_LIBS
10023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
10024 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
10025 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes
; then :
10027 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
10032 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
10033 case "x$with_xshape" in
10034 x
) as_fn_append wine_notices
"|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
10036 *) as_fn_error $?
"XShape ${notice_platform}development files not found, XShape won't be supported.
10037 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
10041 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
10043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
10044 $as_echo_n "checking for -lXxf86vm... " >&6; }
10045 if ${ac_cv_lib_soname_Xxf86vm+:} false
; then :
10046 $as_echo_n "(cached) " >&6
10048 ac_check_soname_save_LIBS
=$LIBS
10049 LIBS
="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
10050 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10051 /* end confdefs.h. */
10053 /* Override any GCC internal prototype to avoid an error.
10054 Use char because int might match the return type of a GCC
10055 builtin and then its argument prototype would still apply. */
10059 char XF86VidModeQueryExtension ();
10063 return XF86VidModeQueryExtension ();
10068 if ac_fn_c_try_link
"$LINENO"; then :
10070 dll
) ac_cv_lib_soname_Xxf86vm
=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10071 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'` ;;
10072 *) ac_cv_lib_soname_Xxf86vm
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10073 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10074 ac_cv_lib_soname_Xxf86vm
=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10078 rm -f core conftest.err conftest.
$ac_objext \
10079 conftest
$ac_exeext conftest.
$ac_ext
10080 LIBS
=$ac_check_soname_save_LIBS
10082 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10084 $as_echo "not found" >&6; }
10087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
10088 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
10090 cat >>confdefs.h
<<_ACEOF
10091 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
10097 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
10098 case "x$with_xxf86vm" in
10099 x
) as_fn_append wine_notices
"|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
10101 *) as_fn_error $?
"libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
10102 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
10106 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
10108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
10109 $as_echo_n "checking for -lXrender... " >&6; }
10110 if ${ac_cv_lib_soname_Xrender+:} false
; then :
10111 $as_echo_n "(cached) " >&6
10113 ac_check_soname_save_LIBS
=$LIBS
10114 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10115 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10116 /* end confdefs.h. */
10118 /* Override any GCC internal prototype to avoid an error.
10119 Use char because int might match the return type of a GCC
10120 builtin and then its argument prototype would still apply. */
10124 char XRenderQueryExtension ();
10128 return XRenderQueryExtension ();
10133 if ac_fn_c_try_link
"$LINENO"; then :
10135 dll
) ac_cv_lib_soname_Xrender
=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10136 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'` ;;
10137 *) ac_cv_lib_soname_Xrender
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10138 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10139 ac_cv_lib_soname_Xrender
=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10143 rm -f core conftest.err conftest.
$ac_objext \
10144 conftest
$ac_exeext conftest.
$ac_ext
10145 LIBS
=$ac_check_soname_save_LIBS
10147 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10149 $as_echo "not found" >&6; }
10152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
10153 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
10155 cat >>confdefs.h
<<_ACEOF
10156 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
10159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
10160 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
10161 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false
; then :
10162 $as_echo_n "(cached) " >&6
10164 ac_check_lib_save_LIBS
=$LIBS
10165 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10166 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10167 /* end confdefs.h. */
10169 /* Override any GCC internal prototype to avoid an error.
10170 Use char because int might match the return type of a GCC
10171 builtin and then its argument prototype would still apply. */
10175 char XRenderSetPictureTransform ();
10179 return XRenderSetPictureTransform ();
10184 if ac_fn_c_try_link
"$LINENO"; then :
10185 ac_cv_lib_Xrender_XRenderSetPictureTransform
=yes
10187 ac_cv_lib_Xrender_XRenderSetPictureTransform
=no
10189 rm -f core conftest.err conftest.
$ac_objext \
10190 conftest
$ac_exeext conftest.
$ac_ext
10191 LIBS
=$ac_check_lib_save_LIBS
10193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
10194 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
10195 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes
; then :
10197 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
10201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
10202 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
10203 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false
; then :
10204 $as_echo_n "(cached) " >&6
10206 ac_check_lib_save_LIBS
=$LIBS
10207 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10208 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10209 /* end confdefs.h. */
10211 /* Override any GCC internal prototype to avoid an error.
10212 Use char because int might match the return type of a GCC
10213 builtin and then its argument prototype would still apply. */
10217 char XRenderCreateLinearGradient ();
10221 return XRenderCreateLinearGradient ();
10226 if ac_fn_c_try_link
"$LINENO"; then :
10227 ac_cv_lib_Xrender_XRenderCreateLinearGradient
=yes
10229 ac_cv_lib_Xrender_XRenderCreateLinearGradient
=no
10231 rm -f core conftest.err conftest.
$ac_objext \
10232 conftest
$ac_exeext conftest.
$ac_ext
10233 LIBS
=$ac_check_lib_save_LIBS
10235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
10236 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
10237 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes
; then :
10239 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
10246 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
10247 case "x$with_xrender" in
10248 x
) as_fn_append wine_warnings
"|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
10250 *) as_fn_error $?
"libxrender ${notice_platform}development files not found, XRender won't be supported.
10251 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
10255 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
10257 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10258 /* end confdefs.h. */
10259 #include <X11/Xlib.h>
10260 #include <X11/extensions/Xrandr.h>
10264 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
10269 if ac_fn_c_try_compile
"$LINENO"; then :
10270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
10271 $as_echo_n "checking for -lXrandr... " >&6; }
10272 if ${ac_cv_lib_soname_Xrandr+:} false
; then :
10273 $as_echo_n "(cached) " >&6
10275 ac_check_soname_save_LIBS
=$LIBS
10276 LIBS
="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
10277 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10278 /* end confdefs.h. */
10280 /* Override any GCC internal prototype to avoid an error.
10281 Use char because int might match the return type of a GCC
10282 builtin and then its argument prototype would still apply. */
10286 char XRRQueryExtension ();
10290 return XRRQueryExtension ();
10295 if ac_fn_c_try_link
"$LINENO"; then :
10297 dll
) ac_cv_lib_soname_Xrandr
=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10298 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'` ;;
10299 *) ac_cv_lib_soname_Xrandr
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10300 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10301 ac_cv_lib_soname_Xrandr
=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10305 rm -f core conftest.err conftest.
$ac_objext \
10306 conftest
$ac_exeext conftest.
$ac_ext
10307 LIBS
=$ac_check_soname_save_LIBS
10309 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10311 $as_echo "not found" >&6; }
10314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
10315 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
10317 cat >>confdefs.h
<<_ACEOF
10318 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10321 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10322 /* end confdefs.h. */
10323 #include <X11/Xlib.h>
10324 #include <X11/extensions/Xrandr.h>
10328 static typeof(XRRGetScreenResources) *f; if (f) return 0;
10333 if ac_fn_c_try_compile
"$LINENO"; then :
10335 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
10338 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10341 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10343 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
10344 case "x$with_xrandr" in
10345 x
) as_fn_append wine_notices
"|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
10347 *) as_fn_error $?
"libxrandr ${notice_platform}development files not found, XRandr won't be supported.
10348 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
10352 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10354 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10355 /* end confdefs.h. */
10356 #include <X11/Xlib.h>
10357 #include <X11/extensions/Xinerama.h>
10361 static typeof(XineramaQueryScreens) * func; if (func) return 0;
10366 if ac_fn_c_try_compile
"$LINENO"; then :
10367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
10368 $as_echo_n "checking for -lXinerama... " >&6; }
10369 if ${ac_cv_lib_soname_Xinerama+:} false
; then :
10370 $as_echo_n "(cached) " >&6
10372 ac_check_soname_save_LIBS
=$LIBS
10373 LIBS
="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
10374 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10375 /* end confdefs.h. */
10377 /* Override any GCC internal prototype to avoid an error.
10378 Use char because int might match the return type of a GCC
10379 builtin and then its argument prototype would still apply. */
10383 char XineramaQueryScreens ();
10387 return XineramaQueryScreens ();
10392 if ac_fn_c_try_link
"$LINENO"; then :
10394 dll
) ac_cv_lib_soname_Xinerama
=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10395 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'` ;;
10396 *) ac_cv_lib_soname_Xinerama
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10397 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10398 ac_cv_lib_soname_Xinerama
=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10402 rm -f core conftest.err conftest.
$ac_objext \
10403 conftest
$ac_exeext conftest.
$ac_ext
10404 LIBS
=$ac_check_soname_save_LIBS
10406 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10408 $as_echo "not found" >&6; }
10411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
10412 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
10414 cat >>confdefs.h
<<_ACEOF
10415 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10421 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10423 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
10424 case "x$with_xinerama" in
10425 x
) as_fn_append wine_notices
"|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
10427 *) as_fn_error $?
"libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
10428 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
10432 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
10435 $as_echo_n "checking for -lXcomposite... " >&6; }
10436 if ${ac_cv_lib_soname_Xcomposite+:} false
; then :
10437 $as_echo_n "(cached) " >&6
10439 ac_check_soname_save_LIBS
=$LIBS
10440 LIBS
="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
10441 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10442 /* end confdefs.h. */
10444 /* Override any GCC internal prototype to avoid an error.
10445 Use char because int might match the return type of a GCC
10446 builtin and then its argument prototype would still apply. */
10450 char XCompositeRedirectWindow ();
10454 return XCompositeRedirectWindow ();
10459 if ac_fn_c_try_link
"$LINENO"; then :
10461 dll
) ac_cv_lib_soname_Xcomposite
=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10462 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'` ;;
10463 *) ac_cv_lib_soname_Xcomposite
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10464 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10465 ac_cv_lib_soname_Xcomposite
=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10469 rm -f core conftest.err conftest.
$ac_objext \
10470 conftest
$ac_exeext conftest.
$ac_ext
10471 LIBS
=$ac_check_soname_save_LIBS
10473 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10475 $as_echo "not found" >&6; }
10478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
10479 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
10481 cat >>confdefs.h
<<_ACEOF
10482 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10488 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
10489 case "x$with_xcomposite" in
10490 x
) as_fn_append wine_notices
"|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
10492 *) as_fn_error $?
"libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
10493 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
10497 ac_fn_c_check_member
"$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
10498 #include <X11/Xlib.h>
10501 if test "x$ac_cv_member_XICCallback_callback" = xyes
; then :
10503 cat >>confdefs.h
<<_ACEOF
10504 #define HAVE_XICCALLBACK_CALLBACK 1
10509 ac_fn_c_check_member
"$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
10510 #include <X11/Xlib.h>
10513 if test "x$ac_cv_member_XEvent_xcookie" = xyes
; then :
10515 cat >>confdefs.h
<<_ACEOF
10516 #define HAVE_XEVENT_XCOOKIE 1
10525 if test "x$with_opengl" != "xno"
10527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10528 $as_echo_n "checking for -lGL... " >&6; }
10529 if ${ac_cv_lib_soname_GL+:} false
; then :
10530 $as_echo_n "(cached) " >&6
10532 ac_check_soname_save_LIBS
=$LIBS
10533 LIBS
="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10534 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10535 /* end confdefs.h. */
10537 /* Override any GCC internal prototype to avoid an error.
10538 Use char because int might match the return type of a GCC
10539 builtin and then its argument prototype would still apply. */
10543 char glXCreateContext ();
10547 return glXCreateContext ();
10552 if ac_fn_c_try_link
"$LINENO"; then :
10554 dll
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10555 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'` ;;
10556 *) ac_cv_lib_soname_GL
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10557 if ${ac_cv_lib_soname_GL:+false} :; then :
10558 ac_cv_lib_soname_GL
=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10562 rm -f core conftest.err conftest.
$ac_objext \
10563 conftest
$ac_exeext conftest.
$ac_ext
10564 LIBS
=$ac_check_soname_save_LIBS
10566 if ${ac_cv_lib_soname_GL:+false} :; then :
10567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10568 $as_echo "not found" >&6; }
10569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10570 $as_echo_n "checking for -lGL... " >&6; }
10571 if ${ac_cv_lib_soname_GL+:} false
; then :
10572 $as_echo_n "(cached) " >&6
10574 ac_check_soname_save_LIBS
=$LIBS
10575 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"
10576 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10577 /* end confdefs.h. */
10579 /* Override any GCC internal prototype to avoid an error.
10580 Use char because int might match the return type of a GCC
10581 builtin and then its argument prototype would still apply. */
10585 char glXCreateContext ();
10589 return glXCreateContext ();
10594 if ac_fn_c_try_link
"$LINENO"; then :
10596 dll
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10597 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'` ;;
10598 *) ac_cv_lib_soname_GL
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10599 if ${ac_cv_lib_soname_GL:+false} :; then :
10600 ac_cv_lib_soname_GL
=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10604 rm -f core conftest.err conftest.
$ac_objext \
10605 conftest
$ac_exeext conftest.
$ac_ext
10606 LIBS
=$ac_check_soname_save_LIBS
10608 if ${ac_cv_lib_soname_GL:+false} :; then :
10609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10610 $as_echo "not found" >&6; }
10611 if test -f /usr
/X11R
6/lib
/libGL.a
10613 opengl_msg
="/usr/X11R6/lib/libGL.a is present on your system.
10614 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10616 opengl_msg
="No OpenGL library found on this system."
10619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10620 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10622 cat >>confdefs.h
<<_ACEOF
10623 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10626 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"
10629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10630 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10632 cat >>confdefs.h
<<_ACEOF
10633 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10638 if test "x$with_glu" != "xno"
10640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluLookAt in -lGLU" >&5
10641 $as_echo_n "checking for gluLookAt in -lGLU... " >&6; }
10642 if ${ac_cv_lib_GLU_gluLookAt+:} false
; then :
10643 $as_echo_n "(cached) " >&6
10645 ac_check_lib_save_LIBS
=$LIBS
10646 LIBS
="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10647 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10648 /* end confdefs.h. */
10650 /* Override any GCC internal prototype to avoid an error.
10651 Use char because int might match the return type of a GCC
10652 builtin and then its argument prototype would still apply. */
10660 return gluLookAt ();
10665 if ac_fn_c_try_link
"$LINENO"; then :
10666 ac_cv_lib_GLU_gluLookAt
=yes
10668 ac_cv_lib_GLU_gluLookAt
=no
10670 rm -f core conftest.err conftest.
$ac_objext \
10671 conftest
$ac_exeext conftest.
$ac_ext
10672 LIBS
=$ac_check_lib_save_LIBS
10674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluLookAt" >&5
10675 $as_echo "$ac_cv_lib_GLU_gluLookAt" >&6; }
10676 if test "x$ac_cv_lib_GLU_gluLookAt" = xyes
; then :
10680 if test "x$ac_cv_lib_GLU_gluLookAt" != xyes
; then :
10681 case "x$with_glu" in
10682 x
) as_fn_append wine_notices
"|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
10684 *) as_fn_error $?
"libGLU ${notice_platform}development files not found, GLU won't be supported.
10685 This is an error since --with-glu was requested." "$LINENO" 5 ;;
10690 if test "x$with_osmesa" != "xno"
10692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
10693 $as_echo_n "checking for -lOSMesa... " >&6; }
10694 if ${ac_cv_lib_soname_OSMesa+:} false
; then :
10695 $as_echo_n "(cached) " >&6
10697 ac_check_soname_save_LIBS
=$LIBS
10698 LIBS
="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10699 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10700 /* end confdefs.h. */
10702 /* Override any GCC internal prototype to avoid an error.
10703 Use char because int might match the return type of a GCC
10704 builtin and then its argument prototype would still apply. */
10717 if ac_fn_c_try_link
"$LINENO"; then :
10719 dll
) ac_cv_lib_soname_OSMesa
=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10720 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'` ;;
10721 *) ac_cv_lib_soname_OSMesa
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10722 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10723 ac_cv_lib_soname_OSMesa
=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10727 rm -f core conftest.err conftest.
$ac_objext \
10728 conftest
$ac_exeext conftest.
$ac_ext
10729 LIBS
=$ac_check_soname_save_LIBS
10731 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10733 $as_echo "not found" >&6; }
10736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
10737 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
10739 cat >>confdefs.h
<<_ACEOF
10740 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
10745 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
10746 case "x$with_osmesa" in
10747 x
) as_fn_append wine_notices
"|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
10749 *) as_fn_error $?
"libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
10750 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
10755 if test -n "$opengl_msg"; then :
10756 case "x$with_opengl" in
10757 x
) as_fn_append wine_warnings
"|$opengl_msg
10758 OpenGL and Direct3D won't be supported." ;;
10760 *) as_fn_error $?
"$opengl_msg
10761 OpenGL and Direct3D won't be supported.
10762 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
10766 CPPFLAGS
="$ac_save_CPPFLAGS"
10770 enable_winex11_drv
=${enable_winex11_drv:-no}
10772 if test "x$X_LIBS" = "x"; then :
10775 *) as_fn_error $?
"X ${notice_platform}development files not found. Wine will be built
10776 without X support, which probably isn't what you want. You will need
10777 to install ${notice_platform}development packages of Xlib/Xfree86 at the very least.
10778 Use the --without-x option if you really want this." "$LINENO" 5 ;;
10782 test "x$ac_cv_lib_GLU_gluLookAt" != xyes
&& enable_glu32
=${enable_glu32:-no}
10784 if test "$ac_cv_header_CL_cl_h" = "yes"
10786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
10787 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
10788 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false
; then :
10789 $as_echo_n "(cached) " >&6
10791 ac_check_lib_save_LIBS
=$LIBS
10792 LIBS
="-lOpenCL $LIBS"
10793 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10794 /* end confdefs.h. */
10796 /* Override any GCC internal prototype to avoid an error.
10797 Use char because int might match the return type of a GCC
10798 builtin and then its argument prototype would still apply. */
10802 char clGetPlatformInfo ();
10806 return clGetPlatformInfo ();
10811 if ac_fn_c_try_link
"$LINENO"; then :
10812 ac_cv_lib_OpenCL_clGetPlatformInfo
=yes
10814 ac_cv_lib_OpenCL_clGetPlatformInfo
=no
10816 rm -f core conftest.err conftest.
$ac_objext \
10817 conftest
$ac_exeext conftest.
$ac_ext
10818 LIBS
=$ac_check_lib_save_LIBS
10820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
10821 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
10822 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes
; then :
10823 OPENCL_LIBS
="-lOpenCL"
10828 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
; then :
10829 case "x$with_opencl" in
10830 x
) as_fn_append wine_notices
"|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
10832 *) as_fn_error $?
"OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
10833 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
10836 test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
&& enable_opencl
=${enable_opencl:-no}
10838 if test "$ac_cv_header_pcap_pcap_h" = "yes"
10840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
10841 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
10842 if ${ac_cv_lib_pcap_pcap_create+:} false
; then :
10843 $as_echo_n "(cached) " >&6
10845 ac_check_lib_save_LIBS
=$LIBS
10846 LIBS
="-lpcap $LIBS"
10847 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10848 /* end confdefs.h. */
10850 /* Override any GCC internal prototype to avoid an error.
10851 Use char because int might match the return type of a GCC
10852 builtin and then its argument prototype would still apply. */
10856 char pcap_create ();
10860 return pcap_create ();
10865 if ac_fn_c_try_link
"$LINENO"; then :
10866 ac_cv_lib_pcap_pcap_create
=yes
10868 ac_cv_lib_pcap_pcap_create
=no
10870 rm -f core conftest.err conftest.
$ac_objext \
10871 conftest
$ac_exeext conftest.
$ac_ext
10872 LIBS
=$ac_check_lib_save_LIBS
10874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
10875 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
10876 if test "x$ac_cv_lib_pcap_pcap_create" = xyes
; then :
10882 if test "x$ac_cv_lib_pcap_pcap_create" != xyes
; then :
10883 case "x$with_pcap" in
10884 x
) as_fn_append wine_notices
"|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
10886 *) as_fn_error $?
"pcap ${notice_platform}development files not found, wpcap won't be supported.
10887 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
10890 test "x$ac_cv_lib_pcap_pcap_create" != xyes
&& enable_wpcap
=${enable_wpcap:-no}
10893 if test "x$with_xml" != "xno"
10895 if ${XML2_CFLAGS:+false} :; then :
10896 if ${PKG_CONFIG+:} false
; then :
10897 XML2_CFLAGS
=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
10900 test "$cross_compiling" = yes || XML2_CFLAGS
=${XML2_CFLAGS:-`${XML2_CONFIG:-xml2-config} --cflags 2>/dev/null`}
10901 if ${XML2_LIBS:+false} :; then :
10902 if ${PKG_CONFIG+:} false
; then :
10903 XML2_LIBS
=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
10906 test "$cross_compiling" = yes || XML2_LIBS
=${XML2_LIBS:-`${XML2_CONFIG:-xml2-config} --libs 2>/dev/null`}
10907 XML2_LIBS
=${XML2_LIBS:-"-lxml2"}
10908 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
10909 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
10910 ac_save_CPPFLAGS
=$CPPFLAGS
10911 CPPFLAGS
="$CPPFLAGS $XML2_CFLAGS"
10912 for ac_header
in libxml
/parser.h libxml
/xmlsave.h libxml
/SAX2.h
10914 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10915 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
10916 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
10917 cat >>confdefs.h
<<_ACEOF
10918 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10925 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"
10927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
10928 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
10929 if ${ac_cv_lib_xml2_xmlParseMemory+:} false
; then :
10930 $as_echo_n "(cached) " >&6
10932 ac_check_lib_save_LIBS
=$LIBS
10933 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10934 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10935 /* end confdefs.h. */
10937 /* Override any GCC internal prototype to avoid an error.
10938 Use char because int might match the return type of a GCC
10939 builtin and then its argument prototype would still apply. */
10943 char xmlParseMemory ();
10947 return xmlParseMemory ();
10952 if ac_fn_c_try_link
"$LINENO"; then :
10953 ac_cv_lib_xml2_xmlParseMemory
=yes
10955 ac_cv_lib_xml2_xmlParseMemory
=no
10957 rm -f core conftest.err conftest.
$ac_objext \
10958 conftest
$ac_exeext conftest.
$ac_ext
10959 LIBS
=$ac_check_lib_save_LIBS
10961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
10962 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
10963 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes
; then :
10965 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
10971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
10972 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
10973 if ${ac_cv_lib_xml2_xmlReadMemory+:} false
; then :
10974 $as_echo_n "(cached) " >&6
10976 ac_check_lib_save_LIBS
=$LIBS
10977 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10978 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10979 /* end confdefs.h. */
10981 /* Override any GCC internal prototype to avoid an error.
10982 Use char because int might match the return type of a GCC
10983 builtin and then its argument prototype would still apply. */
10987 char xmlReadMemory ();
10991 return xmlReadMemory ();
10996 if ac_fn_c_try_link
"$LINENO"; then :
10997 ac_cv_lib_xml2_xmlReadMemory
=yes
10999 ac_cv_lib_xml2_xmlReadMemory
=no
11001 rm -f core conftest.err conftest.
$ac_objext \
11002 conftest
$ac_exeext conftest.
$ac_ext
11003 LIBS
=$ac_check_lib_save_LIBS
11005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
11006 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
11007 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes
; then :
11009 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
11013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
11014 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
11015 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false
; then :
11016 $as_echo_n "(cached) " >&6
11018 ac_check_lib_save_LIBS
=$LIBS
11019 LIBS
="-lxml2 $XML2_LIBS $LIBS"
11020 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11021 /* end confdefs.h. */
11023 /* Override any GCC internal prototype to avoid an error.
11024 Use char because int might match the return type of a GCC
11025 builtin and then its argument prototype would still apply. */
11029 char xmlNewDocPI ();
11033 return xmlNewDocPI ();
11038 if ac_fn_c_try_link
"$LINENO"; then :
11039 ac_cv_lib_xml2_xmlNewDocPI
=yes
11041 ac_cv_lib_xml2_xmlNewDocPI
=no
11043 rm -f core conftest.err conftest.
$ac_objext \
11044 conftest
$ac_exeext conftest.
$ac_ext
11045 LIBS
=$ac_check_lib_save_LIBS
11047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
11048 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
11049 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes
; then :
11051 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
11055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
11056 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
11057 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false
; then :
11058 $as_echo_n "(cached) " >&6
11060 ac_check_lib_save_LIBS
=$LIBS
11061 LIBS
="-lxml2 $XML2_LIBS $LIBS"
11062 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11063 /* end confdefs.h. */
11065 /* Override any GCC internal prototype to avoid an error.
11066 Use char because int might match the return type of a GCC
11067 builtin and then its argument prototype would still apply. */
11071 char xmlSchemaSetParserStructuredErrors ();
11075 return xmlSchemaSetParserStructuredErrors ();
11080 if ac_fn_c_try_link
"$LINENO"; then :
11081 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors
=yes
11083 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors
=no
11085 rm -f core conftest.err conftest.
$ac_objext \
11086 conftest
$ac_exeext conftest.
$ac_ext
11087 LIBS
=$ac_check_lib_save_LIBS
11089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
11090 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
11091 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes
; then :
11093 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
11097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
11098 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
11099 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false
; then :
11100 $as_echo_n "(cached) " >&6
11102 ac_check_lib_save_LIBS
=$LIBS
11103 LIBS
="-lxml2 $XML2_LIBS $LIBS"
11104 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11105 /* end confdefs.h. */
11107 /* Override any GCC internal prototype to avoid an error.
11108 Use char because int might match the return type of a GCC
11109 builtin and then its argument prototype would still apply. */
11113 char xmlSchemaSetValidStructuredErrors ();
11117 return xmlSchemaSetValidStructuredErrors ();
11122 if ac_fn_c_try_link
"$LINENO"; then :
11123 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors
=yes
11125 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors
=no
11127 rm -f core conftest.err conftest.
$ac_objext \
11128 conftest
$ac_exeext conftest.
$ac_ext
11129 LIBS
=$ac_check_lib_save_LIBS
11131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
11132 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
11133 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes
; then :
11135 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
11139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
11140 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
11141 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false
; then :
11142 $as_echo_n "(cached) " >&6
11144 ac_check_lib_save_LIBS
=$LIBS
11145 LIBS
="-lxml2 $XML2_LIBS $LIBS"
11146 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11147 /* end confdefs.h. */
11149 /* Override any GCC internal prototype to avoid an error.
11150 Use char because int might match the return type of a GCC
11151 builtin and then its argument prototype would still apply. */
11155 char xmlFirstElementChild ();
11159 return xmlFirstElementChild ();
11164 if ac_fn_c_try_link
"$LINENO"; then :
11165 ac_cv_lib_xml2_xmlFirstElementChild
=yes
11167 ac_cv_lib_xml2_xmlFirstElementChild
=no
11169 rm -f core conftest.err conftest.
$ac_objext \
11170 conftest
$ac_exeext conftest.
$ac_ext
11171 LIBS
=$ac_check_lib_save_LIBS
11173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
11174 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
11175 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes
; then :
11177 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
11181 ac_fn_c_check_type
"$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
11183 if test "x$ac_cv_type_xmlDocProperties" = xyes
; then :
11185 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
11193 CPPFLAGS
=$ac_save_CPPFLAGS
11194 test -z "$XML2_CFLAGS" || XML2_CFLAGS
=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11195 test -z "$XML2_LIBS" || XML2_LIBS
=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11198 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
11199 case "x$with_xml" in
11200 x
) as_fn_append wine_warnings
"|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
11202 *) as_fn_error $?
"libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
11203 This is an error since --with-xml was requested." "$LINENO" 5 ;;
11207 if test "x$with_xslt" != "xno"
11209 if ${XSLT_CFLAGS:+false} :; then :
11210 if ${PKG_CONFIG+:} false
; then :
11211 XSLT_CFLAGS
=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
11214 test "$cross_compiling" = yes || XSLT_CFLAGS
=${XSLT_CFLAGS:-`${XSLT_CONFIG:-xslt-config} --cflags 2>/dev/null`}
11215 if ${XSLT_LIBS:+false} :; then :
11216 if ${PKG_CONFIG+:} false
; then :
11217 XSLT_LIBS
=`$PKG_CONFIG --libs libxslt 2>/dev/null`
11220 test "$cross_compiling" = yes || XSLT_LIBS
=${XSLT_LIBS:-`${XSLT_CONFIG:-xslt-config} --libs 2>/dev/null`}
11221 XSLT_LIBS
=${XSLT_LIBS:-"-lxml2"}
11222 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
11223 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
11224 ac_save_CPPFLAGS
=$CPPFLAGS
11225 CPPFLAGS
="$CPPFLAGS $XSLT_CFLAGS"
11226 for ac_header
in libxslt
/pattern.h libxslt
/transform.h
11228 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11229 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
11230 # include <libxslt/pattern.h>
11233 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
11234 cat >>confdefs.h
<<_ACEOF
11235 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11242 if test "$ac_cv_header_libxslt_transform_h" = "yes"
11244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
11245 $as_echo_n "checking for -lxslt... " >&6; }
11246 if ${ac_cv_lib_soname_xslt+:} false
; then :
11247 $as_echo_n "(cached) " >&6
11249 ac_check_soname_save_LIBS
=$LIBS
11250 LIBS
="-lxslt $XSLT_LIBS $LIBS"
11251 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11252 /* end confdefs.h. */
11254 /* Override any GCC internal prototype to avoid an error.
11255 Use char because int might match the return type of a GCC
11256 builtin and then its argument prototype would still apply. */
11260 char xsltCompilePattern ();
11264 return xsltCompilePattern ();
11269 if ac_fn_c_try_link
"$LINENO"; then :
11271 dll
) ac_cv_lib_soname_xslt
=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11272 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'` ;;
11273 *) ac_cv_lib_soname_xslt
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11274 if ${ac_cv_lib_soname_xslt:+false} :; then :
11275 ac_cv_lib_soname_xslt
=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11279 rm -f core conftest.err conftest.
$ac_objext \
11280 conftest
$ac_exeext conftest.
$ac_ext
11281 LIBS
=$ac_check_soname_save_LIBS
11283 if ${ac_cv_lib_soname_xslt:+false} :; then :
11284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11285 $as_echo "not found" >&6; }
11288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
11289 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
11291 cat >>confdefs.h
<<_ACEOF
11292 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
11300 CPPFLAGS
=$ac_save_CPPFLAGS
11301 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS
=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11302 test -z "$XSLT_LIBS" || XSLT_LIBS
=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11305 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
11306 case "x$with_xslt" in
11307 x
) as_fn_append wine_warnings
"|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
11309 *) as_fn_error $?
"libxslt ${notice_platform}development files not found, xslt won't be supported.
11310 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
11314 if test "x$with_dbus" != "xno"
11316 if ${DBUS_CFLAGS:+false} :; then :
11317 if ${PKG_CONFIG+:} false
; then :
11318 DBUS_CFLAGS
=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
11322 if ${DBUS_LIBS:+false} :; then :
11323 if ${PKG_CONFIG+:} false
; then :
11324 DBUS_LIBS
=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
11329 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
11330 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
11331 ac_save_CPPFLAGS
=$CPPFLAGS
11332 CPPFLAGS
="$CPPFLAGS $DBUS_CFLAGS"
11333 ac_fn_c_check_header_mongrel
"$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
11334 if test "x$ac_cv_header_dbus_dbus_h" = xyes
; then :
11335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
11336 $as_echo_n "checking for -ldbus-1... " >&6; }
11337 if ${ac_cv_lib_soname_dbus_1+:} false
; then :
11338 $as_echo_n "(cached) " >&6
11340 ac_check_soname_save_LIBS
=$LIBS
11341 LIBS
="-ldbus-1 $DBUS_LIBS $LIBS"
11342 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11343 /* end confdefs.h. */
11345 /* Override any GCC internal prototype to avoid an error.
11346 Use char because int might match the return type of a GCC
11347 builtin and then its argument prototype would still apply. */
11351 char dbus_connection_close ();
11355 return dbus_connection_close ();
11360 if ac_fn_c_try_link
"$LINENO"; then :
11362 dll
) ac_cv_lib_soname_dbus_1
=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11363 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'` ;;
11364 *) 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'`
11365 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11366 ac_cv_lib_soname_dbus_1
=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11370 rm -f core conftest.err conftest.
$ac_objext \
11371 conftest
$ac_exeext conftest.
$ac_ext
11372 LIBS
=$ac_check_soname_save_LIBS
11374 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11376 $as_echo "not found" >&6; }
11379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
11380 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
11382 cat >>confdefs.h
<<_ACEOF
11383 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
11393 CPPFLAGS
=$ac_save_CPPFLAGS
11394 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS
=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11395 test -z "$DBUS_LIBS" || DBUS_LIBS
=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11398 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
11399 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11400 case "x$with_dbus" in
11401 x
) as_fn_append wine_notices
"|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
11403 *) as_fn_error $?
"libdbus ${notice_platform}development files not found, no dynamic device support.
11404 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
11408 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
11410 if ${HAL_CFLAGS:+false} :; then :
11411 if ${PKG_CONFIG+:} false
; then :
11412 HAL_CFLAGS
=`$PKG_CONFIG --cflags hal 2>/dev/null`
11416 if ${HAL_LIBS:+false} :; then :
11417 if ${PKG_CONFIG+:} false
; then :
11418 HAL_LIBS
=`$PKG_CONFIG --libs hal 2>/dev/null`
11422 HAL_LIBS
=${HAL_LIBS:-"-ldbus-1"}
11423 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
11424 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
11425 ac_save_CPPFLAGS
=$CPPFLAGS
11426 CPPFLAGS
="$CPPFLAGS $HAL_CFLAGS"
11427 ac_fn_c_check_header_mongrel
"$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
11428 if test "x$ac_cv_header_hal_libhal_h" = xyes
; then :
11429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
11430 $as_echo_n "checking for -lhal... " >&6; }
11431 if ${ac_cv_lib_soname_hal+:} false
; then :
11432 $as_echo_n "(cached) " >&6
11434 ac_check_soname_save_LIBS
=$LIBS
11435 LIBS
="-lhal $HAL_LIBS $LIBS"
11436 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11437 /* end confdefs.h. */
11439 /* Override any GCC internal prototype to avoid an error.
11440 Use char because int might match the return type of a GCC
11441 builtin and then its argument prototype would still apply. */
11445 char libhal_ctx_new ();
11449 return libhal_ctx_new ();
11454 if ac_fn_c_try_link
"$LINENO"; then :
11456 dll
) ac_cv_lib_soname_hal
=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11457 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'` ;;
11458 *) ac_cv_lib_soname_hal
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11459 if ${ac_cv_lib_soname_hal:+false} :; then :
11460 ac_cv_lib_soname_hal
=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11464 rm -f core conftest.err conftest.
$ac_objext \
11465 conftest
$ac_exeext conftest.
$ac_ext
11466 LIBS
=$ac_check_soname_save_LIBS
11468 if ${ac_cv_lib_soname_hal:+false} :; then :
11469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11470 $as_echo "not found" >&6; }
11473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
11474 $as_echo "$ac_cv_lib_soname_hal" >&6; }
11476 cat >>confdefs.h
<<_ACEOF
11477 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11487 CPPFLAGS
=$ac_save_CPPFLAGS
11488 test -z "$HAL_CFLAGS" || HAL_CFLAGS
=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11489 test -z "$HAL_LIBS" || HAL_LIBS
=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11491 if test "x$ac_cv_lib_soname_hal" = "x" -a \
11492 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11493 case "x$with_hal" in
11494 x
) as_fn_append wine_notices
"|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
11496 *) as_fn_error $?
"libhal ${notice_platform}development files not found, no legacy dynamic device support.
11497 This is an error since --with-hal was requested." "$LINENO" 5 ;;
11502 if test "x$with_gnutls" != "xno"
11504 if ${GNUTLS_CFLAGS:+false} :; then :
11505 if ${PKG_CONFIG+:} false
; then :
11506 GNUTLS_CFLAGS
=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
11510 if ${GNUTLS_LIBS:+false} :; then :
11511 if ${PKG_CONFIG+:} false
; then :
11512 GNUTLS_LIBS
=`$PKG_CONFIG --libs gnutls 2>/dev/null`
11517 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
11518 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
11519 ac_save_CPPFLAGS
=$CPPFLAGS
11520 CPPFLAGS
="$CPPFLAGS $GNUTLS_CFLAGS"
11521 ac_fn_c_check_header_mongrel
"$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
11522 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes
; then :
11523 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11524 /* end confdefs.h. */
11525 #include <gnutls/gnutls.h>
11526 #include <gnutls/crypto.h>
11530 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
11535 if ac_fn_c_try_compile
"$LINENO"; then :
11536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
11537 $as_echo_n "checking for -lgnutls... " >&6; }
11538 if ${ac_cv_lib_soname_gnutls+:} false
; then :
11539 $as_echo_n "(cached) " >&6
11541 ac_check_soname_save_LIBS
=$LIBS
11542 LIBS
="-lgnutls $GNUTLS_LIBS $LIBS"
11543 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11544 /* end confdefs.h. */
11546 /* Override any GCC internal prototype to avoid an error.
11547 Use char because int might match the return type of a GCC
11548 builtin and then its argument prototype would still apply. */
11552 char gnutls_global_init ();
11556 return gnutls_global_init ();
11561 if ac_fn_c_try_link
"$LINENO"; then :
11563 dll
) ac_cv_lib_soname_gnutls
=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11564 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'` ;;
11565 *) 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'`
11566 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11567 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'`
11571 rm -f core conftest.err conftest.
$ac_objext \
11572 conftest
$ac_exeext conftest.
$ac_ext
11573 LIBS
=$ac_check_soname_save_LIBS
11575 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11577 $as_echo "not found" >&6; }
11580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
11581 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
11583 cat >>confdefs.h
<<_ACEOF
11584 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
11590 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11596 CPPFLAGS
=$ac_save_CPPFLAGS
11597 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS
=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11598 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS
=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11601 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
11602 case "x$with_gnutls" in
11603 x
) as_fn_append wine_warnings
"|libgnutls ${notice_platform}development files not found, no schannel support." ;;
11605 *) as_fn_error $?
"libgnutls ${notice_platform}development files not found, no schannel support.
11606 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
11611 if test "$ac_cv_header_ncurses_h" = "yes"
11613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
11614 $as_echo_n "checking for -lncurses... " >&6; }
11615 if ${ac_cv_lib_soname_ncurses+:} false
; then :
11616 $as_echo_n "(cached) " >&6
11618 ac_check_soname_save_LIBS
=$LIBS
11619 LIBS
="-lncurses $LIBS"
11620 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11621 /* end confdefs.h. */
11623 /* Override any GCC internal prototype to avoid an error.
11624 Use char because int might match the return type of a GCC
11625 builtin and then its argument prototype would still apply. */
11638 if ac_fn_c_try_link
"$LINENO"; then :
11640 dll
) ac_cv_lib_soname_ncurses
=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11641 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'` ;;
11642 *) 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'`
11643 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11644 ac_cv_lib_soname_ncurses
=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11648 rm -f core conftest.err conftest.
$ac_objext \
11649 conftest
$ac_exeext conftest.
$ac_ext
11650 LIBS
=$ac_check_soname_save_LIBS
11652 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11654 $as_echo "not found" >&6; }
11657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
11658 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
11660 cat >>confdefs.h
<<_ACEOF
11661 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
11664 CURSES_LIBS
="-lncurses"
11666 elif test "$ac_cv_header_curses_h" = "yes"
11668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
11669 $as_echo_n "checking for -lcurses... " >&6; }
11670 if ${ac_cv_lib_soname_curses+:} false
; then :
11671 $as_echo_n "(cached) " >&6
11673 ac_check_soname_save_LIBS
=$LIBS
11674 LIBS
="-lcurses $LIBS"
11675 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11676 /* end confdefs.h. */
11678 /* Override any GCC internal prototype to avoid an error.
11679 Use char because int might match the return type of a GCC
11680 builtin and then its argument prototype would still apply. */
11693 if ac_fn_c_try_link
"$LINENO"; then :
11695 dll
) ac_cv_lib_soname_curses
=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11696 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'` ;;
11697 *) ac_cv_lib_soname_curses
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11698 if ${ac_cv_lib_soname_curses:+false} :; then :
11699 ac_cv_lib_soname_curses
=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11703 rm -f core conftest.err conftest.
$ac_objext \
11704 conftest
$ac_exeext conftest.
$ac_ext
11705 LIBS
=$ac_check_soname_save_LIBS
11707 if ${ac_cv_lib_soname_curses:+false} :; then :
11708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11709 $as_echo "not found" >&6; }
11712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
11713 $as_echo "$ac_cv_lib_soname_curses" >&6; }
11715 cat >>confdefs.h
<<_ACEOF
11716 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
11719 CURSES_LIBS
="-lcurses"
11722 ac_save_LIBS
="$LIBS"
11723 LIBS
="$LIBS $CURSES_LIBS"
11724 for ac_func
in mousemask
11726 ac_fn_c_check_func
"$LINENO" "mousemask" "ac_cv_func_mousemask"
11727 if test "x$ac_cv_func_mousemask" = xyes
; then :
11728 cat >>confdefs.h
<<_ACEOF
11729 #define HAVE_MOUSEMASK 1
11735 LIBS
="$ac_save_LIBS"
11736 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
11737 case "x$with_curses" in
11738 x
) as_fn_append wine_notices
"|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
11740 *) as_fn_error $?
"lib(n)curses ${notice_platform}development files not found, curses won't be supported.
11741 This is an error since --with-curses was requested." "$LINENO" 5 ;;
11745 if test "x$with_sane" != "xno"
11747 if ${SANE_CFLAGS:+false} :; then :
11748 if ${PKG_CONFIG+:} false
; then :
11749 SANE_CFLAGS
=`$PKG_CONFIG --cflags libsane 2>/dev/null`
11752 test "$cross_compiling" = yes || SANE_CFLAGS
=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
11753 if ${SANE_LIBS:+false} :; then :
11754 if ${PKG_CONFIG+:} false
; then :
11755 SANE_LIBS
=`$PKG_CONFIG --libs libsane 2>/dev/null`
11758 test "$cross_compiling" = yes || SANE_LIBS
=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
11760 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
11761 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
11762 ac_save_CPPFLAGS
=$CPPFLAGS
11763 CPPFLAGS
="$CPPFLAGS $SANE_CFLAGS"
11764 ac_fn_c_check_header_mongrel
"$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
11765 if test "x$ac_cv_header_sane_sane_h" = xyes
; then :
11766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
11767 $as_echo_n "checking for -lsane... " >&6; }
11768 if ${ac_cv_lib_soname_sane+:} false
; then :
11769 $as_echo_n "(cached) " >&6
11771 ac_check_soname_save_LIBS
=$LIBS
11772 LIBS
="-lsane $SANE_LIBS $LIBS"
11773 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11774 /* end confdefs.h. */
11776 /* Override any GCC internal prototype to avoid an error.
11777 Use char because int might match the return type of a GCC
11778 builtin and then its argument prototype would still apply. */
11786 return sane_init ();
11791 if ac_fn_c_try_link
"$LINENO"; then :
11793 dll
) ac_cv_lib_soname_sane
=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11794 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'` ;;
11795 *) ac_cv_lib_soname_sane
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11796 if ${ac_cv_lib_soname_sane:+false} :; then :
11797 ac_cv_lib_soname_sane
=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11801 rm -f core conftest.err conftest.
$ac_objext \
11802 conftest
$ac_exeext conftest.
$ac_ext
11803 LIBS
=$ac_check_soname_save_LIBS
11805 if ${ac_cv_lib_soname_sane:+false} :; then :
11806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11807 $as_echo "not found" >&6; }
11810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
11811 $as_echo "$ac_cv_lib_soname_sane" >&6; }
11813 cat >>confdefs.h
<<_ACEOF
11814 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
11824 CPPFLAGS
=$ac_save_CPPFLAGS
11825 test -z "$SANE_CFLAGS" || SANE_CFLAGS
=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11826 test -z "$SANE_LIBS" || SANE_LIBS
=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11829 if test "x$ac_cv_lib_soname_sane" = "x"; then :
11830 case "x$with_sane" in
11831 x
) as_fn_append wine_notices
"|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
11833 *) as_fn_error $?
"libsane ${notice_platform}development files not found, scanners won't be supported.
11834 This is an error since --with-sane was requested." "$LINENO" 5 ;;
11838 if test "x$with_v4l" != "xno"
11840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
11841 $as_echo_n "checking for -lv4l1... " >&6; }
11842 if ${ac_cv_lib_soname_v4l1+:} false
; then :
11843 $as_echo_n "(cached) " >&6
11845 ac_check_soname_save_LIBS
=$LIBS
11846 LIBS
="-lv4l1 $LIBS"
11847 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11848 /* end confdefs.h. */
11850 /* Override any GCC internal prototype to avoid an error.
11851 Use char because int might match the return type of a GCC
11852 builtin and then its argument prototype would still apply. */
11860 return v4l1_open ();
11865 if ac_fn_c_try_link
"$LINENO"; then :
11867 dll
) ac_cv_lib_soname_v4l1
=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11868 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'` ;;
11869 *) ac_cv_lib_soname_v4l1
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11870 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11871 ac_cv_lib_soname_v4l1
=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11875 rm -f core conftest.err conftest.
$ac_objext \
11876 conftest
$ac_exeext conftest.
$ac_ext
11877 LIBS
=$ac_check_soname_save_LIBS
11879 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11881 $as_echo "not found" >&6; }
11884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
11885 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
11887 cat >>confdefs.h
<<_ACEOF
11888 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
11894 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
11895 case "x$with_v4l" in
11896 x
) as_fn_append wine_notices
"|libv4l ${notice_platform}development files not found." ;;
11898 *) as_fn_error $?
"libv4l ${notice_platform}development files not found.
11899 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
11903 if test "x$with_gphoto" != "xno"
11905 if ${GPHOTO2_CFLAGS:+false} :; then :
11906 if ${PKG_CONFIG+:} false
; then :
11907 GPHOTO2_CFLAGS
=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
11910 test "$cross_compiling" = yes || GPHOTO2_CFLAGS
=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
11911 if ${GPHOTO2_LIBS:+false} :; then :
11912 if ${PKG_CONFIG+:} false
; then :
11913 GPHOTO2_LIBS
=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
11916 test "$cross_compiling" = yes || GPHOTO2_LIBS
=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
11917 GPHOTO2_LIBS
=${GPHOTO2_LIBS:-"-lgphoto2"}
11918 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
11919 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
11920 ac_save_CPPFLAGS
=$CPPFLAGS
11921 CPPFLAGS
="$CPPFLAGS $GPHOTO2_CFLAGS"
11922 ac_fn_c_check_header_mongrel
"$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
11923 if test "x$ac_cv_header_gphoto2_camera_h" = xyes
; then :
11924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
11925 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
11926 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false
; then :
11927 $as_echo_n "(cached) " >&6
11929 ac_check_lib_save_LIBS
=$LIBS
11930 LIBS
="-lgphoto2 $GPHOTO2_LIBS $LIBS"
11931 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11932 /* end confdefs.h. */
11934 /* Override any GCC internal prototype to avoid an error.
11935 Use char because int might match the return type of a GCC
11936 builtin and then its argument prototype would still apply. */
11940 char gp_camera_new ();
11944 return gp_camera_new ();
11949 if ac_fn_c_try_link
"$LINENO"; then :
11950 ac_cv_lib_gphoto2_gp_camera_new
=yes
11952 ac_cv_lib_gphoto2_gp_camera_new
=no
11954 rm -f core conftest.err conftest.
$ac_objext \
11955 conftest
$ac_exeext conftest.
$ac_ext
11956 LIBS
=$ac_check_lib_save_LIBS
11958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
11959 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
11960 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes
; then :
11962 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
11965 GPHOTO2_LIBS
=""; GPHOTO2_CFLAGS
=""
11969 GPHOTO2_LIBS
=""; GPHOTO2_CFLAGS
=""
11973 CPPFLAGS
=$ac_save_CPPFLAGS
11974 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS
=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11975 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS
=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11977 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
11978 if ${PKG_CONFIG+:} false
; then :
11979 GPHOTO2_PORT_CFLAGS
=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
11982 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS
=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
11983 if ${GPHOTO2_PORT_LIBS:+false} :; then :
11984 if ${PKG_CONFIG+:} false
; then :
11985 GPHOTO2_PORT_LIBS
=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
11988 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS
=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
11989 GPHOTO2_PORT_LIBS
=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
11990 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
11991 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
11992 ac_save_CPPFLAGS
=$CPPFLAGS
11993 CPPFLAGS
="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
11994 ac_fn_c_check_header_mongrel
"$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
11995 if test "x$ac_cv_header_gphoto2_port_h" = xyes
; then :
11996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
11997 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
11998 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false
; then :
11999 $as_echo_n "(cached) " >&6
12001 ac_check_lib_save_LIBS
=$LIBS
12002 LIBS
="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
12003 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12004 /* end confdefs.h. */
12006 /* Override any GCC internal prototype to avoid an error.
12007 Use char because int might match the return type of a GCC
12008 builtin and then its argument prototype would still apply. */
12012 char gp_port_info_list_new ();
12016 return gp_port_info_list_new ();
12021 if ac_fn_c_try_link
"$LINENO"; then :
12022 ac_cv_lib_gphoto2_port_gp_port_info_list_new
=yes
12024 ac_cv_lib_gphoto2_port_gp_port_info_list_new
=no
12026 rm -f core conftest.err conftest.
$ac_objext \
12027 conftest
$ac_exeext conftest.
$ac_ext
12028 LIBS
=$ac_check_lib_save_LIBS
12030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
12031 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
12032 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes
; then :
12034 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
12037 GPHOTO2_PORT_LIBS
=""; GPHOTO2_PORT_CFLAGS
=""
12041 GPHOTO2_PORT_LIBS
=""; GPHOTO2_PORT_CFLAGS
=""
12045 CPPFLAGS
=$ac_save_CPPFLAGS
12046 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS
=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12047 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS
=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12050 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
12051 case "x$with_gphoto" in
12052 x
) as_fn_append wine_notices
"|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
12054 *) as_fn_error $?
"libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
12055 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12058 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
12059 case "x$with_gphoto" in
12060 x
) as_fn_append wine_notices
"|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
12062 *) as_fn_error $?
"libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
12063 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12068 if test "$ac_cv_header_resolv_h" = "yes"
12070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
12071 $as_echo_n "checking for resolver library... " >&6; }
12072 if ${ac_cv_have_resolv+:} false
; then :
12073 $as_echo_n "(cached) " >&6
12075 ac_save_LIBS
="$LIBS"
12076 for lib
in '' -lresolv
12078 LIBS
="$lib $ac_save_LIBS"
12079 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12080 /* end confdefs.h. */
12081 #ifdef HAVE_NETINET_IN_H
12082 #include <netinet/in.h>
12084 #include <resolv.h>
12088 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
12093 if ac_fn_c_try_link
"$LINENO"; then :
12094 ac_cv_have_resolv
=${lib:-"none required"}
12096 ac_cv_have_resolv
="not found"
12098 rm -f core conftest.err conftest.
$ac_objext \
12099 conftest
$ac_exeext conftest.
$ac_ext
12100 test "x$ac_cv_have_resolv" = "xnot found" ||
break
12102 LIBS
="$ac_save_LIBS"
12104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
12105 $as_echo "$ac_cv_have_resolv" >&6; }
12107 case "$ac_cv_have_resolv" in
12111 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12114 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12116 RESOLV_LIBS
=$ac_cv_have_resolv
12121 if test "x$with_cms" != "xno"
12123 if ${LCMS2_CFLAGS:+false} :; then :
12124 if ${PKG_CONFIG+:} false
; then :
12125 LCMS2_CFLAGS
=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
12129 if ${LCMS2_LIBS:+false} :; then :
12130 if ${PKG_CONFIG+:} false
; then :
12131 LCMS2_LIBS
=`$PKG_CONFIG --libs lcms2 2>/dev/null`
12135 LCMS2_LIBS
=${LCMS2_LIBS:-"-llcms2"}
12136 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
12137 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
12138 ac_save_CPPFLAGS
=$CPPFLAGS
12139 CPPFLAGS
="$CPPFLAGS $LCMS2_CFLAGS"
12140 for ac_header
in lcms2.h
12142 ac_fn_c_check_header_mongrel
"$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
12143 if test "x$ac_cv_header_lcms2_h" = xyes
; then :
12144 cat >>confdefs.h
<<_ACEOF
12145 #define HAVE_LCMS2_H 1
12152 if test "$ac_cv_header_lcms2_h" = "yes"
12154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
12155 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
12156 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false
; then :
12157 $as_echo_n "(cached) " >&6
12159 ac_check_lib_save_LIBS
=$LIBS
12160 LIBS
="-llcms2 $LCMS2_LIBS $LIBS"
12161 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12162 /* end confdefs.h. */
12164 /* Override any GCC internal prototype to avoid an error.
12165 Use char because int might match the return type of a GCC
12166 builtin and then its argument prototype would still apply. */
12170 char cmsOpenProfileFromFile ();
12174 return cmsOpenProfileFromFile ();
12179 if ac_fn_c_try_link
"$LINENO"; then :
12180 ac_cv_lib_lcms2_cmsOpenProfileFromFile
=yes
12182 ac_cv_lib_lcms2_cmsOpenProfileFromFile
=no
12184 rm -f core conftest.err conftest.
$ac_objext \
12185 conftest
$ac_exeext conftest.
$ac_ext
12186 LIBS
=$ac_check_lib_save_LIBS
12188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
12189 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
12190 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes
; then :
12192 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
12202 CPPFLAGS
=$ac_save_CPPFLAGS
12203 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS
=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12204 test -z "$LCMS2_LIBS" || LCMS2_LIBS
=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12207 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
12208 case "x$with_cms" in
12209 x
) as_fn_append wine_notices
"|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
12211 *) as_fn_error $?
"liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
12212 This is an error since --with-cms was requested." "$LINENO" 5 ;;
12216 if test "x$with_freetype" != "xno"
12218 if ${FREETYPE_CFLAGS:+false} :; then :
12219 if ${PKG_CONFIG+:} false
; then :
12220 FREETYPE_CFLAGS
=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
12223 test "$cross_compiling" = yes || FREETYPE_CFLAGS
=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
12224 if ${FREETYPE_LIBS:+false} :; then :
12225 if ${PKG_CONFIG+:} false
; then :
12226 FREETYPE_LIBS
=`$PKG_CONFIG --libs freetype2 2>/dev/null`
12229 test "$cross_compiling" = yes || FREETYPE_LIBS
=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
12230 FREETYPE_LIBS
=${FREETYPE_LIBS:-"-lfreetype"}
12231 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
12232 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
12233 ac_save_CPPFLAGS
=$CPPFLAGS
12234 CPPFLAGS
="$CPPFLAGS $FREETYPE_CFLAGS"
12235 for ac_header
in ft2build.h
12237 ac_fn_c_check_header_mongrel
"$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
12238 if test "x$ac_cv_header_ft2build_h" = xyes
; then :
12239 cat >>confdefs.h
<<_ACEOF
12240 #define HAVE_FT2BUILD_H 1
12247 if test "$ac_cv_header_ft2build_h" = "yes"
12249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
12250 $as_echo_n "checking for -lfreetype... " >&6; }
12251 if ${ac_cv_lib_soname_freetype+:} false
; then :
12252 $as_echo_n "(cached) " >&6
12254 ac_check_soname_save_LIBS
=$LIBS
12255 LIBS
="-lfreetype $FREETYPE_LIBS $LIBS"
12256 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12257 /* end confdefs.h. */
12259 /* Override any GCC internal prototype to avoid an error.
12260 Use char because int might match the return type of a GCC
12261 builtin and then its argument prototype would still apply. */
12265 char FT_Init_FreeType ();
12269 return FT_Init_FreeType ();
12274 if ac_fn_c_try_link
"$LINENO"; then :
12276 dll
) ac_cv_lib_soname_freetype
=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12277 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'` ;;
12278 *) ac_cv_lib_soname_freetype
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12279 if ${ac_cv_lib_soname_freetype:+false} :; then :
12280 ac_cv_lib_soname_freetype
=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12284 rm -f core conftest.err conftest.
$ac_objext \
12285 conftest
$ac_exeext conftest.
$ac_ext
12286 LIBS
=$ac_check_soname_save_LIBS
12288 if ${ac_cv_lib_soname_freetype:+false} :; then :
12289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12290 $as_echo "not found" >&6; }
12293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
12294 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
12296 cat >>confdefs.h
<<_ACEOF
12297 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
12301 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
12303 ac_fn_c_check_type
"$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
12304 #include FT_MODULE_H
12306 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes
; then :
12308 cat >>confdefs.h
<<_ACEOF
12309 #define HAVE_FT_TRUETYPEENGINETYPE 1
12320 CPPFLAGS
=$ac_save_CPPFLAGS
12321 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS
=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12322 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS
=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12325 if test "x$ac_cv_lib_soname_freetype" = x
; then :
12326 case "x$with_freetype" in
12328 *) as_fn_error $?
"FreeType ${notice_platform}development files not found. Fonts will not be built.
12329 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
12332 test "x$ac_cv_lib_soname_freetype" = x
&& enable_fonts
=${enable_fonts:-no}
12334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
12335 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
12336 if ${ac_cv_c_ppdev+:} false
; then :
12337 $as_echo_n "(cached) " >&6
12339 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12340 /* end confdefs.h. */
12341 #ifdef HAVE_SYS_IOCTL_H
12342 # include <sys/ioctl.h>
12344 #include <linux/ppdev.h>
12348 ioctl (1,PPCLAIM,0)
12353 if ac_fn_c_try_compile
"$LINENO"; then :
12354 ac_cv_c_ppdev
="yes"
12358 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
12361 $as_echo "$ac_cv_c_ppdev" >&6; }
12362 if test "$ac_cv_c_ppdev" = "yes"
12365 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
12369 ac_wine_check_funcs_save_LIBS
="$LIBS"
12370 LIBS
="$LIBS $PTHREAD_LIBS"
12372 pthread_attr_get_np \
12373 pthread_getattr_np \
12374 pthread_getthreadid_np \
12375 pthread_get_stackaddr_np \
12376 pthread_get_stacksize_np
12378 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12379 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
12380 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
12381 cat >>confdefs.h
<<_ACEOF
12382 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12388 LIBS
="$ac_wine_check_funcs_save_LIBS"
12390 if test "$ac_cv_header_zlib_h" = "yes"
12392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
12393 $as_echo_n "checking for inflate in -lz... " >&6; }
12394 if ${ac_cv_lib_z_inflate+:} false
; then :
12395 $as_echo_n "(cached) " >&6
12397 ac_check_lib_save_LIBS
=$LIBS
12399 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12400 /* end confdefs.h. */
12402 /* Override any GCC internal prototype to avoid an error.
12403 Use char because int might match the return type of a GCC
12404 builtin and then its argument prototype would still apply. */
12417 if ac_fn_c_try_link
"$LINENO"; then :
12418 ac_cv_lib_z_inflate
=yes
12420 ac_cv_lib_z_inflate
=no
12422 rm -f core conftest.err conftest.
$ac_objext \
12423 conftest
$ac_exeext conftest.
$ac_ext
12424 LIBS
=$ac_check_lib_save_LIBS
12426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
12427 $as_echo "$ac_cv_lib_z_inflate" >&6; }
12428 if test "x$ac_cv_lib_z_inflate" = xyes
; then :
12430 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
12437 if test "x$Z_LIBS" = "x"; then :
12438 case "x$with_zlib" in
12439 x
) as_fn_append wine_notices
"|libz ${notice_platform}development files not found, data compression won't be supported." ;;
12441 *) as_fn_error $?
"libz ${notice_platform}development files not found, data compression won't be supported.
12442 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
12446 if test "x$enable_tools" != xno
12448 if test "$ac_cv_header_gettext_po_h" = "yes"
12450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
12451 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
12452 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false
; then :
12453 $as_echo_n "(cached) " >&6
12455 ac_check_lib_save_LIBS
=$LIBS
12456 LIBS
="-lgettextpo $LIBS"
12457 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12458 /* end confdefs.h. */
12460 /* Override any GCC internal prototype to avoid an error.
12461 Use char because int might match the return type of a GCC
12462 builtin and then its argument prototype would still apply. */
12466 char po_message_msgctxt ();
12470 return po_message_msgctxt ();
12475 if ac_fn_c_try_link
"$LINENO"; then :
12476 ac_cv_lib_gettextpo_po_message_msgctxt
=yes
12478 ac_cv_lib_gettextpo_po_message_msgctxt
=no
12480 rm -f core conftest.err conftest.
$ac_objext \
12481 conftest
$ac_exeext conftest.
$ac_ext
12482 LIBS
=$ac_check_lib_save_LIBS
12484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
12485 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
12486 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes
; then :
12488 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
12490 GETTEXTPO_LIBS
="-lgettextpo"
12495 test "x$with_gettextpo" != xyes ||
if test "x$GETTEXTPO_LIBS" = "x"; then :
12496 case "x$with_gettextpo" in
12497 x
) as_fn_append wine_notices
"|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
12499 *) as_fn_error $?
"GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
12500 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12505 if test "x$with_pulse" != "xno";
12507 if ${PULSE_CFLAGS:+false} :; then :
12508 if ${PKG_CONFIG+:} false
; then :
12509 PULSE_CFLAGS
=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
12513 if ${PULSE_LIBS:+false} :; then :
12514 if ${PKG_CONFIG+:} false
; then :
12515 PULSE_LIBS
=`$PKG_CONFIG --libs libpulse 2>/dev/null`
12520 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
12521 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
12522 ac_save_CPPFLAGS
=$CPPFLAGS
12523 CPPFLAGS
="$CPPFLAGS $PULSE_CFLAGS"
12524 for ac_header
in pulse
/pulseaudio.h
12526 ac_fn_c_check_header_mongrel
"$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
12527 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes
; then :
12528 cat >>confdefs.h
<<_ACEOF
12529 #define HAVE_PULSE_PULSEAUDIO_H 1
12531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
12532 $as_echo_n "checking for pa_stream_is_corked in -lpulse... " >&6; }
12533 if ${ac_cv_lib_pulse_pa_stream_is_corked+:} false
; then :
12534 $as_echo_n "(cached) " >&6
12536 ac_check_lib_save_LIBS
=$LIBS
12537 LIBS
="-lpulse $PULSE_LIBS $LIBS"
12538 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12539 /* end confdefs.h. */
12541 /* Override any GCC internal prototype to avoid an error.
12542 Use char because int might match the return type of a GCC
12543 builtin and then its argument prototype would still apply. */
12547 char pa_stream_is_corked ();
12551 return pa_stream_is_corked ();
12556 if ac_fn_c_try_link
"$LINENO"; then :
12557 ac_cv_lib_pulse_pa_stream_is_corked
=yes
12559 ac_cv_lib_pulse_pa_stream_is_corked
=no
12561 rm -f core conftest.err conftest.
$ac_objext \
12562 conftest
$ac_exeext conftest.
$ac_ext
12563 LIBS
=$ac_check_lib_save_LIBS
12565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
12566 $as_echo "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
12567 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes
; then :
12579 CPPFLAGS
=$ac_save_CPPFLAGS
12580 test -z "$PULSE_CFLAGS" || PULSE_CFLAGS
=`echo " $PULSE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12581 test -z "$PULSE_LIBS" || PULSE_LIBS
=`echo " $PULSE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12584 if test -z "$PULSE_LIBS"; then :
12585 case "x$with_pulse" in
12586 x
) as_fn_append wine_notices
"|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
12588 *) as_fn_error $?
"libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
12589 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
12592 test -n "$PULSE_LIBS" || enable_winepulse_drv
=${enable_winepulse_drv:-no}
12594 if test "x$with_gstreamer" != "xno"
12596 if ${GSTREAMER_CFLAGS:+false} :; then :
12597 if ${PKG_CONFIG+:} false
; then :
12598 GSTREAMER_CFLAGS
=`$PKG_CONFIG --cflags gstreamer-app-0.10 2>/dev/null`
12602 if ${GSTREAMER_LIBS:+false} :; then :
12603 if ${PKG_CONFIG+:} false
; then :
12604 GSTREAMER_LIBS
=`$PKG_CONFIG --libs gstreamer-app-0.10 2>/dev/null`
12609 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-app-0.10 cflags: $GSTREAMER_CFLAGS" >&5
12610 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-app-0.10 libs: $GSTREAMER_LIBS" >&5
12611 ac_save_CPPFLAGS
=$CPPFLAGS
12612 CPPFLAGS
="$CPPFLAGS $GSTREAMER_CFLAGS"
12614 for i
in $GSTREAMER_CFLAGS
12617 -I*) ac_gst_incl
="$ac_gst_incl $i";;
12620 GSTREAMER_CFLAGS
=$ac_gst_incl
12621 CPPFLAGS
="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
12622 ac_fn_c_check_header_mongrel
"$LINENO" "gst/gstpad.h" "ac_cv_header_gst_gstpad_h" "$ac_includes_default"
12623 if test "x$ac_cv_header_gst_gstpad_h" = xyes
; then :
12624 ac_fn_c_check_header_mongrel
"$LINENO" "gst/app/gstappsink.h" "ac_cv_header_gst_app_gstappsink_h" "$ac_includes_default"
12625 if test "x$ac_cv_header_gst_app_gstappsink_h" = xyes
; then :
12626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit" >&5
12627 $as_echo_n "checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit... " >&6; }
12628 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12629 /* end confdefs.h. */
12630 #include <gst/app/gstappsink.h>
12634 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
12639 if ac_fn_c_try_compile
"$LINENO"; then :
12640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12641 $as_echo "yes" >&6; }
12642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_get_caps_reffed in -lgstreamer-0.10" >&5
12643 $as_echo_n "checking for gst_pad_get_caps_reffed in -lgstreamer-0.10... " >&6; }
12644 if ${ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed+:} false
; then :
12645 $as_echo_n "(cached) " >&6
12647 ac_check_lib_save_LIBS
=$LIBS
12648 LIBS
="-lgstreamer-0.10 $LIBS"
12649 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12650 /* end confdefs.h. */
12652 /* Override any GCC internal prototype to avoid an error.
12653 Use char because int might match the return type of a GCC
12654 builtin and then its argument prototype would still apply. */
12658 char gst_pad_get_caps_reffed ();
12662 return gst_pad_get_caps_reffed ();
12667 if ac_fn_c_try_link
"$LINENO"; then :
12668 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed
=yes
12670 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed
=no
12672 rm -f core conftest.err conftest.
$ac_objext \
12673 conftest
$ac_exeext conftest.
$ac_ext
12674 LIBS
=$ac_check_lib_save_LIBS
12676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&5
12677 $as_echo "$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&6; }
12678 if test "x$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" = xyes
; then :
12679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_app_buffer_new in -lgstapp-0.10" >&5
12680 $as_echo_n "checking for gst_app_buffer_new in -lgstapp-0.10... " >&6; }
12681 if ${ac_cv_lib_gstapp_0_10_gst_app_buffer_new+:} false
; then :
12682 $as_echo_n "(cached) " >&6
12684 ac_check_lib_save_LIBS
=$LIBS
12685 LIBS
="-lgstapp-0.10 $GSTREAMER_LIBS $LIBS"
12686 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12687 /* end confdefs.h. */
12689 /* Override any GCC internal prototype to avoid an error.
12690 Use char because int might match the return type of a GCC
12691 builtin and then its argument prototype would still apply. */
12695 char gst_app_buffer_new ();
12699 return gst_app_buffer_new ();
12704 if ac_fn_c_try_link
"$LINENO"; then :
12705 ac_cv_lib_gstapp_0_10_gst_app_buffer_new
=yes
12707 ac_cv_lib_gstapp_0_10_gst_app_buffer_new
=no
12709 rm -f core conftest.err conftest.
$ac_objext \
12710 conftest
$ac_exeext conftest.
$ac_ext
12711 LIBS
=$ac_check_lib_save_LIBS
12713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&5
12714 $as_echo "$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&6; }
12715 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes
; then :
12722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12723 $as_echo "no" >&6; }
12725 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12730 GSTREAMER_CFLAGS
=""
12734 CPPFLAGS
=$ac_save_CPPFLAGS
12735 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS
=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12736 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS
=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12739 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" != xyes
-a "x$ac_cv_header_QuickTime_ImageCompression_h" != xyes
; then :
12740 case "x$with_gstreamer" in
12741 x
) as_fn_append wine_notices
"|gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled" ;;
12743 *) as_fn_error $?
"gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled
12744 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
12747 test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes || enable_winegstreamer
=${enable_winegstreamer:-no}
12751 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
12753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
12754 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
12755 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false
; then :
12756 $as_echo_n "(cached) " >&6
12758 ac_check_lib_save_LIBS
=$LIBS
12759 LIBS
="-lasound $LIBS"
12760 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12761 /* end confdefs.h. */
12763 /* Override any GCC internal prototype to avoid an error.
12764 Use char because int might match the return type of a GCC
12765 builtin and then its argument prototype would still apply. */
12769 char snd_pcm_hw_params_get_access_mask ();
12773 return snd_pcm_hw_params_get_access_mask ();
12778 if ac_fn_c_try_link
"$LINENO"; then :
12779 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask
=yes
12781 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask
=no
12783 rm -f core conftest.err conftest.
$ac_objext \
12784 conftest
$ac_exeext conftest.
$ac_ext
12785 LIBS
=$ac_check_lib_save_LIBS
12787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
12788 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
12789 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes
; then :
12790 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12791 /* end confdefs.h. */
12792 #ifdef HAVE_ALSA_ASOUNDLIB_H
12793 #include <alsa/asoundlib.h>
12794 #elif defined(HAVE_SYS_ASOUNDLIB_H)
12795 #include <sys/asoundlib.h>
12800 snd_pcm_hw_params_get_access_mask(NULL, NULL)
12805 if ac_fn_c_try_compile
"$LINENO"; then :
12806 ALSA_LIBS
="-lasound"
12808 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12812 test -n "$ALSA_LIBS" || enable_winealsa_drv
=${enable_winealsa_drv:-no}
12814 if test "x$with_oss" != xno
12816 ac_save_CPPFLAGS
="$CPPFLAGS"
12817 if test -f /etc
/oss.conf
12821 ac_oss_incl
="-I${OSSLIBDIR:-/usr/lib/oss}/include"
12822 CPPFLAGS
="$CPPFLAGS $ac_oss_incl"
12823 ac_fn_c_check_header_mongrel
"$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
12824 if test "x$ac_cv_header_sys_soundcard_h" = xyes
; then :
12825 ac_fn_c_check_member
"$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
12827 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes
; then :
12829 cat >>confdefs.h
<<_ACEOF
12830 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
12833 OSS4_CFLAGS
="$ac_oss_incl"
12840 CPPFLAGS
="$ac_save_CPPFLAGS"
12841 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
12843 as_fn_append wine_notices
"|OSS sound system found but too old (OSSv4 needed), OSS won't be supported."
12846 test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes || enable_wineoss_drv
=${enable_wineoss_drv:-no}
12848 if test "x$with_capi" != "xno"
12850 if ${CAPI20_CFLAGS:+false} :; then :
12851 if ${PKG_CONFIG+:} false
; then :
12852 CAPI20_CFLAGS
=`$PKG_CONFIG --cflags capi20 2>/dev/null`
12856 if ${CAPI20_LIBS:+false} :; then :
12857 if ${PKG_CONFIG+:} false
; then :
12858 CAPI20_LIBS
=`$PKG_CONFIG --libs capi20 2>/dev/null`
12863 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
12864 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
12865 ac_save_CPPFLAGS
=$CPPFLAGS
12866 CPPFLAGS
="$CPPFLAGS $CAPI20_CFLAGS"
12867 for ac_header
in capi20.h linux
/capi.h
12869 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12870 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#define __user
12872 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
12873 cat >>confdefs.h
<<_ACEOF
12874 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12881 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
12883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
12884 $as_echo_n "checking for -lcapi20... " >&6; }
12885 if ${ac_cv_lib_soname_capi20+:} false
; then :
12886 $as_echo_n "(cached) " >&6
12888 ac_check_soname_save_LIBS
=$LIBS
12889 LIBS
="-lcapi20 $CAPI20_LIBS $LIBS"
12890 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12891 /* end confdefs.h. */
12893 /* Override any GCC internal prototype to avoid an error.
12894 Use char because int might match the return type of a GCC
12895 builtin and then its argument prototype would still apply. */
12899 char capi20_register ();
12903 return capi20_register ();
12908 if ac_fn_c_try_link
"$LINENO"; then :
12910 dll
) ac_cv_lib_soname_capi20
=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12911 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'` ;;
12912 *) ac_cv_lib_soname_capi20
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12913 if ${ac_cv_lib_soname_capi20:+false} :; then :
12914 ac_cv_lib_soname_capi20
=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12918 rm -f core conftest.err conftest.
$ac_objext \
12919 conftest
$ac_exeext conftest.
$ac_ext
12920 LIBS
=$ac_check_soname_save_LIBS
12922 if ${ac_cv_lib_soname_capi20:+false} :; then :
12923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12924 $as_echo "not found" >&6; }
12927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
12928 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
12930 cat >>confdefs.h
<<_ACEOF
12931 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
12937 CPPFLAGS
=$ac_save_CPPFLAGS
12938 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS
=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12939 test -z "$CAPI20_LIBS" || CAPI20_LIBS
=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12942 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
12943 case "x$with_capi" in
12944 x
) as_fn_append wine_notices
"|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
12946 *) as_fn_error $?
"libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
12947 This is an error since --with-capi was requested." "$LINENO" 5 ;;
12953 if test "x$with_cups" != "xno"
12955 ac_save_CPPFLAGS
="$CPPFLAGS"
12956 ac_cups_cflags
=`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`
12957 ac_cups_libs
=`${CUPS_CONFIG:-cups-config} --ldflags 2>/dev/null`
12958 CPPFLAGS
="$CPPFLAGS $ac_cups_cflags"
12959 for ac_header
in cups
/cups.h
12961 ac_fn_c_check_header_mongrel
"$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
12962 if test "x$ac_cv_header_cups_cups_h" = xyes
; then :
12963 cat >>confdefs.h
<<_ACEOF
12964 #define HAVE_CUPS_CUPS_H 1
12966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
12967 $as_echo_n "checking for -lcups... " >&6; }
12968 if ${ac_cv_lib_soname_cups+:} false
; then :
12969 $as_echo_n "(cached) " >&6
12971 ac_check_soname_save_LIBS
=$LIBS
12972 LIBS
="-lcups $ac_cups_libs $LIBS"
12973 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12974 /* end confdefs.h. */
12976 /* Override any GCC internal prototype to avoid an error.
12977 Use char because int might match the return type of a GCC
12978 builtin and then its argument prototype would still apply. */
12982 char cupsGetDefault ();
12986 return cupsGetDefault ();
12991 if ac_fn_c_try_link
"$LINENO"; then :
12993 dll
) ac_cv_lib_soname_cups
=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12994 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'` ;;
12995 *) ac_cv_lib_soname_cups
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12996 if ${ac_cv_lib_soname_cups:+false} :; then :
12997 ac_cv_lib_soname_cups
=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13001 rm -f core conftest.err conftest.
$ac_objext \
13002 conftest
$ac_exeext conftest.
$ac_ext
13003 LIBS
=$ac_check_soname_save_LIBS
13005 if ${ac_cv_lib_soname_cups:+false} :; then :
13006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13007 $as_echo "not found" >&6; }
13010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
13011 $as_echo "$ac_cv_lib_soname_cups" >&6; }
13013 cat >>confdefs.h
<<_ACEOF
13014 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
13017 CUPS_CFLAGS
="$ac_cups_cflags"
13023 CPPFLAGS
="$ac_save_CPPFLAGS"
13025 if test "x$ac_cv_lib_soname_cups" = "x"; then :
13026 case "x$with_cups" in
13027 x
) as_fn_append wine_notices
"|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
13029 *) as_fn_error $?
"libcups ${notice_platform}development files not found, CUPS won't be supported.
13030 This is an error since --with-cups was requested." "$LINENO" 5 ;;
13034 if test "x$with_fontconfig" != "xno"
13036 if ${FONTCONFIG_CFLAGS:+false} :; then :
13037 if ${PKG_CONFIG+:} false
; then :
13038 FONTCONFIG_CFLAGS
=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
13041 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS
=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
13042 if ${FONTCONFIG_LIBS:+false} :; then :
13043 if ${PKG_CONFIG+:} false
; then :
13044 FONTCONFIG_LIBS
=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
13047 test "$cross_compiling" = yes || FONTCONFIG_LIBS
=${FONTCONFIG_LIBS:-$X_LIBS}
13049 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
13050 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
13051 ac_save_CPPFLAGS
=$CPPFLAGS
13052 CPPFLAGS
="$CPPFLAGS $FONTCONFIG_CFLAGS"
13053 for ac_header
in fontconfig
/fontconfig.h
13055 ac_fn_c_check_header_mongrel
"$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
13056 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes
; then :
13057 cat >>confdefs.h
<<_ACEOF
13058 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
13065 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
13067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
13068 $as_echo_n "checking for -lfontconfig... " >&6; }
13069 if ${ac_cv_lib_soname_fontconfig+:} false
; then :
13070 $as_echo_n "(cached) " >&6
13072 ac_check_soname_save_LIBS
=$LIBS
13073 LIBS
="-lfontconfig $FONTCONFIG_LIBS $LIBS"
13074 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13075 /* end confdefs.h. */
13077 /* Override any GCC internal prototype to avoid an error.
13078 Use char because int might match the return type of a GCC
13079 builtin and then its argument prototype would still apply. */
13092 if ac_fn_c_try_link
"$LINENO"; then :
13094 dll
) ac_cv_lib_soname_fontconfig
=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13095 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'` ;;
13096 *) ac_cv_lib_soname_fontconfig
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13097 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13098 ac_cv_lib_soname_fontconfig
=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13102 rm -f core conftest.err conftest.
$ac_objext \
13103 conftest
$ac_exeext conftest.
$ac_ext
13104 LIBS
=$ac_check_soname_save_LIBS
13106 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13108 $as_echo "not found" >&6; }
13109 FONTCONFIG_CFLAGS
=""
13111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
13112 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
13114 cat >>confdefs.h
<<_ACEOF
13115 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
13121 FONTCONFIG_CFLAGS
=""
13123 CPPFLAGS
=$ac_save_CPPFLAGS
13124 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS
=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13125 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS
=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13128 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
13129 case "x$with_fontconfig" in
13130 x
) as_fn_append wine_notices
"|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
13132 *) as_fn_error $?
"fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
13133 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
13137 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
13139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
13140 $as_echo_n "checking for -lgsm... " >&6; }
13141 if ${ac_cv_lib_soname_gsm+:} false
; then :
13142 $as_echo_n "(cached) " >&6
13144 ac_check_soname_save_LIBS
=$LIBS
13146 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13147 /* end confdefs.h. */
13149 /* Override any GCC internal prototype to avoid an error.
13150 Use char because int might match the return type of a GCC
13151 builtin and then its argument prototype would still apply. */
13155 char gsm_create ();
13159 return gsm_create ();
13164 if ac_fn_c_try_link
"$LINENO"; then :
13166 dll
) ac_cv_lib_soname_gsm
=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13167 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'` ;;
13168 *) ac_cv_lib_soname_gsm
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13169 if ${ac_cv_lib_soname_gsm:+false} :; then :
13170 ac_cv_lib_soname_gsm
=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13174 rm -f core conftest.err conftest.
$ac_objext \
13175 conftest
$ac_exeext conftest.
$ac_ext
13176 LIBS
=$ac_check_soname_save_LIBS
13178 if ${ac_cv_lib_soname_gsm:+false} :; then :
13179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13180 $as_echo "not found" >&6; }
13183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
13184 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
13186 cat >>confdefs.h
<<_ACEOF
13187 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
13193 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
13194 case "x$with_gsm" in
13195 x
) as_fn_append wine_notices
"|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
13197 *) as_fn_error $?
"libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
13198 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
13202 if test "x$with_jpeg" != "xno"
13204 if ${JPEG_CFLAGS:+false} :; then :
13205 if ${PKG_CONFIG+:} false
; then :
13206 JPEG_CFLAGS
=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
13210 if ${JPEG_LIBS:+false} :; then :
13211 if ${PKG_CONFIG+:} false
; then :
13212 JPEG_LIBS
=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
13217 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
13218 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
13219 ac_save_CPPFLAGS
=$CPPFLAGS
13220 CPPFLAGS
="$CPPFLAGS $JPEG_CFLAGS"
13221 for ac_header
in jpeglib.h
13223 ac_fn_c_check_header_mongrel
"$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
13224 if test "x$ac_cv_header_jpeglib_h" = xyes
; then :
13225 cat >>confdefs.h
<<_ACEOF
13226 #define HAVE_JPEGLIB_H 1
13233 if test "$ac_cv_header_jpeglib_h" = "yes"
13235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
13236 $as_echo_n "checking for -ljpeg... " >&6; }
13237 if ${ac_cv_lib_soname_jpeg+:} false
; then :
13238 $as_echo_n "(cached) " >&6
13240 ac_check_soname_save_LIBS
=$LIBS
13241 LIBS
="-ljpeg $JPEG_LIBS $LIBS"
13242 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13243 /* end confdefs.h. */
13245 /* Override any GCC internal prototype to avoid an error.
13246 Use char because int might match the return type of a GCC
13247 builtin and then its argument prototype would still apply. */
13251 char jpeg_start_decompress ();
13255 return jpeg_start_decompress ();
13260 if ac_fn_c_try_link
"$LINENO"; then :
13262 dll
) ac_cv_lib_soname_jpeg
=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13263 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'` ;;
13264 *) ac_cv_lib_soname_jpeg
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13265 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13266 ac_cv_lib_soname_jpeg
=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13270 rm -f core conftest.err conftest.
$ac_objext \
13271 conftest
$ac_exeext conftest.
$ac_ext
13272 LIBS
=$ac_check_soname_save_LIBS
13274 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13276 $as_echo "not found" >&6; }
13279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
13280 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
13282 cat >>confdefs.h
<<_ACEOF
13283 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
13291 CPPFLAGS
=$ac_save_CPPFLAGS
13292 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS
=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13293 test -z "$JPEG_LIBS" || JPEG_LIBS
=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13296 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
13297 case "x$with_jpeg" in
13298 x
) as_fn_append wine_warnings
"|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
13300 *) as_fn_error $?
"libjpeg ${notice_platform}development files not found, JPEG won't be supported.
13301 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
13305 if test "x$with_png" != "xno"
13307 if ${PNG_CFLAGS:+false} :; then :
13308 if ${PKG_CONFIG+:} false
; then :
13309 PNG_CFLAGS
=`$PKG_CONFIG --cflags libpng 2>/dev/null`
13312 test "$cross_compiling" = yes || PNG_CFLAGS
=${PNG_CFLAGS:-$X_CFLAGS}
13313 if ${PNG_LIBS:+false} :; then :
13314 if ${PKG_CONFIG+:} false
; then :
13315 PNG_LIBS
=`$PKG_CONFIG --libs libpng 2>/dev/null`
13318 test "$cross_compiling" = yes || PNG_LIBS
=${PNG_LIBS:-$X_LIBS}
13320 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
13321 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
13322 ac_save_CPPFLAGS
=$CPPFLAGS
13323 CPPFLAGS
="$CPPFLAGS $PNG_CFLAGS"
13324 for ac_header
in png.h
13326 ac_fn_c_check_header_mongrel
"$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
13327 if test "x$ac_cv_header_png_h" = xyes
; then :
13328 cat >>confdefs.h
<<_ACEOF
13329 #define HAVE_PNG_H 1
13336 if test "$ac_cv_header_png_h" = "yes"
13338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
13339 $as_echo_n "checking for -lpng... " >&6; }
13340 if ${ac_cv_lib_soname_png+:} false
; then :
13341 $as_echo_n "(cached) " >&6
13343 ac_check_soname_save_LIBS
=$LIBS
13344 LIBS
="-lpng $PNG_LIBS -lm -lz $LIBS"
13345 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13346 /* end confdefs.h. */
13348 /* Override any GCC internal prototype to avoid an error.
13349 Use char because int might match the return type of a GCC
13350 builtin and then its argument prototype would still apply. */
13354 char png_create_read_struct ();
13358 return png_create_read_struct ();
13363 if ac_fn_c_try_link
"$LINENO"; then :
13365 dll
) ac_cv_lib_soname_png
=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13366 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'` ;;
13367 *) 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'`
13368 if ${ac_cv_lib_soname_png:+false} :; then :
13369 ac_cv_lib_soname_png
=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13373 rm -f core conftest.err conftest.
$ac_objext \
13374 conftest
$ac_exeext conftest.
$ac_ext
13375 LIBS
=$ac_check_soname_save_LIBS
13377 if ${ac_cv_lib_soname_png:+false} :; then :
13378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13379 $as_echo "not found" >&6; }
13382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
13383 $as_echo "$ac_cv_lib_soname_png" >&6; }
13385 cat >>confdefs.h
<<_ACEOF
13386 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
13389 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13390 /* end confdefs.h. */
13395 typeof(png_set_expand_gray_1_2_4_to_8) *p
13400 if ac_fn_c_try_compile
"$LINENO"; then :
13402 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
13405 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13410 CPPFLAGS
=$ac_save_CPPFLAGS
13411 test -z "$PNG_CFLAGS" || PNG_CFLAGS
=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13412 test -z "$PNG_LIBS" || PNG_LIBS
=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13415 if test "x$ac_cv_lib_soname_png" = "x"; then :
13416 case "x$with_png" in
13417 x
) as_fn_append wine_warnings
"|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
13419 *) as_fn_error $?
"libpng ${notice_platform}development files not found, PNG won't be supported.
13420 This is an error since --with-png was requested." "$LINENO" 5 ;;
13424 if test "x$with_tiff" != "xno"
13426 if ${TIFF_CFLAGS:+false} :; then :
13427 if ${PKG_CONFIG+:} false
; then :
13428 TIFF_CFLAGS
=`$PKG_CONFIG --cflags libtiff-4 2>/dev/null`
13432 if ${TIFF_LIBS:+false} :; then :
13433 if ${PKG_CONFIG+:} false
; then :
13434 TIFF_LIBS
=`$PKG_CONFIG --libs libtiff-4 2>/dev/null`
13439 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 cflags: $TIFF_CFLAGS" >&5
13440 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 libs: $TIFF_LIBS" >&5
13441 ac_save_CPPFLAGS
=$CPPFLAGS
13442 CPPFLAGS
="$CPPFLAGS $TIFF_CFLAGS"
13443 for ac_header
in tiffio.h
13445 ac_fn_c_check_header_mongrel
"$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
13446 if test "x$ac_cv_header_tiffio_h" = xyes
; then :
13447 cat >>confdefs.h
<<_ACEOF
13448 #define HAVE_TIFFIO_H 1
13455 if test "$ac_cv_header_tiffio_h" = "yes"
13457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
13458 $as_echo_n "checking for -ltiff... " >&6; }
13459 if ${ac_cv_lib_soname_tiff+:} false
; then :
13460 $as_echo_n "(cached) " >&6
13462 ac_check_soname_save_LIBS
=$LIBS
13463 LIBS
="-ltiff $TIFF_LIBS $LIBS"
13464 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13465 /* end confdefs.h. */
13467 /* Override any GCC internal prototype to avoid an error.
13468 Use char because int might match the return type of a GCC
13469 builtin and then its argument prototype would still apply. */
13473 char TIFFClientOpen ();
13477 return TIFFClientOpen ();
13482 if ac_fn_c_try_link
"$LINENO"; then :
13484 dll
) ac_cv_lib_soname_tiff
=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13485 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'` ;;
13486 *) ac_cv_lib_soname_tiff
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13487 if ${ac_cv_lib_soname_tiff:+false} :; then :
13488 ac_cv_lib_soname_tiff
=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13492 rm -f core conftest.err conftest.
$ac_objext \
13493 conftest
$ac_exeext conftest.
$ac_ext
13494 LIBS
=$ac_check_soname_save_LIBS
13496 if ${ac_cv_lib_soname_tiff:+false} :; then :
13497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13498 $as_echo "not found" >&6; }
13501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
13502 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
13504 cat >>confdefs.h
<<_ACEOF
13505 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
13511 CPPFLAGS
=$ac_save_CPPFLAGS
13512 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS
=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13513 test -z "$TIFF_LIBS" || TIFF_LIBS
=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13516 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
13517 case "x$with_tiff" in
13518 x
) as_fn_append wine_notices
"|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
13520 *) as_fn_error $?
"libtiff ${notice_platform}development files not found, TIFF won't be supported.
13521 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
13525 if test "x$with_mpg123" != "xno"
13527 if ${MPG123_CFLAGS:+false} :; then :
13528 if ${PKG_CONFIG+:} false
; then :
13529 MPG123_CFLAGS
=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
13533 if ${MPG123_LIBS:+false} :; then :
13534 if ${PKG_CONFIG+:} false
; then :
13535 MPG123_LIBS
=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
13539 MPG123_LIBS
=${MPG123_LIBS:-"-lmpg123"}
13540 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
13541 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
13542 ac_save_CPPFLAGS
=$CPPFLAGS
13543 CPPFLAGS
="$CPPFLAGS $MPG123_CFLAGS"
13544 for ac_header
in mpg123.h
13546 ac_fn_c_check_header_mongrel
"$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
13547 if test "x$ac_cv_header_mpg123_h" = xyes
; then :
13548 cat >>confdefs.h
<<_ACEOF
13549 #define HAVE_MPG123_H 1
13556 if test "$ac_cv_header_mpg123_h" = "yes"
13558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
13559 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
13560 if ${ac_cv_lib_mpg123_mpg123_feed+:} false
; then :
13561 $as_echo_n "(cached) " >&6
13563 ac_check_lib_save_LIBS
=$LIBS
13564 LIBS
="-lmpg123 $MPG123_LIBS $LIBS"
13565 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13566 /* end confdefs.h. */
13568 /* Override any GCC internal prototype to avoid an error.
13569 Use char because int might match the return type of a GCC
13570 builtin and then its argument prototype would still apply. */
13574 char mpg123_feed ();
13578 return mpg123_feed ();
13583 if ac_fn_c_try_link
"$LINENO"; then :
13584 ac_cv_lib_mpg123_mpg123_feed
=yes
13586 ac_cv_lib_mpg123_mpg123_feed
=no
13588 rm -f core conftest.err conftest.
$ac_objext \
13589 conftest
$ac_exeext conftest.
$ac_ext
13590 LIBS
=$ac_check_lib_save_LIBS
13592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
13593 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
13594 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes
; then :
13604 CPPFLAGS
=$ac_save_CPPFLAGS
13605 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS
=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13606 test -z "$MPG123_LIBS" || MPG123_LIBS
=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13609 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes
-a x
"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes
; then :
13610 case "x$with_mpg123" in
13611 x
) as_fn_append wine_notices
"|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
13613 *) as_fn_error $?
"libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
13614 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
13617 test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes
-o "x$ac_cv_header_AudioToolbox_AudioConverter_h" = xyes || enable_winemp3_acm
=${enable_winemp3_acm:-no}
13619 if test "$ac_cv_header_AL_al_h" = "yes"
13621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
13622 $as_echo_n "checking for -lopenal... " >&6; }
13623 if ${ac_cv_lib_soname_openal+:} false
; then :
13624 $as_echo_n "(cached) " >&6
13626 ac_check_soname_save_LIBS
=$LIBS
13627 LIBS
="-lopenal $LIBS"
13628 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13629 /* end confdefs.h. */
13631 /* Override any GCC internal prototype to avoid an error.
13632 Use char because int might match the return type of a GCC
13633 builtin and then its argument prototype would still apply. */
13637 char alGetSource3i ();
13641 return alGetSource3i ();
13646 if ac_fn_c_try_link
"$LINENO"; then :
13648 dll
) ac_cv_lib_soname_openal
=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13649 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'` ;;
13650 *) ac_cv_lib_soname_openal
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13651 if ${ac_cv_lib_soname_openal:+false} :; then :
13652 ac_cv_lib_soname_openal
=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13656 rm -f core conftest.err conftest.
$ac_objext \
13657 conftest
$ac_exeext conftest.
$ac_ext
13658 LIBS
=$ac_check_soname_save_LIBS
13660 if ${ac_cv_lib_soname_openal:+false} :; then :
13661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13662 $as_echo "not found" >&6; }
13665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
13666 $as_echo "$ac_cv_lib_soname_openal" >&6; }
13668 cat >>confdefs.h
<<_ACEOF
13669 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
13672 OPENAL_LIBS
="-lopenal"
13674 ac_cv_lib_openal
=yes
13676 cat >>confdefs.h
<<_ACEOF
13677 #define HAVE_OPENAL 1
13682 if test "x$ac_cv_lib_openal" != xyes
; then :
13683 case "x$with_openal" in
13684 x
) as_fn_append wine_notices
"|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported" ;;
13686 *) as_fn_error $?
"libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported
13687 This is an error since --with-openal was requested." "$LINENO" 5 ;;
13690 test "x$ac_cv_lib_openal" = xyes || enable_openal32
=${enable_openal32:-no}
13692 if test "x$ac_cv_lib_openal" = xyes
13694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for openal-soft" >&5
13695 $as_echo_n "checking for openal-soft... " >&6; }
13696 if ${ac_cv_have_openalsoft+:} false
; then :
13697 $as_echo_n "(cached) " >&6
13699 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13700 /* end confdefs.h. */
13702 #include <AL/alc.h>
13703 #include <AL/alext.h>
13704 LPALCRENDERSAMPLESSOFT x;
13713 if ac_fn_c_try_compile
"$LINENO"; then :
13714 ac_cv_have_openalsoft
=yes
13716 ac_cv_have_openalsoft
=no
13718 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_openalsoft" >&5
13721 $as_echo "$ac_cv_have_openalsoft" >&6; }
13723 if test "x$ac_cv_have_openalsoft" != xyes
13725 as_fn_append wine_notices
"|openal-soft ${notice_platform}development files not found (or too old), XAudio2 won't be supported"
13726 enable_xaudio2_7
=${enable_xaudio2_7:-no}
13729 if test "$ac_cv_header_kstat_h" = "yes"
13731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
13732 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
13733 if ${ac_cv_lib_kstat_kstat_open+:} false
; then :
13734 $as_echo_n "(cached) " >&6
13736 ac_check_lib_save_LIBS
=$LIBS
13737 LIBS
="-lkstat $LIBS"
13738 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13739 /* end confdefs.h. */
13741 /* Override any GCC internal prototype to avoid an error.
13742 Use char because int might match the return type of a GCC
13743 builtin and then its argument prototype would still apply. */
13747 char kstat_open ();
13751 return kstat_open ();
13756 if ac_fn_c_try_link
"$LINENO"; then :
13757 ac_cv_lib_kstat_kstat_open
=yes
13759 ac_cv_lib_kstat_kstat_open
=no
13761 rm -f core conftest.err conftest.
$ac_objext \
13762 conftest
$ac_exeext conftest.
$ac_ext
13763 LIBS
=$ac_check_lib_save_LIBS
13765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
13766 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
13767 if test "x$ac_cv_lib_kstat_kstat_open" = xyes
; then :
13769 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
13771 KSTAT_LIBS
="-lkstat"
13777 if test "$ac_cv_header_libprocstat_h" = "yes"
13779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
13780 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
13781 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false
; then :
13782 $as_echo_n "(cached) " >&6
13784 ac_check_lib_save_LIBS
=$LIBS
13785 LIBS
="-lprocstat $LIBS"
13786 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13787 /* end confdefs.h. */
13789 /* Override any GCC internal prototype to avoid an error.
13790 Use char because int might match the return type of a GCC
13791 builtin and then its argument prototype would still apply. */
13795 char procstat_open_sysctl ();
13799 return procstat_open_sysctl ();
13804 if ac_fn_c_try_link
"$LINENO"; then :
13805 ac_cv_lib_procstat_procstat_open_sysctl
=yes
13807 ac_cv_lib_procstat_procstat_open_sysctl
=no
13809 rm -f core conftest.err conftest.
$ac_objext \
13810 conftest
$ac_exeext conftest.
$ac_ext
13811 LIBS
=$ac_check_lib_save_LIBS
13813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
13814 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
13815 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes
; then :
13817 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
13819 PROCSTAT_LIBS
="-lprocstat"
13825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
13826 $as_echo_n "checking for -lodbc... " >&6; }
13827 if ${ac_cv_lib_soname_odbc+:} false
; then :
13828 $as_echo_n "(cached) " >&6
13830 ac_check_soname_save_LIBS
=$LIBS
13831 LIBS
="-lodbc $LIBS"
13832 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13833 /* end confdefs.h. */
13835 /* Override any GCC internal prototype to avoid an error.
13836 Use char because int might match the return type of a GCC
13837 builtin and then its argument prototype would still apply. */
13841 char SQLConnect ();
13845 return SQLConnect ();
13850 if ac_fn_c_try_link
"$LINENO"; then :
13852 dll
) ac_cv_lib_soname_odbc
=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13853 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'` ;;
13854 *) ac_cv_lib_soname_odbc
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13855 if ${ac_cv_lib_soname_odbc:+false} :; then :
13856 ac_cv_lib_soname_odbc
=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13860 rm -f core conftest.err conftest.
$ac_objext \
13861 conftest
$ac_exeext conftest.
$ac_ext
13862 LIBS
=$ac_check_soname_save_LIBS
13864 if ${ac_cv_lib_soname_odbc:+false} :; then :
13865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13866 $as_echo "not found" >&6; }
13867 cat >>confdefs.h
<<_ACEOF
13868 #define SONAME_LIBODBC "libodbc.$LIBEXT"
13872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
13873 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
13875 cat >>confdefs.h
<<_ACEOF
13876 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
13882 if test "x$with_netapi" != "xno"
13884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
13885 $as_echo_n "checking for -lnetapi... " >&6; }
13886 if ${ac_cv_lib_soname_netapi+:} false
; then :
13887 $as_echo_n "(cached) " >&6
13889 ac_check_soname_save_LIBS
=$LIBS
13890 LIBS
="-lnetapi $LIBS"
13891 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13892 /* end confdefs.h. */
13894 /* Override any GCC internal prototype to avoid an error.
13895 Use char because int might match the return type of a GCC
13896 builtin and then its argument prototype would still apply. */
13900 char libnetapi_init ();
13904 return libnetapi_init ();
13909 if ac_fn_c_try_link
"$LINENO"; then :
13911 dll
) ac_cv_lib_soname_netapi
=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13912 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'` ;;
13913 *) ac_cv_lib_soname_netapi
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13914 if ${ac_cv_lib_soname_netapi:+false} :; then :
13915 ac_cv_lib_soname_netapi
=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13919 rm -f core conftest.err conftest.
$ac_objext \
13920 conftest
$ac_exeext conftest.
$ac_ext
13921 LIBS
=$ac_check_soname_save_LIBS
13923 if ${ac_cv_lib_soname_netapi:+false} :; then :
13924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13925 $as_echo "not found" >&6; }
13926 cat >>confdefs.h
<<_ACEOF
13927 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
13931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
13932 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
13934 cat >>confdefs.h
<<_ACEOF
13935 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
13942 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv" = xnononono
-a \
13943 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
13945 as_fn_append wine_warnings
"|No sound system was found. Windows applications will be silent."
13951 if test "x${GCC}" = "xyes"
13953 EXTRACFLAGS
="-Wall -pipe"
13955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
13956 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
13957 if ${ac_cv_c_gcc_strength_bug+:} false
; then :
13958 $as_echo_n "(cached) " >&6
13960 if test "$cross_compiling" = yes; then :
13961 ac_cv_c_gcc_strength_bug
="no"
13963 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13964 /* end confdefs.h. */
13965 int L[4] = {0,1,2,3};
13969 static int Array[3];
13970 unsigned int B = 3;
13972 for(i=0; i<B; i++) Array[i] = i - 3;
13973 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
13975 return (Array[1] != -2 || L[2] != 3)
13980 if ac_fn_c_try_run
"$LINENO"; then :
13981 ac_cv_c_gcc_strength_bug
="no"
13983 ac_cv_c_gcc_strength_bug
="yes"
13985 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
13986 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
13990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
13991 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
13992 if test "$ac_cv_c_gcc_strength_bug" = "yes"
13994 EXTRACFLAGS
="$EXTRACFLAGS -fno-strength-reduce"
13997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
13998 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
13999 if ${ac_cv_cflags__fno_builtin+:} false
; then :
14000 $as_echo_n "(cached) " >&6
14002 ac_wine_try_cflags_saved
=$CFLAGS
14003 CFLAGS
="$CFLAGS -fno-builtin"
14004 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14005 /* end confdefs.h. */
14006 int main(int argc, char **argv) { return 0; }
14008 if ac_fn_c_try_link
"$LINENO"; then :
14009 ac_cv_cflags__fno_builtin
=yes
14011 ac_cv_cflags__fno_builtin
=no
14013 rm -f core conftest.err conftest.
$ac_objext \
14014 conftest
$ac_exeext conftest.
$ac_ext
14015 CFLAGS
=$ac_wine_try_cflags_saved
14017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
14018 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
14019 if test "x$ac_cv_cflags__fno_builtin" = xyes
; then :
14020 BUILTINFLAG
="-fno-builtin"
14023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
14024 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
14025 if ${ac_cv_cflags__fno_strict_aliasing+:} false
; then :
14026 $as_echo_n "(cached) " >&6
14028 ac_wine_try_cflags_saved
=$CFLAGS
14029 CFLAGS
="$CFLAGS -fno-strict-aliasing"
14030 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14031 /* end confdefs.h. */
14032 int main(int argc, char **argv) { return 0; }
14034 if ac_fn_c_try_link
"$LINENO"; then :
14035 ac_cv_cflags__fno_strict_aliasing
=yes
14037 ac_cv_cflags__fno_strict_aliasing
=no
14039 rm -f core conftest.err conftest.
$ac_objext \
14040 conftest
$ac_exeext conftest.
$ac_ext
14041 CFLAGS
=$ac_wine_try_cflags_saved
14043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
14044 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
14045 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes
; then :
14046 EXTRACFLAGS
="$EXTRACFLAGS -fno-strict-aliasing"
14048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
14049 $as_echo_n "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
14050 if ${ac_cv_cflags__fexcess_precision_standard+:} false
; then :
14051 $as_echo_n "(cached) " >&6
14053 ac_wine_try_cflags_saved
=$CFLAGS
14054 CFLAGS
="$CFLAGS -fexcess-precision=standard"
14055 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14056 /* end confdefs.h. */
14057 int main(int argc, char **argv) { return 0; }
14059 if ac_fn_c_try_link
"$LINENO"; then :
14060 ac_cv_cflags__fexcess_precision_standard
=yes
14062 ac_cv_cflags__fexcess_precision_standard
=no
14064 rm -f core conftest.err conftest.
$ac_objext \
14065 conftest
$ac_exeext conftest.
$ac_ext
14066 CFLAGS
=$ac_wine_try_cflags_saved
14068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
14069 $as_echo "$ac_cv_cflags__fexcess_precision_standard" >&6; }
14070 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes
; then :
14071 EXCESS_PRECISION_CFLAGS
="-fexcess-precision=standard"
14074 saved_CFLAGS
=$CFLAGS
14075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
14076 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
14077 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false
; then :
14078 $as_echo_n "(cached) " >&6
14080 ac_wine_try_cflags_saved
=$CFLAGS
14081 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
14082 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14083 /* end confdefs.h. */
14084 int main(int argc, char **argv) { return 0; }
14086 if ac_fn_c_try_link
"$LINENO"; then :
14087 ac_cv_cflags__Werror_unknown_warning_option
=yes
14089 ac_cv_cflags__Werror_unknown_warning_option
=no
14091 rm -f core conftest.err conftest.
$ac_objext \
14092 conftest
$ac_exeext conftest.
$ac_ext
14093 CFLAGS
=$ac_wine_try_cflags_saved
14095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
14096 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
14097 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes
; then :
14098 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
14100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
14101 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
14102 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false
; then :
14103 $as_echo_n "(cached) " >&6
14105 ac_wine_try_cflags_saved
=$CFLAGS
14106 CFLAGS
="$CFLAGS -Wdeclaration-after-statement"
14107 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14108 /* end confdefs.h. */
14109 int main(int argc, char **argv) { return 0; }
14111 if ac_fn_c_try_link
"$LINENO"; then :
14112 ac_cv_cflags__Wdeclaration_after_statement
=yes
14114 ac_cv_cflags__Wdeclaration_after_statement
=no
14116 rm -f core conftest.err conftest.
$ac_objext \
14117 conftest
$ac_exeext conftest.
$ac_ext
14118 CFLAGS
=$ac_wine_try_cflags_saved
14120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
14121 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
14122 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes
; then :
14123 EXTRACFLAGS
="$EXTRACFLAGS -Wdeclaration-after-statement"
14125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
14126 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
14127 if ${ac_cv_cflags__Wempty_body+:} false
; then :
14128 $as_echo_n "(cached) " >&6
14130 ac_wine_try_cflags_saved
=$CFLAGS
14131 CFLAGS
="$CFLAGS -Wempty-body"
14132 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14133 /* end confdefs.h. */
14134 int main(int argc, char **argv) { return 0; }
14136 if ac_fn_c_try_link
"$LINENO"; then :
14137 ac_cv_cflags__Wempty_body
=yes
14139 ac_cv_cflags__Wempty_body
=no
14141 rm -f core conftest.err conftest.
$ac_objext \
14142 conftest
$ac_exeext conftest.
$ac_ext
14143 CFLAGS
=$ac_wine_try_cflags_saved
14145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
14146 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
14147 if test "x$ac_cv_cflags__Wempty_body" = xyes
; then :
14148 EXTRACFLAGS
="$EXTRACFLAGS -Wempty-body"
14150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
14151 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
14152 if ${ac_cv_cflags__Wignored_qualifiers+:} false
; then :
14153 $as_echo_n "(cached) " >&6
14155 ac_wine_try_cflags_saved
=$CFLAGS
14156 CFLAGS
="$CFLAGS -Wignored-qualifiers"
14157 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14158 /* end confdefs.h. */
14159 int main(int argc, char **argv) { return 0; }
14161 if ac_fn_c_try_link
"$LINENO"; then :
14162 ac_cv_cflags__Wignored_qualifiers
=yes
14164 ac_cv_cflags__Wignored_qualifiers
=no
14166 rm -f core conftest.err conftest.
$ac_objext \
14167 conftest
$ac_exeext conftest.
$ac_ext
14168 CFLAGS
=$ac_wine_try_cflags_saved
14170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
14171 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
14172 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes
; then :
14173 EXTRACFLAGS
="$EXTRACFLAGS -Wignored-qualifiers"
14175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
14176 $as_echo_n "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
14177 if ${ac_cv_cflags__Wshift_overflow_2+:} false
; then :
14178 $as_echo_n "(cached) " >&6
14180 ac_wine_try_cflags_saved
=$CFLAGS
14181 CFLAGS
="$CFLAGS -Wshift-overflow=2"
14182 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14183 /* end confdefs.h. */
14184 int main(int argc, char **argv) { return 0; }
14186 if ac_fn_c_try_link
"$LINENO"; then :
14187 ac_cv_cflags__Wshift_overflow_2
=yes
14189 ac_cv_cflags__Wshift_overflow_2
=no
14191 rm -f core conftest.err conftest.
$ac_objext \
14192 conftest
$ac_exeext conftest.
$ac_ext
14193 CFLAGS
=$ac_wine_try_cflags_saved
14195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
14196 $as_echo "$ac_cv_cflags__Wshift_overflow_2" >&6; }
14197 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes
; then :
14198 EXTRACFLAGS
="$EXTRACFLAGS -Wshift-overflow=2"
14200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
14201 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
14202 if ${ac_cv_cflags__Wstrict_prototypes+:} false
; then :
14203 $as_echo_n "(cached) " >&6
14205 ac_wine_try_cflags_saved
=$CFLAGS
14206 CFLAGS
="$CFLAGS -Wstrict-prototypes"
14207 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14208 /* end confdefs.h. */
14209 int main(int argc, char **argv) { return 0; }
14211 if ac_fn_c_try_link
"$LINENO"; then :
14212 ac_cv_cflags__Wstrict_prototypes
=yes
14214 ac_cv_cflags__Wstrict_prototypes
=no
14216 rm -f core conftest.err conftest.
$ac_objext \
14217 conftest
$ac_exeext conftest.
$ac_ext
14218 CFLAGS
=$ac_wine_try_cflags_saved
14220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
14221 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
14222 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes
; then :
14223 EXTRACFLAGS
="$EXTRACFLAGS -Wstrict-prototypes"
14225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
14226 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
14227 if ${ac_cv_cflags__Wtype_limits+:} false
; then :
14228 $as_echo_n "(cached) " >&6
14230 ac_wine_try_cflags_saved
=$CFLAGS
14231 CFLAGS
="$CFLAGS -Wtype-limits"
14232 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14233 /* end confdefs.h. */
14234 int main(int argc, char **argv) { return 0; }
14236 if ac_fn_c_try_link
"$LINENO"; then :
14237 ac_cv_cflags__Wtype_limits
=yes
14239 ac_cv_cflags__Wtype_limits
=no
14241 rm -f core conftest.err conftest.
$ac_objext \
14242 conftest
$ac_exeext conftest.
$ac_ext
14243 CFLAGS
=$ac_wine_try_cflags_saved
14245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
14246 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
14247 if test "x$ac_cv_cflags__Wtype_limits" = xyes
; then :
14248 EXTRACFLAGS
="$EXTRACFLAGS -Wtype-limits"
14250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
14251 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
14252 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false
; then :
14253 $as_echo_n "(cached) " >&6
14255 ac_wine_try_cflags_saved
=$CFLAGS
14256 CFLAGS
="$CFLAGS -Wunused-but-set-parameter"
14257 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14258 /* end confdefs.h. */
14259 int main(int argc, char **argv) { return 0; }
14261 if ac_fn_c_try_link
"$LINENO"; then :
14262 ac_cv_cflags__Wunused_but_set_parameter
=yes
14264 ac_cv_cflags__Wunused_but_set_parameter
=no
14266 rm -f core conftest.err conftest.
$ac_objext \
14267 conftest
$ac_exeext conftest.
$ac_ext
14268 CFLAGS
=$ac_wine_try_cflags_saved
14270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
14271 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
14272 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes
; then :
14273 EXTRACFLAGS
="$EXTRACFLAGS -Wunused-but-set-parameter"
14275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
14276 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
14277 if ${ac_cv_cflags__Wvla+:} false
; then :
14278 $as_echo_n "(cached) " >&6
14280 ac_wine_try_cflags_saved
=$CFLAGS
14281 CFLAGS
="$CFLAGS -Wvla"
14282 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14283 /* end confdefs.h. */
14284 int main(int argc, char **argv) { return 0; }
14286 if ac_fn_c_try_link
"$LINENO"; then :
14287 ac_cv_cflags__Wvla
=yes
14289 ac_cv_cflags__Wvla
=no
14291 rm -f core conftest.err conftest.
$ac_objext \
14292 conftest
$ac_exeext conftest.
$ac_ext
14293 CFLAGS
=$ac_wine_try_cflags_saved
14295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
14296 $as_echo "$ac_cv_cflags__Wvla" >&6; }
14297 if test "x$ac_cv_cflags__Wvla" = xyes
; then :
14298 EXTRACFLAGS
="$EXTRACFLAGS -Wvla"
14300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
14301 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
14302 if ${ac_cv_cflags__Wwrite_strings+:} false
; then :
14303 $as_echo_n "(cached) " >&6
14305 ac_wine_try_cflags_saved
=$CFLAGS
14306 CFLAGS
="$CFLAGS -Wwrite-strings"
14307 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14308 /* end confdefs.h. */
14309 int main(int argc, char **argv) { return 0; }
14311 if ac_fn_c_try_link
"$LINENO"; then :
14312 ac_cv_cflags__Wwrite_strings
=yes
14314 ac_cv_cflags__Wwrite_strings
=no
14316 rm -f core conftest.err conftest.
$ac_objext \
14317 conftest
$ac_exeext conftest.
$ac_ext
14318 CFLAGS
=$ac_wine_try_cflags_saved
14320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
14321 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
14322 if test "x$ac_cv_cflags__Wwrite_strings" = xyes
; then :
14323 EXTRACFLAGS
="$EXTRACFLAGS -Wwrite-strings"
14326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
14327 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
14328 if ${ac_cv_cflags__Wpointer_arith+:} false
; then :
14329 $as_echo_n "(cached) " >&6
14331 ac_wine_try_cflags_saved
=$CFLAGS
14332 CFLAGS
="$CFLAGS -Wpointer-arith"
14333 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14334 /* end confdefs.h. */
14335 int main(int argc, char **argv) { return 0; }
14337 if ac_fn_c_try_link
"$LINENO"; then :
14338 ac_cv_cflags__Wpointer_arith
=yes
14340 ac_cv_cflags__Wpointer_arith
=no
14342 rm -f core conftest.err conftest.
$ac_objext \
14343 conftest
$ac_exeext conftest.
$ac_ext
14344 CFLAGS
=$ac_wine_try_cflags_saved
14346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
14347 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
14348 if test "x$ac_cv_cflags__Wpointer_arith" = xyes
; then :
14349 saved_string_h_CFLAGS
=$CFLAGS
14350 CFLAGS
="$CFLAGS -Wpointer-arith -Werror"
14351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
14352 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
14353 if ${ac_cv_c_string_h_warnings+:} false
; then :
14354 $as_echo_n "(cached) " >&6
14356 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14357 /* end confdefs.h. */
14358 #include <string.h>
14367 if ac_fn_c_try_compile
"$LINENO"; then :
14368 ac_cv_c_string_h_warnings
=no
14370 ac_cv_c_string_h_warnings
=yes
14372 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
14375 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
14376 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS
="$EXTRACFLAGS -Wpointer-arith"
14377 CFLAGS
=$saved_string_h_CFLAGS
14380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
14381 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
14382 if ${ac_cv_cflags__Wlogical_op+:} false
; then :
14383 $as_echo_n "(cached) " >&6
14385 ac_wine_try_cflags_saved
=$CFLAGS
14386 CFLAGS
="$CFLAGS -Wlogical-op"
14387 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14388 /* end confdefs.h. */
14389 int main(int argc, char **argv) { return 0; }
14391 if ac_fn_c_try_link
"$LINENO"; then :
14392 ac_cv_cflags__Wlogical_op
=yes
14394 ac_cv_cflags__Wlogical_op
=no
14396 rm -f core conftest.err conftest.
$ac_objext \
14397 conftest
$ac_exeext conftest.
$ac_ext
14398 CFLAGS
=$ac_wine_try_cflags_saved
14400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
14401 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
14402 if test "x$ac_cv_cflags__Wlogical_op" = xyes
; then :
14403 saved_string_h_CFLAGS
=$CFLAGS
14404 CFLAGS
="$CFLAGS -Wlogical-op -Werror"
14405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
14406 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
14407 if ${ac_cv_c_logicalop_noisy+:} false
; then :
14408 $as_echo_n "(cached) " >&6
14410 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14411 /* end confdefs.h. */
14412 #include <string.h>
14413 char*f(const char *h,char n) {return strchr(h,n);}
14422 if ac_fn_c_try_compile
"$LINENO"; then :
14423 ac_cv_c_logicalop_noisy
=no
14425 ac_cv_c_logicalop_noisy
=yes
14427 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
14430 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
14431 CFLAGS
=$saved_string_h_CFLAGS
14432 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS
="$EXTRACFLAGS -Wlogical-op"
14435 CFLAGS
=$saved_CFLAGS
14437 for ac_flag
in $CFLAGS; do
14439 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
14440 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
14441 if ${ac_cv_cflags__gdwarf_2+:} false
; then :
14442 $as_echo_n "(cached) " >&6
14444 ac_wine_try_cflags_saved
=$CFLAGS
14445 CFLAGS
="$CFLAGS -gdwarf-2"
14446 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14447 /* end confdefs.h. */
14448 int main(int argc, char **argv) { return 0; }
14450 if ac_fn_c_try_link
"$LINENO"; then :
14451 ac_cv_cflags__gdwarf_2
=yes
14453 ac_cv_cflags__gdwarf_2
=no
14455 rm -f core conftest.err conftest.
$ac_objext \
14456 conftest
$ac_exeext conftest.
$ac_ext
14457 CFLAGS
=$ac_wine_try_cflags_saved
14459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
14460 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
14461 if test "x$ac_cv_cflags__gdwarf_2" = xyes
; then :
14462 EXTRACFLAGS
="$EXTRACFLAGS -gdwarf-2"
14464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
14465 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
14466 if ${ac_cv_cflags__gstrict_dwarf+:} false
; then :
14467 $as_echo_n "(cached) " >&6
14469 ac_wine_try_cflags_saved
=$CFLAGS
14470 CFLAGS
="$CFLAGS -gstrict-dwarf"
14471 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14472 /* end confdefs.h. */
14473 int main(int argc, char **argv) { return 0; }
14475 if ac_fn_c_try_link
"$LINENO"; then :
14476 ac_cv_cflags__gstrict_dwarf
=yes
14478 ac_cv_cflags__gstrict_dwarf
=no
14480 rm -f core conftest.err conftest.
$ac_objext \
14481 conftest
$ac_exeext conftest.
$ac_ext
14482 CFLAGS
=$ac_wine_try_cflags_saved
14484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
14485 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
14486 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes
; then :
14487 EXTRACFLAGS
="$EXTRACFLAGS -gstrict-dwarf"
14493 *i
[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
14494 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
14495 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false
; then :
14496 $as_echo_n "(cached) " >&6
14498 ac_wine_try_cflags_saved
=$CFLAGS
14499 CFLAGS
="$CFLAGS -fno-omit-frame-pointer"
14500 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14501 /* end confdefs.h. */
14502 int main(int argc, char **argv) { return 0; }
14504 if ac_fn_c_try_link
"$LINENO"; then :
14505 ac_cv_cflags__fno_omit_frame_pointer
=yes
14507 ac_cv_cflags__fno_omit_frame_pointer
=no
14509 rm -f core conftest.err conftest.
$ac_objext \
14510 conftest
$ac_exeext conftest.
$ac_ext
14511 CFLAGS
=$ac_wine_try_cflags_saved
14513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
14514 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
14515 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes
; then :
14516 EXTRACFLAGS
="$EXTRACFLAGS -fno-omit-frame-pointer"
14521 x86_64-
*mingw32
*|x86_64-
*cygwin
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
14522 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
14523 if ${ac_cv_cflags__Wno_format+:} false
; then :
14524 $as_echo_n "(cached) " >&6
14526 ac_wine_try_cflags_saved
=$CFLAGS
14527 CFLAGS
="$CFLAGS -Wno-format"
14528 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14529 /* end confdefs.h. */
14530 int main(int argc, char **argv) { return 0; }
14532 if ac_fn_c_try_link
"$LINENO"; then :
14533 ac_cv_cflags__Wno_format
=yes
14535 ac_cv_cflags__Wno_format
=no
14537 rm -f core conftest.err conftest.
$ac_objext \
14538 conftest
$ac_exeext conftest.
$ac_ext
14539 CFLAGS
=$ac_wine_try_cflags_saved
14541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
14542 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
14543 if test "x$ac_cv_cflags__Wno_format" = xyes
; then :
14544 EXTRACFLAGS
="$EXTRACFLAGS -Wno-format"
14548 if test "x$enable_maintainer_mode" = "xyes"
14550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
14551 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
14552 if ${ac_cv_cflags__Werror+:} false
; then :
14553 $as_echo_n "(cached) " >&6
14555 ac_wine_try_cflags_saved
=$CFLAGS
14556 CFLAGS
="$CFLAGS -Werror"
14557 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14558 /* end confdefs.h. */
14559 int main(int argc, char **argv) { return 0; }
14561 if ac_fn_c_try_link
"$LINENO"; then :
14562 ac_cv_cflags__Werror
=yes
14564 ac_cv_cflags__Werror
=no
14566 rm -f core conftest.err conftest.
$ac_objext \
14567 conftest
$ac_exeext conftest.
$ac_ext
14568 CFLAGS
=$ac_wine_try_cflags_saved
14570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
14571 $as_echo "$ac_cv_cflags__Werror" >&6; }
14572 if test "x$ac_cv_cflags__Werror" = xyes
; then :
14573 EXTRACFLAGS
="$EXTRACFLAGS -Werror"
14577 saved_CFLAGS
="$CFLAGS"
14578 CFLAGS
="$CFLAGS -Werror"
14579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
14580 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
14581 if ${ac_cv_have_ms_hook_prologue+:} false
; then :
14582 $as_echo_n "(cached) " >&6
14584 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14585 /* end confdefs.h. */
14586 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
14595 if ac_fn_c_try_compile
"$LINENO"; then :
14596 ac_cv_have_ms_hook_prologue
="yes"
14598 ac_cv_have_ms_hook_prologue
="no"
14600 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
14603 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
14604 CFLAGS
="$saved_CFLAGS"
14605 if test "$ac_cv_have_ms_hook_prologue" = "yes"
14608 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
14611 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
14617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
14618 $as_echo_n "checking for the need to disable Fortify... " >&6; }
14619 if ${ac_cv_c_fortify_enabled+:} false
; then :
14620 $as_echo_n "(cached) " >&6
14622 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14623 /* end confdefs.h. */
14624 #include <string.h>
14628 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
14629 #error Fortify enabled
14635 if ac_fn_c_try_compile
"$LINENO"; then :
14636 ac_cv_c_fortify_enabled
=no
14638 ac_cv_c_fortify_enabled
=yes
14640 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
14643 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
14644 if test "$ac_cv_c_fortify_enabled" = yes
14646 CFLAGS
="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
14650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
14651 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
14652 if ${ac_cv_c_extern_prefix+:} false
; then :
14653 $as_echo_n "(cached) " >&6
14655 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14656 /* end confdefs.h. */
14657 extern int ac_test;
14661 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
14666 if ac_fn_c_try_link
"$LINENO"; then :
14667 ac_cv_c_extern_prefix
="yes"
14669 ac_cv_c_extern_prefix
="no"
14671 rm -f core conftest.err conftest.
$ac_objext \
14672 conftest
$ac_exeext conftest.
$ac_ext
14674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
14675 $as_echo "$ac_cv_c_extern_prefix" >&6; }
14679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
14680 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
14681 if ${ac_cv_c_stdcall_suffix+:} false
; then :
14682 $as_echo_n "(cached) " >&6
14684 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14685 /* end confdefs.h. */
14687 #define __stdcall __attribute__((__stdcall__))
14689 int __stdcall ac_test(int i) { return i; }
14693 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
14698 if ac_fn_c_try_link
"$LINENO"; then :
14699 ac_cv_c_stdcall_suffix
="yes"
14701 ac_cv_c_stdcall_suffix
="no"
14703 rm -f core conftest.err conftest.
$ac_objext \
14704 conftest
$ac_exeext conftest.
$ac_ext
14706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
14707 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
14708 *) ac_cv_c_stdcall_suffix
="no" ;;
14712 if test "$ac_cv_c_extern_prefix" = "yes"
14714 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
14716 asm_name_prefix
="_"
14718 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
14724 if test "$ac_cv_c_stdcall_suffix" = "yes"
14726 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
14729 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
14734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
14735 $as_echo_n "checking how to define a function in assembly code... " >&6; }
14736 if ${ac_cv_asm_func_def+:} false
; then :
14737 $as_echo_n "(cached) " >&6
14739 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14740 /* end confdefs.h. */
14745 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
14750 if ac_fn_c_try_link
"$LINENO"; then :
14751 ac_cv_asm_func_def
=".def"
14753 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14754 /* end confdefs.h. */
14759 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
14764 if ac_fn_c_try_link
"$LINENO"; then :
14765 ac_cv_asm_func_def
=".type @function"
14767 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14768 /* end confdefs.h. */
14773 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
14778 if ac_fn_c_try_link
"$LINENO"; then :
14779 ac_cv_asm_func_def
=".type 2"
14781 ac_cv_asm_func_def
="unknown"
14783 rm -f core conftest.err conftest.
$ac_objext \
14784 conftest
$ac_exeext conftest.
$ac_ext
14786 rm -f core conftest.err conftest.
$ac_objext \
14787 conftest
$ac_exeext conftest.
$ac_ext
14789 rm -f core conftest.err conftest.
$ac_objext \
14790 conftest
$ac_exeext conftest.
$ac_ext
14792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
14793 $as_echo "$ac_cv_asm_func_def" >&6; }
14796 case "$ac_cv_asm_func_def" in
14798 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
14800 asm_func_header
=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
14802 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
14804 asm_func_header
=".type $asm_name_prefix\" #name suffix \",@function" ;;
14806 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
14808 asm_func_header
=".type $asm_name_prefix\" #name suffix \",2" ;;
14810 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
14812 asm_func_header
="" ;;
14815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
14816 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
14817 if ${ac_cv_c_asm_outside_funcs+:} false
; then :
14818 $as_echo_n "(cached) " >&6
14820 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14821 /* end confdefs.h. */
14822 asm(".text\n\t.long 0");
14831 if ac_fn_c_try_compile
"$LINENO"; then :
14832 ac_cv_c_asm_outside_funcs
="yes"
14834 ac_cv_c_asm_outside_funcs
="no"
14836 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
14839 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
14841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
14842 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
14843 if ${ac_cv_c_dot_previous+:} false
; then :
14844 $as_echo_n "(cached) " >&6
14846 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14847 /* end confdefs.h. */
14852 asm(".text\nac_test:\t.long 0\n\t.previous");
14857 if ac_fn_c_try_link
"$LINENO"; then :
14858 ac_cv_c_dot_previous
="yes"
14860 ac_cv_c_dot_previous
="no"
14862 rm -f core conftest.err conftest.
$ac_objext \
14863 conftest
$ac_exeext conftest.
$ac_ext
14865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
14866 $as_echo "$ac_cv_c_dot_previous" >&6; }
14868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
14869 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
14870 if ${ac_cv_c_cfi_support+:} false
; then :
14871 $as_echo_n "(cached) " >&6
14873 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14874 /* end confdefs.h. */
14875 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
14884 if ac_fn_c_try_compile
"$LINENO"; then :
14885 ac_cv_c_cfi_support
="yes"
14887 ac_cv_c_cfi_support
="no"
14889 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
14892 $as_echo "$ac_cv_c_cfi_support" >&6; }
14894 asm_func_header
=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
14895 asm_func_trailer
=""
14896 if test "$ac_cv_c_dot_previous" = "yes"
14898 asm_func_trailer
="\\n\\t.previous"
14900 if test "$ac_cv_c_cfi_support" = "yes"
14902 asm_func_header
="$asm_func_header.cfi_startproc\\n\\t"
14903 asm_func_trailer
="\\n\\t.cfi_endproc$asm_func_trailer"
14905 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
14907 UNWINDFLAGS
=-fasynchronous-unwind-tables
14910 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
14912 if test "x$enable_win64" = "xyes"
14914 as_fn_append wine_warnings
"|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
14918 asm_func_code
="$asm_func_header\" code \"$asm_func_trailer"
14921 if test "$ac_cv_c_asm_outside_funcs" = "yes"
14923 cat >>confdefs.h
<<_ACEOF
14924 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
14928 cat >>confdefs.h
<<_ACEOF
14929 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
14934 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
14937 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
14942 cygwin
*|mingw32
*) TOOLSEXT
=".exe"
14950 *i
[3456789]86*|x86_64
*)
14951 test "$wine_binary" = wine || wine_fn_ignore_file
"loader/wine-preloader"
14952 WINELOADER_PROGRAMS
="$WINELOADER_PROGRAMS $wine_binary-preloader"
14959 ac_save_CFLAGS
="$CFLAGS"
14960 CFLAGS
="$CFLAGS $BUILTINFLAG"
15039 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15040 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
15041 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
15042 cat >>confdefs.h
<<_ACEOF
15043 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15049 CFLAGS
="$ac_save_CFLAGS"
15051 if test "$ac_cv_func_dlopen" = no
15053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
15054 $as_echo_n "checking for dlopen in -ldl... " >&6; }
15055 if ${ac_cv_lib_dl_dlopen+:} false
; then :
15056 $as_echo_n "(cached) " >&6
15058 ac_check_lib_save_LIBS
=$LIBS
15060 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15061 /* end confdefs.h. */
15063 /* Override any GCC internal prototype to avoid an error.
15064 Use char because int might match the return type of a GCC
15065 builtin and then its argument prototype would still apply. */
15078 if ac_fn_c_try_link
"$LINENO"; then :
15079 ac_cv_lib_dl_dlopen
=yes
15081 ac_cv_lib_dl_dlopen
=no
15083 rm -f core conftest.err conftest.
$ac_objext \
15084 conftest
$ac_exeext conftest.
$ac_ext
15085 LIBS
=$ac_check_lib_save_LIBS
15087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
15088 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
15089 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
15090 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
15096 ac_wine_check_funcs_save_LIBS
="$LIBS"
15097 LIBS
="$LIBS $DL_LIBS"
15098 for ac_func
in dladdr
15100 ac_fn_c_check_func
"$LINENO" "dladdr" "ac_cv_func_dladdr"
15101 if test "x$ac_cv_func_dladdr" = xyes
; then :
15102 cat >>confdefs.h
<<_ACEOF
15103 #define HAVE_DLADDR 1
15109 LIBS
="$ac_wine_check_funcs_save_LIBS"
15111 if test "$ac_cv_func_poll" = no
15113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
15114 $as_echo_n "checking for poll in -lpoll... " >&6; }
15115 if ${ac_cv_lib_poll_poll+:} false
; then :
15116 $as_echo_n "(cached) " >&6
15118 ac_check_lib_save_LIBS
=$LIBS
15119 LIBS
="-lpoll $LIBS"
15120 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15121 /* end confdefs.h. */
15123 /* Override any GCC internal prototype to avoid an error.
15124 Use char because int might match the return type of a GCC
15125 builtin and then its argument prototype would still apply. */
15138 if ac_fn_c_try_link
"$LINENO"; then :
15139 ac_cv_lib_poll_poll
=yes
15141 ac_cv_lib_poll_poll
=no
15143 rm -f core conftest.err conftest.
$ac_objext \
15144 conftest
$ac_exeext conftest.
$ac_ext
15145 LIBS
=$ac_check_lib_save_LIBS
15147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
15148 $as_echo "$ac_cv_lib_poll_poll" >&6; }
15149 if test "x$ac_cv_lib_poll_poll" = xyes
; then :
15150 $as_echo "#define HAVE_POLL 1" >>confdefs.h
15157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
15158 $as_echo_n "checking for library containing gethostbyname... " >&6; }
15159 if ${ac_cv_search_gethostbyname+:} false
; then :
15160 $as_echo_n "(cached) " >&6
15162 ac_func_search_save_LIBS
=$LIBS
15163 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15164 /* end confdefs.h. */
15166 /* Override any GCC internal prototype to avoid an error.
15167 Use char because int might match the return type of a GCC
15168 builtin and then its argument prototype would still apply. */
15172 char gethostbyname ();
15176 return gethostbyname ();
15181 for ac_lib
in '' nsl
; do
15182 if test -z "$ac_lib"; then
15183 ac_res
="none required"
15186 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
15188 if ac_fn_c_try_link
"$LINENO"; then :
15189 ac_cv_search_gethostbyname
=$ac_res
15191 rm -f core conftest.err conftest.
$ac_objext \
15193 if ${ac_cv_search_gethostbyname+:} false
; then :
15197 if ${ac_cv_search_gethostbyname+:} false
; then :
15200 ac_cv_search_gethostbyname
=no
15202 rm conftest.
$ac_ext
15203 LIBS
=$ac_func_search_save_LIBS
15205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
15206 $as_echo "$ac_cv_search_gethostbyname" >&6; }
15207 ac_res
=$ac_cv_search_gethostbyname
15208 if test "$ac_res" != no
; then :
15209 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
15214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
15215 $as_echo_n "checking for library containing connect... " >&6; }
15216 if ${ac_cv_search_connect+:} false
; then :
15217 $as_echo_n "(cached) " >&6
15219 ac_func_search_save_LIBS
=$LIBS
15220 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15221 /* end confdefs.h. */
15223 /* Override any GCC internal prototype to avoid an error.
15224 Use char because int might match the return type of a GCC
15225 builtin and then its argument prototype would still apply. */
15238 for ac_lib
in '' socket
; do
15239 if test -z "$ac_lib"; then
15240 ac_res
="none required"
15243 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
15245 if ac_fn_c_try_link
"$LINENO"; then :
15246 ac_cv_search_connect
=$ac_res
15248 rm -f core conftest.err conftest.
$ac_objext \
15250 if ${ac_cv_search_connect+:} false
; then :
15254 if ${ac_cv_search_connect+:} false
; then :
15257 ac_cv_search_connect
=no
15259 rm conftest.
$ac_ext
15260 LIBS
=$ac_func_search_save_LIBS
15262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
15263 $as_echo "$ac_cv_search_connect" >&6; }
15264 ac_res
=$ac_cv_search_connect
15265 if test "$ac_res" != no
; then :
15266 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
15271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
15272 $as_echo_n "checking for library containing inet_aton... " >&6; }
15273 if ${ac_cv_search_inet_aton+:} false
; then :
15274 $as_echo_n "(cached) " >&6
15276 ac_func_search_save_LIBS
=$LIBS
15277 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15278 /* end confdefs.h. */
15280 /* Override any GCC internal prototype to avoid an error.
15281 Use char because int might match the return type of a GCC
15282 builtin and then its argument prototype would still apply. */
15290 return inet_aton ();
15295 for ac_lib
in '' resolv
; do
15296 if test -z "$ac_lib"; then
15297 ac_res
="none required"
15300 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
15302 if ac_fn_c_try_link
"$LINENO"; then :
15303 ac_cv_search_inet_aton
=$ac_res
15305 rm -f core conftest.err conftest.
$ac_objext \
15307 if ${ac_cv_search_inet_aton+:} false
; then :
15311 if ${ac_cv_search_inet_aton+:} false
; then :
15314 ac_cv_search_inet_aton
=no
15316 rm conftest.
$ac_ext
15317 LIBS
=$ac_func_search_save_LIBS
15319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
15320 $as_echo "$ac_cv_search_inet_aton" >&6; }
15321 ac_res
=$ac_cv_search_inet_aton
15322 if test "$ac_res" != no
; then :
15323 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
15343 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15344 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
15345 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
15346 cat >>confdefs.h
<<_ACEOF
15347 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
15356 $as_echo_n "checking for library containing clock_gettime... " >&6; }
15357 if ${ac_cv_search_clock_gettime+:} false
; then :
15358 $as_echo_n "(cached) " >&6
15360 ac_func_search_save_LIBS
=$LIBS
15361 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15362 /* end confdefs.h. */
15364 /* Override any GCC internal prototype to avoid an error.
15365 Use char because int might match the return type of a GCC
15366 builtin and then its argument prototype would still apply. */
15370 char clock_gettime ();
15374 return clock_gettime ();
15379 for ac_lib
in '' rt
; do
15380 if test -z "$ac_lib"; then
15381 ac_res
="none required"
15384 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
15386 if ac_fn_c_try_link
"$LINENO"; then :
15387 ac_cv_search_clock_gettime
=$ac_res
15389 rm -f core conftest.err conftest.
$ac_objext \
15391 if ${ac_cv_search_clock_gettime+:} false
; then :
15395 if ${ac_cv_search_clock_gettime+:} false
; then :
15398 ac_cv_search_clock_gettime
=no
15400 rm conftest.
$ac_ext
15401 LIBS
=$ac_func_search_save_LIBS
15403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
15404 $as_echo "$ac_cv_search_clock_gettime" >&6; }
15405 ac_res
=$ac_cv_search_clock_gettime
15406 if test "$ac_res" != no
; then :
15407 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
15409 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
15411 test "$ac_res" = "none required" || RT_LIBS
="$ac_res"
15419 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
15421 ac_fn_c_check_type
"$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
15423 if test "x$ac_cv_type_LDAPSortKey" = xyes
; then :
15424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
15425 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
15426 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false
; then :
15427 $as_echo_n "(cached) " >&6
15429 ac_check_lib_save_LIBS
=$LIBS
15430 LIBS
="-lldap_r $PTHREAD_LIBS $LIBS"
15431 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15432 /* end confdefs.h. */
15434 /* Override any GCC internal prototype to avoid an error.
15435 Use char because int might match the return type of a GCC
15436 builtin and then its argument prototype would still apply. */
15440 char ldap_initialize ();
15444 return ldap_initialize ();
15449 if ac_fn_c_try_link
"$LINENO"; then :
15450 ac_cv_lib_ldap_r_ldap_initialize
=yes
15452 ac_cv_lib_ldap_r_ldap_initialize
=no
15454 rm -f core conftest.err conftest.
$ac_objext \
15455 conftest
$ac_exeext conftest.
$ac_ext
15456 LIBS
=$ac_check_lib_save_LIBS
15458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
15459 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
15460 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes
; then :
15461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
15462 $as_echo_n "checking for ber_init in -llber... " >&6; }
15463 if ${ac_cv_lib_lber_ber_init+:} false
; then :
15464 $as_echo_n "(cached) " >&6
15466 ac_check_lib_save_LIBS
=$LIBS
15467 LIBS
="-llber $PTHREAD_LIBS $LIBS"
15468 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15469 /* end confdefs.h. */
15471 /* Override any GCC internal prototype to avoid an error.
15472 Use char because int might match the return type of a GCC
15473 builtin and then its argument prototype would still apply. */
15481 return ber_init ();
15486 if ac_fn_c_try_link
"$LINENO"; then :
15487 ac_cv_lib_lber_ber_init
=yes
15489 ac_cv_lib_lber_ber_init
=no
15491 rm -f core conftest.err conftest.
$ac_objext \
15492 conftest
$ac_exeext conftest.
$ac_ext
15493 LIBS
=$ac_check_lib_save_LIBS
15495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
15496 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
15497 if test "x$ac_cv_lib_lber_ber_init" = xyes
; then :
15499 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
15501 LDAP_LIBS
="-lldap_r -llber"
15508 ac_wine_check_funcs_save_LIBS
="$LIBS"
15509 LIBS
="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
15511 ldap_count_references \
15512 ldap_first_reference \
15513 ldap_next_reference \
15514 ldap_parse_reference \
15515 ldap_parse_sort_control \
15516 ldap_parse_sortresponse_control \
15517 ldap_parse_vlv_control \
15518 ldap_parse_vlvresponse_control
15520 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15521 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
15522 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
15523 cat >>confdefs.h
<<_ACEOF
15524 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15530 LIBS
="$ac_wine_check_funcs_save_LIBS"
15532 if test "x$LDAP_LIBS" = "x"; then :
15533 case "x$with_ldap" in
15534 x
) as_fn_append wine_notices
"|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
15536 *) as_fn_error $?
"libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
15537 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
15541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
15542 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
15543 if ${wine_cv_one_arg_mkdir+:} false
; then :
15544 $as_echo_n "(cached) " >&6
15546 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15547 /* end confdefs.h. */
15548 #include <sys/stat.h>
15557 if ac_fn_c_try_compile
"$LINENO"; then :
15558 wine_cv_one_arg_mkdir
=yes
15560 wine_cv_one_arg_mkdir
=no
15562 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
15565 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
15566 if test "$wine_cv_one_arg_mkdir" = "yes"
15569 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
15573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
15574 $as_echo_n "checking for sched_setaffinity... " >&6; }
15575 if ${wine_cv_have_sched_setaffinity+:} false
; then :
15576 $as_echo_n "(cached) " >&6
15578 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15579 /* end confdefs.h. */
15580 #define _GNU_SOURCE
15585 sched_setaffinity(0, 0, 0);
15590 if ac_fn_c_try_link
"$LINENO"; then :
15591 wine_cv_have_sched_setaffinity
=yes
15593 wine_cv_have_sched_setaffinity
=no
15595 rm -f core conftest.err conftest.
$ac_objext \
15596 conftest
$ac_exeext conftest.
$ac_ext
15598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
15599 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
15600 if test "$wine_cv_have_sched_setaffinity" = "yes"
15603 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
15607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
15608 $as_echo_n "checking for fallocate... " >&6; }
15609 if ${wine_cv_have_fallocate+:} false
; then :
15610 $as_echo_n "(cached) " >&6
15612 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15613 /* end confdefs.h. */
15614 #define _GNU_SOURCE
15619 fallocate(-1, 0, 0, 0);
15624 if ac_fn_c_try_link
"$LINENO"; then :
15625 wine_cv_have_fallocate
=yes
15627 wine_cv_have_fallocate
=no
15629 rm -f core conftest.err conftest.
$ac_objext \
15630 conftest
$ac_exeext conftest.
$ac_ext
15632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
15633 $as_echo "$wine_cv_have_fallocate" >&6; }
15634 if test "$wine_cv_have_fallocate" = "yes"
15637 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
15642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
15643 $as_echo_n "checking for inline... " >&6; }
15644 if ${ac_cv_c_inline+:} false
; then :
15645 $as_echo_n "(cached) " >&6
15648 for ac_kw
in inline __inline__ __inline
; do
15649 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15650 /* end confdefs.h. */
15651 #ifndef __cplusplus
15653 static $ac_kw foo_t static_foo () {return 0; }
15654 $ac_kw foo_t foo () {return 0; }
15658 if ac_fn_c_try_compile
"$LINENO"; then :
15659 ac_cv_c_inline
=$ac_kw
15661 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15662 test "$ac_cv_c_inline" != no
&& break
15666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
15667 $as_echo "$ac_cv_c_inline" >&6; }
15669 case $ac_cv_c_inline in
15672 case $ac_cv_c_inline in
15674 *) ac_val
=$ac_cv_c_inline;;
15676 cat >>confdefs.h
<<_ACEOF
15677 #ifndef __cplusplus
15678 #define inline $ac_val
15684 ac_fn_c_check_type
"$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
15685 if test "x$ac_cv_type_mode_t" = xyes
; then :
15687 cat >>confdefs.h
<<_ACEOF
15688 #define HAVE_MODE_T 1
15693 ac_fn_c_check_type
"$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
15694 if test "x$ac_cv_type_off_t" = xyes
; then :
15696 cat >>confdefs.h
<<_ACEOF
15697 #define HAVE_OFF_T 1
15702 ac_fn_c_check_type
"$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
15703 if test "x$ac_cv_type_pid_t" = xyes
; then :
15705 cat >>confdefs.h
<<_ACEOF
15706 #define HAVE_PID_T 1
15711 ac_fn_c_check_type
"$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
15712 if test "x$ac_cv_type_size_t" = xyes
; then :
15714 cat >>confdefs.h
<<_ACEOF
15715 #define HAVE_SIZE_T 1
15720 ac_fn_c_check_type
"$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
15721 if test "x$ac_cv_type_ssize_t" = xyes
; then :
15723 cat >>confdefs.h
<<_ACEOF
15724 #define HAVE_SSIZE_T 1
15729 ac_fn_c_check_type
"$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
15730 if test "x$ac_cv_type_long_long" = xyes
; then :
15732 cat >>confdefs.h
<<_ACEOF
15733 #define HAVE_LONG_LONG 1
15738 ac_fn_c_check_type
"$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
15739 if test "x$ac_cv_type_fsblkcnt_t" = xyes
; then :
15741 cat >>confdefs.h
<<_ACEOF
15742 #define HAVE_FSBLKCNT_T 1
15747 ac_fn_c_check_type
"$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
15748 if test "x$ac_cv_type_fsfilcnt_t" = xyes
; then :
15750 cat >>confdefs.h
<<_ACEOF
15751 #define HAVE_FSFILCNT_T 1
15757 ac_fn_c_check_type
"$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
15758 #include <signal.h>
15760 if test "x$ac_cv_type_sigset_t" = xyes
; then :
15762 cat >>confdefs.h
<<_ACEOF
15763 #define HAVE_SIGSET_T 1
15769 ac_fn_c_check_type
"$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
15771 if test "x$ac_cv_type_request_sense" = xyes
; then :
15773 cat >>confdefs.h
<<_ACEOF
15774 #define HAVE_REQUEST_SENSE 1
15781 ac_fn_c_check_type
"$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
15782 #ifdef HAVE_SYS_SOCKET_H
15783 #include <sys/socket.h>
15785 #ifdef HAVE_SYS_SOCKETVAR_H
15786 #include <sys/socketvar.h>
15788 #ifdef HAVE_NET_ROUTE_H
15789 #include <net/route.h>
15791 #ifdef HAVE_NETINET_IN_H
15792 #include <netinet/in.h>
15794 #ifdef HAVE_NETINET_IN_SYSTM_H
15795 #include <netinet/in_systm.h>
15797 #ifdef HAVE_NETINET_IP_H
15798 #include <netinet/ip.h>
15800 #ifdef HAVE_NETINET_IN_PCB_H
15801 #include <netinet/in_pcb.h>
15804 if test "x$ac_cv_type_struct_xinpgen" = xyes
; then :
15806 cat >>confdefs.h
<<_ACEOF
15807 #define HAVE_STRUCT_XINPGEN 1
15814 ac_fn_c_check_type
"$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
15817 #ifdef HAVE_SYS_LINK_H
15818 #include <sys/link.h>
15821 if test "x$ac_cv_type_struct_r_debug" = xyes
; then :
15823 cat >>confdefs.h
<<_ACEOF
15824 #define HAVE_STRUCT_R_DEBUG 1
15829 ac_fn_c_check_type
"$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
15832 #ifdef HAVE_SYS_LINK_H
15833 #include <sys/link.h>
15836 if test "x$ac_cv_type_struct_link_map" = xyes
; then :
15838 cat >>confdefs.h
<<_ACEOF
15839 #define HAVE_STRUCT_LINK_MAP 1
15846 ac_fn_c_check_member
"$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
15847 #include <linux/input.h>
15850 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes
; then :
15852 cat >>confdefs.h
<<_ACEOF
15853 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
15860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
15861 $as_echo_n "checking for sigaddset... " >&6; }
15862 if ${wine_cv_have_sigaddset+:} false
; then :
15863 $as_echo_n "(cached) " >&6
15865 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15866 /* end confdefs.h. */
15867 #include <signal.h>
15871 sigset_t set; sigaddset(&set,SIGTERM);
15876 if ac_fn_c_try_link
"$LINENO"; then :
15877 wine_cv_have_sigaddset
=yes
15879 wine_cv_have_sigaddset
=no
15881 rm -f core conftest.err conftest.
$ac_objext \
15882 conftest
$ac_exeext conftest.
$ac_ext
15884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
15885 $as_echo "$wine_cv_have_sigaddset" >&6; }
15886 if test "$wine_cv_have_sigaddset" = "yes"
15889 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
15894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
15895 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
15896 if ${wine_cv_linux_gethostbyname_r_6+:} false
; then :
15897 $as_echo_n "(cached) " >&6
15899 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15900 /* end confdefs.h. */
15908 struct hostent *result;
15915 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
15916 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
15922 if ac_fn_c_try_link
"$LINENO"; then :
15923 wine_cv_linux_gethostbyname_r_6
=yes
15925 wine_cv_linux_gethostbyname_r_6
=no
15928 rm -f core conftest.err conftest.
$ac_objext \
15929 conftest
$ac_exeext conftest.
$ac_ext
15932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
15933 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
15934 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
15937 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
15941 if test "$ac_cv_header_linux_joystick_h" = "yes"
15943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
15944 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
15945 if ${wine_cv_linux_joystick_22_api+:} false
; then :
15946 $as_echo_n "(cached) " >&6
15948 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15949 /* end confdefs.h. */
15951 #include <sys/ioctl.h>
15952 #include <sys/types.h>
15953 #include <linux/joystick.h>
15955 struct js_event blub;
15956 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
15957 #error "no 2.2 header"
15968 if ac_fn_c_try_compile
"$LINENO"; then :
15969 wine_cv_linux_joystick_22_api
=yes
15971 wine_cv_linux_joystick_22_api
=no
15973 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
15977 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
15978 if test "$wine_cv_linux_joystick_22_api" = "yes"
15981 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
15987 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
15988 #ifdef HAVE_SYS_PARAM_H
15989 # include <sys/param.h>
15991 #ifdef HAVE_SYS_MOUNT_H
15992 # include <sys/mount.h>
15994 #ifdef HAVE_SYS_VFS_H
15995 # include <sys/vfs.h>
15997 #ifdef HAVE_SYS_STATFS_H
15998 # include <sys/statfs.h>
16001 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes
; then :
16003 cat >>confdefs.h
<<_ACEOF
16004 #define HAVE_STRUCT_STATFS_F_BFREE 1
16009 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
16010 #ifdef HAVE_SYS_PARAM_H
16011 # include <sys/param.h>
16013 #ifdef HAVE_SYS_MOUNT_H
16014 # include <sys/mount.h>
16016 #ifdef HAVE_SYS_VFS_H
16017 # include <sys/vfs.h>
16019 #ifdef HAVE_SYS_STATFS_H
16020 # include <sys/statfs.h>
16023 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes
; then :
16025 cat >>confdefs.h
<<_ACEOF
16026 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
16031 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
16032 #ifdef HAVE_SYS_PARAM_H
16033 # include <sys/param.h>
16035 #ifdef HAVE_SYS_MOUNT_H
16036 # include <sys/mount.h>
16038 #ifdef HAVE_SYS_VFS_H
16039 # include <sys/vfs.h>
16041 #ifdef HAVE_SYS_STATFS_H
16042 # include <sys/statfs.h>
16045 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes
; then :
16047 cat >>confdefs.h
<<_ACEOF
16048 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
16053 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
16054 #ifdef HAVE_SYS_PARAM_H
16055 # include <sys/param.h>
16057 #ifdef HAVE_SYS_MOUNT_H
16058 # include <sys/mount.h>
16060 #ifdef HAVE_SYS_VFS_H
16061 # include <sys/vfs.h>
16063 #ifdef HAVE_SYS_STATFS_H
16064 # include <sys/statfs.h>
16067 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes
; then :
16069 cat >>confdefs.h
<<_ACEOF
16070 #define HAVE_STRUCT_STATFS_F_FFREE 1
16075 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
16076 #ifdef HAVE_SYS_PARAM_H
16077 # include <sys/param.h>
16079 #ifdef HAVE_SYS_MOUNT_H
16080 # include <sys/mount.h>
16082 #ifdef HAVE_SYS_VFS_H
16083 # include <sys/vfs.h>
16085 #ifdef HAVE_SYS_STATFS_H
16086 # include <sys/statfs.h>
16089 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes
; then :
16091 cat >>confdefs.h
<<_ACEOF
16092 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
16097 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
16098 #ifdef HAVE_SYS_PARAM_H
16099 # include <sys/param.h>
16101 #ifdef HAVE_SYS_MOUNT_H
16102 # include <sys/mount.h>
16104 #ifdef HAVE_SYS_VFS_H
16105 # include <sys/vfs.h>
16107 #ifdef HAVE_SYS_STATFS_H
16108 # include <sys/statfs.h>
16111 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes
; then :
16113 cat >>confdefs.h
<<_ACEOF
16114 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
16121 ac_fn_c_check_member
"$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
16122 #include <sys/statvfs.h>
16125 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes
; then :
16127 cat >>confdefs.h
<<_ACEOF
16128 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
16135 ac_fn_c_check_member
"$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
16136 #include <dirent.h>
16139 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes
; then :
16141 cat >>confdefs.h
<<_ACEOF
16142 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
16149 ac_fn_c_check_member
"$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
16150 #ifdef HAVE_SYS_SOCKET_H
16151 # include <sys/socket.h>
16153 #ifdef HAVE_SYS_UN_H
16154 # include <sys/un.h>
16157 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes
; then :
16159 cat >>confdefs.h
<<_ACEOF
16160 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
16165 ac_fn_c_check_member
"$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
16166 #ifdef HAVE_SYS_SOCKET_H
16167 # include <sys/socket.h>
16169 #ifdef HAVE_SYS_UN_H
16170 # include <sys/un.h>
16173 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes
; then :
16175 cat >>confdefs.h
<<_ACEOF
16176 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
16181 ac_fn_c_check_member
"$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
16182 #ifdef HAVE_SYS_SOCKET_H
16183 # include <sys/socket.h>
16185 #ifdef HAVE_SYS_UN_H
16186 # include <sys/un.h>
16189 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes
; then :
16191 cat >>confdefs.h
<<_ACEOF
16192 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
16199 ac_fn_c_check_member
"$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
16200 #ifdef HAVE_SCSI_SG_H
16201 #include <scsi/sg.h>
16204 if test "x$ac_cv_member_scsireq_t_cmd" = xyes
; then :
16206 cat >>confdefs.h
<<_ACEOF
16207 #define HAVE_SCSIREQ_T_CMD 1
16212 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>
16213 #ifdef HAVE_SCSI_SG_H
16214 #include <scsi/sg.h>
16217 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes
; then :
16219 cat >>confdefs.h
<<_ACEOF
16220 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
16227 ac_fn_c_check_member
"$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
16229 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes
; then :
16231 cat >>confdefs.h
<<_ACEOF
16232 #define HAVE_SIGINFO_T_SI_FD 1
16239 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
16240 #ifdef HAVE_SYS_MTIO_H
16241 #include <sys/mtio.h>
16244 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes
; then :
16246 cat >>confdefs.h
<<_ACEOF
16247 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
16252 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
16253 #ifdef HAVE_SYS_MTIO_H
16254 #include <sys/mtio.h>
16257 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes
; then :
16259 cat >>confdefs.h
<<_ACEOF
16260 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
16265 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
16266 #ifdef HAVE_SYS_MTIO_H
16267 #include <sys/mtio.h>
16270 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes
; then :
16272 cat >>confdefs.h
<<_ACEOF
16273 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
16280 ac_fn_c_check_member
"$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
16281 #include <getopt.h>
16284 if test "x$ac_cv_member_struct_option_name" = xyes
; then :
16286 cat >>confdefs.h
<<_ACEOF
16287 #define HAVE_STRUCT_OPTION_NAME 1
16294 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
16295 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes
; then :
16297 cat >>confdefs.h
<<_ACEOF
16298 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
16303 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
16304 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes
; then :
16306 cat >>confdefs.h
<<_ACEOF
16307 #define HAVE_STRUCT_STAT_ST_MTIM 1
16312 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
16313 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes
; then :
16315 cat >>confdefs.h
<<_ACEOF
16316 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
16321 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
16322 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes
; then :
16324 cat >>confdefs.h
<<_ACEOF
16325 #define HAVE_STRUCT_STAT_ST_CTIM 1
16330 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
16331 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes
; then :
16333 cat >>confdefs.h
<<_ACEOF
16334 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
16339 ac_fn_c_check_member
"$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
16340 if test "x$ac_cv_member_struct_stat_st_atim" = xyes
; then :
16342 cat >>confdefs.h
<<_ACEOF
16343 #define HAVE_STRUCT_STAT_ST_ATIM 1
16348 ac_fn_c_check_member
"$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
16349 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes
; then :
16351 cat >>confdefs.h
<<_ACEOF
16352 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
16357 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
16358 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes
; then :
16360 cat >>confdefs.h
<<_ACEOF
16361 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
16366 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
16367 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes
; then :
16369 cat >>confdefs.h
<<_ACEOF
16370 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
16375 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
16376 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes
; then :
16378 cat >>confdefs.h
<<_ACEOF
16379 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
16384 ac_fn_c_check_member
"$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
16385 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes
; then :
16387 cat >>confdefs.h
<<_ACEOF
16388 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
16393 ac_fn_c_check_member
"$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
16394 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes
; then :
16396 cat >>confdefs.h
<<_ACEOF
16397 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
16404 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
16405 #include <sys/types.h>
16407 #ifdef HAVE_NETINET_IN_H
16408 #include <netinet/in.h>
16411 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes
; then :
16413 cat >>confdefs.h
<<_ACEOF
16414 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
16421 ac_fn_c_check_type
"$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_RESOLV_H
16422 #include <resolv.h>
16425 if test "x$ac_cv_type_struct___res_state" = xyes
; then :
16427 cat >>confdefs.h
<<_ACEOF
16428 #define HAVE_STRUCT___RES_STATE 1
16435 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
16436 #include <resolv.h>
16439 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes
; then :
16441 cat >>confdefs.h
<<_ACEOF
16442 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
16449 ac_fn_c_check_member
"$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
16450 #include <sys/types.h>
16452 #ifdef HAVE_NETINET_IN_H
16453 # include <netinet/in.h>
16455 #ifdef HAVE_ARPA_NAMESER_H
16456 # include <arpa/nameser.h>
16459 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes
; then :
16461 cat >>confdefs.h
<<_ACEOF
16462 #define HAVE_NS_MSG__MSG_PTR 1
16469 ac_fn_c_check_member
"$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
16470 #include <sys/types.h>
16472 #ifdef HAVE_NETINET_IP_H
16473 #include <netinet/ip.h>
16475 #ifdef HAVE_NETINET_IP_ICMP_H
16476 #include <netinet/ip_icmp.h>
16478 #ifdef HAVE_NETINET_ICMP_VAR_H
16479 #include <netinet/icmp_var.h>
16482 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes
; then :
16484 cat >>confdefs.h
<<_ACEOF
16485 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
16492 ac_fn_c_check_member
"$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
16493 #include <sys/types.h>
16495 #ifdef HAVE_ALIAS_H
16498 #ifdef HAVE_SYS_SOCKET_H
16499 #include <sys/socket.h>
16501 #ifdef HAVE_SYS_SOCKETVAR_H
16502 #include <sys/socketvar.h>
16504 #ifdef HAVE_SYS_TIMEOUT_H
16505 #include <sys/timeout.h>
16507 #ifdef HAVE_NETINET_IN_H
16508 #include <netinet/in.h>
16510 #ifdef HAVE_NETINET_IN_SYSTM_H
16511 #include <netinet/in_systm.h>
16513 #ifdef HAVE_NETINET_IP_H
16514 #include <netinet/ip.h>
16516 #ifdef HAVE_NETINET_IP_VAR_H
16517 #include <netinet/ip_var.h>
16519 #ifdef HAVE_NETINET_IP_ICMP_H
16520 #include <netinet/ip_icmp.h>
16522 #ifdef HAVE_NETINET_ICMP_VAR_H
16523 #include <netinet/icmp_var.h>
16526 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes
; then :
16528 cat >>confdefs.h
<<_ACEOF
16529 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
16536 ac_fn_c_check_member
"$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
16537 #include <sys/types.h>
16539 #ifdef HAVE_SYS_SOCKETVAR_H
16540 #include <sys/socketvar.h>
16542 #ifdef HAVE_NETINET_IN_H
16543 #include <netinet/in.h>
16545 #ifdef HAVE_NETINET_IP_VAR_H
16546 #include <netinet/ip_var.h>
16549 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes
; then :
16551 cat >>confdefs.h
<<_ACEOF
16552 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
16559 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
16560 #include <netinet/ip_var.h>
16563 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes
; then :
16565 cat >>confdefs.h
<<_ACEOF
16566 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
16573 ac_fn_c_check_member
"$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
16574 #include <sys/types.h>
16576 #ifdef HAVE_SYS_SOCKETVAR_H
16577 #include <sys/socketvar.h>
16579 #ifdef HAVE_NETINET_IN_H
16580 #include <netinet/in.h>
16582 #ifdef HAVE_NETINET_TCP_H
16583 #include <netinet/tcp.h>
16585 #ifdef HAVE_NETINET_TCP_VAR_H
16586 #include <netinet/tcp_var.h>
16589 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes
; then :
16591 cat >>confdefs.h
<<_ACEOF
16592 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
16599 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
16600 #include <netinet/tcp_var.h>
16603 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes
; then :
16605 cat >>confdefs.h
<<_ACEOF
16606 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
16613 ac_fn_c_check_member
"$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
16614 #include <sys/types.h>
16616 #ifdef HAVE_NETINET_IN_H
16617 #include <netinet/in.h>
16619 #ifdef HAVE_NETINET_IP_VAR_H
16620 #include <netinet/ip_var.h>
16622 #ifdef HAVE_NETINET_UDP_H
16623 #include <netinet/udp.h>
16625 #ifdef HAVE_NETINET_UDP_VAR_H
16626 #include <netinet/udp_var.h>
16629 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes
; then :
16631 cat >>confdefs.h
<<_ACEOF
16632 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
16639 ac_fn_c_check_member
"$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
16640 #include <sys/types.h>
16642 #ifdef HAVE_NET_IF_H
16643 # include <net/if.h>
16646 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes
; then :
16648 cat >>confdefs.h
<<_ACEOF
16649 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
16656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
16657 $as_echo_n "checking for timezone variable... " >&6; }
16658 if ${ac_cv_have_timezone+:} false
; then :
16659 $as_echo_n "(cached) " >&6
16661 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16662 /* end confdefs.h. */
16672 if ac_fn_c_try_link
"$LINENO"; then :
16673 ac_cv_have_timezone
="yes"
16675 ac_cv_have_timezone
="no"
16677 rm -f core conftest.err conftest.
$ac_objext \
16678 conftest
$ac_exeext conftest.
$ac_ext
16680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
16681 $as_echo "$ac_cv_have_timezone" >&6; }
16682 if test "$ac_cv_have_timezone" = "yes"
16685 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
16688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
16689 $as_echo_n "checking for daylight variable... " >&6; }
16690 if ${ac_cv_have_daylight+:} false
; then :
16691 $as_echo_n "(cached) " >&6
16693 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16694 /* end confdefs.h. */
16704 if ac_fn_c_try_link
"$LINENO"; then :
16705 ac_cv_have_daylight
="yes"
16707 ac_cv_have_daylight
="no"
16709 rm -f core conftest.err conftest.
$ac_objext \
16710 conftest
$ac_exeext conftest.
$ac_ext
16712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
16713 $as_echo "$ac_cv_have_daylight" >&6; }
16714 if test "$ac_cv_have_daylight" = "yes"
16717 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
16721 ac_save_LIBS
="$LIBS"
16723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
16724 $as_echo_n "checking for isfinite... " >&6; }
16725 if ${ac_cv_have_isfinite+:} false
; then :
16726 $as_echo_n "(cached) " >&6
16728 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16729 /* end confdefs.h. */
16730 #define _GNU_SOURCE
16735 float f = 0.0; return isfinite(f)
16740 if ac_fn_c_try_link
"$LINENO"; then :
16741 ac_cv_have_isfinite
="yes"
16743 ac_cv_have_isfinite
="no"
16745 rm -f core conftest.err conftest.
$ac_objext \
16746 conftest
$ac_exeext conftest.
$ac_ext
16748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
16749 $as_echo "$ac_cv_have_isfinite" >&6; }
16750 if test "$ac_cv_have_isfinite" = "yes"
16753 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
16757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
16758 $as_echo_n "checking for isinf... " >&6; }
16759 if ${ac_cv_have_isinf+:} false
; then :
16760 $as_echo_n "(cached) " >&6
16762 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16763 /* end confdefs.h. */
16768 float f = 0.0; return isinf(f)
16773 if ac_fn_c_try_link
"$LINENO"; then :
16774 ac_cv_have_isinf
="yes"
16776 ac_cv_have_isinf
="no"
16778 rm -f core conftest.err conftest.
$ac_objext \
16779 conftest
$ac_exeext conftest.
$ac_ext
16781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
16782 $as_echo "$ac_cv_have_isinf" >&6; }
16783 if test "$ac_cv_have_isinf" = "yes"
16786 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
16790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
16791 $as_echo_n "checking for isnan... " >&6; }
16792 if ${ac_cv_have_isnan+:} false
; then :
16793 $as_echo_n "(cached) " >&6
16795 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16796 /* end confdefs.h. */
16801 float f = 0.0; return isnan(f)
16806 if ac_fn_c_try_link
"$LINENO"; then :
16807 ac_cv_have_isnan
="yes"
16809 ac_cv_have_isnan
="no"
16811 rm -f core conftest.err conftest.
$ac_objext \
16812 conftest
$ac_exeext conftest.
$ac_ext
16814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
16815 $as_echo "$ac_cv_have_isnan" >&6; }
16816 if test "$ac_cv_have_isnan" = "yes"
16819 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
16848 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16849 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
16850 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
16851 cat >>confdefs.h
<<_ACEOF
16852 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16858 LIBS
="$ac_save_LIBS"
16860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_clz" >&5
16861 $as_echo_n "checking for __builtin_clz... " >&6; }
16862 if ${ac_cv_have___builtin_clz+:} false
; then :
16863 $as_echo_n "(cached) " >&6
16865 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16866 /* end confdefs.h. */
16871 return __builtin_clz(1)
16876 if ac_fn_c_try_link
"$LINENO"; then :
16877 ac_cv_have___builtin_clz
="yes"
16879 ac_cv_have___builtin_clz
="no"
16881 rm -f core conftest.err conftest.
$ac_objext \
16882 conftest
$ac_exeext conftest.
$ac_ext
16884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_clz" >&5
16885 $as_echo "$ac_cv_have___builtin_clz" >&6; }
16886 if test "$ac_cv_have___builtin_clz" = "yes"
16889 $as_echo "#define HAVE___BUILTIN_CLZ 1" >>confdefs.h
16895 *i
[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
16896 $as_echo_n "checking whether we need to define __i386__... " >&6; }
16897 if ${ac_cv_cpp_def___i386__+:} false
; then :
16898 $as_echo_n "(cached) " >&6
16900 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16901 /* end confdefs.h. */
16906 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16907 $EGREP "yes" >/dev
/null
2>&1; then :
16908 ac_cv_cpp_def___i386__
=yes
16910 ac_cv_cpp_def___i386__
=no
16915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
16916 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
16917 if test "x$ac_cv_cpp_def___i386__" = xyes
; then :
16918 CFLAGS
="$CFLAGS -D__i386__"
16919 LINTFLAGS
="$LINTFLAGS -D__i386__"
16921 *x86_64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
16922 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
16923 if ${ac_cv_cpp_def___x86_64__+:} false
; then :
16924 $as_echo_n "(cached) " >&6
16926 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16927 /* end confdefs.h. */
16932 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16933 $EGREP "yes" >/dev
/null
2>&1; then :
16934 ac_cv_cpp_def___x86_64__
=yes
16936 ac_cv_cpp_def___x86_64__
=no
16941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
16942 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
16943 if test "x$ac_cv_cpp_def___x86_64__" = xyes
; then :
16944 CFLAGS
="$CFLAGS -D__x86_64__"
16945 LINTFLAGS
="$LINTFLAGS -D__x86_64__"
16947 *sparc64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
16948 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
16949 if ${ac_cv_cpp_def___sparc64__+:} false
; then :
16950 $as_echo_n "(cached) " >&6
16952 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16953 /* end confdefs.h. */
16954 #ifndef __sparc64__
16958 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16959 $EGREP "yes" >/dev
/null
2>&1; then :
16960 ac_cv_cpp_def___sparc64__
=yes
16962 ac_cv_cpp_def___sparc64__
=no
16967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
16968 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
16969 if test "x$ac_cv_cpp_def___sparc64__" = xyes
; then :
16970 CFLAGS
="$CFLAGS -D__sparc64__"
16971 LINTFLAGS
="$LINTFLAGS -D__sparc64__"
16973 *sparc
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
16974 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
16975 if ${ac_cv_cpp_def___sparc__+:} false
; then :
16976 $as_echo_n "(cached) " >&6
16978 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16979 /* end confdefs.h. */
16984 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16985 $EGREP "yes" >/dev
/null
2>&1; then :
16986 ac_cv_cpp_def___sparc__
=yes
16988 ac_cv_cpp_def___sparc__
=no
16993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
16994 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
16995 if test "x$ac_cv_cpp_def___sparc__" = xyes
; then :
16996 CFLAGS
="$CFLAGS -D__sparc__"
16997 LINTFLAGS
="$LINTFLAGS -D__sparc__"
16999 *powerpc64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
17000 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
17001 if ${ac_cv_cpp_def___powerpc64__+:} false
; then :
17002 $as_echo_n "(cached) " >&6
17004 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17005 /* end confdefs.h. */
17006 #ifndef __powerpc64__
17010 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17011 $EGREP "yes" >/dev
/null
2>&1; then :
17012 ac_cv_cpp_def___powerpc64__
=yes
17014 ac_cv_cpp_def___powerpc64__
=no
17019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
17020 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
17021 if test "x$ac_cv_cpp_def___powerpc64__" = xyes
; then :
17022 CFLAGS
="$CFLAGS -D__powerpc64__"
17023 LINTFLAGS
="$LINTFLAGS -D__powerpc64__"
17025 *powerpc
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
17026 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
17027 if ${ac_cv_cpp_def___powerpc__+:} false
; then :
17028 $as_echo_n "(cached) " >&6
17030 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17031 /* end confdefs.h. */
17032 #ifndef __powerpc__
17036 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17037 $EGREP "yes" >/dev
/null
2>&1; then :
17038 ac_cv_cpp_def___powerpc__
=yes
17040 ac_cv_cpp_def___powerpc__
=no
17045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
17046 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
17047 if test "x$ac_cv_cpp_def___powerpc__" = xyes
; then :
17048 CFLAGS
="$CFLAGS -D__powerpc__"
17049 LINTFLAGS
="$LINTFLAGS -D__powerpc__"
17051 *aarch64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
17052 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
17053 if ${ac_cv_cpp_def___aarch64__+:} false
; then :
17054 $as_echo_n "(cached) " >&6
17056 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17057 /* end confdefs.h. */
17058 #ifndef __aarch64__
17062 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17063 $EGREP "yes" >/dev
/null
2>&1; then :
17064 ac_cv_cpp_def___aarch64__
=yes
17066 ac_cv_cpp_def___aarch64__
=no
17071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
17072 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
17073 if test "x$ac_cv_cpp_def___aarch64__" = xyes
; then :
17074 CFLAGS
="$CFLAGS -D__aarch64__"
17075 LINTFLAGS
="$LINTFLAGS -D__aarch64__"
17077 *arm
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
17078 $as_echo_n "checking whether we need to define __arm__... " >&6; }
17079 if ${ac_cv_cpp_def___arm__+:} false
; then :
17080 $as_echo_n "(cached) " >&6
17082 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17083 /* end confdefs.h. */
17088 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17089 $EGREP "yes" >/dev
/null
2>&1; then :
17090 ac_cv_cpp_def___arm__
=yes
17092 ac_cv_cpp_def___arm__
=no
17097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
17098 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
17099 if test "x$ac_cv_cpp_def___arm__" = xyes
; then :
17100 CFLAGS
="$CFLAGS -D__arm__"
17101 LINTFLAGS
="$LINTFLAGS -D__arm__"
17105 case $host_vendor in
17106 *sun
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
17107 $as_echo_n "checking whether we need to define __sun__... " >&6; }
17108 if ${ac_cv_cpp_def___sun__+:} false
; then :
17109 $as_echo_n "(cached) " >&6
17111 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17112 /* end confdefs.h. */
17117 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17118 $EGREP "yes" >/dev
/null
2>&1; then :
17119 ac_cv_cpp_def___sun__
=yes
17121 ac_cv_cpp_def___sun__
=no
17126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
17127 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
17128 if test "x$ac_cv_cpp_def___sun__" = xyes
; then :
17129 CFLAGS
="$CFLAGS -D__sun__"
17130 LINTFLAGS
="$LINTFLAGS -D__sun__"
17138 ac_config_commands
="$ac_config_commands include/stamp-h"
17140 $as_echo_n "creating Makefile rules..." >&6
17142 ALL_VARS_RULES
="OPENGL_LIBS = $OPENGL_LIBS
17143 SOCKET_LIBS = $SOCKET_LIBS
17144 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
17145 IOKIT_LIBS = $IOKIT_LIBS
17146 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
17147 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
17148 CORESERVICES_LIBS = $CORESERVICES_LIBS
17149 APPKIT_LIBS = $APPKIT_LIBS
17150 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
17151 SECURITY_LIBS = $SECURITY_LIBS
17152 COREAUDIO_LIBS = $COREAUDIO_LIBS
17153 OPENAL_LIBS = $OPENAL_LIBS
17154 OPENCL_LIBS = $OPENCL_LIBS
17155 QUICKTIME_LIBS = $QUICKTIME_LIBS
17156 CARBON_LIBS = $CARBON_LIBS
17157 PTHREAD_LIBS = $PTHREAD_LIBS
17158 X_CFLAGS = $X_CFLAGS
17159 X_PRE_LIBS = $X_PRE_LIBS
17161 X_EXTRA_LIBS = $X_EXTRA_LIBS
17162 PCAP_LIBS = $PCAP_LIBS
17163 XML2_CFLAGS = $XML2_CFLAGS
17164 XML2_LIBS = $XML2_LIBS
17165 XSLT_CFLAGS = $XSLT_CFLAGS
17166 XSLT_LIBS = $XSLT_LIBS
17167 DBUS_CFLAGS = $DBUS_CFLAGS
17168 DBUS_LIBS = $DBUS_LIBS
17169 HAL_CFLAGS = $HAL_CFLAGS
17170 HAL_LIBS = $HAL_LIBS
17171 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
17172 GNUTLS_LIBS = $GNUTLS_LIBS
17173 SANE_CFLAGS = $SANE_CFLAGS
17174 SANE_LIBS = $SANE_LIBS
17175 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
17176 GPHOTO2_LIBS = $GPHOTO2_LIBS
17177 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
17178 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
17179 RESOLV_LIBS = $RESOLV_LIBS
17180 LCMS2_CFLAGS = $LCMS2_CFLAGS
17181 LCMS2_LIBS = $LCMS2_LIBS
17182 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
17183 FREETYPE_LIBS = $FREETYPE_LIBS
17185 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
17186 PULSE_CFLAGS = $PULSE_CFLAGS
17187 PULSE_LIBS = $PULSE_LIBS
17188 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
17189 GSTREAMER_LIBS = $GSTREAMER_LIBS
17190 ALSA_LIBS = $ALSA_LIBS
17191 OSS4_CFLAGS = $OSS4_CFLAGS
17192 CAPI20_CFLAGS = $CAPI20_CFLAGS
17193 CAPI20_LIBS = $CAPI20_LIBS
17194 CUPS_CFLAGS = $CUPS_CFLAGS
17195 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
17196 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
17197 JPEG_CFLAGS = $JPEG_CFLAGS
17198 JPEG_LIBS = $JPEG_LIBS
17199 PNG_CFLAGS = $PNG_CFLAGS
17200 PNG_LIBS = $PNG_LIBS
17201 TIFF_CFLAGS = $TIFF_CFLAGS
17202 TIFF_LIBS = $TIFF_LIBS
17203 MPG123_CFLAGS = $MPG123_CFLAGS
17204 MPG123_LIBS = $MPG123_LIBS
17205 KSTAT_LIBS = $KSTAT_LIBS
17206 PROCSTAT_LIBS = $PROCSTAT_LIBS
17207 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
17209 POLL_LIBS = $POLL_LIBS
17211 LDAP_LIBS = $LDAP_LIBS
17216 wine_fn_append_rule
"
17217 # Rules automatically generated by configure
17219 CLEAN_FILES = *.o *.a *.so *.res *.fake *.ok *.tab.[ch] *.yy.c
17224 Makefile: $srcdir/Makefile.in config.status \$(MAKEDEP)
17225 @./config.status Make.tmp Makefile"
17227 test "$srcdir" = .
&& wine_fn_append_rule
"all: .gitignore
17228 .gitignore: config.status
17229 @./config.status .gitignore"
17231 test -n "$CROSSTARGET" || wine_fn_append_rule
"crosstest:
17232 @echo \"crosstest is not supported (mingw not installed?)\" && false"
17234 if test "x$enable_fonts" != xno
; then
17235 ac_config_links
="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
17236 ac_config_links
="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
17237 ac_config_links
="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
17238 ac_config_links
="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
17239 ac_config_links
="$ac_config_links fonts/wingding.ttf:fonts/wingding.ttf"
17240 test "$srcdir" = "." || wine_fn_config_symlink fonts
/marlett.ttf fonts
/symbol.ttf fonts
/tahoma.ttf fonts
/tahomabd.ttf fonts
/wingding.ttf
17242 ac_config_links
="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
17243 test "$srcdir" = "." || wine_fn_config_symlink loader
/l_intl.nls
17244 ac_config_links
="$ac_config_links po/LINGUAS:po/LINGUAS"
17245 test "$srcdir" = "." || wine_fn_config_symlink po
/LINGUAS
17246 ac_config_links
="$ac_config_links wine:tools/winewrapper"
17247 wine_fn_config_symlink wine
17248 if test "x$enable_win64" != xno
; then
17249 ac_config_links
="$ac_config_links wine64:tools/winewrapper"
17250 wine_fn_config_symlink wine64
17253 wine_fn_config_dll acledit enable_acledit
17254 wine_fn_config_dll aclui enable_aclui implib
17255 wine_fn_config_dll activeds enable_activeds implib
17256 wine_fn_config_dll actxprxy enable_actxprxy clean
17257 wine_fn_config_lib adsiid
17258 wine_fn_config_dll advapi32 enable_advapi32 clean
,implib
17259 wine_fn_config_test dlls
/advapi32
/tests advapi32_test
17260 wine_fn_config_dll advpack enable_advpack implib
17261 wine_fn_config_test dlls
/advpack
/tests advpack_test
17262 wine_fn_config_dll amstream enable_amstream clean
17263 wine_fn_config_test dlls
/amstream
/tests amstream_test
17264 wine_fn_config_dll api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
17265 wine_fn_config_dll api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
17266 wine_fn_config_dll api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
17267 wine_fn_config_dll api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
17268 wine_fn_config_dll api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
17269 wine_fn_config_dll api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
17270 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
17271 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
17272 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
17273 wine_fn_config_dll api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
17274 wine_fn_config_dll api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
17275 wine_fn_config_dll api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
17276 wine_fn_config_dll api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
17277 wine_fn_config_dll api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
17278 wine_fn_config_dll api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
17279 wine_fn_config_dll api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
17280 wine_fn_config_dll api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
17281 wine_fn_config_dll api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
17282 wine_fn_config_dll api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
17283 wine_fn_config_dll api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
17284 wine_fn_config_dll api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
17285 wine_fn_config_dll api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
17286 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
17287 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
17288 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
17289 wine_fn_config_dll api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
17290 wine_fn_config_dll api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
17291 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
17292 wine_fn_config_dll api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
17293 wine_fn_config_dll api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
17294 wine_fn_config_dll api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
17295 wine_fn_config_dll api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
17296 wine_fn_config_dll api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
17297 wine_fn_config_dll api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
17298 wine_fn_config_dll api-ms-win-core-path-l1-1-0 enable_api_ms_win_core_path_l1_1_0
17299 wine_fn_config_dll api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
17300 wine_fn_config_dll api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
17301 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
17302 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
17303 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
17304 wine_fn_config_dll api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
17305 wine_fn_config_dll api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
17306 wine_fn_config_dll api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
17307 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
17308 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
17309 wine_fn_config_dll api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
17310 wine_fn_config_dll api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
17311 wine_fn_config_dll api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
17312 wine_fn_config_dll api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
17313 wine_fn_config_dll api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
17314 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
17315 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
17316 wine_fn_config_dll api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
17317 wine_fn_config_dll api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
17318 wine_fn_config_dll api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
17319 wine_fn_config_dll api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
17320 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
17321 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
17322 wine_fn_config_dll api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
17323 wine_fn_config_dll api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
17324 wine_fn_config_dll api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
17325 wine_fn_config_dll api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
17326 wine_fn_config_dll api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
17327 wine_fn_config_dll api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
17328 wine_fn_config_dll api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
17329 wine_fn_config_dll api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
17330 wine_fn_config_dll api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
17331 wine_fn_config_dll api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
17332 wine_fn_config_dll api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
17333 wine_fn_config_dll api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
17334 wine_fn_config_dll api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
17335 wine_fn_config_dll api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
17336 wine_fn_config_dll api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
17337 wine_fn_config_dll api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
17338 wine_fn_config_dll api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
17339 wine_fn_config_dll api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
17340 wine_fn_config_dll api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
17341 wine_fn_config_dll api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
17342 wine_fn_config_dll api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
17343 wine_fn_config_dll api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
17344 wine_fn_config_dll api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
17345 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
17346 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
17347 wine_fn_config_dll api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
17348 wine_fn_config_dll api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
17349 wine_fn_config_dll api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
17350 wine_fn_config_dll api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
17351 wine_fn_config_dll api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
17352 wine_fn_config_dll api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
17353 wine_fn_config_dll api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
17354 wine_fn_config_dll api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
17355 wine_fn_config_dll api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
17356 wine_fn_config_dll api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
17357 wine_fn_config_dll apphelp enable_apphelp
17358 wine_fn_config_test dlls
/apphelp
/tests apphelp_test
17359 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl po
17360 wine_fn_config_dll atl enable_atl clean
,implib
17361 wine_fn_config_test dlls
/atl
/tests atl_test
17362 wine_fn_config_dll atl100 enable_atl100 clean
,implib
17363 wine_fn_config_test dlls
/atl100
/tests atl100_test
17364 wine_fn_config_dll atl110 enable_atl110 clean
17365 wine_fn_config_dll atl80 enable_atl80 clean
,implib
17366 wine_fn_config_test dlls
/atl80
/tests atl80_test
17367 wine_fn_config_dll atl90 enable_atl90 clean
17368 wine_fn_config_dll authz enable_authz
17369 wine_fn_config_dll avicap32 enable_avicap32 implib
17370 wine_fn_config_dll avifil32 enable_avifil32 clean
,implib
,po
17371 wine_fn_config_test dlls
/avifil32
/tests avifil32_test
17372 wine_fn_config_dll avifile.dll16 enable_win16
17373 wine_fn_config_dll avrt enable_avrt implib
17374 wine_fn_config_dll bcrypt enable_bcrypt
17375 wine_fn_config_test dlls
/bcrypt
/tests bcrypt_test
17376 wine_fn_config_dll bluetoothapis enable_bluetoothapis
17377 wine_fn_config_dll browseui enable_browseui clean
,po
17378 wine_fn_config_test dlls
/browseui
/tests browseui_test
17379 wine_fn_config_dll bthprops.cpl enable_bthprops_cpl
17380 wine_fn_config_dll cabinet enable_cabinet implib
17381 wine_fn_config_test dlls
/cabinet
/tests cabinet_test
17382 wine_fn_config_dll capi2032 enable_capi2032 implib
17383 wine_fn_config_dll cards enable_cards implib
17384 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
17385 wine_fn_config_dll clusapi enable_clusapi implib
17386 wine_fn_config_dll combase enable_combase
17387 wine_fn_config_test dlls
/combase
/tests combase_test
17388 wine_fn_config_dll comcat enable_comcat
17389 wine_fn_config_test dlls
/comcat
/tests comcat_test
17390 wine_fn_config_dll comctl32 enable_comctl32 implib
,po
17391 wine_fn_config_test dlls
/comctl32
/tests comctl32_test
17392 wine_fn_config_dll comdlg32 enable_comdlg32 clean
,implib
,po
17393 wine_fn_config_test dlls
/comdlg32
/tests comdlg32_test
17394 wine_fn_config_dll
comm.drv16 enable_win16
17395 wine_fn_config_dll commdlg.dll16 enable_win16
17396 wine_fn_config_dll compobj.dll16 enable_win16
17397 wine_fn_config_dll compstui enable_compstui implib
17398 wine_fn_config_dll comsvcs enable_comsvcs implib
17399 wine_fn_config_dll connect enable_connect
17400 wine_fn_config_dll credui enable_credui implib
,po
17401 wine_fn_config_test dlls
/credui
/tests credui_test
17402 wine_fn_config_dll crtdll enable_crtdll implib
17403 wine_fn_config_dll crypt32 enable_crypt32 implib
,po
17404 wine_fn_config_test dlls
/crypt32
/tests crypt32_test
17405 wine_fn_config_dll cryptdlg enable_cryptdlg po
17406 wine_fn_config_dll cryptdll enable_cryptdll implib
17407 wine_fn_config_dll cryptext enable_cryptext
17408 wine_fn_config_dll cryptnet enable_cryptnet implib
17409 wine_fn_config_test dlls
/cryptnet
/tests cryptnet_test
17410 wine_fn_config_dll cryptui enable_cryptui implib
,po
17411 wine_fn_config_test dlls
/cryptui
/tests cryptui_test
17412 wine_fn_config_dll ctapi32 enable_ctapi32
17413 wine_fn_config_dll ctl3d.dll16 enable_win16
17414 wine_fn_config_dll ctl3d32 enable_ctl3d32 implib
17415 wine_fn_config_dll ctl3dv2.dll16 enable_win16
17416 wine_fn_config_dll d2d1 enable_d2d1 implib
17417 wine_fn_config_test dlls
/d2d
1/tests d2d1_test
17418 wine_fn_config_dll d3d10 enable_d3d10 implib
17419 wine_fn_config_test dlls
/d3d10
/tests d3d10_test
17420 wine_fn_config_dll d3d10_1 enable_d3d10_1 implib
17421 wine_fn_config_test dlls
/d3d10_
1/tests d3d10_1_test
17422 wine_fn_config_dll d3d10core enable_d3d10core implib
17423 wine_fn_config_test dlls
/d3d10core
/tests d3d10core_test
17424 wine_fn_config_dll d3d11 enable_d3d11 implib
17425 wine_fn_config_test dlls
/d3d11
/tests d3d11_test
17426 wine_fn_config_dll d3d8 enable_d3d8 implib
17427 wine_fn_config_test dlls
/d3d
8/tests d3d8_test
17428 wine_fn_config_dll d3d9 enable_d3d9 implib
17429 wine_fn_config_test dlls
/d3d
9/tests d3d9_test
17430 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
17431 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
17432 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
17433 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
17434 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
17435 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
17436 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
17437 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
17438 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
17439 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
17440 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
17441 wine_fn_config_test dlls
/d3dcompiler_43
/tests d3dcompiler_43_test
17442 wine_fn_config_dll d3dcompiler_46 enable_d3dcompiler_46
17443 wine_fn_config_dll d3dcompiler_47 enable_d3dcompiler_47
17444 wine_fn_config_dll d3dim enable_d3dim implib
17445 wine_fn_config_dll d3drm enable_d3drm implib
17446 wine_fn_config_test dlls
/d3drm
/tests d3drm_test
17447 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
17448 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
17449 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
17450 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
17451 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
17452 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
17453 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
17454 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
17455 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
17456 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
17457 wine_fn_config_dll d3dx10_43 enable_d3dx10_43 implib d3dx10
17458 wine_fn_config_dll d3dx11_42 enable_d3dx11_42
17459 wine_fn_config_dll d3dx11_43 enable_d3dx11_43
17460 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
17461 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
17462 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
17463 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
17464 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
17465 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
17466 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
17467 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
17468 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
17469 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
17470 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
17471 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
17472 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
17473 wine_fn_config_test dlls
/d3dx9_36
/tests d3dx9_36_test
17474 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
17475 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
17476 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
17477 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
17478 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
17479 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
17480 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
17481 wine_fn_config_dll d3dxof enable_d3dxof clean
,implib
17482 wine_fn_config_test dlls
/d3dxof
/tests d3dxof_test
17483 wine_fn_config_dll davclnt enable_davclnt
17484 wine_fn_config_dll dbgeng enable_dbgeng implib
17485 wine_fn_config_dll dbghelp enable_dbghelp implib
17486 wine_fn_config_dll dciman32 enable_dciman32 implib
17487 wine_fn_config_dll ddeml.dll16 enable_win16
17488 wine_fn_config_dll ddraw enable_ddraw clean
,implib
17489 wine_fn_config_test dlls
/ddraw
/tests ddraw_test
17490 wine_fn_config_dll ddrawex enable_ddrawex clean
17491 wine_fn_config_test dlls
/ddrawex
/tests ddrawex_test
17492 wine_fn_config_dll devenum enable_devenum clean
,po
17493 wine_fn_config_test dlls
/devenum
/tests devenum_test
17494 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
17495 wine_fn_config_dll difxapi enable_difxapi
17496 wine_fn_config_dll dinput enable_dinput clean
,implib
,po
,staticimplib
17497 wine_fn_config_test dlls
/dinput
/tests dinput_test
17498 wine_fn_config_dll dinput8 enable_dinput8 clean
,implib
17499 wine_fn_config_test dlls
/dinput
8/tests dinput8_test
17500 wine_fn_config_dll dispdib.dll16 enable_win16
17501 wine_fn_config_dll dispex enable_dispex clean
17502 wine_fn_config_test dlls
/dispex
/tests dispex_test
17503 wine_fn_config_dll display.drv16 enable_win16
17504 wine_fn_config_dll dmband enable_dmband clean
17505 wine_fn_config_test dlls
/dmband
/tests dmband_test
17506 wine_fn_config_dll dmcompos enable_dmcompos clean
17507 wine_fn_config_test dlls
/dmcompos
/tests dmcompos_test
17508 wine_fn_config_dll dmime enable_dmime clean
17509 wine_fn_config_test dlls
/dmime
/tests dmime_test
17510 wine_fn_config_dll dmloader enable_dmloader clean
17511 wine_fn_config_test dlls
/dmloader
/tests dmloader_test
17512 wine_fn_config_dll dmscript enable_dmscript clean
17513 wine_fn_config_test dlls
/dmscript
/tests dmscript_test
17514 wine_fn_config_dll dmstyle enable_dmstyle clean
17515 wine_fn_config_test dlls
/dmstyle
/tests dmstyle_test
17516 wine_fn_config_dll dmsynth enable_dmsynth clean
17517 wine_fn_config_test dlls
/dmsynth
/tests dmsynth_test
17518 wine_fn_config_dll dmusic enable_dmusic clean
17519 wine_fn_config_test dlls
/dmusic
/tests dmusic_test
17520 wine_fn_config_dll dmusic32 enable_dmusic32 implib
17521 wine_fn_config_dll dnsapi enable_dnsapi implib
17522 wine_fn_config_test dlls
/dnsapi
/tests dnsapi_test
17523 wine_fn_config_dll dplay enable_dplay implib
17524 wine_fn_config_dll dplayx enable_dplayx clean
,implib
17525 wine_fn_config_test dlls
/dplayx
/tests dplayx_test
17526 wine_fn_config_dll dpnaddr enable_dpnaddr
17527 wine_fn_config_dll dpnet enable_dpnet clean
,implib
17528 wine_fn_config_test dlls
/dpnet
/tests dpnet_test
17529 wine_fn_config_dll dpnhpast enable_dpnhpast
17530 wine_fn_config_dll dpnlobby enable_dpnlobby
17531 wine_fn_config_dll dpvoice enable_dpvoice clean
17532 wine_fn_config_test dlls
/dpvoice
/tests dpvoice_test
17533 wine_fn_config_dll dpwsockx enable_dpwsockx
17534 wine_fn_config_dll drmclien enable_drmclien
17535 wine_fn_config_dll dsound enable_dsound clean
,implib
17536 wine_fn_config_test dlls
/dsound
/tests dsound_test
17537 wine_fn_config_dll dssenh enable_dssenh
17538 wine_fn_config_test dlls
/dssenh
/tests dssenh_test
17539 wine_fn_config_dll dswave enable_dswave clean
17540 wine_fn_config_test dlls
/dswave
/tests dswave_test
17541 wine_fn_config_dll dwmapi enable_dwmapi implib
17542 wine_fn_config_dll dwrite enable_dwrite implib
17543 wine_fn_config_test dlls
/dwrite
/tests dwrite_test
17544 wine_fn_config_dll dxdiagn enable_dxdiagn clean
,po
17545 wine_fn_config_test dlls
/dxdiagn
/tests dxdiagn_test
17546 wine_fn_config_lib dxerr8
17547 wine_fn_config_lib dxerr9
17548 wine_fn_config_dll dxgi enable_dxgi implib
17549 wine_fn_config_test dlls
/dxgi
/tests dxgi_test
17550 wine_fn_config_lib dxguid
17551 wine_fn_config_dll dxva2 enable_dxva2
17552 wine_fn_config_dll esent enable_esent
17553 wine_fn_config_dll evr enable_evr
17554 wine_fn_config_dll explorerframe enable_explorerframe clean
17555 wine_fn_config_test dlls
/explorerframe
/tests explorerframe_test
17556 wine_fn_config_dll ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
17557 wine_fn_config_dll faultrep enable_faultrep implib
17558 wine_fn_config_test dlls
/faultrep
/tests faultrep_test
17559 wine_fn_config_dll fltlib enable_fltlib
17560 wine_fn_config_dll fltmgr.sys enable_fltmgr_sys
17561 wine_fn_config_dll fntcache enable_fntcache
17562 wine_fn_config_dll fontsub enable_fontsub
17563 wine_fn_config_dll fusion enable_fusion
17564 wine_fn_config_test dlls
/fusion
/tests fusion_test
17565 wine_fn_config_dll fwpuclnt enable_fwpuclnt
17566 wine_fn_config_dll gameux enable_gameux clean
17567 wine_fn_config_test dlls
/gameux
/tests gameux_test
17568 wine_fn_config_dll gdi.exe16 enable_win16
17569 wine_fn_config_dll gdi32 enable_gdi32 clean
,implib
,po
17570 wine_fn_config_test dlls
/gdi32
/tests gdi32_test
17571 wine_fn_config_dll gdiplus enable_gdiplus implib
17572 wine_fn_config_test dlls
/gdiplus
/tests gdiplus_test
17573 wine_fn_config_dll glu32 enable_glu32 implib
17574 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds po
17575 wine_fn_config_dll gpkcsp enable_gpkcsp
17576 wine_fn_config_dll hal enable_hal
17577 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx clean
,implib
,po htmlhelp
17578 wine_fn_config_dll hid enable_hid implib
17579 wine_fn_config_dll hidclass.sys enable_hidclass_sys implib hidclass
17580 wine_fn_config_dll hlink enable_hlink clean
,implib
17581 wine_fn_config_test dlls
/hlink
/tests hlink_test
17582 wine_fn_config_dll hnetcfg enable_hnetcfg clean
17583 wine_fn_config_dll httpapi enable_httpapi
17584 wine_fn_config_dll iccvid enable_iccvid po
17585 wine_fn_config_dll icmp enable_icmp
17586 wine_fn_config_dll ieframe enable_ieframe clean
,implib
,po
17587 wine_fn_config_test dlls
/ieframe
/tests ieframe_test
17588 wine_fn_config_dll ifsmgr.vxd enable_win16
17589 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
17590 wine_fn_config_dll imagehlp enable_imagehlp implib
17591 wine_fn_config_test dlls
/imagehlp
/tests imagehlp_test
17592 wine_fn_config_dll imm.dll16 enable_win16
17593 wine_fn_config_dll imm32 enable_imm32 implib
17594 wine_fn_config_test dlls
/imm32
/tests imm32_test
17595 wine_fn_config_dll inetcomm enable_inetcomm clean
,implib
17596 wine_fn_config_test dlls
/inetcomm
/tests inetcomm_test
17597 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl po
17598 wine_fn_config_dll inetmib1 enable_inetmib1
17599 wine_fn_config_test dlls
/inetmib
1/tests inetmib1_test
17600 wine_fn_config_dll infosoft enable_infosoft clean
17601 wine_fn_config_test dlls
/infosoft
/tests infosoft_test
17602 wine_fn_config_dll initpki enable_initpki
17603 wine_fn_config_dll inkobj enable_inkobj
17604 wine_fn_config_dll inseng enable_inseng clean
17605 wine_fn_config_dll iphlpapi enable_iphlpapi implib
17606 wine_fn_config_test dlls
/iphlpapi
/tests iphlpapi_test
17607 wine_fn_config_dll itircl enable_itircl
17608 wine_fn_config_dll itss enable_itss clean
17609 wine_fn_config_test dlls
/itss
/tests itss_test
17610 wine_fn_config_dll joy.cpl enable_joy_cpl po
17611 wine_fn_config_dll jscript enable_jscript clean
,po
17612 wine_fn_config_test dlls
/jscript
/tests jscript_test
17613 wine_fn_config_dll jsproxy enable_jsproxy implib
17614 wine_fn_config_dll kernel32 enable_kernel32 clean
,implib
,mc
17615 wine_fn_config_test dlls
/kernel32
/tests kernel32_test
17616 wine_fn_config_dll keyboard.drv16 enable_win16
17617 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
17618 wine_fn_config_dll ksuser enable_ksuser
17619 wine_fn_config_dll ktmw32 enable_ktmw32
17620 wine_fn_config_dll loadperf enable_loadperf implib
17621 wine_fn_config_dll localspl enable_localspl po
17622 wine_fn_config_test dlls
/localspl
/tests localspl_test
17623 wine_fn_config_dll localui enable_localui po
17624 wine_fn_config_test dlls
/localui
/tests localui_test
17625 wine_fn_config_dll lz32 enable_lz32 implib
17626 wine_fn_config_test dlls
/lz32
/tests lz32_test
17627 wine_fn_config_dll lzexpand.dll16 enable_win16
17628 wine_fn_config_dll mapi32 enable_mapi32 implib
,po
17629 wine_fn_config_test dlls
/mapi32
/tests mapi32_test
17630 wine_fn_config_dll mapistub enable_mapistub
17631 wine_fn_config_dll mciavi32 enable_mciavi32
17632 wine_fn_config_dll mcicda enable_mcicda
17633 wine_fn_config_dll mciqtz32 enable_mciqtz32
17634 wine_fn_config_dll mciseq enable_mciseq
17635 wine_fn_config_dll mciwave enable_mciwave
17636 wine_fn_config_dll mf enable_mf
17637 wine_fn_config_dll mfplat enable_mfplat
17638 wine_fn_config_dll mfreadwrite enable_mfreadwrite
17639 wine_fn_config_dll mgmtapi enable_mgmtapi
17640 wine_fn_config_dll midimap enable_midimap
17641 wine_fn_config_dll mlang enable_mlang clean
,implib
17642 wine_fn_config_test dlls
/mlang
/tests mlang_test
17643 wine_fn_config_dll mmcndmgr enable_mmcndmgr clean
17644 wine_fn_config_test dlls
/mmcndmgr
/tests mmcndmgr_test
17645 wine_fn_config_dll mmdevapi enable_mmdevapi clean
17646 wine_fn_config_test dlls
/mmdevapi
/tests mmdevapi_test
17647 wine_fn_config_dll mmdevldr.vxd enable_win16
17648 wine_fn_config_dll mmsystem.dll16 enable_win16
17649 wine_fn_config_dll monodebg.vxd enable_win16
17650 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
17651 wine_fn_config_dll mouse.drv16 enable_win16
17652 wine_fn_config_dll mpr enable_mpr implib
,po
17653 wine_fn_config_test dlls
/mpr
/tests mpr_test
17654 wine_fn_config_dll mprapi enable_mprapi implib
17655 wine_fn_config_dll msacm.dll16 enable_win16
17656 wine_fn_config_dll msacm32.drv enable_msacm32_drv
17657 wine_fn_config_dll msacm32 enable_msacm32 implib
,po
17658 wine_fn_config_test dlls
/msacm32
/tests msacm32_test
17659 wine_fn_config_dll msadp32.acm enable_msadp32_acm
17660 wine_fn_config_dll msasn1 enable_msasn1 implib
17661 wine_fn_config_dll mscat32 enable_mscat32
17662 wine_fn_config_dll mscms enable_mscms implib
17663 wine_fn_config_test dlls
/mscms
/tests mscms_test
17664 wine_fn_config_dll mscoree enable_mscoree clean
17665 wine_fn_config_test dlls
/mscoree
/tests mscoree_test
17666 wine_fn_config_dll msctf enable_msctf clean
17667 wine_fn_config_test dlls
/msctf
/tests msctf_test
17668 wine_fn_config_dll msctfp enable_msctfp clean
17669 wine_fn_config_dll msdaps enable_msdaps clean
17670 wine_fn_config_dll msdelta enable_msdelta
17671 wine_fn_config_dll msdmo enable_msdmo implib
17672 wine_fn_config_test dlls
/msdmo
/tests msdmo_test
17673 wine_fn_config_dll msftedit enable_msftedit
17674 wine_fn_config_dll msg711.acm enable_msg711_acm
17675 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
17676 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb clean
17677 wine_fn_config_dll mshtml enable_mshtml clean
,implib
,po
17678 wine_fn_config_test dlls
/mshtml
/tests mshtml_test clean
17679 wine_fn_config_dll msi enable_msi clean
,implib
,po
17680 wine_fn_config_test dlls
/msi
/tests msi_test
17681 wine_fn_config_dll msident enable_msident clean
17682 wine_fn_config_dll msimg32 enable_msimg32 implib
17683 wine_fn_config_dll msimsg enable_msimsg
17684 wine_fn_config_dll msimtf enable_msimtf clean
17685 wine_fn_config_dll msisip enable_msisip
17686 wine_fn_config_dll msisys.ocx enable_msisys_ocx
17687 wine_fn_config_dll msls31 enable_msls31
17688 wine_fn_config_dll msnet32 enable_msnet32
17689 wine_fn_config_dll mspatcha enable_mspatcha implib
17690 wine_fn_config_dll msrle32 enable_msrle32 po
17691 wine_fn_config_test dlls
/msrle32
/tests msrle32_test
17692 wine_fn_config_dll msscript.ocx enable_msscript_ocx clean
17693 wine_fn_config_dll mssign32 enable_mssign32
17694 wine_fn_config_dll mssip32 enable_mssip32
17695 wine_fn_config_dll mstask enable_mstask clean
17696 wine_fn_config_test dlls
/mstask
/tests mstask_test
17697 wine_fn_config_dll msvcirt enable_msvcirt
17698 wine_fn_config_test dlls
/msvcirt
/tests msvcirt_test
17699 wine_fn_config_dll msvcm80 enable_msvcm80
17700 wine_fn_config_dll msvcm90 enable_msvcm90
17701 wine_fn_config_dll msvcp100 enable_msvcp100
17702 wine_fn_config_test dlls
/msvcp100
/tests msvcp100_test
17703 wine_fn_config_dll msvcp110 enable_msvcp110
17704 wine_fn_config_test dlls
/msvcp110
/tests msvcp110_test
17705 wine_fn_config_dll msvcp120 enable_msvcp120
17706 wine_fn_config_test dlls
/msvcp120
/tests msvcp120_test
17707 wine_fn_config_dll msvcp120_app enable_msvcp120_app
17708 wine_fn_config_dll msvcp60 enable_msvcp60
17709 wine_fn_config_test dlls
/msvcp60
/tests msvcp60_test
17710 wine_fn_config_dll msvcp70 enable_msvcp70
17711 wine_fn_config_dll msvcp71 enable_msvcp71
17712 wine_fn_config_dll msvcp80 enable_msvcp80
17713 wine_fn_config_dll msvcp90 enable_msvcp90
17714 wine_fn_config_test dlls
/msvcp90
/tests msvcp90_test
17715 wine_fn_config_dll msvcr100 enable_msvcr100 implib
17716 wine_fn_config_test dlls
/msvcr100
/tests msvcr100_test
17717 wine_fn_config_dll msvcr110 enable_msvcr110 implib
17718 wine_fn_config_dll msvcr120 enable_msvcr120 implib
17719 wine_fn_config_test dlls
/msvcr120
/tests msvcr120_test
17720 wine_fn_config_dll msvcr120_app enable_msvcr120_app
17721 wine_fn_config_dll msvcr70 enable_msvcr70 implib
17722 wine_fn_config_dll msvcr71 enable_msvcr71 implib
17723 wine_fn_config_dll msvcr80 enable_msvcr80 implib
17724 wine_fn_config_dll msvcr90 enable_msvcr90 implib
17725 wine_fn_config_test dlls
/msvcr90
/tests msvcr90_test
17726 wine_fn_config_dll msvcrt enable_msvcrt implib
17727 wine_fn_config_test dlls
/msvcrt
/tests msvcrt_test
17728 wine_fn_config_dll msvcrt20 enable_msvcrt20 implib
17729 wine_fn_config_dll msvcrt40 enable_msvcrt40 implib
17730 wine_fn_config_dll msvcrtd enable_msvcrtd implib
17731 wine_fn_config_test dlls
/msvcrtd
/tests msvcrtd_test
17732 wine_fn_config_dll msvfw32 enable_msvfw32 implib
,po
17733 wine_fn_config_test dlls
/msvfw32
/tests msvfw32_test
17734 wine_fn_config_dll msvidc32 enable_msvidc32 po
17735 wine_fn_config_dll msvideo.dll16 enable_win16
17736 wine_fn_config_dll mswsock enable_mswsock implib
17737 wine_fn_config_dll msxml enable_msxml clean
17738 wine_fn_config_dll msxml2 enable_msxml2 clean
17739 wine_fn_config_dll msxml3 enable_msxml3 clean
17740 wine_fn_config_test dlls
/msxml
3/tests msxml3_test clean
17741 wine_fn_config_dll msxml4 enable_msxml4 clean
17742 wine_fn_config_dll msxml6 enable_msxml6 clean
17743 wine_fn_config_dll nddeapi enable_nddeapi implib
17744 wine_fn_config_dll ndis.sys enable_ndis_sys
17745 wine_fn_config_dll netapi32 enable_netapi32 implib
17746 wine_fn_config_test dlls
/netapi32
/tests netapi32_test
17747 wine_fn_config_dll netcfgx enable_netcfgx clean
17748 wine_fn_config_test dlls
/netcfgx
/tests netcfgx_test
17749 wine_fn_config_dll netprofm enable_netprofm clean
17750 wine_fn_config_test dlls
/netprofm
/tests netprofm_test
17751 wine_fn_config_dll newdev enable_newdev implib
17752 wine_fn_config_dll normaliz enable_normaliz implib
17753 wine_fn_config_dll npmshtml enable_npmshtml
17754 wine_fn_config_dll npptools enable_npptools
17755 wine_fn_config_dll ntdll enable_ntdll implib
17756 wine_fn_config_test dlls
/ntdll
/tests ntdll_test
17757 wine_fn_config_dll ntdsapi enable_ntdsapi implib
17758 wine_fn_config_test dlls
/ntdsapi
/tests ntdsapi_test
17759 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib
17760 wine_fn_config_dll ntprint enable_ntprint
17761 wine_fn_config_test dlls
/ntprint
/tests ntprint_test
17762 wine_fn_config_dll objsel enable_objsel clean
17763 wine_fn_config_dll odbc32 enable_odbc32 implib
17764 wine_fn_config_dll odbccp32 enable_odbccp32 implib
17765 wine_fn_config_test dlls
/odbccp32
/tests odbccp32_test
17766 wine_fn_config_dll odbccu32 enable_odbccu32
17767 wine_fn_config_dll ole2.dll16 enable_win16
17768 wine_fn_config_dll ole2conv.dll16 enable_win16
17769 wine_fn_config_dll ole2disp.dll16 enable_win16
17770 wine_fn_config_dll ole2nls.dll16 enable_win16
17771 wine_fn_config_dll ole2prox.dll16 enable_win16
17772 wine_fn_config_dll ole2thk.dll16 enable_win16
17773 wine_fn_config_dll ole32 enable_ole32 clean
,implib
17774 wine_fn_config_test dlls
/ole32
/tests ole32_test
17775 wine_fn_config_dll oleacc enable_oleacc clean
,implib
,po
17776 wine_fn_config_test dlls
/oleacc
/tests oleacc_test
17777 wine_fn_config_dll oleaut32 enable_oleaut32 clean
,implib
,po
17778 wine_fn_config_test dlls
/oleaut32
/tests oleaut32_test clean
17779 wine_fn_config_dll olecli.dll16 enable_win16
17780 wine_fn_config_dll olecli32 enable_olecli32 implib
17781 wine_fn_config_dll oledb32 enable_oledb32 clean
17782 wine_fn_config_test dlls
/oledb32
/tests oledb32_test clean
17783 wine_fn_config_dll oledlg enable_oledlg implib
,po
17784 wine_fn_config_test dlls
/oledlg
/tests oledlg_test
17785 wine_fn_config_dll olepro32 enable_olepro32 implib
17786 wine_fn_config_dll olesvr.dll16 enable_win16
17787 wine_fn_config_dll olesvr32 enable_olesvr32 implib
17788 wine_fn_config_dll olethk32 enable_olethk32
17789 wine_fn_config_dll openal32 enable_openal32
17790 wine_fn_config_dll opencl enable_opencl
17791 wine_fn_config_dll opengl32 enable_opengl32 implib
17792 wine_fn_config_test dlls
/opengl32
/tests opengl32_test
17793 wine_fn_config_dll packager enable_packager clean
17794 wine_fn_config_test dlls
/packager
/tests packager_test
17795 wine_fn_config_dll pdh enable_pdh implib
17796 wine_fn_config_test dlls
/pdh
/tests pdh_test
17797 wine_fn_config_dll photometadatahandler enable_photometadatahandler
17798 wine_fn_config_dll pidgen enable_pidgen
17799 wine_fn_config_dll powrprof enable_powrprof implib
17800 wine_fn_config_dll printui enable_printui
17801 wine_fn_config_dll prntvpt enable_prntvpt
17802 wine_fn_config_dll propsys enable_propsys clean
,implib
17803 wine_fn_config_test dlls
/propsys
/tests propsys_test
17804 wine_fn_config_dll psapi enable_psapi implib
17805 wine_fn_config_test dlls
/psapi
/tests psapi_test
17806 wine_fn_config_dll pstorec enable_pstorec clean
17807 wine_fn_config_dll qcap enable_qcap
17808 wine_fn_config_test dlls
/qcap
/tests qcap_test
17809 wine_fn_config_dll qedit enable_qedit clean
17810 wine_fn_config_test dlls
/qedit
/tests qedit_test
17811 wine_fn_config_dll qmgr enable_qmgr clean
17812 wine_fn_config_test dlls
/qmgr
/tests qmgr_test
17813 wine_fn_config_dll qmgrprxy enable_qmgrprxy clean
17814 wine_fn_config_dll quartz enable_quartz clean
,implib
17815 wine_fn_config_test dlls
/quartz
/tests quartz_test clean
17816 wine_fn_config_dll query enable_query
17817 wine_fn_config_dll rasapi16.dll16 enable_win16
17818 wine_fn_config_dll rasapi32 enable_rasapi32 implib
17819 wine_fn_config_test dlls
/rasapi32
/tests rasapi32_test
17820 wine_fn_config_dll rasdlg enable_rasdlg implib
17821 wine_fn_config_dll regapi enable_regapi
17822 wine_fn_config_dll resutils enable_resutils implib
17823 wine_fn_config_dll riched20 enable_riched20 clean
,implib
17824 wine_fn_config_test dlls
/riched20
/tests riched20_test
17825 wine_fn_config_dll riched32 enable_riched32
17826 wine_fn_config_test dlls
/riched32
/tests riched32_test
17827 wine_fn_config_dll rpcrt4 enable_rpcrt4 clean
,implib
17828 wine_fn_config_test dlls
/rpcrt
4/tests rpcrt4_test clean
17829 wine_fn_config_dll rsabase enable_rsabase
17830 wine_fn_config_dll rsaenh enable_rsaenh implib
17831 wine_fn_config_test dlls
/rsaenh
/tests rsaenh_test
17832 wine_fn_config_dll rstrtmgr enable_rstrtmgr
17833 wine_fn_config_dll rtutils enable_rtutils implib
17834 wine_fn_config_dll samlib enable_samlib
17835 wine_fn_config_dll sane.ds enable_sane_ds po
17836 wine_fn_config_dll scarddlg enable_scarddlg
17837 wine_fn_config_dll sccbase enable_sccbase
17838 wine_fn_config_dll schannel enable_schannel
17839 wine_fn_config_test dlls
/schannel
/tests schannel_test
17840 wine_fn_config_dll schedsvc enable_schedsvc clean
17841 wine_fn_config_test dlls
/schedsvc
/tests schedsvc_test clean
17842 wine_fn_config_dll scrrun enable_scrrun clean
17843 wine_fn_config_test dlls
/scrrun
/tests scrrun_test clean
17844 wine_fn_config_dll scsiport.sys enable_scsiport_sys
17845 wine_fn_config_dll secur32 enable_secur32 implib
17846 wine_fn_config_test dlls
/secur32
/tests secur32_test
17847 wine_fn_config_dll security enable_security
17848 wine_fn_config_dll sensapi enable_sensapi implib
17849 wine_fn_config_dll serialui enable_serialui implib
,po
17850 wine_fn_config_test dlls
/serialui
/tests serialui_test
17851 wine_fn_config_dll setupapi enable_setupapi implib
,po
17852 wine_fn_config_test dlls
/setupapi
/tests setupapi_test
17853 wine_fn_config_dll setupx.dll16 enable_win16
17854 wine_fn_config_dll sfc enable_sfc implib
17855 wine_fn_config_dll sfc_os enable_sfc_os implib
17856 wine_fn_config_dll shdoclc enable_shdoclc po
17857 wine_fn_config_dll shdocvw enable_shdocvw clean
,implib
17858 wine_fn_config_test dlls
/shdocvw
/tests shdocvw_test
17859 wine_fn_config_dll shell.dll16 enable_win16
17860 wine_fn_config_dll shell32 enable_shell32 clean
,implib
,po
17861 wine_fn_config_test dlls
/shell32
/tests shell32_test
17862 wine_fn_config_dll shfolder enable_shfolder implib
17863 wine_fn_config_dll shlwapi enable_shlwapi implib
,po
17864 wine_fn_config_test dlls
/shlwapi
/tests shlwapi_test
17865 wine_fn_config_dll slbcsp enable_slbcsp
17866 wine_fn_config_dll slc enable_slc implib
17867 wine_fn_config_test dlls
/slc
/tests slc_test
17868 wine_fn_config_dll snmpapi enable_snmpapi implib
17869 wine_fn_config_test dlls
/snmpapi
/tests snmpapi_test
17870 wine_fn_config_dll softpub enable_softpub
17871 wine_fn_config_dll sound.drv16 enable_win16
17872 wine_fn_config_dll spoolss enable_spoolss implib
17873 wine_fn_config_test dlls
/spoolss
/tests spoolss_test
17874 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb clean
17875 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb clean
17876 wine_fn_config_dll sti enable_sti clean
,implib
17877 wine_fn_config_test dlls
/sti
/tests sti_test
17878 wine_fn_config_dll storage.dll16 enable_win16
17879 wine_fn_config_dll stress.dll16 enable_win16
17880 wine_fn_config_lib strmbase
17881 wine_fn_config_lib strmiids
17882 wine_fn_config_dll svrapi enable_svrapi
17883 wine_fn_config_dll sxs enable_sxs implib
17884 wine_fn_config_test dlls
/sxs
/tests sxs_test
17885 wine_fn_config_dll system.drv16 enable_win16
17886 wine_fn_config_dll t2embed enable_t2embed
17887 wine_fn_config_dll tapi32 enable_tapi32 implib
17888 wine_fn_config_dll taskschd enable_taskschd clean
17889 wine_fn_config_test dlls
/taskschd
/tests taskschd_test
17890 wine_fn_config_dll tdi.sys enable_tdi_sys
17891 wine_fn_config_dll toolhelp.dll16 enable_win16
17892 wine_fn_config_dll traffic enable_traffic
17893 wine_fn_config_dll twain.dll16 enable_win16
17894 wine_fn_config_dll twain_32 enable_twain_32
17895 wine_fn_config_test dlls
/twain_32
/tests twain_32_test
17896 wine_fn_config_dll typelib.dll16 enable_win16
17897 wine_fn_config_dll ucrtbase enable_ucrtbase
17898 wine_fn_config_test dlls
/ucrtbase
/tests ucrtbase_test
17899 wine_fn_config_dll unicows enable_unicows implib
17900 wine_fn_config_dll updspapi enable_updspapi
17901 wine_fn_config_dll url enable_url implib
17902 wine_fn_config_dll urlmon enable_urlmon clean
,implib
,po
17903 wine_fn_config_test dlls
/urlmon
/tests urlmon_test
17904 wine_fn_config_dll usbd.sys enable_usbd_sys implib
17905 wine_fn_config_dll user.exe16 enable_win16
17906 wine_fn_config_dll user32 enable_user32 clean
,implib
,po
17907 wine_fn_config_test dlls
/user32
/tests user32_test
17908 wine_fn_config_dll userenv enable_userenv implib
17909 wine_fn_config_test dlls
/userenv
/tests userenv_test
17910 wine_fn_config_dll usp10 enable_usp10 implib
17911 wine_fn_config_test dlls
/usp10
/tests usp10_test
17912 wine_fn_config_lib uuid
17913 wine_fn_config_dll uxtheme enable_uxtheme implib
17914 wine_fn_config_test dlls
/uxtheme
/tests uxtheme_test
17915 wine_fn_config_dll vbscript enable_vbscript clean
17916 wine_fn_config_test dlls
/vbscript
/tests vbscript_test clean
17917 wine_fn_config_dll vcomp enable_vcomp
17918 wine_fn_config_test dlls
/vcomp
/tests vcomp_test
17919 wine_fn_config_dll vcomp100 enable_vcomp100
17920 wine_fn_config_dll vcomp110 enable_vcomp110
17921 wine_fn_config_dll vcomp120 enable_vcomp120
17922 wine_fn_config_dll vcomp90 enable_vcomp90
17923 wine_fn_config_dll vcruntime140 enable_vcruntime140
17924 wine_fn_config_dll vdhcp.vxd enable_win16
17925 wine_fn_config_dll vdmdbg enable_vdmdbg implib
17926 wine_fn_config_dll ver.dll16 enable_win16
17927 wine_fn_config_dll version enable_version implib
17928 wine_fn_config_test dlls
/version
/tests version_test
17929 wine_fn_config_dll vmm.vxd enable_win16
17930 wine_fn_config_dll vnbt.vxd enable_win16
17931 wine_fn_config_dll vnetbios.vxd enable_win16
17932 wine_fn_config_dll vssapi enable_vssapi
17933 wine_fn_config_dll vtdapi.vxd enable_win16
17934 wine_fn_config_dll vwin32.vxd enable_win16
17935 wine_fn_config_dll w32skrnl enable_win16
17936 wine_fn_config_dll w32sys.dll16 enable_win16
17937 wine_fn_config_dll wbemdisp enable_wbemdisp clean
17938 wine_fn_config_test dlls
/wbemdisp
/tests wbemdisp_test
17939 wine_fn_config_dll wbemprox enable_wbemprox clean
17940 wine_fn_config_test dlls
/wbemprox
/tests wbemprox_test
17941 wine_fn_config_dll webservices enable_webservices implib
17942 wine_fn_config_test dlls
/webservices
/tests webservices_test
17943 wine_fn_config_dll wer enable_wer implib
17944 wine_fn_config_test dlls
/wer
/tests wer_test
17945 wine_fn_config_dll wevtapi enable_wevtapi
17946 wine_fn_config_dll wiaservc enable_wiaservc clean
17947 wine_fn_config_test dlls
/wiaservc
/tests wiaservc_test
17948 wine_fn_config_dll wimgapi enable_wimgapi
17949 wine_fn_config_dll win32s16.dll16 enable_win16
17950 wine_fn_config_dll win87em.dll16 enable_win16
17951 wine_fn_config_dll winaspi.dll16 enable_win16
17952 wine_fn_config_dll windebug.dll16 enable_win16
17953 wine_fn_config_dll windowscodecs enable_windowscodecs clean
,implib
17954 wine_fn_config_test dlls
/windowscodecs
/tests windowscodecs_test
17955 wine_fn_config_dll windowscodecsext enable_windowscodecsext implib
17956 wine_fn_config_test dlls
/windowscodecsext
/tests windowscodecsext_test
17957 wine_fn_config_dll winealsa.drv enable_winealsa_drv
17958 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
17959 wine_fn_config_lib winecrt0
17960 wine_fn_config_dll wined3d enable_wined3d implib
17961 wine_fn_config_dll winegstreamer enable_winegstreamer
17962 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
17963 wine_fn_config_dll winemac.drv enable_winemac_drv po
17964 wine_fn_config_dll winemapi enable_winemapi
17965 wine_fn_config_dll winemp3.acm enable_winemp3_acm
17966 wine_fn_config_dll wineoss.drv enable_wineoss_drv
17967 wine_fn_config_dll wineps.drv enable_wineps_drv clean
,po
17968 wine_fn_config_dll wineps16.drv16 enable_win16
17969 wine_fn_config_dll winepulse.drv enable_winepulse_drv
17970 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
17971 wine_fn_config_dll winex11.drv enable_winex11_drv
17972 wine_fn_config_dll wing.dll16 enable_win16
17973 wine_fn_config_dll wing32 enable_wing32
17974 wine_fn_config_dll winhttp enable_winhttp clean
,implib
17975 wine_fn_config_test dlls
/winhttp
/tests winhttp_test
17976 wine_fn_config_dll wininet enable_wininet implib
,po
17977 wine_fn_config_test dlls
/wininet
/tests wininet_test
17978 wine_fn_config_dll winmm enable_winmm implib
,po
17979 wine_fn_config_test dlls
/winmm
/tests winmm_test
17980 wine_fn_config_dll winnls.dll16 enable_win16
17981 wine_fn_config_dll winnls32 enable_winnls32 implib
17982 wine_fn_config_dll winscard enable_winscard implib
17983 wine_fn_config_dll winsock.dll16 enable_win16
17984 wine_fn_config_dll winspool.drv enable_winspool_drv implib
,po winspool
17985 wine_fn_config_test dlls
/winspool.drv
/tests winspool.drv_test
17986 wine_fn_config_dll winsta enable_winsta
17987 wine_fn_config_dll wintab.dll16 enable_win16
17988 wine_fn_config_dll wintab32 enable_wintab32 implib
17989 wine_fn_config_test dlls
/wintab32
/tests wintab32_test
17990 wine_fn_config_dll wintrust enable_wintrust implib
17991 wine_fn_config_test dlls
/wintrust
/tests wintrust_test
17992 wine_fn_config_dll wlanapi enable_wlanapi
17993 wine_fn_config_dll wldap32 enable_wldap32 implib
,po
17994 wine_fn_config_test dlls
/wldap32
/tests wldap32_test
17995 wine_fn_config_dll wmi enable_wmi
17996 wine_fn_config_dll wmiutils enable_wmiutils clean
17997 wine_fn_config_test dlls
/wmiutils
/tests wmiutils_test
17998 wine_fn_config_dll wmp enable_wmp clean
17999 wine_fn_config_test dlls
/wmp
/tests wmp_test
18000 wine_fn_config_dll wmvcore enable_wmvcore
18001 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
18002 wine_fn_config_dll wow32 enable_win16 implib
18003 wine_fn_config_dll wpcap enable_wpcap
18004 wine_fn_config_dll ws2_32 enable_ws2_32 implib
18005 wine_fn_config_test dlls
/ws2_32
/tests ws2_32_test
18006 wine_fn_config_dll wshom.ocx enable_wshom_ocx clean
18007 wine_fn_config_test dlls
/wshom.ocx
/tests wshom.ocx_test clean
18008 wine_fn_config_dll wsnmp32 enable_wsnmp32 implib
18009 wine_fn_config_test dlls
/wsnmp32
/tests wsnmp32_test
18010 wine_fn_config_dll wsock32 enable_wsock32 implib
18011 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
18012 wine_fn_config_test dlls
/wtsapi32
/tests wtsapi32_test
18013 wine_fn_config_dll wuapi enable_wuapi clean
18014 wine_fn_config_dll wuaueng enable_wuaueng
18015 wine_fn_config_dll x3daudio1_0 enable_x3daudio1_0
18016 wine_fn_config_dll x3daudio1_1 enable_x3daudio1_1
18017 wine_fn_config_dll x3daudio1_2 enable_x3daudio1_2
18018 wine_fn_config_dll x3daudio1_3 enable_x3daudio1_3
18019 wine_fn_config_dll x3daudio1_4 enable_x3daudio1_4
18020 wine_fn_config_dll x3daudio1_5 enable_x3daudio1_5
18021 wine_fn_config_dll x3daudio1_6 enable_x3daudio1_6
18022 wine_fn_config_dll x3daudio1_7 enable_x3daudio1_7
18023 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
18024 wine_fn_config_dll xapofx1_2 enable_xapofx1_2
18025 wine_fn_config_dll xapofx1_3 enable_xapofx1_3
18026 wine_fn_config_dll xapofx1_4 enable_xapofx1_4
18027 wine_fn_config_dll xapofx1_5 enable_xapofx1_5
18028 wine_fn_config_dll xaudio2_0 enable_xaudio2_0 clean
18029 wine_fn_config_dll xaudio2_1 enable_xaudio2_1 clean
18030 wine_fn_config_dll xaudio2_2 enable_xaudio2_2 clean
18031 wine_fn_config_dll xaudio2_3 enable_xaudio2_3 clean
18032 wine_fn_config_dll xaudio2_4 enable_xaudio2_4 clean
18033 wine_fn_config_dll xaudio2_5 enable_xaudio2_5 clean
18034 wine_fn_config_dll xaudio2_6 enable_xaudio2_6 clean
18035 wine_fn_config_dll xaudio2_7 enable_xaudio2_7 clean
18036 wine_fn_config_test dlls
/xaudio2_
7/tests xaudio2_7_test
18037 wine_fn_config_dll xaudio2_8 enable_xaudio2_8 implib
18038 wine_fn_config_dll xinput1_1 enable_xinput1_1
18039 wine_fn_config_dll xinput1_2 enable_xinput1_2
18040 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
18041 wine_fn_config_test dlls
/xinput1_
3/tests xinput1_3_test
18042 wine_fn_config_dll xinput1_4 enable_xinput1_4
18043 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
18044 wine_fn_config_dll xmllite enable_xmllite implib
18045 wine_fn_config_test dlls
/xmllite
/tests xmllite_test
18046 wine_fn_config_dll xolehlp enable_xolehlp
18047 wine_fn_config_dll xpsprint enable_xpsprint
18048 wine_fn_config_dll xpssvcs enable_xpssvcs
18049 wine_fn_config_makefile fonts enable_fonts clean
,install-lib
18050 wine_fn_config_makefile include enable_include clean
,install-dev
18051 wine_fn_config_makefile libs
/port enable_libs_port
18052 wine_fn_config_makefile libs
/wine enable_libs_wine clean
,implib
,install-dev
,install-lib
18053 wine_fn_config_makefile libs
/wpp enable_libs_wpp
18054 wine_fn_config_makefile loader enable_loader clean
,install-lib
18055 wine_fn_config_program arp enable_arp
install
18056 wine_fn_config_program aspnet_regiis enable_aspnet_regiis
install
18057 wine_fn_config_program attrib enable_attrib
install,po
18058 wine_fn_config_program cabarc enable_cabarc
install
18059 wine_fn_config_program cacls enable_cacls
install
18060 wine_fn_config_program
clock enable_clock
install,po
18061 wine_fn_config_program cmd enable_cmd
install,po
18062 wine_fn_config_test programs
/cmd
/tests cmd.exe_test
18063 wine_fn_config_program conhost enable_conhost
install
18064 wine_fn_config_program control enable_control
install
18065 wine_fn_config_program cscript enable_cscript clean
,install
18066 wine_fn_config_program dpnsvr enable_dpnsvr
install
18067 wine_fn_config_program dxdiag enable_dxdiag
install,po
18068 wine_fn_config_program eject enable_eject
install
18069 wine_fn_config_program
expand enable_expand
install
18070 wine_fn_config_program explorer enable_explorer
install,po
18071 wine_fn_config_program extrac32 enable_extrac32
install
18072 wine_fn_config_program findstr enable_findstr
install
18073 wine_fn_config_program hh enable_hh
install
18074 wine_fn_config_program hostname enable_hostname
install,po
18075 wine_fn_config_program icinfo enable_icinfo
install
18076 wine_fn_config_program iexplore enable_iexplore
install
18077 wine_fn_config_program ipconfig enable_ipconfig
install,po
18078 wine_fn_config_program lodctr enable_lodctr
install
18079 wine_fn_config_program mofcomp enable_mofcomp
install
18080 wine_fn_config_program mshta enable_mshta
install
18081 wine_fn_config_program msiexec enable_msiexec
install,installbin
,manpage
18082 wine_fn_config_program net enable_net
install,po
18083 wine_fn_config_program netsh enable_netsh
install
18084 wine_fn_config_program netstat enable_netstat
install,po
18085 wine_fn_config_program ngen enable_ngen
install
18086 wine_fn_config_program notepad enable_notepad
install,installbin
,manpage
,po
18087 wine_fn_config_program oleview enable_oleview
install,po
18088 wine_fn_config_program
ping enable_ping
install
18089 wine_fn_config_program plugplay enable_plugplay
install
18090 wine_fn_config_program presentationfontcache enable_presentationfontcache
install
18091 wine_fn_config_program progman enable_progman
install,po
18092 wine_fn_config_program reg enable_reg
install,po
18093 wine_fn_config_test programs
/reg
/tests reg.exe_test
18094 wine_fn_config_program regasm enable_regasm
install
18095 wine_fn_config_program regedit enable_regedit
install,installbin
,manpage
,po
18096 wine_fn_config_test programs
/regedit
/tests regedit.exe_test
18097 wine_fn_config_program regsvcs enable_regsvcs
install
18098 wine_fn_config_program regsvr32 enable_regsvr32
install,installbin
,manpage
,po
18099 wine_fn_config_program rpcss enable_rpcss clean
,install
18100 wine_fn_config_program rundll.exe16 enable_win16
install
18101 wine_fn_config_program rundll32 enable_rundll32
install
18102 wine_fn_config_program sc enable_sc
install
18103 wine_fn_config_program schtasks enable_schtasks
install
18104 wine_fn_config_program sdbinst enable_sdbinst
install
18105 wine_fn_config_program secedit enable_secedit
install
18106 wine_fn_config_program servicemodelreg enable_servicemodelreg
install
18107 wine_fn_config_program services enable_services clean
,install
18108 wine_fn_config_test programs
/services
/tests services.exe_test
18109 wine_fn_config_program spoolsv enable_spoolsv
install
18110 wine_fn_config_program start enable_start
install,po
18111 wine_fn_config_program svchost enable_svchost
install
18112 wine_fn_config_program systeminfo enable_systeminfo
install
18113 wine_fn_config_program taskkill enable_taskkill
install,po
18114 wine_fn_config_program tasklist enable_tasklist
install
18115 wine_fn_config_program taskmgr enable_taskmgr
install,po
18116 wine_fn_config_program termsv enable_termsv
install
18117 wine_fn_config_program uninstaller enable_uninstaller
install,po
18118 wine_fn_config_program unlodctr enable_unlodctr
install
18119 wine_fn_config_program view enable_view
install,po
18120 wine_fn_config_program wevtutil enable_wevtutil
install
18121 wine_fn_config_program wineboot enable_wineboot
install,installbin
,manpage
,po
18122 wine_fn_config_program winebrowser enable_winebrowser
install
18123 wine_fn_config_program winecfg enable_winecfg
install,installbin
,manpage
,po
18124 wine_fn_config_program wineconsole enable_wineconsole
install,installbin
,manpage
,po
18125 wine_fn_config_program winedbg enable_winedbg
install,installbin
,manpage
,po
18126 wine_fn_config_program winedevice enable_winedevice
install
18127 wine_fn_config_program winefile enable_winefile
install,installbin
,manpage
,po
18128 wine_fn_config_program winemenubuilder enable_winemenubuilder
install
18129 wine_fn_config_program winemine enable_winemine
install,installbin
,manpage
,po
18130 wine_fn_config_program winemsibuilder enable_winemsibuilder
install
18131 wine_fn_config_program winepath enable_winepath
install,installbin
,manpage
18132 wine_fn_config_program winetest enable_winetest clean
18133 wine_fn_config_program winevdm enable_win16
install
18134 wine_fn_config_program winhelp.exe16 enable_win16
install
18135 wine_fn_config_program winhlp32 enable_winhlp32
install,po
18136 wine_fn_config_program winoldap.mod16 enable_win16
install
18137 wine_fn_config_program winver enable_winver
install
18138 wine_fn_config_program wmic enable_wmic
install,po
18139 wine_fn_config_program wmplayer enable_wmplayer
install
18140 wine_fn_config_program wordpad enable_wordpad
install,po
18141 wine_fn_config_program
write enable_write
install,po
18142 wine_fn_config_program wscript enable_wscript clean
,install
18143 wine_fn_config_test programs
/wscript
/tests wscript.exe_test
18144 wine_fn_config_program wusa enable_wusa
install
18145 wine_fn_config_program xcopy enable_xcopy
install,po
18146 wine_fn_config_test programs
/xcopy
/tests xcopy.exe_test
18147 wine_fn_config_makefile server enable_server clean
,install-lib
18148 wine_fn_config_tool tools clean
18149 wine_fn_config_tool tools
/sfnt2fon clean
18150 wine_fn_config_tool tools
/widl clean
,install-dev
18151 wine_fn_config_tool tools
/winebuild clean
,install-dev
18152 wine_fn_config_tool tools
/winedump clean
,install-dev
18153 wine_fn_config_tool tools
/winegcc clean
,install-dev
18154 wine_fn_config_tool tools
/winemaker clean
,install-dev
18155 wine_fn_config_tool tools
/wmc clean
,install-dev
18156 wine_fn_config_tool tools
/wrc clean
,install-dev
18208 wine_fn_ignore_file
".gitignore"
18209 wine_fn_ignore_file
"Makefile"
18210 wine_fn_ignore_file
"TAGS"
18211 wine_fn_ignore_file
"tags"
18212 wine_fn_ignore_file
"autom4te.cache"
18213 wine_fn_ignore_file
"config.cache"
18214 wine_fn_ignore_file
"config.log"
18215 wine_fn_ignore_file
"config.status"
18216 wine_fn_ignore_file
"configure.lineno"
18217 wine_fn_ignore_file
"include/config.h"
18218 wine_fn_ignore_file
"include/stamp-h"
18219 test "$wine_binary" = wine || wine_fn_ignore_file
"loader/wine"
18221 if test "x$enable_tools" != xno
18223 wine_fn_ignore_file
"tools/makedep$ac_exeext"
18224 ac_config_commands
="$ac_config_commands tools/makedep"
18228 ac_config_commands
="$ac_config_commands Makefile"
18231 ac_config_files
="$ac_config_files Make.tmp:Makefile.in"
18235 if test "x$enable_maintainer_mode" = xyes
18237 wine_fn_append_rule
"configure: configure.ac aclocal.m4
18238 autoconf --warnings=all
18239 include/config.h.in: include/stamp-h.in
18240 include/stamp-h.in: configure.ac aclocal.m4
18241 autoheader --warnings=all
18242 @echo timestamp > \$@"
18245 if test "x$with_gettextpo" = xyes
18247 test "$srcdir" = . || as_fn_error $?
"Rebuilding po files is not supported for out of tree builds." "$LINENO" 5
18248 wine_fn_append_rule
"ALL_POT_FILES =$ALL_POT_FILES
18249 \$(LINGUAS:%=po/%.po): po/wine.pot
18250 msgmerge --previous -q \$@ po/wine.pot | msgattrib --no-obsolete -o \$@.new && mv \$@.new \$@
18251 po/wine.pot: \$(ALL_POT_FILES)
18252 msgcat -o \$@ \$(ALL_POT_FILES)"
18255 if test "$MSGFMT" != false
18257 wine_fn_append_rule
"__builddeps__: \$(LINGUAS:%=po/%.mo)
18259 \$(RM) \$(LINGUAS:%=po/%.mo)"
18262 test "$srcdir" = . || posrc
="$srcdir/po"
18265 wine_fn_ignore_file
"po/$i.mo"
18266 wine_fn_append_rule
"po/$i.mo: $posrc/$i.po
18267 \$(MSGFMT) -o \$@ $posrc/$i.po"
18273 if test "x$enable_tools" != xno
18275 wine_fn_append_rule
"tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
18276 @./config.status tools/makedep
18277 Makefile: tools/makedep$ac_exeext
18279 \$(RM) tools/makedep$ac_exeext"
18281 wine_fn_append_rule
"\$(MAKEDEP):
18282 @echo \"You need to run make in $TOOLSDIR first\" && false"
18285 if test -n "$with_wine64"
18287 wine_fn_append_rule
"all: fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader
18288 fonts server tools:
18289 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
18290 $with_wine64/loader/wine:
18291 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
18292 $with_wine64/loader/wine-preloader:
18293 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
18295 \$(RM) fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
18297 WINELOADER_INSTALL
="wine.inf"
18299 wine_fn_append_rule
"install install-lib::
18300 \$(INSTALL_DATA) $srcdir/loader/l_intl.nls \$(DESTDIR)\$(datadir)/wine/l_intl.nls
18302 \$(RM) \$(DESTDIR)\$(datadir)/wine/l_intl.nls"
18304 cygwin
*|mingw32
*|darwin
*|macosx
*|linux-android
*) ;;
18305 *) wine_fn_append_rule
"install install-lib::
18306 \$(INSTALL_DATA) $srcdir/loader/wine.desktop \$(DESTDIR)\$(datadir)/applications/wine.desktop
18308 \$(RM) \$(DESTDIR)\$(datadir)/applications/wine.desktop" ;;
18312 if test "$srcdir" = .
18314 ac_config_commands
="$ac_config_commands .gitignore"
18318 $as_echo " done" >&6
18319 cat >confcache
<<\_ACEOF
18320 # This file is a shell script that caches the results of configure
18321 # tests run on this system so they can be shared between configure
18322 # scripts and configure runs, see configure's option --config-cache.
18323 # It is not useful on other systems. If it contains results you don't
18324 # want to keep, you may remove or edit it.
18326 # config.status only pays attention to the cache file if you give it
18327 # the --recheck option to rerun configure.
18329 # `ac_cv_env_foo' variables (set or unset) will be overridden when
18330 # loading this file, other *unset* `ac_cv_foo' will be assigned the
18331 # following values.
18335 # The following way of writing the cache mishandles newlines in values,
18336 # but we know of no workaround that is simple, portable, and efficient.
18337 # So, we kill variables containing newlines.
18338 # Ultrix sh set writes to stderr and can't be redirected directly,
18339 # and sets the high bit in the cache file unless we assign to the vars.
18341 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
18342 eval ac_val
=\$
$ac_var
18346 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
18347 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
18350 _ | IFS | as_nl
) ;; #(
18351 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
18352 *) { eval $ac_var=; unset $ac_var;} ;;
18358 case $as_nl`(ac_space=' '; set) 2>&1` in #(
18359 *${as_nl}ac_space
=\
*)
18360 # `set' does not quote correctly, so add quotes: double-quote
18361 # substitution turns \\\\ into \\, and sed turns \\ into \.
18364 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
18367 # `set' quotes correctly as required by POSIX, so do not add quotes.
18368 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
18377 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
18379 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
18381 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
18382 if test -w "$cache_file"; then
18383 if test "x$cache_file" != "x/dev/null"; then
18384 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
18385 $as_echo "$as_me: updating cache $cache_file" >&6;}
18386 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
18387 cat confcache
>"$cache_file"
18389 case $cache_file in #(
18391 mv -f confcache
"$cache_file"$$
&&
18392 mv -f "$cache_file"$$
"$cache_file" ;; #(
18394 mv -f confcache
"$cache_file" ;;
18399 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
18400 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
18405 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
18406 # Let make expand exec_prefix.
18407 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
18409 DEFS
=-DHAVE_CONFIG_H
18414 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
18415 # 1. Remove the extension, and $U if already installed.
18416 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
18417 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
18418 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
18419 # will be set to the directory where LIBOBJS objects are built.
18420 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
18421 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
18423 LIBOBJS
=$ac_libobjs
18425 LTLIBOBJS
=$ac_ltlibobjs
18429 : "${CONFIG_STATUS=./config.status}"
18431 ac_clean_files_save
=$ac_clean_files
18432 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
18433 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
18434 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
18436 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
18438 # Generated by $as_me.
18439 # Run this file to recreate the current configuration.
18440 # Compiler output produced by configure, useful for debugging
18441 # configure, is in config.log if it exists.
18444 ac_cs_recheck=false
18447 SHELL=\${CONFIG_SHELL-$SHELL}
18450 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
18451 ## -------------------- ##
18452 ## M4sh Initialization. ##
18453 ## -------------------- ##
18455 # Be more Bourne compatible
18456 DUALCASE
=1; export DUALCASE
# for MKS sh
18457 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
18460 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
18461 # is contrary to our usage. Disable this feature.
18462 alias -g '${1+"$@"}'='"$@"'
18463 setopt NO_GLOB_SUBST
18465 case `(set -o) 2>/dev/null` in #(
18477 # Printing a long string crashes Solaris 7 /usr/bin/printf.
18478 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
18479 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
18480 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
18481 # Prefer a ksh shell builtin over an external printf program on Solaris,
18482 # but without wasting forks for bash or zsh.
18483 if test -z "$BASH_VERSION$ZSH_VERSION" \
18484 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
18485 as_echo='print
-r --'
18486 as_echo_n='print
-rn --'
18487 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
18488 as_echo='printf %s
\n'
18489 as_echo_n='printf %s
'
18491 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
18492 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
18493 as_echo_n='/usr
/ucb
/echo -n'
18495 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
18496 as_echo_n_body='eval
18500 expr "X$arg" : "X\\(.*\\)$as_nl";
18501 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
18503 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
18505 export as_echo_n_body
18506 as_echo_n='sh
-c $as_echo_n_body as_echo
'
18508 export as_echo_body
18509 as_echo='sh
-c $as_echo_body as_echo
'
18512 # The user is always right.
18513 if test "${PATH_SEPARATOR+set}" != set; then
18515 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
18516 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
18523 # We need space, tab and new line, in precisely that order. Quoting is
18524 # there to prevent editors from complaining about space-tab.
18525 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
18526 # splitting by setting IFS to empty value.)
18529 # Find who we are. Look in the path if we contain no directory separator.
18532 *[\\/]* ) as_myself=$0 ;;
18533 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18534 for as_dir in $PATH
18537 test -z "$as_dir" && as_dir=.
18538 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
18544 # We did not find ourselves, most probably we were run as `sh COMMAND'
18545 # in which case we are not to be found in the path.
18546 if test "x$as_myself" = x
; then
18549 if test ! -f "$as_myself"; then
18550 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
18554 # Unset variables that we do not need and which cause bugs (e.g. in
18555 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
18556 # suppresses any "Segmentation fault" message there. '((' could
18557 # trigger a bug in pdksh 5.2.14.
18558 for as_var
in BASH_ENV ENV MAIL MAILPATH
18559 do eval test x\
${$as_var+set} = xset \
18560 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
18573 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
18576 # as_fn_error STATUS ERROR [LINENO LOG_FD]
18577 # ----------------------------------------
18578 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
18579 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
18580 # script with STATUS, using 1 if that was 0.
18583 as_status
=$1; test $as_status -eq 0 && as_status
=1
18585 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
18586 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
18588 $as_echo "$as_me: error: $2" >&2
18589 as_fn_exit
$as_status
18593 # as_fn_set_status STATUS
18594 # -----------------------
18595 # Set $? to STATUS, without forking.
18596 as_fn_set_status
()
18599 } # as_fn_set_status
18601 # as_fn_exit STATUS
18602 # -----------------
18603 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
18607 as_fn_set_status
$1
18613 # Portably unset VAR.
18616 { eval $1=; unset $1;}
18618 as_unset
=as_fn_unset
18619 # as_fn_append VAR VALUE
18620 # ----------------------
18621 # Append the text in VALUE to the end of the definition contained in VAR. Take
18622 # advantage of any shell optimizations that allow amortized linear growth over
18623 # repeated appends, instead of the typical quadratic growth present in naive
18625 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
18626 eval 'as_fn_append ()
18637 # as_fn_arith ARG...
18638 # ------------------
18639 # Perform arithmetic evaluation on the ARGs, and store the result in the
18640 # global $as_val. Take advantage of shells that can avoid forks. The arguments
18641 # must be portable across $(()) and expr.
18642 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
18643 eval 'as_fn_arith ()
18650 as_val
=`expr "$@" || test $? -eq 1`
18655 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
18656 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
18662 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
18663 as_basename
=basename
18668 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
18674 as_me
=`$as_basename -- "$0" ||
18675 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
18676 X"$0" : 'X\(//\)$' \| \
18677 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
18679 sed '/^.*\/\([^/][^/]*\)\/*$/{
18693 # Avoid depending upon Character Ranges.
18694 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
18695 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
18696 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
18697 as_cr_digits
='0123456789'
18698 as_cr_alnum
=$as_cr_Letters$as_cr_digits
18700 ECHO_C
= ECHO_N
= ECHO_T
=
18701 case `echo -n x` in #(((((
18703 case `echo 'xy\c'` in
18704 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
18706 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
18713 rm -f conf$$ conf$$.exe conf$$.
file
18714 if test -d conf$$.dir
; then
18715 rm -f conf$$.dir
/conf$$.
file
18718 mkdir conf$$.dir
2>/dev
/null
18720 if (echo >conf$$.
file) 2>/dev
/null
; then
18721 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
18723 # ... but there are two gotchas:
18724 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
18725 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
18726 # In both cases, we have to default to `cp -pR'.
18727 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
18729 elif ln conf$$.
file conf$$
2>/dev
/null
; then
18737 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
18738 rmdir conf$$.dir
2>/dev
/null
18743 # Create "$as_dir" as a directory, including parents if necessary.
18748 -*) as_dir
=.
/$as_dir;;
18750 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
18754 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
18755 *) as_qdir
=$as_dir;;
18757 as_dirs
="'$as_qdir' $as_dirs"
18758 as_dir
=`$as_dirname -- "$as_dir" ||
18759 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18760 X"$as_dir" : 'X\(//\)[^/]' \| \
18761 X"$as_dir" : 'X\(//\)$' \| \
18762 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
18763 $as_echo X"$as_dir" |
18764 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18768 /^X\(\/\/\)[^/].*/{
18781 test -d "$as_dir" && break
18783 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
18784 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
18788 if mkdir
-p .
2>/dev
/null
; then
18789 as_mkdir_p
='mkdir -p "$as_dir"'
18791 test -d .
/-p && rmdir .
/-p
18796 # as_fn_executable_p FILE
18797 # -----------------------
18798 # Test if FILE is an executable regular file.
18799 as_fn_executable_p
()
18801 test -f "$1" && test -x "$1"
18802 } # as_fn_executable_p
18803 as_test_x
='test -x'
18804 as_executable_p
=as_fn_executable_p
18806 # Sed expression to map a string onto a valid CPP name.
18807 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
18809 # Sed expression to map a string onto a valid variable name.
18810 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
18814 ## ----------------------------------- ##
18815 ## Main body of $CONFIG_STATUS script. ##
18816 ## ----------------------------------- ##
18818 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
18820 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18821 # Save the log message, to keep $0 and so on meaningful, and to
18822 # report actual input values of CONFIG_FILES etc. instead of their
18823 # values after options handling.
18825 This file was extended by Wine $as_me 1.8, which was
18826 generated by GNU Autoconf 2.69. Invocation command line was
18828 CONFIG_FILES = $CONFIG_FILES
18829 CONFIG_HEADERS = $CONFIG_HEADERS
18830 CONFIG_LINKS = $CONFIG_LINKS
18831 CONFIG_COMMANDS = $CONFIG_COMMANDS
18834 on `(hostname || uname -n) 2>/dev/null | sed 1q`
18839 case $ac_config_files in *"
18840 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
18843 case $ac_config_headers in *"
18844 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
18848 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18849 # Files that config.status was made for.
18850 config_files="$ac_config_files"
18851 config_headers="$ac_config_headers"
18852 config_links="$ac_config_links"
18853 config_commands="$ac_config_commands"
18857 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18859 \`$as_me' instantiates files and other configuration actions
18860 from templates according to the current configuration. Unless the files
18861 and actions are specified as TAGs, all are instantiated by default.
18863 Usage: $0 [OPTION]... [TAG]...
18865 -h, --help print this help, then exit
18866 -V, --version print version number and configuration settings, then exit
18867 --config print configuration, then exit
18868 -q, --quiet, --silent
18869 do not print progress messages
18870 -d, --debug don't remove temporary files
18871 --recheck update $as_me by reconfiguring in the same conditions
18872 --file=FILE[:TEMPLATE]
18873 instantiate the configuration file FILE
18874 --header=FILE[:TEMPLATE]
18875 instantiate the configuration header FILE
18877 Configuration files:
18880 Configuration headers:
18883 Configuration links:
18886 Configuration commands:
18889 Report bugs to <wine-devel@winehq.org>.
18890 Wine home page: <http://www.winehq.org>."
18893 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18894 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
18896 Wine config.status 1.8
18897 configured by $0, generated by GNU Autoconf 2.69,
18898 with options \\"\$ac_cs_config\\"
18900 Copyright (C) 2012 Free Software Foundation, Inc.
18901 This config.status script is free software; the Free Software Foundation
18902 gives unlimited permission to copy, distribute and modify it."
18906 test -n "\$AWK" || AWK=awk
18909 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18910 # The default lists apply if the user does not specify any file.
18916 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
18917 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
18921 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
18933 # Handling of the options.
18934 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
18936 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
18937 $as_echo "$ac_cs_version"; exit ;;
18938 --config |
--confi |
--conf |
--con |
--co |
--c )
18939 $as_echo "$ac_cs_config"; exit ;;
18940 --debug |
--debu |
--deb |
--de |
--d |
-d )
18942 --file |
--fil |
--fi |
--f )
18945 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18946 '') as_fn_error $?
"missing file argument" ;;
18948 as_fn_append CONFIG_FILES
" '$ac_optarg'"
18949 ac_need_defaults
=false
;;
18950 --header |
--heade |
--head |
--hea )
18953 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18955 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
18956 ac_need_defaults
=false
;;
18958 # Conflict between --help and --header
18959 as_fn_error $?
"ambiguous option: \`$1'
18960 Try \`$0 --help' for more information.";;
18961 --help |
--hel |
-h )
18962 $as_echo "$ac_cs_usage"; exit ;;
18963 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
18964 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
18967 # This is an error.
18968 -*) as_fn_error $?
"unrecognized option: \`$1'
18969 Try \`$0 --help' for more information." ;;
18971 *) as_fn_append ac_config_targets
" $1"
18972 ac_need_defaults
=false
;;
18978 ac_configure_extra_args
=
18980 if $ac_cs_silent; then
18982 ac_configure_extra_args
="$ac_configure_extra_args --silent"
18986 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18987 if \$ac_cs_recheck; then
18988 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
18990 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
18991 CONFIG_SHELL='$SHELL'
18992 export CONFIG_SHELL
18997 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19001 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
19002 ## Running $as_me. ##
19008 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19012 wine_fn_output_makedep ()
19014 as_dir=tools; as_fn_mkdir_p
19015 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
19017 wine_fn_output_makefile ()
19019 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" . && return
19020 `cat $wine_rules_file`
19022 as_fn_error $? "could not create Makefile" "$LINENO" 5
19024 wine_fn_output_gitignore ()
19026 sort <<\_WINE_EOF >\$tmp/gitignore && mv -f \$tmp/gitignore \$1 && return
19029 as_fn_error $? "could not create .gitignore" "$LINENO" 5
19034 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19036 # Handling of arguments.
19037 for ac_config_target
in $ac_config_targets
19039 case $ac_config_target in
19040 "include/config.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/config.h" ;;
19041 "include/stamp-h") CONFIG_COMMANDS
="$CONFIG_COMMANDS include/stamp-h" ;;
19042 "fonts/marlett.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
19043 "fonts/symbol.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
19044 "fonts/tahoma.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
19045 "fonts/tahomabd.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
19046 "fonts/wingding.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/wingding.ttf:fonts/wingding.ttf" ;;
19047 "loader/l_intl.nls") CONFIG_LINKS
="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
19048 "po/LINGUAS") CONFIG_LINKS
="$CONFIG_LINKS po/LINGUAS:po/LINGUAS" ;;
19049 "wine") CONFIG_LINKS
="$CONFIG_LINKS wine:tools/winewrapper" ;;
19050 "wine64") CONFIG_LINKS
="$CONFIG_LINKS wine64:tools/winewrapper" ;;
19051 "tools/makedep") CONFIG_COMMANDS
="$CONFIG_COMMANDS tools/makedep" ;;
19052 "Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS Makefile" ;;
19053 "Make.tmp") CONFIG_FILES
="$CONFIG_FILES Make.tmp:Makefile.in" ;;
19054 ".gitignore") CONFIG_COMMANDS
="$CONFIG_COMMANDS .gitignore" ;;
19056 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
19061 # If the user did not use the arguments to specify the items to instantiate,
19062 # then the envvar interface is used. Set only those that are not.
19063 # We use the long form for the default assignment because of an extremely
19064 # bizarre bug on SunOS 4.1.3.
19065 if $ac_need_defaults; then
19066 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
19067 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
19068 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS
=$config_links
19069 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
19072 # Have a temporary directory for convenience. Make it in the build tree
19073 # simply because there is no reason against having it here, and in addition,
19074 # creating and moving files from /tmp can sometimes cause problems.
19075 # Hook for its removal unless debugging.
19076 # Note that there is a small window in which the directory will not be cleaned:
19077 # after its creation but before its name has been assigned to `$tmp'.
19081 trap 'exit_status=$?
19082 : "${ac_tmp:=$tmp}"
19083 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
19085 trap 'as_fn_exit 1' 1 2 13 15
19087 # Create a (secure) tmp directory for tmp files.
19090 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
19094 tmp
=.
/conf$$
-$RANDOM
19095 (umask 077 && mkdir
"$tmp")
19096 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
19099 # Set up the scripts for CONFIG_FILES section.
19100 # No need to generate them if there are no CONFIG_FILES.
19101 # This happens for instance with `./config.status config.h'.
19102 if test -n "$CONFIG_FILES"; then
19105 ac_cr
=`echo X | tr X '\015'`
19106 # On cygwin, bash can eat \r inside `` if the user requested igncr.
19107 # But we know of no other shell where ac_cr would be empty at this
19108 # point, so we can use a bashism as a fallback.
19109 if test "x$ac_cr" = x
; then
19110 eval ac_cr
=\$
\'\\r
\'
19112 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
19113 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
19116 ac_cs_awk_cr
=$ac_cr
19119 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
19124 echo "cat >conf$$subs.awk <<_ACEOF" &&
19125 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
19127 } >conf$$subs.sh ||
19128 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
19129 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
19131 for ac_last_try in false false false false false :; do
19132 . ./conf$$subs.sh ||
19133 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
19135 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
19136 if test $ac_delim_n = $ac_delim_num; then
19138 elif $ac_last_try; then
19139 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
19141 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
19144 rm -f conf$$subs.sh
19146 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19147 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
19151 s/^/S["/; s
/!.
*/"]=/
19161 s/\(.\{148\}\)..*/\1/
19163 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
19168 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
19175 s/\(.\{148\}\)..*/\1/
19177 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
19181 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
19186 ' <conf$$subs.awk | sed '
19191 ' >>$CONFIG_STATUS || ac_write_fail=1
19192 rm -f conf$$subs.awk
19193 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19195 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
19196 for (key in S) S_is_set[key] = 1
19202 nfields = split(line, field, "@
")
19204 len = length(field[1])
19205 for (i = 2; i < nfields; i++) {
19207 keylen = length(key)
19208 if (S_is_set[key]) {
19210 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
19211 len += length(value) + length(field[++i])
19222 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19223 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
19224 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
19227 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
19228 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
19231 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
19232 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
19233 # trailing colons and then remove the whole line if VPATH becomes empty
19234 # (actually we leave an empty line to preserve line numbers).
19235 if test "x
$srcdir" = x.; then
19236 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
19254 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19255 fi # test -n "$CONFIG_FILES"
19257 # Set up the scripts for CONFIG_HEADERS section.
19258 # No need to generate them if there are no CONFIG_HEADERS.
19259 # This happens for instance with `./config.status Makefile'.
19260 if test -n "$CONFIG_HEADERS"; then
19261 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
19265 # Transform confdefs.h into an awk script `defines.awk', embedded as
19266 # here-document in config.status, that substitutes the proper values into
19267 # config.h.in to produce config.h.
19269 # Create a delimiter string that does not exist in confdefs.h, to ease
19270 # handling of long lines.
19272 for ac_last_try in false false :; do
19273 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
19274 if test -z "$ac_tt"; then
19276 elif $ac_last_try; then
19277 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
19279 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
19283 # For the awk script, D is an array of macro values keyed by name,
19284 # likewise P contains macro parameters if any. Preserve backslash
19285 # newline sequences.
19287 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
19289 s/.\{148\}/&'"$ac_delim"'/g
19292 s/^[ ]*#[ ]*define[ ][ ]*/ /
19299 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
19301 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
19305 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
19306 D["\
1"]=" \
3\\\\\\n
"\\/p
19308 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
19313 s/.\{148\}/&'"$ac_delim"'/g
19318 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
19321 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
19323 ' <confdefs.h | sed '
19324 s/'"$ac_delim"'/"\\\
19325 "/g' >>$CONFIG_STATUS || ac_write_fail=1
19327 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19328 for (key in D) D_is_set[key] = 1
19331 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
19333 split(line, arg, " ")
19334 if (arg[1] == "#") {
19338 defundef
= substr
(arg
[1], 2)
19341 split(mac1
, mac2
, "(") #)
19343 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
19344 if (D_is_set
[macro
]) {
19345 # Preserve the white space surrounding the "#".
19346 print prefix
"define", macro P
[macro
] D
[macro
]
19349 # Replace #undef with comments. This is necessary, for example,
19350 # in the case of _POSIX_SOURCE, which is predefined and required
19351 # on some systems where configure will not decide to define it.
19352 if (defundef
== "undef") {
19353 print
"/*", prefix defundef
, macro
, "*/"
19361 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19362 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
19363 fi # test -n "$CONFIG_HEADERS"
19366 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
19371 :[FHLC
]) ac_mode
=$ac_tag; continue;;
19373 case $ac_mode$ac_tag in
19375 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
19376 :[FH
]-) ac_tag
=-:-;;
19377 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
19394 -) ac_f
="$ac_tmp/stdin";;
19395 *) # Look for the file first in the build tree, then in the source tree
19396 # (if the path is not absolute). The absolute path cannot be DOS-style,
19397 # because $ac_f cannot contain `:'.
19401 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
19403 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
19405 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
19406 as_fn_append ac_file_inputs
" '$ac_f'"
19409 # Let's still pretend it is `configure' which instantiates (i.e., don't
19410 # use $as_me), people would be surprised to read:
19411 # /* config.h. Generated by config.status. */
19412 configure_input
='Generated from '`
19413 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
19415 if test x
"$ac_file" != x-
; then
19416 configure_input
="$ac_file. $configure_input"
19417 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
19418 $as_echo "$as_me: creating $ac_file" >&6;}
19420 # Neutralize special characters interpreted by sed in replacement strings.
19421 case $configure_input in #(
19422 *\
&* |
*\|
* |
*\\* )
19423 ac_sed_conf_input
=`$as_echo "$configure_input" |
19424 sed 's/[\\\\&|]/\\\\&/g'`;; #(
19425 *) ac_sed_conf_input
=$configure_input;;
19429 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
19430 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
19435 ac_dir
=`$as_dirname -- "$ac_file" ||
19436 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19437 X"$ac_file" : 'X\(//\)[^/]' \| \
19438 X"$ac_file" : 'X\(//\)$' \| \
19439 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
19440 $as_echo X"$ac_file" |
19441 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19445 /^X\(\/\/\)[^/].*/{
19458 as_dir
="$ac_dir"; as_fn_mkdir_p
19462 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
19464 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
19465 # A ".." for each directory in $ac_dir_suffix.
19466 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
19467 case $ac_top_builddir_sub in
19468 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
19469 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
19472 ac_abs_top_builddir
=$ac_pwd
19473 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
19474 # for backward compatibility:
19475 ac_top_builddir
=$ac_top_build_prefix
19478 .
) # We are building in place.
19480 ac_top_srcdir
=$ac_top_builddir_sub
19481 ac_abs_top_srcdir
=$ac_pwd ;;
19482 [\\/]* | ?
:[\\/]* ) # Absolute name.
19483 ac_srcdir
=$srcdir$ac_dir_suffix;
19484 ac_top_srcdir
=$srcdir
19485 ac_abs_top_srcdir
=$srcdir ;;
19486 *) # Relative name.
19487 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
19488 ac_top_srcdir
=$ac_top_build_prefix$srcdir
19489 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
19491 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
19502 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19503 # If the template does not know about datarootdir, expand it.
19504 # FIXME: This hack should be removed a few years after 2.60.
19505 ac_datarootdir_hack
=; ac_datarootdir_seen
=
19516 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
19517 *datarootdir
*) ac_datarootdir_seen
=yes;;
19518 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
19519 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
19520 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
19522 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19523 ac_datarootdir_hack='
19524 s&@datadir@&$datadir&g
19525 s&@docdir@&$docdir&g
19526 s&@infodir@&$infodir&g
19527 s&@localedir@&$localedir&g
19528 s&@mandir@&$mandir&g
19529 s&\\\${datarootdir}&$datarootdir&g' ;;
19533 # Neutralize VPATH when `$srcdir' = `.'.
19534 # Shell code in configure.ac might set extrasub.
19535 # FIXME: do we really want to maintain this feature?
19536 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19537 ac_sed_extra="$ac_vpsub
19540 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19542 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
19543 s|@configure_input@|
$ac_sed_conf_input|
;t t
19544 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
19545 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
19546 s
&@srcdir@
&$ac_srcdir&;t t
19547 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
19548 s
&@top_srcdir@
&$ac_top_srcdir&;t t
19549 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
19550 s
&@builddir@
&$ac_builddir&;t t
19551 s
&@abs_builddir@
&$ac_abs_builddir&;t t
19552 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
19553 $ac_datarootdir_hack
19555 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
19556 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
19558 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
19559 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
19560 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
19561 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
19562 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
19563 which seems to be undefined. Please make sure it is defined" >&5
19564 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
19565 which seems to be undefined. Please make sure it is defined" >&2;}
19567 rm -f "$ac_tmp/stdin"
19569 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
19570 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
19572 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19578 if test x"$ac_file" != x-; then
19580 $as_echo "/* $configure_input */" \
19581 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
19582 } >"$ac_tmp/config.h" \
19583 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19584 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
19585 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
19586 $as_echo "$as_me: $ac_file is unchanged" >&6;}
19589 mv "$ac_tmp/config.h" "$ac_file" \
19590 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19593 $as_echo "/* $configure_input */" \
19594 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
19595 || as_fn_error $? "could not create -" "$LINENO" 5
19603 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.
'; then
19606 # Prefer the file from the source tree if names are identical.
19607 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
19608 ac_source=$srcdir/$ac_source
19611 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
19612 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
19614 if test ! -r "$ac_source"; then
19615 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
19619 # Try a relative symlink, then a hard link, then a copy.
19621 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
19622 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
19624 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
19625 ln "$ac_source" "$ac_file" 2>/dev/null ||
19626 cp -p "$ac_source" "$ac_file" ||
19627 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
19630 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
19631 $as_echo "$as_me: executing $ac_file commands" >&6;}
19636 case $ac_file$ac_mode in
19637 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
19638 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
19639 "Makefile":C) wine_fn_output_makefile Makefile ;;
19640 ".gitignore":C) wine_fn_output_gitignore .gitignore ;;
19648 ac_clean_files=$ac_clean_files_save
19650 test $ac_write_fail = 0 ||
19651 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
19654 # configure is writing to config.log, and then calls config.status.
19655 # config.status does its own redirection, appending to config.log.
19656 # Unfortunately, on DOS this fails, as config.log is still kept open
19657 # by configure, so config.status won't be able to
write to it
; its
19658 # output is simply discarded. So we exec the FD to /dev/null,
19659 # effectively closing config.log, so it can be properly (re)opened and
19660 # appended to by config.status. When coming back to configure, we
19661 # need to make the FD available again.
19662 if test "$no_create" != yes; then
19664 ac_config_status_args
=
19665 test "$silent" = yes &&
19666 ac_config_status_args
="$ac_config_status_args --quiet"
19668 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
19670 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
19671 # would make configure fail if this is the last instruction.
19672 $ac_cs_success || as_fn_exit
1
19674 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
19675 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
19676 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
19680 if test "$no_create" = "yes"
19686 if test "x$wine_notices" != x
; then
19689 for msg
in $wine_notices; do
19691 if ${msg:+false} :; then :
19694 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
19695 $as_echo "$as_me: $msg" >&6;}
19700 for msg
in $wine_warnings; do
19702 if ${msg:+false} :; then :
19706 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
19707 $as_echo "$as_me: WARNING: $msg" >&2;}
19713 $as_me: Finished. Do '${ac_make}' to compile Wine.