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_lsalookup_l1_1_0
960 enable_api_ms_win_security_sddl_l1_1_0
961 enable_api_ms_win_service_core_l1_1_1
962 enable_api_ms_win_service_management_l1_1_0
963 enable_api_ms_win_service_winsvc_l1_2_0
1008 enable_d3dcompiler_33
1009 enable_d3dcompiler_34
1010 enable_d3dcompiler_35
1011 enable_d3dcompiler_36
1012 enable_d3dcompiler_37
1013 enable_d3dcompiler_38
1014 enable_d3dcompiler_39
1015 enable_d3dcompiler_40
1016 enable_d3dcompiler_41
1017 enable_d3dcompiler_42
1018 enable_d3dcompiler_43
1019 enable_d3dcompiler_46
1020 enable_d3dcompiler_47
1098 enable_explorerframe
1099 enable_ext_ms_win_gdi_devcaps_l1_1_0
1259 enable_photometadatahandler
1347 enable_windowscodecs
1348 enable_windowscodecsext
1350 enable_winecoreaudio_drv
1352 enable_winegstreamer
1353 enable_winejoystick_drv
1359 enable_winepulse_drv
1360 enable_wineqtdecoder
1425 enable_aspnet_regiis
1458 enable_presentationfontcache
1471 enable_servicemodelreg
1492 enable_winemenubuilder
1494 enable_winemsibuilder
1509 ac_precious_vars
='build_alias
1560 # Initialize some variables set by options.
1562 ac_init_version
=false
1563 ac_unrecognized_opts
=
1564 ac_unrecognized_sep
=
1565 # The variables have the same names as the options, with
1566 # dashes changed to underlines.
1567 cache_file
=/dev
/null
1574 program_transform_name
=s
,x
,x
,
1582 # Installation directory options.
1583 # These are left unexpanded so users can "make install exec_prefix=/foo"
1584 # and all the variables that are supposed to be based on exec_prefix
1585 # by default will actually change.
1586 # Use braces instead of parens because sh, perl, etc. also accept them.
1587 # (The list follows the same order as the GNU Coding Standards.)
1588 bindir
='${exec_prefix}/bin'
1589 sbindir
='${exec_prefix}/sbin'
1590 libexecdir
='${exec_prefix}/libexec'
1591 datarootdir
='${prefix}/share'
1592 datadir
='${datarootdir}'
1593 sysconfdir
='${prefix}/etc'
1594 sharedstatedir
='${prefix}/com'
1595 localstatedir
='${prefix}/var'
1596 runstatedir
='${localstatedir}/run'
1597 includedir
='${prefix}/include'
1598 oldincludedir
='/usr/include'
1599 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
1600 infodir
='${datarootdir}/info'
1605 libdir
='${exec_prefix}/lib'
1606 localedir
='${datarootdir}/locale'
1607 mandir
='${datarootdir}/man'
1613 # If the previous option needs an argument, assign it.
1614 if test -n "$ac_prev"; then
1615 eval $ac_prev=\
$ac_option
1621 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1626 # Accept the important Cygnus configure options, so we can diagnose typos.
1628 case $ac_dashdash$ac_option in
1632 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
1634 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
1635 bindir
=$ac_optarg ;;
1637 -build |
--build |
--buil |
--bui |
--bu)
1638 ac_prev
=build_alias
;;
1639 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
1640 build_alias
=$ac_optarg ;;
1642 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
1643 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
1644 ac_prev
=cache_file
;;
1645 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
1646 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
1647 cache_file
=$ac_optarg ;;
1649 --config-cache |
-C)
1650 cache_file
=config.cache
;;
1652 -datadir |
--datadir |
--datadi |
--datad)
1654 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
1655 datadir
=$ac_optarg ;;
1657 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1658 |
--dataroo |
--dataro |
--datar)
1659 ac_prev
=datarootdir
;;
1660 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1661 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1662 datarootdir
=$ac_optarg ;;
1664 -disable-* |
--disable-*)
1665 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1666 # Reject names that are not valid shell variable names.
1667 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1668 as_fn_error $?
"invalid feature name: $ac_useropt"
1669 ac_useropt_orig
=$ac_useropt
1670 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1671 case $ac_user_opts in
1673 "enable_
$ac_useropt"
1675 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1676 ac_unrecognized_sep
=', ';;
1678 eval enable_
$ac_useropt=no
;;
1680 -docdir |
--docdir |
--docdi |
--doc |
--do)
1682 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1683 docdir
=$ac_optarg ;;
1685 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1687 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1688 dvidir
=$ac_optarg ;;
1690 -enable-* |
--enable-*)
1691 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1692 # Reject names that are not valid shell variable names.
1693 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1694 as_fn_error $?
"invalid feature name: $ac_useropt"
1695 ac_useropt_orig
=$ac_useropt
1696 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1697 case $ac_user_opts in
1699 "enable_
$ac_useropt"
1701 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1702 ac_unrecognized_sep
=', ';;
1704 eval enable_
$ac_useropt=\
$ac_optarg ;;
1706 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1707 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1708 |
--exec |
--exe |
--ex)
1709 ac_prev
=exec_prefix
;;
1710 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1711 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1712 |
--exec=* |
--exe=* |
--ex=*)
1713 exec_prefix
=$ac_optarg ;;
1715 -gas |
--gas |
--ga |
--g)
1716 # Obsolete; use --with-gas.
1719 -help |
--help |
--hel |
--he |
-h)
1720 ac_init_help
=long
;;
1721 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1722 ac_init_help
=recursive
;;
1723 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1724 ac_init_help
=short
;;
1726 -host |
--host |
--hos |
--ho)
1727 ac_prev
=host_alias
;;
1728 -host=* |
--host=* |
--hos=* |
--ho=*)
1729 host_alias
=$ac_optarg ;;
1731 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1733 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1735 htmldir
=$ac_optarg ;;
1737 -includedir |
--includedir |
--includedi |
--included |
--include \
1738 |
--includ |
--inclu |
--incl |
--inc)
1739 ac_prev
=includedir
;;
1740 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1741 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1742 includedir
=$ac_optarg ;;
1744 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1746 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1747 infodir
=$ac_optarg ;;
1749 -libdir |
--libdir |
--libdi |
--libd)
1751 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1752 libdir
=$ac_optarg ;;
1754 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1755 |
--libexe |
--libex |
--libe)
1756 ac_prev
=libexecdir
;;
1757 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1758 |
--libexe=* |
--libex=* |
--libe=*)
1759 libexecdir
=$ac_optarg ;;
1761 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1762 ac_prev
=localedir
;;
1763 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1764 localedir
=$ac_optarg ;;
1766 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1767 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1768 ac_prev
=localstatedir
;;
1769 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1770 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1771 localstatedir
=$ac_optarg ;;
1773 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1775 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1776 mandir
=$ac_optarg ;;
1778 -nfp |
--nfp |
--nf)
1779 # Obsolete; use --without-fp.
1782 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1783 |
--no-cr |
--no-c |
-n)
1786 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1787 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1790 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1791 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1792 |
--oldin |
--oldi |
--old |
--ol |
--o)
1793 ac_prev
=oldincludedir
;;
1794 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1795 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1796 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1797 oldincludedir
=$ac_optarg ;;
1799 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1801 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1802 prefix
=$ac_optarg ;;
1804 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1805 |
--program-pre |
--program-pr |
--program-p)
1806 ac_prev
=program_prefix
;;
1807 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1808 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1809 program_prefix
=$ac_optarg ;;
1811 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1812 |
--program-suf |
--program-su |
--program-s)
1813 ac_prev
=program_suffix
;;
1814 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1815 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1816 program_suffix
=$ac_optarg ;;
1818 -program-transform-name |
--program-transform-name \
1819 |
--program-transform-nam |
--program-transform-na \
1820 |
--program-transform-n |
--program-transform- \
1821 |
--program-transform |
--program-transfor \
1822 |
--program-transfo |
--program-transf \
1823 |
--program-trans |
--program-tran \
1824 |
--progr-tra |
--program-tr |
--program-t)
1825 ac_prev
=program_transform_name
;;
1826 -program-transform-name=* |
--program-transform-name=* \
1827 |
--program-transform-nam=* |
--program-transform-na=* \
1828 |
--program-transform-n=* |
--program-transform-=* \
1829 |
--program-transform=* |
--program-transfor=* \
1830 |
--program-transfo=* |
--program-transf=* \
1831 |
--program-trans=* |
--program-tran=* \
1832 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1833 program_transform_name
=$ac_optarg ;;
1835 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1837 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1838 pdfdir
=$ac_optarg ;;
1840 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1842 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1845 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1846 |
-silent |
--silent |
--silen |
--sile |
--sil)
1849 -runstatedir |
--runstatedir |
--runstatedi |
--runstated \
1850 |
--runstate |
--runstat |
--runsta |
--runst |
--runs \
1851 |
--run |
--ru |
--r)
1852 ac_prev
=runstatedir
;;
1853 -runstatedir=* |
--runstatedir=* |
--runstatedi=* |
--runstated=* \
1854 |
--runstate=* |
--runstat=* |
--runsta=* |
--runst=* |
--runs=* \
1855 |
--run=* |
--ru=* |
--r=*)
1856 runstatedir
=$ac_optarg ;;
1858 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1860 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1862 sbindir
=$ac_optarg ;;
1864 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1865 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1866 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1868 ac_prev
=sharedstatedir
;;
1869 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1870 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1871 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1873 sharedstatedir
=$ac_optarg ;;
1875 -site |
--site |
--sit)
1877 -site=* |
--site=* |
--sit=*)
1880 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1882 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1883 srcdir
=$ac_optarg ;;
1885 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1886 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1887 ac_prev
=sysconfdir
;;
1888 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1889 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1890 sysconfdir
=$ac_optarg ;;
1892 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1893 ac_prev
=target_alias
;;
1894 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1895 target_alias
=$ac_optarg ;;
1897 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1900 -version |
--version |
--versio |
--versi |
--vers |
-V)
1901 ac_init_version
=: ;;
1904 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1905 # Reject names that are not valid shell variable names.
1906 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1907 as_fn_error $?
"invalid package name: $ac_useropt"
1908 ac_useropt_orig
=$ac_useropt
1909 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1910 case $ac_user_opts in
1914 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1915 ac_unrecognized_sep
=', ';;
1917 eval with_
$ac_useropt=\
$ac_optarg ;;
1919 -without-* |
--without-*)
1920 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1921 # Reject names that are not valid shell variable names.
1922 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1923 as_fn_error $?
"invalid package name: $ac_useropt"
1924 ac_useropt_orig
=$ac_useropt
1925 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1926 case $ac_user_opts in
1930 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1931 ac_unrecognized_sep
=', ';;
1933 eval with_
$ac_useropt=no
;;
1936 # Obsolete; use --with-x.
1939 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1940 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1941 ac_prev
=x_includes
;;
1942 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1943 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1944 x_includes
=$ac_optarg ;;
1946 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1947 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1948 ac_prev
=x_libraries
;;
1949 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1950 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1951 x_libraries
=$ac_optarg ;;
1953 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1954 Try \`$0 --help' for more information"
1958 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1959 # Reject names that are not valid shell variable names.
1960 case $ac_envvar in #(
1961 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1962 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1964 eval $ac_envvar=\
$ac_optarg
1965 export $ac_envvar ;;
1968 # FIXME: should be removed in autoconf 3.0.
1969 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1970 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1971 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1972 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1978 if test -n "$ac_prev"; then
1979 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1980 as_fn_error $?
"missing argument to $ac_option"
1983 if test -n "$ac_unrecognized_opts"; then
1984 case $enable_option_checking in
1986 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1987 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1991 # Check all directory arguments for consistency.
1992 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1993 datadir sysconfdir sharedstatedir localstatedir includedir \
1994 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1995 libdir localedir mandir runstatedir
1997 eval ac_val
=\$
$ac_var
1998 # Remove trailing slashes.
2001 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2002 eval $ac_var=\
$ac_val;;
2004 # Be sure to have absolute directory names.
2006 [\\/$
]* | ?
:[\\/]* ) continue;;
2007 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
2009 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
2012 # There might be people who depend on the old broken behavior: `$host'
2013 # used to hold the argument of --host etc.
2014 # FIXME: To remove some day.
2017 target
=$target_alias
2019 # FIXME: To remove some day.
2020 if test "x$host_alias" != x
; then
2021 if test "x$build_alias" = x
; then
2022 cross_compiling
=maybe
2023 elif test "x$build_alias" != "x$host_alias"; then
2029 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
2031 test "$silent" = yes && exec 6>/dev
/null
2034 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
2035 ac_ls_di
=`ls -di .` &&
2036 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
2037 as_fn_error $?
"working directory cannot be determined"
2038 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2039 as_fn_error $?
"pwd does not report name of working directory"
2042 # Find the source files, if location was not specified.
2043 if test -z "$srcdir"; then
2044 ac_srcdir_defaulted
=yes
2045 # Try the directory containing this script, then the parent directory.
2046 ac_confdir
=`$as_dirname -- "$as_myself" ||
2047 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2048 X"$as_myself" : 'X\(//\)[^/]' \| \
2049 X"$as_myself" : 'X\(//\)$' \| \
2050 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2051 $as_echo X"$as_myself" |
2052 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2070 if test ! -r "$srcdir/$ac_unique_file"; then
2074 ac_srcdir_defaulted
=no
2076 if test ! -r "$srcdir/$ac_unique_file"; then
2077 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
2078 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
2080 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
2082 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2084 # When building in place, set srcdir=.
2085 if test "$ac_abs_confdir" = "$ac_pwd"; then
2088 # Remove unnecessary trailing slashes from srcdir.
2089 # Double slashes in file names in object file debugging info
2090 # mess up M-x gdb in Emacs.
2092 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2094 for ac_var
in $ac_precious_vars; do
2095 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
2096 eval ac_env_
${ac_var}_value
=\$
${ac_var}
2097 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
2098 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
2102 # Report the --help message.
2104 if test "$ac_init_help" = "long"; then
2105 # Omit some internal or obsolete options to make the list less imposing.
2106 # This message is too long to be a string in the A/UX 3.1 sh.
2108 \`configure' configures Wine 1.8 to adapt to many kinds of systems.
2110 Usage: $0 [OPTION]... [VAR=VALUE]...
2112 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2113 VAR=VALUE. See below for descriptions of some of the useful variables.
2115 Defaults for the options are specified in brackets.
2118 -h, --help display this help and exit
2119 --help=short display options specific to this package
2120 --help=recursive display the short help of all the included packages
2121 -V, --version display version information and exit
2122 -q, --quiet, --silent do not print \`checking ...' messages
2123 --cache-file=FILE cache test results in FILE [disabled]
2124 -C, --config-cache alias for \`--cache-file=config.cache'
2125 -n, --no-create do not create output files
2126 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2128 Installation directories:
2129 --prefix=PREFIX install architecture-independent files in PREFIX
2130 [$ac_default_prefix]
2131 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2134 By default, \`make install' will install all the files in
2135 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2136 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2137 for instance \`--prefix=\$HOME'.
2139 For better control, use the options below.
2141 Fine tuning of the installation directories:
2142 --bindir=DIR user executables [EPREFIX/bin]
2143 --sbindir=DIR system admin executables [EPREFIX/sbin]
2144 --libexecdir=DIR program executables [EPREFIX/libexec]
2145 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2146 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2147 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2148 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2149 --libdir=DIR object code libraries [EPREFIX/lib]
2150 --includedir=DIR C header files [PREFIX/include]
2151 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2152 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2153 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2154 --infodir=DIR info documentation [DATAROOTDIR/info]
2155 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2156 --mandir=DIR man documentation [DATAROOTDIR/man]
2157 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2158 --htmldir=DIR html documentation [DOCDIR]
2159 --dvidir=DIR dvi documentation [DOCDIR]
2160 --pdfdir=DIR pdf documentation [DOCDIR]
2161 --psdir=DIR ps documentation [DOCDIR]
2167 --x-includes=DIR X include files are
in DIR
2168 --x-libraries=DIR X library files are
in DIR
2171 --build=BUILD configure
for building on BUILD
[guessed
]
2172 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
2176 if test -n "$ac_init_help"; then
2177 case $ac_init_help in
2178 short | recursive
) echo "Configuration of Wine 1.8:";;
2183 --disable-option-checking ignore unrecognized
--enable/--with options
2184 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
2185 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
2186 --disable-win16 do not include Win16 support
2187 --enable-win64 build a Win64 emulator on AMD64
(won
't run Win32
2189 --disable-tests do not build the regression tests
2190 --enable-maintainer-mode
2191 enable maintainer-specific build rules
2192 --disable-largefile omit support for large files
2195 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2196 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2197 --without-alsa do not use the Alsa sound support
2198 --without-capi do not use CAPI (ISDN support)
2199 --without-cms do not use CMS (color management support)
2200 --without-coreaudio do not use the CoreAudio sound support
2201 --without-cups do not use CUPS
2202 --without-curses do not use (n)curses
2203 --without-dbus do not use DBus (dynamic device support)
2204 --without-fontconfig do not use fontconfig
2205 --without-freetype do not use the FreeType library
2206 --without-gettext do not use gettext
2207 --with-gettextpo use the GetTextPO library to rebuild po files
2208 --without-gphoto do not use gphoto (Digital Camera support)
2209 --without-glu do not use the GLU library
2210 --without-gnutls do not use GnuTLS (schannel support)
2211 --without-gsm do not use libgsm (GSM 06.10 codec support)
2212 --without-gstreamer do not use GStreamer (codecs support)
2213 --without-hal do not use HAL (dynamic device support)
2214 --without-jpeg do not use JPEG
2215 --without-ldap do not use LDAP
2216 --without-mpg123 do not use the mpg123 library
2217 --without-netapi do not use the Samba NetAPI library
2218 --without-openal do not use OpenAL
2219 --without-opencl do not use OpenCL
2220 --without-opengl do not use OpenGL
2221 --without-osmesa do not use the OSMesa library
2222 --without-oss do not use the OSS sound support
2223 --without-pcap do not use the Packet Capture library
2224 --without-png do not use PNG
2225 --without-pthread do not use the pthread library
2226 --without-pulse do not use PulseAudio sound support
2227 --without-sane do not use SANE (scanner support)
2228 --without-tiff do not use TIFF
2229 --without-v4l do not use v4l1 (v4l support)
2230 --without-xcomposite do not use the Xcomposite extension
2231 --without-xcursor do not use the Xcursor extension
2232 --without-xinerama do not use Xinerama (multi-monitor support)
2233 --without-xinput do not use the Xinput extension
2234 --without-xinput2 do not use the Xinput 2 extension
2235 --without-xml do not use XML
2236 --without-xrandr do not use Xrandr (resolution changes)
2237 --without-xrender do not use the Xrender extension
2238 --without-xshape do not use the Xshape extension
2239 --without-xshm do not use XShm (shared memory extension)
2240 --without-xslt do not use XSLT
2241 --without-xxf86vm do not use XFree video mode extension
2242 --without-zlib do not use Zlib (data compression)
2243 --with-wine-tools=DIR use Wine tools from directory DIR
2244 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2245 --with-x use the X Window System
2247 Some influential environment variables:
2248 CC C compiler command
2249 CFLAGS C compiler flags
2250 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2251 nonstandard directory <lib dir>
2252 LIBS libraries to pass to the linker, e.g. -l<library>
2253 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2254 you have headers in a nonstandard directory <include dir>
2255 CXX C++ compiler command
2256 CXXFLAGS C++ compiler flags
2258 XMKMF Path to xmkmf, Makefile generator for X Window System
2259 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2260 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2261 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2262 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2263 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2264 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2265 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2266 HAL_LIBS Linker flags for hal, overriding pkg-config
2268 C compiler flags for gnutls, overriding pkg-config
2269 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2270 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2271 SANE_LIBS Linker flags for libsane, overriding pkg-config
2273 C compiler flags for libgphoto2, overriding pkg-config
2275 Linker flags for libgphoto2, overriding pkg-config
2277 C compiler flags for libgphoto2_port, overriding pkg-config
2279 Linker flags for libgphoto2_port, overriding pkg-config
2281 C compiler flags for lcms2, overriding pkg-config
2282 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2284 C compiler flags for freetype2, overriding pkg-config
2286 Linker flags for freetype2, overriding pkg-config
2288 C compiler flags for libpulse, overriding pkg-config
2289 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2291 C compiler flags for gstreamer-app-0.10, overriding pkg-config
2293 Linker flags for gstreamer-app-0.10, overriding pkg-config
2295 C compiler flags for capi20, overriding pkg-config
2296 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2298 C compiler flags for fontconfig, overriding pkg-config
2300 Linker flags for fontconfig, overriding pkg-config
2301 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2302 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2303 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2304 PNG_LIBS Linker flags for libpng, overriding pkg-config
2305 TIFF_CFLAGS C compiler flags for libtiff-4, overriding pkg-config
2306 TIFF_LIBS Linker flags for libtiff-4, overriding pkg-config
2308 C compiler flags for libmpg123, overriding pkg-config
2309 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2311 Use these variables to override the choices made by `configure' or to
help
2312 it to
find libraries and programs with nonstandard names
/locations.
2314 Report bugs to
<wine-devel@winehq.org
>.
2315 Wine home page
: <http
://www.winehq.org
>.
2320 if test "$ac_init_help" = "recursive"; then
2321 # If there are subdirs, report their specific --help.
2322 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
2323 test -d "$ac_dir" ||
2324 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
2329 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2331 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2332 # A ".." for each directory in $ac_dir_suffix.
2333 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2334 case $ac_top_builddir_sub in
2335 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2336 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
2339 ac_abs_top_builddir
=$ac_pwd
2340 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
2341 # for backward compatibility:
2342 ac_top_builddir
=$ac_top_build_prefix
2345 .
) # We are building in place.
2347 ac_top_srcdir
=$ac_top_builddir_sub
2348 ac_abs_top_srcdir
=$ac_pwd ;;
2349 [\\/]* | ?
:[\\/]* ) # Absolute name.
2350 ac_srcdir
=$srcdir$ac_dir_suffix;
2351 ac_top_srcdir
=$srcdir
2352 ac_abs_top_srcdir
=$srcdir ;;
2354 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
2355 ac_top_srcdir
=$ac_top_build_prefix$srcdir
2356 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
2358 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
2360 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
2361 # Check for guested configure.
2362 if test -f "$ac_srcdir/configure.gnu"; then
2364 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2365 elif test -f "$ac_srcdir/configure"; then
2367 $SHELL "$ac_srcdir/configure" --help=recursive
2369 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2371 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
2375 test -n "$ac_init_help" && exit $ac_status
2376 if $ac_init_version; then
2379 generated by GNU Autoconf
2.69
2381 Copyright
(C
) 2012 Free Software Foundation
, Inc.
2382 This configure
script is free software
; the Free Software Foundation
2383 gives unlimited permission to copy
, distribute and modify it.
2388 ## ------------------------ ##
2389 ## Autoconf initialization. ##
2390 ## ------------------------ ##
2392 # ac_fn_c_try_compile LINENO
2393 # --------------------------
2394 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2395 ac_fn_c_try_compile
()
2397 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2398 rm -f conftest.
$ac_objext
2399 if { { ac_try
="$ac_compile"
2401 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2402 *) ac_try_echo=$ac_try;;
2404 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2405 $as_echo "$ac_try_echo"; } >&5
2406 (eval "$ac_compile") 2>conftest.err
2408 if test -s conftest.err; then
2409 grep -v '^ *+' conftest.err >conftest.er1
2410 cat conftest.er1 >&5
2411 mv -f conftest.er1 conftest.err
2413 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2414 test $ac_status = 0; } && {
2415 test -z "$ac_c_werror_flag" ||
2416 test ! -s conftest.err
2417 } && test -s conftest.$ac_objext; then :
2420 $as_echo "$as_me: failed program was:" >&5
2421 sed 's/^/| /' conftest.$ac_ext >&5
2425 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2426 as_fn_set_status $ac_retval
2428 } # ac_fn_c_try_compile
2430 # ac_fn_cxx_try_compile LINENO
2431 # ----------------------------
2432 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2433 ac_fn_cxx_try_compile ()
2435 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2436 rm -f conftest.$ac_objext
2437 if { { ac_try="$ac_compile"
2439 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2440 *) ac_try_echo
=$ac_try;;
2442 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2443 $as_echo "$ac_try_echo"; } >&5
2444 (eval "$ac_compile") 2>conftest.err
2446 if test -s conftest.err
; then
2447 grep -v '^ *+' conftest.err
>conftest.er1
2448 cat conftest.er1
>&5
2449 mv -f conftest.er1 conftest.err
2451 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2452 test $ac_status = 0; } && {
2453 test -z "$ac_cxx_werror_flag" ||
2454 test ! -s conftest.err
2455 } && test -s conftest.
$ac_objext; then :
2458 $as_echo "$as_me: failed program was:" >&5
2459 sed 's/^/| /' conftest.
$ac_ext >&5
2463 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2464 as_fn_set_status
$ac_retval
2466 } # ac_fn_cxx_try_compile
2468 # ac_fn_c_try_link LINENO
2469 # -----------------------
2470 # Try to link conftest.$ac_ext, and return whether this succeeded.
2473 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2474 rm -f conftest.
$ac_objext conftest
$ac_exeext
2475 if { { ac_try
="$ac_link"
2477 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2478 *) ac_try_echo=$ac_try;;
2480 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2481 $as_echo "$ac_try_echo"; } >&5
2482 (eval "$ac_link") 2>conftest.err
2484 if test -s conftest.err; then
2485 grep -v '^ *+' conftest.err >conftest.er1
2486 cat conftest.er1 >&5
2487 mv -f conftest.er1 conftest.err
2489 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2490 test $ac_status = 0; } && {
2491 test -z "$ac_c_werror_flag" ||
2492 test ! -s conftest.err
2493 } && test -s conftest$ac_exeext && {
2494 test "$cross_compiling" = yes ||
2495 test -x conftest$ac_exeext
2499 $as_echo "$as_me: failed program was:" >&5
2500 sed 's/^/| /' conftest.$ac_ext >&5
2504 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2505 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2506 # interfere with the next link command; also delete a directory that is
2507 # left behind by Apple's compiler. We do this before executing the actions.
2508 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2509 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2510 as_fn_set_status $ac_retval
2512 } # ac_fn_c_try_link
2514 # ac_fn_c_try_cpp LINENO
2515 # ----------------------
2516 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2519 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2520 if { { ac_try="$ac_cpp conftest.$ac_ext"
2522 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2523 *) ac_try_echo
=$ac_try;;
2525 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2526 $as_echo "$ac_try_echo"; } >&5
2527 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2529 if test -s conftest.err
; then
2530 grep -v '^ *+' conftest.err
>conftest.er1
2531 cat conftest.er1
>&5
2532 mv -f conftest.er1 conftest.err
2534 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2535 test $ac_status = 0; } > conftest.i
&& {
2536 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2537 test ! -s conftest.err
2541 $as_echo "$as_me: failed program was:" >&5
2542 sed 's/^/| /' conftest.
$ac_ext >&5
2546 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2547 as_fn_set_status
$ac_retval
2551 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2552 # -------------------------------------------------------
2553 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2554 # the include files in INCLUDES and setting the cache variable VAR
2556 ac_fn_c_check_header_mongrel
()
2558 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2559 if eval \
${$3+:} false
; then :
2560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2561 $as_echo_n "checking for $2... " >&6; }
2562 if eval \
${$3+:} false
; then :
2563 $as_echo_n "(cached) " >&6
2566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2567 $as_echo "$ac_res" >&6; }
2569 # Is the header compilable?
2570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2571 $as_echo_n "checking $2 usability... " >&6; }
2572 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2573 /* end confdefs.h. */
2577 if ac_fn_c_try_compile
"$LINENO"; then :
2578 ac_header_compiler
=yes
2580 ac_header_compiler
=no
2582 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2584 $as_echo "$ac_header_compiler" >&6; }
2586 # Is the header present?
2587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2588 $as_echo_n "checking $2 presence... " >&6; }
2589 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2590 /* end confdefs.h. */
2593 if ac_fn_c_try_cpp
"$LINENO"; then :
2594 ac_header_preproc
=yes
2596 ac_header_preproc
=no
2598 rm -f conftest.err conftest.i conftest.
$ac_ext
2599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2600 $as_echo "$ac_header_preproc" >&6; }
2602 # So? What about this header?
2603 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2605 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2606 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2607 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2608 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2611 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2612 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2613 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2614 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2615 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2616 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2617 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2618 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2619 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2620 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2621 ( $as_echo "## ------------------------------------ ##
2622 ## Report this to wine-devel@winehq.org ##
2623 ## ------------------------------------ ##"
2624 ) |
sed "s/^/$as_me: WARNING: /" >&2
2627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2628 $as_echo_n "checking for $2... " >&6; }
2629 if eval \
${$3+:} false
; then :
2630 $as_echo_n "(cached) " >&6
2632 eval "$3=\$ac_header_compiler"
2635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2636 $as_echo "$ac_res" >&6; }
2638 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2640 } # ac_fn_c_check_header_mongrel
2642 # ac_fn_c_try_run LINENO
2643 # ----------------------
2644 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2645 # that executables *can* be run.
2648 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2649 if { { ac_try
="$ac_link"
2651 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2652 *) ac_try_echo=$ac_try;;
2654 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2655 $as_echo "$ac_try_echo"; } >&5
2656 (eval "$ac_link") 2>&5
2658 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2659 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2660 { { case "(($ac_try" in
2661 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2662 *) ac_try_echo
=$ac_try;;
2664 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2665 $as_echo "$ac_try_echo"; } >&5
2666 (eval "$ac_try") 2>&5
2668 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2669 test $ac_status = 0; }; }; then :
2672 $as_echo "$as_me: program exited with status $ac_status" >&5
2673 $as_echo "$as_me: failed program was:" >&5
2674 sed 's/^/| /' conftest.
$ac_ext >&5
2676 ac_retval
=$ac_status
2678 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2679 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2680 as_fn_set_status
$ac_retval
2684 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2685 # -------------------------------------------------------
2686 # Tests whether HEADER exists and can be compiled using the include files in
2687 # INCLUDES, setting the cache variable VAR accordingly.
2688 ac_fn_c_check_header_compile
()
2690 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2692 $as_echo_n "checking for $2... " >&6; }
2693 if eval \
${$3+:} false
; then :
2694 $as_echo_n "(cached) " >&6
2696 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2697 /* end confdefs.h. */
2701 if ac_fn_c_try_compile
"$LINENO"; then :
2706 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2710 $as_echo "$ac_res" >&6; }
2711 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2713 } # ac_fn_c_check_header_compile
2715 # ac_fn_c_check_func LINENO FUNC VAR
2716 # ----------------------------------
2717 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2718 ac_fn_c_check_func
()
2720 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2722 $as_echo_n "checking for $2... " >&6; }
2723 if eval \
${$3+:} false
; then :
2724 $as_echo_n "(cached) " >&6
2726 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2727 /* end confdefs.h. */
2728 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2729 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2730 #define $2 innocuous_$2
2732 /* System header to define __stub macros and hopefully few prototypes,
2733 which can conflict with char $2 (); below.
2734 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2735 <limits.h> exists even on freestanding compilers. */
2738 # include <limits.h>
2740 # include <assert.h>
2745 /* Override any GCC internal prototype to avoid an error.
2746 Use char because int might match the return type of a GCC
2747 builtin and then its argument prototype would still apply. */
2752 /* The GNU C library defines this for functions which it implements
2753 to always fail with ENOSYS. Some functions are actually named
2754 something starting with __ and the normal name is an alias. */
2755 #if defined __stub_$2 || defined __stub___$2
2767 if ac_fn_c_try_link
"$LINENO"; then :
2772 rm -f core conftest.err conftest.
$ac_objext \
2773 conftest
$ac_exeext conftest.
$ac_ext
2776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2777 $as_echo "$ac_res" >&6; }
2778 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2780 } # ac_fn_c_check_func
2782 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2783 # ----------------------------------------------------
2784 # Tries to find if the field MEMBER exists in type AGGR, after including
2785 # INCLUDES, setting cache variable VAR accordingly.
2786 ac_fn_c_check_member
()
2788 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2790 $as_echo_n "checking for $2.$3... " >&6; }
2791 if eval \
${$4+:} false
; then :
2792 $as_echo_n "(cached) " >&6
2794 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2795 /* end confdefs.h. */
2807 if ac_fn_c_try_compile
"$LINENO"; then :
2810 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2811 /* end confdefs.h. */
2817 if (sizeof ac_aggr.$3)
2823 if ac_fn_c_try_compile
"$LINENO"; then :
2828 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2830 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2834 $as_echo "$ac_res" >&6; }
2835 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2837 } # ac_fn_c_check_member
2839 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2840 # -------------------------------------------
2841 # Tests whether TYPE exists after having included INCLUDES, setting cache
2842 # variable VAR accordingly.
2843 ac_fn_c_check_type
()
2845 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2847 $as_echo_n "checking for $2... " >&6; }
2848 if eval \
${$3+:} false
; then :
2849 $as_echo_n "(cached) " >&6
2852 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2853 /* end confdefs.h. */
2864 if ac_fn_c_try_compile
"$LINENO"; then :
2865 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2866 /* end confdefs.h. */
2877 if ac_fn_c_try_compile
"$LINENO"; then :
2882 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2884 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2888 $as_echo "$ac_res" >&6; }
2889 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2891 } # ac_fn_c_check_type
2892 cat >config.log
<<_ACEOF
2893 This file contains any messages produced by compilers while
2894 running configure, to aid debugging if configure makes a mistake.
2896 It was created by Wine $as_me 1.8, which was
2897 generated by GNU Autoconf 2.69. Invocation command line was
2909 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2910 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2911 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2912 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2913 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2915 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2916 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2918 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2919 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2920 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2921 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2922 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2923 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2924 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2928 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2932 test -z "$as_dir" && as_dir
=.
2933 $as_echo "PATH: $as_dir"
2949 # Keep a trace of the command line.
2950 # Strip out --no-create and --no-recursion so they do not pile up.
2951 # Strip out --silent because we don't want to record it for future runs.
2952 # Also quote any args containing shell meta-characters.
2953 # Make two passes to allow for proper duplicate-argument suppression.
2957 ac_must_keep_next
=false
2963 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
2964 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2965 |
-silent |
--silent |
--silen |
--sile |
--sil)
2968 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2971 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2973 as_fn_append ac_configure_args1
" '$ac_arg'"
2974 if test $ac_must_keep_next = true
; then
2975 ac_must_keep_next
=false
# Got value, back to normal.
2978 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
2979 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
2980 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
2981 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
2982 case "$ac_configure_args0 " in
2983 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2986 -* ) ac_must_keep_next
=true
;;
2989 as_fn_append ac_configure_args
" '$ac_arg'"
2994 { ac_configure_args0
=; unset ac_configure_args0
;}
2995 { ac_configure_args1
=; unset ac_configure_args1
;}
2997 # When interrupted or exit'd, cleanup temporary files, and complete
2998 # config.log. We remove comments because anyway the quotes in there
2999 # would cause problems or look ugly.
3000 # WARNING: Use '\'' to represent an apostrophe within the trap.
3001 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3002 trap 'exit_status=$?
3003 # Save into config.log some information that might help in debugging.
3007 $as_echo "## ---------------- ##
3008 ## Cache variables. ##
3009 ## ---------------- ##"
3011 # The following way of writing the cache mishandles newlines in values,
3013 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3014 eval ac_val=\$$ac_var
3018 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3019 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3022 _ | IFS | as_nl) ;; #(
3023 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3024 *) { eval $ac_var=; unset $ac_var;} ;;
3029 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3030 *${as_nl}ac_space=\ *)
3032 "s/'\''/'\''\\\\'\'''\''/g;
3033 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3036 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3043 $as_echo "## ----------------- ##
3044 ## Output variables. ##
3045 ## ----------------- ##"
3047 for ac_var in $ac_subst_vars
3049 eval ac_val=\$$ac_var
3051 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3053 $as_echo "$ac_var='\''$ac_val'\''"
3057 if test -n "$ac_subst_files"; then
3058 $as_echo "## ------------------- ##
3059 ## File substitutions. ##
3060 ## ------------------- ##"
3062 for ac_var
in $ac_subst_files
3064 eval ac_val
=\$
$ac_var
3066 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3068 $as_echo "$ac_var='\''$ac_val'\''"
3073 if test -s confdefs.h; then
3074 $as_echo "## ----------- ##
3081 test "$ac_signal" != 0 &&
3082 $as_echo "$as_me: caught signal $ac_signal"
3083 $as_echo "$as_me: exit $exit_status"
3085 rm -f core *.core core.conftest.* &&
3086 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3089 for ac_signal
in 1 2 13 15; do
3090 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3094 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3095 rm -f -r conftest
* confdefs.h
3097 $as_echo "/* confdefs.h */" > confdefs.h
3099 # Predefined preprocessor variables.
3101 cat >>confdefs.h
<<_ACEOF
3102 #define PACKAGE_NAME "$PACKAGE_NAME"
3105 cat >>confdefs.h
<<_ACEOF
3106 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3109 cat >>confdefs.h
<<_ACEOF
3110 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3113 cat >>confdefs.h
<<_ACEOF
3114 #define PACKAGE_STRING "$PACKAGE_STRING"
3117 cat >>confdefs.h
<<_ACEOF
3118 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3121 cat >>confdefs.h
<<_ACEOF
3122 #define PACKAGE_URL "$PACKAGE_URL"
3126 # Let the site file select an alternate cache file if it wants to.
3127 # Prefer an explicitly selected file to automatically selected ones.
3130 if test -n "$CONFIG_SITE"; then
3131 # We do not want a PATH search for config.site.
3132 case $CONFIG_SITE in #((
3133 -*) ac_site_file1
=.
/$CONFIG_SITE;;
3134 */*) ac_site_file1
=$CONFIG_SITE;;
3135 *) ac_site_file1
=.
/$CONFIG_SITE;;
3137 elif test "x$prefix" != xNONE
; then
3138 ac_site_file1
=$prefix/share
/config.site
3139 ac_site_file2
=$prefix/etc
/config.site
3141 ac_site_file1
=$ac_default_prefix/share
/config.site
3142 ac_site_file2
=$ac_default_prefix/etc
/config.site
3144 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
3146 test "x$ac_site_file" = xNONE
&& continue
3147 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
3148 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3149 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3150 sed 's/^/| /' "$ac_site_file" >&5
3152 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3153 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3154 as_fn_error $?
"failed to load site script $ac_site_file
3155 See \`config.log' for more details" "$LINENO" 5; }
3159 if test -r "$cache_file"; then
3160 # Some versions of bash will fail to source /dev/null (special files
3161 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3162 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
3163 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3164 $as_echo "$as_me: loading cache $cache_file" >&6;}
3166 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
3167 *) .
"./$cache_file";;
3171 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3172 $as_echo "$as_me: creating cache $cache_file" >&6;}
3176 # Check that the precious variables saved in the cache have kept the same
3178 ac_cache_corrupted
=false
3179 for ac_var
in $ac_precious_vars; do
3180 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
3181 eval ac_new_set
=\
$ac_env_${ac_var}_set
3182 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
3183 eval ac_new_val
=\
$ac_env_${ac_var}_value
3184 case $ac_old_set,$ac_new_set in
3186 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3187 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3188 ac_cache_corrupted
=: ;;
3190 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3191 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3192 ac_cache_corrupted
=: ;;
3195 if test "x$ac_old_val" != "x$ac_new_val"; then
3196 # differences in whitespace do not lead to failure.
3197 ac_old_val_w
=`echo x $ac_old_val`
3198 ac_new_val_w
=`echo x $ac_new_val`
3199 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3200 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3201 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3202 ac_cache_corrupted
=:
3204 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3205 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3206 eval $ac_var=\
$ac_old_val
3208 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3209 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3210 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3211 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3214 # Pass precious variables to config.status.
3215 if test "$ac_new_set" = set; then
3217 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3218 *) ac_arg
=$ac_var=$ac_new_val ;;
3220 case " $ac_configure_args " in
3221 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3222 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
3226 if $ac_cache_corrupted; then
3227 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3228 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3229 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3230 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3231 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3233 ## -------------------- ##
3234 ## Main body of script. ##
3235 ## -------------------- ##
3238 ac_cpp
='$CPP $CPPFLAGS'
3239 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3240 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3241 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3245 ac_config_headers
="$ac_config_headers include/config.h"
3248 for ac_dir
in tools
"$srcdir"/tools
; do
3249 if test -f "$ac_dir/install-sh"; then
3251 ac_install_sh
="$ac_aux_dir/install-sh -c"
3253 elif test -f "$ac_dir/install.sh"; then
3255 ac_install_sh
="$ac_aux_dir/install.sh -c"
3257 elif test -f "$ac_dir/shtool"; then
3259 ac_install_sh
="$ac_aux_dir/shtool install -c"
3263 if test -z "$ac_aux_dir"; then
3264 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3267 # These three variables are undocumented and unsupported,
3268 # and are intended to be withdrawn in a future Autoconf release.
3269 # They can cause serious problems if a builder's source tree is in a directory
3270 # whose full name contains unusual characters.
3271 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3272 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3273 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3277 libwine_version
="1.0"
3281 # Check whether --enable-win16 was given.
3282 if test "${enable_win16+set}" = set; then :
3283 enableval
=$enable_win16;
3286 # Check whether --enable-win64 was given.
3287 if test "${enable_win64+set}" = set; then :
3288 enableval
=$enable_win64;
3291 # Check whether --enable-tests was given.
3292 if test "${enable_tests+set}" = set; then :
3293 enableval
=$enable_tests;
3296 # Check whether --enable-maintainer-mode was given.
3297 if test "${enable_maintainer_mode+set}" = set; then :
3298 enableval
=$enable_maintainer_mode;
3303 # Check whether --with-alsa was given.
3304 if test "${with_alsa+set}" = set; then :
3305 withval
=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h
=no
; ac_cv_header_alsa_asoundlib_h
=no
; fi
3309 # Check whether --with-capi was given.
3310 if test "${with_capi+set}" = set; then :
3315 # Check whether --with-cms was given.
3316 if test "${with_cms+set}" = set; then :
3321 # Check whether --with-coreaudio was given.
3322 if test "${with_coreaudio+set}" = set; then :
3323 withval
=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h
=no
; fi
3327 # Check whether --with-cups was given.
3328 if test "${with_cups+set}" = set; then :
3333 # Check whether --with-curses was given.
3334 if test "${with_curses+set}" = set; then :
3335 withval
=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h
=no
; ac_cv_header_curses_h
=no
; fi
3339 # Check whether --with-dbus was given.
3340 if test "${with_dbus+set}" = set; then :
3345 # Check whether --with-fontconfig was given.
3346 if test "${with_fontconfig+set}" = set; then :
3347 withval
=$with_fontconfig;
3351 # Check whether --with-freetype was given.
3352 if test "${with_freetype+set}" = set; then :
3353 withval
=$with_freetype;
3357 # Check whether --with-gettext was given.
3358 if test "${with_gettext+set}" = set; then :
3359 withval
=$with_gettext;
3363 # Check whether --with-gettextpo was given.
3364 if test "${with_gettextpo+set}" = set; then :
3365 withval
=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h
=no
; fi
3369 # Check whether --with-gphoto was given.
3370 if test "${with_gphoto+set}" = set; then :
3371 withval
=$with_gphoto;
3375 # Check whether --with-glu was given.
3376 if test "${with_glu+set}" = set; then :
3381 # Check whether --with-gnutls was given.
3382 if test "${with_gnutls+set}" = set; then :
3383 withval
=$with_gnutls;
3387 # Check whether --with-gsm was given.
3388 if test "${with_gsm+set}" = set; then :
3389 withval
=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h
=no
; ac_cv_header_gsm_gsm_h
=no
; fi
3393 # Check whether --with-gstreamer was given.
3394 if test "${with_gstreamer+set}" = set; then :
3395 withval
=$with_gstreamer;
3399 # Check whether --with-hal was given.
3400 if test "${with_hal+set}" = set; then :
3405 # Check whether --with-jpeg was given.
3406 if test "${with_jpeg+set}" = set; then :
3411 # Check whether --with-ldap was given.
3412 if test "${with_ldap+set}" = set; then :
3413 withval
=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h
=no
; ac_cv_header_lber_h
=no
; fi
3417 # Check whether --with-mpg123 was given.
3418 if test "${with_mpg123+set}" = set; then :
3419 withval
=$with_mpg123;
3423 # Check whether --with-netapi was given.
3424 if test "${with_netapi+set}" = set; then :
3425 withval
=$with_netapi;
3429 # Check whether --with-openal was given.
3430 if test "${with_openal+set}" = set; then :
3431 withval
=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h
=no
; ac_cv_header_OpenAL_al_h
=no
; fi
3435 # Check whether --with-opencl was given.
3436 if test "${with_opencl+set}" = set; then :
3437 withval
=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h
=no
; ac_cv_header_OpenCL_opencl_h
=no
; fi
3441 # Check whether --with-opengl was given.
3442 if test "${with_opengl+set}" = set; then :
3443 withval
=$with_opengl;
3447 # Check whether --with-osmesa was given.
3448 if test "${with_osmesa+set}" = set; then :
3449 withval
=$with_osmesa;
3453 # Check whether --with-oss was given.
3454 if test "${with_oss+set}" = set; then :
3459 # Check whether --with-pcap was given.
3460 if test "${with_pcap+set}" = set; then :
3461 withval
=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h
=no
; fi
3465 # Check whether --with-png was given.
3466 if test "${with_png+set}" = set; then :
3471 # Check whether --with-pthread was given.
3472 if test "${with_pthread+set}" = set; then :
3473 withval
=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h
=no
; fi
3477 # Check whether --with-pulse was given.
3478 if test "${with_pulse+set}" = set; then :
3479 withval
=$with_pulse;
3483 # Check whether --with-sane was given.
3484 if test "${with_sane+set}" = set; then :
3489 # Check whether --with-tiff was given.
3490 if test "${with_tiff+set}" = set; then :
3495 # Check whether --with-v4l was given.
3496 if test "${with_v4l+set}" = set; then :
3501 # Check whether --with-xcomposite was given.
3502 if test "${with_xcomposite+set}" = set; then :
3503 withval
=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h
=no
; fi
3507 # Check whether --with-xcursor was given.
3508 if test "${with_xcursor+set}" = set; then :
3509 withval
=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h
=no
; fi
3513 # Check whether --with-xinerama was given.
3514 if test "${with_xinerama+set}" = set; then :
3515 withval
=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h
=no
; fi
3519 # Check whether --with-xinput was given.
3520 if test "${with_xinput+set}" = set; then :
3521 withval
=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h
=no
; fi
3525 # Check whether --with-xinput2 was given.
3526 if test "${with_xinput2+set}" = set; then :
3527 withval
=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h
=no
; fi
3531 # Check whether --with-xml was given.
3532 if test "${with_xml+set}" = set; then :
3537 # Check whether --with-xrandr was given.
3538 if test "${with_xrandr+set}" = set; then :
3539 withval
=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h
=no
; fi
3543 # Check whether --with-xrender was given.
3544 if test "${with_xrender+set}" = set; then :
3545 withval
=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h
=no
; fi
3549 # Check whether --with-xshape was given.
3550 if test "${with_xshape+set}" = set; then :
3551 withval
=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h
=no
; fi
3555 # Check whether --with-xshm was given.
3556 if test "${with_xshm+set}" = set; then :
3557 withval
=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h
=no
; fi
3561 # Check whether --with-xslt was given.
3562 if test "${with_xslt+set}" = set; then :
3567 # Check whether --with-xxf86vm was given.
3568 if test "${with_xxf86vm+set}" = set; then :
3569 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
3573 # Check whether --with-zlib was given.
3574 if test "${with_zlib+set}" = set; then :
3575 withval
=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h
=no
; fi
3580 # Check whether --with-wine-tools was given.
3581 if test "${with_wine_tools+set}" = set; then :
3582 withval
=$with_wine_tools;
3586 # Check whether --with-wine64 was given.
3587 if test "${with_wine64+set}" = set; then :
3588 withval
=$with_wine64;
3592 # Make sure we can run config.sub.
3593 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
3594 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3597 $as_echo_n "checking build system type... " >&6; }
3598 if ${ac_cv_build+:} false
; then :
3599 $as_echo_n "(cached) " >&6
3601 ac_build_alias
=$build_alias
3602 test "x$ac_build_alias" = x
&&
3603 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
3604 test "x$ac_build_alias" = x
&&
3605 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
3606 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3607 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3611 $as_echo "$ac_cv_build" >&6; }
3612 case $ac_cv_build in
3614 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
3617 ac_save_IFS
=$IFS; IFS
='-'
3623 # Remember, the first character of IFS is used to create $*,
3624 # except with old shells:
3627 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
3630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3631 $as_echo_n "checking host system type... " >&6; }
3632 if ${ac_cv_host+:} false
; then :
3633 $as_echo_n "(cached) " >&6
3635 if test "x$host_alias" = x
; then
3636 ac_cv_host
=$ac_cv_build
3638 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3639 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3644 $as_echo "$ac_cv_host" >&6; }
3647 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
3650 ac_save_IFS
=$IFS; IFS
='-'
3656 # Remember, the first character of IFS is used to create $*,
3657 # except with old shells:
3660 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
3666 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
3667 as_fn_error $?
"you are building out of the source tree, but the source tree contains object files.
3668 You need to run 'make distclean' in the source tree first." "$LINENO" 5
3673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3674 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3676 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3677 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
3678 $as_echo_n "(cached) " >&6
3680 cat >conftest.
make <<\_ACEOF
3683 @
echo '@@@%%%=$(MAKE)=@@@%%%'
3685 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3686 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3688 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
3690 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
3694 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
3695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3696 $as_echo "yes" >&6; }
3699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3700 $as_echo "no" >&6; }
3701 SET_MAKE
="MAKE=${MAKE-make}"
3705 ac_cpp
='$CPP $CPPFLAGS'
3706 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3707 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3708 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3709 if test -n "$ac_tool_prefix"; then
3710 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3711 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3713 $as_echo_n "checking for $ac_word... " >&6; }
3714 if ${ac_cv_prog_CC+:} false
; then :
3715 $as_echo_n "(cached) " >&6
3717 if test -n "$CC"; then
3718 ac_cv_prog_CC
="$CC" # Let the user override the test.
3720 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3724 test -z "$as_dir" && as_dir
=.
3725 for ac_exec_ext
in '' $ac_executable_extensions; do
3726 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3727 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3728 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3738 if test -n "$CC"; then
3739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3740 $as_echo "$CC" >&6; }
3742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3743 $as_echo "no" >&6; }
3748 if test -z "$ac_cv_prog_CC"; then
3750 # Extract the first word of "gcc", so it can be a program name with args.
3751 set dummy gcc
; ac_word
=$2
3752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3753 $as_echo_n "checking for $ac_word... " >&6; }
3754 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3755 $as_echo_n "(cached) " >&6
3757 if test -n "$ac_ct_CC"; then
3758 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3760 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3764 test -z "$as_dir" && as_dir
=.
3765 for ac_exec_ext
in '' $ac_executable_extensions; do
3766 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3767 ac_cv_prog_ac_ct_CC
="gcc"
3768 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3777 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3778 if test -n "$ac_ct_CC"; then
3779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3780 $as_echo "$ac_ct_CC" >&6; }
3782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3783 $as_echo "no" >&6; }
3786 if test "x$ac_ct_CC" = x
; then
3789 case $cross_compiling:$ac_tool_warned in
3791 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3792 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3793 ac_tool_warned
=yes ;;
3801 if test -z "$CC"; then
3802 if test -n "$ac_tool_prefix"; then
3803 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3804 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3806 $as_echo_n "checking for $ac_word... " >&6; }
3807 if ${ac_cv_prog_CC+:} false
; then :
3808 $as_echo_n "(cached) " >&6
3810 if test -n "$CC"; then
3811 ac_cv_prog_CC
="$CC" # Let the user override the test.
3813 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3817 test -z "$as_dir" && as_dir
=.
3818 for ac_exec_ext
in '' $ac_executable_extensions; do
3819 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3820 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3821 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3831 if test -n "$CC"; then
3832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3833 $as_echo "$CC" >&6; }
3835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3836 $as_echo "no" >&6; }
3842 if test -z "$CC"; then
3843 # Extract the first word of "cc", so it can be a program name with args.
3844 set dummy cc
; ac_word
=$2
3845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3846 $as_echo_n "checking for $ac_word... " >&6; }
3847 if ${ac_cv_prog_CC+:} false
; then :
3848 $as_echo_n "(cached) " >&6
3850 if test -n "$CC"; then
3851 ac_cv_prog_CC
="$CC" # Let the user override the test.
3854 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3858 test -z "$as_dir" && as_dir
=.
3859 for ac_exec_ext
in '' $ac_executable_extensions; do
3860 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3861 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3862 ac_prog_rejected
=yes
3866 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3873 if test $ac_prog_rejected = yes; then
3874 # We found a bogon in the path, so make sure we never use it.
3875 set dummy
$ac_cv_prog_CC
3877 if test $# != 0; then
3878 # We chose a different compiler from the bogus one.
3879 # However, it has the same basename, so the bogon will be chosen
3880 # first if we set CC to just the basename; use the full file name.
3882 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3888 if test -n "$CC"; then
3889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3890 $as_echo "$CC" >&6; }
3892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3893 $as_echo "no" >&6; }
3898 if test -z "$CC"; then
3899 if test -n "$ac_tool_prefix"; then
3900 for ac_prog
in cl.exe
3902 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3903 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3905 $as_echo_n "checking for $ac_word... " >&6; }
3906 if ${ac_cv_prog_CC+:} false
; then :
3907 $as_echo_n "(cached) " >&6
3909 if test -n "$CC"; then
3910 ac_cv_prog_CC
="$CC" # Let the user override the test.
3912 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3916 test -z "$as_dir" && as_dir
=.
3917 for ac_exec_ext
in '' $ac_executable_extensions; do
3918 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3919 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3920 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3930 if test -n "$CC"; then
3931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3932 $as_echo "$CC" >&6; }
3934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3935 $as_echo "no" >&6; }
3939 test -n "$CC" && break
3942 if test -z "$CC"; then
3944 for ac_prog
in cl.exe
3946 # Extract the first word of "$ac_prog", so it can be a program name with args.
3947 set dummy
$ac_prog; ac_word
=$2
3948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3949 $as_echo_n "checking for $ac_word... " >&6; }
3950 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3951 $as_echo_n "(cached) " >&6
3953 if test -n "$ac_ct_CC"; then
3954 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3956 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3960 test -z "$as_dir" && as_dir
=.
3961 for ac_exec_ext
in '' $ac_executable_extensions; do
3962 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3963 ac_cv_prog_ac_ct_CC
="$ac_prog"
3964 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3973 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3974 if test -n "$ac_ct_CC"; then
3975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3976 $as_echo "$ac_ct_CC" >&6; }
3978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3979 $as_echo "no" >&6; }
3983 test -n "$ac_ct_CC" && break
3986 if test "x$ac_ct_CC" = x
; then
3989 case $cross_compiling:$ac_tool_warned in
3991 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3992 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3993 ac_tool_warned
=yes ;;
4002 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4003 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4004 as_fn_error $?
"no acceptable C compiler found in \$PATH
4005 See \`config.log' for more details" "$LINENO" 5; }
4007 # Provide some information about the compiler.
4008 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4011 for ac_option
in --version -v -V -qversion; do
4012 { { ac_try
="$ac_compiler $ac_option >&5"
4014 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4015 *) ac_try_echo=$ac_try;;
4017 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4018 $as_echo "$ac_try_echo"; } >&5
4019 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4021 if test -s conftest.err; then
4023 ... rest of stderr output deleted ...
4024 10q' conftest.err >conftest.er1
4025 cat conftest.er1 >&5
4027 rm -f conftest.er1 conftest.err
4028 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4029 test $ac_status = 0; }
4032 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4033 /* end confdefs.h. */
4043 ac_clean_files_save=$ac_clean_files
4044 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4045 # Try to create an executable without -o first, disregard a.out.
4046 # It will help us diagnose broken compilers, and finding out an intuition
4048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4049 $as_echo_n "checking whether the C compiler works... " >&6; }
4050 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
4052 # The possible output files:
4053 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4056 for ac_file in $ac_files
4059 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4060 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4065 if { { ac_try="$ac_link_default"
4067 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4068 *) ac_try_echo
=$ac_try;;
4070 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4071 $as_echo "$ac_try_echo"; } >&5
4072 (eval "$ac_link_default") 2>&5
4074 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4075 test $ac_status = 0; }; then :
4076 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4077 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4078 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4079 # so that the user can short-circuit this test for compilers unknown to
4081 for ac_file
in $ac_files ''
4083 test -f "$ac_file" ||
continue
4085 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
4088 # We found the default executable, but exeext='' is most
4092 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
4094 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4096 # We set ac_cv_exeext here because the later test for it is not
4097 # safe: cross compilers may not add the suffix if given an `-o'
4098 # argument, so we may need to know it at that point already.
4099 # Even if this section looks crufty: it has the advantage of
4106 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
4111 if test -z "$ac_file"; then :
4112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4113 $as_echo "no" >&6; }
4114 $as_echo "$as_me: failed program was:" >&5
4115 sed 's/^/| /' conftest.
$ac_ext >&5
4117 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4118 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4119 as_fn_error
77 "C compiler cannot create executables
4120 See \`config.log' for more details" "$LINENO" 5; }
4122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4123 $as_echo "yes" >&6; }
4125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4126 $as_echo_n "checking for C compiler default output file name... " >&6; }
4127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4128 $as_echo "$ac_file" >&6; }
4129 ac_exeext
=$ac_cv_exeext
4131 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
4132 ac_clean_files
=$ac_clean_files_save
4133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4134 $as_echo_n "checking for suffix of executables... " >&6; }
4135 if { { ac_try
="$ac_link"
4137 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4138 *) ac_try_echo=$ac_try;;
4140 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4141 $as_echo "$ac_try_echo"; } >&5
4142 (eval "$ac_link") 2>&5
4144 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4145 test $ac_status = 0; }; then :
4146 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
4147 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
4148 # work properly (i.e., refer to `conftest.exe'), while it won't with
4150 for ac_file
in conftest.exe conftest conftest.
*; do
4151 test -f "$ac_file" ||
continue
4153 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
4154 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4160 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4161 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4162 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
4163 See \`config.log' for more details" "$LINENO" 5; }
4165 rm -f conftest conftest
$ac_cv_exeext
4166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4167 $as_echo "$ac_cv_exeext" >&6; }
4169 rm -f conftest.
$ac_ext
4170 EXEEXT
=$ac_cv_exeext
4172 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4173 /* end confdefs.h. */
4178 FILE *f = fopen ("conftest.out", "w");
4179 return ferror (f) || fclose (f) != 0;
4185 ac_clean_files
="$ac_clean_files conftest.out"
4186 # Check that the compiler produces executables we can run. If not, either
4187 # the compiler is broken, or we cross compile.
4188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4189 $as_echo_n "checking whether we are cross compiling... " >&6; }
4190 if test "$cross_compiling" != yes; then
4191 { { ac_try
="$ac_link"
4193 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4194 *) ac_try_echo=$ac_try;;
4196 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4197 $as_echo "$ac_try_echo"; } >&5
4198 (eval "$ac_link") 2>&5
4200 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4201 test $ac_status = 0; }
4202 if { ac_try='./conftest$ac_cv_exeext'
4203 { { case "(($ac_try" in
4204 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4205 *) ac_try_echo
=$ac_try;;
4207 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4208 $as_echo "$ac_try_echo"; } >&5
4209 (eval "$ac_try") 2>&5
4211 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4212 test $ac_status = 0; }; }; then
4215 if test "$cross_compiling" = maybe
; then
4218 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4219 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4220 as_fn_error $?
"cannot run C compiled programs.
4221 If you meant to cross compile, use \`--host'.
4222 See \`config.log' for more details" "$LINENO" 5; }
4226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4227 $as_echo "$cross_compiling" >&6; }
4229 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
4230 ac_clean_files
=$ac_clean_files_save
4231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4232 $as_echo_n "checking for suffix of object files... " >&6; }
4233 if ${ac_cv_objext+:} false
; then :
4234 $as_echo_n "(cached) " >&6
4236 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4237 /* end confdefs.h. */
4247 rm -f conftest.o conftest.obj
4248 if { { ac_try
="$ac_compile"
4250 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4251 *) ac_try_echo=$ac_try;;
4253 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4254 $as_echo "$ac_try_echo"; } >&5
4255 (eval "$ac_compile") 2>&5
4257 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4258 test $ac_status = 0; }; then :
4259 for ac_file in conftest.o conftest.obj conftest.*; do
4260 test -f "$ac_file" || continue;
4262 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4263 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4268 $as_echo "$as_me: failed program was:" >&5
4269 sed 's/^/| /' conftest.$ac_ext >&5
4271 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4272 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4273 as_fn_error $? "cannot compute suffix of object files
: cannot compile
4274 See \
`config.log' for more details" "$LINENO" 5; }
4276 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4279 $as_echo "$ac_cv_objext" >&6; }
4280 OBJEXT=$ac_cv_objext
4282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4283 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4284 if ${ac_cv_c_compiler_gnu+:} false; then :
4285 $as_echo_n "(cached) " >&6
4287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4288 /* end confdefs.h. */
4301 if ac_fn_c_try_compile "$LINENO"; then :
4306 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4307 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4311 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4312 if test $ac_compiler_gnu = yes; then
4317 ac_test_CFLAGS=${CFLAGS+set}
4318 ac_save_CFLAGS=$CFLAGS
4319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4320 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4321 if ${ac_cv_prog_cc_g+:} false; then :
4322 $as_echo_n "(cached) " >&6
4324 ac_save_c_werror_flag=$ac_c_werror_flag
4325 ac_c_werror_flag=yes
4328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4329 /* end confdefs.h. */
4339 if ac_fn_c_try_compile "$LINENO"; then :
4343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4344 /* end confdefs.h. */
4354 if ac_fn_c_try_compile "$LINENO"; then :
4357 ac_c_werror_flag=$ac_save_c_werror_flag
4359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4360 /* end confdefs.h. */
4370 if ac_fn_c_try_compile "$LINENO"; then :
4373 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4375 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4377 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4378 ac_c_werror_flag=$ac_save_c_werror_flag
4380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4381 $as_echo "$ac_cv_prog_cc_g" >&6; }
4382 if test "$ac_test_CFLAGS" = set; then
4383 CFLAGS=$ac_save_CFLAGS
4384 elif test $ac_cv_prog_cc_g = yes; then
4385 if test "$GCC" = yes; then
4391 if test "$GCC" = yes; then
4397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4398 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4399 if ${ac_cv_prog_cc_c89+:} false; then :
4400 $as_echo_n "(cached) " >&6
4402 ac_cv_prog_cc_c89=no
4404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4405 /* end confdefs.h. */
4409 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4410 struct buf { int x; };
4411 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4412 static char *e (p, i)
4418 static char *f (char * (*g) (char **, int), char **p, ...)
4423 s = g (p, va_arg (v,int));
4428 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4429 function prototypes and stuff, but not '\xHH' hex character constants.
4430 These don't provoke an error unfortunately, instead are silently treated
4431 as 'x'. The following induces an error, until -std is added to get
4432 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4433 array size at least. It's necessary to write '\x00'==0 to get something
4434 that's true only with -std. */
4435 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4437 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4438 inside strings and character constants. */
4440 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4442 int test (int i, double x);
4443 struct s1 {int (*f) (int a);};
4444 struct s2 {int (*f) (double a);};
4445 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4451 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4456 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4457 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4459 CC="$ac_save_CC $ac_arg"
4460 if ac_fn_c_try_compile "$LINENO"; then :
4461 ac_cv_prog_cc_c89=$ac_arg
4463 rm -f core conftest.err conftest.$ac_objext
4464 test "x$ac_cv_prog_cc_c89" != "xno" && break
4466 rm -f conftest.$ac_ext
4471 case "x$ac_cv_prog_cc_c89" in
4473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4474 $as_echo "none needed" >&6; } ;;
4476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4477 $as_echo "unsupported" >&6; } ;;
4479 CC="$CC $ac_cv_prog_cc_c89"
4480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4481 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4483 if test "x$ac_cv_prog_cc_c89" != xno; then :
4488 ac_cpp='$CPP $CPPFLAGS'
4489 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4490 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4491 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4494 ac_cpp='$CXXCPP $CPPFLAGS'
4495 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4496 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4497 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4498 if test -z "$CXX"; then
4499 if test -n "$CCC"; then
4502 if test -n "$ac_tool_prefix"; then
4503 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4505 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4506 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4508 $as_echo_n "checking for $ac_word... " >&6; }
4509 if ${ac_cv_prog_CXX+:} false; then :
4510 $as_echo_n "(cached) " >&6
4512 if test -n "$CXX"; then
4513 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4515 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4519 test -z "$as_dir" && as_dir=.
4520 for ac_exec_ext in '' $ac_executable_extensions; do
4521 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4522 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4523 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4533 if test -n "$CXX"; then
4534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4535 $as_echo "$CXX" >&6; }
4537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4538 $as_echo "no" >&6; }
4542 test -n "$CXX" && break
4545 if test -z "$CXX"; then
4547 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4549 # Extract the first word of "$ac_prog", so it can be a program name with args.
4550 set dummy $ac_prog; ac_word=$2
4551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4552 $as_echo_n "checking for $ac_word... " >&6; }
4553 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4554 $as_echo_n "(cached) " >&6
4556 if test -n "$ac_ct_CXX"; then
4557 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4559 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4563 test -z "$as_dir" && as_dir=.
4564 for ac_exec_ext in '' $ac_executable_extensions; do
4565 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4566 ac_cv_prog_ac_ct_CXX="$ac_prog"
4567 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4576 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4577 if test -n "$ac_ct_CXX"; then
4578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4579 $as_echo "$ac_ct_CXX" >&6; }
4581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4582 $as_echo "no" >&6; }
4586 test -n "$ac_ct_CXX" && break
4589 if test "x$ac_ct_CXX" = x; then
4592 case $cross_compiling:$ac_tool_warned in
4594 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4595 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4596 ac_tool_warned=yes ;;
4604 # Provide some information about the compiler.
4605 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4608 for ac_option in --version -v -V -qversion; do
4609 { { ac_try="$ac_compiler $ac_option >&5"
4611 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4612 *) ac_try_echo
=$ac_try;;
4614 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4615 $as_echo "$ac_try_echo"; } >&5
4616 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4618 if test -s conftest.err
; then
4620 ... rest of stderr output deleted ...
4621 10q' conftest.err
>conftest.er1
4622 cat conftest.er1
>&5
4624 rm -f conftest.er1 conftest.err
4625 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4626 test $ac_status = 0; }
4629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4630 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4631 if ${ac_cv_cxx_compiler_gnu+:} false
; then :
4632 $as_echo_n "(cached) " >&6
4634 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4635 /* end confdefs.h. */
4648 if ac_fn_cxx_try_compile
"$LINENO"; then :
4653 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4654 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
4657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4658 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4659 if test $ac_compiler_gnu = yes; then
4664 ac_test_CXXFLAGS
=${CXXFLAGS+set}
4665 ac_save_CXXFLAGS
=$CXXFLAGS
4666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4667 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4668 if ${ac_cv_prog_cxx_g+:} false
; then :
4669 $as_echo_n "(cached) " >&6
4671 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
4672 ac_cxx_werror_flag
=yes
4675 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4676 /* end confdefs.h. */
4686 if ac_fn_cxx_try_compile
"$LINENO"; then :
4687 ac_cv_prog_cxx_g
=yes
4690 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4691 /* end confdefs.h. */
4701 if ac_fn_cxx_try_compile
"$LINENO"; then :
4704 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4706 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4707 /* end confdefs.h. */
4717 if ac_fn_cxx_try_compile
"$LINENO"; then :
4718 ac_cv_prog_cxx_g
=yes
4720 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4722 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4724 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4725 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4728 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4729 if test "$ac_test_CXXFLAGS" = set; then
4730 CXXFLAGS
=$ac_save_CXXFLAGS
4731 elif test $ac_cv_prog_cxx_g = yes; then
4732 if test "$GXX" = yes; then
4738 if test "$GXX" = yes; then
4745 ac_cpp
='$CPP $CPPFLAGS'
4746 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4747 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4748 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4750 if test -n "$ac_tool_prefix"; then
4751 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
4752 set dummy
${ac_tool_prefix}cpp
; ac_word
=$2
4753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4754 $as_echo_n "checking for $ac_word... " >&6; }
4755 if ${ac_cv_prog_CPPBIN+:} false
; then :
4756 $as_echo_n "(cached) " >&6
4758 if test -n "$CPPBIN"; then
4759 ac_cv_prog_CPPBIN
="$CPPBIN" # Let the user override the test.
4761 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4765 test -z "$as_dir" && as_dir
=.
4766 for ac_exec_ext
in '' $ac_executable_extensions; do
4767 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4768 ac_cv_prog_CPPBIN
="${ac_tool_prefix}cpp"
4769 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4778 CPPBIN
=$ac_cv_prog_CPPBIN
4779 if test -n "$CPPBIN"; then
4780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
4781 $as_echo "$CPPBIN" >&6; }
4783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4784 $as_echo "no" >&6; }
4789 if test -z "$ac_cv_prog_CPPBIN"; then
4790 ac_ct_CPPBIN
=$CPPBIN
4791 # Extract the first word of "cpp", so it can be a program name with args.
4792 set dummy cpp
; ac_word
=$2
4793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4794 $as_echo_n "checking for $ac_word... " >&6; }
4795 if ${ac_cv_prog_ac_ct_CPPBIN+:} false
; then :
4796 $as_echo_n "(cached) " >&6
4798 if test -n "$ac_ct_CPPBIN"; then
4799 ac_cv_prog_ac_ct_CPPBIN
="$ac_ct_CPPBIN" # Let the user override the test.
4801 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4805 test -z "$as_dir" && as_dir
=.
4806 for ac_exec_ext
in '' $ac_executable_extensions; do
4807 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4808 ac_cv_prog_ac_ct_CPPBIN
="cpp"
4809 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4818 ac_ct_CPPBIN
=$ac_cv_prog_ac_ct_CPPBIN
4819 if test -n "$ac_ct_CPPBIN"; then
4820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
4821 $as_echo "$ac_ct_CPPBIN" >&6; }
4823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4824 $as_echo "no" >&6; }
4827 if test "x$ac_ct_CPPBIN" = x
; then
4830 case $cross_compiling:$ac_tool_warned in
4832 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4833 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4834 ac_tool_warned
=yes ;;
4836 CPPBIN
=$ac_ct_CPPBIN
4839 CPPBIN
="$ac_cv_prog_CPPBIN"
4843 cat >>confdefs.h
<<_ACEOF
4844 #define EXEEXT "$ac_exeext"
4847 if test -n "$ac_tool_prefix"; then
4848 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
4849 set dummy
${ac_tool_prefix}ld
; ac_word
=$2
4850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4851 $as_echo_n "checking for $ac_word... " >&6; }
4852 if ${ac_cv_prog_LD+:} false
; then :
4853 $as_echo_n "(cached) " >&6
4855 if test -n "$LD"; then
4856 ac_cv_prog_LD
="$LD" # Let the user override the test.
4858 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4862 test -z "$as_dir" && as_dir
=.
4863 for ac_exec_ext
in '' $ac_executable_extensions; do
4864 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4865 ac_cv_prog_LD
="${ac_tool_prefix}ld"
4866 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4876 if test -n "$LD"; then
4877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4878 $as_echo "$LD" >&6; }
4880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4881 $as_echo "no" >&6; }
4886 if test -z "$ac_cv_prog_LD"; then
4888 # Extract the first word of "ld", so it can be a program name with args.
4889 set dummy ld
; ac_word
=$2
4890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4891 $as_echo_n "checking for $ac_word... " >&6; }
4892 if ${ac_cv_prog_ac_ct_LD+:} false
; then :
4893 $as_echo_n "(cached) " >&6
4895 if test -n "$ac_ct_LD"; then
4896 ac_cv_prog_ac_ct_LD
="$ac_ct_LD" # Let the user override the test.
4898 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4902 test -z "$as_dir" && as_dir
=.
4903 for ac_exec_ext
in '' $ac_executable_extensions; do
4904 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4905 ac_cv_prog_ac_ct_LD
="ld"
4906 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4915 ac_ct_LD
=$ac_cv_prog_ac_ct_LD
4916 if test -n "$ac_ct_LD"; then
4917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
4918 $as_echo "$ac_ct_LD" >&6; }
4920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4921 $as_echo "no" >&6; }
4924 if test "x$ac_ct_LD" = x
; then
4927 case $cross_compiling:$ac_tool_warned in
4929 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4930 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4931 ac_tool_warned
=yes ;;
4942 if test "x$enable_win64" = "xyes"
4947 notice_platform
="64-bit "
4954 notice_platform
="32-bit "
4957 enable_win16
=${enable_win16:-yes}
4959 with_fontconfig
=${with_fontconfig:-no}
4962 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
4966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
4967 $as_echo_n "checking whether $CC works... " >&6; }
4969 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4970 /* end confdefs.h. */
4980 if ac_fn_c_try_link
"$LINENO"; then :
4981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4982 $as_echo "yes" >&6; }
4984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4985 $as_echo "no" >&6; }
4986 as_fn_error $?
"Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
4988 rm -f core conftest.err conftest.
$ac_objext \
4989 conftest
$ac_exeext conftest.
$ac_ext
4991 notice_platform
="32-bit "
4994 enable_win16
=${enable_win16:-yes}
4996 if test "x${GCC}" = "xyes"
4998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
4999 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5000 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5001 /* end confdefs.h. */
5006 void func(__builtin_ms_va_list *args);
5011 if ac_fn_c_try_compile
"$LINENO"; then :
5012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5013 $as_echo "yes" >&6; }
5015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5016 $as_echo "no" >&6; }
5017 as_fn_error $?
"You need gcc >= 4.4 to build Wine as 64-bit." "$LINENO" 5
5019 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
5028 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
5029 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5030 /* end confdefs.h. */
5031 int ac_test(int i) { return i; }
5035 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
5040 if ac_fn_c_try_link
"$LINENO"; then :
5041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5042 $as_echo "yes" >&6; }
5044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5045 $as_echo "no" >&6; }
5046 as_fn_error $?
"You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
5048 rm -f core conftest.err conftest.
$ac_objext \
5049 conftest
$ac_exeext conftest.
$ac_ext
5050 CFLAGS
="$CFLAGS -marm"
5054 *-mingw32*|
*-cygwin*)
5055 enable_win16
=${enable_win16:-no}
5056 CFLAGS
="$CFLAGS -D_WIN32"
5059 enable_win16
=${enable_win16:-yes}
5063 enable_win16
=${enable_win16:-no}
5064 enable_win64
=${enable_win64:-no}
5066 enable_winetest
=${enable_winetest:-$enable_tests}
5068 if test -n "$with_wine64"
5070 if test "x$enable_win64" = "xyes"
5072 as_fn_error $?
"--enable-win64 and --with-wine64 are mutually exclusive.
5073 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
5075 test "$srcdir" != . || as_fn_error $?
"--with-wine64 cannot be used when building inside the source tree.
5076 You should create a separate build directory and run configure from there." "$LINENO" 5
5077 enable_fonts
=${enable_fonts:-no}
5078 enable_server
=${enable_server:-no}
5079 elif test "x$enable_win64" = "xyes"
5081 test "x$libdir" != "x\${exec_prefix}/lib" || libdir
="\${exec_prefix}/lib64"
5084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
5085 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
5086 if ${wine_cv_toolsdir+:} false
; then :
5087 $as_echo_n "(cached) " >&6
5089 wine_cv_toolsdir
="$with_wine_tools"
5090 if test -z "$with_wine_tools"; then
5091 if test "$cross_compiling" = "yes"; then
5092 as_fn_error $?
"you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
5093 elif test -n "$with_wine64"; then
5094 wine_cv_toolsdir
="$with_wine64"
5097 if test -z "$wine_cv_toolsdir"; then
5098 wine_makedep
=tools
/makedep
5099 wine_cv_toolsdir
="\$(top_builddir)"
5100 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5101 wine_makedep
=$wine_cv_toolsdir/tools
/makedep
5102 case "$wine_cv_toolsdir" in
5104 *) wine_cv_toolsdir
="\$(top_builddir)/$wine_cv_toolsdir" ;;
5106 enable_tools
=${enable_tools:-no}
5107 test -f "$wine_makedep" || as_fn_error $?
"the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5109 as_fn_error $?
"could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5113 $as_echo "$wine_cv_toolsdir" >&6; }
5114 TOOLSDIR
=$wine_cv_toolsdir
5116 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5118 TARGETFLAGS
="-b $host_alias $TARGETFLAGS"
5124 # Extract the first word of "$ac_prog", so it can be a program name with args.
5125 set dummy
$ac_prog; ac_word
=$2
5126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5127 $as_echo_n "checking for $ac_word... " >&6; }
5128 if ${ac_cv_prog_FLEX+:} false
; then :
5129 $as_echo_n "(cached) " >&6
5131 if test -n "$FLEX"; then
5132 ac_cv_prog_FLEX
="$FLEX" # Let the user override the test.
5134 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5138 test -z "$as_dir" && as_dir
=.
5139 for ac_exec_ext
in '' $ac_executable_extensions; do
5140 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5141 ac_cv_prog_FLEX
="$ac_prog"
5142 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5151 FLEX
=$ac_cv_prog_FLEX
5152 if test -n "$FLEX"; then
5153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5154 $as_echo "$FLEX" >&6; }
5156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5157 $as_echo "no" >&6; }
5161 test -n "$FLEX" && break
5163 test -n "$FLEX" || FLEX
="none"
5165 if test "$FLEX" = "none"
5167 as_fn_error $?
"no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5170 $as_echo_n "checking whether flex is recent enough... " >&6; }
5171 cat >conftest.l
<<EOF
5173 #include "prediluvian.h"
5177 if $FLEX -t conftest.l
>/dev
/null
2>&5
5179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5180 $as_echo "yes" >&6; }
5182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5183 $as_echo "no" >&6; }
5184 as_fn_error $?
"Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
5187 for ac_prog
in bison
5189 # Extract the first word of "$ac_prog", so it can be a program name with args.
5190 set dummy
$ac_prog; ac_word
=$2
5191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5192 $as_echo_n "checking for $ac_word... " >&6; }
5193 if ${ac_cv_prog_BISON+:} false
; then :
5194 $as_echo_n "(cached) " >&6
5196 if test -n "$BISON"; then
5197 ac_cv_prog_BISON
="$BISON" # Let the user override the test.
5199 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5203 test -z "$as_dir" && as_dir
=.
5204 for ac_exec_ext
in '' $ac_executable_extensions; do
5205 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5206 ac_cv_prog_BISON
="$ac_prog"
5207 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5216 BISON
=$ac_cv_prog_BISON
5217 if test -n "$BISON"; then
5218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5219 $as_echo "$BISON" >&6; }
5221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5222 $as_echo "no" >&6; }
5226 test -n "$BISON" && break
5228 test -n "$BISON" || BISON
="none"
5230 if test "$BISON" = "none"
5232 as_fn_error $?
"no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5235 if test -n "$ac_tool_prefix"; then
5236 for ac_prog
in ar gar
5238 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5239 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5241 $as_echo_n "checking for $ac_word... " >&6; }
5242 if ${ac_cv_prog_AR+:} false
; then :
5243 $as_echo_n "(cached) " >&6
5245 if test -n "$AR"; then
5246 ac_cv_prog_AR
="$AR" # Let the user override the test.
5248 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5252 test -z "$as_dir" && as_dir
=.
5253 for ac_exec_ext
in '' $ac_executable_extensions; do
5254 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5255 ac_cv_prog_AR
="$ac_tool_prefix$ac_prog"
5256 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5266 if test -n "$AR"; then
5267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5268 $as_echo "$AR" >&6; }
5270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5271 $as_echo "no" >&6; }
5275 test -n "$AR" && break
5278 if test -z "$AR"; then
5280 for ac_prog
in ar gar
5282 # Extract the first word of "$ac_prog", so it can be a program name with args.
5283 set dummy
$ac_prog; ac_word
=$2
5284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5285 $as_echo_n "checking for $ac_word... " >&6; }
5286 if ${ac_cv_prog_ac_ct_AR+:} false
; then :
5287 $as_echo_n "(cached) " >&6
5289 if test -n "$ac_ct_AR"; then
5290 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
5292 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5296 test -z "$as_dir" && as_dir
=.
5297 for ac_exec_ext
in '' $ac_executable_extensions; do
5298 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5299 ac_cv_prog_ac_ct_AR
="$ac_prog"
5300 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5309 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
5310 if test -n "$ac_ct_AR"; then
5311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5312 $as_echo "$ac_ct_AR" >&6; }
5314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5315 $as_echo "no" >&6; }
5319 test -n "$ac_ct_AR" && break
5322 if test "x$ac_ct_AR" = x
; then
5325 case $cross_compiling:$ac_tool_warned in
5327 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5328 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5329 ac_tool_warned
=yes ;;
5335 if test -n "$ac_tool_prefix"; then
5336 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5337 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
5338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5339 $as_echo_n "checking for $ac_word... " >&6; }
5340 if ${ac_cv_prog_STRIP+:} false
; then :
5341 $as_echo_n "(cached) " >&6
5343 if test -n "$STRIP"; then
5344 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
5346 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5350 test -z "$as_dir" && as_dir
=.
5351 for ac_exec_ext
in '' $ac_executable_extensions; do
5352 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5353 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
5354 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5363 STRIP
=$ac_cv_prog_STRIP
5364 if test -n "$STRIP"; then
5365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5366 $as_echo "$STRIP" >&6; }
5368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5369 $as_echo "no" >&6; }
5374 if test -z "$ac_cv_prog_STRIP"; then
5376 # Extract the first word of "strip", so it can be a program name with args.
5377 set dummy strip
; ac_word
=$2
5378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5379 $as_echo_n "checking for $ac_word... " >&6; }
5380 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
5381 $as_echo_n "(cached) " >&6
5383 if test -n "$ac_ct_STRIP"; then
5384 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
5386 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5390 test -z "$as_dir" && as_dir
=.
5391 for ac_exec_ext
in '' $ac_executable_extensions; do
5392 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5393 ac_cv_prog_ac_ct_STRIP
="strip"
5394 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5403 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
5404 if test -n "$ac_ct_STRIP"; then
5405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5406 $as_echo "$ac_ct_STRIP" >&6; }
5408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5409 $as_echo "no" >&6; }
5412 if test "x$ac_ct_STRIP" = x
; then
5415 case $cross_compiling:$ac_tool_warned in
5417 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5418 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5419 ac_tool_warned
=yes ;;
5424 STRIP
="$ac_cv_prog_STRIP"
5429 if test -n "$ac_tool_prefix"; then
5430 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5431 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
5432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5433 $as_echo_n "checking for $ac_word... " >&6; }
5434 if ${ac_cv_prog_RANLIB+:} false
; then :
5435 $as_echo_n "(cached) " >&6
5437 if test -n "$RANLIB"; then
5438 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
5440 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5444 test -z "$as_dir" && as_dir
=.
5445 for ac_exec_ext
in '' $ac_executable_extensions; do
5446 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5447 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
5448 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5457 RANLIB
=$ac_cv_prog_RANLIB
5458 if test -n "$RANLIB"; then
5459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5460 $as_echo "$RANLIB" >&6; }
5462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5463 $as_echo "no" >&6; }
5468 if test -z "$ac_cv_prog_RANLIB"; then
5469 ac_ct_RANLIB
=$RANLIB
5470 # Extract the first word of "ranlib", so it can be a program name with args.
5471 set dummy ranlib
; ac_word
=$2
5472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5473 $as_echo_n "checking for $ac_word... " >&6; }
5474 if ${ac_cv_prog_ac_ct_RANLIB+:} false
; then :
5475 $as_echo_n "(cached) " >&6
5477 if test -n "$ac_ct_RANLIB"; then
5478 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
5480 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5484 test -z "$as_dir" && as_dir
=.
5485 for ac_exec_ext
in '' $ac_executable_extensions; do
5486 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5487 ac_cv_prog_ac_ct_RANLIB
="ranlib"
5488 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5497 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
5498 if test -n "$ac_ct_RANLIB"; then
5499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5500 $as_echo "$ac_ct_RANLIB" >&6; }
5502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5503 $as_echo "no" >&6; }
5506 if test "x$ac_ct_RANLIB" = x
; then
5509 case $cross_compiling:$ac_tool_warned in
5511 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5512 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5513 ac_tool_warned
=yes ;;
5515 RANLIB
=$ac_ct_RANLIB
5518 RANLIB
="$ac_cv_prog_RANLIB"
5521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5522 $as_echo_n "checking whether ln -s works... " >&6; }
5524 if test "$LN_S" = "ln -s"; then
5525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5526 $as_echo "yes" >&6; }
5528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5529 $as_echo "no, using $LN_S" >&6; }
5532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5533 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5534 if ${ac_cv_path_GREP+:} false
; then :
5535 $as_echo_n "(cached) " >&6
5537 if test -z "$GREP"; then
5538 ac_path_GREP_found
=false
5539 # Loop through the user's path and test for each of PROGNAME-LIST
5540 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5541 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5544 test -z "$as_dir" && as_dir
=.
5545 for ac_prog
in grep ggrep
; do
5546 for ac_exec_ext
in '' $ac_executable_extensions; do
5547 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
5548 as_fn_executable_p
"$ac_path_GREP" ||
continue
5549 # Check for GNU ac_path_GREP and select it if it is found.
5550 # Check for GNU $ac_path_GREP
5551 case `"$ac_path_GREP" --version 2>&1` in
5553 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
5556 $as_echo_n 0123456789 >"conftest.in"
5559 cat "conftest.in" "conftest.in" >"conftest.tmp"
5560 mv "conftest.tmp" "conftest.in"
5561 cp "conftest.in" "conftest.nl"
5562 $as_echo 'GREP' >> "conftest.nl"
5563 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5564 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5565 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5566 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5567 # Best one so far, save it but keep looking for a better one
5568 ac_cv_path_GREP
="$ac_path_GREP"
5569 ac_path_GREP_max
=$ac_count
5571 # 10*(2^10) chars as input seems more than enough
5572 test $ac_count -gt 10 && break
5574 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5577 $ac_path_GREP_found && break 3
5582 if test -z "$ac_cv_path_GREP"; then
5583 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5586 ac_cv_path_GREP
=$GREP
5590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5591 $as_echo "$ac_cv_path_GREP" >&6; }
5592 GREP
="$ac_cv_path_GREP"
5595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5596 $as_echo_n "checking for egrep... " >&6; }
5597 if ${ac_cv_path_EGREP+:} false
; then :
5598 $as_echo_n "(cached) " >&6
5600 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
5601 then ac_cv_path_EGREP
="$GREP -E"
5603 if test -z "$EGREP"; then
5604 ac_path_EGREP_found
=false
5605 # Loop through the user's path and test for each of PROGNAME-LIST
5606 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5607 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5610 test -z "$as_dir" && as_dir
=.
5611 for ac_prog
in egrep; do
5612 for ac_exec_ext
in '' $ac_executable_extensions; do
5613 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
5614 as_fn_executable_p
"$ac_path_EGREP" ||
continue
5615 # Check for GNU ac_path_EGREP and select it if it is found.
5616 # Check for GNU $ac_path_EGREP
5617 case `"$ac_path_EGREP" --version 2>&1` in
5619 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
5622 $as_echo_n 0123456789 >"conftest.in"
5625 cat "conftest.in" "conftest.in" >"conftest.tmp"
5626 mv "conftest.tmp" "conftest.in"
5627 cp "conftest.in" "conftest.nl"
5628 $as_echo 'EGREP' >> "conftest.nl"
5629 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5630 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5631 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5632 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5633 # Best one so far, save it but keep looking for a better one
5634 ac_cv_path_EGREP
="$ac_path_EGREP"
5635 ac_path_EGREP_max
=$ac_count
5637 # 10*(2^10) chars as input seems more than enough
5638 test $ac_count -gt 10 && break
5640 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5643 $ac_path_EGREP_found && break 3
5648 if test -z "$ac_cv_path_EGREP"; then
5649 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5652 ac_cv_path_EGREP
=$EGREP
5657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5658 $as_echo "$ac_cv_path_EGREP" >&6; }
5659 EGREP
="$ac_cv_path_EGREP"
5662 # Extract the first word of "ldconfig", so it can be a program name with args.
5663 set dummy ldconfig
; ac_word
=$2
5664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5665 $as_echo_n "checking for $ac_word... " >&6; }
5666 if ${ac_cv_path_LDCONFIG+:} false
; then :
5667 $as_echo_n "(cached) " >&6
5671 ac_cv_path_LDCONFIG
="$LDCONFIG" # Let the user override the test with a path.
5674 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5675 for as_dir
in /sbin
/usr
/sbin
$PATH
5678 test -z "$as_dir" && as_dir
=.
5679 for ac_exec_ext
in '' $ac_executable_extensions; do
5680 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5681 ac_cv_path_LDCONFIG
="$as_dir/$ac_word$ac_exec_ext"
5682 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5689 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG
="true"
5693 LDCONFIG
=$ac_cv_path_LDCONFIG
5694 if test -n "$LDCONFIG"; then
5695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
5696 $as_echo "$LDCONFIG" >&6; }
5698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5699 $as_echo "no" >&6; }
5703 for ac_prog
in msgfmt
5705 # Extract the first word of "$ac_prog", so it can be a program name with args.
5706 set dummy
$ac_prog; ac_word
=$2
5707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5708 $as_echo_n "checking for $ac_word... " >&6; }
5709 if ${ac_cv_prog_MSGFMT+:} false
; then :
5710 $as_echo_n "(cached) " >&6
5712 if test -n "$MSGFMT"; then
5713 ac_cv_prog_MSGFMT
="$MSGFMT" # Let the user override the test.
5715 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5719 test -z "$as_dir" && as_dir
=.
5720 for ac_exec_ext
in '' $ac_executable_extensions; do
5721 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5722 ac_cv_prog_MSGFMT
="$ac_prog"
5723 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5732 MSGFMT
=$ac_cv_prog_MSGFMT
5733 if test -n "$MSGFMT"; then
5734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5735 $as_echo "$MSGFMT" >&6; }
5737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5738 $as_echo "no" >&6; }
5742 test -n "$MSGFMT" && break
5744 test -n "$MSGFMT" || MSGFMT
="false"
5746 if ${ac_tool_prefix+:} false
; then :
5747 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5748 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
5749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5750 $as_echo_n "checking for $ac_word... " >&6; }
5751 if ${ac_cv_prog_PKG_CONFIG+:} false
; then :
5752 $as_echo_n "(cached) " >&6
5754 if test -n "$PKG_CONFIG"; then
5755 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
5757 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5761 test -z "$as_dir" && as_dir
=.
5762 for ac_exec_ext
in '' $ac_executable_extensions; do
5763 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5764 ac_cv_prog_PKG_CONFIG
="${ac_tool_prefix}pkg-config"
5765 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5774 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
5775 if test -n "$PKG_CONFIG"; then
5776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5777 $as_echo "$PKG_CONFIG" >&6; }
5779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5780 $as_echo "no" >&6; }
5785 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
5786 if test "x$cross_compiling" = xyes
; then :
5789 { ac_cv_prog_PKG_CONFIG
=; unset ac_cv_prog_PKG_CONFIG
;}
5790 # Extract the first word of "pkg-config", so it can be a program name with args.
5791 set dummy pkg-config
; ac_word
=$2
5792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5793 $as_echo_n "checking for $ac_word... " >&6; }
5794 if ${ac_cv_prog_PKG_CONFIG+:} false
; then :
5795 $as_echo_n "(cached) " >&6
5797 if test -n "$PKG_CONFIG"; then
5798 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
5800 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5804 test -z "$as_dir" && as_dir
=.
5805 for ac_exec_ext
in '' $ac_executable_extensions; do
5806 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5807 ac_cv_prog_PKG_CONFIG
="pkg-config"
5808 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5817 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
5818 if test -n "$PKG_CONFIG"; then
5819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5820 $as_echo "$PKG_CONFIG" >&6; }
5822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5823 $as_echo "no" >&6; }
5829 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
5832 if test "x$enable_maintainer_mode" != "xyes"
5839 test "$srcdir" = . || as_fn_error $?
"Maintainer mode cannot work out of tree." "$LINENO" 5
5840 for ac_prog
in fontforge
5842 # Extract the first word of "$ac_prog", so it can be a program name with args.
5843 set dummy
$ac_prog; ac_word
=$2
5844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5845 $as_echo_n "checking for $ac_word... " >&6; }
5846 if ${ac_cv_prog_FONTFORGE+:} false
; then :
5847 $as_echo_n "(cached) " >&6
5849 if test -n "$FONTFORGE"; then
5850 ac_cv_prog_FONTFORGE
="$FONTFORGE" # Let the user override the test.
5852 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5856 test -z "$as_dir" && as_dir
=.
5857 for ac_exec_ext
in '' $ac_executable_extensions; do
5858 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5859 ac_cv_prog_FONTFORGE
="$ac_prog"
5860 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5869 FONTFORGE
=$ac_cv_prog_FONTFORGE
5870 if test -n "$FONTFORGE"; then
5871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
5872 $as_echo "$FONTFORGE" >&6; }
5874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5875 $as_echo "no" >&6; }
5879 test -n "$FONTFORGE" && break
5881 test -n "$FONTFORGE" || FONTFORGE
="false"
5883 for ac_prog
in rsvg-convert rsvg
5885 # Extract the first word of "$ac_prog", so it can be a program name with args.
5886 set dummy
$ac_prog; ac_word
=$2
5887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5888 $as_echo_n "checking for $ac_word... " >&6; }
5889 if ${ac_cv_prog_RSVG+:} false
; then :
5890 $as_echo_n "(cached) " >&6
5892 if test -n "$RSVG"; then
5893 ac_cv_prog_RSVG
="$RSVG" # Let the user override the test.
5895 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5899 test -z "$as_dir" && as_dir
=.
5900 for ac_exec_ext
in '' $ac_executable_extensions; do
5901 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5902 ac_cv_prog_RSVG
="$ac_prog"
5903 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5912 RSVG
=$ac_cv_prog_RSVG
5913 if test -n "$RSVG"; then
5914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
5915 $as_echo "$RSVG" >&6; }
5917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5918 $as_echo "no" >&6; }
5922 test -n "$RSVG" && break
5924 test -n "$RSVG" || RSVG
="false"
5926 for ac_prog
in convert
5928 # Extract the first word of "$ac_prog", so it can be a program name with args.
5929 set dummy
$ac_prog; ac_word
=$2
5930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5931 $as_echo_n "checking for $ac_word... " >&6; }
5932 if ${ac_cv_prog_CONVERT+:} false
; then :
5933 $as_echo_n "(cached) " >&6
5935 if test -n "$CONVERT"; then
5936 ac_cv_prog_CONVERT
="$CONVERT" # Let the user override the test.
5938 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5942 test -z "$as_dir" && as_dir
=.
5943 for ac_exec_ext
in '' $ac_executable_extensions; do
5944 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5945 ac_cv_prog_CONVERT
="$ac_prog"
5946 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5955 CONVERT
=$ac_cv_prog_CONVERT
5956 if test -n "$CONVERT"; then
5957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
5958 $as_echo "$CONVERT" >&6; }
5960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5961 $as_echo "no" >&6; }
5965 test -n "$CONVERT" && break
5967 test -n "$CONVERT" || CONVERT
="false"
5969 for ac_prog
in icotool
5971 # Extract the first word of "$ac_prog", so it can be a program name with args.
5972 set dummy
$ac_prog; ac_word
=$2
5973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5974 $as_echo_n "checking for $ac_word... " >&6; }
5975 if ${ac_cv_prog_ICOTOOL+:} false
; then :
5976 $as_echo_n "(cached) " >&6
5978 if test -n "$ICOTOOL"; then
5979 ac_cv_prog_ICOTOOL
="$ICOTOOL" # Let the user override the test.
5981 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5985 test -z "$as_dir" && as_dir
=.
5986 for ac_exec_ext
in '' $ac_executable_extensions; do
5987 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5988 ac_cv_prog_ICOTOOL
="$ac_prog"
5989 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5998 ICOTOOL
=$ac_cv_prog_ICOTOOL
5999 if test -n "$ICOTOOL"; then
6000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
6001 $as_echo "$ICOTOOL" >&6; }
6003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6004 $as_echo "no" >&6; }
6008 test -n "$ICOTOOL" && break
6010 test -n "$ICOTOOL" || ICOTOOL
="false"
6012 test "$FONTFORGE" != "false" || as_fn_error $?
"You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
6013 test "$RSVG" != "false" || as_fn_error $?
"You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
6015 if test "$CONVERT" = false
6017 as_fn_error $?
"You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
6019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
6020 $as_echo_n "checking for recent enough imagemagick... " >&6; }
6021 convert_version
=`convert --version | head -n1`
6022 if test "x$convert_version" != "x"
6024 convert_version_major
=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
6025 convert_version_minor
=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
6026 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
6031 if test "$CONVERT" = false
6033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
6034 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
6035 as_fn_error $?
"You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
6038 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
6042 if test "$ICOTOOL" = false
6044 as_fn_error $?
"You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
6046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
6047 $as_echo_n "checking for recent enough icotool... " >&6; }
6048 icotool_version
=`icotool --version | head -n1`
6049 if test "x$icotool_version" != "x"
6051 icotool_version_major
=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
6052 icotool_version_minor
=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
6053 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
6056 as_fn_append wine_warnings
"|icotool version 0.29.0 or newer is needed to rebuild icons."
6059 if test "$ICOTOOL" = false
6061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
6062 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
6063 as_fn_error $?
"You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
6066 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
6072 { ac_cv_header_gettext_po_h
=; unset ac_cv_header_gettext_po_h
;}
6075 test "x$with_gettext" != xno || MSGFMT
=false
6076 if test "$MSGFMT" != "false"
6078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
6079 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
6080 cat >conftest.po
<<EOF
6086 if $MSGFMT -o /dev
/null conftest.po
2>&5
6088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6089 $as_echo "yes" >&6; }
6091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6092 $as_echo "no" >&6; }
6096 if test "$MSGFMT" = false
; then :
6097 case "x$with_gettext" in
6098 x
) as_fn_append wine_warnings
"|gettext tools not found (or too old), translations won't be built." ;;
6100 *) as_fn_error $?
"gettext tools not found (or too old), translations won't be built.
6101 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6107 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6108 if ${ac_cv_lib_i386_i386_set_ldt+:} false
; then :
6109 $as_echo_n "(cached) " >&6
6111 ac_check_lib_save_LIBS
=$LIBS
6113 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6114 /* end confdefs.h. */
6116 /* Override any GCC internal prototype to avoid an error.
6117 Use char because int might match the return type of a GCC
6118 builtin and then its argument prototype would still apply. */
6122 char i386_set_ldt ();
6126 return i386_set_ldt ();
6131 if ac_fn_c_try_link
"$LINENO"; then :
6132 ac_cv_lib_i386_i386_set_ldt
=yes
6134 ac_cv_lib_i386_i386_set_ldt
=no
6136 rm -f core conftest.err conftest.
$ac_objext \
6137 conftest
$ac_exeext conftest.
$ac_ext
6138 LIBS
=$ac_check_lib_save_LIBS
6140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6141 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6142 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes
; then :
6143 cat >>confdefs.h
<<_ACEOF
6144 #define HAVE_LIBI386 1
6151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
6152 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
6153 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false
; then :
6154 $as_echo_n "(cached) " >&6
6156 ac_check_lib_save_LIBS
=$LIBS
6157 LIBS
="-lossaudio $LIBS"
6158 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6159 /* end confdefs.h. */
6161 /* Override any GCC internal prototype to avoid an error.
6162 Use char because int might match the return type of a GCC
6163 builtin and then its argument prototype would still apply. */
6171 return _oss_ioctl ();
6176 if ac_fn_c_try_link
"$LINENO"; then :
6177 ac_cv_lib_ossaudio__oss_ioctl
=yes
6179 ac_cv_lib_ossaudio__oss_ioctl
=no
6181 rm -f core conftest.err conftest.
$ac_objext \
6182 conftest
$ac_exeext conftest.
$ac_ext
6183 LIBS
=$ac_check_lib_save_LIBS
6185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6186 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6187 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes
; then :
6188 cat >>confdefs.h
<<_ACEOF
6189 #define HAVE_LIBOSSAUDIO 1
6192 LIBS
="-lossaudio $LIBS"
6201 # Check whether --enable-largefile was given.
6202 if test "${enable_largefile+set}" = set; then :
6203 enableval
=$enable_largefile;
6206 if test "$enable_largefile" != no
; then
6208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6209 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6210 if ${ac_cv_sys_largefile_CC+:} false
; then :
6211 $as_echo_n "(cached) " >&6
6213 ac_cv_sys_largefile_CC
=no
6214 if test "$GCC" != yes; then
6217 # IRIX 6.2 and later do not support large files by default,
6218 # so use the C compiler's -n32 option if that helps.
6219 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6220 /* end confdefs.h. */
6221 #include <sys/types.h>
6222 /* Check that off_t can represent 2**63 - 1 correctly.
6223 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6224 since some C++ compilers masquerading as C compilers
6225 incorrectly reject 9223372036854775807. */
6226 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6227 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6228 && LARGE_OFF_T % 2147483647 == 1)
6238 if ac_fn_c_try_compile
"$LINENO"; then :
6241 rm -f core conftest.err conftest.
$ac_objext
6243 if ac_fn_c_try_compile
"$LINENO"; then :
6244 ac_cv_sys_largefile_CC
=' -n32'; break
6246 rm -f core conftest.err conftest.
$ac_objext
6250 rm -f conftest.
$ac_ext
6253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6254 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6255 if test "$ac_cv_sys_largefile_CC" != no
; then
6256 CC
=$CC$ac_cv_sys_largefile_CC
6259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6260 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6261 if ${ac_cv_sys_file_offset_bits+:} false
; then :
6262 $as_echo_n "(cached) " >&6
6265 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6266 /* end confdefs.h. */
6267 #include <sys/types.h>
6268 /* Check that off_t can represent 2**63 - 1 correctly.
6269 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6270 since some C++ compilers masquerading as C compilers
6271 incorrectly reject 9223372036854775807. */
6272 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6273 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6274 && LARGE_OFF_T % 2147483647 == 1)
6284 if ac_fn_c_try_compile
"$LINENO"; then :
6285 ac_cv_sys_file_offset_bits
=no
; break
6287 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6288 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6289 /* end confdefs.h. */
6290 #define _FILE_OFFSET_BITS 64
6291 #include <sys/types.h>
6292 /* Check that off_t can represent 2**63 - 1 correctly.
6293 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6294 since some C++ compilers masquerading as C compilers
6295 incorrectly reject 9223372036854775807. */
6296 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6297 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6298 && LARGE_OFF_T % 2147483647 == 1)
6308 if ac_fn_c_try_compile
"$LINENO"; then :
6309 ac_cv_sys_file_offset_bits
=64; break
6311 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6312 ac_cv_sys_file_offset_bits
=unknown
6316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6317 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6318 case $ac_cv_sys_file_offset_bits in #(
6321 cat >>confdefs.h
<<_ACEOF
6322 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6327 if test $ac_cv_sys_file_offset_bits = unknown
; then
6328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6329 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6330 if ${ac_cv_sys_large_files+:} false
; then :
6331 $as_echo_n "(cached) " >&6
6334 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6335 /* end confdefs.h. */
6336 #include <sys/types.h>
6337 /* Check that off_t can represent 2**63 - 1 correctly.
6338 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6339 since some C++ compilers masquerading as C compilers
6340 incorrectly reject 9223372036854775807. */
6341 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6342 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6343 && LARGE_OFF_T % 2147483647 == 1)
6353 if ac_fn_c_try_compile
"$LINENO"; then :
6354 ac_cv_sys_large_files
=no
; break
6356 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6357 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6358 /* end confdefs.h. */
6359 #define _LARGE_FILES 1
6360 #include <sys/types.h>
6361 /* Check that off_t can represent 2**63 - 1 correctly.
6362 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6363 since some C++ compilers masquerading as C compilers
6364 incorrectly reject 9223372036854775807. */
6365 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6366 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6367 && LARGE_OFF_T % 2147483647 == 1)
6377 if ac_fn_c_try_compile
"$LINENO"; then :
6378 ac_cv_sys_large_files
=1; break
6380 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6381 ac_cv_sys_large_files
=unknown
6385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6386 $as_echo "$ac_cv_sys_large_files" >&6; }
6387 case $ac_cv_sys_large_files in #(
6390 cat >>confdefs.h
<<_ACEOF
6391 #define _LARGE_FILES $ac_cv_sys_large_files
6403 ac_cpp
='$CPP $CPPFLAGS'
6404 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6405 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6406 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6408 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6409 # On Suns, sometimes $CPP names a directory.
6410 if test -n "$CPP" && test -d "$CPP"; then
6413 if test -z "$CPP"; then
6414 if ${ac_cv_prog_CPP+:} false
; then :
6415 $as_echo_n "(cached) " >&6
6417 # Double quotes because CPP needs to be expanded
6418 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6421 for ac_c_preproc_warn_flag
in '' yes
6423 # Use a header file that comes with gcc, so configuring glibc
6424 # with a fresh cross-compiler works.
6425 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6426 # <limits.h> exists even on freestanding compilers.
6427 # On the NeXT, cc -E runs the code through the compiler's parser,
6428 # not just through cpp. "Syntax error" is here to catch this case.
6429 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6430 /* end confdefs.h. */
6432 # include <limits.h>
6434 # include <assert.h>
6438 if ac_fn_c_try_cpp
"$LINENO"; then :
6441 # Broken: fails on valid input.
6444 rm -f conftest.err conftest.i conftest.
$ac_ext
6446 # OK, works on sane cases. Now check whether nonexistent headers
6447 # can be detected and how.
6448 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6449 /* end confdefs.h. */
6450 #include <ac_nonexistent.h>
6452 if ac_fn_c_try_cpp
"$LINENO"; then :
6453 # Broken: success on invalid input.
6456 # Passes both tests.
6460 rm -f conftest.err conftest.i conftest.
$ac_ext
6463 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6464 rm -f conftest.i conftest.err conftest.
$ac_ext
6465 if $ac_preproc_ok; then :
6477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6478 $as_echo "$CPP" >&6; }
6480 for ac_c_preproc_warn_flag
in '' yes
6482 # Use a header file that comes with gcc, so configuring glibc
6483 # with a fresh cross-compiler works.
6484 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6485 # <limits.h> exists even on freestanding compilers.
6486 # On the NeXT, cc -E runs the code through the compiler's parser,
6487 # not just through cpp. "Syntax error" is here to catch this case.
6488 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6489 /* end confdefs.h. */
6491 # include <limits.h>
6493 # include <assert.h>
6497 if ac_fn_c_try_cpp
"$LINENO"; then :
6500 # Broken: fails on valid input.
6503 rm -f conftest.err conftest.i conftest.
$ac_ext
6505 # OK, works on sane cases. Now check whether nonexistent headers
6506 # can be detected and how.
6507 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6508 /* end confdefs.h. */
6509 #include <ac_nonexistent.h>
6511 if ac_fn_c_try_cpp
"$LINENO"; then :
6512 # Broken: success on invalid input.
6515 # Passes both tests.
6519 rm -f conftest.err conftest.i conftest.
$ac_ext
6522 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6523 rm -f conftest.i conftest.err conftest.
$ac_ext
6524 if $ac_preproc_ok; then :
6527 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6528 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6529 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
6530 See \`config.log' for more details" "$LINENO" 5; }
6534 ac_cpp
='$CPP $CPPFLAGS'
6535 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6536 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6537 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6541 $as_echo_n "checking for ANSI C header files... " >&6; }
6542 if ${ac_cv_header_stdc+:} false
; then :
6543 $as_echo_n "(cached) " >&6
6545 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6546 /* end confdefs.h. */
6560 if ac_fn_c_try_compile
"$LINENO"; then :
6561 ac_cv_header_stdc
=yes
6563 ac_cv_header_stdc
=no
6565 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6567 if test $ac_cv_header_stdc = yes; then
6568 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6569 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6570 /* end confdefs.h. */
6574 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6575 $EGREP "memchr" >/dev
/null
2>&1; then :
6578 ac_cv_header_stdc
=no
6584 if test $ac_cv_header_stdc = yes; then
6585 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6586 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6587 /* end confdefs.h. */
6591 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6592 $EGREP "free" >/dev
/null
2>&1; then :
6595 ac_cv_header_stdc
=no
6601 if test $ac_cv_header_stdc = yes; then
6602 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6603 if test "$cross_compiling" = yes; then :
6606 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6607 /* end confdefs.h. */
6610 #if ((' ' & 0x0FF) == 0x020)
6611 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6612 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6614 # define ISLOWER(c) \
6615 (('a' <= (c) && (c) <= 'i') \
6616 || ('j' <= (c) && (c) <= 'r') \
6617 || ('s' <= (c) && (c) <= 'z'))
6618 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6621 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6626 for (i = 0; i < 256; i++)
6627 if (XOR (islower (i), ISLOWER (i))
6628 || toupper (i) != TOUPPER (i))
6633 if ac_fn_c_try_run
"$LINENO"; then :
6636 ac_cv_header_stdc
=no
6638 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6639 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6645 $as_echo "$ac_cv_header_stdc" >&6; }
6646 if test $ac_cv_header_stdc = yes; then
6648 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6652 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6653 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
6654 inttypes.h stdint.h unistd.h
6656 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6657 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6659 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6660 cat >>confdefs.h
<<_ACEOF
6661 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6671 ApplicationServices
/ApplicationServices.h \
6672 AudioToolbox
/AudioConverter.h \
6673 AudioUnit
/AudioUnit.h \
6674 AudioUnit
/AudioComponent.h \
6677 CoreAudio
/CoreAudio.h \
6678 CoreServices
/CoreServices.h \
6679 DiskArbitration
/DiskArbitration.h \
6681 IOKit
/hid
/IOHIDLib.h \
6684 QuickTime
/ImageCompression.h \
6685 Security
/Security.h \
6736 netinet
/in_systm.h \
6799 valgrind
/memcheck.h \
6800 valgrind
/valgrind.h \
6804 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6805 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6806 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6807 cat >>confdefs.h
<<_ACEOF
6808 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
6816 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
6817 if ${ac_cv_header_stat_broken+:} false
; then :
6818 $as_echo_n "(cached) " >&6
6820 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6821 /* end confdefs.h. */
6822 #include <sys/types.h>
6823 #include <sys/stat.h>
6825 #if defined S_ISBLK && defined S_IFDIR
6826 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
6829 #if defined S_ISBLK && defined S_IFCHR
6830 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
6833 #if defined S_ISLNK && defined S_IFREG
6834 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
6837 #if defined S_ISSOCK && defined S_IFREG
6838 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
6842 if ac_fn_c_try_compile
"$LINENO"; then :
6843 ac_cv_header_stat_broken
=no
6845 ac_cv_header_stat_broken
=yes
6847 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
6850 $as_echo "$ac_cv_header_stat_broken" >&6; }
6851 if test $ac_cv_header_stat_broken = yes; then
6853 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
6859 for ac_header
in sys
/mount.h sys
/statfs.h sys
/sysctl.h sys
/user.h sys
/vfs.h
6861 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6862 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6863 #ifdef HAVE_SYS_PARAM_H
6864 # include <sys/param.h>
6867 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6868 cat >>confdefs.h
<<_ACEOF
6869 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6884 netinet
/if_ether.h \
6885 netinet
/if_inarp.h \
6894 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6895 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6896 #ifdef HAVE_SYS_SOCKET_H
6897 # include <sys/socket.h>
6899 #ifdef HAVE_SYS_SOCKETVAR_H
6900 # include <sys/socketvar.h>
6902 #ifdef HAVE_NET_ROUTE_H
6903 # include <net/route.h>
6905 #ifdef HAVE_NETINET_IN_H
6906 # include <netinet/in.h>
6908 #ifdef HAVE_NETINET_IN_SYSTM_H
6909 # include <netinet/in_systm.h>
6911 #ifdef HAVE_NET_IF_H
6912 # include <net/if.h>
6914 #ifdef HAVE_NETINET_IP_H
6915 # include <netinet/ip.h>
6918 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6919 cat >>confdefs.h
<<_ACEOF
6920 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6928 for ac_header
in netinet
/tcp_timer.h netinet
/udp_var.h netinet
/icmp_var.h netinet
/tcp_var.h
6930 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6931 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6935 #ifdef HAVE_SYS_SOCKET_H
6936 # include <sys/socket.h>
6938 #ifdef HAVE_SYS_SOCKETVAR_H
6939 # include <sys/socketvar.h>
6941 #ifdef HAVE_SYS_TIMEOUT_H
6942 # include <sys/timeout.h>
6944 #ifdef HAVE_NETINET_IN_H
6945 # include <netinet/in.h>
6947 #ifdef HAVE_NETINET_IN_SYSTM_H
6948 # include <netinet/in_systm.h>
6950 #ifdef HAVE_NETINET_IP_H
6951 # include <netinet/ip.h>
6953 #ifdef HAVE_NETINET_IP_VAR_H
6954 # include <netinet/ip_var.h>
6956 #ifdef HAVE_NETINET_IP_ICMP_H
6957 # include <netinet/ip_icmp.h>
6959 #ifdef HAVE_NETINET_UDP_H
6960 # include <netinet/udp.h>
6962 #ifdef HAVE_NETINET_TCP_H
6963 # include <netinet/tcp.h>
6965 #ifdef HAVE_NETINET_TCP_TIMER_H
6966 #include <netinet/tcp_timer.h>
6969 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6970 cat >>confdefs.h
<<_ACEOF
6971 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6979 for ac_header
in linux
/ipx.h linux
/irda.h linux
/rtnetlink.h
6981 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6982 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6983 #ifdef HAVE_ASM_TYPES_H
6984 # include <asm/types.h>
6986 #ifdef HAVE_SYS_SOCKET_H
6987 # include <sys/socket.h>
6989 #ifdef HAVE_LINUX_TYPES_H
6990 # include <linux/types.h>
6993 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6994 cat >>confdefs.h
<<_ACEOF
6995 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7003 for ac_header
in mach-o
/dyld_images.h
7005 ac_fn_c_check_header_compile
"$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
7006 # include <stdbool.h>
7008 #ifdef HAVE_STDINT_H
7009 # include <stdint.h>
7012 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes
; then :
7013 cat >>confdefs.h
<<_ACEOF
7014 #define HAVE_MACH_O_DYLD_IMAGES_H 1
7022 for ac_header
in resolv.h
7024 ac_fn_c_check_header_compile
"$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
7025 #ifdef HAVE_SYS_SOCKET_H
7026 # include <sys/socket.h>
7028 #ifdef HAVE_NETINET_IN_H
7029 # include <netinet/in.h>
7031 #ifdef HAVE_ARPA_NAMESER_H
7032 # include <arpa/nameser.h>
7035 if test "x$ac_cv_header_resolv_h" = xyes
; then :
7036 cat >>confdefs.h
<<_ACEOF
7037 #define HAVE_RESOLV_H 1
7045 for ac_header
in ifaddrs.h
7047 ac_fn_c_check_header_compile
"$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
7049 if test "x$ac_cv_header_ifaddrs_h" = xyes
; then :
7050 cat >>confdefs.h
<<_ACEOF
7051 #define HAVE_IFADDRS_H 1
7059 for ac_header
in sys
/ucontext.h
7061 ac_fn_c_check_header_compile
"$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
7063 if test "x$ac_cv_header_sys_ucontext_h" = xyes
; then :
7064 cat >>confdefs.h
<<_ACEOF
7065 #define HAVE_SYS_UCONTEXT_H 1
7073 for ac_header
in sys
/thr.h
7075 ac_fn_c_check_header_compile
"$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
7076 #ifdef HAVE_SYS_UCONTEXT_H
7077 #include <sys/ucontext.h>
7080 if test "x$ac_cv_header_sys_thr_h" = xyes
; then :
7081 cat >>confdefs.h
<<_ACEOF
7082 #define HAVE_SYS_THR_H 1
7090 for ac_header
in pthread_np.h
7092 ac_fn_c_check_header_compile
"$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7093 #include <pthread.h>
7096 if test "x$ac_cv_header_pthread_np_h" = xyes
; then :
7097 cat >>confdefs.h
<<_ACEOF
7098 #define HAVE_PTHREAD_NP_H 1
7106 for ac_header
in linux
/videodev.h linux
/videodev2.h libv4l1.h
7108 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7109 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
7110 #include <sys/time.h>
7112 #include <sys/types.h>
7113 #ifdef HAVE_ASM_TYPES_H
7114 #include <asm/types.h>
7117 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
7118 cat >>confdefs.h
<<_ACEOF
7119 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7127 for ac_header
in libprocstat.h
7129 ac_fn_c_check_header_compile
"$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7130 #include <sys/param.h>
7132 #ifdef HAVE_SYS_QUEUE_H
7133 #include <sys/queue.h>
7135 #ifdef HAVE_SYS_SOCKET_H
7136 #include <sys/socket.h>
7139 if test "x$ac_cv_header_libprocstat_h" = xyes
; then :
7140 cat >>confdefs.h
<<_ACEOF
7141 #define HAVE_LIBPROCSTAT_H 1
7150 dlldir
="\${libdir}/wine"
7152 DLLFLAGS
="-D_REENTRANT"
7163 STATIC_IMPLIBEXT
="def.a"
7164 # Extract the first word of "ldd", so it can be a program name with args.
7165 set dummy ldd
; ac_word
=$2
7166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7167 $as_echo_n "checking for $ac_word... " >&6; }
7168 if ${ac_cv_path_LDD+:} false
; then :
7169 $as_echo_n "(cached) " >&6
7173 ac_cv_path_LDD
="$LDD" # Let the user override the test with a path.
7176 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7177 as_dummy
="/sbin:/usr/sbin:$PATH"
7178 for as_dir
in $as_dummy
7181 test -z "$as_dir" && as_dir
=.
7182 for ac_exec_ext
in '' $ac_executable_extensions; do
7183 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7184 ac_cv_path_LDD
="$as_dir/$ac_word$ac_exec_ext"
7185 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7192 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD
="true"
7197 if test -n "$LDD"; then
7198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7199 $as_echo "$LDD" >&6; }
7201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7202 $as_echo "no" >&6; }
7206 if test -n "$ac_tool_prefix"; then
7207 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7208 set dummy
${ac_tool_prefix}otool
; ac_word
=$2
7209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7210 $as_echo_n "checking for $ac_word... " >&6; }
7211 if ${ac_cv_prog_OTOOL+:} false
; then :
7212 $as_echo_n "(cached) " >&6
7214 if test -n "$OTOOL"; then
7215 ac_cv_prog_OTOOL
="$OTOOL" # Let the user override the test.
7217 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7221 test -z "$as_dir" && as_dir
=.
7222 for ac_exec_ext
in '' $ac_executable_extensions; do
7223 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7224 ac_cv_prog_OTOOL
="${ac_tool_prefix}otool"
7225 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7234 OTOOL
=$ac_cv_prog_OTOOL
7235 if test -n "$OTOOL"; then
7236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7237 $as_echo "$OTOOL" >&6; }
7239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7240 $as_echo "no" >&6; }
7245 if test -z "$ac_cv_prog_OTOOL"; then
7247 # Extract the first word of "otool", so it can be a program name with args.
7248 set dummy otool
; ac_word
=$2
7249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7250 $as_echo_n "checking for $ac_word... " >&6; }
7251 if ${ac_cv_prog_ac_ct_OTOOL+:} false
; then :
7252 $as_echo_n "(cached) " >&6
7254 if test -n "$ac_ct_OTOOL"; then
7255 ac_cv_prog_ac_ct_OTOOL
="$ac_ct_OTOOL" # Let the user override the test.
7257 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7261 test -z "$as_dir" && as_dir
=.
7262 for ac_exec_ext
in '' $ac_executable_extensions; do
7263 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7264 ac_cv_prog_ac_ct_OTOOL
="otool"
7265 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7274 ac_ct_OTOOL
=$ac_cv_prog_ac_ct_OTOOL
7275 if test -n "$ac_ct_OTOOL"; then
7276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7277 $as_echo "$ac_ct_OTOOL" >&6; }
7279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7280 $as_echo "no" >&6; }
7283 if test "x$ac_ct_OTOOL" = x
; then
7286 case $cross_compiling:$ac_tool_warned in
7288 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7289 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7290 ac_tool_warned
=yes ;;
7295 OTOOL
="$ac_cv_prog_OTOOL"
7298 if test -n "$ac_tool_prefix"; then
7299 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
7300 set dummy
${ac_tool_prefix}readelf
; ac_word
=$2
7301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7302 $as_echo_n "checking for $ac_word... " >&6; }
7303 if ${ac_cv_prog_READELF+:} false
; then :
7304 $as_echo_n "(cached) " >&6
7306 if test -n "$READELF"; then
7307 ac_cv_prog_READELF
="$READELF" # Let the user override the test.
7309 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7313 test -z "$as_dir" && as_dir
=.
7314 for ac_exec_ext
in '' $ac_executable_extensions; do
7315 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7316 ac_cv_prog_READELF
="${ac_tool_prefix}readelf"
7317 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7326 READELF
=$ac_cv_prog_READELF
7327 if test -n "$READELF"; then
7328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
7329 $as_echo "$READELF" >&6; }
7331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7332 $as_echo "no" >&6; }
7337 if test -z "$ac_cv_prog_READELF"; then
7338 ac_ct_READELF
=$READELF
7339 # Extract the first word of "readelf", so it can be a program name with args.
7340 set dummy readelf
; ac_word
=$2
7341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7342 $as_echo_n "checking for $ac_word... " >&6; }
7343 if ${ac_cv_prog_ac_ct_READELF+:} false
; then :
7344 $as_echo_n "(cached) " >&6
7346 if test -n "$ac_ct_READELF"; then
7347 ac_cv_prog_ac_ct_READELF
="$ac_ct_READELF" # Let the user override the test.
7349 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7353 test -z "$as_dir" && as_dir
=.
7354 for ac_exec_ext
in '' $ac_executable_extensions; do
7355 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7356 ac_cv_prog_ac_ct_READELF
="readelf"
7357 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7366 ac_ct_READELF
=$ac_cv_prog_ac_ct_READELF
7367 if test -n "$ac_ct_READELF"; then
7368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7369 $as_echo "$ac_ct_READELF" >&6; }
7371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7372 $as_echo "no" >&6; }
7375 if test "x$ac_ct_READELF" = x
; then
7378 case $cross_compiling:$ac_tool_warned in
7380 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7381 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7382 ac_tool_warned
=yes ;;
7384 READELF
=$ac_ct_READELF
7387 READELF
="$ac_cv_prog_READELF"
7390 wine_rules_file
=conf$
$rules.
make
7391 rm -f $wine_rules_file
7393 GITIGNORE
="# Automatically generated by configure; DO NOT EDIT!!"
7394 ALL_TEST_RESOURCES
=""
7397 wine_fn_append_file
()
7399 as_fn_append
$1 " \\$as_nl $2"
7402 wine_fn_ignore_file
()
7405 */*) as_fn_append GITIGNORE
"$as_nl$1" ;;
7406 \
**) as_fn_append GITIGNORE
"$as_nl$1" ;;
7407 *) as_fn_append GITIGNORE
"$as_nl/$1" ;;
7411 wine_fn_append_rule
()
7413 $as_echo "$1" >>$wine_rules_file
7418 expr ",$ac_flags," : ".*,$1,.*" >/dev
/null
7421 wine_fn_depend_rules
()
7423 wine_fn_append_rule \
7424 "$ac_dir/Makefile: $srcdir/$ac_dir/Makefile.in Makefile \$(MAKEDEP)
7426 depend: $ac_dir/depend
7427 .PHONY: $ac_dir/depend
7428 $ac_dir/depend: \$(MAKEDEP) dummy
7429 \$(MAKEDEP) $ac_dir"
7432 wine_fn_pot_rules
()
7434 test "x$with_gettextpo" = xyes ||
return
7436 if wine_fn_has_flag mc
7438 wine_fn_append_file ALL_POT_FILES
$ac_dir/msg.pot
7439 wine_fn_append_rule \
7440 "$ac_dir/msg.pot: $ac_dir/Makefile dummy
7441 @cd $ac_dir && \$(MAKE) msg.pot
7442 $ac_dir/msg.pot: tools/wmc include"
7444 if wine_fn_has_flag po
7446 wine_fn_append_file ALL_POT_FILES
$ac_dir/rsrc.pot
7447 wine_fn_append_rule \
7448 "$ac_dir/rsrc.pot: $ac_dir/Makefile dummy
7449 @cd $ac_dir && \$(MAKE) rsrc.pot
7450 $ac_dir/rsrc.pot: tools/wrc include"
7454 wine_fn_all_rules
()
7456 wine_fn_depend_rules
7457 wine_fn_append_rule \
7460 $ac_dir: $ac_dir/Makefile dummy
7461 @cd $ac_dir && \$(MAKE)"
7464 wine_fn_install_rules
()
7466 wine_fn_has_flag install-lib || wine_fn_has_flag install-dev ||
return
7468 wine_fn_append_rule \
7469 ".PHONY: $ac_dir/install $ac_dir/uninstall
7470 $ac_dir/install:: $ac_dir
7471 @cd $ac_dir && \$(MAKE) install
7472 $ac_dir/uninstall:: $ac_dir/Makefile
7473 @cd $ac_dir && \$(MAKE) uninstall
7474 install:: $ac_dir/install
7475 __uninstall__: $ac_dir/uninstall"
7477 if wine_fn_has_flag install-lib
7479 wine_fn_append_rule \
7480 ".PHONY: $ac_dir/install-lib
7481 $ac_dir/install-lib:: $ac_dir
7482 @cd $ac_dir && \$(MAKE) install-lib
7483 install-lib:: $ac_dir/install-lib"
7486 if wine_fn_has_flag install-dev
7488 wine_fn_append_rule \
7489 ".PHONY: $ac_dir/install-dev
7490 $ac_dir/install-dev:: $ac_dir
7491 @cd $ac_dir && \$(MAKE) install-dev
7492 install-dev:: $ac_dir/install-dev"
7496 wine_fn_clean_rules
()
7499 ac_extraclean
="$ac_dir/Makefile"
7500 test "$srcdir" = .
&& ac_extraclean
="$ac_extraclean $ac_dir/.gitignore"
7502 */tests
) ac_extraclean
="$ac_extraclean $ac_dir/testlist.c" ;;
7505 if wine_fn_has_flag clean
7507 wine_fn_append_rule \
7508 "__clean__: $ac_dir/clean
7509 .PHONY: $ac_dir/clean
7510 $ac_dir/clean: $ac_dir/Makefile
7511 @cd $ac_dir && \$(MAKE) clean
7512 \$(RM) $ac_extraclean"
7514 wine_fn_append_rule \
7515 "__clean__: $ac_dir/clean
7516 .PHONY: $ac_dir/clean
7517 $ac_dir/clean: dummy
7518 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean $ac_extraclean"
7522 wine_fn_disabled_rules
()
7525 ac_extraclean
="$ac_dir/Makefile"
7526 test "$srcdir" = .
&& ac_extraclean
="$ac_extraclean $ac_dir/.gitignore"
7528 wine_fn_append_rule \
7529 "__clean__: $ac_dir/clean
7530 .PHONY: $ac_dir/clean
7531 $ac_dir/clean: dummy
7532 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean $ac_extraclean"
7535 wine_fn_config_makefile
()
7541 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
7542 wine_fn_disabled_rules
; return
7545 wine_fn_install_rules
7549 wine_fn_config_lib
()
7553 ac_dir
=dlls
/$ac_name
7556 if test "x$enable_tools" = xno
; then :
7559 ac_deps
="tools/widl tools/winebuild tools/winegcc $ac_deps"
7564 wine_fn_append_rule \
7565 ".PHONY: $ac_dir/install $ac_dir/uninstall
7566 $ac_dir/install:: $ac_dir
7567 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7569 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7570 install install-dev:: $ac_dir/install
7571 __uninstall__: $ac_dir/uninstall
7572 __builddeps__: $ac_dir
7576 wine_fn_config_dll
()
7579 ac_dir
=dlls
/$ac_name
7582 ac_implib
=${4:-$ac_name}
7583 ac_file
=$ac_dir/lib
$ac_implib
7588 if test "x$enable_tools" = xno
; then :
7591 ac_deps
="tools/widl tools/winebuild tools/winegcc $ac_deps"
7594 *16) ac_implibflags
=" -m16" ;;
7596 *) ac_dll
=$ac_dll.dll
;;
7600 wine_fn_has_flag implib
&& ac_clean
="$ac_clean $ac_file.$IMPLIBEXT"
7601 wine_fn_has_flag mc
&& ac_clean
="$ac_clean $ac_dir/msg.pot"
7602 wine_fn_has_flag po
&& ac_clean
="$ac_clean $ac_dir/rsrc.pot"
7603 test -n "$DLLEXT" || ac_clean
="$ac_clean $ac_dir/$ac_dll"
7605 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
7606 if test "$ac_enable" != enable_win16
7608 wine_fn_depend_rules
7609 wine_fn_clean_rules
$ac_clean
7612 wine_fn_disabled_rules
$ac_clean
7617 wine_fn_clean_rules
$ac_clean
7618 wine_fn_append_rule \
7619 "$ac_dir: __builddeps__
7620 manpages htmlpages sgmlpages xmlpages:: $ac_dir/Makefile
7621 @cd $ac_dir && \$(MAKE) \$@
7622 .PHONY: $ac_dir/install-lib $ac_dir/uninstall
7623 install install-lib:: $ac_dir/install-lib
7624 __uninstall__: $ac_dir/uninstall"
7625 if test -n "$DLLEXT"
7627 wine_fn_append_rule \
7628 "$ac_dir/install-lib:: $ac_dir
7629 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT
7630 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
7632 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
7634 wine_fn_append_rule \
7635 "$ac_dir/install-lib:: $ac_dir
7636 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
7638 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
7644 if wine_fn_has_flag staticimplib
7646 wine_fn_append_rule \
7647 "__builddeps__: $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT
7648 $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT $ac_file.cross.a: $ac_deps
7649 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7650 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7651 $ac_file.$STATIC_IMPLIBEXT: $ac_dir/Makefile dummy
7652 @cd $ac_dir && \$(MAKE) lib$ac_implib.$STATIC_IMPLIBEXT
7653 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7654 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7655 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7657 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7658 install install-dev:: $ac_dir/install-dev
7659 __uninstall__: $ac_dir/uninstall"
7661 if test "$IMPLIBEXT" != "$STATIC_IMPLIBEXT"
7663 wine_fn_append_rule \
7664 "$ac_dir/install-dev:: $ac_file.$STATIC_IMPLIBEXT __builddeps__
7665 \$(INSTALL_DATA) $ac_file.$STATIC_IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT
7667 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT"
7670 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7672 wine_fn_append_rule \
7673 "__builddeps__: $ac_file.cross.a
7674 $ac_file.cross.a: $ac_dir/Makefile dummy
7675 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
7678 elif wine_fn_has_flag implib
7680 wine_fn_append_rule \
7681 "__builddeps__: $ac_file.$IMPLIBEXT
7682 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7683 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7684 $ac_file.a: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7685 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7686 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7687 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7688 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7690 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7691 install install-dev:: $ac_dir/install-dev
7692 __uninstall__: $ac_dir/uninstall"
7693 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7695 wine_fn_append_rule \
7696 "__builddeps__: $ac_file.cross.a
7697 $ac_file.cross.a: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7698 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec"
7701 if test "$ac_name" != "$ac_implib"
7703 wine_fn_append_rule \
7704 "__builddeps__: dlls/lib$ac_implib.$IMPLIBEXT
7705 dlls/lib$ac_implib.$IMPLIBEXT: $ac_file.$IMPLIBEXT
7706 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.$IMPLIBEXT \$@
7708 \$(RM) dlls/lib$ac_implib.$IMPLIBEXT"
7709 wine_fn_ignore_file
"dlls/lib$ac_implib.$IMPLIBEXT"
7710 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7712 wine_fn_append_rule \
7713 "__builddeps__: dlls/lib$ac_implib.cross.a
7714 dlls/lib$ac_implib.cross.a: $ac_file.cross.a
7715 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.cross.a \$@
7717 \$(RM) dlls/lib$ac_implib.cross.a"
7718 wine_fn_ignore_file
"dlls/lib$ac_implib.cross.a"
7724 wine_fn_config_program
()
7727 ac_dir
=programs
/$ac_name
7734 *) ac_program
=$ac_program.exe
;;
7738 wine_fn_has_flag mc
&& ac_clean
="$ac_clean $ac_dir/msg.pot"
7739 wine_fn_has_flag po
&& ac_clean
="$ac_clean $ac_dir/rsrc.pot"
7740 wine_fn_has_flag manpage
&& ac_clean
="$ac_clean $ac_dir/$ac_name.man"
7741 test -n "$DLLEXT" || ac_clean
="$ac_clean $ac_dir/$ac_program"
7743 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
7744 wine_fn_disabled_rules
$ac_clean; return
7748 wine_fn_clean_rules
$ac_clean
7749 wine_fn_append_rule
"$ac_dir: __builddeps__"
7752 wine_fn_has_flag
install ||
return
7753 wine_fn_append_rule \
7754 ".PHONY: $ac_dir/install $ac_dir/uninstall
7755 install install-lib:: $ac_dir/install
7756 __uninstall__: $ac_dir/uninstall"
7758 if test -n "$DLLEXT"
7760 wine_fn_append_rule \
7761 "$ac_dir/install:: $ac_dir
7762 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT
7763 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
7765 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
7767 if test -z "$with_wine64" && wine_fn_has_flag installbin
7769 wine_fn_append_rule \
7770 "$ac_dir/install:: __tooldeps__
7771 \$(INSTALL_SCRIPT) \$(TOOLSDIR)/tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
7773 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
7776 wine_fn_append_rule \
7777 "$ac_dir/install:: $ac_dir
7778 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(bindir)/$ac_program
7780 \$(RM) \$(DESTDIR)\$(bindir)/$ac_program"
7783 if test -z "$with_wine64" && wine_fn_has_flag manpage
7785 wine_fn_append_rule \
7786 "$ac_dir/install:: $ac_dir
7787 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
7789 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
7793 wine_fn_config_test
()
7800 test -n "$CROSSTARGET" && ac_clean
=`expr $ac_dir/${ac_name} : "\\(.*\\)_test"`_crosstest.exe
7801 test -n "$DLLEXT" || ac_clean
="$ac_dir/${ac_name}.exe $ac_dir/${ac_name}-stripped.exe"
7803 if test "x$enable_tests" = xno
; then :
7804 wine_fn_disabled_rules
$ac_clean; return
7807 wine_fn_append_file ALL_TEST_RESOURCES
$ac_name.res
7809 wine_fn_clean_rules
$ac_clean
7811 wine_fn_append_rule \
7812 "$ac_dir: programs/winetest/Makefile __builddeps__
7813 programs/winetest: $ac_dir
7814 check test: $ac_dir/test
7815 .PHONY: $ac_dir/test
7817 @cd $ac_dir && \$(MAKE) test
7819 \$(RM) $ac_dir/*.ok"
7821 if test -n "$CROSSTARGET"
7823 wine_fn_append_rule \
7824 "crosstest: $ac_dir/crosstest
7825 .PHONY: $ac_dir/crosstest
7826 $ac_dir/crosstest: $ac_dir/Makefile __builddeps__ dummy
7827 @cd $ac_dir && \$(MAKE) crosstest"
7831 wine_fn_config_tool
()
7835 if test "x$enable_tools" = xno
; then :
7840 wine_fn_install_rules
7843 wine_fn_append_rule
"__tooldeps__: $ac_dir"
7844 wine_fn_append_rule
"$ac_dir: libs/port"
7846 tools
/winebuild
) wine_fn_append_rule
"\$(WINEBUILD): $ac_dir" ;;
7850 wine_fn_config_symlink
()
7853 if test "x$1" = "x-d"
7859 wine_fn_append_rule \
7861 @./config.status \$@
7864 for f
in $ac_links; do wine_fn_ignore_file
$f; done
7865 test -n "$ac_linkdir" ||
return
7866 wine_fn_append_rule
"$ac_linkdir/Makefile $ac_linkdir/depend: $ac_links"
7870 test "x$enable_win64" != "xyes" || wine_binary
="wine64"
7871 WINELOADER_PROGRAMS
="$wine_binary"
7873 libwine_soversion
=`expr $libwine_version : '\([0-9]*\)\..*'`
7877 if test -n "$ac_tool_prefix"; then
7878 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7879 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
7880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7881 $as_echo_n "checking for $ac_word... " >&6; }
7882 if ${ac_cv_prog_DLLTOOL+:} false
; then :
7883 $as_echo_n "(cached) " >&6
7885 if test -n "$DLLTOOL"; then
7886 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
7888 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7892 test -z "$as_dir" && as_dir
=.
7893 for ac_exec_ext
in '' $ac_executable_extensions; do
7894 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7895 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
7896 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7905 DLLTOOL
=$ac_cv_prog_DLLTOOL
7906 if test -n "$DLLTOOL"; then
7907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7908 $as_echo "$DLLTOOL" >&6; }
7910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7911 $as_echo "no" >&6; }
7916 if test -z "$ac_cv_prog_DLLTOOL"; then
7917 ac_ct_DLLTOOL
=$DLLTOOL
7918 # Extract the first word of "dlltool", so it can be a program name with args.
7919 set dummy dlltool
; ac_word
=$2
7920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7921 $as_echo_n "checking for $ac_word... " >&6; }
7922 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false
; then :
7923 $as_echo_n "(cached) " >&6
7925 if test -n "$ac_ct_DLLTOOL"; then
7926 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
7928 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7932 test -z "$as_dir" && as_dir
=.
7933 for ac_exec_ext
in '' $ac_executable_extensions; do
7934 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7935 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
7936 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7945 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
7946 if test -n "$ac_ct_DLLTOOL"; then
7947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7948 $as_echo "$ac_ct_DLLTOOL" >&6; }
7950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7951 $as_echo "no" >&6; }
7954 if test "x$ac_ct_DLLTOOL" = x
; then
7957 case $cross_compiling:$ac_tool_warned in
7959 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7960 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7961 ac_tool_warned
=yes ;;
7963 DLLTOOL
=$ac_ct_DLLTOOL
7966 DLLTOOL
="$ac_cv_prog_DLLTOOL"
7972 STATIC_IMPLIBEXT
="a"
7973 enable_iphlpapi
=${enable_iphlpapi:-no}
7974 enable_kernel32
=${enable_kernel32:-no}
7975 enable_msvcrt
=${enable_msvcrt:-no}
7976 enable_ntdll
=${enable_ntdll:-no}
7977 enable_ws2_32
=${enable_ws2_32:-no}
7978 enable_loader
=${enable_loader:-no}
7979 enable_server
=${enable_server:-no}
7980 with_x
=${with_x:-no}
7981 with_pthread
=${with_pthread:-no}
7987 SOCKET_LIBS
="-lws2_32"
7991 LIBWINE_SHAREDLIB
="libwine.dll"
7993 LIBWINE_IMPORTLIB
="libwine.a"
7995 LIBWINE_INSTALL_LIB
="libwine.dll"
7997 LIBWINE_INSTALL_DEV
="libwine.a"
7999 LIBWINE_LDFLAGS
="-shared \$(srcdir)/wine.def"
8001 LIBWINE_DEPENDS
="wine.def"
8006 for ac_header
in libunwind.h
8008 ac_fn_c_check_header_mongrel
"$LINENO" "libunwind.h" "ac_cv_header_libunwind_h" "$ac_includes_default"
8009 if test "x$ac_cv_header_libunwind_h" = xyes
; then :
8010 cat >>confdefs.h
<<_ACEOF
8011 #define HAVE_LIBUNWIND_H 1
8019 DLLFLAGS
="$DLLFLAGS -fPIC"
8020 LDRPATH_INSTALL
="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8021 LDRPATH_LOCAL
="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
8022 COREFOUNDATION_LIBS
="-framework CoreFoundation"
8024 IOKIT_LIBS
="-framework IOKit -framework CoreFoundation"
8026 FORCEFEEDBACK_LIBS
="-framework ForceFeedback -framework CoreFoundation"
8028 APPLICATIONSERVICES_LIBS
="-framework ApplicationServices"
8030 CORESERVICES_LIBS
="-framework CoreServices"
8032 APPKIT_LIBS
="-framework AppKit"
8034 LDEXECFLAGS
="-image_base 0x7bf00000 -Wl,-pagezero_size,0x1000,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
8035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
8036 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
8037 if ${ac_cv_cflags__Wl__no_pie+:} false
; then :
8038 $as_echo_n "(cached) " >&6
8040 ac_wine_try_cflags_saved
=$CFLAGS
8041 CFLAGS
="$CFLAGS -Wl,-no_pie"
8042 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8043 /* end confdefs.h. */
8044 int main(int argc, char **argv) { return 0; }
8046 if ac_fn_c_try_link
"$LINENO"; then :
8047 ac_cv_cflags__Wl__no_pie
=yes
8049 ac_cv_cflags__Wl__no_pie
=no
8051 rm -f core conftest.err conftest.
$ac_objext \
8052 conftest
$ac_exeext conftest.
$ac_ext
8053 CFLAGS
=$ac_wine_try_cflags_saved
8055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
8056 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
8057 if test "x$ac_cv_cflags__Wl__no_pie" = xyes
; then :
8058 LDEXECFLAGS
="-Wl,-no_pie $LDEXECFLAGS"
8060 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8062 DISKARBITRATION_LIBS
="-framework DiskArbitration -framework CoreFoundation"
8065 if test "$ac_cv_header_Security_Security_h" = "yes"
8067 SECURITY_LIBS
="-framework Security -framework CoreFoundation"
8069 ac_save_LIBS
="$LIBS"
8070 LIBS
="$LIBS $SECURITY_LIBS"
8071 for ac_func
in SSLCopyPeerCertificates
8073 ac_fn_c_check_func
"$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
8074 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes
; then :
8075 cat >>confdefs.h
<<_ACEOF
8076 #define HAVE_SSLCOPYPEERCERTIFICATES 1
8082 LIBS
="$ac_save_LIBS"
8083 with_gnutls
=${with_gnutls:-no}
8085 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8087 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
8089 COREAUDIO_LIBS
="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
8092 COREAUDIO_LIBS
="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8095 enable_winecoreaudio_drv
=${enable_winecoreaudio_drv:-yes}
8096 ac_save_LIBS
="$LIBS"
8097 LIBS
="$LIBS $COREAUDIO_LIBS"
8098 for ac_func
in AUGraphAddNode
8100 ac_fn_c_check_func
"$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
8101 if test "x$ac_cv_func_AUGraphAddNode" = xyes
; then :
8102 cat >>confdefs.h
<<_ACEOF
8103 #define HAVE_AUGRAPHADDNODE 1
8109 LIBS
="$ac_save_LIBS"
8111 if test "$ac_cv_header_OpenAL_al_h" = "yes"
8113 OPENAL_LIBS
="-framework OpenAL"
8116 cat >>confdefs.h
<<_ACEOF
8117 #define HAVE_OPENAL 1
8120 ac_cv_lib_openal
=yes
8122 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
8124 OPENCL_LIBS
="-framework OpenCL"
8126 ac_cv_lib_OpenCL_clGetPlatformInfo
=yes
8128 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
8130 ac_save_LIBS
="$LIBS"
8131 LIBS
="$LIBS $IOKIT_LIBS"
8132 for ac_func
in IOHIDManagerCreate
8134 ac_fn_c_check_func
"$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
8135 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes
; then :
8136 cat >>confdefs.h
<<_ACEOF
8137 #define HAVE_IOHIDMANAGERCREATE 1
8143 LIBS
="$ac_save_LIBS"
8145 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
8147 ac_save_LIBS
="$LIBS"
8148 LIBS
="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
8149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
8150 $as_echo_n "checking for the QuickTime framework... " >&6; }
8151 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8152 /* end confdefs.h. */
8153 #include <QuickTime/ImageCompression.h>
8157 CodecManagerVersion(NULL);
8162 if ac_fn_c_try_link
"$LINENO"; then :
8163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8164 $as_echo "yes" >&6; }
8165 QUICKTIME_LIBS
="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
8167 enable_wineqtdecoder
=${enable_wineqtdecoder:-yes}
8169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8170 $as_echo "no" >&6; }
8171 ac_cv_header_QuickTime_ImageCompression_h
=no
8173 rm -f core conftest.err conftest.
$ac_objext \
8174 conftest
$ac_exeext conftest.
$ac_ext
8175 LIBS
="$ac_save_LIBS"
8177 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"
8179 as_fn_append wine_notices
"|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
8181 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8183 CARBON_LIBS
="-framework Carbon"
8187 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
8189 ac_save_LIBS
="$LIBS"
8190 LIBS
="$LIBS $APPLICATIONSERVICES_LIBS"
8191 ac_fn_c_check_func
"$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
8192 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes
; then :
8193 enable_winemac_drv
=${enable_winemac_drv:-yes}
8196 LIBS
="$ac_save_LIBS"
8199 if test "x$enable_win16" = "xyes"
8201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
8202 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
8203 if test "$cross_compiling" = yes; then :
8204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
8205 $as_echo "cross-compiling, assuming yes" >&6; }
8207 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8208 /* end confdefs.h. */
8211 "good:\tnop;nop\n\t"
8212 ".globl _testfunc\n"
8213 "_testfunc:\tcallw good");
8214 extern void testfunc();
8218 unsigned short *p = (unsigned short *)testfunc;
8219 return p[0] != 0xe866 || p[1] != 0xfffa
8224 if ac_fn_c_try_run
"$LINENO"; then :
8225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8226 $as_echo "yes" >&6; }
8228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8229 $as_echo "no" >&6; }
8230 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
8232 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
8233 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
8238 LIBWINE_SHAREDLIB
="libwine.$libwine_version.dylib"
8240 LIBWINE_INSTALL_LIB
="libwine.$libwine_version.dylib libwine.$libwine_soversion.dylib"
8242 LIBWINE_INSTALL_DEV
="libwine.dylib"
8244 LIBWINE_LDFLAGS
="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
8246 WINELOADER_DEPENDS
="wine_info.plist"
8251 DLLFLAGS
="$DLLFLAGS -fPIC"
8252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8253 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8254 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false
; then :
8255 $as_echo_n "(cached) " >&6
8257 ac_wine_try_cflags_saved
=$CFLAGS
8258 CFLAGS
="$CFLAGS -fPIC -Wl,--export-dynamic"
8259 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8260 /* end confdefs.h. */
8261 int main(int argc, char **argv) { return 0; }
8263 if ac_fn_c_try_link
"$LINENO"; then :
8264 ac_cv_cflags__fPIC__Wl___export_dynamic
=yes
8266 ac_cv_cflags__fPIC__Wl___export_dynamic
=no
8268 rm -f core conftest.err conftest.
$ac_objext \
8269 conftest
$ac_exeext conftest.
$ac_ext
8270 CFLAGS
=$ac_wine_try_cflags_saved
8272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8273 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8274 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes
; then :
8275 LDEXECFLAGS
="-Wl,--export-dynamic"
8277 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8279 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8280 if eval \
${$as_ac_var+:} false
; then :
8281 $as_echo_n "(cached) " >&6
8283 ac_wine_try_cflags_saved
=$CFLAGS
8284 CFLAGS
="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8285 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8286 /* end confdefs.h. */
8287 int main(int argc, char **argv) { return 0; }
8289 if ac_fn_c_try_link
"$LINENO"; then :
8290 eval "$as_ac_var=yes"
8292 eval "$as_ac_var=no"
8294 rm -f core conftest.err conftest.
$ac_objext \
8295 conftest
$ac_exeext conftest.
$ac_ext
8296 CFLAGS
=$ac_wine_try_cflags_saved
8298 eval ac_res
=\$
$as_ac_var
8299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8300 $as_echo "$ac_res" >&6; }
8301 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
8302 LDRPATH_INSTALL
="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8303 LDRPATH_LOCAL
="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8305 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8307 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8308 if eval \
${$as_ac_var+:} false
; then :
8309 $as_echo_n "(cached) " >&6
8311 ac_wine_try_cflags_saved
=$CFLAGS
8312 CFLAGS
="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8313 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8314 /* end confdefs.h. */
8315 int main(int argc, char **argv) { return 0; }
8317 if ac_fn_c_try_link
"$LINENO"; then :
8318 eval "$as_ac_var=yes"
8320 eval "$as_ac_var=no"
8322 rm -f core conftest.err conftest.
$ac_objext \
8323 conftest
$ac_exeext conftest.
$ac_ext
8324 CFLAGS
=$ac_wine_try_cflags_saved
8326 eval ac_res
=\$
$as_ac_var
8327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8328 $as_echo "$ac_res" >&6; }
8329 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
8330 LDRPATH_INSTALL
="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8331 LDRPATH_LOCAL
="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8336 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8337 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false
; then :
8338 $as_echo_n "(cached) " >&6
8340 ac_wine_try_cflags_saved
=$CFLAGS
8341 CFLAGS
="$CFLAGS -Wl,--enable-new-dtags"
8342 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8343 /* end confdefs.h. */
8344 int main(int argc, char **argv) { return 0; }
8346 if ac_fn_c_try_link
"$LINENO"; then :
8347 ac_cv_cflags__Wl___enable_new_dtags
=yes
8349 ac_cv_cflags__Wl___enable_new_dtags
=no
8351 rm -f core conftest.err conftest.
$ac_objext \
8352 conftest
$ac_exeext conftest.
$ac_ext
8353 CFLAGS
=$ac_wine_try_cflags_saved
8355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8356 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8357 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes
; then :
8358 LDRPATH_INSTALL
="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-pie" >&5
8361 $as_echo_n "checking whether the compiler supports -Wl,-pie... " >&6; }
8362 if ${ac_cv_cflags__Wl__pie+:} false
; then :
8363 $as_echo_n "(cached) " >&6
8365 ac_wine_try_cflags_saved
=$CFLAGS
8366 CFLAGS
="$CFLAGS -Wl,-pie"
8367 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8368 /* end confdefs.h. */
8369 int main(int argc, char **argv) { return 0; }
8371 if ac_fn_c_try_link
"$LINENO"; then :
8372 ac_cv_cflags__Wl__pie
=yes
8374 ac_cv_cflags__Wl__pie
=no
8376 rm -f core conftest.err conftest.
$ac_objext \
8377 conftest
$ac_exeext conftest.
$ac_ext
8378 CFLAGS
=$ac_wine_try_cflags_saved
8380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__pie" >&5
8381 $as_echo "$ac_cv_cflags__Wl__pie" >&6; }
8382 if test "x$ac_cv_cflags__Wl__pie" = xyes
; then :
8383 LDRPATH_INSTALL
="$LDRPATH_INSTALL -Wl,-pie"
8386 LIBWINE_SHAREDLIB
="libwine.so"
8388 LIBWINE_INSTALL_LIB
="libwine.so"
8390 LIBWINE_LDFLAGS
="-shared"
8395 DLLFLAGS
="$DLLFLAGS -fPIC"
8397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
8398 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
8399 if ${ac_cv_c_dll_gnuelf+:} false
; then :
8400 $as_echo_n "(cached) " >&6
8402 ac_wine_try_cflags_saved
=$CFLAGS
8403 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8404 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8405 /* end confdefs.h. */
8408 if ac_fn_c_try_link
"$LINENO"; then :
8409 ac_cv_c_dll_gnuelf
="yes"
8411 ac_cv_c_dll_gnuelf
="no"
8413 rm -f core conftest.err conftest.
$ac_objext \
8414 conftest
$ac_exeext conftest.
$ac_ext
8415 CFLAGS
=$ac_wine_try_cflags_saved
8417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
8418 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
8419 if test "$ac_cv_c_dll_gnuelf" = "yes"
8421 LIBWINE_LDFLAGS
="-shared"
8422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8423 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
8424 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false
; then :
8425 $as_echo_n "(cached) " >&6
8427 ac_wine_try_cflags_saved
=$CFLAGS
8428 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8429 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8430 /* end confdefs.h. */
8431 int main(int argc, char **argv) { return 0; }
8433 if ac_fn_c_try_link
"$LINENO"; then :
8434 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1
=yes
8436 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1
=no
8438 rm -f core conftest.err conftest.
$ac_objext \
8439 conftest
$ac_exeext conftest.
$ac_ext
8440 CFLAGS
=$ac_wine_try_cflags_saved
8442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8443 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8444 if test "x$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" = xyes
; then :
8445 LIBWINE_LDFLAGS
="-shared -Wl,-soname,libwine.so.$libwine_soversion"
8447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8448 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
8449 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false
; then :
8450 $as_echo_n "(cached) " >&6
8452 ac_wine_try_cflags_saved
=$CFLAGS
8453 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8454 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8455 /* end confdefs.h. */
8456 int main(int argc, char **argv) { return 0; }
8458 if ac_fn_c_try_link
"$LINENO"; then :
8459 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1
=yes
8461 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1
=no
8463 rm -f core conftest.err conftest.
$ac_objext \
8464 conftest
$ac_exeext conftest.
$ac_ext
8465 CFLAGS
=$ac_wine_try_cflags_saved
8467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8468 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8469 if test "x$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" = xyes
; then :
8470 LIBWINE_LDFLAGS
="-shared -Wl,-h,libwine.so.$libwine_soversion"
8474 echo '{ global: *; };' >conftest.map
8475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8476 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
8477 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false
; then :
8478 $as_echo_n "(cached) " >&6
8480 ac_wine_try_cflags_saved
=$CFLAGS
8481 CFLAGS
="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8482 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8483 /* end confdefs.h. */
8484 int main(int argc, char **argv) { return 0; }
8486 if ac_fn_c_try_link
"$LINENO"; then :
8487 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map
=yes
8489 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map
=no
8491 rm -f core conftest.err conftest.
$ac_objext \
8492 conftest
$ac_exeext conftest.
$ac_ext
8493 CFLAGS
=$ac_wine_try_cflags_saved
8495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8496 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8497 if test "x$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" = xyes
; then :
8498 LIBWINE_LDFLAGS
="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
8502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8503 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8504 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false
; then :
8505 $as_echo_n "(cached) " >&6
8507 ac_wine_try_cflags_saved
=$CFLAGS
8508 CFLAGS
="$CFLAGS -fPIC -Wl,--export-dynamic"
8509 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8510 /* end confdefs.h. */
8511 int main(int argc, char **argv) { return 0; }
8513 if ac_fn_c_try_link
"$LINENO"; then :
8514 ac_cv_cflags__fPIC__Wl___export_dynamic
=yes
8516 ac_cv_cflags__fPIC__Wl___export_dynamic
=no
8518 rm -f core conftest.err conftest.
$ac_objext \
8519 conftest
$ac_exeext conftest.
$ac_ext
8520 CFLAGS
=$ac_wine_try_cflags_saved
8522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8523 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8524 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes
; then :
8525 LDEXECFLAGS
="-Wl,--export-dynamic"
8528 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8530 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8531 if eval \
${$as_ac_var+:} false
; then :
8532 $as_echo_n "(cached) " >&6
8534 ac_wine_try_cflags_saved
=$CFLAGS
8535 CFLAGS
="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8536 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8537 /* end confdefs.h. */
8538 int main(int argc, char **argv) { return 0; }
8540 if ac_fn_c_try_link
"$LINENO"; then :
8541 eval "$as_ac_var=yes"
8543 eval "$as_ac_var=no"
8545 rm -f core conftest.err conftest.
$ac_objext \
8546 conftest
$ac_exeext conftest.
$ac_ext
8547 CFLAGS
=$ac_wine_try_cflags_saved
8549 eval ac_res
=\$
$as_ac_var
8550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8551 $as_echo "$ac_res" >&6; }
8552 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
8553 LDRPATH_INSTALL
="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8554 LDRPATH_LOCAL
="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8556 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8558 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8559 if eval \
${$as_ac_var+:} false
; then :
8560 $as_echo_n "(cached) " >&6
8562 ac_wine_try_cflags_saved
=$CFLAGS
8563 CFLAGS
="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8564 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8565 /* end confdefs.h. */
8566 int main(int argc, char **argv) { return 0; }
8568 if ac_fn_c_try_link
"$LINENO"; then :
8569 eval "$as_ac_var=yes"
8571 eval "$as_ac_var=no"
8573 rm -f core conftest.err conftest.
$ac_objext \
8574 conftest
$ac_exeext conftest.
$ac_ext
8575 CFLAGS
=$ac_wine_try_cflags_saved
8577 eval ac_res
=\$
$as_ac_var
8578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8579 $as_echo "$ac_res" >&6; }
8580 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
8581 LDRPATH_INSTALL
="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8582 LDRPATH_LOCAL
="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8587 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8588 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false
; then :
8589 $as_echo_n "(cached) " >&6
8591 ac_wine_try_cflags_saved
=$CFLAGS
8592 CFLAGS
="$CFLAGS -Wl,--enable-new-dtags"
8593 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8594 /* end confdefs.h. */
8595 int main(int argc, char **argv) { return 0; }
8597 if ac_fn_c_try_link
"$LINENO"; then :
8598 ac_cv_cflags__Wl___enable_new_dtags
=yes
8600 ac_cv_cflags__Wl___enable_new_dtags
=no
8602 rm -f core conftest.err conftest.
$ac_objext \
8603 conftest
$ac_exeext conftest.
$ac_ext
8604 CFLAGS
=$ac_wine_try_cflags_saved
8606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8607 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8608 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes
; then :
8609 LDRPATH_INSTALL
="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8613 *i
[3456789]86* | x86_64
)
8614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8615 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
8616 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false
; then :
8617 $as_echo_n "(cached) " >&6
8619 ac_wine_try_cflags_saved
=$CFLAGS
8620 CFLAGS
="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8621 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8622 /* end confdefs.h. */
8623 int main(int argc, char **argv) { return 0; }
8625 if ac_fn_c_try_link
"$LINENO"; then :
8626 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=yes
8628 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=no
8630 rm -f core conftest.err conftest.
$ac_objext \
8631 conftest
$ac_exeext conftest.
$ac_ext
8632 CFLAGS
=$ac_wine_try_cflags_saved
8634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8635 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8636 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" = xyes
; then :
8638 freebsd
* | kfreebsd
*-gnu) LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x60000400" ;;
8639 *) LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400" ;;
8643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
8644 $as_echo_n "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
8645 if ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+:} false
; then :
8646 $as_echo_n "(cached) " >&6
8648 ac_wine_try_cflags_saved
=$CFLAGS
8649 CFLAGS
="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
8650 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8651 /* end confdefs.h. */
8652 int main(int argc, char **argv) { return 0; }
8654 if ac_fn_c_try_link
"$LINENO"; then :
8655 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000
=yes
8657 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000
=no
8659 rm -f core conftest.err conftest.
$ac_objext \
8660 conftest
$ac_exeext conftest.
$ac_ext
8661 CFLAGS
=$ac_wine_try_cflags_saved
8663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
8664 $as_echo "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
8665 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes
; then :
8668 # Extract the first word of "prelink", so it can be a program name with args.
8669 set dummy prelink
; ac_word
=$2
8670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8671 $as_echo_n "checking for $ac_word... " >&6; }
8672 if ${ac_cv_path_PRELINK+:} false
; then :
8673 $as_echo_n "(cached) " >&6
8677 ac_cv_path_PRELINK
="$PRELINK" # Let the user override the test with a path.
8680 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8681 for as_dir
in /sbin
/usr
/sbin
$PATH
8684 test -z "$as_dir" && as_dir
=.
8685 for ac_exec_ext
in '' $ac_executable_extensions; do
8686 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8687 ac_cv_path_PRELINK
="$as_dir/$ac_word$ac_exec_ext"
8688 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8695 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK
="false"
8699 PRELINK
=$ac_cv_path_PRELINK
8700 if test -n "$PRELINK"; then
8701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
8702 $as_echo "$PRELINK" >&6; }
8704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8705 $as_echo "no" >&6; }
8709 if test "x$PRELINK" = xfalse
8711 as_fn_append wine_warnings
"|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
8718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
8719 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
8720 if ${ac_cv_c_dll_unixware+:} false
; then :
8721 $as_echo_n "(cached) " >&6
8723 ac_wine_try_cflags_saved
=$CFLAGS
8724 CFLAGS
="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
8725 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8726 /* end confdefs.h. */
8729 if ac_fn_c_try_link
"$LINENO"; then :
8730 ac_cv_c_dll_unixware
="yes"
8732 ac_cv_c_dll_unixware
="no"
8734 rm -f core conftest.err conftest.
$ac_objext \
8735 conftest
$ac_exeext conftest.
$ac_ext
8736 CFLAGS
=$ac_wine_try_cflags_saved
8738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
8739 $as_echo "$ac_cv_c_dll_unixware" >&6; }
8740 if test "$ac_cv_c_dll_unixware" = "yes"
8742 LIBWINE_LDFLAGS
="-Wl,-G,-h,libwine.so.$libwine_soversion"
8745 LIBWINE_SHAREDLIB
="libwine.so.$libwine_version"
8747 LIBWINE_INSTALL_LIB
="libwine.so.$libwine_version libwine.so.$libwine_soversion"
8749 LIBWINE_INSTALL_DEV
="libwine.so"
8751 LIBWINE_DEPENDS
="wine.map"
8756 enable_winecoreaudio_drv
=${enable_winecoreaudio_drv:-no}
8757 enable_wineqtdecoder
=${enable_wineqtdecoder:-no}
8758 enable_winemac_drv
=${enable_winemac_drv:-no}
8759 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv
=${enable_winejoystick_drv:-no}
8763 if test "$cross_compiling" = "no" -a "x$enable_tests" != xno
-a "$LIBEXT" != "dll"
8767 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
8770 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 " ;;
8772 ac_prefix_list
="" ;;
8774 for ac_prog
in $ac_prefix_list
8776 # Extract the first word of "$ac_prog", so it can be a program name with args.
8777 set dummy
$ac_prog; ac_word
=$2
8778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8779 $as_echo_n "checking for $ac_word... " >&6; }
8780 if ${ac_cv_prog_CROSSCC+:} false
; then :
8781 $as_echo_n "(cached) " >&6
8783 if test -n "$CROSSCC"; then
8784 ac_cv_prog_CROSSCC
="$CROSSCC" # Let the user override the test.
8786 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8790 test -z "$as_dir" && as_dir
=.
8791 for ac_exec_ext
in '' $ac_executable_extensions; do
8792 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8793 ac_cv_prog_CROSSCC
="$ac_prog"
8794 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8803 CROSSCC
=$ac_cv_prog_CROSSCC
8804 if test -n "$CROSSCC"; then
8805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
8806 $as_echo "$CROSSCC" >&6; }
8808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8809 $as_echo "no" >&6; }
8813 test -n "$CROSSCC" && break
8815 test -n "$CROSSCC" || CROSSCC
="false"
8817 if test "$CROSSCC" != "false"
8821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
8822 $as_echo_n "checking whether $CROSSCC works... " >&6; }
8823 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8824 /* end confdefs.h. */
8834 if ac_fn_c_try_compile
"$LINENO"; then :
8835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8836 $as_echo "yes" >&6; }
8842 *-gcc) CROSSTARGET
=`expr "$1" : '\(.*\)-gcc'` ;;
8847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8848 $as_echo "no" >&6; }
8850 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8856 if test "$ac_cv_header_pthread_h" = "yes"
8858 ac_fn_c_check_func
"$LINENO" "pthread_create" "ac_cv_func_pthread_create"
8859 if test "x$ac_cv_func_pthread_create" = xyes
; then :
8862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
8863 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
8864 if ${ac_cv_lib_pthread_pthread_create+:} false
; then :
8865 $as_echo_n "(cached) " >&6
8867 ac_check_lib_save_LIBS
=$LIBS
8868 LIBS
="-lpthread $LIBS"
8869 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8870 /* end confdefs.h. */
8872 /* Override any GCC internal prototype to avoid an error.
8873 Use char because int might match the return type of a GCC
8874 builtin and then its argument prototype would still apply. */
8878 char pthread_create ();
8882 return pthread_create ();
8887 if ac_fn_c_try_link
"$LINENO"; then :
8888 ac_cv_lib_pthread_pthread_create
=yes
8890 ac_cv_lib_pthread_pthread_create
=no
8892 rm -f core conftest.err conftest.
$ac_objext \
8893 conftest
$ac_exeext conftest.
$ac_ext
8894 LIBS
=$ac_check_lib_save_LIBS
8896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
8897 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
8898 if test "x$ac_cv_lib_pthread_pthread_create" = xyes
; then :
8899 PTHREAD_LIBS
="-lpthread"
8906 if test "x$ac_cv_func_pthread_create" != xyes
-a "x$PTHREAD_LIBS" = x
; then :
8907 case "x$with_pthread" in
8909 *) as_fn_error $?
"pthread ${notice_platform}development files not found.
8910 Wine cannot support threads without libpthread.
8911 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
8916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
8917 $as_echo_n "checking for X... " >&6; }
8920 # Check whether --with-x was given.
8921 if test "${with_x+set}" = set; then :
8925 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
8926 if test "x$with_x" = xno
; then
8927 # The user explicitly disabled X.
8930 case $x_includes,$x_libraries in #(
8931 *\'*) as_fn_error $?
"cannot use X directory names containing '" "$LINENO" 5;; #(
8932 *,NONE | NONE
,*) if ${ac_cv_have_x+:} false
; then :
8933 $as_echo_n "(cached) " >&6
8935 # One or both of the vars are not set, and there is no cached value.
8936 ac_x_includes
=no ac_x_libraries
=no
8937 rm -f -r conftest.dir
8938 if mkdir conftest.dir
; then
8940 cat >Imakefile
<<'_ACEOF'
8942 @echo incroot='${INCROOT}'
8944 @echo usrlibdir='${USRLIBDIR}'
8946 @echo libdir='${LIBDIR}'
8948 if (export CC
; ${XMKMF-xmkmf}) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
8949 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
8950 for ac_var
in incroot usrlibdir libdir
; do
8951 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
8953 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
8954 for ac_extension
in a so sl dylib la dll
; do
8955 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
8956 test -f "$ac_im_libdir/libX11.$ac_extension"; then
8957 ac_im_usrlibdir
=$ac_im_libdir; break
8960 # Screen out bogus values from the imake configuration. They are
8961 # bogus both because they are the default anyway, and because
8962 # using them would break gcc on systems where it needs fixed includes.
8963 case $ac_im_incroot in
8964 /usr
/include
) ac_x_includes
= ;;
8965 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
8967 case $ac_im_usrlibdir in
8968 /usr
/lib |
/usr
/lib64 |
/lib |
/lib64
) ;;
8969 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
8973 rm -f -r conftest.dir
8976 # Standard set of common directories for X headers.
8977 # Check X11 before X11Rn because it is often a symlink to the current release.
8991 /usr/local/X11/include
8992 /usr/local/X11R7/include
8993 /usr/local/X11R6/include
8994 /usr/local/X11R5/include
8995 /usr/local/X11R4/include
8997 /usr/local/include/X11
8998 /usr/local/include/X11R7
8999 /usr/local/include/X11R6
9000 /usr/local/include/X11R5
9001 /usr/local/include/X11R4
9005 /usr/XFree86/include/X11
9009 /usr/unsupported/include
9011 /usr/local/x11r5/include
9012 /usr/lpp/Xamples/include
9014 /usr/openwin/include
9015 /usr/openwin/share/include'
9017 if test "$ac_x_includes" = no
; then
9018 # Guess where to find include files, by looking for Xlib.h.
9019 # First, try using that file with no special directory specified.
9020 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9021 /* end confdefs.h. */
9022 #include <X11/Xlib.h>
9024 if ac_fn_c_try_cpp
"$LINENO"; then :
9025 # We can compile using X headers with no special include directory.
9028 for ac_dir
in $ac_x_header_dirs; do
9029 if test -r "$ac_dir/X11/Xlib.h"; then
9030 ac_x_includes
=$ac_dir
9035 rm -f conftest.err conftest.i conftest.
$ac_ext
9036 fi # $ac_x_includes = no
9038 if test "$ac_x_libraries" = no
; then
9039 # Check for the libraries.
9040 # See if we find them without any special options.
9041 # Don't add to $LIBS permanently.
9044 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9045 /* end confdefs.h. */
9046 #include <X11/Xlib.h>
9055 if ac_fn_c_try_link
"$LINENO"; then :
9057 # We can link X programs with no special library path.
9061 for ac_dir
in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
9063 # Don't even attempt the hair of trying to link an X program!
9064 for ac_extension
in a so sl dylib la dll
; do
9065 if test -r "$ac_dir/libX11.$ac_extension"; then
9066 ac_x_libraries
=$ac_dir
9072 rm -f core conftest.err conftest.
$ac_objext \
9073 conftest
$ac_exeext conftest.
$ac_ext
9074 fi # $ac_x_libraries = no
9076 case $ac_x_includes,$ac_x_libraries in #(
9078 # Didn't find X, or a directory has "'" in its name.
9079 ac_cv_have_x
="have_x=no";; #(
9081 # Record where we found X for the cache.
9082 ac_cv_have_x
="have_x=yes\
9083 ac_x_includes='$ac_x_includes'\
9084 ac_x_libraries='$ac_x_libraries'"
9090 eval "$ac_cv_have_x"
9093 if test "$have_x" != yes; then
9094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
9095 $as_echo "$have_x" >&6; }
9098 # If each of the values was on the command line, it overrides each guess.
9099 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
9100 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
9101 # Update the cache value to reflect the command line values.
9102 ac_cv_have_x
="have_x=yes\
9103 ac_x_includes='$x_includes'\
9104 ac_x_libraries='$x_libraries'"
9105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
9106 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
9109 if test "$no_x" = yes; then
9110 # Not all programs may use this symbol, but it does not hurt to define it.
9112 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
9114 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
9116 if test -n "$x_includes"; then
9117 X_CFLAGS
="$X_CFLAGS -I$x_includes"
9120 # It would also be nice to do this for all -L options, not just this one.
9121 if test -n "$x_libraries"; then
9122 X_LIBS
="$X_LIBS -L$x_libraries"
9123 # For Solaris; some versions of Sun CC require a space after -R and
9124 # others require no space. Words are not sufficient . . . .
9125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
9126 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
9127 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
9128 ac_xsave_c_werror_flag
=$ac_c_werror_flag
9129 ac_c_werror_flag
=yes
9130 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9131 /* end confdefs.h. */
9141 if ac_fn_c_try_link
"$LINENO"; then :
9142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9143 $as_echo "no" >&6; }
9144 X_LIBS
="$X_LIBS -R$x_libraries"
9146 LIBS
="$ac_xsave_LIBS -R $x_libraries"
9147 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9148 /* end confdefs.h. */
9158 if ac_fn_c_try_link
"$LINENO"; then :
9159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9160 $as_echo "yes" >&6; }
9161 X_LIBS
="$X_LIBS -R $x_libraries"
9163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
9164 $as_echo "neither works" >&6; }
9166 rm -f core conftest.err conftest.
$ac_objext \
9167 conftest
$ac_exeext conftest.
$ac_ext
9169 rm -f core conftest.err conftest.
$ac_objext \
9170 conftest
$ac_exeext conftest.
$ac_ext
9171 ac_c_werror_flag
=$ac_xsave_c_werror_flag
9175 # Check for system-dependent libraries X programs must link with.
9176 # Do this before checking for the system-independent R6 libraries
9177 # (-lICE), since we may need -lsocket or whatever for X linking.
9179 if test "$ISC" = yes; then
9180 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
9182 # Martyn Johnson says this is needed for Ultrix, if the X
9183 # libraries were built with DECnet support. And Karl Berry says
9184 # the Alpha needs dnet_stub (dnet does not exist).
9185 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
9186 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9187 /* end confdefs.h. */
9189 /* Override any GCC internal prototype to avoid an error.
9190 Use char because int might match the return type of a GCC
9191 builtin and then its argument prototype would still apply. */
9195 char XOpenDisplay ();
9199 return XOpenDisplay ();
9204 if ac_fn_c_try_link
"$LINENO"; then :
9207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
9208 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
9209 if ${ac_cv_lib_dnet_dnet_ntoa+:} false
; then :
9210 $as_echo_n "(cached) " >&6
9212 ac_check_lib_save_LIBS
=$LIBS
9214 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9215 /* end confdefs.h. */
9217 /* Override any GCC internal prototype to avoid an error.
9218 Use char because int might match the return type of a GCC
9219 builtin and then its argument prototype would still apply. */
9227 return dnet_ntoa ();
9232 if ac_fn_c_try_link
"$LINENO"; then :
9233 ac_cv_lib_dnet_dnet_ntoa
=yes
9235 ac_cv_lib_dnet_dnet_ntoa
=no
9237 rm -f core conftest.err conftest.
$ac_objext \
9238 conftest
$ac_exeext conftest.
$ac_ext
9239 LIBS
=$ac_check_lib_save_LIBS
9241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
9242 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
9243 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes
; then :
9244 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
9247 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
9248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
9249 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
9250 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false
; then :
9251 $as_echo_n "(cached) " >&6
9253 ac_check_lib_save_LIBS
=$LIBS
9254 LIBS
="-ldnet_stub $LIBS"
9255 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9256 /* end confdefs.h. */
9258 /* Override any GCC internal prototype to avoid an error.
9259 Use char because int might match the return type of a GCC
9260 builtin and then its argument prototype would still apply. */
9268 return dnet_ntoa ();
9273 if ac_fn_c_try_link
"$LINENO"; then :
9274 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
9276 ac_cv_lib_dnet_stub_dnet_ntoa
=no
9278 rm -f core conftest.err conftest.
$ac_objext \
9279 conftest
$ac_exeext conftest.
$ac_ext
9280 LIBS
=$ac_check_lib_save_LIBS
9282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
9283 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
9284 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes
; then :
9285 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
9290 rm -f core conftest.err conftest.
$ac_objext \
9291 conftest
$ac_exeext conftest.
$ac_ext
9292 LIBS
="$ac_xsave_LIBS"
9294 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
9295 # to get the SysV transport functions.
9296 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
9298 # The nsl library prevents programs from opening the X display
9299 # on Irix 5.2, according to T.E. Dickey.
9300 # The functions gethostbyname, getservbyname, and inet_addr are
9301 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
9302 ac_fn_c_check_func
"$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
9303 if test "x$ac_cv_func_gethostbyname" = xyes
; then :
9307 if test $ac_cv_func_gethostbyname = no
; then
9308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
9309 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
9310 if ${ac_cv_lib_nsl_gethostbyname+:} false
; then :
9311 $as_echo_n "(cached) " >&6
9313 ac_check_lib_save_LIBS
=$LIBS
9315 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9316 /* end confdefs.h. */
9318 /* Override any GCC internal prototype to avoid an error.
9319 Use char because int might match the return type of a GCC
9320 builtin and then its argument prototype would still apply. */
9324 char gethostbyname ();
9328 return gethostbyname ();
9333 if ac_fn_c_try_link
"$LINENO"; then :
9334 ac_cv_lib_nsl_gethostbyname
=yes
9336 ac_cv_lib_nsl_gethostbyname
=no
9338 rm -f core conftest.err conftest.
$ac_objext \
9339 conftest
$ac_exeext conftest.
$ac_ext
9340 LIBS
=$ac_check_lib_save_LIBS
9342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
9343 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
9344 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes
; then :
9345 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
9348 if test $ac_cv_lib_nsl_gethostbyname = no
; then
9349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
9350 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
9351 if ${ac_cv_lib_bsd_gethostbyname+:} false
; then :
9352 $as_echo_n "(cached) " >&6
9354 ac_check_lib_save_LIBS
=$LIBS
9356 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9357 /* end confdefs.h. */
9359 /* Override any GCC internal prototype to avoid an error.
9360 Use char because int might match the return type of a GCC
9361 builtin and then its argument prototype would still apply. */
9365 char gethostbyname ();
9369 return gethostbyname ();
9374 if ac_fn_c_try_link
"$LINENO"; then :
9375 ac_cv_lib_bsd_gethostbyname
=yes
9377 ac_cv_lib_bsd_gethostbyname
=no
9379 rm -f core conftest.err conftest.
$ac_objext \
9380 conftest
$ac_exeext conftest.
$ac_ext
9381 LIBS
=$ac_check_lib_save_LIBS
9383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
9384 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
9385 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes
; then :
9386 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
9392 # lieder@skyler.mavd.honeywell.com says without -lsocket,
9393 # socket/setsockopt and other routines are undefined under SCO ODT
9394 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
9395 # on later versions), says Simon Leinen: it contains gethostby*
9396 # variants that don't use the name server (or something). -lsocket
9397 # must be given before -lnsl if both are needed. We assume that
9398 # if connect needs -lnsl, so does gethostbyname.
9399 ac_fn_c_check_func
"$LINENO" "connect" "ac_cv_func_connect"
9400 if test "x$ac_cv_func_connect" = xyes
; then :
9404 if test $ac_cv_func_connect = no
; then
9405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
9406 $as_echo_n "checking for connect in -lsocket... " >&6; }
9407 if ${ac_cv_lib_socket_connect+:} false
; then :
9408 $as_echo_n "(cached) " >&6
9410 ac_check_lib_save_LIBS
=$LIBS
9411 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
9412 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9413 /* end confdefs.h. */
9415 /* Override any GCC internal prototype to avoid an error.
9416 Use char because int might match the return type of a GCC
9417 builtin and then its argument prototype would still apply. */
9430 if ac_fn_c_try_link
"$LINENO"; then :
9431 ac_cv_lib_socket_connect
=yes
9433 ac_cv_lib_socket_connect
=no
9435 rm -f core conftest.err conftest.
$ac_objext \
9436 conftest
$ac_exeext conftest.
$ac_ext
9437 LIBS
=$ac_check_lib_save_LIBS
9439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
9440 $as_echo "$ac_cv_lib_socket_connect" >&6; }
9441 if test "x$ac_cv_lib_socket_connect" = xyes
; then :
9442 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
9447 # Guillermo Gomez says -lposix is necessary on A/UX.
9448 ac_fn_c_check_func
"$LINENO" "remove" "ac_cv_func_remove"
9449 if test "x$ac_cv_func_remove" = xyes
; then :
9453 if test $ac_cv_func_remove = no
; then
9454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
9455 $as_echo_n "checking for remove in -lposix... " >&6; }
9456 if ${ac_cv_lib_posix_remove+:} false
; then :
9457 $as_echo_n "(cached) " >&6
9459 ac_check_lib_save_LIBS
=$LIBS
9460 LIBS
="-lposix $LIBS"
9461 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9462 /* end confdefs.h. */
9464 /* Override any GCC internal prototype to avoid an error.
9465 Use char because int might match the return type of a GCC
9466 builtin and then its argument prototype would still apply. */
9479 if ac_fn_c_try_link
"$LINENO"; then :
9480 ac_cv_lib_posix_remove
=yes
9482 ac_cv_lib_posix_remove
=no
9484 rm -f core conftest.err conftest.
$ac_objext \
9485 conftest
$ac_exeext conftest.
$ac_ext
9486 LIBS
=$ac_check_lib_save_LIBS
9488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
9489 $as_echo "$ac_cv_lib_posix_remove" >&6; }
9490 if test "x$ac_cv_lib_posix_remove" = xyes
; then :
9491 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
9496 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
9497 ac_fn_c_check_func
"$LINENO" "shmat" "ac_cv_func_shmat"
9498 if test "x$ac_cv_func_shmat" = xyes
; then :
9502 if test $ac_cv_func_shmat = no
; then
9503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
9504 $as_echo_n "checking for shmat in -lipc... " >&6; }
9505 if ${ac_cv_lib_ipc_shmat+:} false
; then :
9506 $as_echo_n "(cached) " >&6
9508 ac_check_lib_save_LIBS
=$LIBS
9510 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9511 /* end confdefs.h. */
9513 /* Override any GCC internal prototype to avoid an error.
9514 Use char because int might match the return type of a GCC
9515 builtin and then its argument prototype would still apply. */
9528 if ac_fn_c_try_link
"$LINENO"; then :
9529 ac_cv_lib_ipc_shmat
=yes
9531 ac_cv_lib_ipc_shmat
=no
9533 rm -f core conftest.err conftest.
$ac_objext \
9534 conftest
$ac_exeext conftest.
$ac_ext
9535 LIBS
=$ac_check_lib_save_LIBS
9537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
9538 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
9539 if test "x$ac_cv_lib_ipc_shmat" = xyes
; then :
9540 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
9546 # Check for libraries that X11R6 Xt/Xaw programs need.
9547 ac_save_LDFLAGS
=$LDFLAGS
9548 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
9549 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
9550 # check for ICE first), but we must link in the order -lSM -lICE or
9551 # we get undefined symbols. So assume we have SM if we have ICE.
9552 # These have to be linked with before -lX11, unlike the other
9553 # libraries we check for below, so use a different variable.
9554 # John Interrante, Karl Berry
9555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
9556 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
9557 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false
; then :
9558 $as_echo_n "(cached) " >&6
9560 ac_check_lib_save_LIBS
=$LIBS
9561 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
9562 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9563 /* end confdefs.h. */
9565 /* Override any GCC internal prototype to avoid an error.
9566 Use char because int might match the return type of a GCC
9567 builtin and then its argument prototype would still apply. */
9571 char IceConnectionNumber ();
9575 return IceConnectionNumber ();
9580 if ac_fn_c_try_link
"$LINENO"; then :
9581 ac_cv_lib_ICE_IceConnectionNumber
=yes
9583 ac_cv_lib_ICE_IceConnectionNumber
=no
9585 rm -f core conftest.err conftest.
$ac_objext \
9586 conftest
$ac_exeext conftest.
$ac_ext
9587 LIBS
=$ac_check_lib_save_LIBS
9589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
9590 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
9591 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes
; then :
9592 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
9595 LDFLAGS
=$ac_save_LDFLAGS
9600 if test "$have_x" = "yes"
9602 ac_save_CPPFLAGS
="$CPPFLAGS"
9603 CPPFLAGS
="$CPPFLAGS $X_CFLAGS"
9605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
9606 $as_echo_n "checking for -lX11... " >&6; }
9607 if ${ac_cv_lib_soname_X11+:} false
; then :
9608 $as_echo_n "(cached) " >&6
9610 ac_check_soname_save_LIBS
=$LIBS
9611 LIBS
="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9612 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9613 /* end confdefs.h. */
9615 /* Override any GCC internal prototype to avoid an error.
9616 Use char because int might match the return type of a GCC
9617 builtin and then its argument prototype would still apply. */
9621 char XCreateWindow ();
9625 return XCreateWindow ();
9630 if ac_fn_c_try_link
"$LINENO"; then :
9632 dll
) ac_cv_lib_soname_X11
=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9633 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'` ;;
9634 *) ac_cv_lib_soname_X11
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9635 if ${ac_cv_lib_soname_X11:+false} :; then :
9636 ac_cv_lib_soname_X11
=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9640 rm -f core conftest.err conftest.
$ac_objext \
9641 conftest
$ac_exeext conftest.
$ac_ext
9642 LIBS
=$ac_check_soname_save_LIBS
9644 if ${ac_cv_lib_soname_X11:+false} :; then :
9645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9646 $as_echo "not found" >&6; }
9649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
9650 $as_echo "$ac_cv_lib_soname_X11" >&6; }
9652 cat >>confdefs.h
<<_ACEOF
9653 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
9659 $as_echo_n "checking for -lXext... " >&6; }
9660 if ${ac_cv_lib_soname_Xext+:} false
; then :
9661 $as_echo_n "(cached) " >&6
9663 ac_check_soname_save_LIBS
=$LIBS
9664 LIBS
="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9665 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9666 /* end confdefs.h. */
9668 /* Override any GCC internal prototype to avoid an error.
9669 Use char because int might match the return type of a GCC
9670 builtin and then its argument prototype would still apply. */
9674 char XextCreateExtension ();
9678 return XextCreateExtension ();
9683 if ac_fn_c_try_link
"$LINENO"; then :
9685 dll
) ac_cv_lib_soname_Xext
=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9686 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'` ;;
9687 *) ac_cv_lib_soname_Xext
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9688 if ${ac_cv_lib_soname_Xext:+false} :; then :
9689 ac_cv_lib_soname_Xext
=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9693 rm -f core conftest.err conftest.
$ac_objext \
9694 conftest
$ac_exeext conftest.
$ac_ext
9695 LIBS
=$ac_check_soname_save_LIBS
9697 if ${ac_cv_lib_soname_Xext:+false} :; then :
9698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9699 $as_echo "not found" >&6; }
9702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
9703 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
9705 cat >>confdefs.h
<<_ACEOF
9706 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9709 X_LIBS
="$X_LIBS -lXext"
9711 X_LIBS
="$X_LIBS -lX11"
9713 for ac_header
in X11
/Xlib.h \
9716 X11
/Xcursor
/Xcursor.h \
9717 X11
/extensions
/shape.h \
9718 X11
/extensions
/XInput.h \
9719 X11
/extensions
/XInput2.h \
9720 X11
/extensions
/XShm.h \
9721 X11
/extensions
/Xcomposite.h \
9722 X11
/extensions
/Xinerama.h \
9723 X11
/extensions
/Xrandr.h \
9724 X11
/extensions
/Xrender.h \
9725 X11
/extensions
/xf86vmode.h \
9726 X11
/extensions
/xf86vmproto.h
9728 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9729 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
9730 # include <X11/Xlib.h>
9732 #ifdef HAVE_X11_XUTIL_H
9733 # include <X11/Xutil.h>
9736 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
9737 cat >>confdefs.h
<<_ACEOF
9738 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9746 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
9749 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
9750 if ${ac_cv_lib_X11_XkbQueryExtension+:} false
; then :
9751 $as_echo_n "(cached) " >&6
9753 ac_check_lib_save_LIBS
=$LIBS
9754 LIBS
="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9755 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9756 /* end confdefs.h. */
9758 /* Override any GCC internal prototype to avoid an error.
9759 Use char because int might match the return type of a GCC
9760 builtin and then its argument prototype would still apply. */
9764 char XkbQueryExtension ();
9768 return XkbQueryExtension ();
9773 if ac_fn_c_try_link
"$LINENO"; then :
9774 ac_cv_lib_X11_XkbQueryExtension
=yes
9776 ac_cv_lib_X11_XkbQueryExtension
=no
9778 rm -f core conftest.err conftest.
$ac_objext \
9779 conftest
$ac_exeext conftest.
$ac_ext
9780 LIBS
=$ac_check_lib_save_LIBS
9782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9783 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9784 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes
; then :
9786 $as_echo "#define HAVE_XKB 1" >>confdefs.h
9792 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
9795 $as_echo_n "checking for -lXcursor... " >&6; }
9796 if ${ac_cv_lib_soname_Xcursor+:} false
; then :
9797 $as_echo_n "(cached) " >&6
9799 ac_check_soname_save_LIBS
=$LIBS
9800 LIBS
="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
9801 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9802 /* end confdefs.h. */
9804 /* Override any GCC internal prototype to avoid an error.
9805 Use char because int might match the return type of a GCC
9806 builtin and then its argument prototype would still apply. */
9810 char XcursorImageLoadCursor ();
9814 return XcursorImageLoadCursor ();
9819 if ac_fn_c_try_link
"$LINENO"; then :
9821 dll
) ac_cv_lib_soname_Xcursor
=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9822 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'` ;;
9823 *) ac_cv_lib_soname_Xcursor
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9824 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9825 ac_cv_lib_soname_Xcursor
=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9829 rm -f core conftest.err conftest.
$ac_objext \
9830 conftest
$ac_exeext conftest.
$ac_ext
9831 LIBS
=$ac_check_soname_save_LIBS
9833 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9835 $as_echo "not found" >&6; }
9838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
9839 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
9841 cat >>confdefs.h
<<_ACEOF
9842 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9848 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
9849 case "x$with_xcursor" in
9850 x
) as_fn_append wine_notices
"|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
9852 *) as_fn_error $?
"libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
9853 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
9857 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
9860 $as_echo_n "checking for -lXi... " >&6; }
9861 if ${ac_cv_lib_soname_Xi+:} false
; then :
9862 $as_echo_n "(cached) " >&6
9864 ac_check_soname_save_LIBS
=$LIBS
9865 LIBS
="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
9866 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9867 /* end confdefs.h. */
9869 /* Override any GCC internal prototype to avoid an error.
9870 Use char because int might match the return type of a GCC
9871 builtin and then its argument prototype would still apply. */
9875 char XOpenDevice ();
9879 return XOpenDevice ();
9884 if ac_fn_c_try_link
"$LINENO"; then :
9886 dll
) ac_cv_lib_soname_Xi
=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9887 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'` ;;
9888 *) ac_cv_lib_soname_Xi
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9889 if ${ac_cv_lib_soname_Xi:+false} :; then :
9890 ac_cv_lib_soname_Xi
=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9894 rm -f core conftest.err conftest.
$ac_objext \
9895 conftest
$ac_exeext conftest.
$ac_ext
9896 LIBS
=$ac_check_soname_save_LIBS
9898 if ${ac_cv_lib_soname_Xi:+false} :; then :
9899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9900 $as_echo "not found" >&6; }
9903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
9904 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
9906 cat >>confdefs.h
<<_ACEOF
9907 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
9913 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
9914 case "x$with_xinput" in
9915 x
) as_fn_append wine_notices
"|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
9917 *) as_fn_error $?
"libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
9918 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
9922 if test "x$ac_cv_lib_soname_Xi" != x
9924 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
9925 case "x$with_xinput2" in
9926 x
) as_fn_append wine_notices
"|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
9928 *) as_fn_error $?
"XInput2 headers not found, the XInput 2 extension won't be supported.
9929 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
9934 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
9936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
9937 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
9938 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false
; then :
9939 $as_echo_n "(cached) " >&6
9941 ac_check_lib_save_LIBS
=$LIBS
9942 LIBS
="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
9943 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9944 /* end confdefs.h. */
9946 /* Override any GCC internal prototype to avoid an error.
9947 Use char because int might match the return type of a GCC
9948 builtin and then its argument prototype would still apply. */
9952 char XShmQueryExtension ();
9956 return XShmQueryExtension ();
9961 if ac_fn_c_try_link
"$LINENO"; then :
9962 ac_cv_lib_Xext_XShmQueryExtension
=yes
9964 ac_cv_lib_Xext_XShmQueryExtension
=no
9966 rm -f core conftest.err conftest.
$ac_objext \
9967 conftest
$ac_exeext conftest.
$ac_ext
9968 LIBS
=$ac_check_lib_save_LIBS
9970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
9971 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
9972 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes
; then :
9974 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
9979 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
9980 case "x$with_xshm" in
9981 x
) as_fn_append wine_notices
"|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
9983 *) as_fn_error $?
"XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
9984 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
9988 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
9990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
9991 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
9992 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false
; then :
9993 $as_echo_n "(cached) " >&6
9995 ac_check_lib_save_LIBS
=$LIBS
9996 LIBS
="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
9997 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9998 /* end confdefs.h. */
10000 /* Override any GCC internal prototype to avoid an error.
10001 Use char because int might match the return type of a GCC
10002 builtin and then its argument prototype would still apply. */
10006 char XShapeQueryExtension ();
10010 return XShapeQueryExtension ();
10015 if ac_fn_c_try_link
"$LINENO"; then :
10016 ac_cv_lib_Xext_XShapeQueryExtension
=yes
10018 ac_cv_lib_Xext_XShapeQueryExtension
=no
10020 rm -f core conftest.err conftest.
$ac_objext \
10021 conftest
$ac_exeext conftest.
$ac_ext
10022 LIBS
=$ac_check_lib_save_LIBS
10024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
10025 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
10026 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes
; then :
10028 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
10033 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
10034 case "x$with_xshape" in
10035 x
) as_fn_append wine_notices
"|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
10037 *) as_fn_error $?
"XShape ${notice_platform}development files not found, XShape won't be supported.
10038 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
10042 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
10044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
10045 $as_echo_n "checking for -lXxf86vm... " >&6; }
10046 if ${ac_cv_lib_soname_Xxf86vm+:} false
; then :
10047 $as_echo_n "(cached) " >&6
10049 ac_check_soname_save_LIBS
=$LIBS
10050 LIBS
="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
10051 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10052 /* end confdefs.h. */
10054 /* Override any GCC internal prototype to avoid an error.
10055 Use char because int might match the return type of a GCC
10056 builtin and then its argument prototype would still apply. */
10060 char XF86VidModeQueryExtension ();
10064 return XF86VidModeQueryExtension ();
10069 if ac_fn_c_try_link
"$LINENO"; then :
10071 dll
) ac_cv_lib_soname_Xxf86vm
=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10072 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'` ;;
10073 *) ac_cv_lib_soname_Xxf86vm
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10074 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10075 ac_cv_lib_soname_Xxf86vm
=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10079 rm -f core conftest.err conftest.
$ac_objext \
10080 conftest
$ac_exeext conftest.
$ac_ext
10081 LIBS
=$ac_check_soname_save_LIBS
10083 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10085 $as_echo "not found" >&6; }
10088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
10089 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
10091 cat >>confdefs.h
<<_ACEOF
10092 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
10098 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
10099 case "x$with_xxf86vm" in
10100 x
) as_fn_append wine_notices
"|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
10102 *) as_fn_error $?
"libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
10103 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
10107 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
10109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
10110 $as_echo_n "checking for -lXrender... " >&6; }
10111 if ${ac_cv_lib_soname_Xrender+:} false
; then :
10112 $as_echo_n "(cached) " >&6
10114 ac_check_soname_save_LIBS
=$LIBS
10115 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10116 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10117 /* end confdefs.h. */
10119 /* Override any GCC internal prototype to avoid an error.
10120 Use char because int might match the return type of a GCC
10121 builtin and then its argument prototype would still apply. */
10125 char XRenderQueryExtension ();
10129 return XRenderQueryExtension ();
10134 if ac_fn_c_try_link
"$LINENO"; then :
10136 dll
) ac_cv_lib_soname_Xrender
=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10137 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'` ;;
10138 *) ac_cv_lib_soname_Xrender
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10139 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10140 ac_cv_lib_soname_Xrender
=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10144 rm -f core conftest.err conftest.
$ac_objext \
10145 conftest
$ac_exeext conftest.
$ac_ext
10146 LIBS
=$ac_check_soname_save_LIBS
10148 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10150 $as_echo "not found" >&6; }
10153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
10154 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
10156 cat >>confdefs.h
<<_ACEOF
10157 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
10160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
10161 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
10162 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false
; then :
10163 $as_echo_n "(cached) " >&6
10165 ac_check_lib_save_LIBS
=$LIBS
10166 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10167 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10168 /* end confdefs.h. */
10170 /* Override any GCC internal prototype to avoid an error.
10171 Use char because int might match the return type of a GCC
10172 builtin and then its argument prototype would still apply. */
10176 char XRenderSetPictureTransform ();
10180 return XRenderSetPictureTransform ();
10185 if ac_fn_c_try_link
"$LINENO"; then :
10186 ac_cv_lib_Xrender_XRenderSetPictureTransform
=yes
10188 ac_cv_lib_Xrender_XRenderSetPictureTransform
=no
10190 rm -f core conftest.err conftest.
$ac_objext \
10191 conftest
$ac_exeext conftest.
$ac_ext
10192 LIBS
=$ac_check_lib_save_LIBS
10194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
10195 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
10196 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes
; then :
10198 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
10202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
10203 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
10204 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false
; then :
10205 $as_echo_n "(cached) " >&6
10207 ac_check_lib_save_LIBS
=$LIBS
10208 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10209 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10210 /* end confdefs.h. */
10212 /* Override any GCC internal prototype to avoid an error.
10213 Use char because int might match the return type of a GCC
10214 builtin and then its argument prototype would still apply. */
10218 char XRenderCreateLinearGradient ();
10222 return XRenderCreateLinearGradient ();
10227 if ac_fn_c_try_link
"$LINENO"; then :
10228 ac_cv_lib_Xrender_XRenderCreateLinearGradient
=yes
10230 ac_cv_lib_Xrender_XRenderCreateLinearGradient
=no
10232 rm -f core conftest.err conftest.
$ac_objext \
10233 conftest
$ac_exeext conftest.
$ac_ext
10234 LIBS
=$ac_check_lib_save_LIBS
10236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
10237 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
10238 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes
; then :
10240 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
10247 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
10248 case "x$with_xrender" in
10249 x
) as_fn_append wine_warnings
"|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
10251 *) as_fn_error $?
"libxrender ${notice_platform}development files not found, XRender won't be supported.
10252 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
10256 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
10258 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10259 /* end confdefs.h. */
10260 #include <X11/Xlib.h>
10261 #include <X11/extensions/Xrandr.h>
10265 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
10270 if ac_fn_c_try_compile
"$LINENO"; then :
10271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
10272 $as_echo_n "checking for -lXrandr... " >&6; }
10273 if ${ac_cv_lib_soname_Xrandr+:} false
; then :
10274 $as_echo_n "(cached) " >&6
10276 ac_check_soname_save_LIBS
=$LIBS
10277 LIBS
="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
10278 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10279 /* end confdefs.h. */
10281 /* Override any GCC internal prototype to avoid an error.
10282 Use char because int might match the return type of a GCC
10283 builtin and then its argument prototype would still apply. */
10287 char XRRQueryExtension ();
10291 return XRRQueryExtension ();
10296 if ac_fn_c_try_link
"$LINENO"; then :
10298 dll
) ac_cv_lib_soname_Xrandr
=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10299 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'` ;;
10300 *) ac_cv_lib_soname_Xrandr
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10301 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10302 ac_cv_lib_soname_Xrandr
=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10306 rm -f core conftest.err conftest.
$ac_objext \
10307 conftest
$ac_exeext conftest.
$ac_ext
10308 LIBS
=$ac_check_soname_save_LIBS
10310 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10312 $as_echo "not found" >&6; }
10315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
10316 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
10318 cat >>confdefs.h
<<_ACEOF
10319 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10322 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10323 /* end confdefs.h. */
10324 #include <X11/Xlib.h>
10325 #include <X11/extensions/Xrandr.h>
10329 static typeof(XRRGetScreenResources) *f; if (f) return 0;
10334 if ac_fn_c_try_compile
"$LINENO"; then :
10336 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
10339 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10342 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10344 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
10345 case "x$with_xrandr" in
10346 x
) as_fn_append wine_notices
"|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
10348 *) as_fn_error $?
"libxrandr ${notice_platform}development files not found, XRandr won't be supported.
10349 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
10353 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10355 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10356 /* end confdefs.h. */
10357 #include <X11/Xlib.h>
10358 #include <X11/extensions/Xinerama.h>
10362 static typeof(XineramaQueryScreens) * func; if (func) return 0;
10367 if ac_fn_c_try_compile
"$LINENO"; then :
10368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
10369 $as_echo_n "checking for -lXinerama... " >&6; }
10370 if ${ac_cv_lib_soname_Xinerama+:} false
; then :
10371 $as_echo_n "(cached) " >&6
10373 ac_check_soname_save_LIBS
=$LIBS
10374 LIBS
="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
10375 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10376 /* end confdefs.h. */
10378 /* Override any GCC internal prototype to avoid an error.
10379 Use char because int might match the return type of a GCC
10380 builtin and then its argument prototype would still apply. */
10384 char XineramaQueryScreens ();
10388 return XineramaQueryScreens ();
10393 if ac_fn_c_try_link
"$LINENO"; then :
10395 dll
) ac_cv_lib_soname_Xinerama
=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10396 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'` ;;
10397 *) ac_cv_lib_soname_Xinerama
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10398 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10399 ac_cv_lib_soname_Xinerama
=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10403 rm -f core conftest.err conftest.
$ac_objext \
10404 conftest
$ac_exeext conftest.
$ac_ext
10405 LIBS
=$ac_check_soname_save_LIBS
10407 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10409 $as_echo "not found" >&6; }
10412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
10413 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
10415 cat >>confdefs.h
<<_ACEOF
10416 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10422 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10424 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
10425 case "x$with_xinerama" in
10426 x
) as_fn_append wine_notices
"|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
10428 *) as_fn_error $?
"libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
10429 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
10433 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
10436 $as_echo_n "checking for -lXcomposite... " >&6; }
10437 if ${ac_cv_lib_soname_Xcomposite+:} false
; then :
10438 $as_echo_n "(cached) " >&6
10440 ac_check_soname_save_LIBS
=$LIBS
10441 LIBS
="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
10442 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10443 /* end confdefs.h. */
10445 /* Override any GCC internal prototype to avoid an error.
10446 Use char because int might match the return type of a GCC
10447 builtin and then its argument prototype would still apply. */
10451 char XCompositeRedirectWindow ();
10455 return XCompositeRedirectWindow ();
10460 if ac_fn_c_try_link
"$LINENO"; then :
10462 dll
) ac_cv_lib_soname_Xcomposite
=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10463 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'` ;;
10464 *) ac_cv_lib_soname_Xcomposite
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10465 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10466 ac_cv_lib_soname_Xcomposite
=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10470 rm -f core conftest.err conftest.
$ac_objext \
10471 conftest
$ac_exeext conftest.
$ac_ext
10472 LIBS
=$ac_check_soname_save_LIBS
10474 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10476 $as_echo "not found" >&6; }
10479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
10480 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
10482 cat >>confdefs.h
<<_ACEOF
10483 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10489 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
10490 case "x$with_xcomposite" in
10491 x
) as_fn_append wine_notices
"|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
10493 *) as_fn_error $?
"libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
10494 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
10498 ac_fn_c_check_member
"$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
10499 #include <X11/Xlib.h>
10502 if test "x$ac_cv_member_XICCallback_callback" = xyes
; then :
10504 cat >>confdefs.h
<<_ACEOF
10505 #define HAVE_XICCALLBACK_CALLBACK 1
10510 ac_fn_c_check_member
"$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
10511 #include <X11/Xlib.h>
10514 if test "x$ac_cv_member_XEvent_xcookie" = xyes
; then :
10516 cat >>confdefs.h
<<_ACEOF
10517 #define HAVE_XEVENT_XCOOKIE 1
10526 if test "x$with_opengl" != "xno"
10528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10529 $as_echo_n "checking for -lGL... " >&6; }
10530 if ${ac_cv_lib_soname_GL+:} false
; then :
10531 $as_echo_n "(cached) " >&6
10533 ac_check_soname_save_LIBS
=$LIBS
10534 LIBS
="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10535 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10536 /* end confdefs.h. */
10538 /* Override any GCC internal prototype to avoid an error.
10539 Use char because int might match the return type of a GCC
10540 builtin and then its argument prototype would still apply. */
10544 char glXCreateContext ();
10548 return glXCreateContext ();
10553 if ac_fn_c_try_link
"$LINENO"; then :
10555 dll
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10556 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'` ;;
10557 *) ac_cv_lib_soname_GL
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10558 if ${ac_cv_lib_soname_GL:+false} :; then :
10559 ac_cv_lib_soname_GL
=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10563 rm -f core conftest.err conftest.
$ac_objext \
10564 conftest
$ac_exeext conftest.
$ac_ext
10565 LIBS
=$ac_check_soname_save_LIBS
10567 if ${ac_cv_lib_soname_GL:+false} :; then :
10568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10569 $as_echo "not found" >&6; }
10570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10571 $as_echo_n "checking for -lGL... " >&6; }
10572 if ${ac_cv_lib_soname_GL+:} false
; then :
10573 $as_echo_n "(cached) " >&6
10575 ac_check_soname_save_LIBS
=$LIBS
10576 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"
10577 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10578 /* end confdefs.h. */
10580 /* Override any GCC internal prototype to avoid an error.
10581 Use char because int might match the return type of a GCC
10582 builtin and then its argument prototype would still apply. */
10586 char glXCreateContext ();
10590 return glXCreateContext ();
10595 if ac_fn_c_try_link
"$LINENO"; then :
10597 dll
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10598 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'` ;;
10599 *) ac_cv_lib_soname_GL
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10600 if ${ac_cv_lib_soname_GL:+false} :; then :
10601 ac_cv_lib_soname_GL
=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10605 rm -f core conftest.err conftest.
$ac_objext \
10606 conftest
$ac_exeext conftest.
$ac_ext
10607 LIBS
=$ac_check_soname_save_LIBS
10609 if ${ac_cv_lib_soname_GL:+false} :; then :
10610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10611 $as_echo "not found" >&6; }
10612 if test -f /usr
/X11R
6/lib
/libGL.a
10614 opengl_msg
="/usr/X11R6/lib/libGL.a is present on your system.
10615 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10617 opengl_msg
="No OpenGL library found on this system."
10620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10621 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10623 cat >>confdefs.h
<<_ACEOF
10624 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10627 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"
10630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10631 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10633 cat >>confdefs.h
<<_ACEOF
10634 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10639 if test "x$with_glu" != "xno"
10641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluLookAt in -lGLU" >&5
10642 $as_echo_n "checking for gluLookAt in -lGLU... " >&6; }
10643 if ${ac_cv_lib_GLU_gluLookAt+:} false
; then :
10644 $as_echo_n "(cached) " >&6
10646 ac_check_lib_save_LIBS
=$LIBS
10647 LIBS
="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10648 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10649 /* end confdefs.h. */
10651 /* Override any GCC internal prototype to avoid an error.
10652 Use char because int might match the return type of a GCC
10653 builtin and then its argument prototype would still apply. */
10661 return gluLookAt ();
10666 if ac_fn_c_try_link
"$LINENO"; then :
10667 ac_cv_lib_GLU_gluLookAt
=yes
10669 ac_cv_lib_GLU_gluLookAt
=no
10671 rm -f core conftest.err conftest.
$ac_objext \
10672 conftest
$ac_exeext conftest.
$ac_ext
10673 LIBS
=$ac_check_lib_save_LIBS
10675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluLookAt" >&5
10676 $as_echo "$ac_cv_lib_GLU_gluLookAt" >&6; }
10677 if test "x$ac_cv_lib_GLU_gluLookAt" = xyes
; then :
10681 if test "x$ac_cv_lib_GLU_gluLookAt" != xyes
; then :
10682 case "x$with_glu" in
10683 x
) as_fn_append wine_notices
"|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
10685 *) as_fn_error $?
"libGLU ${notice_platform}development files not found, GLU won't be supported.
10686 This is an error since --with-glu was requested." "$LINENO" 5 ;;
10691 if test "x$with_osmesa" != "xno"
10693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
10694 $as_echo_n "checking for -lOSMesa... " >&6; }
10695 if ${ac_cv_lib_soname_OSMesa+:} false
; then :
10696 $as_echo_n "(cached) " >&6
10698 ac_check_soname_save_LIBS
=$LIBS
10699 LIBS
="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10700 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10701 /* end confdefs.h. */
10703 /* Override any GCC internal prototype to avoid an error.
10704 Use char because int might match the return type of a GCC
10705 builtin and then its argument prototype would still apply. */
10718 if ac_fn_c_try_link
"$LINENO"; then :
10720 dll
) ac_cv_lib_soname_OSMesa
=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10721 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'` ;;
10722 *) ac_cv_lib_soname_OSMesa
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10723 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10724 ac_cv_lib_soname_OSMesa
=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10728 rm -f core conftest.err conftest.
$ac_objext \
10729 conftest
$ac_exeext conftest.
$ac_ext
10730 LIBS
=$ac_check_soname_save_LIBS
10732 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10734 $as_echo "not found" >&6; }
10737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
10738 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
10740 cat >>confdefs.h
<<_ACEOF
10741 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
10746 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
10747 case "x$with_osmesa" in
10748 x
) as_fn_append wine_notices
"|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
10750 *) as_fn_error $?
"libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
10751 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
10756 if test -n "$opengl_msg"; then :
10757 case "x$with_opengl" in
10758 x
) as_fn_append wine_warnings
"|$opengl_msg
10759 OpenGL and Direct3D won't be supported." ;;
10761 *) as_fn_error $?
"$opengl_msg
10762 OpenGL and Direct3D won't be supported.
10763 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
10767 CPPFLAGS
="$ac_save_CPPFLAGS"
10771 enable_winex11_drv
=${enable_winex11_drv:-no}
10773 if test "x$X_LIBS" = "x"; then :
10776 *) as_fn_error $?
"X ${notice_platform}development files not found. Wine will be built
10777 without X support, which probably isn't what you want. You will need
10778 to install ${notice_platform}development packages of Xlib/Xfree86 at the very least.
10779 Use the --without-x option if you really want this." "$LINENO" 5 ;;
10783 test "x$ac_cv_lib_GLU_gluLookAt" != xyes
&& enable_glu32
=${enable_glu32:-no}
10785 if test "$ac_cv_header_CL_cl_h" = "yes"
10787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
10788 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
10789 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false
; then :
10790 $as_echo_n "(cached) " >&6
10792 ac_check_lib_save_LIBS
=$LIBS
10793 LIBS
="-lOpenCL $LIBS"
10794 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10795 /* end confdefs.h. */
10797 /* Override any GCC internal prototype to avoid an error.
10798 Use char because int might match the return type of a GCC
10799 builtin and then its argument prototype would still apply. */
10803 char clGetPlatformInfo ();
10807 return clGetPlatformInfo ();
10812 if ac_fn_c_try_link
"$LINENO"; then :
10813 ac_cv_lib_OpenCL_clGetPlatformInfo
=yes
10815 ac_cv_lib_OpenCL_clGetPlatformInfo
=no
10817 rm -f core conftest.err conftest.
$ac_objext \
10818 conftest
$ac_exeext conftest.
$ac_ext
10819 LIBS
=$ac_check_lib_save_LIBS
10821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
10822 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
10823 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes
; then :
10824 OPENCL_LIBS
="-lOpenCL"
10829 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
; then :
10830 case "x$with_opencl" in
10831 x
) as_fn_append wine_notices
"|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
10833 *) as_fn_error $?
"OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
10834 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
10837 test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
&& enable_opencl
=${enable_opencl:-no}
10839 if test "$ac_cv_header_pcap_pcap_h" = "yes"
10841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
10842 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
10843 if ${ac_cv_lib_pcap_pcap_create+:} false
; then :
10844 $as_echo_n "(cached) " >&6
10846 ac_check_lib_save_LIBS
=$LIBS
10847 LIBS
="-lpcap $LIBS"
10848 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10849 /* end confdefs.h. */
10851 /* Override any GCC internal prototype to avoid an error.
10852 Use char because int might match the return type of a GCC
10853 builtin and then its argument prototype would still apply. */
10857 char pcap_create ();
10861 return pcap_create ();
10866 if ac_fn_c_try_link
"$LINENO"; then :
10867 ac_cv_lib_pcap_pcap_create
=yes
10869 ac_cv_lib_pcap_pcap_create
=no
10871 rm -f core conftest.err conftest.
$ac_objext \
10872 conftest
$ac_exeext conftest.
$ac_ext
10873 LIBS
=$ac_check_lib_save_LIBS
10875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
10876 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
10877 if test "x$ac_cv_lib_pcap_pcap_create" = xyes
; then :
10883 if test "x$ac_cv_lib_pcap_pcap_create" != xyes
; then :
10884 case "x$with_pcap" in
10885 x
) as_fn_append wine_notices
"|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
10887 *) as_fn_error $?
"pcap ${notice_platform}development files not found, wpcap won't be supported.
10888 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
10891 test "x$ac_cv_lib_pcap_pcap_create" != xyes
&& enable_wpcap
=${enable_wpcap:-no}
10894 if test "x$with_xml" != "xno"
10896 if ${XML2_CFLAGS:+false} :; then :
10897 if ${PKG_CONFIG+:} false
; then :
10898 XML2_CFLAGS
=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
10901 test "$cross_compiling" = yes || XML2_CFLAGS
=${XML2_CFLAGS:-`${XML2_CONFIG:-xml2-config} --cflags 2>/dev/null`}
10902 if ${XML2_LIBS:+false} :; then :
10903 if ${PKG_CONFIG+:} false
; then :
10904 XML2_LIBS
=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
10907 test "$cross_compiling" = yes || XML2_LIBS
=${XML2_LIBS:-`${XML2_CONFIG:-xml2-config} --libs 2>/dev/null`}
10908 XML2_LIBS
=${XML2_LIBS:-"-lxml2"}
10909 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
10910 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
10911 ac_save_CPPFLAGS
=$CPPFLAGS
10912 CPPFLAGS
="$CPPFLAGS $XML2_CFLAGS"
10913 for ac_header
in libxml
/parser.h libxml
/xmlsave.h libxml
/SAX2.h
10915 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10916 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
10917 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
10918 cat >>confdefs.h
<<_ACEOF
10919 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10926 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"
10928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
10929 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
10930 if ${ac_cv_lib_xml2_xmlParseMemory+:} false
; then :
10931 $as_echo_n "(cached) " >&6
10933 ac_check_lib_save_LIBS
=$LIBS
10934 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10935 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10936 /* end confdefs.h. */
10938 /* Override any GCC internal prototype to avoid an error.
10939 Use char because int might match the return type of a GCC
10940 builtin and then its argument prototype would still apply. */
10944 char xmlParseMemory ();
10948 return xmlParseMemory ();
10953 if ac_fn_c_try_link
"$LINENO"; then :
10954 ac_cv_lib_xml2_xmlParseMemory
=yes
10956 ac_cv_lib_xml2_xmlParseMemory
=no
10958 rm -f core conftest.err conftest.
$ac_objext \
10959 conftest
$ac_exeext conftest.
$ac_ext
10960 LIBS
=$ac_check_lib_save_LIBS
10962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
10963 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
10964 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes
; then :
10966 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
10972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
10973 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
10974 if ${ac_cv_lib_xml2_xmlReadMemory+:} false
; then :
10975 $as_echo_n "(cached) " >&6
10977 ac_check_lib_save_LIBS
=$LIBS
10978 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10979 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10980 /* end confdefs.h. */
10982 /* Override any GCC internal prototype to avoid an error.
10983 Use char because int might match the return type of a GCC
10984 builtin and then its argument prototype would still apply. */
10988 char xmlReadMemory ();
10992 return xmlReadMemory ();
10997 if ac_fn_c_try_link
"$LINENO"; then :
10998 ac_cv_lib_xml2_xmlReadMemory
=yes
11000 ac_cv_lib_xml2_xmlReadMemory
=no
11002 rm -f core conftest.err conftest.
$ac_objext \
11003 conftest
$ac_exeext conftest.
$ac_ext
11004 LIBS
=$ac_check_lib_save_LIBS
11006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
11007 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
11008 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes
; then :
11010 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
11014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
11015 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
11016 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false
; then :
11017 $as_echo_n "(cached) " >&6
11019 ac_check_lib_save_LIBS
=$LIBS
11020 LIBS
="-lxml2 $XML2_LIBS $LIBS"
11021 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11022 /* end confdefs.h. */
11024 /* Override any GCC internal prototype to avoid an error.
11025 Use char because int might match the return type of a GCC
11026 builtin and then its argument prototype would still apply. */
11030 char xmlNewDocPI ();
11034 return xmlNewDocPI ();
11039 if ac_fn_c_try_link
"$LINENO"; then :
11040 ac_cv_lib_xml2_xmlNewDocPI
=yes
11042 ac_cv_lib_xml2_xmlNewDocPI
=no
11044 rm -f core conftest.err conftest.
$ac_objext \
11045 conftest
$ac_exeext conftest.
$ac_ext
11046 LIBS
=$ac_check_lib_save_LIBS
11048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
11049 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
11050 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes
; then :
11052 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
11056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
11057 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
11058 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false
; then :
11059 $as_echo_n "(cached) " >&6
11061 ac_check_lib_save_LIBS
=$LIBS
11062 LIBS
="-lxml2 $XML2_LIBS $LIBS"
11063 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11064 /* end confdefs.h. */
11066 /* Override any GCC internal prototype to avoid an error.
11067 Use char because int might match the return type of a GCC
11068 builtin and then its argument prototype would still apply. */
11072 char xmlSchemaSetParserStructuredErrors ();
11076 return xmlSchemaSetParserStructuredErrors ();
11081 if ac_fn_c_try_link
"$LINENO"; then :
11082 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors
=yes
11084 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors
=no
11086 rm -f core conftest.err conftest.
$ac_objext \
11087 conftest
$ac_exeext conftest.
$ac_ext
11088 LIBS
=$ac_check_lib_save_LIBS
11090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
11091 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
11092 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes
; then :
11094 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
11098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
11099 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
11100 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false
; then :
11101 $as_echo_n "(cached) " >&6
11103 ac_check_lib_save_LIBS
=$LIBS
11104 LIBS
="-lxml2 $XML2_LIBS $LIBS"
11105 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11106 /* end confdefs.h. */
11108 /* Override any GCC internal prototype to avoid an error.
11109 Use char because int might match the return type of a GCC
11110 builtin and then its argument prototype would still apply. */
11114 char xmlSchemaSetValidStructuredErrors ();
11118 return xmlSchemaSetValidStructuredErrors ();
11123 if ac_fn_c_try_link
"$LINENO"; then :
11124 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors
=yes
11126 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors
=no
11128 rm -f core conftest.err conftest.
$ac_objext \
11129 conftest
$ac_exeext conftest.
$ac_ext
11130 LIBS
=$ac_check_lib_save_LIBS
11132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
11133 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
11134 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes
; then :
11136 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
11140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
11141 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
11142 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false
; then :
11143 $as_echo_n "(cached) " >&6
11145 ac_check_lib_save_LIBS
=$LIBS
11146 LIBS
="-lxml2 $XML2_LIBS $LIBS"
11147 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11148 /* end confdefs.h. */
11150 /* Override any GCC internal prototype to avoid an error.
11151 Use char because int might match the return type of a GCC
11152 builtin and then its argument prototype would still apply. */
11156 char xmlFirstElementChild ();
11160 return xmlFirstElementChild ();
11165 if ac_fn_c_try_link
"$LINENO"; then :
11166 ac_cv_lib_xml2_xmlFirstElementChild
=yes
11168 ac_cv_lib_xml2_xmlFirstElementChild
=no
11170 rm -f core conftest.err conftest.
$ac_objext \
11171 conftest
$ac_exeext conftest.
$ac_ext
11172 LIBS
=$ac_check_lib_save_LIBS
11174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
11175 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
11176 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes
; then :
11178 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
11182 ac_fn_c_check_type
"$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
11184 if test "x$ac_cv_type_xmlDocProperties" = xyes
; then :
11186 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
11194 CPPFLAGS
=$ac_save_CPPFLAGS
11195 test -z "$XML2_CFLAGS" || XML2_CFLAGS
=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11196 test -z "$XML2_LIBS" || XML2_LIBS
=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11199 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
11200 case "x$with_xml" in
11201 x
) as_fn_append wine_warnings
"|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
11203 *) as_fn_error $?
"libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
11204 This is an error since --with-xml was requested." "$LINENO" 5 ;;
11208 if test "x$with_xslt" != "xno"
11210 if ${XSLT_CFLAGS:+false} :; then :
11211 if ${PKG_CONFIG+:} false
; then :
11212 XSLT_CFLAGS
=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
11215 test "$cross_compiling" = yes || XSLT_CFLAGS
=${XSLT_CFLAGS:-`${XSLT_CONFIG:-xslt-config} --cflags 2>/dev/null`}
11216 if ${XSLT_LIBS:+false} :; then :
11217 if ${PKG_CONFIG+:} false
; then :
11218 XSLT_LIBS
=`$PKG_CONFIG --libs libxslt 2>/dev/null`
11221 test "$cross_compiling" = yes || XSLT_LIBS
=${XSLT_LIBS:-`${XSLT_CONFIG:-xslt-config} --libs 2>/dev/null`}
11222 XSLT_LIBS
=${XSLT_LIBS:-"-lxml2"}
11223 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
11224 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
11225 ac_save_CPPFLAGS
=$CPPFLAGS
11226 CPPFLAGS
="$CPPFLAGS $XSLT_CFLAGS"
11227 for ac_header
in libxslt
/pattern.h libxslt
/transform.h
11229 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11230 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
11231 # include <libxslt/pattern.h>
11234 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
11235 cat >>confdefs.h
<<_ACEOF
11236 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11243 if test "$ac_cv_header_libxslt_transform_h" = "yes"
11245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
11246 $as_echo_n "checking for -lxslt... " >&6; }
11247 if ${ac_cv_lib_soname_xslt+:} false
; then :
11248 $as_echo_n "(cached) " >&6
11250 ac_check_soname_save_LIBS
=$LIBS
11251 LIBS
="-lxslt $XSLT_LIBS $LIBS"
11252 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11253 /* end confdefs.h. */
11255 /* Override any GCC internal prototype to avoid an error.
11256 Use char because int might match the return type of a GCC
11257 builtin and then its argument prototype would still apply. */
11261 char xsltCompilePattern ();
11265 return xsltCompilePattern ();
11270 if ac_fn_c_try_link
"$LINENO"; then :
11272 dll
) ac_cv_lib_soname_xslt
=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11273 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'` ;;
11274 *) ac_cv_lib_soname_xslt
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11275 if ${ac_cv_lib_soname_xslt:+false} :; then :
11276 ac_cv_lib_soname_xslt
=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11280 rm -f core conftest.err conftest.
$ac_objext \
11281 conftest
$ac_exeext conftest.
$ac_ext
11282 LIBS
=$ac_check_soname_save_LIBS
11284 if ${ac_cv_lib_soname_xslt:+false} :; then :
11285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11286 $as_echo "not found" >&6; }
11289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
11290 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
11292 cat >>confdefs.h
<<_ACEOF
11293 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
11301 CPPFLAGS
=$ac_save_CPPFLAGS
11302 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS
=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11303 test -z "$XSLT_LIBS" || XSLT_LIBS
=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11306 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
11307 case "x$with_xslt" in
11308 x
) as_fn_append wine_warnings
"|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
11310 *) as_fn_error $?
"libxslt ${notice_platform}development files not found, xslt won't be supported.
11311 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
11315 if test "x$with_dbus" != "xno"
11317 if ${DBUS_CFLAGS:+false} :; then :
11318 if ${PKG_CONFIG+:} false
; then :
11319 DBUS_CFLAGS
=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
11323 if ${DBUS_LIBS:+false} :; then :
11324 if ${PKG_CONFIG+:} false
; then :
11325 DBUS_LIBS
=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
11330 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
11331 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
11332 ac_save_CPPFLAGS
=$CPPFLAGS
11333 CPPFLAGS
="$CPPFLAGS $DBUS_CFLAGS"
11334 ac_fn_c_check_header_mongrel
"$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
11335 if test "x$ac_cv_header_dbus_dbus_h" = xyes
; then :
11336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
11337 $as_echo_n "checking for -ldbus-1... " >&6; }
11338 if ${ac_cv_lib_soname_dbus_1+:} false
; then :
11339 $as_echo_n "(cached) " >&6
11341 ac_check_soname_save_LIBS
=$LIBS
11342 LIBS
="-ldbus-1 $DBUS_LIBS $LIBS"
11343 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11344 /* end confdefs.h. */
11346 /* Override any GCC internal prototype to avoid an error.
11347 Use char because int might match the return type of a GCC
11348 builtin and then its argument prototype would still apply. */
11352 char dbus_connection_close ();
11356 return dbus_connection_close ();
11361 if ac_fn_c_try_link
"$LINENO"; then :
11363 dll
) ac_cv_lib_soname_dbus_1
=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11364 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'` ;;
11365 *) 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'`
11366 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11367 ac_cv_lib_soname_dbus_1
=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11371 rm -f core conftest.err conftest.
$ac_objext \
11372 conftest
$ac_exeext conftest.
$ac_ext
11373 LIBS
=$ac_check_soname_save_LIBS
11375 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11377 $as_echo "not found" >&6; }
11380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
11381 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
11383 cat >>confdefs.h
<<_ACEOF
11384 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
11394 CPPFLAGS
=$ac_save_CPPFLAGS
11395 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS
=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11396 test -z "$DBUS_LIBS" || DBUS_LIBS
=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11399 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
11400 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11401 case "x$with_dbus" in
11402 x
) as_fn_append wine_notices
"|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
11404 *) as_fn_error $?
"libdbus ${notice_platform}development files not found, no dynamic device support.
11405 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
11409 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
11411 if ${HAL_CFLAGS:+false} :; then :
11412 if ${PKG_CONFIG+:} false
; then :
11413 HAL_CFLAGS
=`$PKG_CONFIG --cflags hal 2>/dev/null`
11417 if ${HAL_LIBS:+false} :; then :
11418 if ${PKG_CONFIG+:} false
; then :
11419 HAL_LIBS
=`$PKG_CONFIG --libs hal 2>/dev/null`
11423 HAL_LIBS
=${HAL_LIBS:-"-ldbus-1"}
11424 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
11425 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
11426 ac_save_CPPFLAGS
=$CPPFLAGS
11427 CPPFLAGS
="$CPPFLAGS $HAL_CFLAGS"
11428 ac_fn_c_check_header_mongrel
"$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
11429 if test "x$ac_cv_header_hal_libhal_h" = xyes
; then :
11430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
11431 $as_echo_n "checking for -lhal... " >&6; }
11432 if ${ac_cv_lib_soname_hal+:} false
; then :
11433 $as_echo_n "(cached) " >&6
11435 ac_check_soname_save_LIBS
=$LIBS
11436 LIBS
="-lhal $HAL_LIBS $LIBS"
11437 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11438 /* end confdefs.h. */
11440 /* Override any GCC internal prototype to avoid an error.
11441 Use char because int might match the return type of a GCC
11442 builtin and then its argument prototype would still apply. */
11446 char libhal_ctx_new ();
11450 return libhal_ctx_new ();
11455 if ac_fn_c_try_link
"$LINENO"; then :
11457 dll
) ac_cv_lib_soname_hal
=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11458 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'` ;;
11459 *) ac_cv_lib_soname_hal
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11460 if ${ac_cv_lib_soname_hal:+false} :; then :
11461 ac_cv_lib_soname_hal
=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11465 rm -f core conftest.err conftest.
$ac_objext \
11466 conftest
$ac_exeext conftest.
$ac_ext
11467 LIBS
=$ac_check_soname_save_LIBS
11469 if ${ac_cv_lib_soname_hal:+false} :; then :
11470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11471 $as_echo "not found" >&6; }
11474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
11475 $as_echo "$ac_cv_lib_soname_hal" >&6; }
11477 cat >>confdefs.h
<<_ACEOF
11478 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11488 CPPFLAGS
=$ac_save_CPPFLAGS
11489 test -z "$HAL_CFLAGS" || HAL_CFLAGS
=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11490 test -z "$HAL_LIBS" || HAL_LIBS
=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11492 if test "x$ac_cv_lib_soname_hal" = "x" -a \
11493 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11494 case "x$with_hal" in
11495 x
) as_fn_append wine_notices
"|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
11497 *) as_fn_error $?
"libhal ${notice_platform}development files not found, no legacy dynamic device support.
11498 This is an error since --with-hal was requested." "$LINENO" 5 ;;
11503 if test "x$with_gnutls" != "xno"
11505 if ${GNUTLS_CFLAGS:+false} :; then :
11506 if ${PKG_CONFIG+:} false
; then :
11507 GNUTLS_CFLAGS
=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
11511 if ${GNUTLS_LIBS:+false} :; then :
11512 if ${PKG_CONFIG+:} false
; then :
11513 GNUTLS_LIBS
=`$PKG_CONFIG --libs gnutls 2>/dev/null`
11518 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
11519 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
11520 ac_save_CPPFLAGS
=$CPPFLAGS
11521 CPPFLAGS
="$CPPFLAGS $GNUTLS_CFLAGS"
11522 ac_fn_c_check_header_mongrel
"$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
11523 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes
; then :
11524 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11525 /* end confdefs.h. */
11526 #include <gnutls/gnutls.h>
11527 #include <gnutls/crypto.h>
11531 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
11536 if ac_fn_c_try_compile
"$LINENO"; then :
11537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
11538 $as_echo_n "checking for -lgnutls... " >&6; }
11539 if ${ac_cv_lib_soname_gnutls+:} false
; then :
11540 $as_echo_n "(cached) " >&6
11542 ac_check_soname_save_LIBS
=$LIBS
11543 LIBS
="-lgnutls $GNUTLS_LIBS $LIBS"
11544 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11545 /* end confdefs.h. */
11547 /* Override any GCC internal prototype to avoid an error.
11548 Use char because int might match the return type of a GCC
11549 builtin and then its argument prototype would still apply. */
11553 char gnutls_global_init ();
11557 return gnutls_global_init ();
11562 if ac_fn_c_try_link
"$LINENO"; then :
11564 dll
) ac_cv_lib_soname_gnutls
=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11565 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'` ;;
11566 *) 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'`
11567 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11568 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'`
11572 rm -f core conftest.err conftest.
$ac_objext \
11573 conftest
$ac_exeext conftest.
$ac_ext
11574 LIBS
=$ac_check_soname_save_LIBS
11576 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11578 $as_echo "not found" >&6; }
11581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
11582 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
11584 cat >>confdefs.h
<<_ACEOF
11585 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
11591 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11597 CPPFLAGS
=$ac_save_CPPFLAGS
11598 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS
=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11599 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS
=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11602 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
11603 case "x$with_gnutls" in
11604 x
) as_fn_append wine_warnings
"|libgnutls ${notice_platform}development files not found, no schannel support." ;;
11606 *) as_fn_error $?
"libgnutls ${notice_platform}development files not found, no schannel support.
11607 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
11612 if test "$ac_cv_header_ncurses_h" = "yes"
11614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
11615 $as_echo_n "checking for -lncurses... " >&6; }
11616 if ${ac_cv_lib_soname_ncurses+:} false
; then :
11617 $as_echo_n "(cached) " >&6
11619 ac_check_soname_save_LIBS
=$LIBS
11620 LIBS
="-lncurses $LIBS"
11621 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11622 /* end confdefs.h. */
11624 /* Override any GCC internal prototype to avoid an error.
11625 Use char because int might match the return type of a GCC
11626 builtin and then its argument prototype would still apply. */
11639 if ac_fn_c_try_link
"$LINENO"; then :
11641 dll
) ac_cv_lib_soname_ncurses
=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11642 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'` ;;
11643 *) 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'`
11644 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11645 ac_cv_lib_soname_ncurses
=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11649 rm -f core conftest.err conftest.
$ac_objext \
11650 conftest
$ac_exeext conftest.
$ac_ext
11651 LIBS
=$ac_check_soname_save_LIBS
11653 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11655 $as_echo "not found" >&6; }
11658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
11659 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
11661 cat >>confdefs.h
<<_ACEOF
11662 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
11665 CURSES_LIBS
="-lncurses"
11667 elif test "$ac_cv_header_curses_h" = "yes"
11669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
11670 $as_echo_n "checking for -lcurses... " >&6; }
11671 if ${ac_cv_lib_soname_curses+:} false
; then :
11672 $as_echo_n "(cached) " >&6
11674 ac_check_soname_save_LIBS
=$LIBS
11675 LIBS
="-lcurses $LIBS"
11676 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11677 /* end confdefs.h. */
11679 /* Override any GCC internal prototype to avoid an error.
11680 Use char because int might match the return type of a GCC
11681 builtin and then its argument prototype would still apply. */
11694 if ac_fn_c_try_link
"$LINENO"; then :
11696 dll
) ac_cv_lib_soname_curses
=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11697 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'` ;;
11698 *) ac_cv_lib_soname_curses
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11699 if ${ac_cv_lib_soname_curses:+false} :; then :
11700 ac_cv_lib_soname_curses
=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11704 rm -f core conftest.err conftest.
$ac_objext \
11705 conftest
$ac_exeext conftest.
$ac_ext
11706 LIBS
=$ac_check_soname_save_LIBS
11708 if ${ac_cv_lib_soname_curses:+false} :; then :
11709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11710 $as_echo "not found" >&6; }
11713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
11714 $as_echo "$ac_cv_lib_soname_curses" >&6; }
11716 cat >>confdefs.h
<<_ACEOF
11717 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
11720 CURSES_LIBS
="-lcurses"
11723 ac_save_LIBS
="$LIBS"
11724 LIBS
="$LIBS $CURSES_LIBS"
11725 for ac_func
in mousemask
11727 ac_fn_c_check_func
"$LINENO" "mousemask" "ac_cv_func_mousemask"
11728 if test "x$ac_cv_func_mousemask" = xyes
; then :
11729 cat >>confdefs.h
<<_ACEOF
11730 #define HAVE_MOUSEMASK 1
11736 LIBS
="$ac_save_LIBS"
11737 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
11738 case "x$with_curses" in
11739 x
) as_fn_append wine_notices
"|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
11741 *) as_fn_error $?
"lib(n)curses ${notice_platform}development files not found, curses won't be supported.
11742 This is an error since --with-curses was requested." "$LINENO" 5 ;;
11746 if test "x$with_sane" != "xno"
11748 if ${SANE_CFLAGS:+false} :; then :
11749 if ${PKG_CONFIG+:} false
; then :
11750 SANE_CFLAGS
=`$PKG_CONFIG --cflags libsane 2>/dev/null`
11753 test "$cross_compiling" = yes || SANE_CFLAGS
=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
11754 if ${SANE_LIBS:+false} :; then :
11755 if ${PKG_CONFIG+:} false
; then :
11756 SANE_LIBS
=`$PKG_CONFIG --libs libsane 2>/dev/null`
11759 test "$cross_compiling" = yes || SANE_LIBS
=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
11761 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
11762 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
11763 ac_save_CPPFLAGS
=$CPPFLAGS
11764 CPPFLAGS
="$CPPFLAGS $SANE_CFLAGS"
11765 ac_fn_c_check_header_mongrel
"$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
11766 if test "x$ac_cv_header_sane_sane_h" = xyes
; then :
11767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
11768 $as_echo_n "checking for -lsane... " >&6; }
11769 if ${ac_cv_lib_soname_sane+:} false
; then :
11770 $as_echo_n "(cached) " >&6
11772 ac_check_soname_save_LIBS
=$LIBS
11773 LIBS
="-lsane $SANE_LIBS $LIBS"
11774 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11775 /* end confdefs.h. */
11777 /* Override any GCC internal prototype to avoid an error.
11778 Use char because int might match the return type of a GCC
11779 builtin and then its argument prototype would still apply. */
11787 return sane_init ();
11792 if ac_fn_c_try_link
"$LINENO"; then :
11794 dll
) ac_cv_lib_soname_sane
=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11795 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'` ;;
11796 *) ac_cv_lib_soname_sane
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11797 if ${ac_cv_lib_soname_sane:+false} :; then :
11798 ac_cv_lib_soname_sane
=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11802 rm -f core conftest.err conftest.
$ac_objext \
11803 conftest
$ac_exeext conftest.
$ac_ext
11804 LIBS
=$ac_check_soname_save_LIBS
11806 if ${ac_cv_lib_soname_sane:+false} :; then :
11807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11808 $as_echo "not found" >&6; }
11811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
11812 $as_echo "$ac_cv_lib_soname_sane" >&6; }
11814 cat >>confdefs.h
<<_ACEOF
11815 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
11825 CPPFLAGS
=$ac_save_CPPFLAGS
11826 test -z "$SANE_CFLAGS" || SANE_CFLAGS
=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11827 test -z "$SANE_LIBS" || SANE_LIBS
=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11830 if test "x$ac_cv_lib_soname_sane" = "x"; then :
11831 case "x$with_sane" in
11832 x
) as_fn_append wine_notices
"|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
11834 *) as_fn_error $?
"libsane ${notice_platform}development files not found, scanners won't be supported.
11835 This is an error since --with-sane was requested." "$LINENO" 5 ;;
11839 if test "x$with_v4l" != "xno"
11841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
11842 $as_echo_n "checking for -lv4l1... " >&6; }
11843 if ${ac_cv_lib_soname_v4l1+:} false
; then :
11844 $as_echo_n "(cached) " >&6
11846 ac_check_soname_save_LIBS
=$LIBS
11847 LIBS
="-lv4l1 $LIBS"
11848 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11849 /* end confdefs.h. */
11851 /* Override any GCC internal prototype to avoid an error.
11852 Use char because int might match the return type of a GCC
11853 builtin and then its argument prototype would still apply. */
11861 return v4l1_open ();
11866 if ac_fn_c_try_link
"$LINENO"; then :
11868 dll
) ac_cv_lib_soname_v4l1
=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11869 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'` ;;
11870 *) ac_cv_lib_soname_v4l1
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11871 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11872 ac_cv_lib_soname_v4l1
=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11876 rm -f core conftest.err conftest.
$ac_objext \
11877 conftest
$ac_exeext conftest.
$ac_ext
11878 LIBS
=$ac_check_soname_save_LIBS
11880 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11882 $as_echo "not found" >&6; }
11885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
11886 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
11888 cat >>confdefs.h
<<_ACEOF
11889 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
11895 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
11896 case "x$with_v4l" in
11897 x
) as_fn_append wine_notices
"|libv4l ${notice_platform}development files not found." ;;
11899 *) as_fn_error $?
"libv4l ${notice_platform}development files not found.
11900 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
11904 if test "x$with_gphoto" != "xno"
11906 if ${GPHOTO2_CFLAGS:+false} :; then :
11907 if ${PKG_CONFIG+:} false
; then :
11908 GPHOTO2_CFLAGS
=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
11911 test "$cross_compiling" = yes || GPHOTO2_CFLAGS
=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
11912 if ${GPHOTO2_LIBS:+false} :; then :
11913 if ${PKG_CONFIG+:} false
; then :
11914 GPHOTO2_LIBS
=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
11917 test "$cross_compiling" = yes || GPHOTO2_LIBS
=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
11918 GPHOTO2_LIBS
=${GPHOTO2_LIBS:-"-lgphoto2"}
11919 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
11920 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
11921 ac_save_CPPFLAGS
=$CPPFLAGS
11922 CPPFLAGS
="$CPPFLAGS $GPHOTO2_CFLAGS"
11923 ac_fn_c_check_header_mongrel
"$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
11924 if test "x$ac_cv_header_gphoto2_camera_h" = xyes
; then :
11925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
11926 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
11927 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false
; then :
11928 $as_echo_n "(cached) " >&6
11930 ac_check_lib_save_LIBS
=$LIBS
11931 LIBS
="-lgphoto2 $GPHOTO2_LIBS $LIBS"
11932 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11933 /* end confdefs.h. */
11935 /* Override any GCC internal prototype to avoid an error.
11936 Use char because int might match the return type of a GCC
11937 builtin and then its argument prototype would still apply. */
11941 char gp_camera_new ();
11945 return gp_camera_new ();
11950 if ac_fn_c_try_link
"$LINENO"; then :
11951 ac_cv_lib_gphoto2_gp_camera_new
=yes
11953 ac_cv_lib_gphoto2_gp_camera_new
=no
11955 rm -f core conftest.err conftest.
$ac_objext \
11956 conftest
$ac_exeext conftest.
$ac_ext
11957 LIBS
=$ac_check_lib_save_LIBS
11959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
11960 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
11961 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes
; then :
11963 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
11966 GPHOTO2_LIBS
=""; GPHOTO2_CFLAGS
=""
11970 GPHOTO2_LIBS
=""; GPHOTO2_CFLAGS
=""
11974 CPPFLAGS
=$ac_save_CPPFLAGS
11975 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS
=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11976 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS
=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11978 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
11979 if ${PKG_CONFIG+:} false
; then :
11980 GPHOTO2_PORT_CFLAGS
=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
11983 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS
=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
11984 if ${GPHOTO2_PORT_LIBS:+false} :; then :
11985 if ${PKG_CONFIG+:} false
; then :
11986 GPHOTO2_PORT_LIBS
=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
11989 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS
=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
11990 GPHOTO2_PORT_LIBS
=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
11991 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
11992 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
11993 ac_save_CPPFLAGS
=$CPPFLAGS
11994 CPPFLAGS
="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
11995 ac_fn_c_check_header_mongrel
"$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
11996 if test "x$ac_cv_header_gphoto2_port_h" = xyes
; then :
11997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
11998 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
11999 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false
; then :
12000 $as_echo_n "(cached) " >&6
12002 ac_check_lib_save_LIBS
=$LIBS
12003 LIBS
="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
12004 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12005 /* end confdefs.h. */
12007 /* Override any GCC internal prototype to avoid an error.
12008 Use char because int might match the return type of a GCC
12009 builtin and then its argument prototype would still apply. */
12013 char gp_port_info_list_new ();
12017 return gp_port_info_list_new ();
12022 if ac_fn_c_try_link
"$LINENO"; then :
12023 ac_cv_lib_gphoto2_port_gp_port_info_list_new
=yes
12025 ac_cv_lib_gphoto2_port_gp_port_info_list_new
=no
12027 rm -f core conftest.err conftest.
$ac_objext \
12028 conftest
$ac_exeext conftest.
$ac_ext
12029 LIBS
=$ac_check_lib_save_LIBS
12031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
12032 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
12033 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes
; then :
12035 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
12038 GPHOTO2_PORT_LIBS
=""; GPHOTO2_PORT_CFLAGS
=""
12042 GPHOTO2_PORT_LIBS
=""; GPHOTO2_PORT_CFLAGS
=""
12046 CPPFLAGS
=$ac_save_CPPFLAGS
12047 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS
=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12048 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS
=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12051 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
12052 case "x$with_gphoto" in
12053 x
) as_fn_append wine_notices
"|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
12055 *) as_fn_error $?
"libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
12056 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12059 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
12060 case "x$with_gphoto" in
12061 x
) as_fn_append wine_notices
"|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
12063 *) as_fn_error $?
"libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
12064 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12069 if test "$ac_cv_header_resolv_h" = "yes"
12071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
12072 $as_echo_n "checking for resolver library... " >&6; }
12073 if ${ac_cv_have_resolv+:} false
; then :
12074 $as_echo_n "(cached) " >&6
12076 ac_save_LIBS
="$LIBS"
12077 for lib
in '' -lresolv
12079 LIBS
="$lib $ac_save_LIBS"
12080 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12081 /* end confdefs.h. */
12082 #ifdef HAVE_NETINET_IN_H
12083 #include <netinet/in.h>
12085 #include <resolv.h>
12089 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
12094 if ac_fn_c_try_link
"$LINENO"; then :
12095 ac_cv_have_resolv
=${lib:-"none required"}
12097 ac_cv_have_resolv
="not found"
12099 rm -f core conftest.err conftest.
$ac_objext \
12100 conftest
$ac_exeext conftest.
$ac_ext
12101 test "x$ac_cv_have_resolv" = "xnot found" ||
break
12103 LIBS
="$ac_save_LIBS"
12105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
12106 $as_echo "$ac_cv_have_resolv" >&6; }
12108 case "$ac_cv_have_resolv" in
12112 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12115 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12117 RESOLV_LIBS
=$ac_cv_have_resolv
12122 if test "x$with_cms" != "xno"
12124 if ${LCMS2_CFLAGS:+false} :; then :
12125 if ${PKG_CONFIG+:} false
; then :
12126 LCMS2_CFLAGS
=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
12130 if ${LCMS2_LIBS:+false} :; then :
12131 if ${PKG_CONFIG+:} false
; then :
12132 LCMS2_LIBS
=`$PKG_CONFIG --libs lcms2 2>/dev/null`
12136 LCMS2_LIBS
=${LCMS2_LIBS:-"-llcms2"}
12137 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
12138 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
12139 ac_save_CPPFLAGS
=$CPPFLAGS
12140 CPPFLAGS
="$CPPFLAGS $LCMS2_CFLAGS"
12141 for ac_header
in lcms2.h
12143 ac_fn_c_check_header_mongrel
"$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
12144 if test "x$ac_cv_header_lcms2_h" = xyes
; then :
12145 cat >>confdefs.h
<<_ACEOF
12146 #define HAVE_LCMS2_H 1
12153 if test "$ac_cv_header_lcms2_h" = "yes"
12155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
12156 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
12157 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false
; then :
12158 $as_echo_n "(cached) " >&6
12160 ac_check_lib_save_LIBS
=$LIBS
12161 LIBS
="-llcms2 $LCMS2_LIBS $LIBS"
12162 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12163 /* end confdefs.h. */
12165 /* Override any GCC internal prototype to avoid an error.
12166 Use char because int might match the return type of a GCC
12167 builtin and then its argument prototype would still apply. */
12171 char cmsOpenProfileFromFile ();
12175 return cmsOpenProfileFromFile ();
12180 if ac_fn_c_try_link
"$LINENO"; then :
12181 ac_cv_lib_lcms2_cmsOpenProfileFromFile
=yes
12183 ac_cv_lib_lcms2_cmsOpenProfileFromFile
=no
12185 rm -f core conftest.err conftest.
$ac_objext \
12186 conftest
$ac_exeext conftest.
$ac_ext
12187 LIBS
=$ac_check_lib_save_LIBS
12189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
12190 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
12191 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes
; then :
12193 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
12203 CPPFLAGS
=$ac_save_CPPFLAGS
12204 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS
=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12205 test -z "$LCMS2_LIBS" || LCMS2_LIBS
=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12208 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
12209 case "x$with_cms" in
12210 x
) as_fn_append wine_notices
"|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
12212 *) as_fn_error $?
"liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
12213 This is an error since --with-cms was requested." "$LINENO" 5 ;;
12217 if test "x$with_freetype" != "xno"
12219 if ${FREETYPE_CFLAGS:+false} :; then :
12220 if ${PKG_CONFIG+:} false
; then :
12221 FREETYPE_CFLAGS
=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
12224 test "$cross_compiling" = yes || FREETYPE_CFLAGS
=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
12225 if ${FREETYPE_LIBS:+false} :; then :
12226 if ${PKG_CONFIG+:} false
; then :
12227 FREETYPE_LIBS
=`$PKG_CONFIG --libs freetype2 2>/dev/null`
12230 test "$cross_compiling" = yes || FREETYPE_LIBS
=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
12231 FREETYPE_LIBS
=${FREETYPE_LIBS:-"-lfreetype"}
12232 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
12233 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
12234 ac_save_CPPFLAGS
=$CPPFLAGS
12235 CPPFLAGS
="$CPPFLAGS $FREETYPE_CFLAGS"
12236 for ac_header
in ft2build.h
12238 ac_fn_c_check_header_mongrel
"$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
12239 if test "x$ac_cv_header_ft2build_h" = xyes
; then :
12240 cat >>confdefs.h
<<_ACEOF
12241 #define HAVE_FT2BUILD_H 1
12248 if test "$ac_cv_header_ft2build_h" = "yes"
12250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
12251 $as_echo_n "checking for -lfreetype... " >&6; }
12252 if ${ac_cv_lib_soname_freetype+:} false
; then :
12253 $as_echo_n "(cached) " >&6
12255 ac_check_soname_save_LIBS
=$LIBS
12256 LIBS
="-lfreetype $FREETYPE_LIBS $LIBS"
12257 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12258 /* end confdefs.h. */
12260 /* Override any GCC internal prototype to avoid an error.
12261 Use char because int might match the return type of a GCC
12262 builtin and then its argument prototype would still apply. */
12266 char FT_Init_FreeType ();
12270 return FT_Init_FreeType ();
12275 if ac_fn_c_try_link
"$LINENO"; then :
12277 dll
) ac_cv_lib_soname_freetype
=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12278 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'` ;;
12279 *) ac_cv_lib_soname_freetype
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12280 if ${ac_cv_lib_soname_freetype:+false} :; then :
12281 ac_cv_lib_soname_freetype
=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12285 rm -f core conftest.err conftest.
$ac_objext \
12286 conftest
$ac_exeext conftest.
$ac_ext
12287 LIBS
=$ac_check_soname_save_LIBS
12289 if ${ac_cv_lib_soname_freetype:+false} :; then :
12290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12291 $as_echo "not found" >&6; }
12294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
12295 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
12297 cat >>confdefs.h
<<_ACEOF
12298 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
12302 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
12304 ac_fn_c_check_type
"$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
12305 #include FT_MODULE_H
12307 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes
; then :
12309 cat >>confdefs.h
<<_ACEOF
12310 #define HAVE_FT_TRUETYPEENGINETYPE 1
12321 CPPFLAGS
=$ac_save_CPPFLAGS
12322 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS
=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12323 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS
=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12326 if test "x$ac_cv_lib_soname_freetype" = x
; then :
12327 case "x$with_freetype" in
12329 *) as_fn_error $?
"FreeType ${notice_platform}development files not found. Fonts will not be built.
12330 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
12333 test "x$ac_cv_lib_soname_freetype" = x
&& enable_fonts
=${enable_fonts:-no}
12335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
12336 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
12337 if ${ac_cv_c_ppdev+:} false
; then :
12338 $as_echo_n "(cached) " >&6
12340 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12341 /* end confdefs.h. */
12342 #ifdef HAVE_SYS_IOCTL_H
12343 # include <sys/ioctl.h>
12345 #include <linux/ppdev.h>
12349 ioctl (1,PPCLAIM,0)
12354 if ac_fn_c_try_compile
"$LINENO"; then :
12355 ac_cv_c_ppdev
="yes"
12359 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
12362 $as_echo "$ac_cv_c_ppdev" >&6; }
12363 if test "$ac_cv_c_ppdev" = "yes"
12366 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
12370 ac_wine_check_funcs_save_LIBS
="$LIBS"
12371 LIBS
="$LIBS $PTHREAD_LIBS"
12373 pthread_attr_get_np \
12374 pthread_getattr_np \
12375 pthread_getthreadid_np \
12376 pthread_get_stackaddr_np \
12377 pthread_get_stacksize_np
12379 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12380 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
12381 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
12382 cat >>confdefs.h
<<_ACEOF
12383 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12389 LIBS
="$ac_wine_check_funcs_save_LIBS"
12391 if test "$ac_cv_header_zlib_h" = "yes"
12393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
12394 $as_echo_n "checking for inflate in -lz... " >&6; }
12395 if ${ac_cv_lib_z_inflate+:} false
; then :
12396 $as_echo_n "(cached) " >&6
12398 ac_check_lib_save_LIBS
=$LIBS
12400 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12401 /* end confdefs.h. */
12403 /* Override any GCC internal prototype to avoid an error.
12404 Use char because int might match the return type of a GCC
12405 builtin and then its argument prototype would still apply. */
12418 if ac_fn_c_try_link
"$LINENO"; then :
12419 ac_cv_lib_z_inflate
=yes
12421 ac_cv_lib_z_inflate
=no
12423 rm -f core conftest.err conftest.
$ac_objext \
12424 conftest
$ac_exeext conftest.
$ac_ext
12425 LIBS
=$ac_check_lib_save_LIBS
12427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
12428 $as_echo "$ac_cv_lib_z_inflate" >&6; }
12429 if test "x$ac_cv_lib_z_inflate" = xyes
; then :
12431 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
12438 if test "x$Z_LIBS" = "x"; then :
12439 case "x$with_zlib" in
12440 x
) as_fn_append wine_notices
"|libz ${notice_platform}development files not found, data compression won't be supported." ;;
12442 *) as_fn_error $?
"libz ${notice_platform}development files not found, data compression won't be supported.
12443 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
12447 if test "x$enable_tools" != xno
12449 if test "$ac_cv_header_gettext_po_h" = "yes"
12451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
12452 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
12453 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false
; then :
12454 $as_echo_n "(cached) " >&6
12456 ac_check_lib_save_LIBS
=$LIBS
12457 LIBS
="-lgettextpo $LIBS"
12458 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12459 /* end confdefs.h. */
12461 /* Override any GCC internal prototype to avoid an error.
12462 Use char because int might match the return type of a GCC
12463 builtin and then its argument prototype would still apply. */
12467 char po_message_msgctxt ();
12471 return po_message_msgctxt ();
12476 if ac_fn_c_try_link
"$LINENO"; then :
12477 ac_cv_lib_gettextpo_po_message_msgctxt
=yes
12479 ac_cv_lib_gettextpo_po_message_msgctxt
=no
12481 rm -f core conftest.err conftest.
$ac_objext \
12482 conftest
$ac_exeext conftest.
$ac_ext
12483 LIBS
=$ac_check_lib_save_LIBS
12485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
12486 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
12487 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes
; then :
12489 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
12491 GETTEXTPO_LIBS
="-lgettextpo"
12496 test "x$with_gettextpo" != xyes ||
if test "x$GETTEXTPO_LIBS" = "x"; then :
12497 case "x$with_gettextpo" in
12498 x
) as_fn_append wine_notices
"|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
12500 *) as_fn_error $?
"GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
12501 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12506 if test "x$with_pulse" != "xno";
12508 if ${PULSE_CFLAGS:+false} :; then :
12509 if ${PKG_CONFIG+:} false
; then :
12510 PULSE_CFLAGS
=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
12514 if ${PULSE_LIBS:+false} :; then :
12515 if ${PKG_CONFIG+:} false
; then :
12516 PULSE_LIBS
=`$PKG_CONFIG --libs libpulse 2>/dev/null`
12521 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
12522 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
12523 ac_save_CPPFLAGS
=$CPPFLAGS
12524 CPPFLAGS
="$CPPFLAGS $PULSE_CFLAGS"
12525 for ac_header
in pulse
/pulseaudio.h
12527 ac_fn_c_check_header_mongrel
"$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
12528 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes
; then :
12529 cat >>confdefs.h
<<_ACEOF
12530 #define HAVE_PULSE_PULSEAUDIO_H 1
12532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
12533 $as_echo_n "checking for pa_stream_is_corked in -lpulse... " >&6; }
12534 if ${ac_cv_lib_pulse_pa_stream_is_corked+:} false
; then :
12535 $as_echo_n "(cached) " >&6
12537 ac_check_lib_save_LIBS
=$LIBS
12538 LIBS
="-lpulse $PULSE_LIBS $LIBS"
12539 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12540 /* end confdefs.h. */
12542 /* Override any GCC internal prototype to avoid an error.
12543 Use char because int might match the return type of a GCC
12544 builtin and then its argument prototype would still apply. */
12548 char pa_stream_is_corked ();
12552 return pa_stream_is_corked ();
12557 if ac_fn_c_try_link
"$LINENO"; then :
12558 ac_cv_lib_pulse_pa_stream_is_corked
=yes
12560 ac_cv_lib_pulse_pa_stream_is_corked
=no
12562 rm -f core conftest.err conftest.
$ac_objext \
12563 conftest
$ac_exeext conftest.
$ac_ext
12564 LIBS
=$ac_check_lib_save_LIBS
12566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
12567 $as_echo "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
12568 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes
; then :
12580 CPPFLAGS
=$ac_save_CPPFLAGS
12581 test -z "$PULSE_CFLAGS" || PULSE_CFLAGS
=`echo " $PULSE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12582 test -z "$PULSE_LIBS" || PULSE_LIBS
=`echo " $PULSE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12585 if test -z "$PULSE_LIBS"; then :
12586 case "x$with_pulse" in
12587 x
) as_fn_append wine_notices
"|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
12589 *) as_fn_error $?
"libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
12590 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
12593 test -n "$PULSE_LIBS" || enable_winepulse_drv
=${enable_winepulse_drv:-no}
12595 if test "x$with_gstreamer" != "xno"
12597 if ${GSTREAMER_CFLAGS:+false} :; then :
12598 if ${PKG_CONFIG+:} false
; then :
12599 GSTREAMER_CFLAGS
=`$PKG_CONFIG --cflags gstreamer-app-0.10 2>/dev/null`
12603 if ${GSTREAMER_LIBS:+false} :; then :
12604 if ${PKG_CONFIG+:} false
; then :
12605 GSTREAMER_LIBS
=`$PKG_CONFIG --libs gstreamer-app-0.10 2>/dev/null`
12610 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-app-0.10 cflags: $GSTREAMER_CFLAGS" >&5
12611 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-app-0.10 libs: $GSTREAMER_LIBS" >&5
12612 ac_save_CPPFLAGS
=$CPPFLAGS
12613 CPPFLAGS
="$CPPFLAGS $GSTREAMER_CFLAGS"
12615 for i
in $GSTREAMER_CFLAGS
12618 -I*) ac_gst_incl
="$ac_gst_incl $i";;
12621 GSTREAMER_CFLAGS
=$ac_gst_incl
12622 CPPFLAGS
="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
12623 ac_fn_c_check_header_mongrel
"$LINENO" "gst/gstpad.h" "ac_cv_header_gst_gstpad_h" "$ac_includes_default"
12624 if test "x$ac_cv_header_gst_gstpad_h" = xyes
; then :
12625 ac_fn_c_check_header_mongrel
"$LINENO" "gst/app/gstappsink.h" "ac_cv_header_gst_app_gstappsink_h" "$ac_includes_default"
12626 if test "x$ac_cv_header_gst_app_gstappsink_h" = xyes
; then :
12627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit" >&5
12628 $as_echo_n "checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit... " >&6; }
12629 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12630 /* end confdefs.h. */
12631 #include <gst/app/gstappsink.h>
12635 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
12640 if ac_fn_c_try_compile
"$LINENO"; then :
12641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12642 $as_echo "yes" >&6; }
12643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_get_caps_reffed in -lgstreamer-0.10" >&5
12644 $as_echo_n "checking for gst_pad_get_caps_reffed in -lgstreamer-0.10... " >&6; }
12645 if ${ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed+:} false
; then :
12646 $as_echo_n "(cached) " >&6
12648 ac_check_lib_save_LIBS
=$LIBS
12649 LIBS
="-lgstreamer-0.10 $LIBS"
12650 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12651 /* end confdefs.h. */
12653 /* Override any GCC internal prototype to avoid an error.
12654 Use char because int might match the return type of a GCC
12655 builtin and then its argument prototype would still apply. */
12659 char gst_pad_get_caps_reffed ();
12663 return gst_pad_get_caps_reffed ();
12668 if ac_fn_c_try_link
"$LINENO"; then :
12669 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed
=yes
12671 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed
=no
12673 rm -f core conftest.err conftest.
$ac_objext \
12674 conftest
$ac_exeext conftest.
$ac_ext
12675 LIBS
=$ac_check_lib_save_LIBS
12677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&5
12678 $as_echo "$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&6; }
12679 if test "x$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" = xyes
; then :
12680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_app_buffer_new in -lgstapp-0.10" >&5
12681 $as_echo_n "checking for gst_app_buffer_new in -lgstapp-0.10... " >&6; }
12682 if ${ac_cv_lib_gstapp_0_10_gst_app_buffer_new+:} false
; then :
12683 $as_echo_n "(cached) " >&6
12685 ac_check_lib_save_LIBS
=$LIBS
12686 LIBS
="-lgstapp-0.10 $GSTREAMER_LIBS $LIBS"
12687 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12688 /* end confdefs.h. */
12690 /* Override any GCC internal prototype to avoid an error.
12691 Use char because int might match the return type of a GCC
12692 builtin and then its argument prototype would still apply. */
12696 char gst_app_buffer_new ();
12700 return gst_app_buffer_new ();
12705 if ac_fn_c_try_link
"$LINENO"; then :
12706 ac_cv_lib_gstapp_0_10_gst_app_buffer_new
=yes
12708 ac_cv_lib_gstapp_0_10_gst_app_buffer_new
=no
12710 rm -f core conftest.err conftest.
$ac_objext \
12711 conftest
$ac_exeext conftest.
$ac_ext
12712 LIBS
=$ac_check_lib_save_LIBS
12714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&5
12715 $as_echo "$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&6; }
12716 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes
; then :
12723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12724 $as_echo "no" >&6; }
12726 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12731 GSTREAMER_CFLAGS
=""
12735 CPPFLAGS
=$ac_save_CPPFLAGS
12736 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS
=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12737 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS
=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12740 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" != xyes
-a "x$ac_cv_header_QuickTime_ImageCompression_h" != xyes
; then :
12741 case "x$with_gstreamer" in
12742 x
) as_fn_append wine_notices
"|gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled" ;;
12744 *) as_fn_error $?
"gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled
12745 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
12748 test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes || enable_winegstreamer
=${enable_winegstreamer:-no}
12752 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
12754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
12755 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
12756 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false
; then :
12757 $as_echo_n "(cached) " >&6
12759 ac_check_lib_save_LIBS
=$LIBS
12760 LIBS
="-lasound $LIBS"
12761 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12762 /* end confdefs.h. */
12764 /* Override any GCC internal prototype to avoid an error.
12765 Use char because int might match the return type of a GCC
12766 builtin and then its argument prototype would still apply. */
12770 char snd_pcm_hw_params_get_access_mask ();
12774 return snd_pcm_hw_params_get_access_mask ();
12779 if ac_fn_c_try_link
"$LINENO"; then :
12780 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask
=yes
12782 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask
=no
12784 rm -f core conftest.err conftest.
$ac_objext \
12785 conftest
$ac_exeext conftest.
$ac_ext
12786 LIBS
=$ac_check_lib_save_LIBS
12788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
12789 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
12790 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes
; then :
12791 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12792 /* end confdefs.h. */
12793 #ifdef HAVE_ALSA_ASOUNDLIB_H
12794 #include <alsa/asoundlib.h>
12795 #elif defined(HAVE_SYS_ASOUNDLIB_H)
12796 #include <sys/asoundlib.h>
12801 snd_pcm_hw_params_get_access_mask(NULL, NULL)
12806 if ac_fn_c_try_compile
"$LINENO"; then :
12807 ALSA_LIBS
="-lasound"
12809 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12813 test -n "$ALSA_LIBS" || enable_winealsa_drv
=${enable_winealsa_drv:-no}
12815 if test "x$with_oss" != xno
12817 ac_save_CPPFLAGS
="$CPPFLAGS"
12818 if test -f /etc
/oss.conf
12822 ac_oss_incl
="-I${OSSLIBDIR:-/usr/lib/oss}/include"
12823 CPPFLAGS
="$CPPFLAGS $ac_oss_incl"
12824 ac_fn_c_check_header_mongrel
"$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
12825 if test "x$ac_cv_header_sys_soundcard_h" = xyes
; then :
12826 ac_fn_c_check_member
"$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
12828 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes
; then :
12830 cat >>confdefs.h
<<_ACEOF
12831 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
12834 OSS4_CFLAGS
="$ac_oss_incl"
12841 CPPFLAGS
="$ac_save_CPPFLAGS"
12842 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
12844 as_fn_append wine_notices
"|OSS sound system found but too old (OSSv4 needed), OSS won't be supported."
12847 test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes || enable_wineoss_drv
=${enable_wineoss_drv:-no}
12849 if test "x$with_capi" != "xno"
12851 if ${CAPI20_CFLAGS:+false} :; then :
12852 if ${PKG_CONFIG+:} false
; then :
12853 CAPI20_CFLAGS
=`$PKG_CONFIG --cflags capi20 2>/dev/null`
12857 if ${CAPI20_LIBS:+false} :; then :
12858 if ${PKG_CONFIG+:} false
; then :
12859 CAPI20_LIBS
=`$PKG_CONFIG --libs capi20 2>/dev/null`
12864 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
12865 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
12866 ac_save_CPPFLAGS
=$CPPFLAGS
12867 CPPFLAGS
="$CPPFLAGS $CAPI20_CFLAGS"
12868 for ac_header
in capi20.h linux
/capi.h
12870 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12871 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#define __user
12873 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
12874 cat >>confdefs.h
<<_ACEOF
12875 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12882 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
12884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
12885 $as_echo_n "checking for -lcapi20... " >&6; }
12886 if ${ac_cv_lib_soname_capi20+:} false
; then :
12887 $as_echo_n "(cached) " >&6
12889 ac_check_soname_save_LIBS
=$LIBS
12890 LIBS
="-lcapi20 $CAPI20_LIBS $LIBS"
12891 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12892 /* end confdefs.h. */
12894 /* Override any GCC internal prototype to avoid an error.
12895 Use char because int might match the return type of a GCC
12896 builtin and then its argument prototype would still apply. */
12900 char capi20_register ();
12904 return capi20_register ();
12909 if ac_fn_c_try_link
"$LINENO"; then :
12911 dll
) ac_cv_lib_soname_capi20
=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12912 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'` ;;
12913 *) ac_cv_lib_soname_capi20
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12914 if ${ac_cv_lib_soname_capi20:+false} :; then :
12915 ac_cv_lib_soname_capi20
=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12919 rm -f core conftest.err conftest.
$ac_objext \
12920 conftest
$ac_exeext conftest.
$ac_ext
12921 LIBS
=$ac_check_soname_save_LIBS
12923 if ${ac_cv_lib_soname_capi20:+false} :; then :
12924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12925 $as_echo "not found" >&6; }
12928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
12929 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
12931 cat >>confdefs.h
<<_ACEOF
12932 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
12938 CPPFLAGS
=$ac_save_CPPFLAGS
12939 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS
=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12940 test -z "$CAPI20_LIBS" || CAPI20_LIBS
=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12943 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
12944 case "x$with_capi" in
12945 x
) as_fn_append wine_notices
"|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
12947 *) as_fn_error $?
"libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
12948 This is an error since --with-capi was requested." "$LINENO" 5 ;;
12954 if test "x$with_cups" != "xno"
12956 ac_save_CPPFLAGS
="$CPPFLAGS"
12957 ac_cups_cflags
=`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`
12958 ac_cups_libs
=`${CUPS_CONFIG:-cups-config} --ldflags 2>/dev/null`
12959 CPPFLAGS
="$CPPFLAGS $ac_cups_cflags"
12960 for ac_header
in cups
/cups.h
12962 ac_fn_c_check_header_mongrel
"$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
12963 if test "x$ac_cv_header_cups_cups_h" = xyes
; then :
12964 cat >>confdefs.h
<<_ACEOF
12965 #define HAVE_CUPS_CUPS_H 1
12967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
12968 $as_echo_n "checking for -lcups... " >&6; }
12969 if ${ac_cv_lib_soname_cups+:} false
; then :
12970 $as_echo_n "(cached) " >&6
12972 ac_check_soname_save_LIBS
=$LIBS
12973 LIBS
="-lcups $ac_cups_libs $LIBS"
12974 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12975 /* end confdefs.h. */
12977 /* Override any GCC internal prototype to avoid an error.
12978 Use char because int might match the return type of a GCC
12979 builtin and then its argument prototype would still apply. */
12983 char cupsGetDefault ();
12987 return cupsGetDefault ();
12992 if ac_fn_c_try_link
"$LINENO"; then :
12994 dll
) ac_cv_lib_soname_cups
=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12995 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'` ;;
12996 *) ac_cv_lib_soname_cups
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12997 if ${ac_cv_lib_soname_cups:+false} :; then :
12998 ac_cv_lib_soname_cups
=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13002 rm -f core conftest.err conftest.
$ac_objext \
13003 conftest
$ac_exeext conftest.
$ac_ext
13004 LIBS
=$ac_check_soname_save_LIBS
13006 if ${ac_cv_lib_soname_cups:+false} :; then :
13007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13008 $as_echo "not found" >&6; }
13011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
13012 $as_echo "$ac_cv_lib_soname_cups" >&6; }
13014 cat >>confdefs.h
<<_ACEOF
13015 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
13018 CUPS_CFLAGS
="$ac_cups_cflags"
13024 CPPFLAGS
="$ac_save_CPPFLAGS"
13026 if test "x$ac_cv_lib_soname_cups" = "x"; then :
13027 case "x$with_cups" in
13028 x
) as_fn_append wine_notices
"|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
13030 *) as_fn_error $?
"libcups ${notice_platform}development files not found, CUPS won't be supported.
13031 This is an error since --with-cups was requested." "$LINENO" 5 ;;
13035 if test "x$with_fontconfig" != "xno"
13037 if ${FONTCONFIG_CFLAGS:+false} :; then :
13038 if ${PKG_CONFIG+:} false
; then :
13039 FONTCONFIG_CFLAGS
=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
13042 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS
=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
13043 if ${FONTCONFIG_LIBS:+false} :; then :
13044 if ${PKG_CONFIG+:} false
; then :
13045 FONTCONFIG_LIBS
=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
13048 test "$cross_compiling" = yes || FONTCONFIG_LIBS
=${FONTCONFIG_LIBS:-$X_LIBS}
13050 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
13051 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
13052 ac_save_CPPFLAGS
=$CPPFLAGS
13053 CPPFLAGS
="$CPPFLAGS $FONTCONFIG_CFLAGS"
13054 for ac_header
in fontconfig
/fontconfig.h
13056 ac_fn_c_check_header_mongrel
"$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
13057 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes
; then :
13058 cat >>confdefs.h
<<_ACEOF
13059 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
13066 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
13068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
13069 $as_echo_n "checking for -lfontconfig... " >&6; }
13070 if ${ac_cv_lib_soname_fontconfig+:} false
; then :
13071 $as_echo_n "(cached) " >&6
13073 ac_check_soname_save_LIBS
=$LIBS
13074 LIBS
="-lfontconfig $FONTCONFIG_LIBS $LIBS"
13075 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13076 /* end confdefs.h. */
13078 /* Override any GCC internal prototype to avoid an error.
13079 Use char because int might match the return type of a GCC
13080 builtin and then its argument prototype would still apply. */
13093 if ac_fn_c_try_link
"$LINENO"; then :
13095 dll
) ac_cv_lib_soname_fontconfig
=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13096 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'` ;;
13097 *) ac_cv_lib_soname_fontconfig
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13098 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13099 ac_cv_lib_soname_fontconfig
=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13103 rm -f core conftest.err conftest.
$ac_objext \
13104 conftest
$ac_exeext conftest.
$ac_ext
13105 LIBS
=$ac_check_soname_save_LIBS
13107 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13109 $as_echo "not found" >&6; }
13110 FONTCONFIG_CFLAGS
=""
13112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
13113 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
13115 cat >>confdefs.h
<<_ACEOF
13116 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
13122 FONTCONFIG_CFLAGS
=""
13124 CPPFLAGS
=$ac_save_CPPFLAGS
13125 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS
=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13126 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS
=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13129 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
13130 case "x$with_fontconfig" in
13131 x
) as_fn_append wine_notices
"|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
13133 *) as_fn_error $?
"fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
13134 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
13138 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
13140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
13141 $as_echo_n "checking for -lgsm... " >&6; }
13142 if ${ac_cv_lib_soname_gsm+:} false
; then :
13143 $as_echo_n "(cached) " >&6
13145 ac_check_soname_save_LIBS
=$LIBS
13147 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13148 /* end confdefs.h. */
13150 /* Override any GCC internal prototype to avoid an error.
13151 Use char because int might match the return type of a GCC
13152 builtin and then its argument prototype would still apply. */
13156 char gsm_create ();
13160 return gsm_create ();
13165 if ac_fn_c_try_link
"$LINENO"; then :
13167 dll
) ac_cv_lib_soname_gsm
=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13168 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'` ;;
13169 *) ac_cv_lib_soname_gsm
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13170 if ${ac_cv_lib_soname_gsm:+false} :; then :
13171 ac_cv_lib_soname_gsm
=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13175 rm -f core conftest.err conftest.
$ac_objext \
13176 conftest
$ac_exeext conftest.
$ac_ext
13177 LIBS
=$ac_check_soname_save_LIBS
13179 if ${ac_cv_lib_soname_gsm:+false} :; then :
13180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13181 $as_echo "not found" >&6; }
13184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
13185 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
13187 cat >>confdefs.h
<<_ACEOF
13188 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
13194 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
13195 case "x$with_gsm" in
13196 x
) as_fn_append wine_notices
"|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
13198 *) as_fn_error $?
"libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
13199 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
13203 if test "x$with_jpeg" != "xno"
13205 if ${JPEG_CFLAGS:+false} :; then :
13206 if ${PKG_CONFIG+:} false
; then :
13207 JPEG_CFLAGS
=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
13211 if ${JPEG_LIBS:+false} :; then :
13212 if ${PKG_CONFIG+:} false
; then :
13213 JPEG_LIBS
=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
13218 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
13219 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
13220 ac_save_CPPFLAGS
=$CPPFLAGS
13221 CPPFLAGS
="$CPPFLAGS $JPEG_CFLAGS"
13222 for ac_header
in jpeglib.h
13224 ac_fn_c_check_header_mongrel
"$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
13225 if test "x$ac_cv_header_jpeglib_h" = xyes
; then :
13226 cat >>confdefs.h
<<_ACEOF
13227 #define HAVE_JPEGLIB_H 1
13234 if test "$ac_cv_header_jpeglib_h" = "yes"
13236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
13237 $as_echo_n "checking for -ljpeg... " >&6; }
13238 if ${ac_cv_lib_soname_jpeg+:} false
; then :
13239 $as_echo_n "(cached) " >&6
13241 ac_check_soname_save_LIBS
=$LIBS
13242 LIBS
="-ljpeg $JPEG_LIBS $LIBS"
13243 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13244 /* end confdefs.h. */
13246 /* Override any GCC internal prototype to avoid an error.
13247 Use char because int might match the return type of a GCC
13248 builtin and then its argument prototype would still apply. */
13252 char jpeg_start_decompress ();
13256 return jpeg_start_decompress ();
13261 if ac_fn_c_try_link
"$LINENO"; then :
13263 dll
) ac_cv_lib_soname_jpeg
=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13264 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'` ;;
13265 *) ac_cv_lib_soname_jpeg
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13266 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13267 ac_cv_lib_soname_jpeg
=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13271 rm -f core conftest.err conftest.
$ac_objext \
13272 conftest
$ac_exeext conftest.
$ac_ext
13273 LIBS
=$ac_check_soname_save_LIBS
13275 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13277 $as_echo "not found" >&6; }
13280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
13281 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
13283 cat >>confdefs.h
<<_ACEOF
13284 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
13292 CPPFLAGS
=$ac_save_CPPFLAGS
13293 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS
=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13294 test -z "$JPEG_LIBS" || JPEG_LIBS
=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13297 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
13298 case "x$with_jpeg" in
13299 x
) as_fn_append wine_warnings
"|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
13301 *) as_fn_error $?
"libjpeg ${notice_platform}development files not found, JPEG won't be supported.
13302 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
13306 if test "x$with_png" != "xno"
13308 if ${PNG_CFLAGS:+false} :; then :
13309 if ${PKG_CONFIG+:} false
; then :
13310 PNG_CFLAGS
=`$PKG_CONFIG --cflags libpng 2>/dev/null`
13313 test "$cross_compiling" = yes || PNG_CFLAGS
=${PNG_CFLAGS:-$X_CFLAGS}
13314 if ${PNG_LIBS:+false} :; then :
13315 if ${PKG_CONFIG+:} false
; then :
13316 PNG_LIBS
=`$PKG_CONFIG --libs libpng 2>/dev/null`
13319 test "$cross_compiling" = yes || PNG_LIBS
=${PNG_LIBS:-$X_LIBS}
13321 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
13322 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
13323 ac_save_CPPFLAGS
=$CPPFLAGS
13324 CPPFLAGS
="$CPPFLAGS $PNG_CFLAGS"
13325 for ac_header
in png.h
13327 ac_fn_c_check_header_mongrel
"$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
13328 if test "x$ac_cv_header_png_h" = xyes
; then :
13329 cat >>confdefs.h
<<_ACEOF
13330 #define HAVE_PNG_H 1
13337 if test "$ac_cv_header_png_h" = "yes"
13339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
13340 $as_echo_n "checking for -lpng... " >&6; }
13341 if ${ac_cv_lib_soname_png+:} false
; then :
13342 $as_echo_n "(cached) " >&6
13344 ac_check_soname_save_LIBS
=$LIBS
13345 LIBS
="-lpng $PNG_LIBS -lm -lz $LIBS"
13346 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13347 /* end confdefs.h. */
13349 /* Override any GCC internal prototype to avoid an error.
13350 Use char because int might match the return type of a GCC
13351 builtin and then its argument prototype would still apply. */
13355 char png_create_read_struct ();
13359 return png_create_read_struct ();
13364 if ac_fn_c_try_link
"$LINENO"; then :
13366 dll
) ac_cv_lib_soname_png
=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13367 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'` ;;
13368 *) 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'`
13369 if ${ac_cv_lib_soname_png:+false} :; then :
13370 ac_cv_lib_soname_png
=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13374 rm -f core conftest.err conftest.
$ac_objext \
13375 conftest
$ac_exeext conftest.
$ac_ext
13376 LIBS
=$ac_check_soname_save_LIBS
13378 if ${ac_cv_lib_soname_png:+false} :; then :
13379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13380 $as_echo "not found" >&6; }
13383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
13384 $as_echo "$ac_cv_lib_soname_png" >&6; }
13386 cat >>confdefs.h
<<_ACEOF
13387 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
13390 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13391 /* end confdefs.h. */
13396 typeof(png_set_expand_gray_1_2_4_to_8) *p
13401 if ac_fn_c_try_compile
"$LINENO"; then :
13403 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
13406 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13411 CPPFLAGS
=$ac_save_CPPFLAGS
13412 test -z "$PNG_CFLAGS" || PNG_CFLAGS
=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13413 test -z "$PNG_LIBS" || PNG_LIBS
=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13416 if test "x$ac_cv_lib_soname_png" = "x"; then :
13417 case "x$with_png" in
13418 x
) as_fn_append wine_warnings
"|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
13420 *) as_fn_error $?
"libpng ${notice_platform}development files not found, PNG won't be supported.
13421 This is an error since --with-png was requested." "$LINENO" 5 ;;
13425 if test "x$with_tiff" != "xno"
13427 if ${TIFF_CFLAGS:+false} :; then :
13428 if ${PKG_CONFIG+:} false
; then :
13429 TIFF_CFLAGS
=`$PKG_CONFIG --cflags libtiff-4 2>/dev/null`
13433 if ${TIFF_LIBS:+false} :; then :
13434 if ${PKG_CONFIG+:} false
; then :
13435 TIFF_LIBS
=`$PKG_CONFIG --libs libtiff-4 2>/dev/null`
13440 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 cflags: $TIFF_CFLAGS" >&5
13441 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 libs: $TIFF_LIBS" >&5
13442 ac_save_CPPFLAGS
=$CPPFLAGS
13443 CPPFLAGS
="$CPPFLAGS $TIFF_CFLAGS"
13444 for ac_header
in tiffio.h
13446 ac_fn_c_check_header_mongrel
"$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
13447 if test "x$ac_cv_header_tiffio_h" = xyes
; then :
13448 cat >>confdefs.h
<<_ACEOF
13449 #define HAVE_TIFFIO_H 1
13456 if test "$ac_cv_header_tiffio_h" = "yes"
13458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
13459 $as_echo_n "checking for -ltiff... " >&6; }
13460 if ${ac_cv_lib_soname_tiff+:} false
; then :
13461 $as_echo_n "(cached) " >&6
13463 ac_check_soname_save_LIBS
=$LIBS
13464 LIBS
="-ltiff $TIFF_LIBS $LIBS"
13465 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13466 /* end confdefs.h. */
13468 /* Override any GCC internal prototype to avoid an error.
13469 Use char because int might match the return type of a GCC
13470 builtin and then its argument prototype would still apply. */
13474 char TIFFClientOpen ();
13478 return TIFFClientOpen ();
13483 if ac_fn_c_try_link
"$LINENO"; then :
13485 dll
) ac_cv_lib_soname_tiff
=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13486 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'` ;;
13487 *) ac_cv_lib_soname_tiff
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13488 if ${ac_cv_lib_soname_tiff:+false} :; then :
13489 ac_cv_lib_soname_tiff
=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13493 rm -f core conftest.err conftest.
$ac_objext \
13494 conftest
$ac_exeext conftest.
$ac_ext
13495 LIBS
=$ac_check_soname_save_LIBS
13497 if ${ac_cv_lib_soname_tiff:+false} :; then :
13498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13499 $as_echo "not found" >&6; }
13502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
13503 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
13505 cat >>confdefs.h
<<_ACEOF
13506 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
13512 CPPFLAGS
=$ac_save_CPPFLAGS
13513 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS
=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13514 test -z "$TIFF_LIBS" || TIFF_LIBS
=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13517 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
13518 case "x$with_tiff" in
13519 x
) as_fn_append wine_notices
"|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
13521 *) as_fn_error $?
"libtiff ${notice_platform}development files not found, TIFF won't be supported.
13522 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
13526 if test "x$with_mpg123" != "xno"
13528 if ${MPG123_CFLAGS:+false} :; then :
13529 if ${PKG_CONFIG+:} false
; then :
13530 MPG123_CFLAGS
=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
13534 if ${MPG123_LIBS:+false} :; then :
13535 if ${PKG_CONFIG+:} false
; then :
13536 MPG123_LIBS
=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
13540 MPG123_LIBS
=${MPG123_LIBS:-"-lmpg123"}
13541 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
13542 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
13543 ac_save_CPPFLAGS
=$CPPFLAGS
13544 CPPFLAGS
="$CPPFLAGS $MPG123_CFLAGS"
13545 for ac_header
in mpg123.h
13547 ac_fn_c_check_header_mongrel
"$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
13548 if test "x$ac_cv_header_mpg123_h" = xyes
; then :
13549 cat >>confdefs.h
<<_ACEOF
13550 #define HAVE_MPG123_H 1
13557 if test "$ac_cv_header_mpg123_h" = "yes"
13559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
13560 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
13561 if ${ac_cv_lib_mpg123_mpg123_feed+:} false
; then :
13562 $as_echo_n "(cached) " >&6
13564 ac_check_lib_save_LIBS
=$LIBS
13565 LIBS
="-lmpg123 $MPG123_LIBS $LIBS"
13566 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13567 /* end confdefs.h. */
13569 /* Override any GCC internal prototype to avoid an error.
13570 Use char because int might match the return type of a GCC
13571 builtin and then its argument prototype would still apply. */
13575 char mpg123_feed ();
13579 return mpg123_feed ();
13584 if ac_fn_c_try_link
"$LINENO"; then :
13585 ac_cv_lib_mpg123_mpg123_feed
=yes
13587 ac_cv_lib_mpg123_mpg123_feed
=no
13589 rm -f core conftest.err conftest.
$ac_objext \
13590 conftest
$ac_exeext conftest.
$ac_ext
13591 LIBS
=$ac_check_lib_save_LIBS
13593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
13594 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
13595 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes
; then :
13605 CPPFLAGS
=$ac_save_CPPFLAGS
13606 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS
=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13607 test -z "$MPG123_LIBS" || MPG123_LIBS
=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13610 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes
-a x
"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes
; then :
13611 case "x$with_mpg123" in
13612 x
) as_fn_append wine_notices
"|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
13614 *) as_fn_error $?
"libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
13615 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
13618 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}
13620 if test "$ac_cv_header_AL_al_h" = "yes"
13622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
13623 $as_echo_n "checking for -lopenal... " >&6; }
13624 if ${ac_cv_lib_soname_openal+:} false
; then :
13625 $as_echo_n "(cached) " >&6
13627 ac_check_soname_save_LIBS
=$LIBS
13628 LIBS
="-lopenal $LIBS"
13629 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13630 /* end confdefs.h. */
13632 /* Override any GCC internal prototype to avoid an error.
13633 Use char because int might match the return type of a GCC
13634 builtin and then its argument prototype would still apply. */
13638 char alGetSource3i ();
13642 return alGetSource3i ();
13647 if ac_fn_c_try_link
"$LINENO"; then :
13649 dll
) ac_cv_lib_soname_openal
=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13650 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'` ;;
13651 *) ac_cv_lib_soname_openal
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13652 if ${ac_cv_lib_soname_openal:+false} :; then :
13653 ac_cv_lib_soname_openal
=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13657 rm -f core conftest.err conftest.
$ac_objext \
13658 conftest
$ac_exeext conftest.
$ac_ext
13659 LIBS
=$ac_check_soname_save_LIBS
13661 if ${ac_cv_lib_soname_openal:+false} :; then :
13662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13663 $as_echo "not found" >&6; }
13666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
13667 $as_echo "$ac_cv_lib_soname_openal" >&6; }
13669 cat >>confdefs.h
<<_ACEOF
13670 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
13673 OPENAL_LIBS
="-lopenal"
13675 ac_cv_lib_openal
=yes
13677 cat >>confdefs.h
<<_ACEOF
13678 #define HAVE_OPENAL 1
13683 if test "x$ac_cv_lib_openal" != xyes
; then :
13684 case "x$with_openal" in
13685 x
) as_fn_append wine_notices
"|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported" ;;
13687 *) as_fn_error $?
"libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported
13688 This is an error since --with-openal was requested." "$LINENO" 5 ;;
13691 test "x$ac_cv_lib_openal" = xyes || enable_openal32
=${enable_openal32:-no}
13693 if test "x$ac_cv_lib_openal" = xyes
13695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for openal-soft" >&5
13696 $as_echo_n "checking for openal-soft... " >&6; }
13697 if ${ac_cv_have_openalsoft+:} false
; then :
13698 $as_echo_n "(cached) " >&6
13700 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13701 /* end confdefs.h. */
13703 #include <AL/alc.h>
13704 #include <AL/alext.h>
13705 LPALCRENDERSAMPLESSOFT x;
13714 if ac_fn_c_try_compile
"$LINENO"; then :
13715 ac_cv_have_openalsoft
=yes
13717 ac_cv_have_openalsoft
=no
13719 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_openalsoft" >&5
13722 $as_echo "$ac_cv_have_openalsoft" >&6; }
13724 if test "x$ac_cv_have_openalsoft" != xyes
13726 as_fn_append wine_notices
"|openal-soft ${notice_platform}development files not found (or too old), XAudio2 won't be supported"
13727 enable_xaudio2_7
=${enable_xaudio2_7:-no}
13730 if test "$ac_cv_header_kstat_h" = "yes"
13732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
13733 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
13734 if ${ac_cv_lib_kstat_kstat_open+:} false
; then :
13735 $as_echo_n "(cached) " >&6
13737 ac_check_lib_save_LIBS
=$LIBS
13738 LIBS
="-lkstat $LIBS"
13739 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13740 /* end confdefs.h. */
13742 /* Override any GCC internal prototype to avoid an error.
13743 Use char because int might match the return type of a GCC
13744 builtin and then its argument prototype would still apply. */
13748 char kstat_open ();
13752 return kstat_open ();
13757 if ac_fn_c_try_link
"$LINENO"; then :
13758 ac_cv_lib_kstat_kstat_open
=yes
13760 ac_cv_lib_kstat_kstat_open
=no
13762 rm -f core conftest.err conftest.
$ac_objext \
13763 conftest
$ac_exeext conftest.
$ac_ext
13764 LIBS
=$ac_check_lib_save_LIBS
13766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
13767 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
13768 if test "x$ac_cv_lib_kstat_kstat_open" = xyes
; then :
13770 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
13772 KSTAT_LIBS
="-lkstat"
13778 if test "$ac_cv_header_libprocstat_h" = "yes"
13780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
13781 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
13782 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false
; then :
13783 $as_echo_n "(cached) " >&6
13785 ac_check_lib_save_LIBS
=$LIBS
13786 LIBS
="-lprocstat $LIBS"
13787 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13788 /* end confdefs.h. */
13790 /* Override any GCC internal prototype to avoid an error.
13791 Use char because int might match the return type of a GCC
13792 builtin and then its argument prototype would still apply. */
13796 char procstat_open_sysctl ();
13800 return procstat_open_sysctl ();
13805 if ac_fn_c_try_link
"$LINENO"; then :
13806 ac_cv_lib_procstat_procstat_open_sysctl
=yes
13808 ac_cv_lib_procstat_procstat_open_sysctl
=no
13810 rm -f core conftest.err conftest.
$ac_objext \
13811 conftest
$ac_exeext conftest.
$ac_ext
13812 LIBS
=$ac_check_lib_save_LIBS
13814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
13815 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
13816 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes
; then :
13818 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
13820 PROCSTAT_LIBS
="-lprocstat"
13826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
13827 $as_echo_n "checking for -lodbc... " >&6; }
13828 if ${ac_cv_lib_soname_odbc+:} false
; then :
13829 $as_echo_n "(cached) " >&6
13831 ac_check_soname_save_LIBS
=$LIBS
13832 LIBS
="-lodbc $LIBS"
13833 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13834 /* end confdefs.h. */
13836 /* Override any GCC internal prototype to avoid an error.
13837 Use char because int might match the return type of a GCC
13838 builtin and then its argument prototype would still apply. */
13842 char SQLConnect ();
13846 return SQLConnect ();
13851 if ac_fn_c_try_link
"$LINENO"; then :
13853 dll
) ac_cv_lib_soname_odbc
=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13854 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'` ;;
13855 *) ac_cv_lib_soname_odbc
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13856 if ${ac_cv_lib_soname_odbc:+false} :; then :
13857 ac_cv_lib_soname_odbc
=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13861 rm -f core conftest.err conftest.
$ac_objext \
13862 conftest
$ac_exeext conftest.
$ac_ext
13863 LIBS
=$ac_check_soname_save_LIBS
13865 if ${ac_cv_lib_soname_odbc:+false} :; then :
13866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13867 $as_echo "not found" >&6; }
13868 cat >>confdefs.h
<<_ACEOF
13869 #define SONAME_LIBODBC "libodbc.$LIBEXT"
13873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
13874 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
13876 cat >>confdefs.h
<<_ACEOF
13877 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
13883 if test "x$with_netapi" != "xno"
13885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
13886 $as_echo_n "checking for -lnetapi... " >&6; }
13887 if ${ac_cv_lib_soname_netapi+:} false
; then :
13888 $as_echo_n "(cached) " >&6
13890 ac_check_soname_save_LIBS
=$LIBS
13891 LIBS
="-lnetapi $LIBS"
13892 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13893 /* end confdefs.h. */
13895 /* Override any GCC internal prototype to avoid an error.
13896 Use char because int might match the return type of a GCC
13897 builtin and then its argument prototype would still apply. */
13901 char libnetapi_init ();
13905 return libnetapi_init ();
13910 if ac_fn_c_try_link
"$LINENO"; then :
13912 dll
) ac_cv_lib_soname_netapi
=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13913 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'` ;;
13914 *) ac_cv_lib_soname_netapi
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13915 if ${ac_cv_lib_soname_netapi:+false} :; then :
13916 ac_cv_lib_soname_netapi
=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13920 rm -f core conftest.err conftest.
$ac_objext \
13921 conftest
$ac_exeext conftest.
$ac_ext
13922 LIBS
=$ac_check_soname_save_LIBS
13924 if ${ac_cv_lib_soname_netapi:+false} :; then :
13925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13926 $as_echo "not found" >&6; }
13927 cat >>confdefs.h
<<_ACEOF
13928 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
13932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
13933 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
13935 cat >>confdefs.h
<<_ACEOF
13936 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
13943 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv" = xnononono
-a \
13944 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
13946 as_fn_append wine_warnings
"|No sound system was found. Windows applications will be silent."
13952 if test "x${GCC}" = "xyes"
13954 EXTRACFLAGS
="-Wall -pipe"
13956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
13957 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
13958 if ${ac_cv_c_gcc_strength_bug+:} false
; then :
13959 $as_echo_n "(cached) " >&6
13961 if test "$cross_compiling" = yes; then :
13962 ac_cv_c_gcc_strength_bug
="no"
13964 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13965 /* end confdefs.h. */
13966 int L[4] = {0,1,2,3};
13970 static int Array[3];
13971 unsigned int B = 3;
13973 for(i=0; i<B; i++) Array[i] = i - 3;
13974 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
13976 return (Array[1] != -2 || L[2] != 3)
13981 if ac_fn_c_try_run
"$LINENO"; then :
13982 ac_cv_c_gcc_strength_bug
="no"
13984 ac_cv_c_gcc_strength_bug
="yes"
13986 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
13987 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
13991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
13992 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
13993 if test "$ac_cv_c_gcc_strength_bug" = "yes"
13995 EXTRACFLAGS
="$EXTRACFLAGS -fno-strength-reduce"
13998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
13999 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
14000 if ${ac_cv_cflags__fno_builtin+:} false
; then :
14001 $as_echo_n "(cached) " >&6
14003 ac_wine_try_cflags_saved
=$CFLAGS
14004 CFLAGS
="$CFLAGS -fno-builtin"
14005 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14006 /* end confdefs.h. */
14007 int main(int argc, char **argv) { return 0; }
14009 if ac_fn_c_try_link
"$LINENO"; then :
14010 ac_cv_cflags__fno_builtin
=yes
14012 ac_cv_cflags__fno_builtin
=no
14014 rm -f core conftest.err conftest.
$ac_objext \
14015 conftest
$ac_exeext conftest.
$ac_ext
14016 CFLAGS
=$ac_wine_try_cflags_saved
14018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
14019 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
14020 if test "x$ac_cv_cflags__fno_builtin" = xyes
; then :
14021 BUILTINFLAG
="-fno-builtin"
14024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
14025 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
14026 if ${ac_cv_cflags__fno_strict_aliasing+:} false
; then :
14027 $as_echo_n "(cached) " >&6
14029 ac_wine_try_cflags_saved
=$CFLAGS
14030 CFLAGS
="$CFLAGS -fno-strict-aliasing"
14031 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14032 /* end confdefs.h. */
14033 int main(int argc, char **argv) { return 0; }
14035 if ac_fn_c_try_link
"$LINENO"; then :
14036 ac_cv_cflags__fno_strict_aliasing
=yes
14038 ac_cv_cflags__fno_strict_aliasing
=no
14040 rm -f core conftest.err conftest.
$ac_objext \
14041 conftest
$ac_exeext conftest.
$ac_ext
14042 CFLAGS
=$ac_wine_try_cflags_saved
14044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
14045 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
14046 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes
; then :
14047 EXTRACFLAGS
="$EXTRACFLAGS -fno-strict-aliasing"
14049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
14050 $as_echo_n "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
14051 if ${ac_cv_cflags__fexcess_precision_standard+:} false
; then :
14052 $as_echo_n "(cached) " >&6
14054 ac_wine_try_cflags_saved
=$CFLAGS
14055 CFLAGS
="$CFLAGS -fexcess-precision=standard"
14056 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14057 /* end confdefs.h. */
14058 int main(int argc, char **argv) { return 0; }
14060 if ac_fn_c_try_link
"$LINENO"; then :
14061 ac_cv_cflags__fexcess_precision_standard
=yes
14063 ac_cv_cflags__fexcess_precision_standard
=no
14065 rm -f core conftest.err conftest.
$ac_objext \
14066 conftest
$ac_exeext conftest.
$ac_ext
14067 CFLAGS
=$ac_wine_try_cflags_saved
14069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
14070 $as_echo "$ac_cv_cflags__fexcess_precision_standard" >&6; }
14071 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes
; then :
14072 EXCESS_PRECISION_CFLAGS
="-fexcess-precision=standard"
14075 saved_CFLAGS
=$CFLAGS
14076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
14077 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
14078 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false
; then :
14079 $as_echo_n "(cached) " >&6
14081 ac_wine_try_cflags_saved
=$CFLAGS
14082 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
14083 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14084 /* end confdefs.h. */
14085 int main(int argc, char **argv) { return 0; }
14087 if ac_fn_c_try_link
"$LINENO"; then :
14088 ac_cv_cflags__Werror_unknown_warning_option
=yes
14090 ac_cv_cflags__Werror_unknown_warning_option
=no
14092 rm -f core conftest.err conftest.
$ac_objext \
14093 conftest
$ac_exeext conftest.
$ac_ext
14094 CFLAGS
=$ac_wine_try_cflags_saved
14096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
14097 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
14098 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes
; then :
14099 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
14101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
14102 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
14103 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false
; then :
14104 $as_echo_n "(cached) " >&6
14106 ac_wine_try_cflags_saved
=$CFLAGS
14107 CFLAGS
="$CFLAGS -Wdeclaration-after-statement"
14108 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14109 /* end confdefs.h. */
14110 int main(int argc, char **argv) { return 0; }
14112 if ac_fn_c_try_link
"$LINENO"; then :
14113 ac_cv_cflags__Wdeclaration_after_statement
=yes
14115 ac_cv_cflags__Wdeclaration_after_statement
=no
14117 rm -f core conftest.err conftest.
$ac_objext \
14118 conftest
$ac_exeext conftest.
$ac_ext
14119 CFLAGS
=$ac_wine_try_cflags_saved
14121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
14122 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
14123 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes
; then :
14124 EXTRACFLAGS
="$EXTRACFLAGS -Wdeclaration-after-statement"
14126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
14127 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
14128 if ${ac_cv_cflags__Wempty_body+:} false
; then :
14129 $as_echo_n "(cached) " >&6
14131 ac_wine_try_cflags_saved
=$CFLAGS
14132 CFLAGS
="$CFLAGS -Wempty-body"
14133 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14134 /* end confdefs.h. */
14135 int main(int argc, char **argv) { return 0; }
14137 if ac_fn_c_try_link
"$LINENO"; then :
14138 ac_cv_cflags__Wempty_body
=yes
14140 ac_cv_cflags__Wempty_body
=no
14142 rm -f core conftest.err conftest.
$ac_objext \
14143 conftest
$ac_exeext conftest.
$ac_ext
14144 CFLAGS
=$ac_wine_try_cflags_saved
14146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
14147 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
14148 if test "x$ac_cv_cflags__Wempty_body" = xyes
; then :
14149 EXTRACFLAGS
="$EXTRACFLAGS -Wempty-body"
14151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
14152 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
14153 if ${ac_cv_cflags__Wignored_qualifiers+:} false
; then :
14154 $as_echo_n "(cached) " >&6
14156 ac_wine_try_cflags_saved
=$CFLAGS
14157 CFLAGS
="$CFLAGS -Wignored-qualifiers"
14158 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14159 /* end confdefs.h. */
14160 int main(int argc, char **argv) { return 0; }
14162 if ac_fn_c_try_link
"$LINENO"; then :
14163 ac_cv_cflags__Wignored_qualifiers
=yes
14165 ac_cv_cflags__Wignored_qualifiers
=no
14167 rm -f core conftest.err conftest.
$ac_objext \
14168 conftest
$ac_exeext conftest.
$ac_ext
14169 CFLAGS
=$ac_wine_try_cflags_saved
14171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
14172 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
14173 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes
; then :
14174 EXTRACFLAGS
="$EXTRACFLAGS -Wignored-qualifiers"
14176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
14177 $as_echo_n "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
14178 if ${ac_cv_cflags__Wshift_overflow_2+:} false
; then :
14179 $as_echo_n "(cached) " >&6
14181 ac_wine_try_cflags_saved
=$CFLAGS
14182 CFLAGS
="$CFLAGS -Wshift-overflow=2"
14183 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14184 /* end confdefs.h. */
14185 int main(int argc, char **argv) { return 0; }
14187 if ac_fn_c_try_link
"$LINENO"; then :
14188 ac_cv_cflags__Wshift_overflow_2
=yes
14190 ac_cv_cflags__Wshift_overflow_2
=no
14192 rm -f core conftest.err conftest.
$ac_objext \
14193 conftest
$ac_exeext conftest.
$ac_ext
14194 CFLAGS
=$ac_wine_try_cflags_saved
14196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
14197 $as_echo "$ac_cv_cflags__Wshift_overflow_2" >&6; }
14198 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes
; then :
14199 EXTRACFLAGS
="$EXTRACFLAGS -Wshift-overflow=2"
14201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
14202 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
14203 if ${ac_cv_cflags__Wstrict_prototypes+:} false
; then :
14204 $as_echo_n "(cached) " >&6
14206 ac_wine_try_cflags_saved
=$CFLAGS
14207 CFLAGS
="$CFLAGS -Wstrict-prototypes"
14208 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14209 /* end confdefs.h. */
14210 int main(int argc, char **argv) { return 0; }
14212 if ac_fn_c_try_link
"$LINENO"; then :
14213 ac_cv_cflags__Wstrict_prototypes
=yes
14215 ac_cv_cflags__Wstrict_prototypes
=no
14217 rm -f core conftest.err conftest.
$ac_objext \
14218 conftest
$ac_exeext conftest.
$ac_ext
14219 CFLAGS
=$ac_wine_try_cflags_saved
14221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
14222 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
14223 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes
; then :
14224 EXTRACFLAGS
="$EXTRACFLAGS -Wstrict-prototypes"
14226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
14227 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
14228 if ${ac_cv_cflags__Wtype_limits+:} false
; then :
14229 $as_echo_n "(cached) " >&6
14231 ac_wine_try_cflags_saved
=$CFLAGS
14232 CFLAGS
="$CFLAGS -Wtype-limits"
14233 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14234 /* end confdefs.h. */
14235 int main(int argc, char **argv) { return 0; }
14237 if ac_fn_c_try_link
"$LINENO"; then :
14238 ac_cv_cflags__Wtype_limits
=yes
14240 ac_cv_cflags__Wtype_limits
=no
14242 rm -f core conftest.err conftest.
$ac_objext \
14243 conftest
$ac_exeext conftest.
$ac_ext
14244 CFLAGS
=$ac_wine_try_cflags_saved
14246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
14247 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
14248 if test "x$ac_cv_cflags__Wtype_limits" = xyes
; then :
14249 EXTRACFLAGS
="$EXTRACFLAGS -Wtype-limits"
14251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
14252 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
14253 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false
; then :
14254 $as_echo_n "(cached) " >&6
14256 ac_wine_try_cflags_saved
=$CFLAGS
14257 CFLAGS
="$CFLAGS -Wunused-but-set-parameter"
14258 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14259 /* end confdefs.h. */
14260 int main(int argc, char **argv) { return 0; }
14262 if ac_fn_c_try_link
"$LINENO"; then :
14263 ac_cv_cflags__Wunused_but_set_parameter
=yes
14265 ac_cv_cflags__Wunused_but_set_parameter
=no
14267 rm -f core conftest.err conftest.
$ac_objext \
14268 conftest
$ac_exeext conftest.
$ac_ext
14269 CFLAGS
=$ac_wine_try_cflags_saved
14271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
14272 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
14273 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes
; then :
14274 EXTRACFLAGS
="$EXTRACFLAGS -Wunused-but-set-parameter"
14276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
14277 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
14278 if ${ac_cv_cflags__Wvla+:} false
; then :
14279 $as_echo_n "(cached) " >&6
14281 ac_wine_try_cflags_saved
=$CFLAGS
14282 CFLAGS
="$CFLAGS -Wvla"
14283 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14284 /* end confdefs.h. */
14285 int main(int argc, char **argv) { return 0; }
14287 if ac_fn_c_try_link
"$LINENO"; then :
14288 ac_cv_cflags__Wvla
=yes
14290 ac_cv_cflags__Wvla
=no
14292 rm -f core conftest.err conftest.
$ac_objext \
14293 conftest
$ac_exeext conftest.
$ac_ext
14294 CFLAGS
=$ac_wine_try_cflags_saved
14296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
14297 $as_echo "$ac_cv_cflags__Wvla" >&6; }
14298 if test "x$ac_cv_cflags__Wvla" = xyes
; then :
14299 EXTRACFLAGS
="$EXTRACFLAGS -Wvla"
14301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
14302 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
14303 if ${ac_cv_cflags__Wwrite_strings+:} false
; then :
14304 $as_echo_n "(cached) " >&6
14306 ac_wine_try_cflags_saved
=$CFLAGS
14307 CFLAGS
="$CFLAGS -Wwrite-strings"
14308 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14309 /* end confdefs.h. */
14310 int main(int argc, char **argv) { return 0; }
14312 if ac_fn_c_try_link
"$LINENO"; then :
14313 ac_cv_cflags__Wwrite_strings
=yes
14315 ac_cv_cflags__Wwrite_strings
=no
14317 rm -f core conftest.err conftest.
$ac_objext \
14318 conftest
$ac_exeext conftest.
$ac_ext
14319 CFLAGS
=$ac_wine_try_cflags_saved
14321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
14322 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
14323 if test "x$ac_cv_cflags__Wwrite_strings" = xyes
; then :
14324 EXTRACFLAGS
="$EXTRACFLAGS -Wwrite-strings"
14327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
14328 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
14329 if ${ac_cv_cflags__Wpointer_arith+:} false
; then :
14330 $as_echo_n "(cached) " >&6
14332 ac_wine_try_cflags_saved
=$CFLAGS
14333 CFLAGS
="$CFLAGS -Wpointer-arith"
14334 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14335 /* end confdefs.h. */
14336 int main(int argc, char **argv) { return 0; }
14338 if ac_fn_c_try_link
"$LINENO"; then :
14339 ac_cv_cflags__Wpointer_arith
=yes
14341 ac_cv_cflags__Wpointer_arith
=no
14343 rm -f core conftest.err conftest.
$ac_objext \
14344 conftest
$ac_exeext conftest.
$ac_ext
14345 CFLAGS
=$ac_wine_try_cflags_saved
14347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
14348 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
14349 if test "x$ac_cv_cflags__Wpointer_arith" = xyes
; then :
14350 saved_string_h_CFLAGS
=$CFLAGS
14351 CFLAGS
="$CFLAGS -Wpointer-arith -Werror"
14352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
14353 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
14354 if ${ac_cv_c_string_h_warnings+:} false
; then :
14355 $as_echo_n "(cached) " >&6
14357 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14358 /* end confdefs.h. */
14359 #include <string.h>
14368 if ac_fn_c_try_compile
"$LINENO"; then :
14369 ac_cv_c_string_h_warnings
=no
14371 ac_cv_c_string_h_warnings
=yes
14373 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
14376 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
14377 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS
="$EXTRACFLAGS -Wpointer-arith"
14378 CFLAGS
=$saved_string_h_CFLAGS
14381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
14382 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
14383 if ${ac_cv_cflags__Wlogical_op+:} false
; then :
14384 $as_echo_n "(cached) " >&6
14386 ac_wine_try_cflags_saved
=$CFLAGS
14387 CFLAGS
="$CFLAGS -Wlogical-op"
14388 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14389 /* end confdefs.h. */
14390 int main(int argc, char **argv) { return 0; }
14392 if ac_fn_c_try_link
"$LINENO"; then :
14393 ac_cv_cflags__Wlogical_op
=yes
14395 ac_cv_cflags__Wlogical_op
=no
14397 rm -f core conftest.err conftest.
$ac_objext \
14398 conftest
$ac_exeext conftest.
$ac_ext
14399 CFLAGS
=$ac_wine_try_cflags_saved
14401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
14402 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
14403 if test "x$ac_cv_cflags__Wlogical_op" = xyes
; then :
14404 saved_string_h_CFLAGS
=$CFLAGS
14405 CFLAGS
="$CFLAGS -Wlogical-op -Werror"
14406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
14407 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
14408 if ${ac_cv_c_logicalop_noisy+:} false
; then :
14409 $as_echo_n "(cached) " >&6
14411 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14412 /* end confdefs.h. */
14413 #include <string.h>
14414 char*f(const char *h,char n) {return strchr(h,n);}
14423 if ac_fn_c_try_compile
"$LINENO"; then :
14424 ac_cv_c_logicalop_noisy
=no
14426 ac_cv_c_logicalop_noisy
=yes
14428 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
14431 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
14432 CFLAGS
=$saved_string_h_CFLAGS
14433 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS
="$EXTRACFLAGS -Wlogical-op"
14436 CFLAGS
=$saved_CFLAGS
14438 for ac_flag
in $CFLAGS; do
14440 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
14441 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
14442 if ${ac_cv_cflags__gdwarf_2+:} false
; then :
14443 $as_echo_n "(cached) " >&6
14445 ac_wine_try_cflags_saved
=$CFLAGS
14446 CFLAGS
="$CFLAGS -gdwarf-2"
14447 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14448 /* end confdefs.h. */
14449 int main(int argc, char **argv) { return 0; }
14451 if ac_fn_c_try_link
"$LINENO"; then :
14452 ac_cv_cflags__gdwarf_2
=yes
14454 ac_cv_cflags__gdwarf_2
=no
14456 rm -f core conftest.err conftest.
$ac_objext \
14457 conftest
$ac_exeext conftest.
$ac_ext
14458 CFLAGS
=$ac_wine_try_cflags_saved
14460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
14461 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
14462 if test "x$ac_cv_cflags__gdwarf_2" = xyes
; then :
14463 EXTRACFLAGS
="$EXTRACFLAGS -gdwarf-2"
14465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
14466 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
14467 if ${ac_cv_cflags__gstrict_dwarf+:} false
; then :
14468 $as_echo_n "(cached) " >&6
14470 ac_wine_try_cflags_saved
=$CFLAGS
14471 CFLAGS
="$CFLAGS -gstrict-dwarf"
14472 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14473 /* end confdefs.h. */
14474 int main(int argc, char **argv) { return 0; }
14476 if ac_fn_c_try_link
"$LINENO"; then :
14477 ac_cv_cflags__gstrict_dwarf
=yes
14479 ac_cv_cflags__gstrict_dwarf
=no
14481 rm -f core conftest.err conftest.
$ac_objext \
14482 conftest
$ac_exeext conftest.
$ac_ext
14483 CFLAGS
=$ac_wine_try_cflags_saved
14485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
14486 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
14487 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes
; then :
14488 EXTRACFLAGS
="$EXTRACFLAGS -gstrict-dwarf"
14494 *i
[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
14495 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
14496 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false
; then :
14497 $as_echo_n "(cached) " >&6
14499 ac_wine_try_cflags_saved
=$CFLAGS
14500 CFLAGS
="$CFLAGS -fno-omit-frame-pointer"
14501 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14502 /* end confdefs.h. */
14503 int main(int argc, char **argv) { return 0; }
14505 if ac_fn_c_try_link
"$LINENO"; then :
14506 ac_cv_cflags__fno_omit_frame_pointer
=yes
14508 ac_cv_cflags__fno_omit_frame_pointer
=no
14510 rm -f core conftest.err conftest.
$ac_objext \
14511 conftest
$ac_exeext conftest.
$ac_ext
14512 CFLAGS
=$ac_wine_try_cflags_saved
14514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
14515 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
14516 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes
; then :
14517 EXTRACFLAGS
="$EXTRACFLAGS -fno-omit-frame-pointer"
14522 x86_64-
*mingw32
*|x86_64-
*cygwin
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
14523 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
14524 if ${ac_cv_cflags__Wno_format+:} false
; then :
14525 $as_echo_n "(cached) " >&6
14527 ac_wine_try_cflags_saved
=$CFLAGS
14528 CFLAGS
="$CFLAGS -Wno-format"
14529 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14530 /* end confdefs.h. */
14531 int main(int argc, char **argv) { return 0; }
14533 if ac_fn_c_try_link
"$LINENO"; then :
14534 ac_cv_cflags__Wno_format
=yes
14536 ac_cv_cflags__Wno_format
=no
14538 rm -f core conftest.err conftest.
$ac_objext \
14539 conftest
$ac_exeext conftest.
$ac_ext
14540 CFLAGS
=$ac_wine_try_cflags_saved
14542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
14543 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
14544 if test "x$ac_cv_cflags__Wno_format" = xyes
; then :
14545 EXTRACFLAGS
="$EXTRACFLAGS -Wno-format"
14549 if test "x$enable_maintainer_mode" = "xyes"
14551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
14552 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
14553 if ${ac_cv_cflags__Werror+:} false
; then :
14554 $as_echo_n "(cached) " >&6
14556 ac_wine_try_cflags_saved
=$CFLAGS
14557 CFLAGS
="$CFLAGS -Werror"
14558 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14559 /* end confdefs.h. */
14560 int main(int argc, char **argv) { return 0; }
14562 if ac_fn_c_try_link
"$LINENO"; then :
14563 ac_cv_cflags__Werror
=yes
14565 ac_cv_cflags__Werror
=no
14567 rm -f core conftest.err conftest.
$ac_objext \
14568 conftest
$ac_exeext conftest.
$ac_ext
14569 CFLAGS
=$ac_wine_try_cflags_saved
14571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
14572 $as_echo "$ac_cv_cflags__Werror" >&6; }
14573 if test "x$ac_cv_cflags__Werror" = xyes
; then :
14574 EXTRACFLAGS
="$EXTRACFLAGS -Werror"
14578 saved_CFLAGS
="$CFLAGS"
14579 CFLAGS
="$CFLAGS -Werror"
14580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
14581 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
14582 if ${ac_cv_have_ms_hook_prologue+:} false
; then :
14583 $as_echo_n "(cached) " >&6
14585 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14586 /* end confdefs.h. */
14587 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
14596 if ac_fn_c_try_compile
"$LINENO"; then :
14597 ac_cv_have_ms_hook_prologue
="yes"
14599 ac_cv_have_ms_hook_prologue
="no"
14601 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
14604 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
14605 CFLAGS
="$saved_CFLAGS"
14606 if test "$ac_cv_have_ms_hook_prologue" = "yes"
14609 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
14612 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
14618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
14619 $as_echo_n "checking for the need to disable Fortify... " >&6; }
14620 if ${ac_cv_c_fortify_enabled+:} false
; then :
14621 $as_echo_n "(cached) " >&6
14623 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14624 /* end confdefs.h. */
14625 #include <string.h>
14629 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
14630 #error Fortify enabled
14636 if ac_fn_c_try_compile
"$LINENO"; then :
14637 ac_cv_c_fortify_enabled
=no
14639 ac_cv_c_fortify_enabled
=yes
14641 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
14644 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
14645 if test "$ac_cv_c_fortify_enabled" = yes
14647 CFLAGS
="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
14651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
14652 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
14653 if ${ac_cv_c_extern_prefix+:} false
; then :
14654 $as_echo_n "(cached) " >&6
14656 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14657 /* end confdefs.h. */
14658 extern int ac_test;
14662 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
14667 if ac_fn_c_try_link
"$LINENO"; then :
14668 ac_cv_c_extern_prefix
="yes"
14670 ac_cv_c_extern_prefix
="no"
14672 rm -f core conftest.err conftest.
$ac_objext \
14673 conftest
$ac_exeext conftest.
$ac_ext
14675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
14676 $as_echo "$ac_cv_c_extern_prefix" >&6; }
14680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
14681 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
14682 if ${ac_cv_c_stdcall_suffix+:} false
; then :
14683 $as_echo_n "(cached) " >&6
14685 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14686 /* end confdefs.h. */
14688 #define __stdcall __attribute__((__stdcall__))
14690 int __stdcall ac_test(int i) { return i; }
14694 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
14699 if ac_fn_c_try_link
"$LINENO"; then :
14700 ac_cv_c_stdcall_suffix
="yes"
14702 ac_cv_c_stdcall_suffix
="no"
14704 rm -f core conftest.err conftest.
$ac_objext \
14705 conftest
$ac_exeext conftest.
$ac_ext
14707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
14708 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
14709 *) ac_cv_c_stdcall_suffix
="no" ;;
14713 if test "$ac_cv_c_extern_prefix" = "yes"
14715 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
14717 asm_name_prefix
="_"
14719 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
14725 if test "$ac_cv_c_stdcall_suffix" = "yes"
14727 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
14730 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
14735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
14736 $as_echo_n "checking how to define a function in assembly code... " >&6; }
14737 if ${ac_cv_asm_func_def+:} false
; then :
14738 $as_echo_n "(cached) " >&6
14740 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14741 /* end confdefs.h. */
14746 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
14751 if ac_fn_c_try_link
"$LINENO"; then :
14752 ac_cv_asm_func_def
=".def"
14754 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14755 /* end confdefs.h. */
14760 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
14765 if ac_fn_c_try_link
"$LINENO"; then :
14766 ac_cv_asm_func_def
=".type @function"
14768 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14769 /* end confdefs.h. */
14774 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
14779 if ac_fn_c_try_link
"$LINENO"; then :
14780 ac_cv_asm_func_def
=".type 2"
14782 ac_cv_asm_func_def
="unknown"
14784 rm -f core conftest.err conftest.
$ac_objext \
14785 conftest
$ac_exeext conftest.
$ac_ext
14787 rm -f core conftest.err conftest.
$ac_objext \
14788 conftest
$ac_exeext conftest.
$ac_ext
14790 rm -f core conftest.err conftest.
$ac_objext \
14791 conftest
$ac_exeext conftest.
$ac_ext
14793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
14794 $as_echo "$ac_cv_asm_func_def" >&6; }
14797 case "$ac_cv_asm_func_def" in
14799 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
14801 asm_func_header
=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
14803 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
14805 asm_func_header
=".type $asm_name_prefix\" #name suffix \",@function" ;;
14807 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
14809 asm_func_header
=".type $asm_name_prefix\" #name suffix \",2" ;;
14811 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
14813 asm_func_header
="" ;;
14816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
14817 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
14818 if ${ac_cv_c_asm_outside_funcs+:} false
; then :
14819 $as_echo_n "(cached) " >&6
14821 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14822 /* end confdefs.h. */
14823 asm(".text\n\t.long 0");
14832 if ac_fn_c_try_compile
"$LINENO"; then :
14833 ac_cv_c_asm_outside_funcs
="yes"
14835 ac_cv_c_asm_outside_funcs
="no"
14837 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
14840 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
14842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
14843 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
14844 if ${ac_cv_c_dot_previous+:} false
; then :
14845 $as_echo_n "(cached) " >&6
14847 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14848 /* end confdefs.h. */
14853 asm(".text\nac_test:\t.long 0\n\t.previous");
14858 if ac_fn_c_try_link
"$LINENO"; then :
14859 ac_cv_c_dot_previous
="yes"
14861 ac_cv_c_dot_previous
="no"
14863 rm -f core conftest.err conftest.
$ac_objext \
14864 conftest
$ac_exeext conftest.
$ac_ext
14866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
14867 $as_echo "$ac_cv_c_dot_previous" >&6; }
14869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
14870 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
14871 if ${ac_cv_c_cfi_support+:} false
; then :
14872 $as_echo_n "(cached) " >&6
14874 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14875 /* end confdefs.h. */
14876 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
14885 if ac_fn_c_try_compile
"$LINENO"; then :
14886 ac_cv_c_cfi_support
="yes"
14888 ac_cv_c_cfi_support
="no"
14890 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
14893 $as_echo "$ac_cv_c_cfi_support" >&6; }
14895 asm_func_header
=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
14896 asm_func_trailer
=""
14897 if test "$ac_cv_c_dot_previous" = "yes"
14899 asm_func_trailer
="\\n\\t.previous"
14901 if test "$ac_cv_c_cfi_support" = "yes"
14903 asm_func_header
="$asm_func_header.cfi_startproc\\n\\t"
14904 asm_func_trailer
="\\n\\t.cfi_endproc$asm_func_trailer"
14906 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
14908 UNWINDFLAGS
=-fasynchronous-unwind-tables
14911 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
14913 if test "x$enable_win64" = "xyes"
14915 as_fn_append wine_warnings
"|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
14919 asm_func_code
="$asm_func_header\" code \"$asm_func_trailer"
14922 if test "$ac_cv_c_asm_outside_funcs" = "yes"
14924 cat >>confdefs.h
<<_ACEOF
14925 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
14929 cat >>confdefs.h
<<_ACEOF
14930 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
14935 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
14938 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
14943 cygwin
*|mingw32
*) TOOLSEXT
=".exe"
14951 *i
[3456789]86*|x86_64
*)
14952 test "$wine_binary" = wine || wine_fn_ignore_file
"loader/wine-preloader"
14953 WINELOADER_PROGRAMS
="$WINELOADER_PROGRAMS $wine_binary-preloader"
14960 ac_save_CFLAGS
="$CFLAGS"
14961 CFLAGS
="$CFLAGS $BUILTINFLAG"
15040 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15041 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
15042 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
15043 cat >>confdefs.h
<<_ACEOF
15044 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15050 CFLAGS
="$ac_save_CFLAGS"
15052 if test "$ac_cv_func_dlopen" = no
15054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
15055 $as_echo_n "checking for dlopen in -ldl... " >&6; }
15056 if ${ac_cv_lib_dl_dlopen+:} false
; then :
15057 $as_echo_n "(cached) " >&6
15059 ac_check_lib_save_LIBS
=$LIBS
15061 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15062 /* end confdefs.h. */
15064 /* Override any GCC internal prototype to avoid an error.
15065 Use char because int might match the return type of a GCC
15066 builtin and then its argument prototype would still apply. */
15079 if ac_fn_c_try_link
"$LINENO"; then :
15080 ac_cv_lib_dl_dlopen
=yes
15082 ac_cv_lib_dl_dlopen
=no
15084 rm -f core conftest.err conftest.
$ac_objext \
15085 conftest
$ac_exeext conftest.
$ac_ext
15086 LIBS
=$ac_check_lib_save_LIBS
15088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
15089 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
15090 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
15091 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
15097 ac_wine_check_funcs_save_LIBS
="$LIBS"
15098 LIBS
="$LIBS $DL_LIBS"
15099 for ac_func
in dladdr
15101 ac_fn_c_check_func
"$LINENO" "dladdr" "ac_cv_func_dladdr"
15102 if test "x$ac_cv_func_dladdr" = xyes
; then :
15103 cat >>confdefs.h
<<_ACEOF
15104 #define HAVE_DLADDR 1
15110 LIBS
="$ac_wine_check_funcs_save_LIBS"
15112 if test "$ac_cv_func_poll" = no
15114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
15115 $as_echo_n "checking for poll in -lpoll... " >&6; }
15116 if ${ac_cv_lib_poll_poll+:} false
; then :
15117 $as_echo_n "(cached) " >&6
15119 ac_check_lib_save_LIBS
=$LIBS
15120 LIBS
="-lpoll $LIBS"
15121 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15122 /* end confdefs.h. */
15124 /* Override any GCC internal prototype to avoid an error.
15125 Use char because int might match the return type of a GCC
15126 builtin and then its argument prototype would still apply. */
15139 if ac_fn_c_try_link
"$LINENO"; then :
15140 ac_cv_lib_poll_poll
=yes
15142 ac_cv_lib_poll_poll
=no
15144 rm -f core conftest.err conftest.
$ac_objext \
15145 conftest
$ac_exeext conftest.
$ac_ext
15146 LIBS
=$ac_check_lib_save_LIBS
15148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
15149 $as_echo "$ac_cv_lib_poll_poll" >&6; }
15150 if test "x$ac_cv_lib_poll_poll" = xyes
; then :
15151 $as_echo "#define HAVE_POLL 1" >>confdefs.h
15158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
15159 $as_echo_n "checking for library containing gethostbyname... " >&6; }
15160 if ${ac_cv_search_gethostbyname+:} false
; then :
15161 $as_echo_n "(cached) " >&6
15163 ac_func_search_save_LIBS
=$LIBS
15164 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15165 /* end confdefs.h. */
15167 /* Override any GCC internal prototype to avoid an error.
15168 Use char because int might match the return type of a GCC
15169 builtin and then its argument prototype would still apply. */
15173 char gethostbyname ();
15177 return gethostbyname ();
15182 for ac_lib
in '' nsl
; do
15183 if test -z "$ac_lib"; then
15184 ac_res
="none required"
15187 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
15189 if ac_fn_c_try_link
"$LINENO"; then :
15190 ac_cv_search_gethostbyname
=$ac_res
15192 rm -f core conftest.err conftest.
$ac_objext \
15194 if ${ac_cv_search_gethostbyname+:} false
; then :
15198 if ${ac_cv_search_gethostbyname+:} false
; then :
15201 ac_cv_search_gethostbyname
=no
15203 rm conftest.
$ac_ext
15204 LIBS
=$ac_func_search_save_LIBS
15206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
15207 $as_echo "$ac_cv_search_gethostbyname" >&6; }
15208 ac_res
=$ac_cv_search_gethostbyname
15209 if test "$ac_res" != no
; then :
15210 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
15215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
15216 $as_echo_n "checking for library containing connect... " >&6; }
15217 if ${ac_cv_search_connect+:} false
; then :
15218 $as_echo_n "(cached) " >&6
15220 ac_func_search_save_LIBS
=$LIBS
15221 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15222 /* end confdefs.h. */
15224 /* Override any GCC internal prototype to avoid an error.
15225 Use char because int might match the return type of a GCC
15226 builtin and then its argument prototype would still apply. */
15239 for ac_lib
in '' socket
; do
15240 if test -z "$ac_lib"; then
15241 ac_res
="none required"
15244 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
15246 if ac_fn_c_try_link
"$LINENO"; then :
15247 ac_cv_search_connect
=$ac_res
15249 rm -f core conftest.err conftest.
$ac_objext \
15251 if ${ac_cv_search_connect+:} false
; then :
15255 if ${ac_cv_search_connect+:} false
; then :
15258 ac_cv_search_connect
=no
15260 rm conftest.
$ac_ext
15261 LIBS
=$ac_func_search_save_LIBS
15263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
15264 $as_echo "$ac_cv_search_connect" >&6; }
15265 ac_res
=$ac_cv_search_connect
15266 if test "$ac_res" != no
; then :
15267 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
15272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
15273 $as_echo_n "checking for library containing inet_aton... " >&6; }
15274 if ${ac_cv_search_inet_aton+:} false
; then :
15275 $as_echo_n "(cached) " >&6
15277 ac_func_search_save_LIBS
=$LIBS
15278 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15279 /* end confdefs.h. */
15281 /* Override any GCC internal prototype to avoid an error.
15282 Use char because int might match the return type of a GCC
15283 builtin and then its argument prototype would still apply. */
15291 return inet_aton ();
15296 for ac_lib
in '' resolv
; do
15297 if test -z "$ac_lib"; then
15298 ac_res
="none required"
15301 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
15303 if ac_fn_c_try_link
"$LINENO"; then :
15304 ac_cv_search_inet_aton
=$ac_res
15306 rm -f core conftest.err conftest.
$ac_objext \
15308 if ${ac_cv_search_inet_aton+:} false
; then :
15312 if ${ac_cv_search_inet_aton+:} false
; then :
15315 ac_cv_search_inet_aton
=no
15317 rm conftest.
$ac_ext
15318 LIBS
=$ac_func_search_save_LIBS
15320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
15321 $as_echo "$ac_cv_search_inet_aton" >&6; }
15322 ac_res
=$ac_cv_search_inet_aton
15323 if test "$ac_res" != no
; then :
15324 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
15344 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15345 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
15346 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
15347 cat >>confdefs.h
<<_ACEOF
15348 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
15357 $as_echo_n "checking for library containing clock_gettime... " >&6; }
15358 if ${ac_cv_search_clock_gettime+:} false
; then :
15359 $as_echo_n "(cached) " >&6
15361 ac_func_search_save_LIBS
=$LIBS
15362 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15363 /* end confdefs.h. */
15365 /* Override any GCC internal prototype to avoid an error.
15366 Use char because int might match the return type of a GCC
15367 builtin and then its argument prototype would still apply. */
15371 char clock_gettime ();
15375 return clock_gettime ();
15380 for ac_lib
in '' rt
; do
15381 if test -z "$ac_lib"; then
15382 ac_res
="none required"
15385 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
15387 if ac_fn_c_try_link
"$LINENO"; then :
15388 ac_cv_search_clock_gettime
=$ac_res
15390 rm -f core conftest.err conftest.
$ac_objext \
15392 if ${ac_cv_search_clock_gettime+:} false
; then :
15396 if ${ac_cv_search_clock_gettime+:} false
; then :
15399 ac_cv_search_clock_gettime
=no
15401 rm conftest.
$ac_ext
15402 LIBS
=$ac_func_search_save_LIBS
15404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
15405 $as_echo "$ac_cv_search_clock_gettime" >&6; }
15406 ac_res
=$ac_cv_search_clock_gettime
15407 if test "$ac_res" != no
; then :
15408 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
15410 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
15412 test "$ac_res" = "none required" || RT_LIBS
="$ac_res"
15420 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
15422 ac_fn_c_check_type
"$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
15424 if test "x$ac_cv_type_LDAPSortKey" = xyes
; then :
15425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
15426 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
15427 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false
; then :
15428 $as_echo_n "(cached) " >&6
15430 ac_check_lib_save_LIBS
=$LIBS
15431 LIBS
="-lldap_r $PTHREAD_LIBS $LIBS"
15432 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15433 /* end confdefs.h. */
15435 /* Override any GCC internal prototype to avoid an error.
15436 Use char because int might match the return type of a GCC
15437 builtin and then its argument prototype would still apply. */
15441 char ldap_initialize ();
15445 return ldap_initialize ();
15450 if ac_fn_c_try_link
"$LINENO"; then :
15451 ac_cv_lib_ldap_r_ldap_initialize
=yes
15453 ac_cv_lib_ldap_r_ldap_initialize
=no
15455 rm -f core conftest.err conftest.
$ac_objext \
15456 conftest
$ac_exeext conftest.
$ac_ext
15457 LIBS
=$ac_check_lib_save_LIBS
15459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
15460 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
15461 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes
; then :
15462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
15463 $as_echo_n "checking for ber_init in -llber... " >&6; }
15464 if ${ac_cv_lib_lber_ber_init+:} false
; then :
15465 $as_echo_n "(cached) " >&6
15467 ac_check_lib_save_LIBS
=$LIBS
15468 LIBS
="-llber $PTHREAD_LIBS $LIBS"
15469 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15470 /* end confdefs.h. */
15472 /* Override any GCC internal prototype to avoid an error.
15473 Use char because int might match the return type of a GCC
15474 builtin and then its argument prototype would still apply. */
15482 return ber_init ();
15487 if ac_fn_c_try_link
"$LINENO"; then :
15488 ac_cv_lib_lber_ber_init
=yes
15490 ac_cv_lib_lber_ber_init
=no
15492 rm -f core conftest.err conftest.
$ac_objext \
15493 conftest
$ac_exeext conftest.
$ac_ext
15494 LIBS
=$ac_check_lib_save_LIBS
15496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
15497 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
15498 if test "x$ac_cv_lib_lber_ber_init" = xyes
; then :
15500 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
15502 LDAP_LIBS
="-lldap_r -llber"
15509 ac_wine_check_funcs_save_LIBS
="$LIBS"
15510 LIBS
="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
15512 ldap_count_references \
15513 ldap_first_reference \
15514 ldap_next_reference \
15515 ldap_parse_reference \
15516 ldap_parse_sort_control \
15517 ldap_parse_sortresponse_control \
15518 ldap_parse_vlv_control \
15519 ldap_parse_vlvresponse_control
15521 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15522 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
15523 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
15524 cat >>confdefs.h
<<_ACEOF
15525 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15531 LIBS
="$ac_wine_check_funcs_save_LIBS"
15533 if test "x$LDAP_LIBS" = "x"; then :
15534 case "x$with_ldap" in
15535 x
) as_fn_append wine_notices
"|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
15537 *) as_fn_error $?
"libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
15538 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
15542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
15543 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
15544 if ${wine_cv_one_arg_mkdir+:} false
; then :
15545 $as_echo_n "(cached) " >&6
15547 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15548 /* end confdefs.h. */
15549 #include <sys/stat.h>
15558 if ac_fn_c_try_compile
"$LINENO"; then :
15559 wine_cv_one_arg_mkdir
=yes
15561 wine_cv_one_arg_mkdir
=no
15563 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
15566 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
15567 if test "$wine_cv_one_arg_mkdir" = "yes"
15570 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
15574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
15575 $as_echo_n "checking for sched_setaffinity... " >&6; }
15576 if ${wine_cv_have_sched_setaffinity+:} false
; then :
15577 $as_echo_n "(cached) " >&6
15579 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15580 /* end confdefs.h. */
15581 #define _GNU_SOURCE
15586 sched_setaffinity(0, 0, 0);
15591 if ac_fn_c_try_link
"$LINENO"; then :
15592 wine_cv_have_sched_setaffinity
=yes
15594 wine_cv_have_sched_setaffinity
=no
15596 rm -f core conftest.err conftest.
$ac_objext \
15597 conftest
$ac_exeext conftest.
$ac_ext
15599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
15600 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
15601 if test "$wine_cv_have_sched_setaffinity" = "yes"
15604 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
15608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
15609 $as_echo_n "checking for fallocate... " >&6; }
15610 if ${wine_cv_have_fallocate+:} false
; then :
15611 $as_echo_n "(cached) " >&6
15613 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15614 /* end confdefs.h. */
15615 #define _GNU_SOURCE
15620 fallocate(-1, 0, 0, 0);
15625 if ac_fn_c_try_link
"$LINENO"; then :
15626 wine_cv_have_fallocate
=yes
15628 wine_cv_have_fallocate
=no
15630 rm -f core conftest.err conftest.
$ac_objext \
15631 conftest
$ac_exeext conftest.
$ac_ext
15633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
15634 $as_echo "$wine_cv_have_fallocate" >&6; }
15635 if test "$wine_cv_have_fallocate" = "yes"
15638 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
15643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
15644 $as_echo_n "checking for inline... " >&6; }
15645 if ${ac_cv_c_inline+:} false
; then :
15646 $as_echo_n "(cached) " >&6
15649 for ac_kw
in inline __inline__ __inline
; do
15650 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15651 /* end confdefs.h. */
15652 #ifndef __cplusplus
15654 static $ac_kw foo_t static_foo () {return 0; }
15655 $ac_kw foo_t foo () {return 0; }
15659 if ac_fn_c_try_compile
"$LINENO"; then :
15660 ac_cv_c_inline
=$ac_kw
15662 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15663 test "$ac_cv_c_inline" != no
&& break
15667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
15668 $as_echo "$ac_cv_c_inline" >&6; }
15670 case $ac_cv_c_inline in
15673 case $ac_cv_c_inline in
15675 *) ac_val
=$ac_cv_c_inline;;
15677 cat >>confdefs.h
<<_ACEOF
15678 #ifndef __cplusplus
15679 #define inline $ac_val
15685 ac_fn_c_check_type
"$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
15686 if test "x$ac_cv_type_mode_t" = xyes
; then :
15688 cat >>confdefs.h
<<_ACEOF
15689 #define HAVE_MODE_T 1
15694 ac_fn_c_check_type
"$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
15695 if test "x$ac_cv_type_off_t" = xyes
; then :
15697 cat >>confdefs.h
<<_ACEOF
15698 #define HAVE_OFF_T 1
15703 ac_fn_c_check_type
"$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
15704 if test "x$ac_cv_type_pid_t" = xyes
; then :
15706 cat >>confdefs.h
<<_ACEOF
15707 #define HAVE_PID_T 1
15712 ac_fn_c_check_type
"$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
15713 if test "x$ac_cv_type_size_t" = xyes
; then :
15715 cat >>confdefs.h
<<_ACEOF
15716 #define HAVE_SIZE_T 1
15721 ac_fn_c_check_type
"$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
15722 if test "x$ac_cv_type_ssize_t" = xyes
; then :
15724 cat >>confdefs.h
<<_ACEOF
15725 #define HAVE_SSIZE_T 1
15730 ac_fn_c_check_type
"$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
15731 if test "x$ac_cv_type_long_long" = xyes
; then :
15733 cat >>confdefs.h
<<_ACEOF
15734 #define HAVE_LONG_LONG 1
15739 ac_fn_c_check_type
"$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
15740 if test "x$ac_cv_type_fsblkcnt_t" = xyes
; then :
15742 cat >>confdefs.h
<<_ACEOF
15743 #define HAVE_FSBLKCNT_T 1
15748 ac_fn_c_check_type
"$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
15749 if test "x$ac_cv_type_fsfilcnt_t" = xyes
; then :
15751 cat >>confdefs.h
<<_ACEOF
15752 #define HAVE_FSFILCNT_T 1
15758 ac_fn_c_check_type
"$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
15759 #include <signal.h>
15761 if test "x$ac_cv_type_sigset_t" = xyes
; then :
15763 cat >>confdefs.h
<<_ACEOF
15764 #define HAVE_SIGSET_T 1
15770 ac_fn_c_check_type
"$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
15772 if test "x$ac_cv_type_request_sense" = xyes
; then :
15774 cat >>confdefs.h
<<_ACEOF
15775 #define HAVE_REQUEST_SENSE 1
15782 ac_fn_c_check_type
"$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
15783 #ifdef HAVE_SYS_SOCKET_H
15784 #include <sys/socket.h>
15786 #ifdef HAVE_SYS_SOCKETVAR_H
15787 #include <sys/socketvar.h>
15789 #ifdef HAVE_NET_ROUTE_H
15790 #include <net/route.h>
15792 #ifdef HAVE_NETINET_IN_H
15793 #include <netinet/in.h>
15795 #ifdef HAVE_NETINET_IN_SYSTM_H
15796 #include <netinet/in_systm.h>
15798 #ifdef HAVE_NETINET_IP_H
15799 #include <netinet/ip.h>
15801 #ifdef HAVE_NETINET_IN_PCB_H
15802 #include <netinet/in_pcb.h>
15805 if test "x$ac_cv_type_struct_xinpgen" = xyes
; then :
15807 cat >>confdefs.h
<<_ACEOF
15808 #define HAVE_STRUCT_XINPGEN 1
15815 ac_fn_c_check_type
"$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
15818 #ifdef HAVE_SYS_LINK_H
15819 #include <sys/link.h>
15822 if test "x$ac_cv_type_struct_r_debug" = xyes
; then :
15824 cat >>confdefs.h
<<_ACEOF
15825 #define HAVE_STRUCT_R_DEBUG 1
15830 ac_fn_c_check_type
"$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
15833 #ifdef HAVE_SYS_LINK_H
15834 #include <sys/link.h>
15837 if test "x$ac_cv_type_struct_link_map" = xyes
; then :
15839 cat >>confdefs.h
<<_ACEOF
15840 #define HAVE_STRUCT_LINK_MAP 1
15847 ac_fn_c_check_member
"$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
15848 #include <linux/input.h>
15851 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes
; then :
15853 cat >>confdefs.h
<<_ACEOF
15854 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
15861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
15862 $as_echo_n "checking for sigaddset... " >&6; }
15863 if ${wine_cv_have_sigaddset+:} false
; then :
15864 $as_echo_n "(cached) " >&6
15866 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15867 /* end confdefs.h. */
15868 #include <signal.h>
15872 sigset_t set; sigaddset(&set,SIGTERM);
15877 if ac_fn_c_try_link
"$LINENO"; then :
15878 wine_cv_have_sigaddset
=yes
15880 wine_cv_have_sigaddset
=no
15882 rm -f core conftest.err conftest.
$ac_objext \
15883 conftest
$ac_exeext conftest.
$ac_ext
15885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
15886 $as_echo "$wine_cv_have_sigaddset" >&6; }
15887 if test "$wine_cv_have_sigaddset" = "yes"
15890 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
15895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
15896 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
15897 if ${wine_cv_linux_gethostbyname_r_6+:} false
; then :
15898 $as_echo_n "(cached) " >&6
15900 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15901 /* end confdefs.h. */
15909 struct hostent *result;
15916 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
15917 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
15923 if ac_fn_c_try_link
"$LINENO"; then :
15924 wine_cv_linux_gethostbyname_r_6
=yes
15926 wine_cv_linux_gethostbyname_r_6
=no
15929 rm -f core conftest.err conftest.
$ac_objext \
15930 conftest
$ac_exeext conftest.
$ac_ext
15933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
15934 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
15935 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
15938 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
15942 if test "$ac_cv_header_linux_joystick_h" = "yes"
15944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
15945 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
15946 if ${wine_cv_linux_joystick_22_api+:} false
; then :
15947 $as_echo_n "(cached) " >&6
15949 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15950 /* end confdefs.h. */
15952 #include <sys/ioctl.h>
15953 #include <sys/types.h>
15954 #include <linux/joystick.h>
15956 struct js_event blub;
15957 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
15958 #error "no 2.2 header"
15969 if ac_fn_c_try_compile
"$LINENO"; then :
15970 wine_cv_linux_joystick_22_api
=yes
15972 wine_cv_linux_joystick_22_api
=no
15974 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
15978 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
15979 if test "$wine_cv_linux_joystick_22_api" = "yes"
15982 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
15988 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
15989 #ifdef HAVE_SYS_PARAM_H
15990 # include <sys/param.h>
15992 #ifdef HAVE_SYS_MOUNT_H
15993 # include <sys/mount.h>
15995 #ifdef HAVE_SYS_VFS_H
15996 # include <sys/vfs.h>
15998 #ifdef HAVE_SYS_STATFS_H
15999 # include <sys/statfs.h>
16002 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes
; then :
16004 cat >>confdefs.h
<<_ACEOF
16005 #define HAVE_STRUCT_STATFS_F_BFREE 1
16010 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
16011 #ifdef HAVE_SYS_PARAM_H
16012 # include <sys/param.h>
16014 #ifdef HAVE_SYS_MOUNT_H
16015 # include <sys/mount.h>
16017 #ifdef HAVE_SYS_VFS_H
16018 # include <sys/vfs.h>
16020 #ifdef HAVE_SYS_STATFS_H
16021 # include <sys/statfs.h>
16024 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes
; then :
16026 cat >>confdefs.h
<<_ACEOF
16027 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
16032 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
16033 #ifdef HAVE_SYS_PARAM_H
16034 # include <sys/param.h>
16036 #ifdef HAVE_SYS_MOUNT_H
16037 # include <sys/mount.h>
16039 #ifdef HAVE_SYS_VFS_H
16040 # include <sys/vfs.h>
16042 #ifdef HAVE_SYS_STATFS_H
16043 # include <sys/statfs.h>
16046 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes
; then :
16048 cat >>confdefs.h
<<_ACEOF
16049 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
16054 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
16055 #ifdef HAVE_SYS_PARAM_H
16056 # include <sys/param.h>
16058 #ifdef HAVE_SYS_MOUNT_H
16059 # include <sys/mount.h>
16061 #ifdef HAVE_SYS_VFS_H
16062 # include <sys/vfs.h>
16064 #ifdef HAVE_SYS_STATFS_H
16065 # include <sys/statfs.h>
16068 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes
; then :
16070 cat >>confdefs.h
<<_ACEOF
16071 #define HAVE_STRUCT_STATFS_F_FFREE 1
16076 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
16077 #ifdef HAVE_SYS_PARAM_H
16078 # include <sys/param.h>
16080 #ifdef HAVE_SYS_MOUNT_H
16081 # include <sys/mount.h>
16083 #ifdef HAVE_SYS_VFS_H
16084 # include <sys/vfs.h>
16086 #ifdef HAVE_SYS_STATFS_H
16087 # include <sys/statfs.h>
16090 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes
; then :
16092 cat >>confdefs.h
<<_ACEOF
16093 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
16098 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
16099 #ifdef HAVE_SYS_PARAM_H
16100 # include <sys/param.h>
16102 #ifdef HAVE_SYS_MOUNT_H
16103 # include <sys/mount.h>
16105 #ifdef HAVE_SYS_VFS_H
16106 # include <sys/vfs.h>
16108 #ifdef HAVE_SYS_STATFS_H
16109 # include <sys/statfs.h>
16112 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes
; then :
16114 cat >>confdefs.h
<<_ACEOF
16115 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
16122 ac_fn_c_check_member
"$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
16123 #include <sys/statvfs.h>
16126 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes
; then :
16128 cat >>confdefs.h
<<_ACEOF
16129 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
16136 ac_fn_c_check_member
"$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
16137 #include <dirent.h>
16140 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes
; then :
16142 cat >>confdefs.h
<<_ACEOF
16143 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
16150 ac_fn_c_check_member
"$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
16151 #ifdef HAVE_SYS_SOCKET_H
16152 # include <sys/socket.h>
16154 #ifdef HAVE_SYS_UN_H
16155 # include <sys/un.h>
16158 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes
; then :
16160 cat >>confdefs.h
<<_ACEOF
16161 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
16166 ac_fn_c_check_member
"$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
16167 #ifdef HAVE_SYS_SOCKET_H
16168 # include <sys/socket.h>
16170 #ifdef HAVE_SYS_UN_H
16171 # include <sys/un.h>
16174 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes
; then :
16176 cat >>confdefs.h
<<_ACEOF
16177 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
16182 ac_fn_c_check_member
"$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
16183 #ifdef HAVE_SYS_SOCKET_H
16184 # include <sys/socket.h>
16186 #ifdef HAVE_SYS_UN_H
16187 # include <sys/un.h>
16190 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes
; then :
16192 cat >>confdefs.h
<<_ACEOF
16193 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
16200 ac_fn_c_check_member
"$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
16201 #ifdef HAVE_SCSI_SG_H
16202 #include <scsi/sg.h>
16205 if test "x$ac_cv_member_scsireq_t_cmd" = xyes
; then :
16207 cat >>confdefs.h
<<_ACEOF
16208 #define HAVE_SCSIREQ_T_CMD 1
16213 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>
16214 #ifdef HAVE_SCSI_SG_H
16215 #include <scsi/sg.h>
16218 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes
; then :
16220 cat >>confdefs.h
<<_ACEOF
16221 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
16228 ac_fn_c_check_member
"$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
16230 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes
; then :
16232 cat >>confdefs.h
<<_ACEOF
16233 #define HAVE_SIGINFO_T_SI_FD 1
16240 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
16241 #ifdef HAVE_SYS_MTIO_H
16242 #include <sys/mtio.h>
16245 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes
; then :
16247 cat >>confdefs.h
<<_ACEOF
16248 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
16253 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
16254 #ifdef HAVE_SYS_MTIO_H
16255 #include <sys/mtio.h>
16258 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes
; then :
16260 cat >>confdefs.h
<<_ACEOF
16261 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
16266 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
16267 #ifdef HAVE_SYS_MTIO_H
16268 #include <sys/mtio.h>
16271 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes
; then :
16273 cat >>confdefs.h
<<_ACEOF
16274 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
16281 ac_fn_c_check_member
"$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
16282 #include <getopt.h>
16285 if test "x$ac_cv_member_struct_option_name" = xyes
; then :
16287 cat >>confdefs.h
<<_ACEOF
16288 #define HAVE_STRUCT_OPTION_NAME 1
16295 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
16296 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes
; then :
16298 cat >>confdefs.h
<<_ACEOF
16299 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
16304 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
16305 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes
; then :
16307 cat >>confdefs.h
<<_ACEOF
16308 #define HAVE_STRUCT_STAT_ST_MTIM 1
16313 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
16314 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes
; then :
16316 cat >>confdefs.h
<<_ACEOF
16317 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
16322 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
16323 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes
; then :
16325 cat >>confdefs.h
<<_ACEOF
16326 #define HAVE_STRUCT_STAT_ST_CTIM 1
16331 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
16332 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes
; then :
16334 cat >>confdefs.h
<<_ACEOF
16335 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
16340 ac_fn_c_check_member
"$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
16341 if test "x$ac_cv_member_struct_stat_st_atim" = xyes
; then :
16343 cat >>confdefs.h
<<_ACEOF
16344 #define HAVE_STRUCT_STAT_ST_ATIM 1
16349 ac_fn_c_check_member
"$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
16350 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes
; then :
16352 cat >>confdefs.h
<<_ACEOF
16353 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
16358 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
16359 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes
; then :
16361 cat >>confdefs.h
<<_ACEOF
16362 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
16367 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
16368 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes
; then :
16370 cat >>confdefs.h
<<_ACEOF
16371 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
16376 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
16377 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes
; then :
16379 cat >>confdefs.h
<<_ACEOF
16380 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
16385 ac_fn_c_check_member
"$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
16386 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes
; then :
16388 cat >>confdefs.h
<<_ACEOF
16389 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
16394 ac_fn_c_check_member
"$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
16395 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes
; then :
16397 cat >>confdefs.h
<<_ACEOF
16398 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
16405 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
16406 #include <sys/types.h>
16408 #ifdef HAVE_NETINET_IN_H
16409 #include <netinet/in.h>
16412 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes
; then :
16414 cat >>confdefs.h
<<_ACEOF
16415 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
16422 ac_fn_c_check_type
"$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_RESOLV_H
16423 #include <resolv.h>
16426 if test "x$ac_cv_type_struct___res_state" = xyes
; then :
16428 cat >>confdefs.h
<<_ACEOF
16429 #define HAVE_STRUCT___RES_STATE 1
16436 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
16437 #include <resolv.h>
16440 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes
; then :
16442 cat >>confdefs.h
<<_ACEOF
16443 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
16450 ac_fn_c_check_member
"$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
16451 #include <sys/types.h>
16453 #ifdef HAVE_NETINET_IN_H
16454 # include <netinet/in.h>
16456 #ifdef HAVE_ARPA_NAMESER_H
16457 # include <arpa/nameser.h>
16460 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes
; then :
16462 cat >>confdefs.h
<<_ACEOF
16463 #define HAVE_NS_MSG__MSG_PTR 1
16470 ac_fn_c_check_member
"$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
16471 #include <sys/types.h>
16473 #ifdef HAVE_NETINET_IP_H
16474 #include <netinet/ip.h>
16476 #ifdef HAVE_NETINET_IP_ICMP_H
16477 #include <netinet/ip_icmp.h>
16479 #ifdef HAVE_NETINET_ICMP_VAR_H
16480 #include <netinet/icmp_var.h>
16483 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes
; then :
16485 cat >>confdefs.h
<<_ACEOF
16486 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
16493 ac_fn_c_check_member
"$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
16494 #include <sys/types.h>
16496 #ifdef HAVE_ALIAS_H
16499 #ifdef HAVE_SYS_SOCKET_H
16500 #include <sys/socket.h>
16502 #ifdef HAVE_SYS_SOCKETVAR_H
16503 #include <sys/socketvar.h>
16505 #ifdef HAVE_SYS_TIMEOUT_H
16506 #include <sys/timeout.h>
16508 #ifdef HAVE_NETINET_IN_H
16509 #include <netinet/in.h>
16511 #ifdef HAVE_NETINET_IN_SYSTM_H
16512 #include <netinet/in_systm.h>
16514 #ifdef HAVE_NETINET_IP_H
16515 #include <netinet/ip.h>
16517 #ifdef HAVE_NETINET_IP_VAR_H
16518 #include <netinet/ip_var.h>
16520 #ifdef HAVE_NETINET_IP_ICMP_H
16521 #include <netinet/ip_icmp.h>
16523 #ifdef HAVE_NETINET_ICMP_VAR_H
16524 #include <netinet/icmp_var.h>
16527 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes
; then :
16529 cat >>confdefs.h
<<_ACEOF
16530 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
16537 ac_fn_c_check_member
"$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
16538 #include <sys/types.h>
16540 #ifdef HAVE_SYS_SOCKETVAR_H
16541 #include <sys/socketvar.h>
16543 #ifdef HAVE_NETINET_IN_H
16544 #include <netinet/in.h>
16546 #ifdef HAVE_NETINET_IP_VAR_H
16547 #include <netinet/ip_var.h>
16550 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes
; then :
16552 cat >>confdefs.h
<<_ACEOF
16553 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
16560 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
16561 #include <netinet/ip_var.h>
16564 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes
; then :
16566 cat >>confdefs.h
<<_ACEOF
16567 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
16574 ac_fn_c_check_member
"$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
16575 #include <sys/types.h>
16577 #ifdef HAVE_SYS_SOCKETVAR_H
16578 #include <sys/socketvar.h>
16580 #ifdef HAVE_NETINET_IN_H
16581 #include <netinet/in.h>
16583 #ifdef HAVE_NETINET_TCP_H
16584 #include <netinet/tcp.h>
16586 #ifdef HAVE_NETINET_TCP_VAR_H
16587 #include <netinet/tcp_var.h>
16590 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes
; then :
16592 cat >>confdefs.h
<<_ACEOF
16593 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
16600 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
16601 #include <netinet/tcp_var.h>
16604 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes
; then :
16606 cat >>confdefs.h
<<_ACEOF
16607 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
16614 ac_fn_c_check_member
"$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
16615 #include <sys/types.h>
16617 #ifdef HAVE_NETINET_IN_H
16618 #include <netinet/in.h>
16620 #ifdef HAVE_NETINET_IP_VAR_H
16621 #include <netinet/ip_var.h>
16623 #ifdef HAVE_NETINET_UDP_H
16624 #include <netinet/udp.h>
16626 #ifdef HAVE_NETINET_UDP_VAR_H
16627 #include <netinet/udp_var.h>
16630 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes
; then :
16632 cat >>confdefs.h
<<_ACEOF
16633 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
16640 ac_fn_c_check_member
"$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
16641 #include <sys/types.h>
16643 #ifdef HAVE_NET_IF_H
16644 # include <net/if.h>
16647 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes
; then :
16649 cat >>confdefs.h
<<_ACEOF
16650 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
16657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
16658 $as_echo_n "checking for timezone variable... " >&6; }
16659 if ${ac_cv_have_timezone+:} false
; then :
16660 $as_echo_n "(cached) " >&6
16662 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16663 /* end confdefs.h. */
16673 if ac_fn_c_try_link
"$LINENO"; then :
16674 ac_cv_have_timezone
="yes"
16676 ac_cv_have_timezone
="no"
16678 rm -f core conftest.err conftest.
$ac_objext \
16679 conftest
$ac_exeext conftest.
$ac_ext
16681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
16682 $as_echo "$ac_cv_have_timezone" >&6; }
16683 if test "$ac_cv_have_timezone" = "yes"
16686 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
16689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
16690 $as_echo_n "checking for daylight variable... " >&6; }
16691 if ${ac_cv_have_daylight+:} false
; then :
16692 $as_echo_n "(cached) " >&6
16694 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16695 /* end confdefs.h. */
16705 if ac_fn_c_try_link
"$LINENO"; then :
16706 ac_cv_have_daylight
="yes"
16708 ac_cv_have_daylight
="no"
16710 rm -f core conftest.err conftest.
$ac_objext \
16711 conftest
$ac_exeext conftest.
$ac_ext
16713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
16714 $as_echo "$ac_cv_have_daylight" >&6; }
16715 if test "$ac_cv_have_daylight" = "yes"
16718 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
16722 ac_save_LIBS
="$LIBS"
16724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
16725 $as_echo_n "checking for isfinite... " >&6; }
16726 if ${ac_cv_have_isfinite+:} false
; then :
16727 $as_echo_n "(cached) " >&6
16729 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16730 /* end confdefs.h. */
16731 #define _GNU_SOURCE
16736 float f = 0.0; return isfinite(f)
16741 if ac_fn_c_try_link
"$LINENO"; then :
16742 ac_cv_have_isfinite
="yes"
16744 ac_cv_have_isfinite
="no"
16746 rm -f core conftest.err conftest.
$ac_objext \
16747 conftest
$ac_exeext conftest.
$ac_ext
16749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
16750 $as_echo "$ac_cv_have_isfinite" >&6; }
16751 if test "$ac_cv_have_isfinite" = "yes"
16754 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
16758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
16759 $as_echo_n "checking for isinf... " >&6; }
16760 if ${ac_cv_have_isinf+:} false
; then :
16761 $as_echo_n "(cached) " >&6
16763 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16764 /* end confdefs.h. */
16769 float f = 0.0; return isinf(f)
16774 if ac_fn_c_try_link
"$LINENO"; then :
16775 ac_cv_have_isinf
="yes"
16777 ac_cv_have_isinf
="no"
16779 rm -f core conftest.err conftest.
$ac_objext \
16780 conftest
$ac_exeext conftest.
$ac_ext
16782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
16783 $as_echo "$ac_cv_have_isinf" >&6; }
16784 if test "$ac_cv_have_isinf" = "yes"
16787 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
16791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
16792 $as_echo_n "checking for isnan... " >&6; }
16793 if ${ac_cv_have_isnan+:} false
; then :
16794 $as_echo_n "(cached) " >&6
16796 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16797 /* end confdefs.h. */
16802 float f = 0.0; return isnan(f)
16807 if ac_fn_c_try_link
"$LINENO"; then :
16808 ac_cv_have_isnan
="yes"
16810 ac_cv_have_isnan
="no"
16812 rm -f core conftest.err conftest.
$ac_objext \
16813 conftest
$ac_exeext conftest.
$ac_ext
16815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
16816 $as_echo "$ac_cv_have_isnan" >&6; }
16817 if test "$ac_cv_have_isnan" = "yes"
16820 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
16849 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16850 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
16851 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
16852 cat >>confdefs.h
<<_ACEOF
16853 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16859 LIBS
="$ac_save_LIBS"
16861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_clz" >&5
16862 $as_echo_n "checking for __builtin_clz... " >&6; }
16863 if ${ac_cv_have___builtin_clz+:} false
; then :
16864 $as_echo_n "(cached) " >&6
16866 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16867 /* end confdefs.h. */
16872 return __builtin_clz(1)
16877 if ac_fn_c_try_link
"$LINENO"; then :
16878 ac_cv_have___builtin_clz
="yes"
16880 ac_cv_have___builtin_clz
="no"
16882 rm -f core conftest.err conftest.
$ac_objext \
16883 conftest
$ac_exeext conftest.
$ac_ext
16885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_clz" >&5
16886 $as_echo "$ac_cv_have___builtin_clz" >&6; }
16887 if test "$ac_cv_have___builtin_clz" = "yes"
16890 $as_echo "#define HAVE___BUILTIN_CLZ 1" >>confdefs.h
16896 *i
[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
16897 $as_echo_n "checking whether we need to define __i386__... " >&6; }
16898 if ${ac_cv_cpp_def___i386__+:} false
; then :
16899 $as_echo_n "(cached) " >&6
16901 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16902 /* end confdefs.h. */
16907 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16908 $EGREP "yes" >/dev
/null
2>&1; then :
16909 ac_cv_cpp_def___i386__
=yes
16911 ac_cv_cpp_def___i386__
=no
16916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
16917 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
16918 if test "x$ac_cv_cpp_def___i386__" = xyes
; then :
16919 CFLAGS
="$CFLAGS -D__i386__"
16920 LINTFLAGS
="$LINTFLAGS -D__i386__"
16922 *x86_64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
16923 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
16924 if ${ac_cv_cpp_def___x86_64__+:} false
; then :
16925 $as_echo_n "(cached) " >&6
16927 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16928 /* end confdefs.h. */
16933 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16934 $EGREP "yes" >/dev
/null
2>&1; then :
16935 ac_cv_cpp_def___x86_64__
=yes
16937 ac_cv_cpp_def___x86_64__
=no
16942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
16943 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
16944 if test "x$ac_cv_cpp_def___x86_64__" = xyes
; then :
16945 CFLAGS
="$CFLAGS -D__x86_64__"
16946 LINTFLAGS
="$LINTFLAGS -D__x86_64__"
16948 *sparc64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
16949 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
16950 if ${ac_cv_cpp_def___sparc64__+:} false
; then :
16951 $as_echo_n "(cached) " >&6
16953 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16954 /* end confdefs.h. */
16955 #ifndef __sparc64__
16959 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16960 $EGREP "yes" >/dev
/null
2>&1; then :
16961 ac_cv_cpp_def___sparc64__
=yes
16963 ac_cv_cpp_def___sparc64__
=no
16968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
16969 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
16970 if test "x$ac_cv_cpp_def___sparc64__" = xyes
; then :
16971 CFLAGS
="$CFLAGS -D__sparc64__"
16972 LINTFLAGS
="$LINTFLAGS -D__sparc64__"
16974 *sparc
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
16975 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
16976 if ${ac_cv_cpp_def___sparc__+:} false
; then :
16977 $as_echo_n "(cached) " >&6
16979 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16980 /* end confdefs.h. */
16985 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16986 $EGREP "yes" >/dev
/null
2>&1; then :
16987 ac_cv_cpp_def___sparc__
=yes
16989 ac_cv_cpp_def___sparc__
=no
16994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
16995 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
16996 if test "x$ac_cv_cpp_def___sparc__" = xyes
; then :
16997 CFLAGS
="$CFLAGS -D__sparc__"
16998 LINTFLAGS
="$LINTFLAGS -D__sparc__"
17000 *powerpc64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
17001 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
17002 if ${ac_cv_cpp_def___powerpc64__+:} false
; then :
17003 $as_echo_n "(cached) " >&6
17005 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17006 /* end confdefs.h. */
17007 #ifndef __powerpc64__
17011 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17012 $EGREP "yes" >/dev
/null
2>&1; then :
17013 ac_cv_cpp_def___powerpc64__
=yes
17015 ac_cv_cpp_def___powerpc64__
=no
17020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
17021 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
17022 if test "x$ac_cv_cpp_def___powerpc64__" = xyes
; then :
17023 CFLAGS
="$CFLAGS -D__powerpc64__"
17024 LINTFLAGS
="$LINTFLAGS -D__powerpc64__"
17026 *powerpc
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
17027 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
17028 if ${ac_cv_cpp_def___powerpc__+:} false
; then :
17029 $as_echo_n "(cached) " >&6
17031 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17032 /* end confdefs.h. */
17033 #ifndef __powerpc__
17037 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17038 $EGREP "yes" >/dev
/null
2>&1; then :
17039 ac_cv_cpp_def___powerpc__
=yes
17041 ac_cv_cpp_def___powerpc__
=no
17046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
17047 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
17048 if test "x$ac_cv_cpp_def___powerpc__" = xyes
; then :
17049 CFLAGS
="$CFLAGS -D__powerpc__"
17050 LINTFLAGS
="$LINTFLAGS -D__powerpc__"
17052 *aarch64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
17053 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
17054 if ${ac_cv_cpp_def___aarch64__+:} false
; then :
17055 $as_echo_n "(cached) " >&6
17057 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17058 /* end confdefs.h. */
17059 #ifndef __aarch64__
17063 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17064 $EGREP "yes" >/dev
/null
2>&1; then :
17065 ac_cv_cpp_def___aarch64__
=yes
17067 ac_cv_cpp_def___aarch64__
=no
17072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
17073 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
17074 if test "x$ac_cv_cpp_def___aarch64__" = xyes
; then :
17075 CFLAGS
="$CFLAGS -D__aarch64__"
17076 LINTFLAGS
="$LINTFLAGS -D__aarch64__"
17078 *arm
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
17079 $as_echo_n "checking whether we need to define __arm__... " >&6; }
17080 if ${ac_cv_cpp_def___arm__+:} false
; then :
17081 $as_echo_n "(cached) " >&6
17083 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17084 /* end confdefs.h. */
17089 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17090 $EGREP "yes" >/dev
/null
2>&1; then :
17091 ac_cv_cpp_def___arm__
=yes
17093 ac_cv_cpp_def___arm__
=no
17098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
17099 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
17100 if test "x$ac_cv_cpp_def___arm__" = xyes
; then :
17101 CFLAGS
="$CFLAGS -D__arm__"
17102 LINTFLAGS
="$LINTFLAGS -D__arm__"
17106 case $host_vendor in
17107 *sun
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
17108 $as_echo_n "checking whether we need to define __sun__... " >&6; }
17109 if ${ac_cv_cpp_def___sun__+:} false
; then :
17110 $as_echo_n "(cached) " >&6
17112 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17113 /* end confdefs.h. */
17118 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17119 $EGREP "yes" >/dev
/null
2>&1; then :
17120 ac_cv_cpp_def___sun__
=yes
17122 ac_cv_cpp_def___sun__
=no
17127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
17128 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
17129 if test "x$ac_cv_cpp_def___sun__" = xyes
; then :
17130 CFLAGS
="$CFLAGS -D__sun__"
17131 LINTFLAGS
="$LINTFLAGS -D__sun__"
17139 ac_config_commands
="$ac_config_commands include/stamp-h"
17141 $as_echo_n "creating Makefile rules..." >&6
17143 ALL_VARS_RULES
="OPENGL_LIBS = $OPENGL_LIBS
17144 SOCKET_LIBS = $SOCKET_LIBS
17145 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
17146 IOKIT_LIBS = $IOKIT_LIBS
17147 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
17148 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
17149 CORESERVICES_LIBS = $CORESERVICES_LIBS
17150 APPKIT_LIBS = $APPKIT_LIBS
17151 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
17152 SECURITY_LIBS = $SECURITY_LIBS
17153 COREAUDIO_LIBS = $COREAUDIO_LIBS
17154 OPENAL_LIBS = $OPENAL_LIBS
17155 OPENCL_LIBS = $OPENCL_LIBS
17156 QUICKTIME_LIBS = $QUICKTIME_LIBS
17157 CARBON_LIBS = $CARBON_LIBS
17158 PTHREAD_LIBS = $PTHREAD_LIBS
17159 X_CFLAGS = $X_CFLAGS
17160 X_PRE_LIBS = $X_PRE_LIBS
17162 X_EXTRA_LIBS = $X_EXTRA_LIBS
17163 PCAP_LIBS = $PCAP_LIBS
17164 XML2_CFLAGS = $XML2_CFLAGS
17165 XML2_LIBS = $XML2_LIBS
17166 XSLT_CFLAGS = $XSLT_CFLAGS
17167 XSLT_LIBS = $XSLT_LIBS
17168 DBUS_CFLAGS = $DBUS_CFLAGS
17169 DBUS_LIBS = $DBUS_LIBS
17170 HAL_CFLAGS = $HAL_CFLAGS
17171 HAL_LIBS = $HAL_LIBS
17172 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
17173 GNUTLS_LIBS = $GNUTLS_LIBS
17174 SANE_CFLAGS = $SANE_CFLAGS
17175 SANE_LIBS = $SANE_LIBS
17176 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
17177 GPHOTO2_LIBS = $GPHOTO2_LIBS
17178 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
17179 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
17180 RESOLV_LIBS = $RESOLV_LIBS
17181 LCMS2_CFLAGS = $LCMS2_CFLAGS
17182 LCMS2_LIBS = $LCMS2_LIBS
17183 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
17184 FREETYPE_LIBS = $FREETYPE_LIBS
17186 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
17187 PULSE_CFLAGS = $PULSE_CFLAGS
17188 PULSE_LIBS = $PULSE_LIBS
17189 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
17190 GSTREAMER_LIBS = $GSTREAMER_LIBS
17191 ALSA_LIBS = $ALSA_LIBS
17192 OSS4_CFLAGS = $OSS4_CFLAGS
17193 CAPI20_CFLAGS = $CAPI20_CFLAGS
17194 CAPI20_LIBS = $CAPI20_LIBS
17195 CUPS_CFLAGS = $CUPS_CFLAGS
17196 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
17197 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
17198 JPEG_CFLAGS = $JPEG_CFLAGS
17199 JPEG_LIBS = $JPEG_LIBS
17200 PNG_CFLAGS = $PNG_CFLAGS
17201 PNG_LIBS = $PNG_LIBS
17202 TIFF_CFLAGS = $TIFF_CFLAGS
17203 TIFF_LIBS = $TIFF_LIBS
17204 MPG123_CFLAGS = $MPG123_CFLAGS
17205 MPG123_LIBS = $MPG123_LIBS
17206 KSTAT_LIBS = $KSTAT_LIBS
17207 PROCSTAT_LIBS = $PROCSTAT_LIBS
17208 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
17210 POLL_LIBS = $POLL_LIBS
17212 LDAP_LIBS = $LDAP_LIBS
17217 wine_fn_append_rule
"
17218 # Rules automatically generated by configure
17220 CLEAN_FILES = *.o *.a *.so *.res *.fake *.ok *.tab.[ch] *.yy.c
17225 Makefile: $srcdir/Makefile.in config.status \$(MAKEDEP)
17226 @./config.status Make.tmp Makefile"
17228 test "$srcdir" = .
&& wine_fn_append_rule
"all: .gitignore
17229 .gitignore: config.status
17230 @./config.status .gitignore"
17232 test -n "$CROSSTARGET" || wine_fn_append_rule
"crosstest:
17233 @echo \"crosstest is not supported (mingw not installed?)\" && false"
17235 if test "x$enable_fonts" != xno
; then
17236 ac_config_links
="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
17237 ac_config_links
="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
17238 ac_config_links
="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
17239 ac_config_links
="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
17240 ac_config_links
="$ac_config_links fonts/wingding.ttf:fonts/wingding.ttf"
17241 test "$srcdir" = "." || wine_fn_config_symlink fonts
/marlett.ttf fonts
/symbol.ttf fonts
/tahoma.ttf fonts
/tahomabd.ttf fonts
/wingding.ttf
17243 ac_config_links
="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
17244 test "$srcdir" = "." || wine_fn_config_symlink loader
/l_intl.nls
17245 ac_config_links
="$ac_config_links po/LINGUAS:po/LINGUAS"
17246 test "$srcdir" = "." || wine_fn_config_symlink po
/LINGUAS
17247 ac_config_links
="$ac_config_links wine:tools/winewrapper"
17248 wine_fn_config_symlink wine
17249 if test "x$enable_win64" != xno
; then
17250 ac_config_links
="$ac_config_links wine64:tools/winewrapper"
17251 wine_fn_config_symlink wine64
17254 wine_fn_config_dll acledit enable_acledit
17255 wine_fn_config_dll aclui enable_aclui implib
17256 wine_fn_config_dll activeds enable_activeds implib
17257 wine_fn_config_dll actxprxy enable_actxprxy clean
17258 wine_fn_config_lib adsiid
17259 wine_fn_config_dll advapi32 enable_advapi32 clean
,implib
17260 wine_fn_config_test dlls
/advapi32
/tests advapi32_test
17261 wine_fn_config_dll advpack enable_advpack implib
17262 wine_fn_config_test dlls
/advpack
/tests advpack_test
17263 wine_fn_config_dll amstream enable_amstream clean
17264 wine_fn_config_test dlls
/amstream
/tests amstream_test
17265 wine_fn_config_dll api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
17266 wine_fn_config_dll api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
17267 wine_fn_config_dll api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
17268 wine_fn_config_dll api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
17269 wine_fn_config_dll api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
17270 wine_fn_config_dll api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
17271 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
17272 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
17273 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
17274 wine_fn_config_dll api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
17275 wine_fn_config_dll api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
17276 wine_fn_config_dll api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
17277 wine_fn_config_dll api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
17278 wine_fn_config_dll api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
17279 wine_fn_config_dll api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
17280 wine_fn_config_dll api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
17281 wine_fn_config_dll api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
17282 wine_fn_config_dll api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
17283 wine_fn_config_dll api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
17284 wine_fn_config_dll api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
17285 wine_fn_config_dll api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
17286 wine_fn_config_dll api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
17287 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
17288 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
17289 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
17290 wine_fn_config_dll api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
17291 wine_fn_config_dll api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
17292 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
17293 wine_fn_config_dll api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
17294 wine_fn_config_dll api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
17295 wine_fn_config_dll api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
17296 wine_fn_config_dll api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
17297 wine_fn_config_dll api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
17298 wine_fn_config_dll api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
17299 wine_fn_config_dll api-ms-win-core-path-l1-1-0 enable_api_ms_win_core_path_l1_1_0
17300 wine_fn_config_dll api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
17301 wine_fn_config_dll api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
17302 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
17303 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
17304 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
17305 wine_fn_config_dll api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
17306 wine_fn_config_dll api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
17307 wine_fn_config_dll api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
17308 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
17309 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
17310 wine_fn_config_dll api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
17311 wine_fn_config_dll api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
17312 wine_fn_config_dll api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
17313 wine_fn_config_dll api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
17314 wine_fn_config_dll api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
17315 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
17316 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
17317 wine_fn_config_dll api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
17318 wine_fn_config_dll api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
17319 wine_fn_config_dll api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
17320 wine_fn_config_dll api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
17321 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
17322 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
17323 wine_fn_config_dll api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
17324 wine_fn_config_dll api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
17325 wine_fn_config_dll api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
17326 wine_fn_config_dll api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
17327 wine_fn_config_dll api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
17328 wine_fn_config_dll api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
17329 wine_fn_config_dll api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
17330 wine_fn_config_dll api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
17331 wine_fn_config_dll api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
17332 wine_fn_config_dll api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
17333 wine_fn_config_dll api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
17334 wine_fn_config_dll api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
17335 wine_fn_config_dll api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
17336 wine_fn_config_dll api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
17337 wine_fn_config_dll api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
17338 wine_fn_config_dll api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
17339 wine_fn_config_dll api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
17340 wine_fn_config_dll api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
17341 wine_fn_config_dll api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
17342 wine_fn_config_dll api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
17343 wine_fn_config_dll api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
17344 wine_fn_config_dll api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
17345 wine_fn_config_dll api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
17346 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
17347 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
17348 wine_fn_config_dll api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
17349 wine_fn_config_dll api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
17350 wine_fn_config_dll api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
17351 wine_fn_config_dll api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
17352 wine_fn_config_dll api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
17353 wine_fn_config_dll api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
17354 wine_fn_config_dll api-ms-win-security-lsalookup-l1-1-0 enable_api_ms_win_security_lsalookup_l1_1_0
17355 wine_fn_config_dll api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
17356 wine_fn_config_dll api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
17357 wine_fn_config_dll api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
17358 wine_fn_config_dll api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
17359 wine_fn_config_dll apphelp enable_apphelp
17360 wine_fn_config_test dlls
/apphelp
/tests apphelp_test
17361 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl po
17362 wine_fn_config_dll atl enable_atl clean
,implib
17363 wine_fn_config_test dlls
/atl
/tests atl_test
17364 wine_fn_config_dll atl100 enable_atl100 clean
,implib
17365 wine_fn_config_test dlls
/atl100
/tests atl100_test
17366 wine_fn_config_dll atl110 enable_atl110 clean
17367 wine_fn_config_dll atl80 enable_atl80 clean
,implib
17368 wine_fn_config_test dlls
/atl80
/tests atl80_test
17369 wine_fn_config_dll atl90 enable_atl90 clean
17370 wine_fn_config_dll authz enable_authz
17371 wine_fn_config_dll avicap32 enable_avicap32 implib
17372 wine_fn_config_dll avifil32 enable_avifil32 clean
,implib
,po
17373 wine_fn_config_test dlls
/avifil32
/tests avifil32_test
17374 wine_fn_config_dll avifile.dll16 enable_win16
17375 wine_fn_config_dll avrt enable_avrt implib
17376 wine_fn_config_dll bcrypt enable_bcrypt
17377 wine_fn_config_test dlls
/bcrypt
/tests bcrypt_test
17378 wine_fn_config_dll bluetoothapis enable_bluetoothapis
17379 wine_fn_config_dll browseui enable_browseui clean
,po
17380 wine_fn_config_test dlls
/browseui
/tests browseui_test
17381 wine_fn_config_dll bthprops.cpl enable_bthprops_cpl
17382 wine_fn_config_dll cabinet enable_cabinet implib
17383 wine_fn_config_test dlls
/cabinet
/tests cabinet_test
17384 wine_fn_config_dll capi2032 enable_capi2032 implib
17385 wine_fn_config_dll cards enable_cards implib
17386 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
17387 wine_fn_config_dll clusapi enable_clusapi implib
17388 wine_fn_config_dll combase enable_combase
17389 wine_fn_config_test dlls
/combase
/tests combase_test
17390 wine_fn_config_dll comcat enable_comcat
17391 wine_fn_config_test dlls
/comcat
/tests comcat_test
17392 wine_fn_config_dll comctl32 enable_comctl32 implib
,po
17393 wine_fn_config_test dlls
/comctl32
/tests comctl32_test
17394 wine_fn_config_dll comdlg32 enable_comdlg32 clean
,implib
,po
17395 wine_fn_config_test dlls
/comdlg32
/tests comdlg32_test
17396 wine_fn_config_dll
comm.drv16 enable_win16
17397 wine_fn_config_dll commdlg.dll16 enable_win16
17398 wine_fn_config_dll compobj.dll16 enable_win16
17399 wine_fn_config_dll compstui enable_compstui implib
17400 wine_fn_config_dll comsvcs enable_comsvcs implib
17401 wine_fn_config_dll connect enable_connect
17402 wine_fn_config_dll credui enable_credui implib
,po
17403 wine_fn_config_test dlls
/credui
/tests credui_test
17404 wine_fn_config_dll crtdll enable_crtdll implib
17405 wine_fn_config_dll crypt32 enable_crypt32 implib
,po
17406 wine_fn_config_test dlls
/crypt32
/tests crypt32_test
17407 wine_fn_config_dll cryptdlg enable_cryptdlg po
17408 wine_fn_config_dll cryptdll enable_cryptdll implib
17409 wine_fn_config_dll cryptext enable_cryptext
17410 wine_fn_config_dll cryptnet enable_cryptnet implib
17411 wine_fn_config_test dlls
/cryptnet
/tests cryptnet_test
17412 wine_fn_config_dll cryptui enable_cryptui implib
,po
17413 wine_fn_config_test dlls
/cryptui
/tests cryptui_test
17414 wine_fn_config_dll ctapi32 enable_ctapi32
17415 wine_fn_config_dll ctl3d.dll16 enable_win16
17416 wine_fn_config_dll ctl3d32 enable_ctl3d32 implib
17417 wine_fn_config_dll ctl3dv2.dll16 enable_win16
17418 wine_fn_config_dll d2d1 enable_d2d1 implib
17419 wine_fn_config_test dlls
/d2d
1/tests d2d1_test
17420 wine_fn_config_dll d3d10 enable_d3d10 implib
17421 wine_fn_config_test dlls
/d3d10
/tests d3d10_test
17422 wine_fn_config_dll d3d10_1 enable_d3d10_1 implib
17423 wine_fn_config_test dlls
/d3d10_
1/tests d3d10_1_test
17424 wine_fn_config_dll d3d10core enable_d3d10core implib
17425 wine_fn_config_test dlls
/d3d10core
/tests d3d10core_test
17426 wine_fn_config_dll d3d11 enable_d3d11 implib
17427 wine_fn_config_test dlls
/d3d11
/tests d3d11_test
17428 wine_fn_config_dll d3d8 enable_d3d8 implib
17429 wine_fn_config_test dlls
/d3d
8/tests d3d8_test
17430 wine_fn_config_dll d3d9 enable_d3d9 implib
17431 wine_fn_config_test dlls
/d3d
9/tests d3d9_test
17432 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
17433 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
17434 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
17435 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
17436 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
17437 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
17438 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
17439 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
17440 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
17441 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
17442 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
17443 wine_fn_config_test dlls
/d3dcompiler_43
/tests d3dcompiler_43_test
17444 wine_fn_config_dll d3dcompiler_46 enable_d3dcompiler_46
17445 wine_fn_config_dll d3dcompiler_47 enable_d3dcompiler_47
17446 wine_fn_config_dll d3dim enable_d3dim implib
17447 wine_fn_config_dll d3drm enable_d3drm implib
17448 wine_fn_config_test dlls
/d3drm
/tests d3drm_test
17449 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
17450 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
17451 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
17452 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
17453 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
17454 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
17455 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
17456 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
17457 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
17458 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
17459 wine_fn_config_dll d3dx10_43 enable_d3dx10_43 implib d3dx10
17460 wine_fn_config_dll d3dx11_42 enable_d3dx11_42
17461 wine_fn_config_dll d3dx11_43 enable_d3dx11_43
17462 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
17463 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
17464 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
17465 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
17466 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
17467 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
17468 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
17469 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
17470 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
17471 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
17472 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
17473 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
17474 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
17475 wine_fn_config_test dlls
/d3dx9_36
/tests d3dx9_36_test
17476 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
17477 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
17478 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
17479 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
17480 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
17481 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
17482 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
17483 wine_fn_config_dll d3dxof enable_d3dxof clean
,implib
17484 wine_fn_config_test dlls
/d3dxof
/tests d3dxof_test
17485 wine_fn_config_dll davclnt enable_davclnt
17486 wine_fn_config_dll dbgeng enable_dbgeng implib
17487 wine_fn_config_dll dbghelp enable_dbghelp implib
17488 wine_fn_config_dll dciman32 enable_dciman32 implib
17489 wine_fn_config_dll ddeml.dll16 enable_win16
17490 wine_fn_config_dll ddraw enable_ddraw clean
,implib
17491 wine_fn_config_test dlls
/ddraw
/tests ddraw_test
17492 wine_fn_config_dll ddrawex enable_ddrawex clean
17493 wine_fn_config_test dlls
/ddrawex
/tests ddrawex_test
17494 wine_fn_config_dll devenum enable_devenum clean
,po
17495 wine_fn_config_test dlls
/devenum
/tests devenum_test
17496 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
17497 wine_fn_config_dll difxapi enable_difxapi
17498 wine_fn_config_dll dinput enable_dinput clean
,implib
,po
,staticimplib
17499 wine_fn_config_test dlls
/dinput
/tests dinput_test
17500 wine_fn_config_dll dinput8 enable_dinput8 clean
,implib
17501 wine_fn_config_test dlls
/dinput
8/tests dinput8_test
17502 wine_fn_config_dll dispdib.dll16 enable_win16
17503 wine_fn_config_dll dispex enable_dispex clean
17504 wine_fn_config_test dlls
/dispex
/tests dispex_test
17505 wine_fn_config_dll display.drv16 enable_win16
17506 wine_fn_config_dll dmband enable_dmband clean
17507 wine_fn_config_test dlls
/dmband
/tests dmband_test
17508 wine_fn_config_dll dmcompos enable_dmcompos clean
17509 wine_fn_config_test dlls
/dmcompos
/tests dmcompos_test
17510 wine_fn_config_dll dmime enable_dmime clean
17511 wine_fn_config_test dlls
/dmime
/tests dmime_test
17512 wine_fn_config_dll dmloader enable_dmloader clean
17513 wine_fn_config_test dlls
/dmloader
/tests dmloader_test
17514 wine_fn_config_dll dmscript enable_dmscript clean
17515 wine_fn_config_test dlls
/dmscript
/tests dmscript_test
17516 wine_fn_config_dll dmstyle enable_dmstyle clean
17517 wine_fn_config_test dlls
/dmstyle
/tests dmstyle_test
17518 wine_fn_config_dll dmsynth enable_dmsynth clean
17519 wine_fn_config_test dlls
/dmsynth
/tests dmsynth_test
17520 wine_fn_config_dll dmusic enable_dmusic clean
17521 wine_fn_config_test dlls
/dmusic
/tests dmusic_test
17522 wine_fn_config_dll dmusic32 enable_dmusic32 implib
17523 wine_fn_config_dll dnsapi enable_dnsapi implib
17524 wine_fn_config_test dlls
/dnsapi
/tests dnsapi_test
17525 wine_fn_config_dll dplay enable_dplay implib
17526 wine_fn_config_dll dplayx enable_dplayx clean
,implib
17527 wine_fn_config_test dlls
/dplayx
/tests dplayx_test
17528 wine_fn_config_dll dpnaddr enable_dpnaddr
17529 wine_fn_config_dll dpnet enable_dpnet clean
,implib
17530 wine_fn_config_test dlls
/dpnet
/tests dpnet_test
17531 wine_fn_config_dll dpnhpast enable_dpnhpast
17532 wine_fn_config_dll dpnlobby enable_dpnlobby
17533 wine_fn_config_dll dpvoice enable_dpvoice clean
17534 wine_fn_config_test dlls
/dpvoice
/tests dpvoice_test
17535 wine_fn_config_dll dpwsockx enable_dpwsockx
17536 wine_fn_config_dll drmclien enable_drmclien
17537 wine_fn_config_dll dsound enable_dsound clean
,implib
17538 wine_fn_config_test dlls
/dsound
/tests dsound_test
17539 wine_fn_config_dll dssenh enable_dssenh
17540 wine_fn_config_test dlls
/dssenh
/tests dssenh_test
17541 wine_fn_config_dll dswave enable_dswave clean
17542 wine_fn_config_test dlls
/dswave
/tests dswave_test
17543 wine_fn_config_dll dwmapi enable_dwmapi implib
17544 wine_fn_config_dll dwrite enable_dwrite implib
17545 wine_fn_config_test dlls
/dwrite
/tests dwrite_test
17546 wine_fn_config_dll dxdiagn enable_dxdiagn clean
,po
17547 wine_fn_config_test dlls
/dxdiagn
/tests dxdiagn_test
17548 wine_fn_config_lib dxerr8
17549 wine_fn_config_lib dxerr9
17550 wine_fn_config_dll dxgi enable_dxgi implib
17551 wine_fn_config_test dlls
/dxgi
/tests dxgi_test
17552 wine_fn_config_lib dxguid
17553 wine_fn_config_dll dxva2 enable_dxva2
17554 wine_fn_config_dll esent enable_esent
17555 wine_fn_config_dll evr enable_evr
17556 wine_fn_config_dll explorerframe enable_explorerframe clean
17557 wine_fn_config_test dlls
/explorerframe
/tests explorerframe_test
17558 wine_fn_config_dll ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
17559 wine_fn_config_dll faultrep enable_faultrep implib
17560 wine_fn_config_test dlls
/faultrep
/tests faultrep_test
17561 wine_fn_config_dll fltlib enable_fltlib
17562 wine_fn_config_dll fltmgr.sys enable_fltmgr_sys
17563 wine_fn_config_dll fntcache enable_fntcache
17564 wine_fn_config_dll fontsub enable_fontsub
17565 wine_fn_config_dll fusion enable_fusion
17566 wine_fn_config_test dlls
/fusion
/tests fusion_test
17567 wine_fn_config_dll fwpuclnt enable_fwpuclnt
17568 wine_fn_config_dll gameux enable_gameux clean
17569 wine_fn_config_test dlls
/gameux
/tests gameux_test
17570 wine_fn_config_dll gdi.exe16 enable_win16
17571 wine_fn_config_dll gdi32 enable_gdi32 clean
,implib
,po
17572 wine_fn_config_test dlls
/gdi32
/tests gdi32_test
17573 wine_fn_config_dll gdiplus enable_gdiplus implib
17574 wine_fn_config_test dlls
/gdiplus
/tests gdiplus_test
17575 wine_fn_config_dll glu32 enable_glu32 implib
17576 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds po
17577 wine_fn_config_dll gpkcsp enable_gpkcsp
17578 wine_fn_config_dll hal enable_hal
17579 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx clean
,implib
,po htmlhelp
17580 wine_fn_config_dll hid enable_hid implib
17581 wine_fn_config_dll hidclass.sys enable_hidclass_sys implib hidclass
17582 wine_fn_config_dll hlink enable_hlink clean
,implib
17583 wine_fn_config_test dlls
/hlink
/tests hlink_test
17584 wine_fn_config_dll hnetcfg enable_hnetcfg clean
17585 wine_fn_config_dll httpapi enable_httpapi
17586 wine_fn_config_dll iccvid enable_iccvid po
17587 wine_fn_config_dll icmp enable_icmp
17588 wine_fn_config_dll ieframe enable_ieframe clean
,implib
,po
17589 wine_fn_config_test dlls
/ieframe
/tests ieframe_test
17590 wine_fn_config_dll ifsmgr.vxd enable_win16
17591 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
17592 wine_fn_config_dll imagehlp enable_imagehlp implib
17593 wine_fn_config_test dlls
/imagehlp
/tests imagehlp_test
17594 wine_fn_config_dll imm.dll16 enable_win16
17595 wine_fn_config_dll imm32 enable_imm32 implib
17596 wine_fn_config_test dlls
/imm32
/tests imm32_test
17597 wine_fn_config_dll inetcomm enable_inetcomm clean
,implib
17598 wine_fn_config_test dlls
/inetcomm
/tests inetcomm_test
17599 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl po
17600 wine_fn_config_dll inetmib1 enable_inetmib1
17601 wine_fn_config_test dlls
/inetmib
1/tests inetmib1_test
17602 wine_fn_config_dll infosoft enable_infosoft clean
17603 wine_fn_config_test dlls
/infosoft
/tests infosoft_test
17604 wine_fn_config_dll initpki enable_initpki
17605 wine_fn_config_dll inkobj enable_inkobj
17606 wine_fn_config_dll inseng enable_inseng clean
17607 wine_fn_config_dll iphlpapi enable_iphlpapi implib
17608 wine_fn_config_test dlls
/iphlpapi
/tests iphlpapi_test
17609 wine_fn_config_dll itircl enable_itircl
17610 wine_fn_config_dll itss enable_itss clean
17611 wine_fn_config_test dlls
/itss
/tests itss_test
17612 wine_fn_config_dll joy.cpl enable_joy_cpl po
17613 wine_fn_config_dll jscript enable_jscript clean
,po
17614 wine_fn_config_test dlls
/jscript
/tests jscript_test
17615 wine_fn_config_dll jsproxy enable_jsproxy implib
17616 wine_fn_config_dll kernel32 enable_kernel32 clean
,implib
,mc
17617 wine_fn_config_test dlls
/kernel32
/tests kernel32_test
17618 wine_fn_config_dll keyboard.drv16 enable_win16
17619 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
17620 wine_fn_config_dll ksuser enable_ksuser
17621 wine_fn_config_dll ktmw32 enable_ktmw32
17622 wine_fn_config_dll loadperf enable_loadperf implib
17623 wine_fn_config_dll localspl enable_localspl po
17624 wine_fn_config_test dlls
/localspl
/tests localspl_test
17625 wine_fn_config_dll localui enable_localui po
17626 wine_fn_config_test dlls
/localui
/tests localui_test
17627 wine_fn_config_dll lz32 enable_lz32 implib
17628 wine_fn_config_test dlls
/lz32
/tests lz32_test
17629 wine_fn_config_dll lzexpand.dll16 enable_win16
17630 wine_fn_config_dll mapi32 enable_mapi32 implib
,po
17631 wine_fn_config_test dlls
/mapi32
/tests mapi32_test
17632 wine_fn_config_dll mapistub enable_mapistub
17633 wine_fn_config_dll mciavi32 enable_mciavi32
17634 wine_fn_config_dll mcicda enable_mcicda
17635 wine_fn_config_dll mciqtz32 enable_mciqtz32
17636 wine_fn_config_dll mciseq enable_mciseq
17637 wine_fn_config_dll mciwave enable_mciwave
17638 wine_fn_config_dll mf enable_mf
17639 wine_fn_config_dll mfplat enable_mfplat
17640 wine_fn_config_dll mfreadwrite enable_mfreadwrite
17641 wine_fn_config_dll mgmtapi enable_mgmtapi
17642 wine_fn_config_dll midimap enable_midimap
17643 wine_fn_config_dll mlang enable_mlang clean
,implib
17644 wine_fn_config_test dlls
/mlang
/tests mlang_test
17645 wine_fn_config_dll mmcndmgr enable_mmcndmgr clean
17646 wine_fn_config_test dlls
/mmcndmgr
/tests mmcndmgr_test
17647 wine_fn_config_dll mmdevapi enable_mmdevapi clean
17648 wine_fn_config_test dlls
/mmdevapi
/tests mmdevapi_test
17649 wine_fn_config_dll mmdevldr.vxd enable_win16
17650 wine_fn_config_dll mmsystem.dll16 enable_win16
17651 wine_fn_config_dll monodebg.vxd enable_win16
17652 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
17653 wine_fn_config_dll mouse.drv16 enable_win16
17654 wine_fn_config_dll mpr enable_mpr implib
,po
17655 wine_fn_config_test dlls
/mpr
/tests mpr_test
17656 wine_fn_config_dll mprapi enable_mprapi implib
17657 wine_fn_config_dll msacm.dll16 enable_win16
17658 wine_fn_config_dll msacm32.drv enable_msacm32_drv
17659 wine_fn_config_dll msacm32 enable_msacm32 implib
,po
17660 wine_fn_config_test dlls
/msacm32
/tests msacm32_test
17661 wine_fn_config_dll msadp32.acm enable_msadp32_acm
17662 wine_fn_config_dll msasn1 enable_msasn1 implib
17663 wine_fn_config_dll mscat32 enable_mscat32
17664 wine_fn_config_dll mscms enable_mscms implib
17665 wine_fn_config_test dlls
/mscms
/tests mscms_test
17666 wine_fn_config_dll mscoree enable_mscoree clean
17667 wine_fn_config_test dlls
/mscoree
/tests mscoree_test
17668 wine_fn_config_dll msctf enable_msctf clean
17669 wine_fn_config_test dlls
/msctf
/tests msctf_test
17670 wine_fn_config_dll msctfp enable_msctfp clean
17671 wine_fn_config_dll msdaps enable_msdaps clean
17672 wine_fn_config_dll msdelta enable_msdelta
17673 wine_fn_config_dll msdmo enable_msdmo implib
17674 wine_fn_config_test dlls
/msdmo
/tests msdmo_test
17675 wine_fn_config_dll msftedit enable_msftedit
17676 wine_fn_config_dll msg711.acm enable_msg711_acm
17677 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
17678 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb clean
17679 wine_fn_config_dll mshtml enable_mshtml clean
,implib
,po
17680 wine_fn_config_test dlls
/mshtml
/tests mshtml_test clean
17681 wine_fn_config_dll msi enable_msi clean
,implib
,po
17682 wine_fn_config_test dlls
/msi
/tests msi_test
17683 wine_fn_config_dll msident enable_msident clean
17684 wine_fn_config_dll msimg32 enable_msimg32 implib
17685 wine_fn_config_dll msimsg enable_msimsg
17686 wine_fn_config_dll msimtf enable_msimtf clean
17687 wine_fn_config_dll msisip enable_msisip
17688 wine_fn_config_dll msisys.ocx enable_msisys_ocx
17689 wine_fn_config_dll msls31 enable_msls31
17690 wine_fn_config_dll msnet32 enable_msnet32
17691 wine_fn_config_dll mspatcha enable_mspatcha implib
17692 wine_fn_config_dll msrle32 enable_msrle32 po
17693 wine_fn_config_test dlls
/msrle32
/tests msrle32_test
17694 wine_fn_config_dll msscript.ocx enable_msscript_ocx clean
17695 wine_fn_config_dll mssign32 enable_mssign32
17696 wine_fn_config_dll mssip32 enable_mssip32
17697 wine_fn_config_dll mstask enable_mstask clean
17698 wine_fn_config_test dlls
/mstask
/tests mstask_test
17699 wine_fn_config_dll msvcirt enable_msvcirt
17700 wine_fn_config_test dlls
/msvcirt
/tests msvcirt_test
17701 wine_fn_config_dll msvcm80 enable_msvcm80
17702 wine_fn_config_dll msvcm90 enable_msvcm90
17703 wine_fn_config_dll msvcp100 enable_msvcp100
17704 wine_fn_config_test dlls
/msvcp100
/tests msvcp100_test
17705 wine_fn_config_dll msvcp110 enable_msvcp110
17706 wine_fn_config_test dlls
/msvcp110
/tests msvcp110_test
17707 wine_fn_config_dll msvcp120 enable_msvcp120
17708 wine_fn_config_test dlls
/msvcp120
/tests msvcp120_test
17709 wine_fn_config_dll msvcp120_app enable_msvcp120_app
17710 wine_fn_config_dll msvcp60 enable_msvcp60
17711 wine_fn_config_test dlls
/msvcp60
/tests msvcp60_test
17712 wine_fn_config_dll msvcp70 enable_msvcp70
17713 wine_fn_config_dll msvcp71 enable_msvcp71
17714 wine_fn_config_dll msvcp80 enable_msvcp80
17715 wine_fn_config_dll msvcp90 enable_msvcp90
17716 wine_fn_config_test dlls
/msvcp90
/tests msvcp90_test
17717 wine_fn_config_dll msvcr100 enable_msvcr100 implib
17718 wine_fn_config_test dlls
/msvcr100
/tests msvcr100_test
17719 wine_fn_config_dll msvcr110 enable_msvcr110 implib
17720 wine_fn_config_dll msvcr120 enable_msvcr120 implib
17721 wine_fn_config_test dlls
/msvcr120
/tests msvcr120_test
17722 wine_fn_config_dll msvcr120_app enable_msvcr120_app
17723 wine_fn_config_dll msvcr70 enable_msvcr70 implib
17724 wine_fn_config_dll msvcr71 enable_msvcr71 implib
17725 wine_fn_config_dll msvcr80 enable_msvcr80 implib
17726 wine_fn_config_dll msvcr90 enable_msvcr90 implib
17727 wine_fn_config_test dlls
/msvcr90
/tests msvcr90_test
17728 wine_fn_config_dll msvcrt enable_msvcrt implib
17729 wine_fn_config_test dlls
/msvcrt
/tests msvcrt_test
17730 wine_fn_config_dll msvcrt20 enable_msvcrt20 implib
17731 wine_fn_config_dll msvcrt40 enable_msvcrt40 implib
17732 wine_fn_config_dll msvcrtd enable_msvcrtd implib
17733 wine_fn_config_test dlls
/msvcrtd
/tests msvcrtd_test
17734 wine_fn_config_dll msvfw32 enable_msvfw32 implib
,po
17735 wine_fn_config_test dlls
/msvfw32
/tests msvfw32_test
17736 wine_fn_config_dll msvidc32 enable_msvidc32 po
17737 wine_fn_config_dll msvideo.dll16 enable_win16
17738 wine_fn_config_dll mswsock enable_mswsock implib
17739 wine_fn_config_dll msxml enable_msxml clean
17740 wine_fn_config_dll msxml2 enable_msxml2 clean
17741 wine_fn_config_dll msxml3 enable_msxml3 clean
17742 wine_fn_config_test dlls
/msxml
3/tests msxml3_test clean
17743 wine_fn_config_dll msxml4 enable_msxml4 clean
17744 wine_fn_config_dll msxml6 enable_msxml6 clean
17745 wine_fn_config_dll nddeapi enable_nddeapi implib
17746 wine_fn_config_dll ndis.sys enable_ndis_sys
17747 wine_fn_config_dll netapi32 enable_netapi32 implib
17748 wine_fn_config_test dlls
/netapi32
/tests netapi32_test
17749 wine_fn_config_dll netcfgx enable_netcfgx clean
17750 wine_fn_config_test dlls
/netcfgx
/tests netcfgx_test
17751 wine_fn_config_dll netprofm enable_netprofm clean
17752 wine_fn_config_test dlls
/netprofm
/tests netprofm_test
17753 wine_fn_config_dll newdev enable_newdev implib
17754 wine_fn_config_dll normaliz enable_normaliz implib
17755 wine_fn_config_dll npmshtml enable_npmshtml
17756 wine_fn_config_dll npptools enable_npptools
17757 wine_fn_config_dll ntdll enable_ntdll implib
17758 wine_fn_config_test dlls
/ntdll
/tests ntdll_test
17759 wine_fn_config_dll ntdsapi enable_ntdsapi implib
17760 wine_fn_config_test dlls
/ntdsapi
/tests ntdsapi_test
17761 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib
17762 wine_fn_config_dll ntprint enable_ntprint
17763 wine_fn_config_test dlls
/ntprint
/tests ntprint_test
17764 wine_fn_config_dll objsel enable_objsel clean
17765 wine_fn_config_dll odbc32 enable_odbc32 implib
17766 wine_fn_config_dll odbccp32 enable_odbccp32 implib
17767 wine_fn_config_test dlls
/odbccp32
/tests odbccp32_test
17768 wine_fn_config_dll odbccu32 enable_odbccu32
17769 wine_fn_config_dll ole2.dll16 enable_win16
17770 wine_fn_config_dll ole2conv.dll16 enable_win16
17771 wine_fn_config_dll ole2disp.dll16 enable_win16
17772 wine_fn_config_dll ole2nls.dll16 enable_win16
17773 wine_fn_config_dll ole2prox.dll16 enable_win16
17774 wine_fn_config_dll ole2thk.dll16 enable_win16
17775 wine_fn_config_dll ole32 enable_ole32 clean
,implib
17776 wine_fn_config_test dlls
/ole32
/tests ole32_test
17777 wine_fn_config_dll oleacc enable_oleacc clean
,implib
,po
17778 wine_fn_config_test dlls
/oleacc
/tests oleacc_test
17779 wine_fn_config_dll oleaut32 enable_oleaut32 clean
,implib
,po
17780 wine_fn_config_test dlls
/oleaut32
/tests oleaut32_test clean
17781 wine_fn_config_dll olecli.dll16 enable_win16
17782 wine_fn_config_dll olecli32 enable_olecli32 implib
17783 wine_fn_config_dll oledb32 enable_oledb32 clean
17784 wine_fn_config_test dlls
/oledb32
/tests oledb32_test clean
17785 wine_fn_config_dll oledlg enable_oledlg implib
,po
17786 wine_fn_config_test dlls
/oledlg
/tests oledlg_test
17787 wine_fn_config_dll olepro32 enable_olepro32 implib
17788 wine_fn_config_dll olesvr.dll16 enable_win16
17789 wine_fn_config_dll olesvr32 enable_olesvr32 implib
17790 wine_fn_config_dll olethk32 enable_olethk32
17791 wine_fn_config_dll openal32 enable_openal32
17792 wine_fn_config_dll opencl enable_opencl
17793 wine_fn_config_dll opengl32 enable_opengl32 implib
17794 wine_fn_config_test dlls
/opengl32
/tests opengl32_test
17795 wine_fn_config_dll packager enable_packager clean
17796 wine_fn_config_test dlls
/packager
/tests packager_test
17797 wine_fn_config_dll pdh enable_pdh implib
17798 wine_fn_config_test dlls
/pdh
/tests pdh_test
17799 wine_fn_config_dll photometadatahandler enable_photometadatahandler
17800 wine_fn_config_dll pidgen enable_pidgen
17801 wine_fn_config_dll powrprof enable_powrprof implib
17802 wine_fn_config_dll printui enable_printui
17803 wine_fn_config_dll prntvpt enable_prntvpt
17804 wine_fn_config_dll propsys enable_propsys clean
,implib
17805 wine_fn_config_test dlls
/propsys
/tests propsys_test
17806 wine_fn_config_dll psapi enable_psapi implib
17807 wine_fn_config_test dlls
/psapi
/tests psapi_test
17808 wine_fn_config_dll pstorec enable_pstorec clean
17809 wine_fn_config_dll qcap enable_qcap
17810 wine_fn_config_test dlls
/qcap
/tests qcap_test
17811 wine_fn_config_dll qedit enable_qedit clean
17812 wine_fn_config_test dlls
/qedit
/tests qedit_test
17813 wine_fn_config_dll qmgr enable_qmgr clean
17814 wine_fn_config_test dlls
/qmgr
/tests qmgr_test
17815 wine_fn_config_dll qmgrprxy enable_qmgrprxy clean
17816 wine_fn_config_dll quartz enable_quartz clean
,implib
17817 wine_fn_config_test dlls
/quartz
/tests quartz_test clean
17818 wine_fn_config_dll query enable_query
17819 wine_fn_config_dll rasapi16.dll16 enable_win16
17820 wine_fn_config_dll rasapi32 enable_rasapi32 implib
17821 wine_fn_config_test dlls
/rasapi32
/tests rasapi32_test
17822 wine_fn_config_dll rasdlg enable_rasdlg implib
17823 wine_fn_config_dll regapi enable_regapi
17824 wine_fn_config_dll resutils enable_resutils implib
17825 wine_fn_config_dll riched20 enable_riched20 clean
,implib
17826 wine_fn_config_test dlls
/riched20
/tests riched20_test
17827 wine_fn_config_dll riched32 enable_riched32
17828 wine_fn_config_test dlls
/riched32
/tests riched32_test
17829 wine_fn_config_dll rpcrt4 enable_rpcrt4 clean
,implib
17830 wine_fn_config_test dlls
/rpcrt
4/tests rpcrt4_test clean
17831 wine_fn_config_dll rsabase enable_rsabase
17832 wine_fn_config_dll rsaenh enable_rsaenh implib
17833 wine_fn_config_test dlls
/rsaenh
/tests rsaenh_test
17834 wine_fn_config_dll rstrtmgr enable_rstrtmgr
17835 wine_fn_config_dll rtutils enable_rtutils implib
17836 wine_fn_config_dll samlib enable_samlib
17837 wine_fn_config_dll sane.ds enable_sane_ds po
17838 wine_fn_config_dll scarddlg enable_scarddlg
17839 wine_fn_config_dll sccbase enable_sccbase
17840 wine_fn_config_dll schannel enable_schannel
17841 wine_fn_config_test dlls
/schannel
/tests schannel_test
17842 wine_fn_config_dll schedsvc enable_schedsvc clean
17843 wine_fn_config_test dlls
/schedsvc
/tests schedsvc_test clean
17844 wine_fn_config_dll scrrun enable_scrrun clean
17845 wine_fn_config_test dlls
/scrrun
/tests scrrun_test clean
17846 wine_fn_config_dll scsiport.sys enable_scsiport_sys
17847 wine_fn_config_dll secur32 enable_secur32 implib
17848 wine_fn_config_test dlls
/secur32
/tests secur32_test
17849 wine_fn_config_dll security enable_security
17850 wine_fn_config_dll sensapi enable_sensapi implib
17851 wine_fn_config_dll serialui enable_serialui implib
,po
17852 wine_fn_config_test dlls
/serialui
/tests serialui_test
17853 wine_fn_config_dll setupapi enable_setupapi implib
,po
17854 wine_fn_config_test dlls
/setupapi
/tests setupapi_test
17855 wine_fn_config_dll setupx.dll16 enable_win16
17856 wine_fn_config_dll sfc enable_sfc implib
17857 wine_fn_config_dll sfc_os enable_sfc_os implib
17858 wine_fn_config_dll shdoclc enable_shdoclc po
17859 wine_fn_config_dll shdocvw enable_shdocvw clean
,implib
17860 wine_fn_config_test dlls
/shdocvw
/tests shdocvw_test
17861 wine_fn_config_dll shell.dll16 enable_win16
17862 wine_fn_config_dll shell32 enable_shell32 clean
,implib
,po
17863 wine_fn_config_test dlls
/shell32
/tests shell32_test
17864 wine_fn_config_dll shfolder enable_shfolder implib
17865 wine_fn_config_dll shlwapi enable_shlwapi implib
,po
17866 wine_fn_config_test dlls
/shlwapi
/tests shlwapi_test
17867 wine_fn_config_dll slbcsp enable_slbcsp
17868 wine_fn_config_dll slc enable_slc implib
17869 wine_fn_config_test dlls
/slc
/tests slc_test
17870 wine_fn_config_dll snmpapi enable_snmpapi implib
17871 wine_fn_config_test dlls
/snmpapi
/tests snmpapi_test
17872 wine_fn_config_dll softpub enable_softpub
17873 wine_fn_config_dll sound.drv16 enable_win16
17874 wine_fn_config_dll spoolss enable_spoolss implib
17875 wine_fn_config_test dlls
/spoolss
/tests spoolss_test
17876 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb clean
17877 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb clean
17878 wine_fn_config_dll sti enable_sti clean
,implib
17879 wine_fn_config_test dlls
/sti
/tests sti_test
17880 wine_fn_config_dll storage.dll16 enable_win16
17881 wine_fn_config_dll stress.dll16 enable_win16
17882 wine_fn_config_lib strmbase
17883 wine_fn_config_lib strmiids
17884 wine_fn_config_dll svrapi enable_svrapi
17885 wine_fn_config_dll sxs enable_sxs implib
17886 wine_fn_config_test dlls
/sxs
/tests sxs_test
17887 wine_fn_config_dll system.drv16 enable_win16
17888 wine_fn_config_dll t2embed enable_t2embed
17889 wine_fn_config_dll tapi32 enable_tapi32 implib
17890 wine_fn_config_dll taskschd enable_taskschd clean
17891 wine_fn_config_test dlls
/taskschd
/tests taskschd_test
17892 wine_fn_config_dll tdi.sys enable_tdi_sys
17893 wine_fn_config_dll toolhelp.dll16 enable_win16
17894 wine_fn_config_dll traffic enable_traffic
17895 wine_fn_config_dll twain.dll16 enable_win16
17896 wine_fn_config_dll twain_32 enable_twain_32
17897 wine_fn_config_test dlls
/twain_32
/tests twain_32_test
17898 wine_fn_config_dll typelib.dll16 enable_win16
17899 wine_fn_config_dll ucrtbase enable_ucrtbase
17900 wine_fn_config_test dlls
/ucrtbase
/tests ucrtbase_test
17901 wine_fn_config_dll unicows enable_unicows implib
17902 wine_fn_config_dll updspapi enable_updspapi
17903 wine_fn_config_dll url enable_url implib
17904 wine_fn_config_dll urlmon enable_urlmon clean
,implib
,po
17905 wine_fn_config_test dlls
/urlmon
/tests urlmon_test
17906 wine_fn_config_dll usbd.sys enable_usbd_sys implib
17907 wine_fn_config_dll user.exe16 enable_win16
17908 wine_fn_config_dll user32 enable_user32 clean
,implib
,po
17909 wine_fn_config_test dlls
/user32
/tests user32_test
17910 wine_fn_config_dll userenv enable_userenv implib
17911 wine_fn_config_test dlls
/userenv
/tests userenv_test
17912 wine_fn_config_dll usp10 enable_usp10 implib
17913 wine_fn_config_test dlls
/usp10
/tests usp10_test
17914 wine_fn_config_lib uuid
17915 wine_fn_config_dll uxtheme enable_uxtheme implib
17916 wine_fn_config_test dlls
/uxtheme
/tests uxtheme_test
17917 wine_fn_config_dll vbscript enable_vbscript clean
17918 wine_fn_config_test dlls
/vbscript
/tests vbscript_test clean
17919 wine_fn_config_dll vcomp enable_vcomp
17920 wine_fn_config_test dlls
/vcomp
/tests vcomp_test
17921 wine_fn_config_dll vcomp100 enable_vcomp100
17922 wine_fn_config_dll vcomp110 enable_vcomp110
17923 wine_fn_config_dll vcomp120 enable_vcomp120
17924 wine_fn_config_dll vcomp90 enable_vcomp90
17925 wine_fn_config_dll vcruntime140 enable_vcruntime140
17926 wine_fn_config_dll vdhcp.vxd enable_win16
17927 wine_fn_config_dll vdmdbg enable_vdmdbg implib
17928 wine_fn_config_dll ver.dll16 enable_win16
17929 wine_fn_config_dll version enable_version implib
17930 wine_fn_config_test dlls
/version
/tests version_test
17931 wine_fn_config_dll vmm.vxd enable_win16
17932 wine_fn_config_dll vnbt.vxd enable_win16
17933 wine_fn_config_dll vnetbios.vxd enable_win16
17934 wine_fn_config_dll vssapi enable_vssapi
17935 wine_fn_config_dll vtdapi.vxd enable_win16
17936 wine_fn_config_dll vwin32.vxd enable_win16
17937 wine_fn_config_dll w32skrnl enable_win16
17938 wine_fn_config_dll w32sys.dll16 enable_win16
17939 wine_fn_config_dll wbemdisp enable_wbemdisp clean
17940 wine_fn_config_test dlls
/wbemdisp
/tests wbemdisp_test
17941 wine_fn_config_dll wbemprox enable_wbemprox clean
17942 wine_fn_config_test dlls
/wbemprox
/tests wbemprox_test
17943 wine_fn_config_dll webservices enable_webservices implib
17944 wine_fn_config_test dlls
/webservices
/tests webservices_test
17945 wine_fn_config_dll wer enable_wer implib
17946 wine_fn_config_test dlls
/wer
/tests wer_test
17947 wine_fn_config_dll wevtapi enable_wevtapi
17948 wine_fn_config_dll wiaservc enable_wiaservc clean
17949 wine_fn_config_test dlls
/wiaservc
/tests wiaservc_test
17950 wine_fn_config_dll wimgapi enable_wimgapi
17951 wine_fn_config_dll win32s16.dll16 enable_win16
17952 wine_fn_config_dll win87em.dll16 enable_win16
17953 wine_fn_config_dll winaspi.dll16 enable_win16
17954 wine_fn_config_dll windebug.dll16 enable_win16
17955 wine_fn_config_dll windowscodecs enable_windowscodecs clean
,implib
17956 wine_fn_config_test dlls
/windowscodecs
/tests windowscodecs_test
17957 wine_fn_config_dll windowscodecsext enable_windowscodecsext implib
17958 wine_fn_config_test dlls
/windowscodecsext
/tests windowscodecsext_test
17959 wine_fn_config_dll winealsa.drv enable_winealsa_drv
17960 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
17961 wine_fn_config_lib winecrt0
17962 wine_fn_config_dll wined3d enable_wined3d implib
17963 wine_fn_config_dll winegstreamer enable_winegstreamer
17964 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
17965 wine_fn_config_dll winemac.drv enable_winemac_drv po
17966 wine_fn_config_dll winemapi enable_winemapi
17967 wine_fn_config_dll winemp3.acm enable_winemp3_acm
17968 wine_fn_config_dll wineoss.drv enable_wineoss_drv
17969 wine_fn_config_dll wineps.drv enable_wineps_drv clean
,po
17970 wine_fn_config_dll wineps16.drv16 enable_win16
17971 wine_fn_config_dll winepulse.drv enable_winepulse_drv
17972 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
17973 wine_fn_config_dll winex11.drv enable_winex11_drv
17974 wine_fn_config_dll wing.dll16 enable_win16
17975 wine_fn_config_dll wing32 enable_wing32
17976 wine_fn_config_dll winhttp enable_winhttp clean
,implib
17977 wine_fn_config_test dlls
/winhttp
/tests winhttp_test
17978 wine_fn_config_dll wininet enable_wininet implib
,po
17979 wine_fn_config_test dlls
/wininet
/tests wininet_test
17980 wine_fn_config_dll winmm enable_winmm implib
,po
17981 wine_fn_config_test dlls
/winmm
/tests winmm_test
17982 wine_fn_config_dll winnls.dll16 enable_win16
17983 wine_fn_config_dll winnls32 enable_winnls32 implib
17984 wine_fn_config_dll winscard enable_winscard implib
17985 wine_fn_config_dll winsock.dll16 enable_win16
17986 wine_fn_config_dll winspool.drv enable_winspool_drv implib
,po winspool
17987 wine_fn_config_test dlls
/winspool.drv
/tests winspool.drv_test
17988 wine_fn_config_dll winsta enable_winsta
17989 wine_fn_config_dll wintab.dll16 enable_win16
17990 wine_fn_config_dll wintab32 enable_wintab32 implib
17991 wine_fn_config_test dlls
/wintab32
/tests wintab32_test
17992 wine_fn_config_dll wintrust enable_wintrust implib
17993 wine_fn_config_test dlls
/wintrust
/tests wintrust_test
17994 wine_fn_config_dll wlanapi enable_wlanapi
17995 wine_fn_config_dll wldap32 enable_wldap32 implib
,po
17996 wine_fn_config_test dlls
/wldap32
/tests wldap32_test
17997 wine_fn_config_dll wmi enable_wmi
17998 wine_fn_config_dll wmiutils enable_wmiutils clean
17999 wine_fn_config_test dlls
/wmiutils
/tests wmiutils_test
18000 wine_fn_config_dll wmp enable_wmp clean
18001 wine_fn_config_test dlls
/wmp
/tests wmp_test
18002 wine_fn_config_dll wmvcore enable_wmvcore
18003 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
18004 wine_fn_config_dll wow32 enable_win16 implib
18005 wine_fn_config_dll wpcap enable_wpcap
18006 wine_fn_config_dll ws2_32 enable_ws2_32 implib
18007 wine_fn_config_test dlls
/ws2_32
/tests ws2_32_test
18008 wine_fn_config_dll wshom.ocx enable_wshom_ocx clean
18009 wine_fn_config_test dlls
/wshom.ocx
/tests wshom.ocx_test clean
18010 wine_fn_config_dll wsnmp32 enable_wsnmp32 implib
18011 wine_fn_config_test dlls
/wsnmp32
/tests wsnmp32_test
18012 wine_fn_config_dll wsock32 enable_wsock32 implib
18013 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
18014 wine_fn_config_test dlls
/wtsapi32
/tests wtsapi32_test
18015 wine_fn_config_dll wuapi enable_wuapi clean
18016 wine_fn_config_dll wuaueng enable_wuaueng
18017 wine_fn_config_dll x3daudio1_0 enable_x3daudio1_0
18018 wine_fn_config_dll x3daudio1_1 enable_x3daudio1_1
18019 wine_fn_config_dll x3daudio1_2 enable_x3daudio1_2
18020 wine_fn_config_dll x3daudio1_3 enable_x3daudio1_3
18021 wine_fn_config_dll x3daudio1_4 enable_x3daudio1_4
18022 wine_fn_config_dll x3daudio1_5 enable_x3daudio1_5
18023 wine_fn_config_dll x3daudio1_6 enable_x3daudio1_6
18024 wine_fn_config_dll x3daudio1_7 enable_x3daudio1_7
18025 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
18026 wine_fn_config_dll xapofx1_2 enable_xapofx1_2
18027 wine_fn_config_dll xapofx1_3 enable_xapofx1_3
18028 wine_fn_config_dll xapofx1_4 enable_xapofx1_4
18029 wine_fn_config_dll xapofx1_5 enable_xapofx1_5
18030 wine_fn_config_dll xaudio2_0 enable_xaudio2_0 clean
18031 wine_fn_config_dll xaudio2_1 enable_xaudio2_1 clean
18032 wine_fn_config_dll xaudio2_2 enable_xaudio2_2 clean
18033 wine_fn_config_dll xaudio2_3 enable_xaudio2_3 clean
18034 wine_fn_config_dll xaudio2_4 enable_xaudio2_4 clean
18035 wine_fn_config_dll xaudio2_5 enable_xaudio2_5 clean
18036 wine_fn_config_dll xaudio2_6 enable_xaudio2_6 clean
18037 wine_fn_config_dll xaudio2_7 enable_xaudio2_7 clean
18038 wine_fn_config_test dlls
/xaudio2_
7/tests xaudio2_7_test
18039 wine_fn_config_dll xaudio2_8 enable_xaudio2_8 implib
18040 wine_fn_config_dll xinput1_1 enable_xinput1_1
18041 wine_fn_config_dll xinput1_2 enable_xinput1_2
18042 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
18043 wine_fn_config_test dlls
/xinput1_
3/tests xinput1_3_test
18044 wine_fn_config_dll xinput1_4 enable_xinput1_4
18045 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
18046 wine_fn_config_dll xmllite enable_xmllite implib
18047 wine_fn_config_test dlls
/xmllite
/tests xmllite_test
18048 wine_fn_config_dll xolehlp enable_xolehlp
18049 wine_fn_config_dll xpsprint enable_xpsprint
18050 wine_fn_config_dll xpssvcs enable_xpssvcs
18051 wine_fn_config_makefile fonts enable_fonts clean
,install-lib
18052 wine_fn_config_makefile include enable_include clean
,install-dev
18053 wine_fn_config_makefile libs
/port enable_libs_port
18054 wine_fn_config_makefile libs
/wine enable_libs_wine clean
,implib
,install-dev
,install-lib
18055 wine_fn_config_makefile libs
/wpp enable_libs_wpp
18056 wine_fn_config_makefile loader enable_loader clean
,install-lib
18057 wine_fn_config_program arp enable_arp
install
18058 wine_fn_config_program aspnet_regiis enable_aspnet_regiis
install
18059 wine_fn_config_program attrib enable_attrib
install,po
18060 wine_fn_config_program cabarc enable_cabarc
install
18061 wine_fn_config_program cacls enable_cacls
install
18062 wine_fn_config_program
clock enable_clock
install,po
18063 wine_fn_config_program cmd enable_cmd
install,po
18064 wine_fn_config_test programs
/cmd
/tests cmd.exe_test
18065 wine_fn_config_program conhost enable_conhost
install
18066 wine_fn_config_program control enable_control
install
18067 wine_fn_config_program cscript enable_cscript clean
,install
18068 wine_fn_config_program dpnsvr enable_dpnsvr
install
18069 wine_fn_config_program dxdiag enable_dxdiag
install,po
18070 wine_fn_config_program eject enable_eject
install
18071 wine_fn_config_program
expand enable_expand
install
18072 wine_fn_config_program explorer enable_explorer
install,po
18073 wine_fn_config_program extrac32 enable_extrac32
install
18074 wine_fn_config_program findstr enable_findstr
install
18075 wine_fn_config_program hh enable_hh
install
18076 wine_fn_config_program hostname enable_hostname
install,po
18077 wine_fn_config_program icinfo enable_icinfo
install
18078 wine_fn_config_program iexplore enable_iexplore
install
18079 wine_fn_config_program ipconfig enable_ipconfig
install,po
18080 wine_fn_config_program lodctr enable_lodctr
install
18081 wine_fn_config_program mofcomp enable_mofcomp
install
18082 wine_fn_config_program mshta enable_mshta
install
18083 wine_fn_config_program msiexec enable_msiexec
install,installbin
,manpage
18084 wine_fn_config_program net enable_net
install,po
18085 wine_fn_config_program netsh enable_netsh
install
18086 wine_fn_config_program netstat enable_netstat
install,po
18087 wine_fn_config_program ngen enable_ngen
install
18088 wine_fn_config_program notepad enable_notepad
install,installbin
,manpage
,po
18089 wine_fn_config_program oleview enable_oleview
install,po
18090 wine_fn_config_program
ping enable_ping
install
18091 wine_fn_config_program plugplay enable_plugplay
install
18092 wine_fn_config_program presentationfontcache enable_presentationfontcache
install
18093 wine_fn_config_program progman enable_progman
install,po
18094 wine_fn_config_program reg enable_reg
install,po
18095 wine_fn_config_test programs
/reg
/tests reg.exe_test
18096 wine_fn_config_program regasm enable_regasm
install
18097 wine_fn_config_program regedit enable_regedit
install,installbin
,manpage
,po
18098 wine_fn_config_test programs
/regedit
/tests regedit.exe_test
18099 wine_fn_config_program regsvcs enable_regsvcs
install
18100 wine_fn_config_program regsvr32 enable_regsvr32
install,installbin
,manpage
,po
18101 wine_fn_config_program rpcss enable_rpcss clean
,install
18102 wine_fn_config_program rundll.exe16 enable_win16
install
18103 wine_fn_config_program rundll32 enable_rundll32
install
18104 wine_fn_config_program sc enable_sc
install
18105 wine_fn_config_program schtasks enable_schtasks
install
18106 wine_fn_config_program sdbinst enable_sdbinst
install
18107 wine_fn_config_program secedit enable_secedit
install
18108 wine_fn_config_program servicemodelreg enable_servicemodelreg
install
18109 wine_fn_config_program services enable_services clean
,install
18110 wine_fn_config_test programs
/services
/tests services.exe_test
18111 wine_fn_config_program spoolsv enable_spoolsv
install
18112 wine_fn_config_program start enable_start
install,po
18113 wine_fn_config_program svchost enable_svchost
install
18114 wine_fn_config_program systeminfo enable_systeminfo
install
18115 wine_fn_config_program taskkill enable_taskkill
install,po
18116 wine_fn_config_program tasklist enable_tasklist
install
18117 wine_fn_config_program taskmgr enable_taskmgr
install,po
18118 wine_fn_config_program termsv enable_termsv
install
18119 wine_fn_config_program uninstaller enable_uninstaller
install,po
18120 wine_fn_config_program unlodctr enable_unlodctr
install
18121 wine_fn_config_program view enable_view
install,po
18122 wine_fn_config_program wevtutil enable_wevtutil
install
18123 wine_fn_config_program wineboot enable_wineboot
install,installbin
,manpage
,po
18124 wine_fn_config_program winebrowser enable_winebrowser
install
18125 wine_fn_config_program winecfg enable_winecfg
install,installbin
,manpage
,po
18126 wine_fn_config_program wineconsole enable_wineconsole
install,installbin
,manpage
,po
18127 wine_fn_config_program winedbg enable_winedbg
install,installbin
,manpage
,po
18128 wine_fn_config_program winedevice enable_winedevice
install
18129 wine_fn_config_program winefile enable_winefile
install,installbin
,manpage
,po
18130 wine_fn_config_program winemenubuilder enable_winemenubuilder
install
18131 wine_fn_config_program winemine enable_winemine
install,installbin
,manpage
,po
18132 wine_fn_config_program winemsibuilder enable_winemsibuilder
install
18133 wine_fn_config_program winepath enable_winepath
install,installbin
,manpage
18134 wine_fn_config_program winetest enable_winetest clean
18135 wine_fn_config_program winevdm enable_win16
install
18136 wine_fn_config_program winhelp.exe16 enable_win16
install
18137 wine_fn_config_program winhlp32 enable_winhlp32
install,po
18138 wine_fn_config_program winoldap.mod16 enable_win16
install
18139 wine_fn_config_program winver enable_winver
install
18140 wine_fn_config_program wmic enable_wmic
install,po
18141 wine_fn_config_program wmplayer enable_wmplayer
install
18142 wine_fn_config_program wordpad enable_wordpad
install,po
18143 wine_fn_config_program
write enable_write
install,po
18144 wine_fn_config_program wscript enable_wscript clean
,install
18145 wine_fn_config_test programs
/wscript
/tests wscript.exe_test
18146 wine_fn_config_program wusa enable_wusa
install
18147 wine_fn_config_program xcopy enable_xcopy
install,po
18148 wine_fn_config_test programs
/xcopy
/tests xcopy.exe_test
18149 wine_fn_config_makefile server enable_server clean
,install-lib
18150 wine_fn_config_tool tools clean
18151 wine_fn_config_tool tools
/sfnt2fon clean
18152 wine_fn_config_tool tools
/widl clean
,install-dev
18153 wine_fn_config_tool tools
/winebuild clean
,install-dev
18154 wine_fn_config_tool tools
/winedump clean
,install-dev
18155 wine_fn_config_tool tools
/winegcc clean
,install-dev
18156 wine_fn_config_tool tools
/winemaker clean
,install-dev
18157 wine_fn_config_tool tools
/wmc clean
,install-dev
18158 wine_fn_config_tool tools
/wrc clean
,install-dev
18210 wine_fn_ignore_file
".gitignore"
18211 wine_fn_ignore_file
"Makefile"
18212 wine_fn_ignore_file
"TAGS"
18213 wine_fn_ignore_file
"tags"
18214 wine_fn_ignore_file
"autom4te.cache"
18215 wine_fn_ignore_file
"config.cache"
18216 wine_fn_ignore_file
"config.log"
18217 wine_fn_ignore_file
"config.status"
18218 wine_fn_ignore_file
"configure.lineno"
18219 wine_fn_ignore_file
"include/config.h"
18220 wine_fn_ignore_file
"include/stamp-h"
18221 test "$wine_binary" = wine || wine_fn_ignore_file
"loader/wine"
18223 if test "x$enable_tools" != xno
18225 wine_fn_ignore_file
"tools/makedep$ac_exeext"
18226 ac_config_commands
="$ac_config_commands tools/makedep"
18230 ac_config_commands
="$ac_config_commands Makefile"
18233 ac_config_files
="$ac_config_files Make.tmp:Makefile.in"
18237 if test "x$enable_maintainer_mode" = xyes
18239 wine_fn_append_rule
"configure: configure.ac aclocal.m4
18240 autoconf --warnings=all
18241 include/config.h.in: include/stamp-h.in
18242 include/stamp-h.in: configure.ac aclocal.m4
18243 autoheader --warnings=all
18244 @echo timestamp > \$@"
18247 if test "x$with_gettextpo" = xyes
18249 test "$srcdir" = . || as_fn_error $?
"Rebuilding po files is not supported for out of tree builds." "$LINENO" 5
18250 wine_fn_append_rule
"ALL_POT_FILES =$ALL_POT_FILES
18251 \$(LINGUAS:%=po/%.po): po/wine.pot
18252 msgmerge --previous -q \$@ po/wine.pot | msgattrib --no-obsolete -o \$@.new && mv \$@.new \$@
18253 po/wine.pot: \$(ALL_POT_FILES)
18254 msgcat -o \$@ \$(ALL_POT_FILES)"
18257 if test "$MSGFMT" != false
18259 wine_fn_append_rule
"__builddeps__: \$(LINGUAS:%=po/%.mo)
18261 \$(RM) \$(LINGUAS:%=po/%.mo)"
18264 test "$srcdir" = . || posrc
="$srcdir/po"
18267 wine_fn_ignore_file
"po/$i.mo"
18268 wine_fn_append_rule
"po/$i.mo: $posrc/$i.po
18269 \$(MSGFMT) -o \$@ $posrc/$i.po"
18275 if test "x$enable_tools" != xno
18277 wine_fn_append_rule
"tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
18278 @./config.status tools/makedep
18279 Makefile: tools/makedep$ac_exeext
18281 \$(RM) tools/makedep$ac_exeext"
18283 wine_fn_append_rule
"\$(MAKEDEP):
18284 @echo \"You need to run make in $TOOLSDIR first\" && false"
18287 if test -n "$with_wine64"
18289 wine_fn_append_rule
"all: fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader
18290 fonts server tools:
18291 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
18292 $with_wine64/loader/wine:
18293 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
18294 $with_wine64/loader/wine-preloader:
18295 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
18297 \$(RM) fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
18299 WINELOADER_INSTALL
="wine.inf"
18301 wine_fn_append_rule
"install install-lib::
18302 \$(INSTALL_DATA) $srcdir/loader/l_intl.nls \$(DESTDIR)\$(datadir)/wine/l_intl.nls
18304 \$(RM) \$(DESTDIR)\$(datadir)/wine/l_intl.nls"
18306 cygwin
*|mingw32
*|darwin
*|macosx
*|linux-android
*) ;;
18307 *) wine_fn_append_rule
"install install-lib::
18308 \$(INSTALL_DATA) $srcdir/loader/wine.desktop \$(DESTDIR)\$(datadir)/applications/wine.desktop
18310 \$(RM) \$(DESTDIR)\$(datadir)/applications/wine.desktop" ;;
18314 if test "$srcdir" = .
18316 ac_config_commands
="$ac_config_commands .gitignore"
18320 $as_echo " done" >&6
18321 cat >confcache
<<\_ACEOF
18322 # This file is a shell script that caches the results of configure
18323 # tests run on this system so they can be shared between configure
18324 # scripts and configure runs, see configure's option --config-cache.
18325 # It is not useful on other systems. If it contains results you don't
18326 # want to keep, you may remove or edit it.
18328 # config.status only pays attention to the cache file if you give it
18329 # the --recheck option to rerun configure.
18331 # `ac_cv_env_foo' variables (set or unset) will be overridden when
18332 # loading this file, other *unset* `ac_cv_foo' will be assigned the
18333 # following values.
18337 # The following way of writing the cache mishandles newlines in values,
18338 # but we know of no workaround that is simple, portable, and efficient.
18339 # So, we kill variables containing newlines.
18340 # Ultrix sh set writes to stderr and can't be redirected directly,
18341 # and sets the high bit in the cache file unless we assign to the vars.
18343 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
18344 eval ac_val
=\$
$ac_var
18348 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
18349 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
18352 _ | IFS | as_nl
) ;; #(
18353 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
18354 *) { eval $ac_var=; unset $ac_var;} ;;
18360 case $as_nl`(ac_space=' '; set) 2>&1` in #(
18361 *${as_nl}ac_space
=\
*)
18362 # `set' does not quote correctly, so add quotes: double-quote
18363 # substitution turns \\\\ into \\, and sed turns \\ into \.
18366 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
18369 # `set' quotes correctly as required by POSIX, so do not add quotes.
18370 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
18379 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
18381 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
18383 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
18384 if test -w "$cache_file"; then
18385 if test "x$cache_file" != "x/dev/null"; then
18386 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
18387 $as_echo "$as_me: updating cache $cache_file" >&6;}
18388 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
18389 cat confcache
>"$cache_file"
18391 case $cache_file in #(
18393 mv -f confcache
"$cache_file"$$
&&
18394 mv -f "$cache_file"$$
"$cache_file" ;; #(
18396 mv -f confcache
"$cache_file" ;;
18401 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
18402 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
18407 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
18408 # Let make expand exec_prefix.
18409 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
18411 DEFS
=-DHAVE_CONFIG_H
18416 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
18417 # 1. Remove the extension, and $U if already installed.
18418 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
18419 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
18420 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
18421 # will be set to the directory where LIBOBJS objects are built.
18422 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
18423 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
18425 LIBOBJS
=$ac_libobjs
18427 LTLIBOBJS
=$ac_ltlibobjs
18431 : "${CONFIG_STATUS=./config.status}"
18433 ac_clean_files_save
=$ac_clean_files
18434 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
18435 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
18436 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
18438 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
18440 # Generated by $as_me.
18441 # Run this file to recreate the current configuration.
18442 # Compiler output produced by configure, useful for debugging
18443 # configure, is in config.log if it exists.
18446 ac_cs_recheck=false
18449 SHELL=\${CONFIG_SHELL-$SHELL}
18452 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
18453 ## -------------------- ##
18454 ## M4sh Initialization. ##
18455 ## -------------------- ##
18457 # Be more Bourne compatible
18458 DUALCASE
=1; export DUALCASE
# for MKS sh
18459 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
18462 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
18463 # is contrary to our usage. Disable this feature.
18464 alias -g '${1+"$@"}'='"$@"'
18465 setopt NO_GLOB_SUBST
18467 case `(set -o) 2>/dev/null` in #(
18479 # Printing a long string crashes Solaris 7 /usr/bin/printf.
18480 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
18481 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
18482 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
18483 # Prefer a ksh shell builtin over an external printf program on Solaris,
18484 # but without wasting forks for bash or zsh.
18485 if test -z "$BASH_VERSION$ZSH_VERSION" \
18486 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
18487 as_echo='print
-r --'
18488 as_echo_n='print
-rn --'
18489 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
18490 as_echo='printf %s
\n'
18491 as_echo_n='printf %s
'
18493 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
18494 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
18495 as_echo_n='/usr
/ucb
/echo -n'
18497 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
18498 as_echo_n_body='eval
18502 expr "X$arg" : "X\\(.*\\)$as_nl";
18503 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
18505 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
18507 export as_echo_n_body
18508 as_echo_n='sh
-c $as_echo_n_body as_echo
'
18510 export as_echo_body
18511 as_echo='sh
-c $as_echo_body as_echo
'
18514 # The user is always right.
18515 if test "${PATH_SEPARATOR+set}" != set; then
18517 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
18518 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
18525 # We need space, tab and new line, in precisely that order. Quoting is
18526 # there to prevent editors from complaining about space-tab.
18527 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
18528 # splitting by setting IFS to empty value.)
18531 # Find who we are. Look in the path if we contain no directory separator.
18534 *[\\/]* ) as_myself=$0 ;;
18535 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18536 for as_dir in $PATH
18539 test -z "$as_dir" && as_dir=.
18540 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
18546 # We did not find ourselves, most probably we were run as `sh COMMAND'
18547 # in which case we are not to be found in the path.
18548 if test "x$as_myself" = x
; then
18551 if test ! -f "$as_myself"; then
18552 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
18556 # Unset variables that we do not need and which cause bugs (e.g. in
18557 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
18558 # suppresses any "Segmentation fault" message there. '((' could
18559 # trigger a bug in pdksh 5.2.14.
18560 for as_var
in BASH_ENV ENV MAIL MAILPATH
18561 do eval test x\
${$as_var+set} = xset \
18562 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
18575 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
18578 # as_fn_error STATUS ERROR [LINENO LOG_FD]
18579 # ----------------------------------------
18580 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
18581 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
18582 # script with STATUS, using 1 if that was 0.
18585 as_status
=$1; test $as_status -eq 0 && as_status
=1
18587 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
18588 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
18590 $as_echo "$as_me: error: $2" >&2
18591 as_fn_exit
$as_status
18595 # as_fn_set_status STATUS
18596 # -----------------------
18597 # Set $? to STATUS, without forking.
18598 as_fn_set_status
()
18601 } # as_fn_set_status
18603 # as_fn_exit STATUS
18604 # -----------------
18605 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
18609 as_fn_set_status
$1
18615 # Portably unset VAR.
18618 { eval $1=; unset $1;}
18620 as_unset
=as_fn_unset
18621 # as_fn_append VAR VALUE
18622 # ----------------------
18623 # Append the text in VALUE to the end of the definition contained in VAR. Take
18624 # advantage of any shell optimizations that allow amortized linear growth over
18625 # repeated appends, instead of the typical quadratic growth present in naive
18627 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
18628 eval 'as_fn_append ()
18639 # as_fn_arith ARG...
18640 # ------------------
18641 # Perform arithmetic evaluation on the ARGs, and store the result in the
18642 # global $as_val. Take advantage of shells that can avoid forks. The arguments
18643 # must be portable across $(()) and expr.
18644 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
18645 eval 'as_fn_arith ()
18652 as_val
=`expr "$@" || test $? -eq 1`
18657 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
18658 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
18664 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
18665 as_basename
=basename
18670 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
18676 as_me
=`$as_basename -- "$0" ||
18677 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
18678 X"$0" : 'X\(//\)$' \| \
18679 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
18681 sed '/^.*\/\([^/][^/]*\)\/*$/{
18695 # Avoid depending upon Character Ranges.
18696 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
18697 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
18698 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
18699 as_cr_digits
='0123456789'
18700 as_cr_alnum
=$as_cr_Letters$as_cr_digits
18702 ECHO_C
= ECHO_N
= ECHO_T
=
18703 case `echo -n x` in #(((((
18705 case `echo 'xy\c'` in
18706 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
18708 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
18715 rm -f conf$$ conf$$.exe conf$$.
file
18716 if test -d conf$$.dir
; then
18717 rm -f conf$$.dir
/conf$$.
file
18720 mkdir conf$$.dir
2>/dev
/null
18722 if (echo >conf$$.
file) 2>/dev
/null
; then
18723 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
18725 # ... but there are two gotchas:
18726 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
18727 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
18728 # In both cases, we have to default to `cp -pR'.
18729 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
18731 elif ln conf$$.
file conf$$
2>/dev
/null
; then
18739 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
18740 rmdir conf$$.dir
2>/dev
/null
18745 # Create "$as_dir" as a directory, including parents if necessary.
18750 -*) as_dir
=.
/$as_dir;;
18752 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
18756 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
18757 *) as_qdir
=$as_dir;;
18759 as_dirs
="'$as_qdir' $as_dirs"
18760 as_dir
=`$as_dirname -- "$as_dir" ||
18761 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18762 X"$as_dir" : 'X\(//\)[^/]' \| \
18763 X"$as_dir" : 'X\(//\)$' \| \
18764 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
18765 $as_echo X"$as_dir" |
18766 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18770 /^X\(\/\/\)[^/].*/{
18783 test -d "$as_dir" && break
18785 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
18786 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
18790 if mkdir
-p .
2>/dev
/null
; then
18791 as_mkdir_p
='mkdir -p "$as_dir"'
18793 test -d .
/-p && rmdir .
/-p
18798 # as_fn_executable_p FILE
18799 # -----------------------
18800 # Test if FILE is an executable regular file.
18801 as_fn_executable_p
()
18803 test -f "$1" && test -x "$1"
18804 } # as_fn_executable_p
18805 as_test_x
='test -x'
18806 as_executable_p
=as_fn_executable_p
18808 # Sed expression to map a string onto a valid CPP name.
18809 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
18811 # Sed expression to map a string onto a valid variable name.
18812 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
18816 ## ----------------------------------- ##
18817 ## Main body of $CONFIG_STATUS script. ##
18818 ## ----------------------------------- ##
18820 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
18822 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18823 # Save the log message, to keep $0 and so on meaningful, and to
18824 # report actual input values of CONFIG_FILES etc. instead of their
18825 # values after options handling.
18827 This file was extended by Wine $as_me 1.8, which was
18828 generated by GNU Autoconf 2.69. Invocation command line was
18830 CONFIG_FILES = $CONFIG_FILES
18831 CONFIG_HEADERS = $CONFIG_HEADERS
18832 CONFIG_LINKS = $CONFIG_LINKS
18833 CONFIG_COMMANDS = $CONFIG_COMMANDS
18836 on `(hostname || uname -n) 2>/dev/null | sed 1q`
18841 case $ac_config_files in *"
18842 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
18845 case $ac_config_headers in *"
18846 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
18850 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18851 # Files that config.status was made for.
18852 config_files="$ac_config_files"
18853 config_headers="$ac_config_headers"
18854 config_links="$ac_config_links"
18855 config_commands="$ac_config_commands"
18859 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18861 \`$as_me' instantiates files and other configuration actions
18862 from templates according to the current configuration. Unless the files
18863 and actions are specified as TAGs, all are instantiated by default.
18865 Usage: $0 [OPTION]... [TAG]...
18867 -h, --help print this help, then exit
18868 -V, --version print version number and configuration settings, then exit
18869 --config print configuration, then exit
18870 -q, --quiet, --silent
18871 do not print progress messages
18872 -d, --debug don't remove temporary files
18873 --recheck update $as_me by reconfiguring in the same conditions
18874 --file=FILE[:TEMPLATE]
18875 instantiate the configuration file FILE
18876 --header=FILE[:TEMPLATE]
18877 instantiate the configuration header FILE
18879 Configuration files:
18882 Configuration headers:
18885 Configuration links:
18888 Configuration commands:
18891 Report bugs to <wine-devel@winehq.org>.
18892 Wine home page: <http://www.winehq.org>."
18895 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18896 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
18898 Wine config.status 1.8
18899 configured by $0, generated by GNU Autoconf 2.69,
18900 with options \\"\$ac_cs_config\\"
18902 Copyright (C) 2012 Free Software Foundation, Inc.
18903 This config.status script is free software; the Free Software Foundation
18904 gives unlimited permission to copy, distribute and modify it."
18908 test -n "\$AWK" || AWK=awk
18911 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18912 # The default lists apply if the user does not specify any file.
18918 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
18919 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
18923 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
18935 # Handling of the options.
18936 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
18938 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
18939 $as_echo "$ac_cs_version"; exit ;;
18940 --config |
--confi |
--conf |
--con |
--co |
--c )
18941 $as_echo "$ac_cs_config"; exit ;;
18942 --debug |
--debu |
--deb |
--de |
--d |
-d )
18944 --file |
--fil |
--fi |
--f )
18947 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18948 '') as_fn_error $?
"missing file argument" ;;
18950 as_fn_append CONFIG_FILES
" '$ac_optarg'"
18951 ac_need_defaults
=false
;;
18952 --header |
--heade |
--head |
--hea )
18955 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18957 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
18958 ac_need_defaults
=false
;;
18960 # Conflict between --help and --header
18961 as_fn_error $?
"ambiguous option: \`$1'
18962 Try \`$0 --help' for more information.";;
18963 --help |
--hel |
-h )
18964 $as_echo "$ac_cs_usage"; exit ;;
18965 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
18966 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
18969 # This is an error.
18970 -*) as_fn_error $?
"unrecognized option: \`$1'
18971 Try \`$0 --help' for more information." ;;
18973 *) as_fn_append ac_config_targets
" $1"
18974 ac_need_defaults
=false
;;
18980 ac_configure_extra_args
=
18982 if $ac_cs_silent; then
18984 ac_configure_extra_args
="$ac_configure_extra_args --silent"
18988 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18989 if \$ac_cs_recheck; then
18990 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
18992 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
18993 CONFIG_SHELL='$SHELL'
18994 export CONFIG_SHELL
18999 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19003 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
19004 ## Running $as_me. ##
19010 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19014 wine_fn_output_makedep ()
19016 as_dir=tools; as_fn_mkdir_p
19017 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
19019 wine_fn_output_makefile ()
19021 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" . && return
19022 `cat $wine_rules_file`
19024 as_fn_error $? "could not create Makefile" "$LINENO" 5
19026 wine_fn_output_gitignore ()
19028 sort <<\_WINE_EOF >\$tmp/gitignore && mv -f \$tmp/gitignore \$1 && return
19031 as_fn_error $? "could not create .gitignore" "$LINENO" 5
19036 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19038 # Handling of arguments.
19039 for ac_config_target
in $ac_config_targets
19041 case $ac_config_target in
19042 "include/config.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/config.h" ;;
19043 "include/stamp-h") CONFIG_COMMANDS
="$CONFIG_COMMANDS include/stamp-h" ;;
19044 "fonts/marlett.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
19045 "fonts/symbol.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
19046 "fonts/tahoma.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
19047 "fonts/tahomabd.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
19048 "fonts/wingding.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/wingding.ttf:fonts/wingding.ttf" ;;
19049 "loader/l_intl.nls") CONFIG_LINKS
="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
19050 "po/LINGUAS") CONFIG_LINKS
="$CONFIG_LINKS po/LINGUAS:po/LINGUAS" ;;
19051 "wine") CONFIG_LINKS
="$CONFIG_LINKS wine:tools/winewrapper" ;;
19052 "wine64") CONFIG_LINKS
="$CONFIG_LINKS wine64:tools/winewrapper" ;;
19053 "tools/makedep") CONFIG_COMMANDS
="$CONFIG_COMMANDS tools/makedep" ;;
19054 "Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS Makefile" ;;
19055 "Make.tmp") CONFIG_FILES
="$CONFIG_FILES Make.tmp:Makefile.in" ;;
19056 ".gitignore") CONFIG_COMMANDS
="$CONFIG_COMMANDS .gitignore" ;;
19058 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
19063 # If the user did not use the arguments to specify the items to instantiate,
19064 # then the envvar interface is used. Set only those that are not.
19065 # We use the long form for the default assignment because of an extremely
19066 # bizarre bug on SunOS 4.1.3.
19067 if $ac_need_defaults; then
19068 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
19069 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
19070 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS
=$config_links
19071 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
19074 # Have a temporary directory for convenience. Make it in the build tree
19075 # simply because there is no reason against having it here, and in addition,
19076 # creating and moving files from /tmp can sometimes cause problems.
19077 # Hook for its removal unless debugging.
19078 # Note that there is a small window in which the directory will not be cleaned:
19079 # after its creation but before its name has been assigned to `$tmp'.
19083 trap 'exit_status=$?
19084 : "${ac_tmp:=$tmp}"
19085 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
19087 trap 'as_fn_exit 1' 1 2 13 15
19089 # Create a (secure) tmp directory for tmp files.
19092 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
19096 tmp
=.
/conf$$
-$RANDOM
19097 (umask 077 && mkdir
"$tmp")
19098 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
19101 # Set up the scripts for CONFIG_FILES section.
19102 # No need to generate them if there are no CONFIG_FILES.
19103 # This happens for instance with `./config.status config.h'.
19104 if test -n "$CONFIG_FILES"; then
19107 ac_cr
=`echo X | tr X '\015'`
19108 # On cygwin, bash can eat \r inside `` if the user requested igncr.
19109 # But we know of no other shell where ac_cr would be empty at this
19110 # point, so we can use a bashism as a fallback.
19111 if test "x$ac_cr" = x
; then
19112 eval ac_cr
=\$
\'\\r
\'
19114 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
19115 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
19118 ac_cs_awk_cr
=$ac_cr
19121 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
19126 echo "cat >conf$$subs.awk <<_ACEOF" &&
19127 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
19129 } >conf$$subs.sh ||
19130 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
19131 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
19133 for ac_last_try in false false false false false :; do
19134 . ./conf$$subs.sh ||
19135 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
19137 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
19138 if test $ac_delim_n = $ac_delim_num; then
19140 elif $ac_last_try; then
19141 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
19143 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
19146 rm -f conf$$subs.sh
19148 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19149 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
19153 s/^/S["/; s
/!.
*/"]=/
19163 s/\(.\{148\}\)..*/\1/
19165 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
19170 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
19177 s/\(.\{148\}\)..*/\1/
19179 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
19183 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
19188 ' <conf$$subs.awk | sed '
19193 ' >>$CONFIG_STATUS || ac_write_fail=1
19194 rm -f conf$$subs.awk
19195 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19197 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
19198 for (key in S) S_is_set[key] = 1
19204 nfields = split(line, field, "@
")
19206 len = length(field[1])
19207 for (i = 2; i < nfields; i++) {
19209 keylen = length(key)
19210 if (S_is_set[key]) {
19212 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
19213 len += length(value) + length(field[++i])
19224 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19225 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
19226 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
19229 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
19230 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
19233 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
19234 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
19235 # trailing colons and then remove the whole line if VPATH becomes empty
19236 # (actually we leave an empty line to preserve line numbers).
19237 if test "x
$srcdir" = x.; then
19238 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
19256 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19257 fi # test -n "$CONFIG_FILES"
19259 # Set up the scripts for CONFIG_HEADERS section.
19260 # No need to generate them if there are no CONFIG_HEADERS.
19261 # This happens for instance with `./config.status Makefile'.
19262 if test -n "$CONFIG_HEADERS"; then
19263 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
19267 # Transform confdefs.h into an awk script `defines.awk', embedded as
19268 # here-document in config.status, that substitutes the proper values into
19269 # config.h.in to produce config.h.
19271 # Create a delimiter string that does not exist in confdefs.h, to ease
19272 # handling of long lines.
19274 for ac_last_try in false false :; do
19275 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
19276 if test -z "$ac_tt"; then
19278 elif $ac_last_try; then
19279 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
19281 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
19285 # For the awk script, D is an array of macro values keyed by name,
19286 # likewise P contains macro parameters if any. Preserve backslash
19287 # newline sequences.
19289 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
19291 s/.\{148\}/&'"$ac_delim"'/g
19294 s/^[ ]*#[ ]*define[ ][ ]*/ /
19301 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
19303 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
19307 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
19308 D["\
1"]=" \
3\\\\\\n
"\\/p
19310 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
19315 s/.\{148\}/&'"$ac_delim"'/g
19320 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
19323 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
19325 ' <confdefs.h | sed '
19326 s/'"$ac_delim"'/"\\\
19327 "/g' >>$CONFIG_STATUS || ac_write_fail=1
19329 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19330 for (key in D) D_is_set[key] = 1
19333 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
19335 split(line, arg, " ")
19336 if (arg[1] == "#") {
19340 defundef
= substr
(arg
[1], 2)
19343 split(mac1
, mac2
, "(") #)
19345 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
19346 if (D_is_set
[macro
]) {
19347 # Preserve the white space surrounding the "#".
19348 print prefix
"define", macro P
[macro
] D
[macro
]
19351 # Replace #undef with comments. This is necessary, for example,
19352 # in the case of _POSIX_SOURCE, which is predefined and required
19353 # on some systems where configure will not decide to define it.
19354 if (defundef
== "undef") {
19355 print
"/*", prefix defundef
, macro
, "*/"
19363 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19364 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
19365 fi # test -n "$CONFIG_HEADERS"
19368 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
19373 :[FHLC
]) ac_mode
=$ac_tag; continue;;
19375 case $ac_mode$ac_tag in
19377 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
19378 :[FH
]-) ac_tag
=-:-;;
19379 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
19396 -) ac_f
="$ac_tmp/stdin";;
19397 *) # Look for the file first in the build tree, then in the source tree
19398 # (if the path is not absolute). The absolute path cannot be DOS-style,
19399 # because $ac_f cannot contain `:'.
19403 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
19405 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
19407 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
19408 as_fn_append ac_file_inputs
" '$ac_f'"
19411 # Let's still pretend it is `configure' which instantiates (i.e., don't
19412 # use $as_me), people would be surprised to read:
19413 # /* config.h. Generated by config.status. */
19414 configure_input
='Generated from '`
19415 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
19417 if test x
"$ac_file" != x-
; then
19418 configure_input
="$ac_file. $configure_input"
19419 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
19420 $as_echo "$as_me: creating $ac_file" >&6;}
19422 # Neutralize special characters interpreted by sed in replacement strings.
19423 case $configure_input in #(
19424 *\
&* |
*\|
* |
*\\* )
19425 ac_sed_conf_input
=`$as_echo "$configure_input" |
19426 sed 's/[\\\\&|]/\\\\&/g'`;; #(
19427 *) ac_sed_conf_input
=$configure_input;;
19431 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
19432 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
19437 ac_dir
=`$as_dirname -- "$ac_file" ||
19438 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19439 X"$ac_file" : 'X\(//\)[^/]' \| \
19440 X"$ac_file" : 'X\(//\)$' \| \
19441 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
19442 $as_echo X"$ac_file" |
19443 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19447 /^X\(\/\/\)[^/].*/{
19460 as_dir
="$ac_dir"; as_fn_mkdir_p
19464 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
19466 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
19467 # A ".." for each directory in $ac_dir_suffix.
19468 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
19469 case $ac_top_builddir_sub in
19470 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
19471 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
19474 ac_abs_top_builddir
=$ac_pwd
19475 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
19476 # for backward compatibility:
19477 ac_top_builddir
=$ac_top_build_prefix
19480 .
) # We are building in place.
19482 ac_top_srcdir
=$ac_top_builddir_sub
19483 ac_abs_top_srcdir
=$ac_pwd ;;
19484 [\\/]* | ?
:[\\/]* ) # Absolute name.
19485 ac_srcdir
=$srcdir$ac_dir_suffix;
19486 ac_top_srcdir
=$srcdir
19487 ac_abs_top_srcdir
=$srcdir ;;
19488 *) # Relative name.
19489 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
19490 ac_top_srcdir
=$ac_top_build_prefix$srcdir
19491 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
19493 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
19504 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19505 # If the template does not know about datarootdir, expand it.
19506 # FIXME: This hack should be removed a few years after 2.60.
19507 ac_datarootdir_hack
=; ac_datarootdir_seen
=
19518 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
19519 *datarootdir
*) ac_datarootdir_seen
=yes;;
19520 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
19521 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
19522 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
19524 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19525 ac_datarootdir_hack='
19526 s&@datadir@&$datadir&g
19527 s&@docdir@&$docdir&g
19528 s&@infodir@&$infodir&g
19529 s&@localedir@&$localedir&g
19530 s&@mandir@&$mandir&g
19531 s&\\\${datarootdir}&$datarootdir&g' ;;
19535 # Neutralize VPATH when `$srcdir' = `.'.
19536 # Shell code in configure.ac might set extrasub.
19537 # FIXME: do we really want to maintain this feature?
19538 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19539 ac_sed_extra="$ac_vpsub
19542 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19544 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
19545 s|@configure_input@|
$ac_sed_conf_input|
;t t
19546 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
19547 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
19548 s
&@srcdir@
&$ac_srcdir&;t t
19549 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
19550 s
&@top_srcdir@
&$ac_top_srcdir&;t t
19551 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
19552 s
&@builddir@
&$ac_builddir&;t t
19553 s
&@abs_builddir@
&$ac_abs_builddir&;t t
19554 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
19555 $ac_datarootdir_hack
19557 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
19558 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
19560 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
19561 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
19562 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
19563 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
19564 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
19565 which seems to be undefined. Please make sure it is defined" >&5
19566 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
19567 which seems to be undefined. Please make sure it is defined" >&2;}
19569 rm -f "$ac_tmp/stdin"
19571 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
19572 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
19574 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19580 if test x"$ac_file" != x-; then
19582 $as_echo "/* $configure_input */" \
19583 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
19584 } >"$ac_tmp/config.h" \
19585 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19586 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
19587 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
19588 $as_echo "$as_me: $ac_file is unchanged" >&6;}
19591 mv "$ac_tmp/config.h" "$ac_file" \
19592 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19595 $as_echo "/* $configure_input */" \
19596 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
19597 || as_fn_error $? "could not create -" "$LINENO" 5
19605 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.
'; then
19608 # Prefer the file from the source tree if names are identical.
19609 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
19610 ac_source=$srcdir/$ac_source
19613 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
19614 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
19616 if test ! -r "$ac_source"; then
19617 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
19621 # Try a relative symlink, then a hard link, then a copy.
19623 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
19624 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
19626 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
19627 ln "$ac_source" "$ac_file" 2>/dev/null ||
19628 cp -p "$ac_source" "$ac_file" ||
19629 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
19632 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
19633 $as_echo "$as_me: executing $ac_file commands" >&6;}
19638 case $ac_file$ac_mode in
19639 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
19640 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
19641 "Makefile":C) wine_fn_output_makefile Makefile ;;
19642 ".gitignore":C) wine_fn_output_gitignore .gitignore ;;
19650 ac_clean_files=$ac_clean_files_save
19652 test $ac_write_fail = 0 ||
19653 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
19656 # configure is writing to config.log, and then calls config.status.
19657 # config.status does its own redirection, appending to config.log.
19658 # Unfortunately, on DOS this fails, as config.log is still kept open
19659 # by configure, so config.status won't be able to
write to it
; its
19660 # output is simply discarded. So we exec the FD to /dev/null,
19661 # effectively closing config.log, so it can be properly (re)opened and
19662 # appended to by config.status. When coming back to configure, we
19663 # need to make the FD available again.
19664 if test "$no_create" != yes; then
19666 ac_config_status_args
=
19667 test "$silent" = yes &&
19668 ac_config_status_args
="$ac_config_status_args --quiet"
19670 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
19672 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
19673 # would make configure fail if this is the last instruction.
19674 $ac_cs_success || as_fn_exit
1
19676 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
19677 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
19678 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
19682 if test "$no_create" = "yes"
19688 if test "x$wine_notices" != x
; then
19691 for msg
in $wine_notices; do
19693 if ${msg:+false} :; then :
19696 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
19697 $as_echo "$as_me: $msg" >&6;}
19702 for msg
in $wine_warnings; do
19704 if ${msg:+false} :; then :
19708 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
19709 $as_echo "$as_me: WARNING: $msg" >&2;}
19715 $as_me: Finished. Do '${ac_make}' to compile Wine.