2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 1.7.51.
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.7.51'
584 PACKAGE_STRING
='Wine 1.7.51'
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
698 APPLICATIONSERVICES_LIBS
785 program_transform_name
798 enable_option_checking
802 enable_maintainer_mode
859 enable_api_ms_win_core_com_l1_1_0
860 enable_api_ms_win_core_console_l1_1_0
861 enable_api_ms_win_core_datetime_l1_1_0
862 enable_api_ms_win_core_datetime_l1_1_1
863 enable_api_ms_win_core_debug_l1_1_0
864 enable_api_ms_win_core_debug_l1_1_1
865 enable_api_ms_win_core_errorhandling_l1_1_0
866 enable_api_ms_win_core_errorhandling_l1_1_1
867 enable_api_ms_win_core_errorhandling_l1_1_2
868 enable_api_ms_win_core_fibers_l1_1_0
869 enable_api_ms_win_core_fibers_l1_1_1
870 enable_api_ms_win_core_file_l1_1_0
871 enable_api_ms_win_core_file_l1_2_0
872 enable_api_ms_win_core_file_l2_1_0
873 enable_api_ms_win_core_file_l2_1_1
874 enable_api_ms_win_core_handle_l1_1_0
875 enable_api_ms_win_core_heap_l1_1_0
876 enable_api_ms_win_core_heap_l1_2_0
877 enable_api_ms_win_core_heap_obsolete_l1_1_0
878 enable_api_ms_win_core_interlocked_l1_1_0
879 enable_api_ms_win_core_interlocked_l1_2_0
880 enable_api_ms_win_core_io_l1_1_1
881 enable_api_ms_win_core_kernel32_legacy_l1_1_0
882 enable_api_ms_win_core_libraryloader_l1_1_0
883 enable_api_ms_win_core_libraryloader_l1_1_1
884 enable_api_ms_win_core_localization_l1_2_0
885 enable_api_ms_win_core_localization_l1_2_1
886 enable_api_ms_win_core_localization_obsolete_l1_1_0
887 enable_api_ms_win_core_localregistry_l1_1_0
888 enable_api_ms_win_core_memory_l1_1_0
889 enable_api_ms_win_core_memory_l1_1_1
890 enable_api_ms_win_core_misc_l1_1_0
891 enable_api_ms_win_core_namedpipe_l1_1_0
892 enable_api_ms_win_core_namedpipe_l1_2_0
893 enable_api_ms_win_core_processenvironment_l1_1_0
894 enable_api_ms_win_core_processenvironment_l1_2_0
895 enable_api_ms_win_core_processthreads_l1_1_0
896 enable_api_ms_win_core_processthreads_l1_1_1
897 enable_api_ms_win_core_processthreads_l1_1_2
898 enable_api_ms_win_core_profile_l1_1_0
899 enable_api_ms_win_core_psapi_l1_1_0
900 enable_api_ms_win_core_registry_l1_1_0
901 enable_api_ms_win_core_rtlsupport_l1_1_0
902 enable_api_ms_win_core_rtlsupport_l1_2_0
903 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
904 enable_api_ms_win_core_string_l1_1_0
905 enable_api_ms_win_core_synch_l1_1_0
906 enable_api_ms_win_core_synch_l1_2_0
907 enable_api_ms_win_core_sysinfo_l1_1_0
908 enable_api_ms_win_core_sysinfo_l1_2_0
909 enable_api_ms_win_core_sysinfo_l1_2_1
910 enable_api_ms_win_core_threadpool_legacy_l1_1_0
911 enable_api_ms_win_core_timezone_l1_1_0
912 enable_api_ms_win_core_url_l1_1_0
913 enable_api_ms_win_core_util_l1_1_0
914 enable_api_ms_win_core_winrt_error_l1_1_0
915 enable_api_ms_win_core_winrt_error_l1_1_1
916 enable_api_ms_win_core_winrt_l1_1_0
917 enable_api_ms_win_core_winrt_string_l1_1_0
918 enable_api_ms_win_core_xstate_l2_1_0
919 enable_api_ms_win_crt_conio_l1_1_0
920 enable_api_ms_win_crt_convert_l1_1_0
921 enable_api_ms_win_crt_environment_l1_1_0
922 enable_api_ms_win_crt_filesystem_l1_1_0
923 enable_api_ms_win_crt_heap_l1_1_0
924 enable_api_ms_win_crt_locale_l1_1_0
925 enable_api_ms_win_crt_math_l1_1_0
926 enable_api_ms_win_crt_multibyte_l1_1_0
927 enable_api_ms_win_crt_private_l1_1_0
928 enable_api_ms_win_crt_process_l1_1_0
929 enable_api_ms_win_crt_runtime_l1_1_0
930 enable_api_ms_win_crt_stdio_l1_1_0
931 enable_api_ms_win_crt_string_l1_1_0
932 enable_api_ms_win_crt_time_l1_1_0
933 enable_api_ms_win_crt_utility_l1_1_0
934 enable_api_ms_win_downlevel_advapi32_l1_1_0
935 enable_api_ms_win_downlevel_advapi32_l2_1_0
936 enable_api_ms_win_downlevel_normaliz_l1_1_0
937 enable_api_ms_win_downlevel_ole32_l1_1_0
938 enable_api_ms_win_downlevel_shell32_l1_1_0
939 enable_api_ms_win_downlevel_shlwapi_l1_1_0
940 enable_api_ms_win_downlevel_shlwapi_l2_1_0
941 enable_api_ms_win_downlevel_user32_l1_1_0
942 enable_api_ms_win_downlevel_version_l1_1_0
943 enable_api_ms_win_eventing_provider_l1_1_0
944 enable_api_ms_win_ntuser_dc_access_l1_1_0
945 enable_api_ms_win_security_base_l1_1_0
946 enable_api_ms_win_security_base_l1_2_0
947 enable_api_ms_win_security_sddl_l1_1_0
948 enable_api_ms_win_service_core_l1_1_1
949 enable_api_ms_win_service_management_l1_1_0
950 enable_api_ms_win_service_winsvc_l1_2_0
993 enable_d3dcompiler_33
994 enable_d3dcompiler_34
995 enable_d3dcompiler_35
996 enable_d3dcompiler_36
997 enable_d3dcompiler_37
998 enable_d3dcompiler_38
999 enable_d3dcompiler_39
1000 enable_d3dcompiler_40
1001 enable_d3dcompiler_41
1002 enable_d3dcompiler_42
1003 enable_d3dcompiler_43
1004 enable_d3dcompiler_46
1005 enable_d3dcompiler_47
1083 enable_explorerframe
1084 enable_ext_ms_win_gdi_devcaps_l1_1_0
1242 enable_photometadatahandler
1326 enable_windowscodecs
1327 enable_windowscodecsext
1329 enable_winecoreaudio_drv
1331 enable_winegstreamer
1332 enable_winejoystick_drv
1338 enable_wineqtdecoder
1387 enable_documentation
1395 enable_aspnet_regiis
1428 enable_presentationfontcache
1441 enable_servicemodelreg
1462 enable_winemenubuilder
1464 enable_winemsibuilder
1478 ac_precious_vars
='build_alias
1527 # Initialize some variables set by options.
1529 ac_init_version
=false
1530 ac_unrecognized_opts
=
1531 ac_unrecognized_sep
=
1532 # The variables have the same names as the options, with
1533 # dashes changed to underlines.
1534 cache_file
=/dev
/null
1541 program_transform_name
=s
,x
,x
,
1549 # Installation directory options.
1550 # These are left unexpanded so users can "make install exec_prefix=/foo"
1551 # and all the variables that are supposed to be based on exec_prefix
1552 # by default will actually change.
1553 # Use braces instead of parens because sh, perl, etc. also accept them.
1554 # (The list follows the same order as the GNU Coding Standards.)
1555 bindir
='${exec_prefix}/bin'
1556 sbindir
='${exec_prefix}/sbin'
1557 libexecdir
='${exec_prefix}/libexec'
1558 datarootdir
='${prefix}/share'
1559 datadir
='${datarootdir}'
1560 sysconfdir
='${prefix}/etc'
1561 sharedstatedir
='${prefix}/com'
1562 localstatedir
='${prefix}/var'
1563 runstatedir
='${localstatedir}/run'
1564 includedir
='${prefix}/include'
1565 oldincludedir
='/usr/include'
1566 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
1567 infodir
='${datarootdir}/info'
1572 libdir
='${exec_prefix}/lib'
1573 localedir
='${datarootdir}/locale'
1574 mandir
='${datarootdir}/man'
1580 # If the previous option needs an argument, assign it.
1581 if test -n "$ac_prev"; then
1582 eval $ac_prev=\
$ac_option
1588 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1593 # Accept the important Cygnus configure options, so we can diagnose typos.
1595 case $ac_dashdash$ac_option in
1599 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
1601 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
1602 bindir
=$ac_optarg ;;
1604 -build |
--build |
--buil |
--bui |
--bu)
1605 ac_prev
=build_alias
;;
1606 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
1607 build_alias
=$ac_optarg ;;
1609 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
1610 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
1611 ac_prev
=cache_file
;;
1612 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
1613 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
1614 cache_file
=$ac_optarg ;;
1616 --config-cache |
-C)
1617 cache_file
=config.cache
;;
1619 -datadir |
--datadir |
--datadi |
--datad)
1621 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
1622 datadir
=$ac_optarg ;;
1624 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1625 |
--dataroo |
--dataro |
--datar)
1626 ac_prev
=datarootdir
;;
1627 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1628 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1629 datarootdir
=$ac_optarg ;;
1631 -disable-* |
--disable-*)
1632 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1633 # Reject names that are not valid shell variable names.
1634 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1635 as_fn_error $?
"invalid feature name: $ac_useropt"
1636 ac_useropt_orig
=$ac_useropt
1637 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1638 case $ac_user_opts in
1640 "enable_
$ac_useropt"
1642 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1643 ac_unrecognized_sep
=', ';;
1645 eval enable_
$ac_useropt=no
;;
1647 -docdir |
--docdir |
--docdi |
--doc |
--do)
1649 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1650 docdir
=$ac_optarg ;;
1652 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1654 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1655 dvidir
=$ac_optarg ;;
1657 -enable-* |
--enable-*)
1658 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1659 # Reject names that are not valid shell variable names.
1660 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1661 as_fn_error $?
"invalid feature name: $ac_useropt"
1662 ac_useropt_orig
=$ac_useropt
1663 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1664 case $ac_user_opts in
1666 "enable_
$ac_useropt"
1668 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1669 ac_unrecognized_sep
=', ';;
1671 eval enable_
$ac_useropt=\
$ac_optarg ;;
1673 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1674 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1675 |
--exec |
--exe |
--ex)
1676 ac_prev
=exec_prefix
;;
1677 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1678 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1679 |
--exec=* |
--exe=* |
--ex=*)
1680 exec_prefix
=$ac_optarg ;;
1682 -gas |
--gas |
--ga |
--g)
1683 # Obsolete; use --with-gas.
1686 -help |
--help |
--hel |
--he |
-h)
1687 ac_init_help
=long
;;
1688 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1689 ac_init_help
=recursive
;;
1690 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1691 ac_init_help
=short
;;
1693 -host |
--host |
--hos |
--ho)
1694 ac_prev
=host_alias
;;
1695 -host=* |
--host=* |
--hos=* |
--ho=*)
1696 host_alias
=$ac_optarg ;;
1698 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1700 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1702 htmldir
=$ac_optarg ;;
1704 -includedir |
--includedir |
--includedi |
--included |
--include \
1705 |
--includ |
--inclu |
--incl |
--inc)
1706 ac_prev
=includedir
;;
1707 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1708 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1709 includedir
=$ac_optarg ;;
1711 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1713 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1714 infodir
=$ac_optarg ;;
1716 -libdir |
--libdir |
--libdi |
--libd)
1718 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1719 libdir
=$ac_optarg ;;
1721 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1722 |
--libexe |
--libex |
--libe)
1723 ac_prev
=libexecdir
;;
1724 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1725 |
--libexe=* |
--libex=* |
--libe=*)
1726 libexecdir
=$ac_optarg ;;
1728 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1729 ac_prev
=localedir
;;
1730 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1731 localedir
=$ac_optarg ;;
1733 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1734 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1735 ac_prev
=localstatedir
;;
1736 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1737 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1738 localstatedir
=$ac_optarg ;;
1740 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1742 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1743 mandir
=$ac_optarg ;;
1745 -nfp |
--nfp |
--nf)
1746 # Obsolete; use --without-fp.
1749 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1750 |
--no-cr |
--no-c |
-n)
1753 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1754 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1757 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1758 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1759 |
--oldin |
--oldi |
--old |
--ol |
--o)
1760 ac_prev
=oldincludedir
;;
1761 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1762 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1763 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1764 oldincludedir
=$ac_optarg ;;
1766 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1768 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1769 prefix
=$ac_optarg ;;
1771 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1772 |
--program-pre |
--program-pr |
--program-p)
1773 ac_prev
=program_prefix
;;
1774 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1775 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1776 program_prefix
=$ac_optarg ;;
1778 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1779 |
--program-suf |
--program-su |
--program-s)
1780 ac_prev
=program_suffix
;;
1781 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1782 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1783 program_suffix
=$ac_optarg ;;
1785 -program-transform-name |
--program-transform-name \
1786 |
--program-transform-nam |
--program-transform-na \
1787 |
--program-transform-n |
--program-transform- \
1788 |
--program-transform |
--program-transfor \
1789 |
--program-transfo |
--program-transf \
1790 |
--program-trans |
--program-tran \
1791 |
--progr-tra |
--program-tr |
--program-t)
1792 ac_prev
=program_transform_name
;;
1793 -program-transform-name=* |
--program-transform-name=* \
1794 |
--program-transform-nam=* |
--program-transform-na=* \
1795 |
--program-transform-n=* |
--program-transform-=* \
1796 |
--program-transform=* |
--program-transfor=* \
1797 |
--program-transfo=* |
--program-transf=* \
1798 |
--program-trans=* |
--program-tran=* \
1799 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1800 program_transform_name
=$ac_optarg ;;
1802 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1804 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1805 pdfdir
=$ac_optarg ;;
1807 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1809 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1812 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1813 |
-silent |
--silent |
--silen |
--sile |
--sil)
1816 -runstatedir |
--runstatedir |
--runstatedi |
--runstated \
1817 |
--runstate |
--runstat |
--runsta |
--runst |
--runs \
1818 |
--run |
--ru |
--r)
1819 ac_prev
=runstatedir
;;
1820 -runstatedir=* |
--runstatedir=* |
--runstatedi=* |
--runstated=* \
1821 |
--runstate=* |
--runstat=* |
--runsta=* |
--runst=* |
--runs=* \
1822 |
--run=* |
--ru=* |
--r=*)
1823 runstatedir
=$ac_optarg ;;
1825 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1827 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1829 sbindir
=$ac_optarg ;;
1831 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1832 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1833 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1835 ac_prev
=sharedstatedir
;;
1836 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1837 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1838 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1840 sharedstatedir
=$ac_optarg ;;
1842 -site |
--site |
--sit)
1844 -site=* |
--site=* |
--sit=*)
1847 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1849 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1850 srcdir
=$ac_optarg ;;
1852 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1853 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1854 ac_prev
=sysconfdir
;;
1855 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1856 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1857 sysconfdir
=$ac_optarg ;;
1859 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1860 ac_prev
=target_alias
;;
1861 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1862 target_alias
=$ac_optarg ;;
1864 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1867 -version |
--version |
--versio |
--versi |
--vers |
-V)
1868 ac_init_version
=: ;;
1871 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1872 # Reject names that are not valid shell variable names.
1873 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1874 as_fn_error $?
"invalid package name: $ac_useropt"
1875 ac_useropt_orig
=$ac_useropt
1876 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1877 case $ac_user_opts in
1881 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1882 ac_unrecognized_sep
=', ';;
1884 eval with_
$ac_useropt=\
$ac_optarg ;;
1886 -without-* |
--without-*)
1887 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1888 # Reject names that are not valid shell variable names.
1889 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1890 as_fn_error $?
"invalid package name: $ac_useropt"
1891 ac_useropt_orig
=$ac_useropt
1892 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1893 case $ac_user_opts in
1897 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1898 ac_unrecognized_sep
=', ';;
1900 eval with_
$ac_useropt=no
;;
1903 # Obsolete; use --with-x.
1906 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1907 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1908 ac_prev
=x_includes
;;
1909 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1910 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1911 x_includes
=$ac_optarg ;;
1913 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1914 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1915 ac_prev
=x_libraries
;;
1916 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1917 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1918 x_libraries
=$ac_optarg ;;
1920 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1921 Try \`$0 --help' for more information"
1925 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1926 # Reject names that are not valid shell variable names.
1927 case $ac_envvar in #(
1928 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1929 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1931 eval $ac_envvar=\
$ac_optarg
1932 export $ac_envvar ;;
1935 # FIXME: should be removed in autoconf 3.0.
1936 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1937 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1938 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1939 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1945 if test -n "$ac_prev"; then
1946 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1947 as_fn_error $?
"missing argument to $ac_option"
1950 if test -n "$ac_unrecognized_opts"; then
1951 case $enable_option_checking in
1953 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1954 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1958 # Check all directory arguments for consistency.
1959 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1960 datadir sysconfdir sharedstatedir localstatedir includedir \
1961 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1962 libdir localedir mandir runstatedir
1964 eval ac_val
=\$
$ac_var
1965 # Remove trailing slashes.
1968 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1969 eval $ac_var=\
$ac_val;;
1971 # Be sure to have absolute directory names.
1973 [\\/$
]* | ?
:[\\/]* ) continue;;
1974 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1976 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1979 # There might be people who depend on the old broken behavior: `$host'
1980 # used to hold the argument of --host etc.
1981 # FIXME: To remove some day.
1984 target
=$target_alias
1986 # FIXME: To remove some day.
1987 if test "x$host_alias" != x
; then
1988 if test "x$build_alias" = x
; then
1989 cross_compiling
=maybe
1990 elif test "x$build_alias" != "x$host_alias"; then
1996 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1998 test "$silent" = yes && exec 6>/dev
/null
2001 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
2002 ac_ls_di
=`ls -di .` &&
2003 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
2004 as_fn_error $?
"working directory cannot be determined"
2005 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2006 as_fn_error $?
"pwd does not report name of working directory"
2009 # Find the source files, if location was not specified.
2010 if test -z "$srcdir"; then
2011 ac_srcdir_defaulted
=yes
2012 # Try the directory containing this script, then the parent directory.
2013 ac_confdir
=`$as_dirname -- "$as_myself" ||
2014 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2015 X"$as_myself" : 'X\(//\)[^/]' \| \
2016 X"$as_myself" : 'X\(//\)$' \| \
2017 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2018 $as_echo X"$as_myself" |
2019 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2037 if test ! -r "$srcdir/$ac_unique_file"; then
2041 ac_srcdir_defaulted
=no
2043 if test ! -r "$srcdir/$ac_unique_file"; then
2044 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
2045 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
2047 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
2049 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2051 # When building in place, set srcdir=.
2052 if test "$ac_abs_confdir" = "$ac_pwd"; then
2055 # Remove unnecessary trailing slashes from srcdir.
2056 # Double slashes in file names in object file debugging info
2057 # mess up M-x gdb in Emacs.
2059 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2061 for ac_var
in $ac_precious_vars; do
2062 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
2063 eval ac_env_
${ac_var}_value
=\$
${ac_var}
2064 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
2065 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
2069 # Report the --help message.
2071 if test "$ac_init_help" = "long"; then
2072 # Omit some internal or obsolete options to make the list less imposing.
2073 # This message is too long to be a string in the A/UX 3.1 sh.
2075 \`configure' configures Wine 1.7.51 to adapt to many kinds of systems.
2077 Usage: $0 [OPTION]... [VAR=VALUE]...
2079 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2080 VAR=VALUE. See below for descriptions of some of the useful variables.
2082 Defaults for the options are specified in brackets.
2085 -h, --help display this help and exit
2086 --help=short display options specific to this package
2087 --help=recursive display the short help of all the included packages
2088 -V, --version display version information and exit
2089 -q, --quiet, --silent do not print \`checking ...' messages
2090 --cache-file=FILE cache test results in FILE [disabled]
2091 -C, --config-cache alias for \`--cache-file=config.cache'
2092 -n, --no-create do not create output files
2093 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2095 Installation directories:
2096 --prefix=PREFIX install architecture-independent files in PREFIX
2097 [$ac_default_prefix]
2098 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2101 By default, \`make install' will install all the files in
2102 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2103 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2104 for instance \`--prefix=\$HOME'.
2106 For better control, use the options below.
2108 Fine tuning of the installation directories:
2109 --bindir=DIR user executables [EPREFIX/bin]
2110 --sbindir=DIR system admin executables [EPREFIX/sbin]
2111 --libexecdir=DIR program executables [EPREFIX/libexec]
2112 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2113 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2114 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2115 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2116 --libdir=DIR object code libraries [EPREFIX/lib]
2117 --includedir=DIR C header files [PREFIX/include]
2118 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2119 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2120 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2121 --infodir=DIR info documentation [DATAROOTDIR/info]
2122 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2123 --mandir=DIR man documentation [DATAROOTDIR/man]
2124 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2125 --htmldir=DIR html documentation [DOCDIR]
2126 --dvidir=DIR dvi documentation [DOCDIR]
2127 --pdfdir=DIR pdf documentation [DOCDIR]
2128 --psdir=DIR ps documentation [DOCDIR]
2134 --x-includes=DIR X include files are
in DIR
2135 --x-libraries=DIR X library files are
in DIR
2138 --build=BUILD configure
for building on BUILD
[guessed
]
2139 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
2143 if test -n "$ac_init_help"; then
2144 case $ac_init_help in
2145 short | recursive
) echo "Configuration of Wine 1.7.51:";;
2150 --disable-option-checking ignore unrecognized
--enable/--with options
2151 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
2152 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
2153 --disable-win16 do not include Win16 support
2154 --enable-win64 build a Win64 emulator on AMD64
(won
't run Win32
2156 --disable-tests do not build the regression tests
2157 --enable-maintainer-mode
2158 enable maintainer-specific build rules
2159 --disable-largefile omit support for large files
2162 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2163 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2164 --without-alsa do not use the Alsa sound support
2165 --without-capi do not use CAPI (ISDN support)
2166 --without-cms do not use CMS (color management support)
2167 --without-coreaudio do not use the CoreAudio sound support
2168 --without-cups do not use CUPS
2169 --without-curses do not use (n)curses
2170 --without-dbus do not use DBus (dynamic device support)
2171 --without-fontconfig do not use fontconfig
2172 --without-freetype do not use the FreeType library
2173 --without-gettext do not use gettext
2174 --with-gettextpo use the GetTextPO library to rebuild po files
2175 --without-gphoto do not use gphoto (Digital Camera support)
2176 --without-glu do not use the GLU library
2177 --without-gnutls do not use GnuTLS (schannel support)
2178 --without-gsm do not use libgsm (GSM 06.10 codec support)
2179 --without-gstreamer do not use GStreamer (codecs support)
2180 --without-hal do not use HAL (dynamic device support)
2181 --without-jpeg do not use JPEG
2182 --without-ldap do not use LDAP
2183 --without-mpg123 do not use the mpg123 library
2184 --without-netapi do not use the Samba NetAPI library
2185 --without-openal do not use OpenAL
2186 --without-opencl do not use OpenCL
2187 --without-opengl do not use OpenGL
2188 --without-osmesa do not use the OSMesa library
2189 --without-oss do not use the OSS sound support
2190 --without-pcap do not use the Packet Capture library
2191 --without-png do not use PNG
2192 --without-pthread do not use the pthread library
2193 --without-sane do not use SANE (scanner support)
2194 --without-tiff do not use TIFF
2195 --without-v4l do not use v4l1 (v4l support)
2196 --without-xcomposite do not use the Xcomposite extension
2197 --without-xcursor do not use the Xcursor extension
2198 --without-xinerama do not use Xinerama (multi-monitor support)
2199 --without-xinput do not use the Xinput extension
2200 --without-xinput2 do not use the Xinput 2 extension
2201 --without-xml do not use XML
2202 --without-xrandr do not use Xrandr (resolution changes)
2203 --without-xrender do not use the Xrender extension
2204 --without-xshape do not use the Xshape extension
2205 --without-xshm do not use XShm (shared memory extension)
2206 --without-xslt do not use XSLT
2207 --without-xxf86vm do not use XFree video mode extension
2208 --without-zlib do not use Zlib (data compression)
2209 --with-wine-tools=DIR use Wine tools from directory DIR
2210 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2211 --with-x use the X Window System
2213 Some influential environment variables:
2214 CC C compiler command
2215 CFLAGS C compiler flags
2216 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2217 nonstandard directory <lib dir>
2218 LIBS libraries to pass to the linker, e.g. -l<library>
2219 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2220 you have headers in a nonstandard directory <include dir>
2221 CXX C++ compiler command
2222 CXXFLAGS C++ compiler flags
2224 XMKMF Path to xmkmf, Makefile generator for X Window System
2225 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2226 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2227 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2228 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2229 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2230 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2231 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2232 HAL_LIBS Linker flags for hal, overriding pkg-config
2234 C compiler flags for gnutls, overriding pkg-config
2235 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2236 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2237 SANE_LIBS Linker flags for libsane, overriding pkg-config
2239 C compiler flags for libgphoto2, overriding pkg-config
2241 Linker flags for libgphoto2, overriding pkg-config
2243 C compiler flags for libgphoto2_port, overriding pkg-config
2245 Linker flags for libgphoto2_port, overriding pkg-config
2247 C compiler flags for lcms2, overriding pkg-config
2248 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2250 C compiler flags for freetype2, overriding pkg-config
2252 Linker flags for freetype2, overriding pkg-config
2254 C compiler flags for gstreamer-app-0.10, overriding pkg-config
2256 Linker flags for gstreamer-app-0.10, overriding pkg-config
2258 C compiler flags for capi20, overriding pkg-config
2259 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2261 C compiler flags for fontconfig, overriding pkg-config
2263 Linker flags for fontconfig, overriding pkg-config
2264 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2265 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2266 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2267 PNG_LIBS Linker flags for libpng, overriding pkg-config
2268 TIFF_CFLAGS C compiler flags for libtiff, overriding pkg-config
2269 TIFF_LIBS Linker flags for libtiff, overriding pkg-config
2271 C compiler flags for libmpg123, overriding pkg-config
2272 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2274 Use these variables to override the choices made by `configure' or to
help
2275 it to
find libraries and programs with nonstandard names
/locations.
2277 Report bugs to
<wine-devel@winehq.org
>.
2278 Wine home page
: <http
://www.winehq.org
>.
2283 if test "$ac_init_help" = "recursive"; then
2284 # If there are subdirs, report their specific --help.
2285 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
2286 test -d "$ac_dir" ||
2287 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
2292 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2294 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2295 # A ".." for each directory in $ac_dir_suffix.
2296 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2297 case $ac_top_builddir_sub in
2298 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2299 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
2302 ac_abs_top_builddir
=$ac_pwd
2303 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
2304 # for backward compatibility:
2305 ac_top_builddir
=$ac_top_build_prefix
2308 .
) # We are building in place.
2310 ac_top_srcdir
=$ac_top_builddir_sub
2311 ac_abs_top_srcdir
=$ac_pwd ;;
2312 [\\/]* | ?
:[\\/]* ) # Absolute name.
2313 ac_srcdir
=$srcdir$ac_dir_suffix;
2314 ac_top_srcdir
=$srcdir
2315 ac_abs_top_srcdir
=$srcdir ;;
2317 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
2318 ac_top_srcdir
=$ac_top_build_prefix$srcdir
2319 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
2321 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
2323 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
2324 # Check for guested configure.
2325 if test -f "$ac_srcdir/configure.gnu"; then
2327 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2328 elif test -f "$ac_srcdir/configure"; then
2330 $SHELL "$ac_srcdir/configure" --help=recursive
2332 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2334 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
2338 test -n "$ac_init_help" && exit $ac_status
2339 if $ac_init_version; then
2341 Wine configure
1.7.51
2342 generated by GNU Autoconf
2.69
2344 Copyright
(C
) 2012 Free Software Foundation
, Inc.
2345 This configure
script is free software
; the Free Software Foundation
2346 gives unlimited permission to copy
, distribute and modify it.
2351 ## ------------------------ ##
2352 ## Autoconf initialization. ##
2353 ## ------------------------ ##
2355 # ac_fn_c_try_compile LINENO
2356 # --------------------------
2357 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2358 ac_fn_c_try_compile
()
2360 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2361 rm -f conftest.
$ac_objext
2362 if { { ac_try
="$ac_compile"
2364 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2365 *) ac_try_echo=$ac_try;;
2367 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2368 $as_echo "$ac_try_echo"; } >&5
2369 (eval "$ac_compile") 2>conftest.err
2371 if test -s conftest.err; then
2372 grep -v '^ *+' conftest.err >conftest.er1
2373 cat conftest.er1 >&5
2374 mv -f conftest.er1 conftest.err
2376 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2377 test $ac_status = 0; } && {
2378 test -z "$ac_c_werror_flag" ||
2379 test ! -s conftest.err
2380 } && test -s conftest.$ac_objext; then :
2383 $as_echo "$as_me: failed program was:" >&5
2384 sed 's/^/| /' conftest.$ac_ext >&5
2388 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2389 as_fn_set_status $ac_retval
2391 } # ac_fn_c_try_compile
2393 # ac_fn_cxx_try_compile LINENO
2394 # ----------------------------
2395 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2396 ac_fn_cxx_try_compile ()
2398 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2399 rm -f conftest.$ac_objext
2400 if { { ac_try="$ac_compile"
2402 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2403 *) ac_try_echo
=$ac_try;;
2405 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2406 $as_echo "$ac_try_echo"; } >&5
2407 (eval "$ac_compile") 2>conftest.err
2409 if test -s conftest.err
; then
2410 grep -v '^ *+' conftest.err
>conftest.er1
2411 cat conftest.er1
>&5
2412 mv -f conftest.er1 conftest.err
2414 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2415 test $ac_status = 0; } && {
2416 test -z "$ac_cxx_werror_flag" ||
2417 test ! -s conftest.err
2418 } && test -s conftest.
$ac_objext; then :
2421 $as_echo "$as_me: failed program was:" >&5
2422 sed 's/^/| /' conftest.
$ac_ext >&5
2426 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2427 as_fn_set_status
$ac_retval
2429 } # ac_fn_cxx_try_compile
2431 # ac_fn_c_try_link LINENO
2432 # -----------------------
2433 # Try to link conftest.$ac_ext, and return whether this succeeded.
2436 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2437 rm -f conftest.
$ac_objext conftest
$ac_exeext
2438 if { { ac_try
="$ac_link"
2440 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2441 *) ac_try_echo=$ac_try;;
2443 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2444 $as_echo "$ac_try_echo"; } >&5
2445 (eval "$ac_link") 2>conftest.err
2447 if test -s conftest.err; then
2448 grep -v '^ *+' conftest.err >conftest.er1
2449 cat conftest.er1 >&5
2450 mv -f conftest.er1 conftest.err
2452 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2453 test $ac_status = 0; } && {
2454 test -z "$ac_c_werror_flag" ||
2455 test ! -s conftest.err
2456 } && test -s conftest$ac_exeext && {
2457 test "$cross_compiling" = yes ||
2458 test -x conftest$ac_exeext
2462 $as_echo "$as_me: failed program was:" >&5
2463 sed 's/^/| /' conftest.$ac_ext >&5
2467 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2468 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2469 # interfere with the next link command; also delete a directory that is
2470 # left behind by Apple's compiler. We do this before executing the actions.
2471 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2472 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2473 as_fn_set_status $ac_retval
2475 } # ac_fn_c_try_link
2477 # ac_fn_c_try_cpp LINENO
2478 # ----------------------
2479 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2482 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2483 if { { ac_try="$ac_cpp conftest.$ac_ext"
2485 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2486 *) ac_try_echo
=$ac_try;;
2488 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2489 $as_echo "$ac_try_echo"; } >&5
2490 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2492 if test -s conftest.err
; then
2493 grep -v '^ *+' conftest.err
>conftest.er1
2494 cat conftest.er1
>&5
2495 mv -f conftest.er1 conftest.err
2497 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2498 test $ac_status = 0; } > conftest.i
&& {
2499 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2500 test ! -s conftest.err
2504 $as_echo "$as_me: failed program was:" >&5
2505 sed 's/^/| /' conftest.
$ac_ext >&5
2509 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2510 as_fn_set_status
$ac_retval
2514 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2515 # -------------------------------------------------------
2516 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2517 # the include files in INCLUDES and setting the cache variable VAR
2519 ac_fn_c_check_header_mongrel
()
2521 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2522 if eval \
${$3+:} false
; then :
2523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2524 $as_echo_n "checking for $2... " >&6; }
2525 if eval \
${$3+:} false
; then :
2526 $as_echo_n "(cached) " >&6
2529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2530 $as_echo "$ac_res" >&6; }
2532 # Is the header compilable?
2533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2534 $as_echo_n "checking $2 usability... " >&6; }
2535 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2536 /* end confdefs.h. */
2540 if ac_fn_c_try_compile
"$LINENO"; then :
2541 ac_header_compiler
=yes
2543 ac_header_compiler
=no
2545 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2547 $as_echo "$ac_header_compiler" >&6; }
2549 # Is the header present?
2550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2551 $as_echo_n "checking $2 presence... " >&6; }
2552 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2553 /* end confdefs.h. */
2556 if ac_fn_c_try_cpp
"$LINENO"; then :
2557 ac_header_preproc
=yes
2559 ac_header_preproc
=no
2561 rm -f conftest.err conftest.i conftest.
$ac_ext
2562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2563 $as_echo "$ac_header_preproc" >&6; }
2565 # So? What about this header?
2566 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2568 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2569 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2570 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2571 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2574 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2575 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2576 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2577 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2578 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2579 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2580 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2581 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2582 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2583 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2584 ( $as_echo "## ------------------------------------ ##
2585 ## Report this to wine-devel@winehq.org ##
2586 ## ------------------------------------ ##"
2587 ) |
sed "s/^/$as_me: WARNING: /" >&2
2590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2591 $as_echo_n "checking for $2... " >&6; }
2592 if eval \
${$3+:} false
; then :
2593 $as_echo_n "(cached) " >&6
2595 eval "$3=\$ac_header_compiler"
2598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2599 $as_echo "$ac_res" >&6; }
2601 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2603 } # ac_fn_c_check_header_mongrel
2605 # ac_fn_c_try_run LINENO
2606 # ----------------------
2607 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2608 # that executables *can* be run.
2611 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2612 if { { ac_try
="$ac_link"
2614 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2615 *) ac_try_echo=$ac_try;;
2617 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2618 $as_echo "$ac_try_echo"; } >&5
2619 (eval "$ac_link") 2>&5
2621 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2622 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2623 { { case "(($ac_try" in
2624 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2625 *) ac_try_echo
=$ac_try;;
2627 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2628 $as_echo "$ac_try_echo"; } >&5
2629 (eval "$ac_try") 2>&5
2631 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2632 test $ac_status = 0; }; }; then :
2635 $as_echo "$as_me: program exited with status $ac_status" >&5
2636 $as_echo "$as_me: failed program was:" >&5
2637 sed 's/^/| /' conftest.
$ac_ext >&5
2639 ac_retval
=$ac_status
2641 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2642 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2643 as_fn_set_status
$ac_retval
2647 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2648 # -------------------------------------------------------
2649 # Tests whether HEADER exists and can be compiled using the include files in
2650 # INCLUDES, setting the cache variable VAR accordingly.
2651 ac_fn_c_check_header_compile
()
2653 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2655 $as_echo_n "checking for $2... " >&6; }
2656 if eval \
${$3+:} false
; then :
2657 $as_echo_n "(cached) " >&6
2659 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2660 /* end confdefs.h. */
2664 if ac_fn_c_try_compile
"$LINENO"; then :
2669 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2673 $as_echo "$ac_res" >&6; }
2674 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2676 } # ac_fn_c_check_header_compile
2678 # ac_fn_c_check_func LINENO FUNC VAR
2679 # ----------------------------------
2680 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2681 ac_fn_c_check_func
()
2683 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2685 $as_echo_n "checking for $2... " >&6; }
2686 if eval \
${$3+:} false
; then :
2687 $as_echo_n "(cached) " >&6
2689 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2690 /* end confdefs.h. */
2691 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2692 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2693 #define $2 innocuous_$2
2695 /* System header to define __stub macros and hopefully few prototypes,
2696 which can conflict with char $2 (); below.
2697 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2698 <limits.h> exists even on freestanding compilers. */
2701 # include <limits.h>
2703 # include <assert.h>
2708 /* Override any GCC internal prototype to avoid an error.
2709 Use char because int might match the return type of a GCC
2710 builtin and then its argument prototype would still apply. */
2715 /* The GNU C library defines this for functions which it implements
2716 to always fail with ENOSYS. Some functions are actually named
2717 something starting with __ and the normal name is an alias. */
2718 #if defined __stub_$2 || defined __stub___$2
2730 if ac_fn_c_try_link
"$LINENO"; then :
2735 rm -f core conftest.err conftest.
$ac_objext \
2736 conftest
$ac_exeext conftest.
$ac_ext
2739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2740 $as_echo "$ac_res" >&6; }
2741 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2743 } # ac_fn_c_check_func
2745 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2746 # ----------------------------------------------------
2747 # Tries to find if the field MEMBER exists in type AGGR, after including
2748 # INCLUDES, setting cache variable VAR accordingly.
2749 ac_fn_c_check_member
()
2751 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2753 $as_echo_n "checking for $2.$3... " >&6; }
2754 if eval \
${$4+:} false
; then :
2755 $as_echo_n "(cached) " >&6
2757 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2758 /* end confdefs.h. */
2770 if ac_fn_c_try_compile
"$LINENO"; then :
2773 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2774 /* end confdefs.h. */
2780 if (sizeof ac_aggr.$3)
2786 if ac_fn_c_try_compile
"$LINENO"; then :
2791 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2793 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2797 $as_echo "$ac_res" >&6; }
2798 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2800 } # ac_fn_c_check_member
2802 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2803 # -------------------------------------------
2804 # Tests whether TYPE exists after having included INCLUDES, setting cache
2805 # variable VAR accordingly.
2806 ac_fn_c_check_type
()
2808 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2810 $as_echo_n "checking for $2... " >&6; }
2811 if eval \
${$3+:} false
; then :
2812 $as_echo_n "(cached) " >&6
2815 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2816 /* end confdefs.h. */
2827 if ac_fn_c_try_compile
"$LINENO"; then :
2828 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2829 /* end confdefs.h. */
2840 if ac_fn_c_try_compile
"$LINENO"; then :
2845 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2847 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2851 $as_echo "$ac_res" >&6; }
2852 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2854 } # ac_fn_c_check_type
2855 cat >config.log
<<_ACEOF
2856 This file contains any messages produced by compilers while
2857 running configure, to aid debugging if configure makes a mistake.
2859 It was created by Wine $as_me 1.7.51, which was
2860 generated by GNU Autoconf 2.69. Invocation command line was
2872 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2873 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2874 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2875 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2876 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2878 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2879 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2881 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2882 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2883 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2884 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2885 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2886 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2887 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2891 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2895 test -z "$as_dir" && as_dir
=.
2896 $as_echo "PATH: $as_dir"
2912 # Keep a trace of the command line.
2913 # Strip out --no-create and --no-recursion so they do not pile up.
2914 # Strip out --silent because we don't want to record it for future runs.
2915 # Also quote any args containing shell meta-characters.
2916 # Make two passes to allow for proper duplicate-argument suppression.
2920 ac_must_keep_next
=false
2926 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
2927 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2928 |
-silent |
--silent |
--silen |
--sile |
--sil)
2931 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2934 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2936 as_fn_append ac_configure_args1
" '$ac_arg'"
2937 if test $ac_must_keep_next = true
; then
2938 ac_must_keep_next
=false
# Got value, back to normal.
2941 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
2942 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
2943 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
2944 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
2945 case "$ac_configure_args0 " in
2946 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2949 -* ) ac_must_keep_next
=true
;;
2952 as_fn_append ac_configure_args
" '$ac_arg'"
2957 { ac_configure_args0
=; unset ac_configure_args0
;}
2958 { ac_configure_args1
=; unset ac_configure_args1
;}
2960 # When interrupted or exit'd, cleanup temporary files, and complete
2961 # config.log. We remove comments because anyway the quotes in there
2962 # would cause problems or look ugly.
2963 # WARNING: Use '\'' to represent an apostrophe within the trap.
2964 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2965 trap 'exit_status=$?
2966 # Save into config.log some information that might help in debugging.
2970 $as_echo "## ---------------- ##
2971 ## Cache variables. ##
2972 ## ---------------- ##"
2974 # The following way of writing the cache mishandles newlines in values,
2976 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2977 eval ac_val=\$$ac_var
2981 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2982 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2985 _ | IFS | as_nl) ;; #(
2986 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2987 *) { eval $ac_var=; unset $ac_var;} ;;
2992 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2993 *${as_nl}ac_space=\ *)
2995 "s/'\''/'\''\\\\'\'''\''/g;
2996 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2999 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3006 $as_echo "## ----------------- ##
3007 ## Output variables. ##
3008 ## ----------------- ##"
3010 for ac_var in $ac_subst_vars
3012 eval ac_val=\$$ac_var
3014 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3016 $as_echo "$ac_var='\''$ac_val'\''"
3020 if test -n "$ac_subst_files"; then
3021 $as_echo "## ------------------- ##
3022 ## File substitutions. ##
3023 ## ------------------- ##"
3025 for ac_var
in $ac_subst_files
3027 eval ac_val
=\$
$ac_var
3029 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3031 $as_echo "$ac_var='\''$ac_val'\''"
3036 if test -s confdefs.h; then
3037 $as_echo "## ----------- ##
3044 test "$ac_signal" != 0 &&
3045 $as_echo "$as_me: caught signal $ac_signal"
3046 $as_echo "$as_me: exit $exit_status"
3048 rm -f core *.core core.conftest.* &&
3049 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3052 for ac_signal
in 1 2 13 15; do
3053 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3057 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3058 rm -f -r conftest
* confdefs.h
3060 $as_echo "/* confdefs.h */" > confdefs.h
3062 # Predefined preprocessor variables.
3064 cat >>confdefs.h
<<_ACEOF
3065 #define PACKAGE_NAME "$PACKAGE_NAME"
3068 cat >>confdefs.h
<<_ACEOF
3069 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3072 cat >>confdefs.h
<<_ACEOF
3073 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3076 cat >>confdefs.h
<<_ACEOF
3077 #define PACKAGE_STRING "$PACKAGE_STRING"
3080 cat >>confdefs.h
<<_ACEOF
3081 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3084 cat >>confdefs.h
<<_ACEOF
3085 #define PACKAGE_URL "$PACKAGE_URL"
3089 # Let the site file select an alternate cache file if it wants to.
3090 # Prefer an explicitly selected file to automatically selected ones.
3093 if test -n "$CONFIG_SITE"; then
3094 # We do not want a PATH search for config.site.
3095 case $CONFIG_SITE in #((
3096 -*) ac_site_file1
=.
/$CONFIG_SITE;;
3097 */*) ac_site_file1
=$CONFIG_SITE;;
3098 *) ac_site_file1
=.
/$CONFIG_SITE;;
3100 elif test "x$prefix" != xNONE
; then
3101 ac_site_file1
=$prefix/share
/config.site
3102 ac_site_file2
=$prefix/etc
/config.site
3104 ac_site_file1
=$ac_default_prefix/share
/config.site
3105 ac_site_file2
=$ac_default_prefix/etc
/config.site
3107 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
3109 test "x$ac_site_file" = xNONE
&& continue
3110 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
3111 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3112 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3113 sed 's/^/| /' "$ac_site_file" >&5
3115 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3116 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3117 as_fn_error $?
"failed to load site script $ac_site_file
3118 See \`config.log' for more details" "$LINENO" 5; }
3122 if test -r "$cache_file"; then
3123 # Some versions of bash will fail to source /dev/null (special files
3124 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3125 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
3126 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3127 $as_echo "$as_me: loading cache $cache_file" >&6;}
3129 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
3130 *) .
"./$cache_file";;
3134 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3135 $as_echo "$as_me: creating cache $cache_file" >&6;}
3139 # Check that the precious variables saved in the cache have kept the same
3141 ac_cache_corrupted
=false
3142 for ac_var
in $ac_precious_vars; do
3143 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
3144 eval ac_new_set
=\
$ac_env_${ac_var}_set
3145 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
3146 eval ac_new_val
=\
$ac_env_${ac_var}_value
3147 case $ac_old_set,$ac_new_set in
3149 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3150 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3151 ac_cache_corrupted
=: ;;
3153 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3154 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3155 ac_cache_corrupted
=: ;;
3158 if test "x$ac_old_val" != "x$ac_new_val"; then
3159 # differences in whitespace do not lead to failure.
3160 ac_old_val_w
=`echo x $ac_old_val`
3161 ac_new_val_w
=`echo x $ac_new_val`
3162 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3163 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3164 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3165 ac_cache_corrupted
=:
3167 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3168 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3169 eval $ac_var=\
$ac_old_val
3171 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3172 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3173 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3174 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3177 # Pass precious variables to config.status.
3178 if test "$ac_new_set" = set; then
3180 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3181 *) ac_arg
=$ac_var=$ac_new_val ;;
3183 case " $ac_configure_args " in
3184 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3185 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
3189 if $ac_cache_corrupted; then
3190 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3191 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3192 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3193 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3194 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3196 ## -------------------- ##
3197 ## Main body of script. ##
3198 ## -------------------- ##
3201 ac_cpp
='$CPP $CPPFLAGS'
3202 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3203 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3204 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3208 ac_config_headers
="$ac_config_headers include/config.h"
3211 for ac_dir
in tools
"$srcdir"/tools
; do
3212 if test -f "$ac_dir/install-sh"; then
3214 ac_install_sh
="$ac_aux_dir/install-sh -c"
3216 elif test -f "$ac_dir/install.sh"; then
3218 ac_install_sh
="$ac_aux_dir/install.sh -c"
3220 elif test -f "$ac_dir/shtool"; then
3222 ac_install_sh
="$ac_aux_dir/shtool install -c"
3226 if test -z "$ac_aux_dir"; then
3227 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3230 # These three variables are undocumented and unsupported,
3231 # and are intended to be withdrawn in a future Autoconf release.
3232 # They can cause serious problems if a builder's source tree is in a directory
3233 # whose full name contains unusual characters.
3234 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3235 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3236 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3240 libwine_version
="1.0"
3244 # Check whether --enable-win16 was given.
3245 if test "${enable_win16+set}" = set; then :
3246 enableval
=$enable_win16;
3249 # Check whether --enable-win64 was given.
3250 if test "${enable_win64+set}" = set; then :
3251 enableval
=$enable_win64;
3254 # Check whether --enable-tests was given.
3255 if test "${enable_tests+set}" = set; then :
3256 enableval
=$enable_tests;
3259 # Check whether --enable-maintainer-mode was given.
3260 if test "${enable_maintainer_mode+set}" = set; then :
3261 enableval
=$enable_maintainer_mode;
3266 # Check whether --with-alsa was given.
3267 if test "${with_alsa+set}" = set; then :
3268 withval
=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h
=no
; ac_cv_header_alsa_asoundlib_h
=no
; fi
3272 # Check whether --with-capi was given.
3273 if test "${with_capi+set}" = set; then :
3278 # Check whether --with-cms was given.
3279 if test "${with_cms+set}" = set; then :
3284 # Check whether --with-coreaudio was given.
3285 if test "${with_coreaudio+set}" = set; then :
3286 withval
=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h
=no
; fi
3290 # Check whether --with-cups was given.
3291 if test "${with_cups+set}" = set; then :
3296 # Check whether --with-curses was given.
3297 if test "${with_curses+set}" = set; then :
3298 withval
=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h
=no
; ac_cv_header_curses_h
=no
; fi
3302 # Check whether --with-dbus was given.
3303 if test "${with_dbus+set}" = set; then :
3308 # Check whether --with-fontconfig was given.
3309 if test "${with_fontconfig+set}" = set; then :
3310 withval
=$with_fontconfig;
3314 # Check whether --with-freetype was given.
3315 if test "${with_freetype+set}" = set; then :
3316 withval
=$with_freetype;
3320 # Check whether --with-gettext was given.
3321 if test "${with_gettext+set}" = set; then :
3322 withval
=$with_gettext;
3326 # Check whether --with-gettextpo was given.
3327 if test "${with_gettextpo+set}" = set; then :
3328 withval
=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h
=no
; fi
3332 # Check whether --with-gphoto was given.
3333 if test "${with_gphoto+set}" = set; then :
3334 withval
=$with_gphoto;
3338 # Check whether --with-glu was given.
3339 if test "${with_glu+set}" = set; then :
3344 # Check whether --with-gnutls was given.
3345 if test "${with_gnutls+set}" = set; then :
3346 withval
=$with_gnutls;
3350 # Check whether --with-gsm was given.
3351 if test "${with_gsm+set}" = set; then :
3352 withval
=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h
=no
; ac_cv_header_gsm_gsm_h
=no
; fi
3356 # Check whether --with-gstreamer was given.
3357 if test "${with_gstreamer+set}" = set; then :
3358 withval
=$with_gstreamer;
3362 # Check whether --with-hal was given.
3363 if test "${with_hal+set}" = set; then :
3368 # Check whether --with-jpeg was given.
3369 if test "${with_jpeg+set}" = set; then :
3374 # Check whether --with-ldap was given.
3375 if test "${with_ldap+set}" = set; then :
3376 withval
=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h
=no
; ac_cv_header_lber_h
=no
; fi
3380 # Check whether --with-mpg123 was given.
3381 if test "${with_mpg123+set}" = set; then :
3382 withval
=$with_mpg123;
3386 # Check whether --with-netapi was given.
3387 if test "${with_netapi+set}" = set; then :
3388 withval
=$with_netapi;
3392 # Check whether --with-openal was given.
3393 if test "${with_openal+set}" = set; then :
3394 withval
=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h
=no
; ac_cv_header_OpenAL_al_h
=no
; fi
3398 # Check whether --with-opencl was given.
3399 if test "${with_opencl+set}" = set; then :
3400 withval
=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h
=no
; ac_cv_header_OpenCL_opencl_h
=no
; fi
3404 # Check whether --with-opengl was given.
3405 if test "${with_opengl+set}" = set; then :
3406 withval
=$with_opengl;
3410 # Check whether --with-osmesa was given.
3411 if test "${with_osmesa+set}" = set; then :
3412 withval
=$with_osmesa;
3416 # Check whether --with-oss was given.
3417 if test "${with_oss+set}" = set; then :
3422 # Check whether --with-pcap was given.
3423 if test "${with_pcap+set}" = set; then :
3424 withval
=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h
=no
; fi
3428 # Check whether --with-png was given.
3429 if test "${with_png+set}" = set; then :
3434 # Check whether --with-pthread was given.
3435 if test "${with_pthread+set}" = set; then :
3436 withval
=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h
=no
; fi
3440 # Check whether --with-sane was given.
3441 if test "${with_sane+set}" = set; then :
3446 # Check whether --with-tiff was given.
3447 if test "${with_tiff+set}" = set; then :
3452 # Check whether --with-v4l was given.
3453 if test "${with_v4l+set}" = set; then :
3458 # Check whether --with-xcomposite was given.
3459 if test "${with_xcomposite+set}" = set; then :
3460 withval
=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h
=no
; fi
3464 # Check whether --with-xcursor was given.
3465 if test "${with_xcursor+set}" = set; then :
3466 withval
=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h
=no
; fi
3470 # Check whether --with-xinerama was given.
3471 if test "${with_xinerama+set}" = set; then :
3472 withval
=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h
=no
; fi
3476 # Check whether --with-xinput was given.
3477 if test "${with_xinput+set}" = set; then :
3478 withval
=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h
=no
; fi
3482 # Check whether --with-xinput2 was given.
3483 if test "${with_xinput2+set}" = set; then :
3484 withval
=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h
=no
; fi
3488 # Check whether --with-xml was given.
3489 if test "${with_xml+set}" = set; then :
3494 # Check whether --with-xrandr was given.
3495 if test "${with_xrandr+set}" = set; then :
3496 withval
=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h
=no
; fi
3500 # Check whether --with-xrender was given.
3501 if test "${with_xrender+set}" = set; then :
3502 withval
=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h
=no
; fi
3506 # Check whether --with-xshape was given.
3507 if test "${with_xshape+set}" = set; then :
3508 withval
=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h
=no
; fi
3512 # Check whether --with-xshm was given.
3513 if test "${with_xshm+set}" = set; then :
3514 withval
=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h
=no
; fi
3518 # Check whether --with-xslt was given.
3519 if test "${with_xslt+set}" = set; then :
3524 # Check whether --with-xxf86vm was given.
3525 if test "${with_xxf86vm+set}" = set; then :
3526 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
3530 # Check whether --with-zlib was given.
3531 if test "${with_zlib+set}" = set; then :
3532 withval
=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h
=no
; fi
3537 # Check whether --with-wine-tools was given.
3538 if test "${with_wine_tools+set}" = set; then :
3539 withval
=$with_wine_tools;
3543 # Check whether --with-wine64 was given.
3544 if test "${with_wine64+set}" = set; then :
3545 withval
=$with_wine64;
3549 # Make sure we can run config.sub.
3550 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
3551 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3554 $as_echo_n "checking build system type... " >&6; }
3555 if ${ac_cv_build+:} false
; then :
3556 $as_echo_n "(cached) " >&6
3558 ac_build_alias
=$build_alias
3559 test "x$ac_build_alias" = x
&&
3560 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
3561 test "x$ac_build_alias" = x
&&
3562 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
3563 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3564 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3568 $as_echo "$ac_cv_build" >&6; }
3569 case $ac_cv_build in
3571 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
3574 ac_save_IFS
=$IFS; IFS
='-'
3580 # Remember, the first character of IFS is used to create $*,
3581 # except with old shells:
3584 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
3587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3588 $as_echo_n "checking host system type... " >&6; }
3589 if ${ac_cv_host+:} false
; then :
3590 $as_echo_n "(cached) " >&6
3592 if test "x$host_alias" = x
; then
3593 ac_cv_host
=$ac_cv_build
3595 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3596 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3601 $as_echo "$ac_cv_host" >&6; }
3604 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
3607 ac_save_IFS
=$IFS; IFS
='-'
3613 # Remember, the first character of IFS is used to create $*,
3614 # except with old shells:
3617 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
3623 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
3624 as_fn_error $?
"you are building out of the source tree, but the source tree contains object files.
3625 You need to run 'make distclean' in the source tree first." "$LINENO" 5
3630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3631 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3633 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3634 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
3635 $as_echo_n "(cached) " >&6
3637 cat >conftest.
make <<\_ACEOF
3640 @
echo '@@@%%%=$(MAKE)=@@@%%%'
3642 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3643 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3645 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
3647 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
3651 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
3652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3653 $as_echo "yes" >&6; }
3656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3657 $as_echo "no" >&6; }
3658 SET_MAKE
="MAKE=${MAKE-make}"
3662 ac_cpp
='$CPP $CPPFLAGS'
3663 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3664 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3665 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3666 if test -n "$ac_tool_prefix"; then
3667 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3668 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3670 $as_echo_n "checking for $ac_word... " >&6; }
3671 if ${ac_cv_prog_CC+:} false
; then :
3672 $as_echo_n "(cached) " >&6
3674 if test -n "$CC"; then
3675 ac_cv_prog_CC
="$CC" # Let the user override the test.
3677 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3681 test -z "$as_dir" && as_dir
=.
3682 for ac_exec_ext
in '' $ac_executable_extensions; do
3683 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3684 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3685 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3695 if test -n "$CC"; then
3696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3697 $as_echo "$CC" >&6; }
3699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3700 $as_echo "no" >&6; }
3705 if test -z "$ac_cv_prog_CC"; then
3707 # Extract the first word of "gcc", so it can be a program name with args.
3708 set dummy gcc
; ac_word
=$2
3709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3710 $as_echo_n "checking for $ac_word... " >&6; }
3711 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3712 $as_echo_n "(cached) " >&6
3714 if test -n "$ac_ct_CC"; then
3715 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3717 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3721 test -z "$as_dir" && as_dir
=.
3722 for ac_exec_ext
in '' $ac_executable_extensions; do
3723 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3724 ac_cv_prog_ac_ct_CC
="gcc"
3725 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3734 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3735 if test -n "$ac_ct_CC"; then
3736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3737 $as_echo "$ac_ct_CC" >&6; }
3739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3740 $as_echo "no" >&6; }
3743 if test "x$ac_ct_CC" = x
; then
3746 case $cross_compiling:$ac_tool_warned in
3748 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3749 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3750 ac_tool_warned
=yes ;;
3758 if test -z "$CC"; then
3759 if test -n "$ac_tool_prefix"; then
3760 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3761 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3763 $as_echo_n "checking for $ac_word... " >&6; }
3764 if ${ac_cv_prog_CC+:} false
; then :
3765 $as_echo_n "(cached) " >&6
3767 if test -n "$CC"; then
3768 ac_cv_prog_CC
="$CC" # Let the user override the test.
3770 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3774 test -z "$as_dir" && as_dir
=.
3775 for ac_exec_ext
in '' $ac_executable_extensions; do
3776 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3777 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3778 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3788 if test -n "$CC"; then
3789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3790 $as_echo "$CC" >&6; }
3792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3793 $as_echo "no" >&6; }
3799 if test -z "$CC"; then
3800 # Extract the first word of "cc", so it can be a program name with args.
3801 set dummy cc
; ac_word
=$2
3802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3803 $as_echo_n "checking for $ac_word... " >&6; }
3804 if ${ac_cv_prog_CC+:} false
; then :
3805 $as_echo_n "(cached) " >&6
3807 if test -n "$CC"; then
3808 ac_cv_prog_CC
="$CC" # Let the user override the test.
3811 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3815 test -z "$as_dir" && as_dir
=.
3816 for ac_exec_ext
in '' $ac_executable_extensions; do
3817 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3818 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3819 ac_prog_rejected
=yes
3823 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3830 if test $ac_prog_rejected = yes; then
3831 # We found a bogon in the path, so make sure we never use it.
3832 set dummy
$ac_cv_prog_CC
3834 if test $# != 0; then
3835 # We chose a different compiler from the bogus one.
3836 # However, it has the same basename, so the bogon will be chosen
3837 # first if we set CC to just the basename; use the full file name.
3839 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3845 if test -n "$CC"; then
3846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3847 $as_echo "$CC" >&6; }
3849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3850 $as_echo "no" >&6; }
3855 if test -z "$CC"; then
3856 if test -n "$ac_tool_prefix"; then
3857 for ac_prog
in cl.exe
3859 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3860 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3862 $as_echo_n "checking for $ac_word... " >&6; }
3863 if ${ac_cv_prog_CC+:} false
; then :
3864 $as_echo_n "(cached) " >&6
3866 if test -n "$CC"; then
3867 ac_cv_prog_CC
="$CC" # Let the user override the test.
3869 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3873 test -z "$as_dir" && as_dir
=.
3874 for ac_exec_ext
in '' $ac_executable_extensions; do
3875 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3876 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3877 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3887 if test -n "$CC"; then
3888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3889 $as_echo "$CC" >&6; }
3891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3892 $as_echo "no" >&6; }
3896 test -n "$CC" && break
3899 if test -z "$CC"; then
3901 for ac_prog
in cl.exe
3903 # Extract the first word of "$ac_prog", so it can be a program name with args.
3904 set dummy
$ac_prog; ac_word
=$2
3905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3906 $as_echo_n "checking for $ac_word... " >&6; }
3907 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3908 $as_echo_n "(cached) " >&6
3910 if test -n "$ac_ct_CC"; then
3911 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3913 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3917 test -z "$as_dir" && as_dir
=.
3918 for ac_exec_ext
in '' $ac_executable_extensions; do
3919 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3920 ac_cv_prog_ac_ct_CC
="$ac_prog"
3921 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3930 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3931 if test -n "$ac_ct_CC"; then
3932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3933 $as_echo "$ac_ct_CC" >&6; }
3935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3936 $as_echo "no" >&6; }
3940 test -n "$ac_ct_CC" && break
3943 if test "x$ac_ct_CC" = x
; then
3946 case $cross_compiling:$ac_tool_warned in
3948 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3949 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3950 ac_tool_warned
=yes ;;
3959 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3960 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3961 as_fn_error $?
"no acceptable C compiler found in \$PATH
3962 See \`config.log' for more details" "$LINENO" 5; }
3964 # Provide some information about the compiler.
3965 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3968 for ac_option
in --version -v -V -qversion; do
3969 { { ac_try
="$ac_compiler $ac_option >&5"
3971 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3972 *) ac_try_echo=$ac_try;;
3974 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3975 $as_echo "$ac_try_echo"; } >&5
3976 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3978 if test -s conftest.err; then
3980 ... rest of stderr output deleted ...
3981 10q' conftest.err >conftest.er1
3982 cat conftest.er1 >&5
3984 rm -f conftest.er1 conftest.err
3985 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3986 test $ac_status = 0; }
3989 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3990 /* end confdefs.h. */
4000 ac_clean_files_save=$ac_clean_files
4001 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4002 # Try to create an executable without -o first, disregard a.out.
4003 # It will help us diagnose broken compilers, and finding out an intuition
4005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4006 $as_echo_n "checking whether the C compiler works... " >&6; }
4007 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
4009 # The possible output files:
4010 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4013 for ac_file in $ac_files
4016 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4017 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4022 if { { ac_try="$ac_link_default"
4024 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4025 *) ac_try_echo
=$ac_try;;
4027 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4028 $as_echo "$ac_try_echo"; } >&5
4029 (eval "$ac_link_default") 2>&5
4031 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4032 test $ac_status = 0; }; then :
4033 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4034 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4035 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4036 # so that the user can short-circuit this test for compilers unknown to
4038 for ac_file
in $ac_files ''
4040 test -f "$ac_file" ||
continue
4042 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
4045 # We found the default executable, but exeext='' is most
4049 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
4051 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4053 # We set ac_cv_exeext here because the later test for it is not
4054 # safe: cross compilers may not add the suffix if given an `-o'
4055 # argument, so we may need to know it at that point already.
4056 # Even if this section looks crufty: it has the advantage of
4063 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
4068 if test -z "$ac_file"; then :
4069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4070 $as_echo "no" >&6; }
4071 $as_echo "$as_me: failed program was:" >&5
4072 sed 's/^/| /' conftest.
$ac_ext >&5
4074 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4075 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4076 as_fn_error
77 "C compiler cannot create executables
4077 See \`config.log' for more details" "$LINENO" 5; }
4079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4080 $as_echo "yes" >&6; }
4082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4083 $as_echo_n "checking for C compiler default output file name... " >&6; }
4084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4085 $as_echo "$ac_file" >&6; }
4086 ac_exeext
=$ac_cv_exeext
4088 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
4089 ac_clean_files
=$ac_clean_files_save
4090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4091 $as_echo_n "checking for suffix of executables... " >&6; }
4092 if { { ac_try
="$ac_link"
4094 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4095 *) ac_try_echo=$ac_try;;
4097 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4098 $as_echo "$ac_try_echo"; } >&5
4099 (eval "$ac_link") 2>&5
4101 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4102 test $ac_status = 0; }; then :
4103 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
4104 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
4105 # work properly (i.e., refer to `conftest.exe'), while it won't with
4107 for ac_file
in conftest.exe conftest conftest.
*; do
4108 test -f "$ac_file" ||
continue
4110 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
4111 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
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 $?
"cannot compute suffix of executables: cannot compile and link
4120 See \`config.log' for more details" "$LINENO" 5; }
4122 rm -f conftest conftest
$ac_cv_exeext
4123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4124 $as_echo "$ac_cv_exeext" >&6; }
4126 rm -f conftest.
$ac_ext
4127 EXEEXT
=$ac_cv_exeext
4129 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4130 /* end confdefs.h. */
4135 FILE *f = fopen ("conftest.out", "w");
4136 return ferror (f) || fclose (f) != 0;
4142 ac_clean_files
="$ac_clean_files conftest.out"
4143 # Check that the compiler produces executables we can run. If not, either
4144 # the compiler is broken, or we cross compile.
4145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4146 $as_echo_n "checking whether we are cross compiling... " >&6; }
4147 if test "$cross_compiling" != yes; then
4148 { { ac_try
="$ac_link"
4150 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4151 *) ac_try_echo=$ac_try;;
4153 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4154 $as_echo "$ac_try_echo"; } >&5
4155 (eval "$ac_link") 2>&5
4157 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4158 test $ac_status = 0; }
4159 if { ac_try='./conftest$ac_cv_exeext'
4160 { { case "(($ac_try" in
4161 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4162 *) ac_try_echo
=$ac_try;;
4164 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4165 $as_echo "$ac_try_echo"; } >&5
4166 (eval "$ac_try") 2>&5
4168 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4169 test $ac_status = 0; }; }; then
4172 if test "$cross_compiling" = maybe
; then
4175 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4176 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4177 as_fn_error $?
"cannot run C compiled programs.
4178 If you meant to cross compile, use \`--host'.
4179 See \`config.log' for more details" "$LINENO" 5; }
4183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4184 $as_echo "$cross_compiling" >&6; }
4186 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
4187 ac_clean_files
=$ac_clean_files_save
4188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4189 $as_echo_n "checking for suffix of object files... " >&6; }
4190 if ${ac_cv_objext+:} false
; then :
4191 $as_echo_n "(cached) " >&6
4193 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4194 /* end confdefs.h. */
4204 rm -f conftest.o conftest.obj
4205 if { { ac_try
="$ac_compile"
4207 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4208 *) ac_try_echo=$ac_try;;
4210 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4211 $as_echo "$ac_try_echo"; } >&5
4212 (eval "$ac_compile") 2>&5
4214 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4215 test $ac_status = 0; }; then :
4216 for ac_file in conftest.o conftest.obj conftest.*; do
4217 test -f "$ac_file" || continue;
4219 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4220 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4225 $as_echo "$as_me: failed program was:" >&5
4226 sed 's/^/| /' conftest.$ac_ext >&5
4228 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4229 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4230 as_fn_error $? "cannot compute suffix of object files
: cannot compile
4231 See \
`config.log' for more details" "$LINENO" 5; }
4233 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4236 $as_echo "$ac_cv_objext" >&6; }
4237 OBJEXT=$ac_cv_objext
4239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4240 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4241 if ${ac_cv_c_compiler_gnu+:} false; then :
4242 $as_echo_n "(cached) " >&6
4244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4245 /* end confdefs.h. */
4258 if ac_fn_c_try_compile "$LINENO"; then :
4263 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4264 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4268 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4269 if test $ac_compiler_gnu = yes; then
4274 ac_test_CFLAGS=${CFLAGS+set}
4275 ac_save_CFLAGS=$CFLAGS
4276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4277 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4278 if ${ac_cv_prog_cc_g+:} false; then :
4279 $as_echo_n "(cached) " >&6
4281 ac_save_c_werror_flag=$ac_c_werror_flag
4282 ac_c_werror_flag=yes
4285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4286 /* end confdefs.h. */
4296 if ac_fn_c_try_compile "$LINENO"; then :
4300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4301 /* end confdefs.h. */
4311 if ac_fn_c_try_compile "$LINENO"; then :
4314 ac_c_werror_flag=$ac_save_c_werror_flag
4316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4317 /* end confdefs.h. */
4327 if ac_fn_c_try_compile "$LINENO"; then :
4330 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4332 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4334 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4335 ac_c_werror_flag=$ac_save_c_werror_flag
4337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4338 $as_echo "$ac_cv_prog_cc_g" >&6; }
4339 if test "$ac_test_CFLAGS" = set; then
4340 CFLAGS=$ac_save_CFLAGS
4341 elif test $ac_cv_prog_cc_g = yes; then
4342 if test "$GCC" = yes; then
4348 if test "$GCC" = yes; then
4354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4355 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4356 if ${ac_cv_prog_cc_c89+:} false; then :
4357 $as_echo_n "(cached) " >&6
4359 ac_cv_prog_cc_c89=no
4361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4362 /* end confdefs.h. */
4366 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4367 struct buf { int x; };
4368 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4369 static char *e (p, i)
4375 static char *f (char * (*g) (char **, int), char **p, ...)
4380 s = g (p, va_arg (v,int));
4385 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4386 function prototypes and stuff, but not '\xHH' hex character constants.
4387 These don't provoke an error unfortunately, instead are silently treated
4388 as 'x'. The following induces an error, until -std is added to get
4389 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4390 array size at least. It's necessary to write '\x00'==0 to get something
4391 that's true only with -std. */
4392 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4394 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4395 inside strings and character constants. */
4397 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4399 int test (int i, double x);
4400 struct s1 {int (*f) (int a);};
4401 struct s2 {int (*f) (double a);};
4402 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4408 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4413 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4414 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4416 CC="$ac_save_CC $ac_arg"
4417 if ac_fn_c_try_compile "$LINENO"; then :
4418 ac_cv_prog_cc_c89=$ac_arg
4420 rm -f core conftest.err conftest.$ac_objext
4421 test "x$ac_cv_prog_cc_c89" != "xno" && break
4423 rm -f conftest.$ac_ext
4428 case "x$ac_cv_prog_cc_c89" in
4430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4431 $as_echo "none needed" >&6; } ;;
4433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4434 $as_echo "unsupported" >&6; } ;;
4436 CC="$CC $ac_cv_prog_cc_c89"
4437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4438 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4440 if test "x$ac_cv_prog_cc_c89" != xno; then :
4445 ac_cpp='$CPP $CPPFLAGS'
4446 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4447 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4448 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4451 ac_cpp='$CXXCPP $CPPFLAGS'
4452 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4453 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4454 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4455 if test -z "$CXX"; then
4456 if test -n "$CCC"; then
4459 if test -n "$ac_tool_prefix"; then
4460 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4462 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4463 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4465 $as_echo_n "checking for $ac_word... " >&6; }
4466 if ${ac_cv_prog_CXX+:} false; then :
4467 $as_echo_n "(cached) " >&6
4469 if test -n "$CXX"; then
4470 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4472 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4476 test -z "$as_dir" && as_dir=.
4477 for ac_exec_ext in '' $ac_executable_extensions; do
4478 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4479 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4480 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4490 if test -n "$CXX"; then
4491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4492 $as_echo "$CXX" >&6; }
4494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4495 $as_echo "no" >&6; }
4499 test -n "$CXX" && break
4502 if test -z "$CXX"; then
4504 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4506 # Extract the first word of "$ac_prog", so it can be a program name with args.
4507 set dummy $ac_prog; ac_word=$2
4508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4509 $as_echo_n "checking for $ac_word... " >&6; }
4510 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4511 $as_echo_n "(cached) " >&6
4513 if test -n "$ac_ct_CXX"; then
4514 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4516 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4520 test -z "$as_dir" && as_dir=.
4521 for ac_exec_ext in '' $ac_executable_extensions; do
4522 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4523 ac_cv_prog_ac_ct_CXX="$ac_prog"
4524 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4533 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4534 if test -n "$ac_ct_CXX"; then
4535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4536 $as_echo "$ac_ct_CXX" >&6; }
4538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4539 $as_echo "no" >&6; }
4543 test -n "$ac_ct_CXX" && break
4546 if test "x$ac_ct_CXX" = x; then
4549 case $cross_compiling:$ac_tool_warned in
4551 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4552 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4553 ac_tool_warned=yes ;;
4561 # Provide some information about the compiler.
4562 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4565 for ac_option in --version -v -V -qversion; do
4566 { { ac_try="$ac_compiler $ac_option >&5"
4568 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4569 *) ac_try_echo
=$ac_try;;
4571 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4572 $as_echo "$ac_try_echo"; } >&5
4573 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4575 if test -s conftest.err
; then
4577 ... rest of stderr output deleted ...
4578 10q' conftest.err
>conftest.er1
4579 cat conftest.er1
>&5
4581 rm -f conftest.er1 conftest.err
4582 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4583 test $ac_status = 0; }
4586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4587 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4588 if ${ac_cv_cxx_compiler_gnu+:} false
; then :
4589 $as_echo_n "(cached) " >&6
4591 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4592 /* end confdefs.h. */
4605 if ac_fn_cxx_try_compile
"$LINENO"; then :
4610 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4611 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
4614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4615 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4616 if test $ac_compiler_gnu = yes; then
4621 ac_test_CXXFLAGS
=${CXXFLAGS+set}
4622 ac_save_CXXFLAGS
=$CXXFLAGS
4623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4624 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4625 if ${ac_cv_prog_cxx_g+:} false
; then :
4626 $as_echo_n "(cached) " >&6
4628 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
4629 ac_cxx_werror_flag
=yes
4632 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4633 /* end confdefs.h. */
4643 if ac_fn_cxx_try_compile
"$LINENO"; then :
4644 ac_cv_prog_cxx_g
=yes
4647 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4648 /* end confdefs.h. */
4658 if ac_fn_cxx_try_compile
"$LINENO"; then :
4661 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4663 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4664 /* end confdefs.h. */
4674 if ac_fn_cxx_try_compile
"$LINENO"; then :
4675 ac_cv_prog_cxx_g
=yes
4677 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4679 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4681 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4682 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4685 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4686 if test "$ac_test_CXXFLAGS" = set; then
4687 CXXFLAGS
=$ac_save_CXXFLAGS
4688 elif test $ac_cv_prog_cxx_g = yes; then
4689 if test "$GXX" = yes; then
4695 if test "$GXX" = yes; then
4702 ac_cpp
='$CPP $CPPFLAGS'
4703 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4704 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4705 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4707 if test -n "$ac_tool_prefix"; then
4708 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
4709 set dummy
${ac_tool_prefix}cpp
; ac_word
=$2
4710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4711 $as_echo_n "checking for $ac_word... " >&6; }
4712 if ${ac_cv_prog_CPPBIN+:} false
; then :
4713 $as_echo_n "(cached) " >&6
4715 if test -n "$CPPBIN"; then
4716 ac_cv_prog_CPPBIN
="$CPPBIN" # Let the user override the test.
4718 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4722 test -z "$as_dir" && as_dir
=.
4723 for ac_exec_ext
in '' $ac_executable_extensions; do
4724 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4725 ac_cv_prog_CPPBIN
="${ac_tool_prefix}cpp"
4726 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4735 CPPBIN
=$ac_cv_prog_CPPBIN
4736 if test -n "$CPPBIN"; then
4737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
4738 $as_echo "$CPPBIN" >&6; }
4740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4741 $as_echo "no" >&6; }
4746 if test -z "$ac_cv_prog_CPPBIN"; then
4747 ac_ct_CPPBIN
=$CPPBIN
4748 # Extract the first word of "cpp", so it can be a program name with args.
4749 set dummy cpp
; ac_word
=$2
4750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4751 $as_echo_n "checking for $ac_word... " >&6; }
4752 if ${ac_cv_prog_ac_ct_CPPBIN+:} false
; then :
4753 $as_echo_n "(cached) " >&6
4755 if test -n "$ac_ct_CPPBIN"; then
4756 ac_cv_prog_ac_ct_CPPBIN
="$ac_ct_CPPBIN" # Let the user override the test.
4758 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4762 test -z "$as_dir" && as_dir
=.
4763 for ac_exec_ext
in '' $ac_executable_extensions; do
4764 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4765 ac_cv_prog_ac_ct_CPPBIN
="cpp"
4766 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4775 ac_ct_CPPBIN
=$ac_cv_prog_ac_ct_CPPBIN
4776 if test -n "$ac_ct_CPPBIN"; then
4777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
4778 $as_echo "$ac_ct_CPPBIN" >&6; }
4780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4781 $as_echo "no" >&6; }
4784 if test "x$ac_ct_CPPBIN" = x
; then
4787 case $cross_compiling:$ac_tool_warned in
4789 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4790 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4791 ac_tool_warned
=yes ;;
4793 CPPBIN
=$ac_ct_CPPBIN
4796 CPPBIN
="$ac_cv_prog_CPPBIN"
4800 cat >>confdefs.h
<<_ACEOF
4801 #define EXEEXT "$ac_exeext"
4804 if test -n "$ac_tool_prefix"; then
4805 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
4806 set dummy
${ac_tool_prefix}ld
; ac_word
=$2
4807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4808 $as_echo_n "checking for $ac_word... " >&6; }
4809 if ${ac_cv_prog_LD+:} false
; then :
4810 $as_echo_n "(cached) " >&6
4812 if test -n "$LD"; then
4813 ac_cv_prog_LD
="$LD" # Let the user override the test.
4815 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4819 test -z "$as_dir" && as_dir
=.
4820 for ac_exec_ext
in '' $ac_executable_extensions; do
4821 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4822 ac_cv_prog_LD
="${ac_tool_prefix}ld"
4823 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4833 if test -n "$LD"; then
4834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4835 $as_echo "$LD" >&6; }
4837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4838 $as_echo "no" >&6; }
4843 if test -z "$ac_cv_prog_LD"; then
4845 # Extract the first word of "ld", so it can be a program name with args.
4846 set dummy ld
; ac_word
=$2
4847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4848 $as_echo_n "checking for $ac_word... " >&6; }
4849 if ${ac_cv_prog_ac_ct_LD+:} false
; then :
4850 $as_echo_n "(cached) " >&6
4852 if test -n "$ac_ct_LD"; then
4853 ac_cv_prog_ac_ct_LD
="$ac_ct_LD" # Let the user override the test.
4855 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4859 test -z "$as_dir" && as_dir
=.
4860 for ac_exec_ext
in '' $ac_executable_extensions; do
4861 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4862 ac_cv_prog_ac_ct_LD
="ld"
4863 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4872 ac_ct_LD
=$ac_cv_prog_ac_ct_LD
4873 if test -n "$ac_ct_LD"; then
4874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
4875 $as_echo "$ac_ct_LD" >&6; }
4877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4878 $as_echo "no" >&6; }
4881 if test "x$ac_ct_LD" = x
; then
4884 case $cross_compiling:$ac_tool_warned in
4886 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4887 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4888 ac_tool_warned
=yes ;;
4899 if test "x$enable_win64" = "xyes"
4904 notice_platform
="64-bit "
4911 notice_platform
="32-bit "
4914 enable_win16
=${enable_win16:-yes}
4916 with_fontconfig
=${with_fontconfig:-no}
4919 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
4923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
4924 $as_echo_n "checking whether $CC works... " >&6; }
4926 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4927 /* end confdefs.h. */
4937 if ac_fn_c_try_link
"$LINENO"; then :
4938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4939 $as_echo "yes" >&6; }
4941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4942 $as_echo "no" >&6; }
4943 as_fn_error $?
"Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
4945 rm -f core conftest.err conftest.
$ac_objext \
4946 conftest
$ac_exeext conftest.
$ac_ext
4948 notice_platform
="32-bit "
4951 enable_win16
=${enable_win16:-yes}
4953 if test "x${GCC}" = "xyes"
4955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
4956 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
4957 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4958 /* end confdefs.h. */
4963 void func(__builtin_ms_va_list *args);
4968 if ac_fn_c_try_compile
"$LINENO"; then :
4969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4970 $as_echo "yes" >&6; }
4972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4973 $as_echo "no" >&6; }
4974 as_fn_error $?
"You need gcc >= 4.4 to build Wine as 64-bit." "$LINENO" 5
4976 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
4985 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
4986 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4987 /* end confdefs.h. */
4988 int ac_test(int i) { return i; }
4992 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
4997 if ac_fn_c_try_link
"$LINENO"; then :
4998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4999 $as_echo "yes" >&6; }
5001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5002 $as_echo "no" >&6; }
5003 as_fn_error $?
"You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
5005 rm -f core conftest.err conftest.
$ac_objext \
5006 conftest
$ac_exeext conftest.
$ac_ext
5007 CFLAGS
="$CFLAGS -marm"
5011 *-mingw32*|
*-cygwin*)
5012 enable_win16
=${enable_win16:-no}
5013 CFLAGS
="$CFLAGS -D_WIN32"
5016 enable_win16
=${enable_win16:-yes}
5020 enable_win16
=${enable_win16:-no}
5021 enable_win64
=${enable_win64:-no}
5023 enable_winetest
=${enable_winetest:-$enable_tests}
5025 if test -n "$with_wine64"
5027 if test "x$enable_win64" = "xyes"
5029 as_fn_error $?
"--enable-win64 and --with-wine64 are mutually exclusive.
5030 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
5032 enable_fonts
=${enable_fonts:-no}
5033 enable_server
=${enable_server:-no}
5034 elif test "x$enable_win64" = "xyes"
5036 test "x$libdir" != "x\${exec_prefix}/lib" || libdir
="\${exec_prefix}/lib64"
5039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
5040 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
5041 if ${wine_cv_toolsdir+:} false
; then :
5042 $as_echo_n "(cached) " >&6
5044 wine_cv_toolsdir
="$with_wine_tools"
5045 if test -z "$with_wine_tools"; then
5046 if test "$cross_compiling" = "yes"; then
5047 as_fn_error $?
"you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
5048 elif test -n "$with_wine64"; then
5049 wine_cv_toolsdir
="$with_wine64"
5052 if test -z "$wine_cv_toolsdir"; then
5053 wine_makedep
=tools
/makedep
5054 wine_cv_toolsdir
="\$(top_builddir)"
5055 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5056 wine_makedep
=$wine_cv_toolsdir/tools
/makedep
5057 case "$wine_cv_toolsdir" in
5059 *) wine_cv_toolsdir
="\$(top_builddir)/$wine_cv_toolsdir" ;;
5061 enable_tools
=${enable_tools:-no}
5062 test -f "$wine_makedep" || as_fn_error $?
"the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5064 as_fn_error $?
"could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5068 $as_echo "$wine_cv_toolsdir" >&6; }
5069 TOOLSDIR
=$wine_cv_toolsdir
5071 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5073 TARGETFLAGS
="-b $host_alias $TARGETFLAGS"
5079 # Extract the first word of "$ac_prog", so it can be a program name with args.
5080 set dummy
$ac_prog; ac_word
=$2
5081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5082 $as_echo_n "checking for $ac_word... " >&6; }
5083 if ${ac_cv_prog_FLEX+:} false
; then :
5084 $as_echo_n "(cached) " >&6
5086 if test -n "$FLEX"; then
5087 ac_cv_prog_FLEX
="$FLEX" # Let the user override the test.
5089 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5093 test -z "$as_dir" && as_dir
=.
5094 for ac_exec_ext
in '' $ac_executable_extensions; do
5095 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5096 ac_cv_prog_FLEX
="$ac_prog"
5097 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5106 FLEX
=$ac_cv_prog_FLEX
5107 if test -n "$FLEX"; then
5108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5109 $as_echo "$FLEX" >&6; }
5111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5112 $as_echo "no" >&6; }
5116 test -n "$FLEX" && break
5118 test -n "$FLEX" || FLEX
="none"
5120 if test "$FLEX" = "none"
5122 as_fn_error $?
"no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5125 $as_echo_n "checking whether flex is recent enough... " >&6; }
5126 cat >conftest.l
<<EOF
5128 #include "prediluvian.h"
5132 if $FLEX -t conftest.l
>/dev
/null
2>&5
5134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5135 $as_echo "yes" >&6; }
5137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5138 $as_echo "no" >&6; }
5139 as_fn_error $?
"Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
5142 for ac_prog
in bison
5144 # Extract the first word of "$ac_prog", so it can be a program name with args.
5145 set dummy
$ac_prog; ac_word
=$2
5146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5147 $as_echo_n "checking for $ac_word... " >&6; }
5148 if ${ac_cv_prog_BISON+:} false
; then :
5149 $as_echo_n "(cached) " >&6
5151 if test -n "$BISON"; then
5152 ac_cv_prog_BISON
="$BISON" # Let the user override the test.
5154 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5158 test -z "$as_dir" && as_dir
=.
5159 for ac_exec_ext
in '' $ac_executable_extensions; do
5160 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5161 ac_cv_prog_BISON
="$ac_prog"
5162 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5171 BISON
=$ac_cv_prog_BISON
5172 if test -n "$BISON"; then
5173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5174 $as_echo "$BISON" >&6; }
5176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5177 $as_echo "no" >&6; }
5181 test -n "$BISON" && break
5183 test -n "$BISON" || BISON
="none"
5185 if test "$BISON" = "none"
5187 as_fn_error $?
"no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5190 if test -n "$ac_tool_prefix"; then
5191 for ac_prog
in ar gar
5193 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5194 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5196 $as_echo_n "checking for $ac_word... " >&6; }
5197 if ${ac_cv_prog_AR+:} false
; then :
5198 $as_echo_n "(cached) " >&6
5200 if test -n "$AR"; then
5201 ac_cv_prog_AR
="$AR" # Let the user override the test.
5203 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5207 test -z "$as_dir" && as_dir
=.
5208 for ac_exec_ext
in '' $ac_executable_extensions; do
5209 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5210 ac_cv_prog_AR
="$ac_tool_prefix$ac_prog"
5211 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5221 if test -n "$AR"; then
5222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5223 $as_echo "$AR" >&6; }
5225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5226 $as_echo "no" >&6; }
5230 test -n "$AR" && break
5233 if test -z "$AR"; then
5235 for ac_prog
in ar gar
5237 # Extract the first word of "$ac_prog", so it can be a program name with args.
5238 set dummy
$ac_prog; ac_word
=$2
5239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5240 $as_echo_n "checking for $ac_word... " >&6; }
5241 if ${ac_cv_prog_ac_ct_AR+:} false
; then :
5242 $as_echo_n "(cached) " >&6
5244 if test -n "$ac_ct_AR"; then
5245 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
5247 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5251 test -z "$as_dir" && as_dir
=.
5252 for ac_exec_ext
in '' $ac_executable_extensions; do
5253 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5254 ac_cv_prog_ac_ct_AR
="$ac_prog"
5255 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5264 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
5265 if test -n "$ac_ct_AR"; then
5266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5267 $as_echo "$ac_ct_AR" >&6; }
5269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5270 $as_echo "no" >&6; }
5274 test -n "$ac_ct_AR" && break
5277 if test "x$ac_ct_AR" = x
; then
5280 case $cross_compiling:$ac_tool_warned in
5282 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5283 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5284 ac_tool_warned
=yes ;;
5290 if test -n "$ac_tool_prefix"; then
5291 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5292 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
5293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5294 $as_echo_n "checking for $ac_word... " >&6; }
5295 if ${ac_cv_prog_STRIP+:} false
; then :
5296 $as_echo_n "(cached) " >&6
5298 if test -n "$STRIP"; then
5299 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
5301 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5305 test -z "$as_dir" && as_dir
=.
5306 for ac_exec_ext
in '' $ac_executable_extensions; do
5307 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5308 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
5309 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5318 STRIP
=$ac_cv_prog_STRIP
5319 if test -n "$STRIP"; then
5320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5321 $as_echo "$STRIP" >&6; }
5323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5324 $as_echo "no" >&6; }
5329 if test -z "$ac_cv_prog_STRIP"; then
5331 # Extract the first word of "strip", so it can be a program name with args.
5332 set dummy strip
; ac_word
=$2
5333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5334 $as_echo_n "checking for $ac_word... " >&6; }
5335 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
5336 $as_echo_n "(cached) " >&6
5338 if test -n "$ac_ct_STRIP"; then
5339 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
5341 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5345 test -z "$as_dir" && as_dir
=.
5346 for ac_exec_ext
in '' $ac_executable_extensions; do
5347 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5348 ac_cv_prog_ac_ct_STRIP
="strip"
5349 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5358 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
5359 if test -n "$ac_ct_STRIP"; then
5360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5361 $as_echo "$ac_ct_STRIP" >&6; }
5363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5364 $as_echo "no" >&6; }
5367 if test "x$ac_ct_STRIP" = x
; then
5370 case $cross_compiling:$ac_tool_warned in
5372 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5373 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5374 ac_tool_warned
=yes ;;
5379 STRIP
="$ac_cv_prog_STRIP"
5384 if test -n "$ac_tool_prefix"; then
5385 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5386 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
5387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5388 $as_echo_n "checking for $ac_word... " >&6; }
5389 if ${ac_cv_prog_RANLIB+:} false
; then :
5390 $as_echo_n "(cached) " >&6
5392 if test -n "$RANLIB"; then
5393 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
5395 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5399 test -z "$as_dir" && as_dir
=.
5400 for ac_exec_ext
in '' $ac_executable_extensions; do
5401 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5402 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
5403 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5412 RANLIB
=$ac_cv_prog_RANLIB
5413 if test -n "$RANLIB"; then
5414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5415 $as_echo "$RANLIB" >&6; }
5417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5418 $as_echo "no" >&6; }
5423 if test -z "$ac_cv_prog_RANLIB"; then
5424 ac_ct_RANLIB
=$RANLIB
5425 # Extract the first word of "ranlib", so it can be a program name with args.
5426 set dummy ranlib
; ac_word
=$2
5427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5428 $as_echo_n "checking for $ac_word... " >&6; }
5429 if ${ac_cv_prog_ac_ct_RANLIB+:} false
; then :
5430 $as_echo_n "(cached) " >&6
5432 if test -n "$ac_ct_RANLIB"; then
5433 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
5435 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5439 test -z "$as_dir" && as_dir
=.
5440 for ac_exec_ext
in '' $ac_executable_extensions; do
5441 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5442 ac_cv_prog_ac_ct_RANLIB
="ranlib"
5443 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5452 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
5453 if test -n "$ac_ct_RANLIB"; then
5454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5455 $as_echo "$ac_ct_RANLIB" >&6; }
5457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5458 $as_echo "no" >&6; }
5461 if test "x$ac_ct_RANLIB" = x
; then
5464 case $cross_compiling:$ac_tool_warned in
5466 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5467 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5468 ac_tool_warned
=yes ;;
5470 RANLIB
=$ac_ct_RANLIB
5473 RANLIB
="$ac_cv_prog_RANLIB"
5476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5477 $as_echo_n "checking whether ln -s works... " >&6; }
5479 if test "$LN_S" = "ln -s"; then
5480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5481 $as_echo "yes" >&6; }
5483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5484 $as_echo "no, using $LN_S" >&6; }
5487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5488 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5489 if ${ac_cv_path_GREP+:} false
; then :
5490 $as_echo_n "(cached) " >&6
5492 if test -z "$GREP"; then
5493 ac_path_GREP_found
=false
5494 # Loop through the user's path and test for each of PROGNAME-LIST
5495 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5496 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5499 test -z "$as_dir" && as_dir
=.
5500 for ac_prog
in grep ggrep
; do
5501 for ac_exec_ext
in '' $ac_executable_extensions; do
5502 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
5503 as_fn_executable_p
"$ac_path_GREP" ||
continue
5504 # Check for GNU ac_path_GREP and select it if it is found.
5505 # Check for GNU $ac_path_GREP
5506 case `"$ac_path_GREP" --version 2>&1` in
5508 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
5511 $as_echo_n 0123456789 >"conftest.in"
5514 cat "conftest.in" "conftest.in" >"conftest.tmp"
5515 mv "conftest.tmp" "conftest.in"
5516 cp "conftest.in" "conftest.nl"
5517 $as_echo 'GREP' >> "conftest.nl"
5518 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5519 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5520 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5521 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5522 # Best one so far, save it but keep looking for a better one
5523 ac_cv_path_GREP
="$ac_path_GREP"
5524 ac_path_GREP_max
=$ac_count
5526 # 10*(2^10) chars as input seems more than enough
5527 test $ac_count -gt 10 && break
5529 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5532 $ac_path_GREP_found && break 3
5537 if test -z "$ac_cv_path_GREP"; then
5538 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5541 ac_cv_path_GREP
=$GREP
5545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5546 $as_echo "$ac_cv_path_GREP" >&6; }
5547 GREP
="$ac_cv_path_GREP"
5550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5551 $as_echo_n "checking for egrep... " >&6; }
5552 if ${ac_cv_path_EGREP+:} false
; then :
5553 $as_echo_n "(cached) " >&6
5555 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
5556 then ac_cv_path_EGREP
="$GREP -E"
5558 if test -z "$EGREP"; then
5559 ac_path_EGREP_found
=false
5560 # Loop through the user's path and test for each of PROGNAME-LIST
5561 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5562 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5565 test -z "$as_dir" && as_dir
=.
5566 for ac_prog
in egrep; do
5567 for ac_exec_ext
in '' $ac_executable_extensions; do
5568 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
5569 as_fn_executable_p
"$ac_path_EGREP" ||
continue
5570 # Check for GNU ac_path_EGREP and select it if it is found.
5571 # Check for GNU $ac_path_EGREP
5572 case `"$ac_path_EGREP" --version 2>&1` in
5574 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
5577 $as_echo_n 0123456789 >"conftest.in"
5580 cat "conftest.in" "conftest.in" >"conftest.tmp"
5581 mv "conftest.tmp" "conftest.in"
5582 cp "conftest.in" "conftest.nl"
5583 $as_echo 'EGREP' >> "conftest.nl"
5584 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5585 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5586 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5587 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5588 # Best one so far, save it but keep looking for a better one
5589 ac_cv_path_EGREP
="$ac_path_EGREP"
5590 ac_path_EGREP_max
=$ac_count
5592 # 10*(2^10) chars as input seems more than enough
5593 test $ac_count -gt 10 && break
5595 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5598 $ac_path_EGREP_found && break 3
5603 if test -z "$ac_cv_path_EGREP"; then
5604 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5607 ac_cv_path_EGREP
=$EGREP
5612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5613 $as_echo "$ac_cv_path_EGREP" >&6; }
5614 EGREP
="$ac_cv_path_EGREP"
5617 # Extract the first word of "ldconfig", so it can be a program name with args.
5618 set dummy ldconfig
; ac_word
=$2
5619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5620 $as_echo_n "checking for $ac_word... " >&6; }
5621 if ${ac_cv_path_LDCONFIG+:} false
; then :
5622 $as_echo_n "(cached) " >&6
5626 ac_cv_path_LDCONFIG
="$LDCONFIG" # Let the user override the test with a path.
5629 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5630 for as_dir
in /sbin
/usr
/sbin
$PATH
5633 test -z "$as_dir" && as_dir
=.
5634 for ac_exec_ext
in '' $ac_executable_extensions; do
5635 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5636 ac_cv_path_LDCONFIG
="$as_dir/$ac_word$ac_exec_ext"
5637 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5644 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG
="true"
5648 LDCONFIG
=$ac_cv_path_LDCONFIG
5649 if test -n "$LDCONFIG"; then
5650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
5651 $as_echo "$LDCONFIG" >&6; }
5653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5654 $as_echo "no" >&6; }
5658 for ac_prog
in msgfmt
5660 # Extract the first word of "$ac_prog", so it can be a program name with args.
5661 set dummy
$ac_prog; ac_word
=$2
5662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5663 $as_echo_n "checking for $ac_word... " >&6; }
5664 if ${ac_cv_prog_MSGFMT+:} false
; then :
5665 $as_echo_n "(cached) " >&6
5667 if test -n "$MSGFMT"; then
5668 ac_cv_prog_MSGFMT
="$MSGFMT" # Let the user override the test.
5670 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5674 test -z "$as_dir" && as_dir
=.
5675 for ac_exec_ext
in '' $ac_executable_extensions; do
5676 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5677 ac_cv_prog_MSGFMT
="$ac_prog"
5678 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5687 MSGFMT
=$ac_cv_prog_MSGFMT
5688 if test -n "$MSGFMT"; then
5689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5690 $as_echo "$MSGFMT" >&6; }
5692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5693 $as_echo "no" >&6; }
5697 test -n "$MSGFMT" && break
5699 test -n "$MSGFMT" || MSGFMT
="false"
5701 if ${ac_tool_prefix+:} false
; then :
5702 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5703 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
5704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5705 $as_echo_n "checking for $ac_word... " >&6; }
5706 if ${ac_cv_prog_PKG_CONFIG+:} false
; then :
5707 $as_echo_n "(cached) " >&6
5709 if test -n "$PKG_CONFIG"; then
5710 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
5712 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5716 test -z "$as_dir" && as_dir
=.
5717 for ac_exec_ext
in '' $ac_executable_extensions; do
5718 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5719 ac_cv_prog_PKG_CONFIG
="${ac_tool_prefix}pkg-config"
5720 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5729 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
5730 if test -n "$PKG_CONFIG"; then
5731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5732 $as_echo "$PKG_CONFIG" >&6; }
5734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5735 $as_echo "no" >&6; }
5740 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
5741 if test "x$cross_compiling" = xyes
; then :
5744 { ac_cv_prog_PKG_CONFIG
=; unset ac_cv_prog_PKG_CONFIG
;}
5745 # Extract the first word of "pkg-config", so it can be a program name with args.
5746 set dummy pkg-config
; ac_word
=$2
5747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5748 $as_echo_n "checking for $ac_word... " >&6; }
5749 if ${ac_cv_prog_PKG_CONFIG+:} false
; then :
5750 $as_echo_n "(cached) " >&6
5752 if test -n "$PKG_CONFIG"; then
5753 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
5755 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5759 test -z "$as_dir" && as_dir
=.
5760 for ac_exec_ext
in '' $ac_executable_extensions; do
5761 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5762 ac_cv_prog_PKG_CONFIG
="pkg-config"
5763 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5772 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
5773 if test -n "$PKG_CONFIG"; then
5774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5775 $as_echo "$PKG_CONFIG" >&6; }
5777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5778 $as_echo "no" >&6; }
5784 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
5787 if test "x$enable_maintainer_mode" != "xyes"
5794 test "$srcdir" = . || as_fn_error $?
"Maintainer mode cannot work out of tree." "$LINENO" 5
5795 for ac_prog
in fontforge
5797 # Extract the first word of "$ac_prog", so it can be a program name with args.
5798 set dummy
$ac_prog; ac_word
=$2
5799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5800 $as_echo_n "checking for $ac_word... " >&6; }
5801 if ${ac_cv_prog_FONTFORGE+:} false
; then :
5802 $as_echo_n "(cached) " >&6
5804 if test -n "$FONTFORGE"; then
5805 ac_cv_prog_FONTFORGE
="$FONTFORGE" # Let the user override the test.
5807 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5811 test -z "$as_dir" && as_dir
=.
5812 for ac_exec_ext
in '' $ac_executable_extensions; do
5813 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5814 ac_cv_prog_FONTFORGE
="$ac_prog"
5815 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5824 FONTFORGE
=$ac_cv_prog_FONTFORGE
5825 if test -n "$FONTFORGE"; then
5826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
5827 $as_echo "$FONTFORGE" >&6; }
5829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5830 $as_echo "no" >&6; }
5834 test -n "$FONTFORGE" && break
5836 test -n "$FONTFORGE" || FONTFORGE
="false"
5838 for ac_prog
in rsvg-convert rsvg
5840 # Extract the first word of "$ac_prog", so it can be a program name with args.
5841 set dummy
$ac_prog; ac_word
=$2
5842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5843 $as_echo_n "checking for $ac_word... " >&6; }
5844 if ${ac_cv_prog_RSVG+:} false
; then :
5845 $as_echo_n "(cached) " >&6
5847 if test -n "$RSVG"; then
5848 ac_cv_prog_RSVG
="$RSVG" # Let the user override the test.
5850 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5854 test -z "$as_dir" && as_dir
=.
5855 for ac_exec_ext
in '' $ac_executable_extensions; do
5856 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5857 ac_cv_prog_RSVG
="$ac_prog"
5858 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5867 RSVG
=$ac_cv_prog_RSVG
5868 if test -n "$RSVG"; then
5869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
5870 $as_echo "$RSVG" >&6; }
5872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5873 $as_echo "no" >&6; }
5877 test -n "$RSVG" && break
5879 test -n "$RSVG" || RSVG
="false"
5881 for ac_prog
in convert
5883 # Extract the first word of "$ac_prog", so it can be a program name with args.
5884 set dummy
$ac_prog; ac_word
=$2
5885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5886 $as_echo_n "checking for $ac_word... " >&6; }
5887 if ${ac_cv_prog_CONVERT+:} false
; then :
5888 $as_echo_n "(cached) " >&6
5890 if test -n "$CONVERT"; then
5891 ac_cv_prog_CONVERT
="$CONVERT" # Let the user override the test.
5893 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5897 test -z "$as_dir" && as_dir
=.
5898 for ac_exec_ext
in '' $ac_executable_extensions; do
5899 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5900 ac_cv_prog_CONVERT
="$ac_prog"
5901 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5910 CONVERT
=$ac_cv_prog_CONVERT
5911 if test -n "$CONVERT"; then
5912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
5913 $as_echo "$CONVERT" >&6; }
5915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5916 $as_echo "no" >&6; }
5920 test -n "$CONVERT" && break
5922 test -n "$CONVERT" || CONVERT
="false"
5924 for ac_prog
in icotool
5926 # Extract the first word of "$ac_prog", so it can be a program name with args.
5927 set dummy
$ac_prog; ac_word
=$2
5928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5929 $as_echo_n "checking for $ac_word... " >&6; }
5930 if ${ac_cv_prog_ICOTOOL+:} false
; then :
5931 $as_echo_n "(cached) " >&6
5933 if test -n "$ICOTOOL"; then
5934 ac_cv_prog_ICOTOOL
="$ICOTOOL" # Let the user override the test.
5936 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5940 test -z "$as_dir" && as_dir
=.
5941 for ac_exec_ext
in '' $ac_executable_extensions; do
5942 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5943 ac_cv_prog_ICOTOOL
="$ac_prog"
5944 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5953 ICOTOOL
=$ac_cv_prog_ICOTOOL
5954 if test -n "$ICOTOOL"; then
5955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
5956 $as_echo "$ICOTOOL" >&6; }
5958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5959 $as_echo "no" >&6; }
5963 test -n "$ICOTOOL" && break
5965 test -n "$ICOTOOL" || ICOTOOL
="false"
5967 test "$FONTFORGE" != "false" || as_fn_error $?
"You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
5968 test "$RSVG" != "false" || as_fn_error $?
"You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
5970 if test "$CONVERT" = false
5972 as_fn_error $?
"You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
5974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
5975 $as_echo_n "checking for recent enough imagemagick... " >&6; }
5976 convert_version
=`convert --version | head -n1`
5977 if test "x$convert_version" != "x"
5979 convert_version_major
=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
5980 convert_version_minor
=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
5981 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
5986 if test "$CONVERT" = false
5988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
5989 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
5990 as_fn_error $?
"You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
5993 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
5997 if test "$ICOTOOL" = false
5999 as_fn_error $?
"You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
6001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
6002 $as_echo_n "checking for recent enough icotool... " >&6; }
6003 icotool_version
=`icotool --version | head -n1`
6004 if test "x$icotool_version" != "x"
6006 icotool_version_major
=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
6007 icotool_version_minor
=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
6008 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
6011 as_fn_append wine_warnings
"|icotool version 0.29.0 or newer is needed to rebuild icons."
6014 if test "$ICOTOOL" = false
6016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
6017 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
6018 as_fn_error $?
"You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
6021 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
6027 { ac_cv_header_gettext_po_h
=; unset ac_cv_header_gettext_po_h
;}
6030 test "x$with_gettext" != xno || MSGFMT
=false
6031 if test "$MSGFMT" != "false"
6033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
6034 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
6035 cat >conftest.po
<<EOF
6041 if $MSGFMT -o /dev
/null conftest.po
2>&5
6043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6044 $as_echo "yes" >&6; }
6046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6047 $as_echo "no" >&6; }
6051 if test "$MSGFMT" = false
; then :
6052 case "x$with_gettext" in
6053 x
) as_fn_append wine_warnings
"|gettext tools not found (or too old), translations won't be built." ;;
6055 *) as_fn_error $?
"gettext tools not found (or too old), translations won't be built.
6056 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6062 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6063 if ${ac_cv_lib_i386_i386_set_ldt+:} false
; then :
6064 $as_echo_n "(cached) " >&6
6066 ac_check_lib_save_LIBS
=$LIBS
6068 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6069 /* end confdefs.h. */
6071 /* Override any GCC internal prototype to avoid an error.
6072 Use char because int might match the return type of a GCC
6073 builtin and then its argument prototype would still apply. */
6077 char i386_set_ldt ();
6081 return i386_set_ldt ();
6086 if ac_fn_c_try_link
"$LINENO"; then :
6087 ac_cv_lib_i386_i386_set_ldt
=yes
6089 ac_cv_lib_i386_i386_set_ldt
=no
6091 rm -f core conftest.err conftest.
$ac_objext \
6092 conftest
$ac_exeext conftest.
$ac_ext
6093 LIBS
=$ac_check_lib_save_LIBS
6095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6096 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6097 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes
; then :
6098 cat >>confdefs.h
<<_ACEOF
6099 #define HAVE_LIBI386 1
6106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
6107 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
6108 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false
; then :
6109 $as_echo_n "(cached) " >&6
6111 ac_check_lib_save_LIBS
=$LIBS
6112 LIBS
="-lossaudio $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. */
6126 return _oss_ioctl ();
6131 if ac_fn_c_try_link
"$LINENO"; then :
6132 ac_cv_lib_ossaudio__oss_ioctl
=yes
6134 ac_cv_lib_ossaudio__oss_ioctl
=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_ossaudio__oss_ioctl" >&5
6141 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6142 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes
; then :
6143 cat >>confdefs.h
<<_ACEOF
6144 #define HAVE_LIBOSSAUDIO 1
6147 LIBS
="-lossaudio $LIBS"
6156 # Check whether --enable-largefile was given.
6157 if test "${enable_largefile+set}" = set; then :
6158 enableval
=$enable_largefile;
6161 if test "$enable_largefile" != no
; then
6163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6164 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6165 if ${ac_cv_sys_largefile_CC+:} false
; then :
6166 $as_echo_n "(cached) " >&6
6168 ac_cv_sys_largefile_CC
=no
6169 if test "$GCC" != yes; then
6172 # IRIX 6.2 and later do not support large files by default,
6173 # so use the C compiler's -n32 option if that helps.
6174 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6175 /* end confdefs.h. */
6176 #include <sys/types.h>
6177 /* Check that off_t can represent 2**63 - 1 correctly.
6178 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6179 since some C++ compilers masquerading as C compilers
6180 incorrectly reject 9223372036854775807. */
6181 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6182 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6183 && LARGE_OFF_T % 2147483647 == 1)
6193 if ac_fn_c_try_compile
"$LINENO"; then :
6196 rm -f core conftest.err conftest.
$ac_objext
6198 if ac_fn_c_try_compile
"$LINENO"; then :
6199 ac_cv_sys_largefile_CC
=' -n32'; break
6201 rm -f core conftest.err conftest.
$ac_objext
6205 rm -f conftest.
$ac_ext
6208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6209 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6210 if test "$ac_cv_sys_largefile_CC" != no
; then
6211 CC
=$CC$ac_cv_sys_largefile_CC
6214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6215 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6216 if ${ac_cv_sys_file_offset_bits+:} false
; then :
6217 $as_echo_n "(cached) " >&6
6220 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6221 /* end confdefs.h. */
6222 #include <sys/types.h>
6223 /* Check that off_t can represent 2**63 - 1 correctly.
6224 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6225 since some C++ compilers masquerading as C compilers
6226 incorrectly reject 9223372036854775807. */
6227 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6228 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6229 && LARGE_OFF_T % 2147483647 == 1)
6239 if ac_fn_c_try_compile
"$LINENO"; then :
6240 ac_cv_sys_file_offset_bits
=no
; break
6242 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6243 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6244 /* end confdefs.h. */
6245 #define _FILE_OFFSET_BITS 64
6246 #include <sys/types.h>
6247 /* Check that off_t can represent 2**63 - 1 correctly.
6248 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6249 since some C++ compilers masquerading as C compilers
6250 incorrectly reject 9223372036854775807. */
6251 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6252 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6253 && LARGE_OFF_T % 2147483647 == 1)
6263 if ac_fn_c_try_compile
"$LINENO"; then :
6264 ac_cv_sys_file_offset_bits
=64; break
6266 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6267 ac_cv_sys_file_offset_bits
=unknown
6271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6272 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6273 case $ac_cv_sys_file_offset_bits in #(
6276 cat >>confdefs.h
<<_ACEOF
6277 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6282 if test $ac_cv_sys_file_offset_bits = unknown
; then
6283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6284 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6285 if ${ac_cv_sys_large_files+:} false
; then :
6286 $as_echo_n "(cached) " >&6
6289 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6290 /* end confdefs.h. */
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_large_files
=no
; break
6311 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6312 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6313 /* end confdefs.h. */
6314 #define _LARGE_FILES 1
6315 #include <sys/types.h>
6316 /* Check that off_t can represent 2**63 - 1 correctly.
6317 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6318 since some C++ compilers masquerading as C compilers
6319 incorrectly reject 9223372036854775807. */
6320 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6321 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6322 && LARGE_OFF_T % 2147483647 == 1)
6332 if ac_fn_c_try_compile
"$LINENO"; then :
6333 ac_cv_sys_large_files
=1; break
6335 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6336 ac_cv_sys_large_files
=unknown
6340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6341 $as_echo "$ac_cv_sys_large_files" >&6; }
6342 case $ac_cv_sys_large_files in #(
6345 cat >>confdefs.h
<<_ACEOF
6346 #define _LARGE_FILES $ac_cv_sys_large_files
6358 ac_cpp
='$CPP $CPPFLAGS'
6359 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6360 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6361 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6363 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6364 # On Suns, sometimes $CPP names a directory.
6365 if test -n "$CPP" && test -d "$CPP"; then
6368 if test -z "$CPP"; then
6369 if ${ac_cv_prog_CPP+:} false
; then :
6370 $as_echo_n "(cached) " >&6
6372 # Double quotes because CPP needs to be expanded
6373 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6376 for ac_c_preproc_warn_flag
in '' yes
6378 # Use a header file that comes with gcc, so configuring glibc
6379 # with a fresh cross-compiler works.
6380 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6381 # <limits.h> exists even on freestanding compilers.
6382 # On the NeXT, cc -E runs the code through the compiler's parser,
6383 # not just through cpp. "Syntax error" is here to catch this case.
6384 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6385 /* end confdefs.h. */
6387 # include <limits.h>
6389 # include <assert.h>
6393 if ac_fn_c_try_cpp
"$LINENO"; then :
6396 # Broken: fails on valid input.
6399 rm -f conftest.err conftest.i conftest.
$ac_ext
6401 # OK, works on sane cases. Now check whether nonexistent headers
6402 # can be detected and how.
6403 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6404 /* end confdefs.h. */
6405 #include <ac_nonexistent.h>
6407 if ac_fn_c_try_cpp
"$LINENO"; then :
6408 # Broken: success on invalid input.
6411 # Passes both tests.
6415 rm -f conftest.err conftest.i conftest.
$ac_ext
6418 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6419 rm -f conftest.i conftest.err conftest.
$ac_ext
6420 if $ac_preproc_ok; then :
6432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6433 $as_echo "$CPP" >&6; }
6435 for ac_c_preproc_warn_flag
in '' yes
6437 # Use a header file that comes with gcc, so configuring glibc
6438 # with a fresh cross-compiler works.
6439 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6440 # <limits.h> exists even on freestanding compilers.
6441 # On the NeXT, cc -E runs the code through the compiler's parser,
6442 # not just through cpp. "Syntax error" is here to catch this case.
6443 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6444 /* end confdefs.h. */
6446 # include <limits.h>
6448 # include <assert.h>
6452 if ac_fn_c_try_cpp
"$LINENO"; then :
6455 # Broken: fails on valid input.
6458 rm -f conftest.err conftest.i conftest.
$ac_ext
6460 # OK, works on sane cases. Now check whether nonexistent headers
6461 # can be detected and how.
6462 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6463 /* end confdefs.h. */
6464 #include <ac_nonexistent.h>
6466 if ac_fn_c_try_cpp
"$LINENO"; then :
6467 # Broken: success on invalid input.
6470 # Passes both tests.
6474 rm -f conftest.err conftest.i conftest.
$ac_ext
6477 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6478 rm -f conftest.i conftest.err conftest.
$ac_ext
6479 if $ac_preproc_ok; then :
6482 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6483 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6484 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
6485 See \`config.log' for more details" "$LINENO" 5; }
6489 ac_cpp
='$CPP $CPPFLAGS'
6490 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6491 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6492 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6496 $as_echo_n "checking for ANSI C header files... " >&6; }
6497 if ${ac_cv_header_stdc+:} false
; then :
6498 $as_echo_n "(cached) " >&6
6500 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6501 /* end confdefs.h. */
6515 if ac_fn_c_try_compile
"$LINENO"; then :
6516 ac_cv_header_stdc
=yes
6518 ac_cv_header_stdc
=no
6520 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6522 if test $ac_cv_header_stdc = yes; then
6523 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6524 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6525 /* end confdefs.h. */
6529 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6530 $EGREP "memchr" >/dev
/null
2>&1; then :
6533 ac_cv_header_stdc
=no
6539 if test $ac_cv_header_stdc = yes; then
6540 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6541 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6542 /* end confdefs.h. */
6546 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6547 $EGREP "free" >/dev
/null
2>&1; then :
6550 ac_cv_header_stdc
=no
6556 if test $ac_cv_header_stdc = yes; then
6557 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6558 if test "$cross_compiling" = yes; then :
6561 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6562 /* end confdefs.h. */
6565 #if ((' ' & 0x0FF) == 0x020)
6566 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6567 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6569 # define ISLOWER(c) \
6570 (('a' <= (c) && (c) <= 'i') \
6571 || ('j' <= (c) && (c) <= 'r') \
6572 || ('s' <= (c) && (c) <= 'z'))
6573 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6576 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6581 for (i = 0; i < 256; i++)
6582 if (XOR (islower (i), ISLOWER (i))
6583 || toupper (i) != TOUPPER (i))
6588 if ac_fn_c_try_run
"$LINENO"; then :
6591 ac_cv_header_stdc
=no
6593 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6594 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6600 $as_echo "$ac_cv_header_stdc" >&6; }
6601 if test $ac_cv_header_stdc = yes; then
6603 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6607 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6608 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
6609 inttypes.h stdint.h unistd.h
6611 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6612 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6614 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6615 cat >>confdefs.h
<<_ACEOF
6616 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6626 ApplicationServices
/ApplicationServices.h \
6627 AudioToolbox
/AudioConverter.h \
6628 AudioUnit
/AudioUnit.h \
6629 AudioUnit
/AudioComponent.h \
6632 CoreAudio
/CoreAudio.h \
6633 CoreServices
/CoreServices.h \
6634 DiskArbitration
/DiskArbitration.h \
6636 IOKit
/hid
/IOHIDLib.h \
6639 QuickTime
/ImageCompression.h \
6640 Security
/Security.h \
6691 netinet
/in_systm.h \
6754 valgrind
/memcheck.h \
6755 valgrind
/valgrind.h \
6759 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6760 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6761 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6762 cat >>confdefs.h
<<_ACEOF
6763 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
6771 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
6772 if ${ac_cv_header_stat_broken+:} false
; then :
6773 $as_echo_n "(cached) " >&6
6775 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6776 /* end confdefs.h. */
6777 #include <sys/types.h>
6778 #include <sys/stat.h>
6780 #if defined S_ISBLK && defined S_IFDIR
6781 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
6784 #if defined S_ISBLK && defined S_IFCHR
6785 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
6788 #if defined S_ISLNK && defined S_IFREG
6789 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
6792 #if defined S_ISSOCK && defined S_IFREG
6793 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
6797 if ac_fn_c_try_compile
"$LINENO"; then :
6798 ac_cv_header_stat_broken
=no
6800 ac_cv_header_stat_broken
=yes
6802 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
6805 $as_echo "$ac_cv_header_stat_broken" >&6; }
6806 if test $ac_cv_header_stat_broken = yes; then
6808 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
6814 for ac_header
in sys
/mount.h sys
/statfs.h sys
/sysctl.h sys
/user.h sys
/vfs.h
6816 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6817 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6818 #ifdef HAVE_SYS_PARAM_H
6819 # include <sys/param.h>
6822 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6823 cat >>confdefs.h
<<_ACEOF
6824 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6839 netinet
/if_ether.h \
6840 netinet
/if_inarp.h \
6849 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6850 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6851 #ifdef HAVE_SYS_SOCKET_H
6852 # include <sys/socket.h>
6854 #ifdef HAVE_SYS_SOCKETVAR_H
6855 # include <sys/socketvar.h>
6857 #ifdef HAVE_NET_ROUTE_H
6858 # include <net/route.h>
6860 #ifdef HAVE_NETINET_IN_H
6861 # include <netinet/in.h>
6863 #ifdef HAVE_NETINET_IN_SYSTM_H
6864 # include <netinet/in_systm.h>
6866 #ifdef HAVE_NET_IF_H
6867 # include <net/if.h>
6869 #ifdef HAVE_NETINET_IP_H
6870 # include <netinet/ip.h>
6873 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6874 cat >>confdefs.h
<<_ACEOF
6875 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6883 for ac_header
in netinet
/tcp_timer.h netinet
/udp_var.h netinet
/icmp_var.h netinet
/tcp_var.h
6885 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6886 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6890 #ifdef HAVE_SYS_SOCKET_H
6891 # include <sys/socket.h>
6893 #ifdef HAVE_SYS_SOCKETVAR_H
6894 # include <sys/socketvar.h>
6896 #ifdef HAVE_SYS_TIMEOUT_H
6897 # include <sys/timeout.h>
6899 #ifdef HAVE_NETINET_IN_H
6900 # include <netinet/in.h>
6902 #ifdef HAVE_NETINET_IN_SYSTM_H
6903 # include <netinet/in_systm.h>
6905 #ifdef HAVE_NETINET_IP_H
6906 # include <netinet/ip.h>
6908 #ifdef HAVE_NETINET_IP_VAR_H
6909 # include <netinet/ip_var.h>
6911 #ifdef HAVE_NETINET_IP_ICMP_H
6912 # include <netinet/ip_icmp.h>
6914 #ifdef HAVE_NETINET_UDP_H
6915 # include <netinet/udp.h>
6917 #ifdef HAVE_NETINET_TCP_H
6918 # include <netinet/tcp.h>
6920 #ifdef HAVE_NETINET_TCP_TIMER_H
6921 #include <netinet/tcp_timer.h>
6924 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6925 cat >>confdefs.h
<<_ACEOF
6926 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6934 for ac_header
in linux
/ipx.h linux
/irda.h linux
/rtnetlink.h
6936 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6937 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6938 #ifdef HAVE_ASM_TYPES_H
6939 # include <asm/types.h>
6941 #ifdef HAVE_SYS_SOCKET_H
6942 # include <sys/socket.h>
6944 #ifdef HAVE_LINUX_TYPES_H
6945 # include <linux/types.h>
6948 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6949 cat >>confdefs.h
<<_ACEOF
6950 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6958 for ac_header
in mach-o
/dyld_images.h
6960 ac_fn_c_check_header_compile
"$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
6961 # include <stdbool.h>
6963 #ifdef HAVE_STDINT_H
6964 # include <stdint.h>
6967 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes
; then :
6968 cat >>confdefs.h
<<_ACEOF
6969 #define HAVE_MACH_O_DYLD_IMAGES_H 1
6977 for ac_header
in resolv.h
6979 ac_fn_c_check_header_compile
"$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
6980 #ifdef HAVE_SYS_SOCKET_H
6981 # include <sys/socket.h>
6983 #ifdef HAVE_NETINET_IN_H
6984 # include <netinet/in.h>
6986 #ifdef HAVE_ARPA_NAMESER_H
6987 # include <arpa/nameser.h>
6990 if test "x$ac_cv_header_resolv_h" = xyes
; then :
6991 cat >>confdefs.h
<<_ACEOF
6992 #define HAVE_RESOLV_H 1
7000 for ac_header
in ifaddrs.h
7002 ac_fn_c_check_header_compile
"$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
7004 if test "x$ac_cv_header_ifaddrs_h" = xyes
; then :
7005 cat >>confdefs.h
<<_ACEOF
7006 #define HAVE_IFADDRS_H 1
7014 for ac_header
in sys
/ucontext.h
7016 ac_fn_c_check_header_compile
"$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
7018 if test "x$ac_cv_header_sys_ucontext_h" = xyes
; then :
7019 cat >>confdefs.h
<<_ACEOF
7020 #define HAVE_SYS_UCONTEXT_H 1
7028 for ac_header
in sys
/thr.h
7030 ac_fn_c_check_header_compile
"$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
7031 #ifdef HAVE_SYS_UCONTEXT_H
7032 #include <sys/ucontext.h>
7035 if test "x$ac_cv_header_sys_thr_h" = xyes
; then :
7036 cat >>confdefs.h
<<_ACEOF
7037 #define HAVE_SYS_THR_H 1
7045 for ac_header
in pthread_np.h
7047 ac_fn_c_check_header_compile
"$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7048 #include <pthread.h>
7051 if test "x$ac_cv_header_pthread_np_h" = xyes
; then :
7052 cat >>confdefs.h
<<_ACEOF
7053 #define HAVE_PTHREAD_NP_H 1
7061 for ac_header
in linux
/videodev.h linux
/videodev2.h libv4l1.h
7063 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7064 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
7065 #include <sys/time.h>
7067 #include <sys/types.h>
7068 #ifdef HAVE_ASM_TYPES_H
7069 #include <asm/types.h>
7072 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
7073 cat >>confdefs.h
<<_ACEOF
7074 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7082 for ac_header
in libprocstat.h
7084 ac_fn_c_check_header_compile
"$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7085 #include <sys/param.h>
7087 #ifdef HAVE_SYS_QUEUE_H
7088 #include <sys/queue.h>
7090 #ifdef HAVE_SYS_SOCKET_H
7091 #include <sys/socket.h>
7094 if test "x$ac_cv_header_libprocstat_h" = xyes
; then :
7095 cat >>confdefs.h
<<_ACEOF
7096 #define HAVE_LIBPROCSTAT_H 1
7105 dlldir
="\${libdir}/wine"
7109 DLLFLAGS
="-D_REENTRANT"
7118 STATIC_IMPLIBEXT
="def.a"
7119 # Extract the first word of "ldd", so it can be a program name with args.
7120 set dummy ldd
; ac_word
=$2
7121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7122 $as_echo_n "checking for $ac_word... " >&6; }
7123 if ${ac_cv_path_LDD+:} false
; then :
7124 $as_echo_n "(cached) " >&6
7128 ac_cv_path_LDD
="$LDD" # Let the user override the test with a path.
7131 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7132 as_dummy
="/sbin:/usr/sbin:$PATH"
7133 for as_dir
in $as_dummy
7136 test -z "$as_dir" && as_dir
=.
7137 for ac_exec_ext
in '' $ac_executable_extensions; do
7138 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7139 ac_cv_path_LDD
="$as_dir/$ac_word$ac_exec_ext"
7140 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7147 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD
="true"
7152 if test -n "$LDD"; then
7153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7154 $as_echo "$LDD" >&6; }
7156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7157 $as_echo "no" >&6; }
7161 if test -n "$ac_tool_prefix"; then
7162 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7163 set dummy
${ac_tool_prefix}otool
; ac_word
=$2
7164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7165 $as_echo_n "checking for $ac_word... " >&6; }
7166 if ${ac_cv_prog_OTOOL+:} false
; then :
7167 $as_echo_n "(cached) " >&6
7169 if test -n "$OTOOL"; then
7170 ac_cv_prog_OTOOL
="$OTOOL" # Let the user override the test.
7172 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7176 test -z "$as_dir" && as_dir
=.
7177 for ac_exec_ext
in '' $ac_executable_extensions; do
7178 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7179 ac_cv_prog_OTOOL
="${ac_tool_prefix}otool"
7180 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7189 OTOOL
=$ac_cv_prog_OTOOL
7190 if test -n "$OTOOL"; then
7191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7192 $as_echo "$OTOOL" >&6; }
7194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7195 $as_echo "no" >&6; }
7200 if test -z "$ac_cv_prog_OTOOL"; then
7202 # Extract the first word of "otool", so it can be a program name with args.
7203 set dummy otool
; ac_word
=$2
7204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7205 $as_echo_n "checking for $ac_word... " >&6; }
7206 if ${ac_cv_prog_ac_ct_OTOOL+:} false
; then :
7207 $as_echo_n "(cached) " >&6
7209 if test -n "$ac_ct_OTOOL"; then
7210 ac_cv_prog_ac_ct_OTOOL
="$ac_ct_OTOOL" # Let the user override the test.
7212 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7216 test -z "$as_dir" && as_dir
=.
7217 for ac_exec_ext
in '' $ac_executable_extensions; do
7218 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7219 ac_cv_prog_ac_ct_OTOOL
="otool"
7220 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7229 ac_ct_OTOOL
=$ac_cv_prog_ac_ct_OTOOL
7230 if test -n "$ac_ct_OTOOL"; then
7231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7232 $as_echo "$ac_ct_OTOOL" >&6; }
7234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7235 $as_echo "no" >&6; }
7238 if test "x$ac_ct_OTOOL" = x
; then
7241 case $cross_compiling:$ac_tool_warned in
7243 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7244 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7245 ac_tool_warned
=yes ;;
7250 OTOOL
="$ac_cv_prog_OTOOL"
7253 if test -n "$ac_tool_prefix"; then
7254 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
7255 set dummy
${ac_tool_prefix}readelf
; ac_word
=$2
7256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7257 $as_echo_n "checking for $ac_word... " >&6; }
7258 if ${ac_cv_prog_READELF+:} false
; then :
7259 $as_echo_n "(cached) " >&6
7261 if test -n "$READELF"; then
7262 ac_cv_prog_READELF
="$READELF" # Let the user override the test.
7264 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7268 test -z "$as_dir" && as_dir
=.
7269 for ac_exec_ext
in '' $ac_executable_extensions; do
7270 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7271 ac_cv_prog_READELF
="${ac_tool_prefix}readelf"
7272 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7281 READELF
=$ac_cv_prog_READELF
7282 if test -n "$READELF"; then
7283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
7284 $as_echo "$READELF" >&6; }
7286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7287 $as_echo "no" >&6; }
7292 if test -z "$ac_cv_prog_READELF"; then
7293 ac_ct_READELF
=$READELF
7294 # Extract the first word of "readelf", so it can be a program name with args.
7295 set dummy readelf
; ac_word
=$2
7296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7297 $as_echo_n "checking for $ac_word... " >&6; }
7298 if ${ac_cv_prog_ac_ct_READELF+:} false
; then :
7299 $as_echo_n "(cached) " >&6
7301 if test -n "$ac_ct_READELF"; then
7302 ac_cv_prog_ac_ct_READELF
="$ac_ct_READELF" # Let the user override the test.
7304 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7308 test -z "$as_dir" && as_dir
=.
7309 for ac_exec_ext
in '' $ac_executable_extensions; do
7310 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7311 ac_cv_prog_ac_ct_READELF
="readelf"
7312 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7321 ac_ct_READELF
=$ac_cv_prog_ac_ct_READELF
7322 if test -n "$ac_ct_READELF"; then
7323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7324 $as_echo "$ac_ct_READELF" >&6; }
7326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7327 $as_echo "no" >&6; }
7330 if test "x$ac_ct_READELF" = x
; then
7333 case $cross_compiling:$ac_tool_warned in
7335 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7336 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7337 ac_tool_warned
=yes ;;
7339 READELF
=$ac_ct_READELF
7342 READELF
="$ac_cv_prog_READELF"
7345 wine_rules_file
=conf$
$rules.
make
7346 rm -f $wine_rules_file
7348 GITIGNORE
="# Automatically generated by configure; DO NOT EDIT!!"
7349 ALL_TEST_RESOURCES
=""
7352 wine_fn_append_file
()
7354 as_fn_append
$1 " \\$as_nl $2"
7357 wine_fn_ignore_file
()
7360 */*) as_fn_append GITIGNORE
"$as_nl$1" ;;
7361 \
**) as_fn_append GITIGNORE
"$as_nl$1" ;;
7362 *) as_fn_append GITIGNORE
"$as_nl/$1" ;;
7366 wine_fn_append_rule
()
7368 $as_echo "$1" >>$wine_rules_file
7373 expr ",$ac_flags," : ".*,$1,.*" >/dev
/null
7376 wine_fn_depend_rules
()
7378 wine_fn_append_rule \
7379 "$ac_dir/Makefile: $srcdir/$ac_dir/Makefile.in $srcdir/Make.vars.in config.status \$(MAKEDEP)
7380 @./config.status --file $ac_dir/Makefile:Make.vars.in:$ac_dir/Makefile.in && \$(MAKEDEP) $ac_dir
7381 depend: $ac_dir/depend
7382 .PHONY: $ac_dir/depend
7383 $ac_dir/depend: \$(MAKEDEP) dummy
7384 @./config.status --file $ac_dir/Makefile:Make.vars.in:$ac_dir/Makefile.in && \$(MAKEDEP) $ac_dir"
7387 wine_fn_pot_rules
()
7389 test "x$with_gettextpo" = xyes ||
return
7391 if wine_fn_has_flag mc
7393 wine_fn_append_file ALL_POT_FILES
$ac_dir/msg.pot
7394 wine_fn_append_rule \
7395 "$ac_dir/msg.pot: $ac_dir/Makefile dummy
7396 @cd $ac_dir && \$(MAKE) msg.pot
7397 $ac_dir/msg.pot: tools/wmc include"
7399 if wine_fn_has_flag po
7401 wine_fn_append_file ALL_POT_FILES
$ac_dir/rsrc.pot
7402 wine_fn_append_rule \
7403 "$ac_dir/rsrc.pot: $ac_dir/Makefile dummy
7404 @cd $ac_dir && \$(MAKE) rsrc.pot
7405 $ac_dir/rsrc.pot: tools/wrc include"
7409 wine_fn_all_rules
()
7411 wine_fn_depend_rules
7412 wine_fn_append_rule \
7415 $ac_dir: $ac_dir/Makefile dummy
7416 @cd $ac_dir && \$(MAKE)"
7419 wine_fn_install_rules
()
7421 wine_fn_has_flag install-lib || wine_fn_has_flag install-dev ||
return
7423 wine_fn_append_rule \
7424 ".PHONY: $ac_dir/install $ac_dir/uninstall
7425 $ac_dir/install:: $ac_dir
7426 @cd $ac_dir && \$(MAKE) install
7427 $ac_dir/uninstall:: $ac_dir/Makefile
7428 @cd $ac_dir && \$(MAKE) uninstall
7429 install:: $ac_dir/install
7430 __uninstall__: $ac_dir/uninstall"
7432 if wine_fn_has_flag install-lib
7434 wine_fn_append_rule \
7435 ".PHONY: $ac_dir/install-lib
7436 $ac_dir/install-lib:: $ac_dir
7437 @cd $ac_dir && \$(MAKE) install-lib
7438 install-lib:: $ac_dir/install-lib"
7441 if wine_fn_has_flag install-dev
7443 wine_fn_append_rule \
7444 ".PHONY: $ac_dir/install-dev
7445 $ac_dir/install-dev:: $ac_dir
7446 @cd $ac_dir && \$(MAKE) install-dev
7447 install-dev:: $ac_dir/install-dev"
7451 wine_fn_clean_rules
()
7454 ac_extraclean
="$ac_dir/Makefile"
7455 test "$srcdir" = .
&& ac_extraclean
="$ac_extraclean $ac_dir/.gitignore"
7457 */tests
) ac_extraclean
="$ac_extraclean $ac_dir/testlist.c" ;;
7460 if wine_fn_has_flag clean
7462 wine_fn_append_rule \
7463 "__clean__: $ac_dir/clean
7464 .PHONY: $ac_dir/clean
7465 $ac_dir/clean: $ac_dir/Makefile
7466 @cd $ac_dir && \$(MAKE) clean
7467 \$(RM) $ac_extraclean"
7469 wine_fn_append_rule \
7470 "__clean__: $ac_dir/clean
7471 .PHONY: $ac_dir/clean
7472 $ac_dir/clean: dummy
7473 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean $ac_extraclean"
7477 wine_fn_disabled_rules
()
7480 ac_extraclean
="$ac_dir/Makefile"
7481 test "$srcdir" = .
&& ac_extraclean
="$ac_extraclean $ac_dir/.gitignore"
7483 wine_fn_append_rule \
7484 "__clean__: $ac_dir/clean
7485 .PHONY: $ac_dir/clean
7486 $ac_dir/clean: dummy
7487 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean $ac_extraclean"
7490 wine_fn_config_makefile
()
7496 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
7497 wine_fn_disabled_rules
; return
7500 wine_fn_install_rules
7504 wine_fn_config_lib
()
7508 ac_dir
=dlls
/$ac_name
7511 if test "x$enable_tools" = xno
; then :
7514 ac_deps
="tools/widl tools/winebuild tools/winegcc $ac_deps"
7519 wine_fn_append_rule \
7520 ".PHONY: $ac_dir/install $ac_dir/uninstall
7521 $ac_dir/install:: $ac_dir
7522 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7524 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7525 install install-dev:: $ac_dir/install
7526 __uninstall__: $ac_dir/uninstall
7527 __builddeps__: $ac_dir
7531 wine_fn_config_dll
()
7534 ac_dir
=dlls
/$ac_name
7537 ac_implib
=${4:-$ac_name}
7538 ac_file
=$ac_dir/lib
$ac_implib
7543 if test "x$enable_tools" = xno
; then :
7546 ac_deps
="tools/widl tools/winebuild tools/winegcc $ac_deps"
7549 *16) ac_implibflags
=" -m16" ;;
7551 *) ac_dll
=$ac_dll.dll
;;
7555 wine_fn_has_flag implib
&& ac_clean
="$ac_clean $ac_file.$IMPLIBEXT"
7556 wine_fn_has_flag mc
&& ac_clean
="$ac_clean $ac_dir/msg.pot"
7557 wine_fn_has_flag po
&& ac_clean
="$ac_clean $ac_dir/rsrc.pot"
7558 test -n "$DLLEXT" || ac_clean
="$ac_clean $ac_dir/$ac_dll"
7560 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
7561 if wine_fn_has_flag implib
&& test "$ac_enable" != enable_win16
7563 wine_fn_depend_rules
7564 wine_fn_clean_rules
$ac_clean
7566 wine_fn_disabled_rules
$ac_clean
7571 wine_fn_clean_rules
$ac_clean
7572 wine_fn_append_rule \
7573 "$ac_dir: __builddeps__
7574 manpages htmlpages sgmlpages xmlpages:: $ac_dir/Makefile
7575 @cd $ac_dir && \$(MAKE) \$@
7576 .PHONY: $ac_dir/install-lib $ac_dir/uninstall
7577 install install-lib:: $ac_dir/install-lib
7578 __uninstall__: $ac_dir/uninstall"
7579 if test -n "$DLLEXT"
7581 wine_fn_append_rule \
7582 "$ac_dir/install-lib:: $ac_dir
7583 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_dll$DLLEXT
7584 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
7586 \$(RM) \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
7588 wine_fn_append_rule \
7589 "$ac_dir/install-lib:: $ac_dir
7590 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
7592 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
7598 if wine_fn_has_flag staticimplib
7600 wine_fn_append_rule \
7601 "__builddeps__: $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT
7602 $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT $ac_file.cross.a: $ac_deps
7603 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7604 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7605 $ac_file.$STATIC_IMPLIBEXT: $ac_dir/Makefile dummy
7606 @cd $ac_dir && \$(MAKE) lib$ac_implib.$STATIC_IMPLIBEXT
7607 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7608 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7609 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7611 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7612 install install-dev:: $ac_dir/install-dev
7613 __uninstall__: $ac_dir/uninstall"
7615 if test "$IMPLIBEXT" != "$STATIC_IMPLIBEXT"
7617 wine_fn_append_rule \
7618 "$ac_dir/install-dev:: $ac_file.$STATIC_IMPLIBEXT __builddeps__
7619 \$(INSTALL_DATA) $ac_file.$STATIC_IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT
7621 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT"
7624 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7626 wine_fn_append_rule \
7627 "__builddeps__: $ac_file.cross.a
7628 $ac_file.cross.a: $ac_dir/Makefile dummy
7629 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
7632 elif wine_fn_has_flag implib
7634 wine_fn_append_rule \
7635 "__builddeps__: $ac_file.$IMPLIBEXT
7636 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7637 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7638 $ac_file.a: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7639 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7640 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7641 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7642 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7644 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7645 install install-dev:: $ac_dir/install-dev
7646 __uninstall__: $ac_dir/uninstall"
7647 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7649 wine_fn_append_rule \
7650 "__builddeps__: $ac_file.cross.a
7651 $ac_file.cross.a: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7652 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec"
7655 if test "$ac_name" != "$ac_implib"
7657 wine_fn_append_rule \
7658 "__builddeps__: dlls/lib$ac_implib.$IMPLIBEXT
7659 dlls/lib$ac_implib.$IMPLIBEXT: $ac_file.$IMPLIBEXT
7660 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.$IMPLIBEXT \$@
7662 \$(RM) dlls/lib$ac_implib.$IMPLIBEXT"
7663 wine_fn_ignore_file
"dlls/lib$ac_implib.$IMPLIBEXT"
7664 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7666 wine_fn_append_rule \
7667 "__builddeps__: dlls/lib$ac_implib.cross.a
7668 dlls/lib$ac_implib.cross.a: $ac_file.cross.a
7669 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.cross.a \$@
7671 \$(RM) dlls/lib$ac_implib.cross.a"
7672 wine_fn_ignore_file
"dlls/lib$ac_implib.cross.a"
7678 wine_fn_config_program
()
7681 ac_dir
=programs
/$ac_name
7688 *) ac_program
=$ac_program.exe
;;
7692 wine_fn_has_flag mc
&& ac_clean
="$ac_clean $ac_dir/msg.pot"
7693 wine_fn_has_flag po
&& ac_clean
="$ac_clean $ac_dir/rsrc.pot"
7694 wine_fn_has_flag manpage
&& ac_clean
="$ac_clean $ac_dir/$ac_name.man"
7695 test -n "$DLLEXT" || ac_clean
="$ac_clean $ac_dir/$ac_program"
7697 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
7698 wine_fn_disabled_rules
$ac_clean; return
7702 wine_fn_clean_rules
$ac_clean
7703 wine_fn_append_rule
"$ac_dir: __builddeps__"
7706 wine_fn_has_flag
install ||
return
7707 wine_fn_append_rule \
7708 ".PHONY: $ac_dir/install $ac_dir/uninstall
7709 install install-lib:: $ac_dir/install
7710 __uninstall__: $ac_dir/uninstall"
7712 if test -n "$DLLEXT"
7714 wine_fn_append_rule \
7715 "$ac_dir/install:: $ac_dir
7716 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_program$DLLEXT
7717 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
7719 \$(RM) \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
7721 if test -z "$with_wine64" && wine_fn_has_flag installbin
7723 wine_fn_append_rule \
7724 "$ac_dir/install:: __tooldeps__
7725 \$(INSTALL_SCRIPT) \$(TOOLSDIR)/tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
7727 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
7730 wine_fn_append_rule \
7731 "$ac_dir/install:: $ac_dir
7732 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(bindir)/$ac_program
7734 \$(RM) \$(DESTDIR)\$(bindir)/$ac_program"
7737 if test -z "$with_wine64" && wine_fn_has_flag manpage
7739 wine_fn_append_rule \
7740 "$ac_dir/install:: $ac_dir
7741 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
7743 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
7747 wine_fn_config_test
()
7754 test -n "$CROSSTARGET" && ac_clean
=`expr $ac_dir/${ac_name} : "\\(.*\\)_test"`_crosstest.exe
7755 test -n "$DLLEXT" || ac_clean
="$ac_dir/${ac_name}.exe $ac_dir/${ac_name}-stripped.exe"
7757 if test "x$enable_tests" = xno
; then :
7758 wine_fn_disabled_rules
$ac_clean; return
7761 wine_fn_append_file ALL_TEST_RESOURCES
$ac_name.res
7763 wine_fn_clean_rules
$ac_clean
7765 wine_fn_append_rule \
7766 "$ac_dir: programs/winetest/Makefile __builddeps__
7767 programs/winetest: $ac_dir
7768 check test: $ac_dir/test
7769 .PHONY: $ac_dir/test
7771 @cd $ac_dir && \$(MAKE) test
7773 \$(RM) $ac_dir/*.ok"
7775 if test -n "$CROSSTARGET"
7777 wine_fn_append_rule \
7778 "crosstest: $ac_dir/crosstest
7779 .PHONY: $ac_dir/crosstest
7780 $ac_dir/crosstest: $ac_dir/Makefile __builddeps__ dummy
7781 @cd $ac_dir && \$(MAKE) crosstest"
7785 wine_fn_config_tool
()
7789 if test "x$enable_tools" = xno
; then :
7794 wine_fn_install_rules
7797 wine_fn_append_rule
"__tooldeps__: $ac_dir"
7798 wine_fn_append_rule
"$ac_dir: libs/port"
7800 tools
/winebuild
) wine_fn_append_rule
"\$(WINEBUILD): $ac_dir" ;;
7804 wine_fn_config_symlink
()
7807 if test "x$1" = "x-d"
7813 wine_fn_append_rule \
7815 @./config.status \$@
7818 for f
in $ac_links; do wine_fn_ignore_file
$f; done
7819 test -n "$ac_linkdir" ||
return
7820 wine_fn_append_rule
"$ac_linkdir/Makefile $ac_linkdir/depend: $ac_links"
7824 test "x$enable_win64" != "xyes" || wine_binary
="wine64"
7825 loader_programs
="$wine_binary wine-installed"
7826 libwine_soversion
=`expr $libwine_version : '\([0-9]*\)\..*'`
7831 install install-lib:: wine-installed
7832 \$(INSTALL_PROGRAM) wine-installed \$(DESTDIR)\$(bindir)/$wine_binary
7835 \$(RM) \$(DESTDIR)\$(bindir)/$wine_binary
7841 if test -n "$ac_tool_prefix"; then
7842 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7843 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
7844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7845 $as_echo_n "checking for $ac_word... " >&6; }
7846 if ${ac_cv_prog_DLLTOOL+:} false
; then :
7847 $as_echo_n "(cached) " >&6
7849 if test -n "$DLLTOOL"; then
7850 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
7852 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7856 test -z "$as_dir" && as_dir
=.
7857 for ac_exec_ext
in '' $ac_executable_extensions; do
7858 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7859 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
7860 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7869 DLLTOOL
=$ac_cv_prog_DLLTOOL
7870 if test -n "$DLLTOOL"; then
7871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7872 $as_echo "$DLLTOOL" >&6; }
7874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7875 $as_echo "no" >&6; }
7880 if test -z "$ac_cv_prog_DLLTOOL"; then
7881 ac_ct_DLLTOOL
=$DLLTOOL
7882 # Extract the first word of "dlltool", so it can be a program name with args.
7883 set dummy dlltool
; ac_word
=$2
7884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7885 $as_echo_n "checking for $ac_word... " >&6; }
7886 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false
; then :
7887 $as_echo_n "(cached) " >&6
7889 if test -n "$ac_ct_DLLTOOL"; then
7890 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
7892 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7896 test -z "$as_dir" && as_dir
=.
7897 for ac_exec_ext
in '' $ac_executable_extensions; do
7898 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7899 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
7900 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7909 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
7910 if test -n "$ac_ct_DLLTOOL"; then
7911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7912 $as_echo "$ac_ct_DLLTOOL" >&6; }
7914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7915 $as_echo "no" >&6; }
7918 if test "x$ac_ct_DLLTOOL" = x
; then
7921 case $cross_compiling:$ac_tool_warned in
7923 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7924 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7925 ac_tool_warned
=yes ;;
7927 DLLTOOL
=$ac_ct_DLLTOOL
7930 DLLTOOL
="$ac_cv_prog_DLLTOOL"
7936 STATIC_IMPLIBEXT
="a"
7937 enable_iphlpapi
=${enable_iphlpapi:-no}
7938 enable_kernel32
=${enable_kernel32:-no}
7939 enable_msvcrt
=${enable_msvcrt:-no}
7940 enable_ntdll
=${enable_ntdll:-no}
7941 enable_ws2_32
=${enable_ws2_32:-no}
7942 enable_loader
=${enable_loader:-no}
7943 enable_server
=${enable_server:-no}
7944 with_x
=${with_x:-no}
7945 with_pthread
=${with_pthread:-no}
7951 SOCKET_LIBS
="-L\$(top_builddir)/dlls/ws2_32 -lws2_32"
7955 libwine_targets
="libwine.dll libwine.a"
7957 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
7959 all: libwine.dll libwine.a
7961 libwine.a: \$(srcdir)/wine.def
7962 \$(DLLTOOL) -l \$@ -d \$(srcdir)/wine.def
7964 libwine.dll: \$(OBJS) \$(srcdir)/wine.def
7965 \$(CC) -shared \$(srcdir)/wine.def -o \$@ \$(OBJS) $crtlibs \$(EXTRALIBS)
7967 install install-lib:: libwine.dll
7968 \$(INSTALL_DATA) libwine.dll \$(DESTDIR)\$(libdir)/libwine.dll
7970 install install-dev:: libwine.a
7971 \$(INSTALL_DATA) libwine.a \$(DESTDIR)\$(libdir)/libwine.a
7974 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.a libwine.dll
7980 for ac_header
in libunwind.h
7982 ac_fn_c_check_header_mongrel
"$LINENO" "libunwind.h" "ac_cv_header_libunwind_h" "$ac_includes_default"
7983 if test "x$ac_cv_header_libunwind_h" = xyes
; then :
7984 cat >>confdefs.h
<<_ACEOF
7985 #define HAVE_LIBUNWIND_H 1
7993 DLLFLAGS
="$DLLFLAGS -fPIC"
7994 LIBWINE_LDFLAGS
="-multiply_defined suppress"
7995 LDRPATH_INSTALL
="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
7996 LDRPATH_LOCAL
="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
7997 COREFOUNDATION_LIBS
="-framework CoreFoundation"
7999 IOKIT_LIBS
="-framework IOKit -framework CoreFoundation"
8001 FORCEFEEDBACK_LIBS
="-framework ForceFeedback -framework CoreFoundation"
8003 APPLICATIONSERVICES_LIBS
="-framework ApplicationServices"
8005 CORESERVICES_LIBS
="-framework CoreServices"
8007 APPKIT_LIBS
="-framework AppKit"
8009 LDEXECFLAGS
="-image_base 0x7bf00000 -Wl,-pagezero_size,0x1000,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
8010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
8011 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
8012 if ${ac_cv_cflags__Wl__no_pie+:} false
; then :
8013 $as_echo_n "(cached) " >&6
8015 ac_wine_try_cflags_saved
=$CFLAGS
8016 CFLAGS
="$CFLAGS -Wl,-no_pie"
8017 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8018 /* end confdefs.h. */
8019 int main(int argc, char **argv) { return 0; }
8021 if ac_fn_c_try_link
"$LINENO"; then :
8022 ac_cv_cflags__Wl__no_pie
=yes
8024 ac_cv_cflags__Wl__no_pie
=no
8026 rm -f core conftest.err conftest.
$ac_objext \
8027 conftest
$ac_exeext conftest.
$ac_ext
8028 CFLAGS
=$ac_wine_try_cflags_saved
8030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
8031 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
8032 if test "x$ac_cv_cflags__Wl__no_pie" = xyes
; then :
8033 LDEXECFLAGS
="-Wl,-no_pie $LDEXECFLAGS"
8035 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8037 DISKARBITRATION_LIBS
="-framework DiskArbitration -framework CoreFoundation"
8040 if test "$ac_cv_header_Security_Security_h" = "yes"
8042 SECURITY_LIBS
="-framework Security -framework CoreFoundation"
8044 ac_save_LIBS
="$LIBS"
8045 LIBS
="$LIBS $SECURITY_LIBS"
8046 for ac_func
in SSLCopyPeerCertificates
8048 ac_fn_c_check_func
"$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
8049 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes
; then :
8050 cat >>confdefs.h
<<_ACEOF
8051 #define HAVE_SSLCOPYPEERCERTIFICATES 1
8057 LIBS
="$ac_save_LIBS"
8058 with_gnutls
=${with_gnutls:-no}
8060 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8062 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
8064 COREAUDIO_LIBS
="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
8067 COREAUDIO_LIBS
="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8070 ac_save_LIBS
="$LIBS"
8071 LIBS
="$LIBS $COREAUDIO_LIBS"
8072 for ac_func
in AUGraphAddNode
8074 ac_fn_c_check_func
"$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
8075 if test "x$ac_cv_func_AUGraphAddNode" = xyes
; then :
8076 cat >>confdefs.h
<<_ACEOF
8077 #define HAVE_AUGRAPHADDNODE 1
8083 LIBS
="$ac_save_LIBS"
8085 if test "$ac_cv_header_OpenAL_al_h" = "yes"
8087 OPENAL_LIBS
="-framework OpenAL"
8090 cat >>confdefs.h
<<_ACEOF
8091 #define HAVE_OPENAL 1
8094 ac_cv_lib_openal
=yes
8096 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
8098 OPENCL_LIBS
="-framework OpenCL"
8100 ac_cv_lib_OpenCL_clGetPlatformInfo
=yes
8102 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
8104 ac_save_LIBS
="$LIBS"
8105 LIBS
="$LIBS $IOKIT_LIBS"
8106 for ac_func
in IOHIDManagerCreate
8108 ac_fn_c_check_func
"$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
8109 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes
; then :
8110 cat >>confdefs.h
<<_ACEOF
8111 #define HAVE_IOHIDMANAGERCREATE 1
8117 LIBS
="$ac_save_LIBS"
8119 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
8121 ac_save_LIBS
="$LIBS"
8122 LIBS
="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
8123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
8124 $as_echo_n "checking for the QuickTime framework... " >&6; }
8125 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8126 /* end confdefs.h. */
8127 #include <QuickTime/ImageCompression.h>
8131 CodecManagerVersion(NULL);
8136 if ac_fn_c_try_link
"$LINENO"; then :
8137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8138 $as_echo "yes" >&6; }
8139 QUICKTIME_LIBS
="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
8141 enable_wineqtdecoder
=${enable_wineqtdecoder:-yes}
8143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8144 $as_echo "no" >&6; }
8145 ac_cv_header_QuickTime_ImageCompression_h
=no
8147 rm -f core conftest.err conftest.
$ac_objext \
8148 conftest
$ac_exeext conftest.
$ac_ext
8149 LIBS
="$ac_save_LIBS"
8151 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"
8153 as_fn_append wine_notices
"|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
8155 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8157 CARBON_LIBS
="-framework Carbon"
8161 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
8163 ac_save_LIBS
="$LIBS"
8164 LIBS
="$LIBS $APPLICATIONSERVICES_LIBS"
8165 ac_fn_c_check_func
"$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
8166 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes
; then :
8167 enable_winemac_drv
=${enable_winemac_drv:-yes}
8170 LIBS
="$ac_save_LIBS"
8173 if test "x$enable_win16" = "xyes"
8175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
8176 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
8177 if test "$cross_compiling" = yes; then :
8178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
8179 $as_echo "cross-compiling, assuming yes" >&6; }
8181 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8182 /* end confdefs.h. */
8185 "good:\tnop;nop\n\t"
8186 ".globl _testfunc\n"
8187 "_testfunc:\tcallw good");
8188 extern void testfunc();
8192 unsigned short *p = (unsigned short *)testfunc;
8193 return p[0] != 0xe866 || p[1] != 0xfffa
8198 if ac_fn_c_try_run
"$LINENO"; then :
8199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8200 $as_echo "yes" >&6; }
8202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8203 $as_echo "no" >&6; }
8204 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
8206 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
8207 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
8212 libwine_targets
="libwine.dylib libwine.$libwine_soversion.dylib libwine.$libwine_version.dylib"
8214 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
8218 libwine.$libwine_version.dylib: \$(OBJS)
8219 \$(CC) -dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
8221 libwine.$libwine_soversion.dylib: libwine.$libwine_version.dylib
8222 \$(RM) \$@ && \$(LN_S) libwine.$libwine_version.dylib \$@
8224 libwine.dylib: libwine.$libwine_soversion.dylib
8225 \$(RM) \$@ && \$(LN_S) libwine.$libwine_soversion.dylib \$@
8227 install install-lib:: libwine.$libwine_version.dylib
8228 \$(INSTALL_PROGRAM) libwine.$libwine_version.dylib \$(DESTDIR)\$(libdir)/libwine.$libwine_version.dylib
8229 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.$libwine_soversion.dylib && \$(LN_S) libwine.$libwine_version.dylib libwine.$libwine_soversion.dylib
8231 install install-dev::
8232 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib && \$(LN_S) libwine.$libwine_version.dylib libwine.dylib
8235 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib libwine.$libwine_soversion.dylib libwine.$libwine_version.dylib
8239 as_fn_append LOADER_RULES
"
8240 $wine_binary: main.o wine_info.plist
8241 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8243 wine-installed: main.o wine_info.plist
8244 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8249 DLLFLAGS
="$DLLFLAGS -fPIC"
8253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8254 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8255 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false
; then :
8256 $as_echo_n "(cached) " >&6
8258 ac_wine_try_cflags_saved
=$CFLAGS
8259 CFLAGS
="$CFLAGS -fPIC -Wl,--export-dynamic"
8260 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8261 /* end confdefs.h. */
8262 int main(int argc, char **argv) { return 0; }
8264 if ac_fn_c_try_link
"$LINENO"; then :
8265 ac_cv_cflags__fPIC__Wl___export_dynamic
=yes
8267 ac_cv_cflags__fPIC__Wl___export_dynamic
=no
8269 rm -f core conftest.err conftest.
$ac_objext \
8270 conftest
$ac_exeext conftest.
$ac_ext
8271 CFLAGS
=$ac_wine_try_cflags_saved
8273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8274 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8275 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes
; then :
8276 LDEXECFLAGS
="-Wl,--export-dynamic"
8278 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8280 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8281 if eval \
${$as_ac_var+:} false
; then :
8282 $as_echo_n "(cached) " >&6
8284 ac_wine_try_cflags_saved
=$CFLAGS
8285 CFLAGS
="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8286 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8287 /* end confdefs.h. */
8288 int main(int argc, char **argv) { return 0; }
8290 if ac_fn_c_try_link
"$LINENO"; then :
8291 eval "$as_ac_var=yes"
8293 eval "$as_ac_var=no"
8295 rm -f core conftest.err conftest.
$ac_objext \
8296 conftest
$ac_exeext conftest.
$ac_ext
8297 CFLAGS
=$ac_wine_try_cflags_saved
8299 eval ac_res
=\$
$as_ac_var
8300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8301 $as_echo "$ac_res" >&6; }
8302 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
8303 LDRPATH_INSTALL
="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8304 LDRPATH_LOCAL
="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8306 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8308 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8309 if eval \
${$as_ac_var+:} false
; then :
8310 $as_echo_n "(cached) " >&6
8312 ac_wine_try_cflags_saved
=$CFLAGS
8313 CFLAGS
="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8314 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8315 /* end confdefs.h. */
8316 int main(int argc, char **argv) { return 0; }
8318 if ac_fn_c_try_link
"$LINENO"; then :
8319 eval "$as_ac_var=yes"
8321 eval "$as_ac_var=no"
8323 rm -f core conftest.err conftest.
$ac_objext \
8324 conftest
$ac_exeext conftest.
$ac_ext
8325 CFLAGS
=$ac_wine_try_cflags_saved
8327 eval ac_res
=\$
$as_ac_var
8328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8329 $as_echo "$ac_res" >&6; }
8330 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
8331 LDRPATH_INSTALL
="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8332 LDRPATH_LOCAL
="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8337 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8338 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false
; then :
8339 $as_echo_n "(cached) " >&6
8341 ac_wine_try_cflags_saved
=$CFLAGS
8342 CFLAGS
="$CFLAGS -Wl,--enable-new-dtags"
8343 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8344 /* end confdefs.h. */
8345 int main(int argc, char **argv) { return 0; }
8347 if ac_fn_c_try_link
"$LINENO"; then :
8348 ac_cv_cflags__Wl___enable_new_dtags
=yes
8350 ac_cv_cflags__Wl___enable_new_dtags
=no
8352 rm -f core conftest.err conftest.
$ac_objext \
8353 conftest
$ac_exeext conftest.
$ac_ext
8354 CFLAGS
=$ac_wine_try_cflags_saved
8356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8357 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8358 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes
; then :
8359 LDRPATH_INSTALL
="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8363 *i
[3456789]86* | x86_64
)
8364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8365 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
8366 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false
; then :
8367 $as_echo_n "(cached) " >&6
8369 ac_wine_try_cflags_saved
=$CFLAGS
8370 CFLAGS
="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8371 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8372 /* end confdefs.h. */
8373 int main(int argc, char **argv) { return 0; }
8375 if ac_fn_c_try_link
"$LINENO"; then :
8376 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=yes
8378 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=no
8380 rm -f core conftest.err conftest.
$ac_objext \
8381 conftest
$ac_exeext conftest.
$ac_ext
8382 CFLAGS
=$ac_wine_try_cflags_saved
8384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8385 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8386 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" = xyes
; then :
8387 LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400"
8392 libwine_targets
="libwine.so"
8394 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
8398 libwine.so: \$(OBJS)
8399 \$(CC) -shared \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
8401 install install-lib:: libwine.so
8402 \$(INSTALL_PROGRAM) libwine.so \$(DESTDIR)\$(libdir)/libwine.so
8405 \$(RM) \$(DESTDIR)\$(libdir)/libwine.so
8409 as_fn_append LOADER_RULES
"
8410 $wine_binary: main.o
8411 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8413 wine-installed: main.o
8414 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8419 DLLFLAGS
="$DLLFLAGS -fPIC"
8421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
8422 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
8423 if ${ac_cv_c_dll_gnuelf+:} false
; then :
8424 $as_echo_n "(cached) " >&6
8426 ac_wine_try_cflags_saved
=$CFLAGS
8427 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8428 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8429 /* end confdefs.h. */
8432 if ac_fn_c_try_link
"$LINENO"; then :
8433 ac_cv_c_dll_gnuelf
="yes"
8435 ac_cv_c_dll_gnuelf
="no"
8437 rm -f core conftest.err conftest.
$ac_objext \
8438 conftest
$ac_exeext conftest.
$ac_ext
8439 CFLAGS
=$ac_wine_try_cflags_saved
8441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
8442 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
8443 if test "$ac_cv_c_dll_gnuelf" = "yes"
8445 LDSHARED
="\$(CC) -shared"
8446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8447 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
8448 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false
; then :
8449 $as_echo_n "(cached) " >&6
8451 ac_wine_try_cflags_saved
=$CFLAGS
8452 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8453 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8454 /* end confdefs.h. */
8455 int main(int argc, char **argv) { return 0; }
8457 if ac_fn_c_try_link
"$LINENO"; then :
8458 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1
=yes
8460 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1
=no
8462 rm -f core conftest.err conftest.
$ac_objext \
8463 conftest
$ac_exeext conftest.
$ac_ext
8464 CFLAGS
=$ac_wine_try_cflags_saved
8466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8467 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8468 if test "x$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" = xyes
; then :
8469 LDSHARED
="\$(CC) -shared -Wl,-soname,libwine.so.$libwine_soversion"
8471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8472 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
8473 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false
; then :
8474 $as_echo_n "(cached) " >&6
8476 ac_wine_try_cflags_saved
=$CFLAGS
8477 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8478 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8479 /* end confdefs.h. */
8480 int main(int argc, char **argv) { return 0; }
8482 if ac_fn_c_try_link
"$LINENO"; then :
8483 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1
=yes
8485 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1
=no
8487 rm -f core conftest.err conftest.
$ac_objext \
8488 conftest
$ac_exeext conftest.
$ac_ext
8489 CFLAGS
=$ac_wine_try_cflags_saved
8491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8492 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8493 if test "x$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" = xyes
; then :
8494 LDSHARED
="\$(CC) -shared -Wl,-h,libwine.so.$libwine_soversion"
8498 echo '{ global: *; };' >conftest.map
8499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8500 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
8501 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false
; then :
8502 $as_echo_n "(cached) " >&6
8504 ac_wine_try_cflags_saved
=$CFLAGS
8505 CFLAGS
="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8506 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8507 /* end confdefs.h. */
8508 int main(int argc, char **argv) { return 0; }
8510 if ac_fn_c_try_link
"$LINENO"; then :
8511 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map
=yes
8513 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map
=no
8515 rm -f core conftest.err conftest.
$ac_objext \
8516 conftest
$ac_exeext conftest.
$ac_ext
8517 CFLAGS
=$ac_wine_try_cflags_saved
8519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8520 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8521 if test "x$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" = xyes
; then :
8522 LDSHARED
="$LDSHARED -Wl,--version-script=\$(srcdir)/wine.map"
8526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8527 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8528 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false
; then :
8529 $as_echo_n "(cached) " >&6
8531 ac_wine_try_cflags_saved
=$CFLAGS
8532 CFLAGS
="$CFLAGS -fPIC -Wl,--export-dynamic"
8533 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8534 /* end confdefs.h. */
8535 int main(int argc, char **argv) { return 0; }
8537 if ac_fn_c_try_link
"$LINENO"; then :
8538 ac_cv_cflags__fPIC__Wl___export_dynamic
=yes
8540 ac_cv_cflags__fPIC__Wl___export_dynamic
=no
8542 rm -f core conftest.err conftest.
$ac_objext \
8543 conftest
$ac_exeext conftest.
$ac_ext
8544 CFLAGS
=$ac_wine_try_cflags_saved
8546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8547 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8548 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes
; then :
8549 LDEXECFLAGS
="-Wl,--export-dynamic"
8552 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8554 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8555 if eval \
${$as_ac_var+:} false
; then :
8556 $as_echo_n "(cached) " >&6
8558 ac_wine_try_cflags_saved
=$CFLAGS
8559 CFLAGS
="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8560 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8561 /* end confdefs.h. */
8562 int main(int argc, char **argv) { return 0; }
8564 if ac_fn_c_try_link
"$LINENO"; then :
8565 eval "$as_ac_var=yes"
8567 eval "$as_ac_var=no"
8569 rm -f core conftest.err conftest.
$ac_objext \
8570 conftest
$ac_exeext conftest.
$ac_ext
8571 CFLAGS
=$ac_wine_try_cflags_saved
8573 eval ac_res
=\$
$as_ac_var
8574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8575 $as_echo "$ac_res" >&6; }
8576 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
8577 LDRPATH_INSTALL
="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8578 LDRPATH_LOCAL
="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8580 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8582 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8583 if eval \
${$as_ac_var+:} false
; then :
8584 $as_echo_n "(cached) " >&6
8586 ac_wine_try_cflags_saved
=$CFLAGS
8587 CFLAGS
="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8588 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8589 /* end confdefs.h. */
8590 int main(int argc, char **argv) { return 0; }
8592 if ac_fn_c_try_link
"$LINENO"; then :
8593 eval "$as_ac_var=yes"
8595 eval "$as_ac_var=no"
8597 rm -f core conftest.err conftest.
$ac_objext \
8598 conftest
$ac_exeext conftest.
$ac_ext
8599 CFLAGS
=$ac_wine_try_cflags_saved
8601 eval ac_res
=\$
$as_ac_var
8602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8603 $as_echo "$ac_res" >&6; }
8604 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
8605 LDRPATH_INSTALL
="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8606 LDRPATH_LOCAL
="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8611 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8612 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false
; then :
8613 $as_echo_n "(cached) " >&6
8615 ac_wine_try_cflags_saved
=$CFLAGS
8616 CFLAGS
="$CFLAGS -Wl,--enable-new-dtags"
8617 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8618 /* end confdefs.h. */
8619 int main(int argc, char **argv) { return 0; }
8621 if ac_fn_c_try_link
"$LINENO"; then :
8622 ac_cv_cflags__Wl___enable_new_dtags
=yes
8624 ac_cv_cflags__Wl___enable_new_dtags
=no
8626 rm -f core conftest.err conftest.
$ac_objext \
8627 conftest
$ac_exeext conftest.
$ac_ext
8628 CFLAGS
=$ac_wine_try_cflags_saved
8630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8631 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8632 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes
; then :
8633 LDRPATH_INSTALL
="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8637 *i
[3456789]86* | x86_64
)
8638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8639 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
8640 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false
; then :
8641 $as_echo_n "(cached) " >&6
8643 ac_wine_try_cflags_saved
=$CFLAGS
8644 CFLAGS
="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8645 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8646 /* end confdefs.h. */
8647 int main(int argc, char **argv) { return 0; }
8649 if ac_fn_c_try_link
"$LINENO"; then :
8650 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=yes
8652 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=no
8654 rm -f core conftest.err conftest.
$ac_objext \
8655 conftest
$ac_exeext conftest.
$ac_ext
8656 CFLAGS
=$ac_wine_try_cflags_saved
8658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8659 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8660 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" = xyes
; then :
8662 freebsd
* | kfreebsd
*-gnu) LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x60000400" ;;
8663 *) LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400" ;;
8667 # Extract the first word of "prelink", so it can be a program name with args.
8668 set dummy prelink
; ac_word
=$2
8669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8670 $as_echo_n "checking for $ac_word... " >&6; }
8671 if ${ac_cv_path_PRELINK+:} false
; then :
8672 $as_echo_n "(cached) " >&6
8676 ac_cv_path_PRELINK
="$PRELINK" # Let the user override the test with a path.
8679 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8680 for as_dir
in /sbin
/usr
/sbin
$PATH
8683 test -z "$as_dir" && as_dir
=.
8684 for ac_exec_ext
in '' $ac_executable_extensions; do
8685 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8686 ac_cv_path_PRELINK
="$as_dir/$ac_word$ac_exec_ext"
8687 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8694 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK
="false"
8698 PRELINK
=$ac_cv_path_PRELINK
8699 if test -n "$PRELINK"; then
8700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
8701 $as_echo "$PRELINK" >&6; }
8703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8704 $as_echo "no" >&6; }
8708 if test "x$PRELINK" = xfalse
8710 as_fn_append wine_warnings
"|prelink not found, base address of core dlls won't be set correctly."
8716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
8717 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
8718 if ${ac_cv_c_dll_unixware+:} false
; then :
8719 $as_echo_n "(cached) " >&6
8721 ac_wine_try_cflags_saved
=$CFLAGS
8722 CFLAGS
="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
8723 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8724 /* end confdefs.h. */
8727 if ac_fn_c_try_link
"$LINENO"; then :
8728 ac_cv_c_dll_unixware
="yes"
8730 ac_cv_c_dll_unixware
="no"
8732 rm -f core conftest.err conftest.
$ac_objext \
8733 conftest
$ac_exeext conftest.
$ac_ext
8734 CFLAGS
=$ac_wine_try_cflags_saved
8736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
8737 $as_echo "$ac_cv_c_dll_unixware" >&6; }
8738 if test "$ac_cv_c_dll_unixware" = "yes"
8740 LDSHARED
="\$(CC) -Wl,-G,-h,libwine.so.$libwine_soversion"
8743 libwine_targets
="libwine.so libwine.so.$libwine_soversion libwine.so.$libwine_version"
8745 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
8749 libwine.so.$libwine_version: \$(OBJS) \$(srcdir)/wine.map
8750 $LDSHARED \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
8752 libwine.so.$libwine_soversion: libwine.so.$libwine_version
8753 \$(RM) \$@ && \$(LN_S) libwine.so.$libwine_version \$@
8755 libwine.so: libwine.so.$libwine_soversion
8756 \$(RM) \$@ && \$(LN_S) libwine.so.$libwine_soversion \$@
8758 install install-lib:: libwine.so.$libwine_version
8759 \$(INSTALL_PROGRAM) libwine.so.$libwine_version \$(DESTDIR)\$(libdir)/libwine.so.$libwine_version
8760 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so.$libwine_soversion && \$(LN_S) libwine.so.$libwine_version libwine.so.$libwine_soversion
8762 install install-dev::
8763 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so && \$(LN_S) libwine.so.$libwine_version libwine.so
8766 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so libwine.so.$libwine_soversion libwine.so.$libwine_version
8770 as_fn_append LOADER_RULES
"
8771 $wine_binary: main.o
8772 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8774 wine-installed: main.o
8775 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8780 as_fn_append LIBWINE_RULES
"
8781 EXTRA_TARGETS = $libwine_targets
8784 enable_wineqtdecoder
=${enable_wineqtdecoder:-no}
8785 enable_winemac_drv
=${enable_winemac_drv:-no}
8789 if test "$cross_compiling" = "no" -a "x$enable_tests" != xno
-a "$LIBEXT" != "dll"
8793 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
8796 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 " ;;
8798 ac_prefix_list
="" ;;
8800 for ac_prog
in $ac_prefix_list
8802 # Extract the first word of "$ac_prog", so it can be a program name with args.
8803 set dummy
$ac_prog; ac_word
=$2
8804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8805 $as_echo_n "checking for $ac_word... " >&6; }
8806 if ${ac_cv_prog_CROSSCC+:} false
; then :
8807 $as_echo_n "(cached) " >&6
8809 if test -n "$CROSSCC"; then
8810 ac_cv_prog_CROSSCC
="$CROSSCC" # Let the user override the test.
8812 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8816 test -z "$as_dir" && as_dir
=.
8817 for ac_exec_ext
in '' $ac_executable_extensions; do
8818 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8819 ac_cv_prog_CROSSCC
="$ac_prog"
8820 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8829 CROSSCC
=$ac_cv_prog_CROSSCC
8830 if test -n "$CROSSCC"; then
8831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
8832 $as_echo "$CROSSCC" >&6; }
8834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8835 $as_echo "no" >&6; }
8839 test -n "$CROSSCC" && break
8841 test -n "$CROSSCC" || CROSSCC
="false"
8843 if test "$CROSSCC" != "false"
8847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
8848 $as_echo_n "checking whether $CROSSCC works... " >&6; }
8849 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8850 /* end confdefs.h. */
8860 if ac_fn_c_try_compile
"$LINENO"; then :
8861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8862 $as_echo "yes" >&6; }
8868 *-gcc) CROSSTARGET
=`expr "$1" : '\(.*\)-gcc'` ;;
8873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8874 $as_echo "no" >&6; }
8876 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8882 if test "$ac_cv_header_pthread_h" = "yes"
8884 ac_fn_c_check_func
"$LINENO" "pthread_create" "ac_cv_func_pthread_create"
8885 if test "x$ac_cv_func_pthread_create" = xyes
; then :
8888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
8889 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
8890 if ${ac_cv_lib_pthread_pthread_create+:} false
; then :
8891 $as_echo_n "(cached) " >&6
8893 ac_check_lib_save_LIBS
=$LIBS
8894 LIBS
="-lpthread $LIBS"
8895 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8896 /* end confdefs.h. */
8898 /* Override any GCC internal prototype to avoid an error.
8899 Use char because int might match the return type of a GCC
8900 builtin and then its argument prototype would still apply. */
8904 char pthread_create ();
8908 return pthread_create ();
8913 if ac_fn_c_try_link
"$LINENO"; then :
8914 ac_cv_lib_pthread_pthread_create
=yes
8916 ac_cv_lib_pthread_pthread_create
=no
8918 rm -f core conftest.err conftest.
$ac_objext \
8919 conftest
$ac_exeext conftest.
$ac_ext
8920 LIBS
=$ac_check_lib_save_LIBS
8922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
8923 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
8924 if test "x$ac_cv_lib_pthread_pthread_create" = xyes
; then :
8925 PTHREAD_LIBS
="-lpthread"
8932 if test "x$ac_cv_func_pthread_create" != xyes
-a "x$PTHREAD_LIBS" = x
; then :
8933 case "x$with_pthread" in
8935 *) as_fn_error $?
"pthread ${notice_platform}development files not found.
8936 Wine cannot support threads without libpthread.
8937 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
8942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
8943 $as_echo_n "checking for X... " >&6; }
8946 # Check whether --with-x was given.
8947 if test "${with_x+set}" = set; then :
8951 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
8952 if test "x$with_x" = xno
; then
8953 # The user explicitly disabled X.
8956 case $x_includes,$x_libraries in #(
8957 *\'*) as_fn_error $?
"cannot use X directory names containing '" "$LINENO" 5;; #(
8958 *,NONE | NONE
,*) if ${ac_cv_have_x+:} false
; then :
8959 $as_echo_n "(cached) " >&6
8961 # One or both of the vars are not set, and there is no cached value.
8962 ac_x_includes
=no ac_x_libraries
=no
8963 rm -f -r conftest.dir
8964 if mkdir conftest.dir
; then
8966 cat >Imakefile
<<'_ACEOF'
8968 @echo incroot='${INCROOT}'
8970 @echo usrlibdir='${USRLIBDIR}'
8972 @echo libdir='${LIBDIR}'
8974 if (export CC
; ${XMKMF-xmkmf}) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
8975 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
8976 for ac_var
in incroot usrlibdir libdir
; do
8977 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
8979 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
8980 for ac_extension
in a so sl dylib la dll
; do
8981 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
8982 test -f "$ac_im_libdir/libX11.$ac_extension"; then
8983 ac_im_usrlibdir
=$ac_im_libdir; break
8986 # Screen out bogus values from the imake configuration. They are
8987 # bogus both because they are the default anyway, and because
8988 # using them would break gcc on systems where it needs fixed includes.
8989 case $ac_im_incroot in
8990 /usr
/include
) ac_x_includes
= ;;
8991 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
8993 case $ac_im_usrlibdir in
8994 /usr
/lib |
/usr
/lib64 |
/lib |
/lib64
) ;;
8995 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
8999 rm -f -r conftest.dir
9002 # Standard set of common directories for X headers.
9003 # Check X11 before X11Rn because it is often a symlink to the current release.
9017 /usr/local/X11/include
9018 /usr/local/X11R7/include
9019 /usr/local/X11R6/include
9020 /usr/local/X11R5/include
9021 /usr/local/X11R4/include
9023 /usr/local/include/X11
9024 /usr/local/include/X11R7
9025 /usr/local/include/X11R6
9026 /usr/local/include/X11R5
9027 /usr/local/include/X11R4
9031 /usr/XFree86/include/X11
9035 /usr/unsupported/include
9037 /usr/local/x11r5/include
9038 /usr/lpp/Xamples/include
9040 /usr/openwin/include
9041 /usr/openwin/share/include'
9043 if test "$ac_x_includes" = no
; then
9044 # Guess where to find include files, by looking for Xlib.h.
9045 # First, try using that file with no special directory specified.
9046 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9047 /* end confdefs.h. */
9048 #include <X11/Xlib.h>
9050 if ac_fn_c_try_cpp
"$LINENO"; then :
9051 # We can compile using X headers with no special include directory.
9054 for ac_dir
in $ac_x_header_dirs; do
9055 if test -r "$ac_dir/X11/Xlib.h"; then
9056 ac_x_includes
=$ac_dir
9061 rm -f conftest.err conftest.i conftest.
$ac_ext
9062 fi # $ac_x_includes = no
9064 if test "$ac_x_libraries" = no
; then
9065 # Check for the libraries.
9066 # See if we find them without any special options.
9067 # Don't add to $LIBS permanently.
9070 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9071 /* end confdefs.h. */
9072 #include <X11/Xlib.h>
9081 if ac_fn_c_try_link
"$LINENO"; then :
9083 # We can link X programs with no special library path.
9087 for ac_dir
in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
9089 # Don't even attempt the hair of trying to link an X program!
9090 for ac_extension
in a so sl dylib la dll
; do
9091 if test -r "$ac_dir/libX11.$ac_extension"; then
9092 ac_x_libraries
=$ac_dir
9098 rm -f core conftest.err conftest.
$ac_objext \
9099 conftest
$ac_exeext conftest.
$ac_ext
9100 fi # $ac_x_libraries = no
9102 case $ac_x_includes,$ac_x_libraries in #(
9104 # Didn't find X, or a directory has "'" in its name.
9105 ac_cv_have_x
="have_x=no";; #(
9107 # Record where we found X for the cache.
9108 ac_cv_have_x
="have_x=yes\
9109 ac_x_includes='$ac_x_includes'\
9110 ac_x_libraries='$ac_x_libraries'"
9116 eval "$ac_cv_have_x"
9119 if test "$have_x" != yes; then
9120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
9121 $as_echo "$have_x" >&6; }
9124 # If each of the values was on the command line, it overrides each guess.
9125 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
9126 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
9127 # Update the cache value to reflect the command line values.
9128 ac_cv_have_x
="have_x=yes\
9129 ac_x_includes='$x_includes'\
9130 ac_x_libraries='$x_libraries'"
9131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
9132 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
9135 if test "$no_x" = yes; then
9136 # Not all programs may use this symbol, but it does not hurt to define it.
9138 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
9140 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
9142 if test -n "$x_includes"; then
9143 X_CFLAGS
="$X_CFLAGS -I$x_includes"
9146 # It would also be nice to do this for all -L options, not just this one.
9147 if test -n "$x_libraries"; then
9148 X_LIBS
="$X_LIBS -L$x_libraries"
9149 # For Solaris; some versions of Sun CC require a space after -R and
9150 # others require no space. Words are not sufficient . . . .
9151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
9152 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
9153 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
9154 ac_xsave_c_werror_flag
=$ac_c_werror_flag
9155 ac_c_werror_flag
=yes
9156 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9157 /* end confdefs.h. */
9167 if ac_fn_c_try_link
"$LINENO"; then :
9168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9169 $as_echo "no" >&6; }
9170 X_LIBS
="$X_LIBS -R$x_libraries"
9172 LIBS
="$ac_xsave_LIBS -R $x_libraries"
9173 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9174 /* end confdefs.h. */
9184 if ac_fn_c_try_link
"$LINENO"; then :
9185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9186 $as_echo "yes" >&6; }
9187 X_LIBS
="$X_LIBS -R $x_libraries"
9189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
9190 $as_echo "neither works" >&6; }
9192 rm -f core conftest.err conftest.
$ac_objext \
9193 conftest
$ac_exeext conftest.
$ac_ext
9195 rm -f core conftest.err conftest.
$ac_objext \
9196 conftest
$ac_exeext conftest.
$ac_ext
9197 ac_c_werror_flag
=$ac_xsave_c_werror_flag
9201 # Check for system-dependent libraries X programs must link with.
9202 # Do this before checking for the system-independent R6 libraries
9203 # (-lICE), since we may need -lsocket or whatever for X linking.
9205 if test "$ISC" = yes; then
9206 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
9208 # Martyn Johnson says this is needed for Ultrix, if the X
9209 # libraries were built with DECnet support. And Karl Berry says
9210 # the Alpha needs dnet_stub (dnet does not exist).
9211 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
9212 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9213 /* end confdefs.h. */
9215 /* Override any GCC internal prototype to avoid an error.
9216 Use char because int might match the return type of a GCC
9217 builtin and then its argument prototype would still apply. */
9221 char XOpenDisplay ();
9225 return XOpenDisplay ();
9230 if ac_fn_c_try_link
"$LINENO"; then :
9233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
9234 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
9235 if ${ac_cv_lib_dnet_dnet_ntoa+:} false
; then :
9236 $as_echo_n "(cached) " >&6
9238 ac_check_lib_save_LIBS
=$LIBS
9240 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9241 /* end confdefs.h. */
9243 /* Override any GCC internal prototype to avoid an error.
9244 Use char because int might match the return type of a GCC
9245 builtin and then its argument prototype would still apply. */
9253 return dnet_ntoa ();
9258 if ac_fn_c_try_link
"$LINENO"; then :
9259 ac_cv_lib_dnet_dnet_ntoa
=yes
9261 ac_cv_lib_dnet_dnet_ntoa
=no
9263 rm -f core conftest.err conftest.
$ac_objext \
9264 conftest
$ac_exeext conftest.
$ac_ext
9265 LIBS
=$ac_check_lib_save_LIBS
9267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
9268 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
9269 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes
; then :
9270 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
9273 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
9274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
9275 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
9276 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false
; then :
9277 $as_echo_n "(cached) " >&6
9279 ac_check_lib_save_LIBS
=$LIBS
9280 LIBS
="-ldnet_stub $LIBS"
9281 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9282 /* end confdefs.h. */
9284 /* Override any GCC internal prototype to avoid an error.
9285 Use char because int might match the return type of a GCC
9286 builtin and then its argument prototype would still apply. */
9294 return dnet_ntoa ();
9299 if ac_fn_c_try_link
"$LINENO"; then :
9300 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
9302 ac_cv_lib_dnet_stub_dnet_ntoa
=no
9304 rm -f core conftest.err conftest.
$ac_objext \
9305 conftest
$ac_exeext conftest.
$ac_ext
9306 LIBS
=$ac_check_lib_save_LIBS
9308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
9309 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
9310 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes
; then :
9311 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
9316 rm -f core conftest.err conftest.
$ac_objext \
9317 conftest
$ac_exeext conftest.
$ac_ext
9318 LIBS
="$ac_xsave_LIBS"
9320 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
9321 # to get the SysV transport functions.
9322 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
9324 # The nsl library prevents programs from opening the X display
9325 # on Irix 5.2, according to T.E. Dickey.
9326 # The functions gethostbyname, getservbyname, and inet_addr are
9327 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
9328 ac_fn_c_check_func
"$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
9329 if test "x$ac_cv_func_gethostbyname" = xyes
; then :
9333 if test $ac_cv_func_gethostbyname = no
; then
9334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
9335 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
9336 if ${ac_cv_lib_nsl_gethostbyname+:} false
; then :
9337 $as_echo_n "(cached) " >&6
9339 ac_check_lib_save_LIBS
=$LIBS
9341 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9342 /* end confdefs.h. */
9344 /* Override any GCC internal prototype to avoid an error.
9345 Use char because int might match the return type of a GCC
9346 builtin and then its argument prototype would still apply. */
9350 char gethostbyname ();
9354 return gethostbyname ();
9359 if ac_fn_c_try_link
"$LINENO"; then :
9360 ac_cv_lib_nsl_gethostbyname
=yes
9362 ac_cv_lib_nsl_gethostbyname
=no
9364 rm -f core conftest.err conftest.
$ac_objext \
9365 conftest
$ac_exeext conftest.
$ac_ext
9366 LIBS
=$ac_check_lib_save_LIBS
9368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
9369 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
9370 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes
; then :
9371 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
9374 if test $ac_cv_lib_nsl_gethostbyname = no
; then
9375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
9376 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
9377 if ${ac_cv_lib_bsd_gethostbyname+:} false
; then :
9378 $as_echo_n "(cached) " >&6
9380 ac_check_lib_save_LIBS
=$LIBS
9382 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9383 /* end confdefs.h. */
9385 /* Override any GCC internal prototype to avoid an error.
9386 Use char because int might match the return type of a GCC
9387 builtin and then its argument prototype would still apply. */
9391 char gethostbyname ();
9395 return gethostbyname ();
9400 if ac_fn_c_try_link
"$LINENO"; then :
9401 ac_cv_lib_bsd_gethostbyname
=yes
9403 ac_cv_lib_bsd_gethostbyname
=no
9405 rm -f core conftest.err conftest.
$ac_objext \
9406 conftest
$ac_exeext conftest.
$ac_ext
9407 LIBS
=$ac_check_lib_save_LIBS
9409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
9410 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
9411 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes
; then :
9412 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
9418 # lieder@skyler.mavd.honeywell.com says without -lsocket,
9419 # socket/setsockopt and other routines are undefined under SCO ODT
9420 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
9421 # on later versions), says Simon Leinen: it contains gethostby*
9422 # variants that don't use the name server (or something). -lsocket
9423 # must be given before -lnsl if both are needed. We assume that
9424 # if connect needs -lnsl, so does gethostbyname.
9425 ac_fn_c_check_func
"$LINENO" "connect" "ac_cv_func_connect"
9426 if test "x$ac_cv_func_connect" = xyes
; then :
9430 if test $ac_cv_func_connect = no
; then
9431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
9432 $as_echo_n "checking for connect in -lsocket... " >&6; }
9433 if ${ac_cv_lib_socket_connect+:} false
; then :
9434 $as_echo_n "(cached) " >&6
9436 ac_check_lib_save_LIBS
=$LIBS
9437 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
9438 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9439 /* end confdefs.h. */
9441 /* Override any GCC internal prototype to avoid an error.
9442 Use char because int might match the return type of a GCC
9443 builtin and then its argument prototype would still apply. */
9456 if ac_fn_c_try_link
"$LINENO"; then :
9457 ac_cv_lib_socket_connect
=yes
9459 ac_cv_lib_socket_connect
=no
9461 rm -f core conftest.err conftest.
$ac_objext \
9462 conftest
$ac_exeext conftest.
$ac_ext
9463 LIBS
=$ac_check_lib_save_LIBS
9465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
9466 $as_echo "$ac_cv_lib_socket_connect" >&6; }
9467 if test "x$ac_cv_lib_socket_connect" = xyes
; then :
9468 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
9473 # Guillermo Gomez says -lposix is necessary on A/UX.
9474 ac_fn_c_check_func
"$LINENO" "remove" "ac_cv_func_remove"
9475 if test "x$ac_cv_func_remove" = xyes
; then :
9479 if test $ac_cv_func_remove = no
; then
9480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
9481 $as_echo_n "checking for remove in -lposix... " >&6; }
9482 if ${ac_cv_lib_posix_remove+:} false
; then :
9483 $as_echo_n "(cached) " >&6
9485 ac_check_lib_save_LIBS
=$LIBS
9486 LIBS
="-lposix $LIBS"
9487 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9488 /* end confdefs.h. */
9490 /* Override any GCC internal prototype to avoid an error.
9491 Use char because int might match the return type of a GCC
9492 builtin and then its argument prototype would still apply. */
9505 if ac_fn_c_try_link
"$LINENO"; then :
9506 ac_cv_lib_posix_remove
=yes
9508 ac_cv_lib_posix_remove
=no
9510 rm -f core conftest.err conftest.
$ac_objext \
9511 conftest
$ac_exeext conftest.
$ac_ext
9512 LIBS
=$ac_check_lib_save_LIBS
9514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
9515 $as_echo "$ac_cv_lib_posix_remove" >&6; }
9516 if test "x$ac_cv_lib_posix_remove" = xyes
; then :
9517 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
9522 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
9523 ac_fn_c_check_func
"$LINENO" "shmat" "ac_cv_func_shmat"
9524 if test "x$ac_cv_func_shmat" = xyes
; then :
9528 if test $ac_cv_func_shmat = no
; then
9529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
9530 $as_echo_n "checking for shmat in -lipc... " >&6; }
9531 if ${ac_cv_lib_ipc_shmat+:} false
; then :
9532 $as_echo_n "(cached) " >&6
9534 ac_check_lib_save_LIBS
=$LIBS
9536 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9537 /* end confdefs.h. */
9539 /* Override any GCC internal prototype to avoid an error.
9540 Use char because int might match the return type of a GCC
9541 builtin and then its argument prototype would still apply. */
9554 if ac_fn_c_try_link
"$LINENO"; then :
9555 ac_cv_lib_ipc_shmat
=yes
9557 ac_cv_lib_ipc_shmat
=no
9559 rm -f core conftest.err conftest.
$ac_objext \
9560 conftest
$ac_exeext conftest.
$ac_ext
9561 LIBS
=$ac_check_lib_save_LIBS
9563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
9564 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
9565 if test "x$ac_cv_lib_ipc_shmat" = xyes
; then :
9566 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
9572 # Check for libraries that X11R6 Xt/Xaw programs need.
9573 ac_save_LDFLAGS
=$LDFLAGS
9574 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
9575 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
9576 # check for ICE first), but we must link in the order -lSM -lICE or
9577 # we get undefined symbols. So assume we have SM if we have ICE.
9578 # These have to be linked with before -lX11, unlike the other
9579 # libraries we check for below, so use a different variable.
9580 # John Interrante, Karl Berry
9581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
9582 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
9583 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false
; then :
9584 $as_echo_n "(cached) " >&6
9586 ac_check_lib_save_LIBS
=$LIBS
9587 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
9588 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9589 /* end confdefs.h. */
9591 /* Override any GCC internal prototype to avoid an error.
9592 Use char because int might match the return type of a GCC
9593 builtin and then its argument prototype would still apply. */
9597 char IceConnectionNumber ();
9601 return IceConnectionNumber ();
9606 if ac_fn_c_try_link
"$LINENO"; then :
9607 ac_cv_lib_ICE_IceConnectionNumber
=yes
9609 ac_cv_lib_ICE_IceConnectionNumber
=no
9611 rm -f core conftest.err conftest.
$ac_objext \
9612 conftest
$ac_exeext conftest.
$ac_ext
9613 LIBS
=$ac_check_lib_save_LIBS
9615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
9616 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
9617 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes
; then :
9618 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
9621 LDFLAGS
=$ac_save_LDFLAGS
9626 if test "$have_x" = "yes"
9628 ac_save_CPPFLAGS
="$CPPFLAGS"
9629 CPPFLAGS
="$CPPFLAGS $X_CFLAGS"
9631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
9632 $as_echo_n "checking for -lX11... " >&6; }
9633 if ${ac_cv_lib_soname_X11+:} false
; then :
9634 $as_echo_n "(cached) " >&6
9636 ac_check_soname_save_LIBS
=$LIBS
9637 LIBS
="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9638 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9639 /* end confdefs.h. */
9641 /* Override any GCC internal prototype to avoid an error.
9642 Use char because int might match the return type of a GCC
9643 builtin and then its argument prototype would still apply. */
9647 char XCreateWindow ();
9651 return XCreateWindow ();
9656 if ac_fn_c_try_link
"$LINENO"; then :
9658 dll
) ac_cv_lib_soname_X11
=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9659 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'` ;;
9660 *) ac_cv_lib_soname_X11
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9661 if ${ac_cv_lib_soname_X11:+false} :; then :
9662 ac_cv_lib_soname_X11
=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9666 rm -f core conftest.err conftest.
$ac_objext \
9667 conftest
$ac_exeext conftest.
$ac_ext
9668 LIBS
=$ac_check_soname_save_LIBS
9670 if ${ac_cv_lib_soname_X11:+false} :; then :
9671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9672 $as_echo "not found" >&6; }
9675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
9676 $as_echo "$ac_cv_lib_soname_X11" >&6; }
9678 cat >>confdefs.h
<<_ACEOF
9679 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
9685 $as_echo_n "checking for -lXext... " >&6; }
9686 if ${ac_cv_lib_soname_Xext+:} false
; then :
9687 $as_echo_n "(cached) " >&6
9689 ac_check_soname_save_LIBS
=$LIBS
9690 LIBS
="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9691 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9692 /* end confdefs.h. */
9694 /* Override any GCC internal prototype to avoid an error.
9695 Use char because int might match the return type of a GCC
9696 builtin and then its argument prototype would still apply. */
9700 char XextCreateExtension ();
9704 return XextCreateExtension ();
9709 if ac_fn_c_try_link
"$LINENO"; then :
9711 dll
) ac_cv_lib_soname_Xext
=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9712 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'` ;;
9713 *) ac_cv_lib_soname_Xext
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9714 if ${ac_cv_lib_soname_Xext:+false} :; then :
9715 ac_cv_lib_soname_Xext
=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9719 rm -f core conftest.err conftest.
$ac_objext \
9720 conftest
$ac_exeext conftest.
$ac_ext
9721 LIBS
=$ac_check_soname_save_LIBS
9723 if ${ac_cv_lib_soname_Xext:+false} :; then :
9724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9725 $as_echo "not found" >&6; }
9728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
9729 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
9731 cat >>confdefs.h
<<_ACEOF
9732 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9735 X_LIBS
="$X_LIBS -lXext"
9737 X_LIBS
="$X_LIBS -lX11"
9739 for ac_header
in X11
/Xlib.h \
9742 X11
/Xcursor
/Xcursor.h \
9743 X11
/extensions
/shape.h \
9744 X11
/extensions
/XInput.h \
9745 X11
/extensions
/XInput2.h \
9746 X11
/extensions
/XShm.h \
9747 X11
/extensions
/Xcomposite.h \
9748 X11
/extensions
/Xinerama.h \
9749 X11
/extensions
/Xrandr.h \
9750 X11
/extensions
/Xrender.h \
9751 X11
/extensions
/xf86vmode.h \
9752 X11
/extensions
/xf86vmproto.h
9754 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9755 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
9756 # include <X11/Xlib.h>
9758 #ifdef HAVE_X11_XUTIL_H
9759 # include <X11/Xutil.h>
9762 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
9763 cat >>confdefs.h
<<_ACEOF
9764 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9772 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
9775 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
9776 if ${ac_cv_lib_X11_XkbQueryExtension+:} false
; then :
9777 $as_echo_n "(cached) " >&6
9779 ac_check_lib_save_LIBS
=$LIBS
9780 LIBS
="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9781 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9782 /* end confdefs.h. */
9784 /* Override any GCC internal prototype to avoid an error.
9785 Use char because int might match the return type of a GCC
9786 builtin and then its argument prototype would still apply. */
9790 char XkbQueryExtension ();
9794 return XkbQueryExtension ();
9799 if ac_fn_c_try_link
"$LINENO"; then :
9800 ac_cv_lib_X11_XkbQueryExtension
=yes
9802 ac_cv_lib_X11_XkbQueryExtension
=no
9804 rm -f core conftest.err conftest.
$ac_objext \
9805 conftest
$ac_exeext conftest.
$ac_ext
9806 LIBS
=$ac_check_lib_save_LIBS
9808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9809 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9810 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes
; then :
9812 $as_echo "#define HAVE_XKB 1" >>confdefs.h
9818 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
9821 $as_echo_n "checking for -lXcursor... " >&6; }
9822 if ${ac_cv_lib_soname_Xcursor+:} false
; then :
9823 $as_echo_n "(cached) " >&6
9825 ac_check_soname_save_LIBS
=$LIBS
9826 LIBS
="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
9827 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9828 /* end confdefs.h. */
9830 /* Override any GCC internal prototype to avoid an error.
9831 Use char because int might match the return type of a GCC
9832 builtin and then its argument prototype would still apply. */
9836 char XcursorImageLoadCursor ();
9840 return XcursorImageLoadCursor ();
9845 if ac_fn_c_try_link
"$LINENO"; then :
9847 dll
) ac_cv_lib_soname_Xcursor
=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9848 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'` ;;
9849 *) ac_cv_lib_soname_Xcursor
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9850 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9851 ac_cv_lib_soname_Xcursor
=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9855 rm -f core conftest.err conftest.
$ac_objext \
9856 conftest
$ac_exeext conftest.
$ac_ext
9857 LIBS
=$ac_check_soname_save_LIBS
9859 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9861 $as_echo "not found" >&6; }
9864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
9865 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
9867 cat >>confdefs.h
<<_ACEOF
9868 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9874 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
9875 case "x$with_xcursor" in
9876 x
) as_fn_append wine_notices
"|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
9878 *) as_fn_error $?
"libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
9879 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
9883 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
9886 $as_echo_n "checking for -lXi... " >&6; }
9887 if ${ac_cv_lib_soname_Xi+:} false
; then :
9888 $as_echo_n "(cached) " >&6
9890 ac_check_soname_save_LIBS
=$LIBS
9891 LIBS
="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
9892 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9893 /* end confdefs.h. */
9895 /* Override any GCC internal prototype to avoid an error.
9896 Use char because int might match the return type of a GCC
9897 builtin and then its argument prototype would still apply. */
9901 char XOpenDevice ();
9905 return XOpenDevice ();
9910 if ac_fn_c_try_link
"$LINENO"; then :
9912 dll
) ac_cv_lib_soname_Xi
=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9913 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'` ;;
9914 *) ac_cv_lib_soname_Xi
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9915 if ${ac_cv_lib_soname_Xi:+false} :; then :
9916 ac_cv_lib_soname_Xi
=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9920 rm -f core conftest.err conftest.
$ac_objext \
9921 conftest
$ac_exeext conftest.
$ac_ext
9922 LIBS
=$ac_check_soname_save_LIBS
9924 if ${ac_cv_lib_soname_Xi:+false} :; then :
9925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9926 $as_echo "not found" >&6; }
9929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
9930 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
9932 cat >>confdefs.h
<<_ACEOF
9933 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
9939 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
9940 case "x$with_xinput" in
9941 x
) as_fn_append wine_notices
"|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
9943 *) as_fn_error $?
"libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
9944 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
9948 if test "x$ac_cv_lib_soname_Xi" != x
9950 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
9951 case "x$with_xinput2" in
9952 x
) as_fn_append wine_notices
"|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
9954 *) as_fn_error $?
"XInput2 headers not found, the XInput 2 extension won't be supported.
9955 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
9960 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
9962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
9963 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
9964 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false
; then :
9965 $as_echo_n "(cached) " >&6
9967 ac_check_lib_save_LIBS
=$LIBS
9968 LIBS
="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
9969 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9970 /* end confdefs.h. */
9972 /* Override any GCC internal prototype to avoid an error.
9973 Use char because int might match the return type of a GCC
9974 builtin and then its argument prototype would still apply. */
9978 char XShmQueryExtension ();
9982 return XShmQueryExtension ();
9987 if ac_fn_c_try_link
"$LINENO"; then :
9988 ac_cv_lib_Xext_XShmQueryExtension
=yes
9990 ac_cv_lib_Xext_XShmQueryExtension
=no
9992 rm -f core conftest.err conftest.
$ac_objext \
9993 conftest
$ac_exeext conftest.
$ac_ext
9994 LIBS
=$ac_check_lib_save_LIBS
9996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
9997 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
9998 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes
; then :
10000 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
10005 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
10006 case "x$with_xshm" in
10007 x
) as_fn_append wine_notices
"|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
10009 *) as_fn_error $?
"XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
10010 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
10014 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
10016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
10017 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
10018 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false
; then :
10019 $as_echo_n "(cached) " >&6
10021 ac_check_lib_save_LIBS
=$LIBS
10022 LIBS
="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
10023 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10024 /* end confdefs.h. */
10026 /* Override any GCC internal prototype to avoid an error.
10027 Use char because int might match the return type of a GCC
10028 builtin and then its argument prototype would still apply. */
10032 char XShapeQueryExtension ();
10036 return XShapeQueryExtension ();
10041 if ac_fn_c_try_link
"$LINENO"; then :
10042 ac_cv_lib_Xext_XShapeQueryExtension
=yes
10044 ac_cv_lib_Xext_XShapeQueryExtension
=no
10046 rm -f core conftest.err conftest.
$ac_objext \
10047 conftest
$ac_exeext conftest.
$ac_ext
10048 LIBS
=$ac_check_lib_save_LIBS
10050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
10051 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
10052 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes
; then :
10054 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
10059 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
10060 case "x$with_xshape" in
10061 x
) as_fn_append wine_notices
"|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
10063 *) as_fn_error $?
"XShape ${notice_platform}development files not found, XShape won't be supported.
10064 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
10068 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
10070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
10071 $as_echo_n "checking for -lXxf86vm... " >&6; }
10072 if ${ac_cv_lib_soname_Xxf86vm+:} false
; then :
10073 $as_echo_n "(cached) " >&6
10075 ac_check_soname_save_LIBS
=$LIBS
10076 LIBS
="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
10077 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10078 /* end confdefs.h. */
10080 /* Override any GCC internal prototype to avoid an error.
10081 Use char because int might match the return type of a GCC
10082 builtin and then its argument prototype would still apply. */
10086 char XF86VidModeQueryExtension ();
10090 return XF86VidModeQueryExtension ();
10095 if ac_fn_c_try_link
"$LINENO"; then :
10097 dll
) ac_cv_lib_soname_Xxf86vm
=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10098 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'` ;;
10099 *) ac_cv_lib_soname_Xxf86vm
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10100 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10101 ac_cv_lib_soname_Xxf86vm
=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10105 rm -f core conftest.err conftest.
$ac_objext \
10106 conftest
$ac_exeext conftest.
$ac_ext
10107 LIBS
=$ac_check_soname_save_LIBS
10109 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10111 $as_echo "not found" >&6; }
10114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
10115 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
10117 cat >>confdefs.h
<<_ACEOF
10118 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
10124 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
10125 case "x$with_xxf86vm" in
10126 x
) as_fn_append wine_notices
"|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
10128 *) as_fn_error $?
"libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
10129 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
10133 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
10135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
10136 $as_echo_n "checking for -lXrender... " >&6; }
10137 if ${ac_cv_lib_soname_Xrender+:} false
; then :
10138 $as_echo_n "(cached) " >&6
10140 ac_check_soname_save_LIBS
=$LIBS
10141 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10142 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10143 /* end confdefs.h. */
10145 /* Override any GCC internal prototype to avoid an error.
10146 Use char because int might match the return type of a GCC
10147 builtin and then its argument prototype would still apply. */
10151 char XRenderQueryExtension ();
10155 return XRenderQueryExtension ();
10160 if ac_fn_c_try_link
"$LINENO"; then :
10162 dll
) ac_cv_lib_soname_Xrender
=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10163 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'` ;;
10164 *) ac_cv_lib_soname_Xrender
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10165 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10166 ac_cv_lib_soname_Xrender
=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10170 rm -f core conftest.err conftest.
$ac_objext \
10171 conftest
$ac_exeext conftest.
$ac_ext
10172 LIBS
=$ac_check_soname_save_LIBS
10174 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10176 $as_echo "not found" >&6; }
10179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
10180 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
10182 cat >>confdefs.h
<<_ACEOF
10183 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
10186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
10187 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
10188 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false
; then :
10189 $as_echo_n "(cached) " >&6
10191 ac_check_lib_save_LIBS
=$LIBS
10192 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10193 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10194 /* end confdefs.h. */
10196 /* Override any GCC internal prototype to avoid an error.
10197 Use char because int might match the return type of a GCC
10198 builtin and then its argument prototype would still apply. */
10202 char XRenderSetPictureTransform ();
10206 return XRenderSetPictureTransform ();
10211 if ac_fn_c_try_link
"$LINENO"; then :
10212 ac_cv_lib_Xrender_XRenderSetPictureTransform
=yes
10214 ac_cv_lib_Xrender_XRenderSetPictureTransform
=no
10216 rm -f core conftest.err conftest.
$ac_objext \
10217 conftest
$ac_exeext conftest.
$ac_ext
10218 LIBS
=$ac_check_lib_save_LIBS
10220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
10221 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
10222 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes
; then :
10224 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
10228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
10229 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
10230 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false
; then :
10231 $as_echo_n "(cached) " >&6
10233 ac_check_lib_save_LIBS
=$LIBS
10234 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10235 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10236 /* end confdefs.h. */
10238 /* Override any GCC internal prototype to avoid an error.
10239 Use char because int might match the return type of a GCC
10240 builtin and then its argument prototype would still apply. */
10244 char XRenderCreateLinearGradient ();
10248 return XRenderCreateLinearGradient ();
10253 if ac_fn_c_try_link
"$LINENO"; then :
10254 ac_cv_lib_Xrender_XRenderCreateLinearGradient
=yes
10256 ac_cv_lib_Xrender_XRenderCreateLinearGradient
=no
10258 rm -f core conftest.err conftest.
$ac_objext \
10259 conftest
$ac_exeext conftest.
$ac_ext
10260 LIBS
=$ac_check_lib_save_LIBS
10262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
10263 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
10264 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes
; then :
10266 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
10273 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
10274 case "x$with_xrender" in
10275 x
) as_fn_append wine_warnings
"|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
10277 *) as_fn_error $?
"libxrender ${notice_platform}development files not found, XRender won't be supported.
10278 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
10282 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
10284 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10285 /* end confdefs.h. */
10286 #include <X11/Xlib.h>
10287 #include <X11/extensions/Xrandr.h>
10291 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
10296 if ac_fn_c_try_compile
"$LINENO"; then :
10297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
10298 $as_echo_n "checking for -lXrandr... " >&6; }
10299 if ${ac_cv_lib_soname_Xrandr+:} false
; then :
10300 $as_echo_n "(cached) " >&6
10302 ac_check_soname_save_LIBS
=$LIBS
10303 LIBS
="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
10304 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10305 /* end confdefs.h. */
10307 /* Override any GCC internal prototype to avoid an error.
10308 Use char because int might match the return type of a GCC
10309 builtin and then its argument prototype would still apply. */
10313 char XRRQueryExtension ();
10317 return XRRQueryExtension ();
10322 if ac_fn_c_try_link
"$LINENO"; then :
10324 dll
) ac_cv_lib_soname_Xrandr
=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10325 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'` ;;
10326 *) ac_cv_lib_soname_Xrandr
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10327 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10328 ac_cv_lib_soname_Xrandr
=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10332 rm -f core conftest.err conftest.
$ac_objext \
10333 conftest
$ac_exeext conftest.
$ac_ext
10334 LIBS
=$ac_check_soname_save_LIBS
10336 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10338 $as_echo "not found" >&6; }
10341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
10342 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
10344 cat >>confdefs.h
<<_ACEOF
10345 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10348 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10349 /* end confdefs.h. */
10350 #include <X11/Xlib.h>
10351 #include <X11/extensions/Xrandr.h>
10355 static typeof(XRRGetScreenResources) *f; if (f) return 0;
10360 if ac_fn_c_try_compile
"$LINENO"; then :
10362 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
10365 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10368 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10370 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
10371 case "x$with_xrandr" in
10372 x
) as_fn_append wine_notices
"|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
10374 *) as_fn_error $?
"libxrandr ${notice_platform}development files not found, XRandr won't be supported.
10375 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
10379 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10381 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10382 /* end confdefs.h. */
10383 #include <X11/Xlib.h>
10384 #include <X11/extensions/Xinerama.h>
10388 static typeof(XineramaQueryScreens) * func; if (func) return 0;
10393 if ac_fn_c_try_compile
"$LINENO"; then :
10394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
10395 $as_echo_n "checking for -lXinerama... " >&6; }
10396 if ${ac_cv_lib_soname_Xinerama+:} false
; then :
10397 $as_echo_n "(cached) " >&6
10399 ac_check_soname_save_LIBS
=$LIBS
10400 LIBS
="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
10401 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10402 /* end confdefs.h. */
10404 /* Override any GCC internal prototype to avoid an error.
10405 Use char because int might match the return type of a GCC
10406 builtin and then its argument prototype would still apply. */
10410 char XineramaQueryScreens ();
10414 return XineramaQueryScreens ();
10419 if ac_fn_c_try_link
"$LINENO"; then :
10421 dll
) ac_cv_lib_soname_Xinerama
=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10422 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'` ;;
10423 *) ac_cv_lib_soname_Xinerama
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10424 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10425 ac_cv_lib_soname_Xinerama
=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10429 rm -f core conftest.err conftest.
$ac_objext \
10430 conftest
$ac_exeext conftest.
$ac_ext
10431 LIBS
=$ac_check_soname_save_LIBS
10433 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10435 $as_echo "not found" >&6; }
10438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
10439 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
10441 cat >>confdefs.h
<<_ACEOF
10442 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10448 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10450 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
10451 case "x$with_xinerama" in
10452 x
) as_fn_append wine_notices
"|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
10454 *) as_fn_error $?
"libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
10455 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
10459 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
10462 $as_echo_n "checking for -lXcomposite... " >&6; }
10463 if ${ac_cv_lib_soname_Xcomposite+:} false
; then :
10464 $as_echo_n "(cached) " >&6
10466 ac_check_soname_save_LIBS
=$LIBS
10467 LIBS
="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
10468 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10469 /* end confdefs.h. */
10471 /* Override any GCC internal prototype to avoid an error.
10472 Use char because int might match the return type of a GCC
10473 builtin and then its argument prototype would still apply. */
10477 char XCompositeRedirectWindow ();
10481 return XCompositeRedirectWindow ();
10486 if ac_fn_c_try_link
"$LINENO"; then :
10488 dll
) ac_cv_lib_soname_Xcomposite
=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10489 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'` ;;
10490 *) ac_cv_lib_soname_Xcomposite
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10491 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10492 ac_cv_lib_soname_Xcomposite
=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10496 rm -f core conftest.err conftest.
$ac_objext \
10497 conftest
$ac_exeext conftest.
$ac_ext
10498 LIBS
=$ac_check_soname_save_LIBS
10500 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10502 $as_echo "not found" >&6; }
10505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
10506 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
10508 cat >>confdefs.h
<<_ACEOF
10509 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10515 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
10516 case "x$with_xcomposite" in
10517 x
) as_fn_append wine_notices
"|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
10519 *) as_fn_error $?
"libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
10520 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
10524 ac_fn_c_check_member
"$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
10525 #include <X11/Xlib.h>
10528 if test "x$ac_cv_member_XICCallback_callback" = xyes
; then :
10530 cat >>confdefs.h
<<_ACEOF
10531 #define HAVE_XICCALLBACK_CALLBACK 1
10536 ac_fn_c_check_member
"$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
10537 #include <X11/Xlib.h>
10540 if test "x$ac_cv_member_XEvent_xcookie" = xyes
; then :
10542 cat >>confdefs.h
<<_ACEOF
10543 #define HAVE_XEVENT_XCOOKIE 1
10552 if test "x$with_opengl" != "xno"
10554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10555 $as_echo_n "checking for -lGL... " >&6; }
10556 if ${ac_cv_lib_soname_GL+:} false
; then :
10557 $as_echo_n "(cached) " >&6
10559 ac_check_soname_save_LIBS
=$LIBS
10560 LIBS
="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10561 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10562 /* end confdefs.h. */
10564 /* Override any GCC internal prototype to avoid an error.
10565 Use char because int might match the return type of a GCC
10566 builtin and then its argument prototype would still apply. */
10570 char glXCreateContext ();
10574 return glXCreateContext ();
10579 if ac_fn_c_try_link
"$LINENO"; then :
10581 dll
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10582 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'` ;;
10583 *) ac_cv_lib_soname_GL
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10584 if ${ac_cv_lib_soname_GL:+false} :; then :
10585 ac_cv_lib_soname_GL
=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10589 rm -f core conftest.err conftest.
$ac_objext \
10590 conftest
$ac_exeext conftest.
$ac_ext
10591 LIBS
=$ac_check_soname_save_LIBS
10593 if ${ac_cv_lib_soname_GL:+false} :; then :
10594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10595 $as_echo "not found" >&6; }
10596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10597 $as_echo_n "checking for -lGL... " >&6; }
10598 if ${ac_cv_lib_soname_GL+:} false
; then :
10599 $as_echo_n "(cached) " >&6
10601 ac_check_soname_save_LIBS
=$LIBS
10602 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"
10603 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10604 /* end confdefs.h. */
10606 /* Override any GCC internal prototype to avoid an error.
10607 Use char because int might match the return type of a GCC
10608 builtin and then its argument prototype would still apply. */
10612 char glXCreateContext ();
10616 return glXCreateContext ();
10621 if ac_fn_c_try_link
"$LINENO"; then :
10623 dll
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10624 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'` ;;
10625 *) ac_cv_lib_soname_GL
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10626 if ${ac_cv_lib_soname_GL:+false} :; then :
10627 ac_cv_lib_soname_GL
=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10631 rm -f core conftest.err conftest.
$ac_objext \
10632 conftest
$ac_exeext conftest.
$ac_ext
10633 LIBS
=$ac_check_soname_save_LIBS
10635 if ${ac_cv_lib_soname_GL:+false} :; then :
10636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10637 $as_echo "not found" >&6; }
10638 if test -f /usr
/X11R
6/lib
/libGL.a
10640 opengl_msg
="/usr/X11R6/lib/libGL.a is present on your system.
10641 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10643 opengl_msg
="No OpenGL library found on this system."
10646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10647 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10649 cat >>confdefs.h
<<_ACEOF
10650 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10653 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"
10656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10657 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10659 cat >>confdefs.h
<<_ACEOF
10660 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10665 if test "x$with_glu" != "xno"
10667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluLookAt in -lGLU" >&5
10668 $as_echo_n "checking for gluLookAt in -lGLU... " >&6; }
10669 if ${ac_cv_lib_GLU_gluLookAt+:} false
; then :
10670 $as_echo_n "(cached) " >&6
10672 ac_check_lib_save_LIBS
=$LIBS
10673 LIBS
="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10674 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10675 /* end confdefs.h. */
10677 /* Override any GCC internal prototype to avoid an error.
10678 Use char because int might match the return type of a GCC
10679 builtin and then its argument prototype would still apply. */
10687 return gluLookAt ();
10692 if ac_fn_c_try_link
"$LINENO"; then :
10693 ac_cv_lib_GLU_gluLookAt
=yes
10695 ac_cv_lib_GLU_gluLookAt
=no
10697 rm -f core conftest.err conftest.
$ac_objext \
10698 conftest
$ac_exeext conftest.
$ac_ext
10699 LIBS
=$ac_check_lib_save_LIBS
10701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluLookAt" >&5
10702 $as_echo "$ac_cv_lib_GLU_gluLookAt" >&6; }
10703 if test "x$ac_cv_lib_GLU_gluLookAt" = xyes
; then :
10707 if test "x$ac_cv_lib_GLU_gluLookAt" != xyes
; then :
10708 case "x$with_glu" in
10709 x
) as_fn_append wine_notices
"|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
10711 *) as_fn_error $?
"libGLU ${notice_platform}development files not found, GLU won't be supported.
10712 This is an error since --with-glu was requested." "$LINENO" 5 ;;
10717 if test "x$with_osmesa" != "xno"
10719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
10720 $as_echo_n "checking for -lOSMesa... " >&6; }
10721 if ${ac_cv_lib_soname_OSMesa+:} false
; then :
10722 $as_echo_n "(cached) " >&6
10724 ac_check_soname_save_LIBS
=$LIBS
10725 LIBS
="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10726 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10727 /* end confdefs.h. */
10729 /* Override any GCC internal prototype to avoid an error.
10730 Use char because int might match the return type of a GCC
10731 builtin and then its argument prototype would still apply. */
10744 if ac_fn_c_try_link
"$LINENO"; then :
10746 dll
) ac_cv_lib_soname_OSMesa
=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10747 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'` ;;
10748 *) ac_cv_lib_soname_OSMesa
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10749 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10750 ac_cv_lib_soname_OSMesa
=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10754 rm -f core conftest.err conftest.
$ac_objext \
10755 conftest
$ac_exeext conftest.
$ac_ext
10756 LIBS
=$ac_check_soname_save_LIBS
10758 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10760 $as_echo "not found" >&6; }
10763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
10764 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
10766 cat >>confdefs.h
<<_ACEOF
10767 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
10772 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
10773 case "x$with_osmesa" in
10774 x
) as_fn_append wine_notices
"|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
10776 *) as_fn_error $?
"libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
10777 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
10782 if test -n "$opengl_msg"; then :
10783 case "x$with_opengl" in
10784 x
) as_fn_append wine_warnings
"|$opengl_msg
10785 OpenGL and Direct3D won't be supported." ;;
10787 *) as_fn_error $?
"$opengl_msg
10788 OpenGL and Direct3D won't be supported.
10789 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
10793 CPPFLAGS
="$ac_save_CPPFLAGS"
10797 enable_winex11_drv
=${enable_winex11_drv:-no}
10799 if test "x$X_LIBS" = "x"; then :
10802 *) as_fn_error $?
"X ${notice_platform}development files not found. Wine will be built
10803 without X support, which probably isn't what you want. You will need
10804 to install ${notice_platform}development packages of Xlib/Xfree86 at the very least.
10805 Use the --without-x option if you really want this." "$LINENO" 5 ;;
10809 test "x$ac_cv_lib_GLU_gluLookAt" != xyes
&& enable_glu32
=${enable_glu32:-no}
10811 if test "$ac_cv_header_CL_cl_h" = "yes"
10813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
10814 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
10815 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false
; then :
10816 $as_echo_n "(cached) " >&6
10818 ac_check_lib_save_LIBS
=$LIBS
10819 LIBS
="-lOpenCL $LIBS"
10820 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10821 /* end confdefs.h. */
10823 /* Override any GCC internal prototype to avoid an error.
10824 Use char because int might match the return type of a GCC
10825 builtin and then its argument prototype would still apply. */
10829 char clGetPlatformInfo ();
10833 return clGetPlatformInfo ();
10838 if ac_fn_c_try_link
"$LINENO"; then :
10839 ac_cv_lib_OpenCL_clGetPlatformInfo
=yes
10841 ac_cv_lib_OpenCL_clGetPlatformInfo
=no
10843 rm -f core conftest.err conftest.
$ac_objext \
10844 conftest
$ac_exeext conftest.
$ac_ext
10845 LIBS
=$ac_check_lib_save_LIBS
10847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
10848 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
10849 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes
; then :
10850 OPENCL_LIBS
="-lOpenCL"
10855 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
; then :
10856 case "x$with_opencl" in
10857 x
) as_fn_append wine_notices
"|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
10859 *) as_fn_error $?
"OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
10860 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
10863 test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
&& enable_opencl
=${enable_opencl:-no}
10865 if test "$ac_cv_header_pcap_pcap_h" = "yes"
10867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
10868 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
10869 if ${ac_cv_lib_pcap_pcap_create+:} false
; then :
10870 $as_echo_n "(cached) " >&6
10872 ac_check_lib_save_LIBS
=$LIBS
10873 LIBS
="-lpcap $LIBS"
10874 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10875 /* end confdefs.h. */
10877 /* Override any GCC internal prototype to avoid an error.
10878 Use char because int might match the return type of a GCC
10879 builtin and then its argument prototype would still apply. */
10883 char pcap_create ();
10887 return pcap_create ();
10892 if ac_fn_c_try_link
"$LINENO"; then :
10893 ac_cv_lib_pcap_pcap_create
=yes
10895 ac_cv_lib_pcap_pcap_create
=no
10897 rm -f core conftest.err conftest.
$ac_objext \
10898 conftest
$ac_exeext conftest.
$ac_ext
10899 LIBS
=$ac_check_lib_save_LIBS
10901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
10902 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
10903 if test "x$ac_cv_lib_pcap_pcap_create" = xyes
; then :
10909 if test "x$ac_cv_lib_pcap_pcap_create" != xyes
; then :
10910 case "x$with_pcap" in
10911 x
) as_fn_append wine_notices
"|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
10913 *) as_fn_error $?
"pcap ${notice_platform}development files not found, wpcap won't be supported.
10914 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
10917 test "x$ac_cv_lib_pcap_pcap_create" != xyes
&& enable_wpcap
=${enable_wpcap:-no}
10920 if test "x$with_xml" != "xno"
10922 if ${XML2_CFLAGS:+false} :; then :
10923 if ${PKG_CONFIG+:} false
; then :
10924 XML2_CFLAGS
=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
10927 test "$cross_compiling" = yes || XML2_CFLAGS
=${XML2_CFLAGS:-`xml2-config --cflags 2>/dev/null`}
10928 if ${XML2_LIBS:+false} :; then :
10929 if ${PKG_CONFIG+:} false
; then :
10930 XML2_LIBS
=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
10933 test "$cross_compiling" = yes || XML2_LIBS
=${XML2_LIBS:-`xml2-config --libs 2>/dev/null`}
10934 XML2_LIBS
=${XML2_LIBS:-"-lxml2"}
10935 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
10936 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
10937 ac_save_CPPFLAGS
=$CPPFLAGS
10938 CPPFLAGS
="$CPPFLAGS $XML2_CFLAGS"
10939 for ac_header
in libxml
/parser.h libxml
/xmlsave.h libxml
/SAX2.h
10941 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10942 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
10943 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
10944 cat >>confdefs.h
<<_ACEOF
10945 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10952 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"
10954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
10955 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
10956 if ${ac_cv_lib_xml2_xmlParseMemory+:} false
; then :
10957 $as_echo_n "(cached) " >&6
10959 ac_check_lib_save_LIBS
=$LIBS
10960 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10961 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10962 /* end confdefs.h. */
10964 /* Override any GCC internal prototype to avoid an error.
10965 Use char because int might match the return type of a GCC
10966 builtin and then its argument prototype would still apply. */
10970 char xmlParseMemory ();
10974 return xmlParseMemory ();
10979 if ac_fn_c_try_link
"$LINENO"; then :
10980 ac_cv_lib_xml2_xmlParseMemory
=yes
10982 ac_cv_lib_xml2_xmlParseMemory
=no
10984 rm -f core conftest.err conftest.
$ac_objext \
10985 conftest
$ac_exeext conftest.
$ac_ext
10986 LIBS
=$ac_check_lib_save_LIBS
10988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
10989 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
10990 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes
; then :
10992 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
10998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
10999 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
11000 if ${ac_cv_lib_xml2_xmlReadMemory+:} false
; then :
11001 $as_echo_n "(cached) " >&6
11003 ac_check_lib_save_LIBS
=$LIBS
11004 LIBS
="-lxml2 $XML2_LIBS $LIBS"
11005 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11006 /* end confdefs.h. */
11008 /* Override any GCC internal prototype to avoid an error.
11009 Use char because int might match the return type of a GCC
11010 builtin and then its argument prototype would still apply. */
11014 char xmlReadMemory ();
11018 return xmlReadMemory ();
11023 if ac_fn_c_try_link
"$LINENO"; then :
11024 ac_cv_lib_xml2_xmlReadMemory
=yes
11026 ac_cv_lib_xml2_xmlReadMemory
=no
11028 rm -f core conftest.err conftest.
$ac_objext \
11029 conftest
$ac_exeext conftest.
$ac_ext
11030 LIBS
=$ac_check_lib_save_LIBS
11032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
11033 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
11034 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes
; then :
11036 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
11040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
11041 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
11042 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false
; then :
11043 $as_echo_n "(cached) " >&6
11045 ac_check_lib_save_LIBS
=$LIBS
11046 LIBS
="-lxml2 $XML2_LIBS $LIBS"
11047 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11048 /* end confdefs.h. */
11050 /* Override any GCC internal prototype to avoid an error.
11051 Use char because int might match the return type of a GCC
11052 builtin and then its argument prototype would still apply. */
11056 char xmlNewDocPI ();
11060 return xmlNewDocPI ();
11065 if ac_fn_c_try_link
"$LINENO"; then :
11066 ac_cv_lib_xml2_xmlNewDocPI
=yes
11068 ac_cv_lib_xml2_xmlNewDocPI
=no
11070 rm -f core conftest.err conftest.
$ac_objext \
11071 conftest
$ac_exeext conftest.
$ac_ext
11072 LIBS
=$ac_check_lib_save_LIBS
11074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
11075 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
11076 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes
; then :
11078 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
11082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
11083 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
11084 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false
; then :
11085 $as_echo_n "(cached) " >&6
11087 ac_check_lib_save_LIBS
=$LIBS
11088 LIBS
="-lxml2 $XML2_LIBS $LIBS"
11089 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11090 /* end confdefs.h. */
11092 /* Override any GCC internal prototype to avoid an error.
11093 Use char because int might match the return type of a GCC
11094 builtin and then its argument prototype would still apply. */
11098 char xmlSchemaSetParserStructuredErrors ();
11102 return xmlSchemaSetParserStructuredErrors ();
11107 if ac_fn_c_try_link
"$LINENO"; then :
11108 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors
=yes
11110 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors
=no
11112 rm -f core conftest.err conftest.
$ac_objext \
11113 conftest
$ac_exeext conftest.
$ac_ext
11114 LIBS
=$ac_check_lib_save_LIBS
11116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
11117 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
11118 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes
; then :
11120 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
11124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
11125 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
11126 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false
; then :
11127 $as_echo_n "(cached) " >&6
11129 ac_check_lib_save_LIBS
=$LIBS
11130 LIBS
="-lxml2 $XML2_LIBS $LIBS"
11131 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11132 /* end confdefs.h. */
11134 /* Override any GCC internal prototype to avoid an error.
11135 Use char because int might match the return type of a GCC
11136 builtin and then its argument prototype would still apply. */
11140 char xmlSchemaSetValidStructuredErrors ();
11144 return xmlSchemaSetValidStructuredErrors ();
11149 if ac_fn_c_try_link
"$LINENO"; then :
11150 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors
=yes
11152 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors
=no
11154 rm -f core conftest.err conftest.
$ac_objext \
11155 conftest
$ac_exeext conftest.
$ac_ext
11156 LIBS
=$ac_check_lib_save_LIBS
11158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
11159 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
11160 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes
; then :
11162 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
11166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
11167 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
11168 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false
; then :
11169 $as_echo_n "(cached) " >&6
11171 ac_check_lib_save_LIBS
=$LIBS
11172 LIBS
="-lxml2 $XML2_LIBS $LIBS"
11173 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11174 /* end confdefs.h. */
11176 /* Override any GCC internal prototype to avoid an error.
11177 Use char because int might match the return type of a GCC
11178 builtin and then its argument prototype would still apply. */
11182 char xmlFirstElementChild ();
11186 return xmlFirstElementChild ();
11191 if ac_fn_c_try_link
"$LINENO"; then :
11192 ac_cv_lib_xml2_xmlFirstElementChild
=yes
11194 ac_cv_lib_xml2_xmlFirstElementChild
=no
11196 rm -f core conftest.err conftest.
$ac_objext \
11197 conftest
$ac_exeext conftest.
$ac_ext
11198 LIBS
=$ac_check_lib_save_LIBS
11200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
11201 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
11202 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes
; then :
11204 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
11208 ac_fn_c_check_type
"$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
11210 if test "x$ac_cv_type_xmlDocProperties" = xyes
; then :
11212 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
11220 CPPFLAGS
=$ac_save_CPPFLAGS
11221 test -z "$XML2_CFLAGS" || XML2_CFLAGS
=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11222 test -z "$XML2_LIBS" || XML2_LIBS
=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11225 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
11226 case "x$with_xml" in
11227 x
) as_fn_append wine_warnings
"|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
11229 *) as_fn_error $?
"libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
11230 This is an error since --with-xml was requested." "$LINENO" 5 ;;
11234 if test "x$with_xslt" != "xno"
11236 if ${XSLT_CFLAGS:+false} :; then :
11237 if ${PKG_CONFIG+:} false
; then :
11238 XSLT_CFLAGS
=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
11241 test "$cross_compiling" = yes || XSLT_CFLAGS
=${XSLT_CFLAGS:-`xslt-config --cflags 2>/dev/null`}
11242 if ${XSLT_LIBS:+false} :; then :
11243 if ${PKG_CONFIG+:} false
; then :
11244 XSLT_LIBS
=`$PKG_CONFIG --libs libxslt 2>/dev/null`
11247 test "$cross_compiling" = yes || XSLT_LIBS
=${XSLT_LIBS:-`xslt-config --libs 2>/dev/null`}
11248 XSLT_LIBS
=${XSLT_LIBS:-"-lxml2"}
11249 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
11250 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
11251 ac_save_CPPFLAGS
=$CPPFLAGS
11252 CPPFLAGS
="$CPPFLAGS $XSLT_CFLAGS"
11253 for ac_header
in libxslt
/pattern.h libxslt
/transform.h
11255 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11256 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
11257 # include <libxslt/pattern.h>
11260 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
11261 cat >>confdefs.h
<<_ACEOF
11262 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11269 if test "$ac_cv_header_libxslt_transform_h" = "yes"
11271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
11272 $as_echo_n "checking for -lxslt... " >&6; }
11273 if ${ac_cv_lib_soname_xslt+:} false
; then :
11274 $as_echo_n "(cached) " >&6
11276 ac_check_soname_save_LIBS
=$LIBS
11277 LIBS
="-lxslt $XSLT_LIBS $LIBS"
11278 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11279 /* end confdefs.h. */
11281 /* Override any GCC internal prototype to avoid an error.
11282 Use char because int might match the return type of a GCC
11283 builtin and then its argument prototype would still apply. */
11287 char xsltCompilePattern ();
11291 return xsltCompilePattern ();
11296 if ac_fn_c_try_link
"$LINENO"; then :
11298 dll
) ac_cv_lib_soname_xslt
=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11299 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'` ;;
11300 *) ac_cv_lib_soname_xslt
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11301 if ${ac_cv_lib_soname_xslt:+false} :; then :
11302 ac_cv_lib_soname_xslt
=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11306 rm -f core conftest.err conftest.
$ac_objext \
11307 conftest
$ac_exeext conftest.
$ac_ext
11308 LIBS
=$ac_check_soname_save_LIBS
11310 if ${ac_cv_lib_soname_xslt:+false} :; then :
11311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11312 $as_echo "not found" >&6; }
11315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
11316 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
11318 cat >>confdefs.h
<<_ACEOF
11319 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
11327 CPPFLAGS
=$ac_save_CPPFLAGS
11328 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS
=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11329 test -z "$XSLT_LIBS" || XSLT_LIBS
=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11332 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
11333 case "x$with_xslt" in
11334 x
) as_fn_append wine_warnings
"|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
11336 *) as_fn_error $?
"libxslt ${notice_platform}development files not found, xslt won't be supported.
11337 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
11341 if test "x$with_dbus" != "xno"
11343 if ${DBUS_CFLAGS:+false} :; then :
11344 if ${PKG_CONFIG+:} false
; then :
11345 DBUS_CFLAGS
=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
11349 if ${DBUS_LIBS:+false} :; then :
11350 if ${PKG_CONFIG+:} false
; then :
11351 DBUS_LIBS
=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
11356 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
11357 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
11358 ac_save_CPPFLAGS
=$CPPFLAGS
11359 CPPFLAGS
="$CPPFLAGS $DBUS_CFLAGS"
11360 ac_fn_c_check_header_mongrel
"$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
11361 if test "x$ac_cv_header_dbus_dbus_h" = xyes
; then :
11362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
11363 $as_echo_n "checking for -ldbus-1... " >&6; }
11364 if ${ac_cv_lib_soname_dbus_1+:} false
; then :
11365 $as_echo_n "(cached) " >&6
11367 ac_check_soname_save_LIBS
=$LIBS
11368 LIBS
="-ldbus-1 $DBUS_LIBS $LIBS"
11369 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11370 /* end confdefs.h. */
11372 /* Override any GCC internal prototype to avoid an error.
11373 Use char because int might match the return type of a GCC
11374 builtin and then its argument prototype would still apply. */
11378 char dbus_connection_close ();
11382 return dbus_connection_close ();
11387 if ac_fn_c_try_link
"$LINENO"; then :
11389 dll
) ac_cv_lib_soname_dbus_1
=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11390 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'` ;;
11391 *) 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'`
11392 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11393 ac_cv_lib_soname_dbus_1
=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11397 rm -f core conftest.err conftest.
$ac_objext \
11398 conftest
$ac_exeext conftest.
$ac_ext
11399 LIBS
=$ac_check_soname_save_LIBS
11401 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11403 $as_echo "not found" >&6; }
11406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
11407 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
11409 cat >>confdefs.h
<<_ACEOF
11410 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
11420 CPPFLAGS
=$ac_save_CPPFLAGS
11421 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS
=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11422 test -z "$DBUS_LIBS" || DBUS_LIBS
=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11425 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
11426 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11427 case "x$with_dbus" in
11428 x
) as_fn_append wine_notices
"|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
11430 *) as_fn_error $?
"libdbus ${notice_platform}development files not found, no dynamic device support.
11431 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
11435 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
11437 if ${HAL_CFLAGS:+false} :; then :
11438 if ${PKG_CONFIG+:} false
; then :
11439 HAL_CFLAGS
=`$PKG_CONFIG --cflags hal 2>/dev/null`
11443 if ${HAL_LIBS:+false} :; then :
11444 if ${PKG_CONFIG+:} false
; then :
11445 HAL_LIBS
=`$PKG_CONFIG --libs hal 2>/dev/null`
11449 HAL_LIBS
=${HAL_LIBS:-"-ldbus-1"}
11450 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
11451 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
11452 ac_save_CPPFLAGS
=$CPPFLAGS
11453 CPPFLAGS
="$CPPFLAGS $HAL_CFLAGS"
11454 ac_fn_c_check_header_mongrel
"$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
11455 if test "x$ac_cv_header_hal_libhal_h" = xyes
; then :
11456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
11457 $as_echo_n "checking for -lhal... " >&6; }
11458 if ${ac_cv_lib_soname_hal+:} false
; then :
11459 $as_echo_n "(cached) " >&6
11461 ac_check_soname_save_LIBS
=$LIBS
11462 LIBS
="-lhal $HAL_LIBS $LIBS"
11463 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11464 /* end confdefs.h. */
11466 /* Override any GCC internal prototype to avoid an error.
11467 Use char because int might match the return type of a GCC
11468 builtin and then its argument prototype would still apply. */
11472 char libhal_ctx_new ();
11476 return libhal_ctx_new ();
11481 if ac_fn_c_try_link
"$LINENO"; then :
11483 dll
) ac_cv_lib_soname_hal
=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11484 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'` ;;
11485 *) ac_cv_lib_soname_hal
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11486 if ${ac_cv_lib_soname_hal:+false} :; then :
11487 ac_cv_lib_soname_hal
=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11491 rm -f core conftest.err conftest.
$ac_objext \
11492 conftest
$ac_exeext conftest.
$ac_ext
11493 LIBS
=$ac_check_soname_save_LIBS
11495 if ${ac_cv_lib_soname_hal:+false} :; then :
11496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11497 $as_echo "not found" >&6; }
11500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
11501 $as_echo "$ac_cv_lib_soname_hal" >&6; }
11503 cat >>confdefs.h
<<_ACEOF
11504 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11514 CPPFLAGS
=$ac_save_CPPFLAGS
11515 test -z "$HAL_CFLAGS" || HAL_CFLAGS
=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11516 test -z "$HAL_LIBS" || HAL_LIBS
=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11518 if test "x$ac_cv_lib_soname_hal" = "x" -a \
11519 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11520 case "x$with_hal" in
11521 x
) as_fn_append wine_notices
"|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
11523 *) as_fn_error $?
"libhal ${notice_platform}development files not found, no legacy dynamic device support.
11524 This is an error since --with-hal was requested." "$LINENO" 5 ;;
11529 if test "x$with_gnutls" != "xno"
11531 if ${GNUTLS_CFLAGS:+false} :; then :
11532 if ${PKG_CONFIG+:} false
; then :
11533 GNUTLS_CFLAGS
=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
11537 if ${GNUTLS_LIBS:+false} :; then :
11538 if ${PKG_CONFIG+:} false
; then :
11539 GNUTLS_LIBS
=`$PKG_CONFIG --libs gnutls 2>/dev/null`
11544 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
11545 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
11546 ac_save_CPPFLAGS
=$CPPFLAGS
11547 CPPFLAGS
="$CPPFLAGS $GNUTLS_CFLAGS"
11548 ac_fn_c_check_header_mongrel
"$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
11549 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes
; then :
11550 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11551 /* end confdefs.h. */
11552 #include <gnutls/gnutls.h>
11553 #include <gnutls/crypto.h>
11557 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
11562 if ac_fn_c_try_compile
"$LINENO"; then :
11563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
11564 $as_echo_n "checking for -lgnutls... " >&6; }
11565 if ${ac_cv_lib_soname_gnutls+:} false
; then :
11566 $as_echo_n "(cached) " >&6
11568 ac_check_soname_save_LIBS
=$LIBS
11569 LIBS
="-lgnutls $GNUTLS_LIBS $LIBS"
11570 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11571 /* end confdefs.h. */
11573 /* Override any GCC internal prototype to avoid an error.
11574 Use char because int might match the return type of a GCC
11575 builtin and then its argument prototype would still apply. */
11579 char gnutls_global_init ();
11583 return gnutls_global_init ();
11588 if ac_fn_c_try_link
"$LINENO"; then :
11590 dll
) ac_cv_lib_soname_gnutls
=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11591 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'` ;;
11592 *) 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'`
11593 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11594 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'`
11598 rm -f core conftest.err conftest.
$ac_objext \
11599 conftest
$ac_exeext conftest.
$ac_ext
11600 LIBS
=$ac_check_soname_save_LIBS
11602 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11604 $as_echo "not found" >&6; }
11607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
11608 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
11610 cat >>confdefs.h
<<_ACEOF
11611 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
11617 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11623 CPPFLAGS
=$ac_save_CPPFLAGS
11624 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS
=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11625 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS
=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11628 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
11629 case "x$with_gnutls" in
11630 x
) as_fn_append wine_warnings
"|libgnutls ${notice_platform}development files not found, no schannel support." ;;
11632 *) as_fn_error $?
"libgnutls ${notice_platform}development files not found, no schannel support.
11633 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
11638 if test "$ac_cv_header_ncurses_h" = "yes"
11640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
11641 $as_echo_n "checking for -lncurses... " >&6; }
11642 if ${ac_cv_lib_soname_ncurses+:} false
; then :
11643 $as_echo_n "(cached) " >&6
11645 ac_check_soname_save_LIBS
=$LIBS
11646 LIBS
="-lncurses $LIBS"
11647 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11648 /* end confdefs.h. */
11650 /* Override any GCC internal prototype to avoid an error.
11651 Use char because int might match the return type of a GCC
11652 builtin and then its argument prototype would still apply. */
11665 if ac_fn_c_try_link
"$LINENO"; then :
11667 dll
) ac_cv_lib_soname_ncurses
=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11668 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'` ;;
11669 *) 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'`
11670 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11671 ac_cv_lib_soname_ncurses
=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11675 rm -f core conftest.err conftest.
$ac_objext \
11676 conftest
$ac_exeext conftest.
$ac_ext
11677 LIBS
=$ac_check_soname_save_LIBS
11679 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11681 $as_echo "not found" >&6; }
11684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
11685 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
11687 cat >>confdefs.h
<<_ACEOF
11688 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
11691 CURSES_LIBS
="-lncurses"
11693 elif test "$ac_cv_header_curses_h" = "yes"
11695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
11696 $as_echo_n "checking for -lcurses... " >&6; }
11697 if ${ac_cv_lib_soname_curses+:} false
; then :
11698 $as_echo_n "(cached) " >&6
11700 ac_check_soname_save_LIBS
=$LIBS
11701 LIBS
="-lcurses $LIBS"
11702 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11703 /* end confdefs.h. */
11705 /* Override any GCC internal prototype to avoid an error.
11706 Use char because int might match the return type of a GCC
11707 builtin and then its argument prototype would still apply. */
11720 if ac_fn_c_try_link
"$LINENO"; then :
11722 dll
) ac_cv_lib_soname_curses
=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11723 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'` ;;
11724 *) ac_cv_lib_soname_curses
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11725 if ${ac_cv_lib_soname_curses:+false} :; then :
11726 ac_cv_lib_soname_curses
=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11730 rm -f core conftest.err conftest.
$ac_objext \
11731 conftest
$ac_exeext conftest.
$ac_ext
11732 LIBS
=$ac_check_soname_save_LIBS
11734 if ${ac_cv_lib_soname_curses:+false} :; then :
11735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11736 $as_echo "not found" >&6; }
11739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
11740 $as_echo "$ac_cv_lib_soname_curses" >&6; }
11742 cat >>confdefs.h
<<_ACEOF
11743 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
11746 CURSES_LIBS
="-lcurses"
11749 ac_save_LIBS
="$LIBS"
11750 LIBS
="$LIBS $CURSES_LIBS"
11751 for ac_func
in mousemask
11753 ac_fn_c_check_func
"$LINENO" "mousemask" "ac_cv_func_mousemask"
11754 if test "x$ac_cv_func_mousemask" = xyes
; then :
11755 cat >>confdefs.h
<<_ACEOF
11756 #define HAVE_MOUSEMASK 1
11762 LIBS
="$ac_save_LIBS"
11763 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
11764 case "x$with_curses" in
11765 x
) as_fn_append wine_notices
"|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
11767 *) as_fn_error $?
"lib(n)curses ${notice_platform}development files not found, curses won't be supported.
11768 This is an error since --with-curses was requested." "$LINENO" 5 ;;
11772 if test "x$with_sane" != "xno"
11774 if ${SANE_CFLAGS:+false} :; then :
11775 if ${PKG_CONFIG+:} false
; then :
11776 SANE_CFLAGS
=`$PKG_CONFIG --cflags libsane 2>/dev/null`
11779 test "$cross_compiling" = yes || SANE_CFLAGS
=${SANE_CFLAGS:-`sane-config --cflags 2>/dev/null`}
11780 if ${SANE_LIBS:+false} :; then :
11781 if ${PKG_CONFIG+:} false
; then :
11782 SANE_LIBS
=`$PKG_CONFIG --libs libsane 2>/dev/null`
11785 test "$cross_compiling" = yes || SANE_LIBS
=${SANE_LIBS:-`sane-config --ldflags 2>/dev/null`}
11787 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
11788 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
11789 ac_save_CPPFLAGS
=$CPPFLAGS
11790 CPPFLAGS
="$CPPFLAGS $SANE_CFLAGS"
11791 ac_fn_c_check_header_mongrel
"$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
11792 if test "x$ac_cv_header_sane_sane_h" = xyes
; then :
11793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
11794 $as_echo_n "checking for -lsane... " >&6; }
11795 if ${ac_cv_lib_soname_sane+:} false
; then :
11796 $as_echo_n "(cached) " >&6
11798 ac_check_soname_save_LIBS
=$LIBS
11799 LIBS
="-lsane $SANE_LIBS $LIBS"
11800 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11801 /* end confdefs.h. */
11803 /* Override any GCC internal prototype to avoid an error.
11804 Use char because int might match the return type of a GCC
11805 builtin and then its argument prototype would still apply. */
11813 return sane_init ();
11818 if ac_fn_c_try_link
"$LINENO"; then :
11820 dll
) ac_cv_lib_soname_sane
=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11821 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'` ;;
11822 *) ac_cv_lib_soname_sane
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11823 if ${ac_cv_lib_soname_sane:+false} :; then :
11824 ac_cv_lib_soname_sane
=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11828 rm -f core conftest.err conftest.
$ac_objext \
11829 conftest
$ac_exeext conftest.
$ac_ext
11830 LIBS
=$ac_check_soname_save_LIBS
11832 if ${ac_cv_lib_soname_sane:+false} :; then :
11833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11834 $as_echo "not found" >&6; }
11837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
11838 $as_echo "$ac_cv_lib_soname_sane" >&6; }
11840 cat >>confdefs.h
<<_ACEOF
11841 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
11851 CPPFLAGS
=$ac_save_CPPFLAGS
11852 test -z "$SANE_CFLAGS" || SANE_CFLAGS
=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11853 test -z "$SANE_LIBS" || SANE_LIBS
=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11856 if test "x$ac_cv_lib_soname_sane" = "x"; then :
11857 case "x$with_sane" in
11858 x
) as_fn_append wine_notices
"|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
11860 *) as_fn_error $?
"libsane ${notice_platform}development files not found, scanners won't be supported.
11861 This is an error since --with-sane was requested." "$LINENO" 5 ;;
11865 if test "x$with_v4l" != "xno"
11867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
11868 $as_echo_n "checking for -lv4l1... " >&6; }
11869 if ${ac_cv_lib_soname_v4l1+:} false
; then :
11870 $as_echo_n "(cached) " >&6
11872 ac_check_soname_save_LIBS
=$LIBS
11873 LIBS
="-lv4l1 $LIBS"
11874 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11875 /* end confdefs.h. */
11877 /* Override any GCC internal prototype to avoid an error.
11878 Use char because int might match the return type of a GCC
11879 builtin and then its argument prototype would still apply. */
11887 return v4l1_open ();
11892 if ac_fn_c_try_link
"$LINENO"; then :
11894 dll
) ac_cv_lib_soname_v4l1
=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11895 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'` ;;
11896 *) ac_cv_lib_soname_v4l1
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11897 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11898 ac_cv_lib_soname_v4l1
=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11902 rm -f core conftest.err conftest.
$ac_objext \
11903 conftest
$ac_exeext conftest.
$ac_ext
11904 LIBS
=$ac_check_soname_save_LIBS
11906 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11908 $as_echo "not found" >&6; }
11911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
11912 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
11914 cat >>confdefs.h
<<_ACEOF
11915 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
11921 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
11922 case "x$with_v4l" in
11923 x
) as_fn_append wine_notices
"|libv4l ${notice_platform}development files not found." ;;
11925 *) as_fn_error $?
"libv4l ${notice_platform}development files not found.
11926 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
11930 if test "x$with_gphoto" != "xno"
11932 if ${GPHOTO2_CFLAGS:+false} :; then :
11933 if ${PKG_CONFIG+:} false
; then :
11934 GPHOTO2_CFLAGS
=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
11937 test "$cross_compiling" = yes || GPHOTO2_CFLAGS
=${GPHOTO2_CFLAGS:-`gphoto2-config --cflags 2>/dev/null`}
11938 if ${GPHOTO2_LIBS:+false} :; then :
11939 if ${PKG_CONFIG+:} false
; then :
11940 GPHOTO2_LIBS
=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
11943 test "$cross_compiling" = yes || GPHOTO2_LIBS
=${GPHOTO2_LIBS:-`gphoto2-config --libs 2>/dev/null`}
11944 GPHOTO2_LIBS
=${GPHOTO2_LIBS:-"-lgphoto2"}
11945 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
11946 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
11947 ac_save_CPPFLAGS
=$CPPFLAGS
11948 CPPFLAGS
="$CPPFLAGS $GPHOTO2_CFLAGS"
11949 ac_fn_c_check_header_mongrel
"$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
11950 if test "x$ac_cv_header_gphoto2_camera_h" = xyes
; then :
11951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
11952 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
11953 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false
; then :
11954 $as_echo_n "(cached) " >&6
11956 ac_check_lib_save_LIBS
=$LIBS
11957 LIBS
="-lgphoto2 $GPHOTO2_LIBS $LIBS"
11958 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11959 /* end confdefs.h. */
11961 /* Override any GCC internal prototype to avoid an error.
11962 Use char because int might match the return type of a GCC
11963 builtin and then its argument prototype would still apply. */
11967 char gp_camera_new ();
11971 return gp_camera_new ();
11976 if ac_fn_c_try_link
"$LINENO"; then :
11977 ac_cv_lib_gphoto2_gp_camera_new
=yes
11979 ac_cv_lib_gphoto2_gp_camera_new
=no
11981 rm -f core conftest.err conftest.
$ac_objext \
11982 conftest
$ac_exeext conftest.
$ac_ext
11983 LIBS
=$ac_check_lib_save_LIBS
11985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
11986 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
11987 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes
; then :
11989 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
11992 GPHOTO2_LIBS
=""; GPHOTO2_CFLAGS
=""
11996 GPHOTO2_LIBS
=""; GPHOTO2_CFLAGS
=""
12000 CPPFLAGS
=$ac_save_CPPFLAGS
12001 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS
=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12002 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS
=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12004 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
12005 if ${PKG_CONFIG+:} false
; then :
12006 GPHOTO2_PORT_CFLAGS
=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
12009 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS
=${GPHOTO2_PORT_CFLAGS:-`gphoto2-port-config --cflags 2>/dev/null`}
12010 if ${GPHOTO2_PORT_LIBS:+false} :; then :
12011 if ${PKG_CONFIG+:} false
; then :
12012 GPHOTO2_PORT_LIBS
=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
12015 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS
=${GPHOTO2_PORT_LIBS:-`gphoto2-port-config --libs 2>/dev/null`}
12016 GPHOTO2_PORT_LIBS
=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
12017 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
12018 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
12019 ac_save_CPPFLAGS
=$CPPFLAGS
12020 CPPFLAGS
="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
12021 ac_fn_c_check_header_mongrel
"$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
12022 if test "x$ac_cv_header_gphoto2_port_h" = xyes
; then :
12023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
12024 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
12025 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false
; then :
12026 $as_echo_n "(cached) " >&6
12028 ac_check_lib_save_LIBS
=$LIBS
12029 LIBS
="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
12030 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12031 /* end confdefs.h. */
12033 /* Override any GCC internal prototype to avoid an error.
12034 Use char because int might match the return type of a GCC
12035 builtin and then its argument prototype would still apply. */
12039 char gp_port_info_list_new ();
12043 return gp_port_info_list_new ();
12048 if ac_fn_c_try_link
"$LINENO"; then :
12049 ac_cv_lib_gphoto2_port_gp_port_info_list_new
=yes
12051 ac_cv_lib_gphoto2_port_gp_port_info_list_new
=no
12053 rm -f core conftest.err conftest.
$ac_objext \
12054 conftest
$ac_exeext conftest.
$ac_ext
12055 LIBS
=$ac_check_lib_save_LIBS
12057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
12058 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
12059 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes
; then :
12061 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
12064 GPHOTO2_PORT_LIBS
=""; GPHOTO2_PORT_CFLAGS
=""
12068 GPHOTO2_PORT_LIBS
=""; GPHOTO2_PORT_CFLAGS
=""
12072 CPPFLAGS
=$ac_save_CPPFLAGS
12073 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS
=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12074 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS
=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12077 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
12078 case "x$with_gphoto" in
12079 x
) as_fn_append wine_notices
"|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
12081 *) as_fn_error $?
"libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
12082 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12085 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
12086 case "x$with_gphoto" in
12087 x
) as_fn_append wine_notices
"|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
12089 *) as_fn_error $?
"libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
12090 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12095 if test "$ac_cv_header_resolv_h" = "yes"
12097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
12098 $as_echo_n "checking for resolver library... " >&6; }
12099 if ${ac_cv_have_resolv+:} false
; then :
12100 $as_echo_n "(cached) " >&6
12102 ac_save_LIBS
="$LIBS"
12103 for lib
in '' -lresolv
12105 LIBS
="$lib $ac_save_LIBS"
12106 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12107 /* end confdefs.h. */
12108 #ifdef HAVE_NETINET_IN_H
12109 #include <netinet/in.h>
12111 #include <resolv.h>
12115 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
12120 if ac_fn_c_try_link
"$LINENO"; then :
12121 ac_cv_have_resolv
=${lib:-"none required"}
12123 ac_cv_have_resolv
="not found"
12125 rm -f core conftest.err conftest.
$ac_objext \
12126 conftest
$ac_exeext conftest.
$ac_ext
12127 test "x$ac_cv_have_resolv" = "xnot found" ||
break
12129 LIBS
="$ac_save_LIBS"
12131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
12132 $as_echo "$ac_cv_have_resolv" >&6; }
12134 case "$ac_cv_have_resolv" in
12138 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12141 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12143 RESOLV_LIBS
=$ac_cv_have_resolv
12148 if test "x$with_cms" != "xno"
12150 if ${LCMS2_CFLAGS:+false} :; then :
12151 if ${PKG_CONFIG+:} false
; then :
12152 LCMS2_CFLAGS
=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
12156 if ${LCMS2_LIBS:+false} :; then :
12157 if ${PKG_CONFIG+:} false
; then :
12158 LCMS2_LIBS
=`$PKG_CONFIG --libs lcms2 2>/dev/null`
12162 LCMS2_LIBS
=${LCMS2_LIBS:-"-llcms2"}
12163 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
12164 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
12165 ac_save_CPPFLAGS
=$CPPFLAGS
12166 CPPFLAGS
="$CPPFLAGS $LCMS2_CFLAGS"
12167 for ac_header
in lcms2.h
12169 ac_fn_c_check_header_mongrel
"$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
12170 if test "x$ac_cv_header_lcms2_h" = xyes
; then :
12171 cat >>confdefs.h
<<_ACEOF
12172 #define HAVE_LCMS2_H 1
12179 if test "$ac_cv_header_lcms2_h" = "yes"
12181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
12182 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
12183 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false
; then :
12184 $as_echo_n "(cached) " >&6
12186 ac_check_lib_save_LIBS
=$LIBS
12187 LIBS
="-llcms2 $LCMS2_LIBS $LIBS"
12188 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12189 /* end confdefs.h. */
12191 /* Override any GCC internal prototype to avoid an error.
12192 Use char because int might match the return type of a GCC
12193 builtin and then its argument prototype would still apply. */
12197 char cmsOpenProfileFromFile ();
12201 return cmsOpenProfileFromFile ();
12206 if ac_fn_c_try_link
"$LINENO"; then :
12207 ac_cv_lib_lcms2_cmsOpenProfileFromFile
=yes
12209 ac_cv_lib_lcms2_cmsOpenProfileFromFile
=no
12211 rm -f core conftest.err conftest.
$ac_objext \
12212 conftest
$ac_exeext conftest.
$ac_ext
12213 LIBS
=$ac_check_lib_save_LIBS
12215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
12216 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
12217 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes
; then :
12219 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
12229 CPPFLAGS
=$ac_save_CPPFLAGS
12230 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS
=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12231 test -z "$LCMS2_LIBS" || LCMS2_LIBS
=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12234 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
12235 case "x$with_cms" in
12236 x
) as_fn_append wine_notices
"|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
12238 *) as_fn_error $?
"liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
12239 This is an error since --with-cms was requested." "$LINENO" 5 ;;
12243 if test "x$with_freetype" != "xno"
12245 if ${FREETYPE_CFLAGS:+false} :; then :
12246 if ${PKG_CONFIG+:} false
; then :
12247 FREETYPE_CFLAGS
=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
12250 test "$cross_compiling" = yes || FREETYPE_CFLAGS
=${FREETYPE_CFLAGS:-`(freetype-config --cflags || freetype2-config --cflags) 2>/dev/null`}
12251 if ${FREETYPE_LIBS:+false} :; then :
12252 if ${PKG_CONFIG+:} false
; then :
12253 FREETYPE_LIBS
=`$PKG_CONFIG --libs freetype2 2>/dev/null`
12256 test "$cross_compiling" = yes || FREETYPE_LIBS
=${FREETYPE_LIBS:-`(freetype-config --libs || freetype2-config --libs) 2>/dev/null`}
12257 FREETYPE_LIBS
=${FREETYPE_LIBS:-"-lfreetype"}
12258 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
12259 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
12260 ac_save_CPPFLAGS
=$CPPFLAGS
12261 CPPFLAGS
="$CPPFLAGS $FREETYPE_CFLAGS"
12262 for ac_header
in ft2build.h
12264 ac_fn_c_check_header_mongrel
"$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
12265 if test "x$ac_cv_header_ft2build_h" = xyes
; then :
12266 cat >>confdefs.h
<<_ACEOF
12267 #define HAVE_FT2BUILD_H 1
12274 if test "$ac_cv_header_ft2build_h" = "yes"
12276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
12277 $as_echo_n "checking for -lfreetype... " >&6; }
12278 if ${ac_cv_lib_soname_freetype+:} false
; then :
12279 $as_echo_n "(cached) " >&6
12281 ac_check_soname_save_LIBS
=$LIBS
12282 LIBS
="-lfreetype $FREETYPE_LIBS $LIBS"
12283 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12284 /* end confdefs.h. */
12286 /* Override any GCC internal prototype to avoid an error.
12287 Use char because int might match the return type of a GCC
12288 builtin and then its argument prototype would still apply. */
12292 char FT_Init_FreeType ();
12296 return FT_Init_FreeType ();
12301 if ac_fn_c_try_link
"$LINENO"; then :
12303 dll
) ac_cv_lib_soname_freetype
=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12304 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'` ;;
12305 *) ac_cv_lib_soname_freetype
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12306 if ${ac_cv_lib_soname_freetype:+false} :; then :
12307 ac_cv_lib_soname_freetype
=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12311 rm -f core conftest.err conftest.
$ac_objext \
12312 conftest
$ac_exeext conftest.
$ac_ext
12313 LIBS
=$ac_check_soname_save_LIBS
12315 if ${ac_cv_lib_soname_freetype:+false} :; then :
12316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12317 $as_echo "not found" >&6; }
12320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
12321 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
12323 cat >>confdefs.h
<<_ACEOF
12324 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
12328 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
12330 ac_fn_c_check_type
"$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
12331 #include FT_MODULE_H
12333 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes
; then :
12335 cat >>confdefs.h
<<_ACEOF
12336 #define HAVE_FT_TRUETYPEENGINETYPE 1
12347 CPPFLAGS
=$ac_save_CPPFLAGS
12348 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS
=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12349 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS
=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12352 if test "x$ac_cv_lib_soname_freetype" = x
; then :
12353 case "x$with_freetype" in
12355 *) as_fn_error $?
"FreeType ${notice_platform}development files not found. Fonts will not be built.
12356 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
12359 test "x$ac_cv_lib_soname_freetype" = x
&& enable_fonts
=${enable_fonts:-no}
12361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
12362 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
12363 if ${ac_cv_c_ppdev+:} false
; then :
12364 $as_echo_n "(cached) " >&6
12366 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12367 /* end confdefs.h. */
12368 #ifdef HAVE_SYS_IOCTL_H
12369 # include <sys/ioctl.h>
12371 #include <linux/ppdev.h>
12375 ioctl (1,PPCLAIM,0)
12380 if ac_fn_c_try_compile
"$LINENO"; then :
12381 ac_cv_c_ppdev
="yes"
12385 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
12388 $as_echo "$ac_cv_c_ppdev" >&6; }
12389 if test "$ac_cv_c_ppdev" = "yes"
12392 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
12396 ac_wine_check_funcs_save_LIBS
="$LIBS"
12397 LIBS
="$LIBS $PTHREAD_LIBS"
12399 pthread_attr_get_np \
12400 pthread_getattr_np \
12401 pthread_getthreadid_np \
12402 pthread_get_stackaddr_np \
12403 pthread_get_stacksize_np
12405 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12406 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
12407 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
12408 cat >>confdefs.h
<<_ACEOF
12409 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12415 LIBS
="$ac_wine_check_funcs_save_LIBS"
12417 if test "$ac_cv_header_zlib_h" = "yes"
12419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
12420 $as_echo_n "checking for inflate in -lz... " >&6; }
12421 if ${ac_cv_lib_z_inflate+:} false
; then :
12422 $as_echo_n "(cached) " >&6
12424 ac_check_lib_save_LIBS
=$LIBS
12426 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12427 /* end confdefs.h. */
12429 /* Override any GCC internal prototype to avoid an error.
12430 Use char because int might match the return type of a GCC
12431 builtin and then its argument prototype would still apply. */
12444 if ac_fn_c_try_link
"$LINENO"; then :
12445 ac_cv_lib_z_inflate
=yes
12447 ac_cv_lib_z_inflate
=no
12449 rm -f core conftest.err conftest.
$ac_objext \
12450 conftest
$ac_exeext conftest.
$ac_ext
12451 LIBS
=$ac_check_lib_save_LIBS
12453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
12454 $as_echo "$ac_cv_lib_z_inflate" >&6; }
12455 if test "x$ac_cv_lib_z_inflate" = xyes
; then :
12457 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
12464 if test "x$Z_LIBS" = "x"; then :
12465 case "x$with_zlib" in
12466 x
) as_fn_append wine_notices
"|libz ${notice_platform}development files not found, data compression won't be supported." ;;
12468 *) as_fn_error $?
"libz ${notice_platform}development files not found, data compression won't be supported.
12469 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
12473 if test "x$enable_tools" != xno
12475 if test "$ac_cv_header_gettext_po_h" = "yes"
12477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
12478 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
12479 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false
; then :
12480 $as_echo_n "(cached) " >&6
12482 ac_check_lib_save_LIBS
=$LIBS
12483 LIBS
="-lgettextpo $LIBS"
12484 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12485 /* end confdefs.h. */
12487 /* Override any GCC internal prototype to avoid an error.
12488 Use char because int might match the return type of a GCC
12489 builtin and then its argument prototype would still apply. */
12493 char po_message_msgctxt ();
12497 return po_message_msgctxt ();
12502 if ac_fn_c_try_link
"$LINENO"; then :
12503 ac_cv_lib_gettextpo_po_message_msgctxt
=yes
12505 ac_cv_lib_gettextpo_po_message_msgctxt
=no
12507 rm -f core conftest.err conftest.
$ac_objext \
12508 conftest
$ac_exeext conftest.
$ac_ext
12509 LIBS
=$ac_check_lib_save_LIBS
12511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
12512 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
12513 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes
; then :
12515 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
12517 GETTEXTPO_LIBS
="-lgettextpo"
12522 test "x$with_gettextpo" != xyes ||
if test "x$GETTEXTPO_LIBS" = "x"; then :
12523 case "x$with_gettextpo" in
12524 x
) as_fn_append wine_notices
"|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
12526 *) as_fn_error $?
"GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
12527 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12532 if test "x$with_gstreamer" != "xno"
12534 if ${GSTREAMER_CFLAGS:+false} :; then :
12535 if ${PKG_CONFIG+:} false
; then :
12536 GSTREAMER_CFLAGS
=`$PKG_CONFIG --cflags gstreamer-app-0.10 2>/dev/null`
12540 if ${GSTREAMER_LIBS:+false} :; then :
12541 if ${PKG_CONFIG+:} false
; then :
12542 GSTREAMER_LIBS
=`$PKG_CONFIG --libs gstreamer-app-0.10 2>/dev/null`
12547 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-app-0.10 cflags: $GSTREAMER_CFLAGS" >&5
12548 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-app-0.10 libs: $GSTREAMER_LIBS" >&5
12549 ac_save_CPPFLAGS
=$CPPFLAGS
12550 CPPFLAGS
="$CPPFLAGS $GSTREAMER_CFLAGS"
12552 for i
in $GSTREAMER_CFLAGS
12555 -I*) ac_gst_incl
="$ac_gst_incl $i";;
12558 GSTREAMER_CFLAGS
=$ac_gst_incl
12559 CPPFLAGS
="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
12560 ac_fn_c_check_header_mongrel
"$LINENO" "gst/gstpad.h" "ac_cv_header_gst_gstpad_h" "$ac_includes_default"
12561 if test "x$ac_cv_header_gst_gstpad_h" = xyes
; then :
12562 ac_fn_c_check_header_mongrel
"$LINENO" "gst/app/gstappsink.h" "ac_cv_header_gst_app_gstappsink_h" "$ac_includes_default"
12563 if test "x$ac_cv_header_gst_app_gstappsink_h" = xyes
; then :
12564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit" >&5
12565 $as_echo_n "checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit... " >&6; }
12566 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12567 /* end confdefs.h. */
12568 #include <gst/app/gstappsink.h>
12572 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
12577 if ac_fn_c_try_compile
"$LINENO"; then :
12578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12579 $as_echo "yes" >&6; }
12580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_get_caps_reffed in -lgstreamer-0.10" >&5
12581 $as_echo_n "checking for gst_pad_get_caps_reffed in -lgstreamer-0.10... " >&6; }
12582 if ${ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed+:} false
; then :
12583 $as_echo_n "(cached) " >&6
12585 ac_check_lib_save_LIBS
=$LIBS
12586 LIBS
="-lgstreamer-0.10 $LIBS"
12587 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12588 /* end confdefs.h. */
12590 /* Override any GCC internal prototype to avoid an error.
12591 Use char because int might match the return type of a GCC
12592 builtin and then its argument prototype would still apply. */
12596 char gst_pad_get_caps_reffed ();
12600 return gst_pad_get_caps_reffed ();
12605 if ac_fn_c_try_link
"$LINENO"; then :
12606 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed
=yes
12608 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed
=no
12610 rm -f core conftest.err conftest.
$ac_objext \
12611 conftest
$ac_exeext conftest.
$ac_ext
12612 LIBS
=$ac_check_lib_save_LIBS
12614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&5
12615 $as_echo "$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&6; }
12616 if test "x$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" = xyes
; then :
12617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_app_buffer_new in -lgstapp-0.10" >&5
12618 $as_echo_n "checking for gst_app_buffer_new in -lgstapp-0.10... " >&6; }
12619 if ${ac_cv_lib_gstapp_0_10_gst_app_buffer_new+:} false
; then :
12620 $as_echo_n "(cached) " >&6
12622 ac_check_lib_save_LIBS
=$LIBS
12623 LIBS
="-lgstapp-0.10 $GSTREAMER_LIBS $LIBS"
12624 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12625 /* end confdefs.h. */
12627 /* Override any GCC internal prototype to avoid an error.
12628 Use char because int might match the return type of a GCC
12629 builtin and then its argument prototype would still apply. */
12633 char gst_app_buffer_new ();
12637 return gst_app_buffer_new ();
12642 if ac_fn_c_try_link
"$LINENO"; then :
12643 ac_cv_lib_gstapp_0_10_gst_app_buffer_new
=yes
12645 ac_cv_lib_gstapp_0_10_gst_app_buffer_new
=no
12647 rm -f core conftest.err conftest.
$ac_objext \
12648 conftest
$ac_exeext conftest.
$ac_ext
12649 LIBS
=$ac_check_lib_save_LIBS
12651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&5
12652 $as_echo "$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&6; }
12653 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes
; then :
12660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12661 $as_echo "no" >&6; }
12663 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12668 GSTREAMER_CFLAGS
=""
12672 CPPFLAGS
=$ac_save_CPPFLAGS
12673 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS
=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12674 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS
=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12677 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" != xyes
-a "x$ac_cv_header_QuickTime_ImageCompression_h" != xyes
; then :
12678 case "x$with_gstreamer" in
12679 x
) as_fn_append wine_notices
"|gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled" ;;
12681 *) as_fn_error $?
"gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled
12682 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
12685 test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes || enable_winegstreamer
=${enable_winegstreamer:-no}
12689 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
12691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
12692 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
12693 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false
; then :
12694 $as_echo_n "(cached) " >&6
12696 ac_check_lib_save_LIBS
=$LIBS
12697 LIBS
="-lasound $LIBS"
12698 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12699 /* end confdefs.h. */
12701 /* Override any GCC internal prototype to avoid an error.
12702 Use char because int might match the return type of a GCC
12703 builtin and then its argument prototype would still apply. */
12707 char snd_pcm_hw_params_get_access_mask ();
12711 return snd_pcm_hw_params_get_access_mask ();
12716 if ac_fn_c_try_link
"$LINENO"; then :
12717 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask
=yes
12719 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask
=no
12721 rm -f core conftest.err conftest.
$ac_objext \
12722 conftest
$ac_exeext conftest.
$ac_ext
12723 LIBS
=$ac_check_lib_save_LIBS
12725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
12726 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
12727 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes
; then :
12728 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12729 /* end confdefs.h. */
12730 #ifdef HAVE_ALSA_ASOUNDLIB_H
12731 #include <alsa/asoundlib.h>
12732 #elif defined(HAVE_SYS_ASOUNDLIB_H)
12733 #include <sys/asoundlib.h>
12738 snd_pcm_hw_params_get_access_mask(NULL, NULL)
12743 if ac_fn_c_try_compile
"$LINENO"; then :
12744 ALSA_LIBS
="-lasound"
12746 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12751 if test "x$with_oss" != xno
12753 ac_save_CPPFLAGS
="$CPPFLAGS"
12754 if test -f /etc
/oss.conf
12758 ac_oss_incl
="-I${OSSLIBDIR:-/usr/lib/oss}/include"
12759 CPPFLAGS
="$CPPFLAGS $ac_oss_incl"
12760 ac_fn_c_check_header_mongrel
"$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
12761 if test "x$ac_cv_header_sys_soundcard_h" = xyes
; then :
12762 ac_fn_c_check_member
"$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
12764 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes
; then :
12766 cat >>confdefs.h
<<_ACEOF
12767 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
12770 OSS4_CFLAGS
="$ac_oss_incl"
12777 CPPFLAGS
="$ac_save_CPPFLAGS"
12778 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
12780 as_fn_append wine_notices
"|OSS sound system found but too old (OSSv4 needed), OSS won't be supported."
12784 if test "x$with_capi" != "xno"
12786 if ${CAPI20_CFLAGS:+false} :; then :
12787 if ${PKG_CONFIG+:} false
; then :
12788 CAPI20_CFLAGS
=`$PKG_CONFIG --cflags capi20 2>/dev/null`
12792 if ${CAPI20_LIBS:+false} :; then :
12793 if ${PKG_CONFIG+:} false
; then :
12794 CAPI20_LIBS
=`$PKG_CONFIG --libs capi20 2>/dev/null`
12799 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
12800 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
12801 ac_save_CPPFLAGS
=$CPPFLAGS
12802 CPPFLAGS
="$CPPFLAGS $CAPI20_CFLAGS"
12803 for ac_header
in capi20.h linux
/capi.h
12805 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12806 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#define __user
12808 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
12809 cat >>confdefs.h
<<_ACEOF
12810 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12817 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
12819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
12820 $as_echo_n "checking for -lcapi20... " >&6; }
12821 if ${ac_cv_lib_soname_capi20+:} false
; then :
12822 $as_echo_n "(cached) " >&6
12824 ac_check_soname_save_LIBS
=$LIBS
12825 LIBS
="-lcapi20 $CAPI20_LIBS $LIBS"
12826 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12827 /* end confdefs.h. */
12829 /* Override any GCC internal prototype to avoid an error.
12830 Use char because int might match the return type of a GCC
12831 builtin and then its argument prototype would still apply. */
12835 char capi20_register ();
12839 return capi20_register ();
12844 if ac_fn_c_try_link
"$LINENO"; then :
12846 dll
) ac_cv_lib_soname_capi20
=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12847 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'` ;;
12848 *) ac_cv_lib_soname_capi20
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12849 if ${ac_cv_lib_soname_capi20:+false} :; then :
12850 ac_cv_lib_soname_capi20
=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12854 rm -f core conftest.err conftest.
$ac_objext \
12855 conftest
$ac_exeext conftest.
$ac_ext
12856 LIBS
=$ac_check_soname_save_LIBS
12858 if ${ac_cv_lib_soname_capi20:+false} :; then :
12859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12860 $as_echo "not found" >&6; }
12863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
12864 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
12866 cat >>confdefs.h
<<_ACEOF
12867 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
12873 CPPFLAGS
=$ac_save_CPPFLAGS
12874 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS
=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12875 test -z "$CAPI20_LIBS" || CAPI20_LIBS
=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12878 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
12879 case "x$with_capi" in
12880 x
) as_fn_append wine_notices
"|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
12882 *) as_fn_error $?
"libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
12883 This is an error since --with-capi was requested." "$LINENO" 5 ;;
12889 if test "x$with_cups" != "xno"
12891 ac_save_CPPFLAGS
="$CPPFLAGS"
12892 ac_cups_cflags
=`cups-config --cflags 2>/dev/null`
12893 ac_cups_libs
=`cups-config --ldflags 2>/dev/null`
12894 CPPFLAGS
="$CPPFLAGS $ac_cups_cflags"
12895 for ac_header
in cups
/cups.h
12897 ac_fn_c_check_header_mongrel
"$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
12898 if test "x$ac_cv_header_cups_cups_h" = xyes
; then :
12899 cat >>confdefs.h
<<_ACEOF
12900 #define HAVE_CUPS_CUPS_H 1
12902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
12903 $as_echo_n "checking for -lcups... " >&6; }
12904 if ${ac_cv_lib_soname_cups+:} false
; then :
12905 $as_echo_n "(cached) " >&6
12907 ac_check_soname_save_LIBS
=$LIBS
12908 LIBS
="-lcups $ac_cups_libs $LIBS"
12909 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12910 /* end confdefs.h. */
12912 /* Override any GCC internal prototype to avoid an error.
12913 Use char because int might match the return type of a GCC
12914 builtin and then its argument prototype would still apply. */
12918 char cupsGetDefault ();
12922 return cupsGetDefault ();
12927 if ac_fn_c_try_link
"$LINENO"; then :
12929 dll
) ac_cv_lib_soname_cups
=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12930 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'` ;;
12931 *) ac_cv_lib_soname_cups
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12932 if ${ac_cv_lib_soname_cups:+false} :; then :
12933 ac_cv_lib_soname_cups
=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12937 rm -f core conftest.err conftest.
$ac_objext \
12938 conftest
$ac_exeext conftest.
$ac_ext
12939 LIBS
=$ac_check_soname_save_LIBS
12941 if ${ac_cv_lib_soname_cups:+false} :; then :
12942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12943 $as_echo "not found" >&6; }
12946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
12947 $as_echo "$ac_cv_lib_soname_cups" >&6; }
12949 cat >>confdefs.h
<<_ACEOF
12950 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
12953 CUPS_CFLAGS
="$ac_cups_cflags"
12959 CPPFLAGS
="$ac_save_CPPFLAGS"
12961 if test "x$ac_cv_lib_soname_cups" = "x"; then :
12962 case "x$with_cups" in
12963 x
) as_fn_append wine_notices
"|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
12965 *) as_fn_error $?
"libcups ${notice_platform}development files not found, CUPS won't be supported.
12966 This is an error since --with-cups was requested." "$LINENO" 5 ;;
12970 if test "x$with_fontconfig" != "xno"
12972 if ${FONTCONFIG_CFLAGS:+false} :; then :
12973 if ${PKG_CONFIG+:} false
; then :
12974 FONTCONFIG_CFLAGS
=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
12977 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS
=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
12978 if ${FONTCONFIG_LIBS:+false} :; then :
12979 if ${PKG_CONFIG+:} false
; then :
12980 FONTCONFIG_LIBS
=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
12983 test "$cross_compiling" = yes || FONTCONFIG_LIBS
=${FONTCONFIG_LIBS:-$X_LIBS}
12985 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
12986 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
12987 ac_save_CPPFLAGS
=$CPPFLAGS
12988 CPPFLAGS
="$CPPFLAGS $FONTCONFIG_CFLAGS"
12989 for ac_header
in fontconfig
/fontconfig.h
12991 ac_fn_c_check_header_mongrel
"$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
12992 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes
; then :
12993 cat >>confdefs.h
<<_ACEOF
12994 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
13001 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
13003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
13004 $as_echo_n "checking for -lfontconfig... " >&6; }
13005 if ${ac_cv_lib_soname_fontconfig+:} false
; then :
13006 $as_echo_n "(cached) " >&6
13008 ac_check_soname_save_LIBS
=$LIBS
13009 LIBS
="-lfontconfig $FONTCONFIG_LIBS $LIBS"
13010 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13011 /* end confdefs.h. */
13013 /* Override any GCC internal prototype to avoid an error.
13014 Use char because int might match the return type of a GCC
13015 builtin and then its argument prototype would still apply. */
13028 if ac_fn_c_try_link
"$LINENO"; then :
13030 dll
) ac_cv_lib_soname_fontconfig
=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13031 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'` ;;
13032 *) ac_cv_lib_soname_fontconfig
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13033 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13034 ac_cv_lib_soname_fontconfig
=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13038 rm -f core conftest.err conftest.
$ac_objext \
13039 conftest
$ac_exeext conftest.
$ac_ext
13040 LIBS
=$ac_check_soname_save_LIBS
13042 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13044 $as_echo "not found" >&6; }
13045 FONTCONFIG_CFLAGS
=""
13047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
13048 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
13050 cat >>confdefs.h
<<_ACEOF
13051 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
13057 FONTCONFIG_CFLAGS
=""
13059 CPPFLAGS
=$ac_save_CPPFLAGS
13060 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS
=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13061 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS
=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13064 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
13065 case "x$with_fontconfig" in
13066 x
) as_fn_append wine_notices
"|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
13068 *) as_fn_error $?
"fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
13069 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
13073 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
13075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
13076 $as_echo_n "checking for -lgsm... " >&6; }
13077 if ${ac_cv_lib_soname_gsm+:} false
; then :
13078 $as_echo_n "(cached) " >&6
13080 ac_check_soname_save_LIBS
=$LIBS
13082 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13083 /* end confdefs.h. */
13085 /* Override any GCC internal prototype to avoid an error.
13086 Use char because int might match the return type of a GCC
13087 builtin and then its argument prototype would still apply. */
13091 char gsm_create ();
13095 return gsm_create ();
13100 if ac_fn_c_try_link
"$LINENO"; then :
13102 dll
) ac_cv_lib_soname_gsm
=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13103 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'` ;;
13104 *) ac_cv_lib_soname_gsm
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13105 if ${ac_cv_lib_soname_gsm:+false} :; then :
13106 ac_cv_lib_soname_gsm
=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13110 rm -f core conftest.err conftest.
$ac_objext \
13111 conftest
$ac_exeext conftest.
$ac_ext
13112 LIBS
=$ac_check_soname_save_LIBS
13114 if ${ac_cv_lib_soname_gsm:+false} :; then :
13115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13116 $as_echo "not found" >&6; }
13119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
13120 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
13122 cat >>confdefs.h
<<_ACEOF
13123 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
13129 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
13130 case "x$with_gsm" in
13131 x
) as_fn_append wine_notices
"|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
13133 *) as_fn_error $?
"libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
13134 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
13138 if test "x$with_jpeg" != "xno"
13140 if ${JPEG_CFLAGS:+false} :; then :
13141 if ${PKG_CONFIG+:} false
; then :
13142 JPEG_CFLAGS
=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
13146 if ${JPEG_LIBS:+false} :; then :
13147 if ${PKG_CONFIG+:} false
; then :
13148 JPEG_LIBS
=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
13153 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
13154 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
13155 ac_save_CPPFLAGS
=$CPPFLAGS
13156 CPPFLAGS
="$CPPFLAGS $JPEG_CFLAGS"
13157 for ac_header
in jpeglib.h
13159 ac_fn_c_check_header_mongrel
"$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
13160 if test "x$ac_cv_header_jpeglib_h" = xyes
; then :
13161 cat >>confdefs.h
<<_ACEOF
13162 #define HAVE_JPEGLIB_H 1
13169 if test "$ac_cv_header_jpeglib_h" = "yes"
13171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
13172 $as_echo_n "checking for -ljpeg... " >&6; }
13173 if ${ac_cv_lib_soname_jpeg+:} false
; then :
13174 $as_echo_n "(cached) " >&6
13176 ac_check_soname_save_LIBS
=$LIBS
13177 LIBS
="-ljpeg $JPEG_LIBS $LIBS"
13178 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13179 /* end confdefs.h. */
13181 /* Override any GCC internal prototype to avoid an error.
13182 Use char because int might match the return type of a GCC
13183 builtin and then its argument prototype would still apply. */
13187 char jpeg_start_decompress ();
13191 return jpeg_start_decompress ();
13196 if ac_fn_c_try_link
"$LINENO"; then :
13198 dll
) ac_cv_lib_soname_jpeg
=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13199 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'` ;;
13200 *) ac_cv_lib_soname_jpeg
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13201 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13202 ac_cv_lib_soname_jpeg
=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13206 rm -f core conftest.err conftest.
$ac_objext \
13207 conftest
$ac_exeext conftest.
$ac_ext
13208 LIBS
=$ac_check_soname_save_LIBS
13210 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13212 $as_echo "not found" >&6; }
13215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
13216 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
13218 cat >>confdefs.h
<<_ACEOF
13219 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
13227 CPPFLAGS
=$ac_save_CPPFLAGS
13228 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS
=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13229 test -z "$JPEG_LIBS" || JPEG_LIBS
=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13232 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
13233 case "x$with_jpeg" in
13234 x
) as_fn_append wine_warnings
"|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
13236 *) as_fn_error $?
"libjpeg ${notice_platform}development files not found, JPEG won't be supported.
13237 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
13241 if test "x$with_png" != "xno"
13243 if ${PNG_CFLAGS:+false} :; then :
13244 if ${PKG_CONFIG+:} false
; then :
13245 PNG_CFLAGS
=`$PKG_CONFIG --cflags libpng 2>/dev/null`
13248 test "$cross_compiling" = yes || PNG_CFLAGS
=${PNG_CFLAGS:-$X_CFLAGS}
13249 if ${PNG_LIBS:+false} :; then :
13250 if ${PKG_CONFIG+:} false
; then :
13251 PNG_LIBS
=`$PKG_CONFIG --libs libpng 2>/dev/null`
13254 test "$cross_compiling" = yes || PNG_LIBS
=${PNG_LIBS:-$X_LIBS}
13256 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
13257 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
13258 ac_save_CPPFLAGS
=$CPPFLAGS
13259 CPPFLAGS
="$CPPFLAGS $PNG_CFLAGS"
13260 for ac_header
in png.h
13262 ac_fn_c_check_header_mongrel
"$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
13263 if test "x$ac_cv_header_png_h" = xyes
; then :
13264 cat >>confdefs.h
<<_ACEOF
13265 #define HAVE_PNG_H 1
13272 if test "$ac_cv_header_png_h" = "yes"
13274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
13275 $as_echo_n "checking for -lpng... " >&6; }
13276 if ${ac_cv_lib_soname_png+:} false
; then :
13277 $as_echo_n "(cached) " >&6
13279 ac_check_soname_save_LIBS
=$LIBS
13280 LIBS
="-lpng $PNG_LIBS -lm -lz $LIBS"
13281 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13282 /* end confdefs.h. */
13284 /* Override any GCC internal prototype to avoid an error.
13285 Use char because int might match the return type of a GCC
13286 builtin and then its argument prototype would still apply. */
13290 char png_create_read_struct ();
13294 return png_create_read_struct ();
13299 if ac_fn_c_try_link
"$LINENO"; then :
13301 dll
) ac_cv_lib_soname_png
=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13302 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'` ;;
13303 *) 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'`
13304 if ${ac_cv_lib_soname_png:+false} :; then :
13305 ac_cv_lib_soname_png
=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13309 rm -f core conftest.err conftest.
$ac_objext \
13310 conftest
$ac_exeext conftest.
$ac_ext
13311 LIBS
=$ac_check_soname_save_LIBS
13313 if ${ac_cv_lib_soname_png:+false} :; then :
13314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13315 $as_echo "not found" >&6; }
13318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
13319 $as_echo "$ac_cv_lib_soname_png" >&6; }
13321 cat >>confdefs.h
<<_ACEOF
13322 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
13325 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13326 /* end confdefs.h. */
13331 typeof(png_set_expand_gray_1_2_4_to_8) *p
13336 if ac_fn_c_try_compile
"$LINENO"; then :
13338 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
13341 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13346 CPPFLAGS
=$ac_save_CPPFLAGS
13347 test -z "$PNG_CFLAGS" || PNG_CFLAGS
=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13348 test -z "$PNG_LIBS" || PNG_LIBS
=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13351 if test "x$ac_cv_lib_soname_png" = "x"; then :
13352 case "x$with_png" in
13353 x
) as_fn_append wine_warnings
"|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
13355 *) as_fn_error $?
"libpng ${notice_platform}development files not found, PNG won't be supported.
13356 This is an error since --with-png was requested." "$LINENO" 5 ;;
13360 if test "x$with_tiff" != "xno"
13362 if ${TIFF_CFLAGS:+false} :; then :
13363 if ${PKG_CONFIG+:} false
; then :
13364 TIFF_CFLAGS
=`$PKG_CONFIG --cflags libtiff 2>/dev/null`
13368 if ${TIFF_LIBS:+false} :; then :
13369 if ${PKG_CONFIG+:} false
; then :
13370 TIFF_LIBS
=`$PKG_CONFIG --libs libtiff 2>/dev/null`
13375 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff cflags: $TIFF_CFLAGS" >&5
13376 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff libs: $TIFF_LIBS" >&5
13377 ac_save_CPPFLAGS
=$CPPFLAGS
13378 CPPFLAGS
="$CPPFLAGS $TIFF_CFLAGS"
13379 for ac_header
in tiffio.h
13381 ac_fn_c_check_header_mongrel
"$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
13382 if test "x$ac_cv_header_tiffio_h" = xyes
; then :
13383 cat >>confdefs.h
<<_ACEOF
13384 #define HAVE_TIFFIO_H 1
13391 if test "$ac_cv_header_tiffio_h" = "yes"
13393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
13394 $as_echo_n "checking for -ltiff... " >&6; }
13395 if ${ac_cv_lib_soname_tiff+:} false
; then :
13396 $as_echo_n "(cached) " >&6
13398 ac_check_soname_save_LIBS
=$LIBS
13399 LIBS
="-ltiff $TIFF_LIBS $LIBS"
13400 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13401 /* end confdefs.h. */
13403 /* Override any GCC internal prototype to avoid an error.
13404 Use char because int might match the return type of a GCC
13405 builtin and then its argument prototype would still apply. */
13409 char TIFFClientOpen ();
13413 return TIFFClientOpen ();
13418 if ac_fn_c_try_link
"$LINENO"; then :
13420 dll
) ac_cv_lib_soname_tiff
=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13421 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'` ;;
13422 *) ac_cv_lib_soname_tiff
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13423 if ${ac_cv_lib_soname_tiff:+false} :; then :
13424 ac_cv_lib_soname_tiff
=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13428 rm -f core conftest.err conftest.
$ac_objext \
13429 conftest
$ac_exeext conftest.
$ac_ext
13430 LIBS
=$ac_check_soname_save_LIBS
13432 if ${ac_cv_lib_soname_tiff:+false} :; then :
13433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13434 $as_echo "not found" >&6; }
13437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
13438 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
13440 cat >>confdefs.h
<<_ACEOF
13441 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
13447 CPPFLAGS
=$ac_save_CPPFLAGS
13448 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS
=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13449 test -z "$TIFF_LIBS" || TIFF_LIBS
=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13452 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
13453 case "x$with_tiff" in
13454 x
) as_fn_append wine_notices
"|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
13456 *) as_fn_error $?
"libtiff ${notice_platform}development files not found, TIFF won't be supported.
13457 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
13461 if test "x$with_mpg123" != "xno"
13463 if ${MPG123_CFLAGS:+false} :; then :
13464 if ${PKG_CONFIG+:} false
; then :
13465 MPG123_CFLAGS
=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
13469 if ${MPG123_LIBS:+false} :; then :
13470 if ${PKG_CONFIG+:} false
; then :
13471 MPG123_LIBS
=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
13475 MPG123_LIBS
=${MPG123_LIBS:-"-lmpg123"}
13476 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
13477 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
13478 ac_save_CPPFLAGS
=$CPPFLAGS
13479 CPPFLAGS
="$CPPFLAGS $MPG123_CFLAGS"
13480 for ac_header
in mpg123.h
13482 ac_fn_c_check_header_mongrel
"$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
13483 if test "x$ac_cv_header_mpg123_h" = xyes
; then :
13484 cat >>confdefs.h
<<_ACEOF
13485 #define HAVE_MPG123_H 1
13492 if test "$ac_cv_header_mpg123_h" = "yes"
13494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
13495 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
13496 if ${ac_cv_lib_mpg123_mpg123_feed+:} false
; then :
13497 $as_echo_n "(cached) " >&6
13499 ac_check_lib_save_LIBS
=$LIBS
13500 LIBS
="-lmpg123 $MPG123_LIBS $LIBS"
13501 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13502 /* end confdefs.h. */
13504 /* Override any GCC internal prototype to avoid an error.
13505 Use char because int might match the return type of a GCC
13506 builtin and then its argument prototype would still apply. */
13510 char mpg123_feed ();
13514 return mpg123_feed ();
13519 if ac_fn_c_try_link
"$LINENO"; then :
13520 ac_cv_lib_mpg123_mpg123_feed
=yes
13522 ac_cv_lib_mpg123_mpg123_feed
=no
13524 rm -f core conftest.err conftest.
$ac_objext \
13525 conftest
$ac_exeext conftest.
$ac_ext
13526 LIBS
=$ac_check_lib_save_LIBS
13528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
13529 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
13530 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes
; then :
13540 CPPFLAGS
=$ac_save_CPPFLAGS
13541 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS
=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13542 test -z "$MPG123_LIBS" || MPG123_LIBS
=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13545 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes
-a x
"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes
; then :
13546 case "x$with_mpg123" in
13547 x
) as_fn_append wine_notices
"|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
13549 *) as_fn_error $?
"libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
13550 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
13553 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}
13555 if test "$ac_cv_header_AL_al_h" = "yes"
13557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
13558 $as_echo_n "checking for -lopenal... " >&6; }
13559 if ${ac_cv_lib_soname_openal+:} false
; then :
13560 $as_echo_n "(cached) " >&6
13562 ac_check_soname_save_LIBS
=$LIBS
13563 LIBS
="-lopenal $LIBS"
13564 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13565 /* end confdefs.h. */
13567 /* Override any GCC internal prototype to avoid an error.
13568 Use char because int might match the return type of a GCC
13569 builtin and then its argument prototype would still apply. */
13573 char alGetSource3i ();
13577 return alGetSource3i ();
13582 if ac_fn_c_try_link
"$LINENO"; then :
13584 dll
) ac_cv_lib_soname_openal
=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13585 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'` ;;
13586 *) ac_cv_lib_soname_openal
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13587 if ${ac_cv_lib_soname_openal:+false} :; then :
13588 ac_cv_lib_soname_openal
=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13592 rm -f core conftest.err conftest.
$ac_objext \
13593 conftest
$ac_exeext conftest.
$ac_ext
13594 LIBS
=$ac_check_soname_save_LIBS
13596 if ${ac_cv_lib_soname_openal:+false} :; then :
13597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13598 $as_echo "not found" >&6; }
13601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
13602 $as_echo "$ac_cv_lib_soname_openal" >&6; }
13604 cat >>confdefs.h
<<_ACEOF
13605 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
13608 OPENAL_LIBS
="-lopenal"
13610 ac_cv_lib_openal
=yes
13612 cat >>confdefs.h
<<_ACEOF
13613 #define HAVE_OPENAL 1
13618 if test "x$ac_cv_lib_openal" != xyes
; then :
13619 case "x$with_openal" in
13620 x
) as_fn_append wine_notices
"|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported" ;;
13622 *) as_fn_error $?
"libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported
13623 This is an error since --with-openal was requested." "$LINENO" 5 ;;
13626 test "x$ac_cv_lib_openal" = xyes || enable_openal32
=${enable_openal32:-no}
13628 if test "x$ac_cv_lib_openal" = xyes
13630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for openal-soft" >&5
13631 $as_echo_n "checking for openal-soft... " >&6; }
13632 if ${ac_cv_have_openalsoft+:} false
; then :
13633 $as_echo_n "(cached) " >&6
13635 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13636 /* end confdefs.h. */
13637 #include <AL/alext.h>
13638 LPALCRENDERSAMPLESSOFT x;
13647 if ac_fn_c_try_compile
"$LINENO"; then :
13648 ac_cv_have_openalsoft
=yes
13650 ac_cv_have_openalsoft
=no
13652 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_openalsoft" >&5
13655 $as_echo "$ac_cv_have_openalsoft" >&6; }
13657 if test "x$ac_cv_have_openalsoft" != xyes
13659 as_fn_append wine_notices
"|openal-soft ${notice_platform}development files not found (or too old), XAudio2 won't be supported"
13660 enable_xaudio2_7
=${enable_xaudio2_7:-no}
13663 if test "$ac_cv_header_kstat_h" = "yes"
13665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
13666 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
13667 if ${ac_cv_lib_kstat_kstat_open+:} false
; then :
13668 $as_echo_n "(cached) " >&6
13670 ac_check_lib_save_LIBS
=$LIBS
13671 LIBS
="-lkstat $LIBS"
13672 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13673 /* end confdefs.h. */
13675 /* Override any GCC internal prototype to avoid an error.
13676 Use char because int might match the return type of a GCC
13677 builtin and then its argument prototype would still apply. */
13681 char kstat_open ();
13685 return kstat_open ();
13690 if ac_fn_c_try_link
"$LINENO"; then :
13691 ac_cv_lib_kstat_kstat_open
=yes
13693 ac_cv_lib_kstat_kstat_open
=no
13695 rm -f core conftest.err conftest.
$ac_objext \
13696 conftest
$ac_exeext conftest.
$ac_ext
13697 LIBS
=$ac_check_lib_save_LIBS
13699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
13700 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
13701 if test "x$ac_cv_lib_kstat_kstat_open" = xyes
; then :
13703 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
13705 KSTAT_LIBS
="-lkstat"
13711 if test "$ac_cv_header_libprocstat_h" = "yes"
13713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
13714 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
13715 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false
; then :
13716 $as_echo_n "(cached) " >&6
13718 ac_check_lib_save_LIBS
=$LIBS
13719 LIBS
="-lprocstat $LIBS"
13720 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13721 /* end confdefs.h. */
13723 /* Override any GCC internal prototype to avoid an error.
13724 Use char because int might match the return type of a GCC
13725 builtin and then its argument prototype would still apply. */
13729 char procstat_open_sysctl ();
13733 return procstat_open_sysctl ();
13738 if ac_fn_c_try_link
"$LINENO"; then :
13739 ac_cv_lib_procstat_procstat_open_sysctl
=yes
13741 ac_cv_lib_procstat_procstat_open_sysctl
=no
13743 rm -f core conftest.err conftest.
$ac_objext \
13744 conftest
$ac_exeext conftest.
$ac_ext
13745 LIBS
=$ac_check_lib_save_LIBS
13747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
13748 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
13749 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes
; then :
13751 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
13753 PROCSTAT_LIBS
="-lprocstat"
13759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
13760 $as_echo_n "checking for -lodbc... " >&6; }
13761 if ${ac_cv_lib_soname_odbc+:} false
; then :
13762 $as_echo_n "(cached) " >&6
13764 ac_check_soname_save_LIBS
=$LIBS
13765 LIBS
="-lodbc $LIBS"
13766 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13767 /* end confdefs.h. */
13769 /* Override any GCC internal prototype to avoid an error.
13770 Use char because int might match the return type of a GCC
13771 builtin and then its argument prototype would still apply. */
13775 char SQLConnect ();
13779 return SQLConnect ();
13784 if ac_fn_c_try_link
"$LINENO"; then :
13786 dll
) ac_cv_lib_soname_odbc
=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13787 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'` ;;
13788 *) ac_cv_lib_soname_odbc
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13789 if ${ac_cv_lib_soname_odbc:+false} :; then :
13790 ac_cv_lib_soname_odbc
=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13794 rm -f core conftest.err conftest.
$ac_objext \
13795 conftest
$ac_exeext conftest.
$ac_ext
13796 LIBS
=$ac_check_soname_save_LIBS
13798 if ${ac_cv_lib_soname_odbc:+false} :; then :
13799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13800 $as_echo "not found" >&6; }
13801 cat >>confdefs.h
<<_ACEOF
13802 #define SONAME_LIBODBC "libodbc.$LIBEXT"
13806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
13807 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
13809 cat >>confdefs.h
<<_ACEOF
13810 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
13816 if test "x$with_netapi" != "xno"
13818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
13819 $as_echo_n "checking for -lnetapi... " >&6; }
13820 if ${ac_cv_lib_soname_netapi+:} false
; then :
13821 $as_echo_n "(cached) " >&6
13823 ac_check_soname_save_LIBS
=$LIBS
13824 LIBS
="-lnetapi $LIBS"
13825 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13826 /* end confdefs.h. */
13828 /* Override any GCC internal prototype to avoid an error.
13829 Use char because int might match the return type of a GCC
13830 builtin and then its argument prototype would still apply. */
13834 char libnetapi_init ();
13838 return libnetapi_init ();
13843 if ac_fn_c_try_link
"$LINENO"; then :
13845 dll
) ac_cv_lib_soname_netapi
=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13846 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'` ;;
13847 *) ac_cv_lib_soname_netapi
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13848 if ${ac_cv_lib_soname_netapi:+false} :; then :
13849 ac_cv_lib_soname_netapi
=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13853 rm -f core conftest.err conftest.
$ac_objext \
13854 conftest
$ac_exeext conftest.
$ac_ext
13855 LIBS
=$ac_check_soname_save_LIBS
13857 if ${ac_cv_lib_soname_netapi:+false} :; then :
13858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13859 $as_echo "not found" >&6; }
13860 cat >>confdefs.h
<<_ACEOF
13861 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
13865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
13866 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
13868 cat >>confdefs.h
<<_ACEOF
13869 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
13876 test -n "$ALSA_LIBS" || enable_winealsa_drv
=${enable_winealsa_drv:-no}
13877 test -n "$COREAUDIO_LIBS" || enable_winecoreaudio_drv
=${enable_winecoreaudio_drv:-no}
13878 test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes || enable_wineoss_drv
=${enable_wineoss_drv:-no}
13879 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv
=${enable_winejoystick_drv:-no}
13881 if test "x$ALSA_LIBS$COREAUDIO_LIBS" = "x" -a \
13882 "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
-a \
13883 "x$with_alsa$with_coreaudio$with_oss" != xnonono
13885 as_fn_append wine_warnings
"|No sound system was found. Windows applications will be silent."
13891 if test "x${GCC}" = "xyes"
13893 EXTRACFLAGS
="-Wall -pipe"
13895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
13896 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
13897 if ${ac_cv_c_gcc_strength_bug+:} false
; then :
13898 $as_echo_n "(cached) " >&6
13900 if test "$cross_compiling" = yes; then :
13901 ac_cv_c_gcc_strength_bug
="no"
13903 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13904 /* end confdefs.h. */
13905 int L[4] = {0,1,2,3};
13909 static int Array[3];
13910 unsigned int B = 3;
13912 for(i=0; i<B; i++) Array[i] = i - 3;
13913 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
13915 return (Array[1] != -2 || L[2] != 3)
13920 if ac_fn_c_try_run
"$LINENO"; then :
13921 ac_cv_c_gcc_strength_bug
="no"
13923 ac_cv_c_gcc_strength_bug
="yes"
13925 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
13926 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
13930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
13931 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
13932 if test "$ac_cv_c_gcc_strength_bug" = "yes"
13934 EXTRACFLAGS
="$EXTRACFLAGS -fno-strength-reduce"
13937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
13938 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
13939 if ${ac_cv_cflags__fno_builtin+:} false
; then :
13940 $as_echo_n "(cached) " >&6
13942 ac_wine_try_cflags_saved
=$CFLAGS
13943 CFLAGS
="$CFLAGS -fno-builtin"
13944 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13945 /* end confdefs.h. */
13946 int main(int argc, char **argv) { return 0; }
13948 if ac_fn_c_try_link
"$LINENO"; then :
13949 ac_cv_cflags__fno_builtin
=yes
13951 ac_cv_cflags__fno_builtin
=no
13953 rm -f core conftest.err conftest.
$ac_objext \
13954 conftest
$ac_exeext conftest.
$ac_ext
13955 CFLAGS
=$ac_wine_try_cflags_saved
13957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
13958 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
13959 if test "x$ac_cv_cflags__fno_builtin" = xyes
; then :
13960 BUILTINFLAG
="-fno-builtin"
13963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
13964 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
13965 if ${ac_cv_cflags__fno_strict_aliasing+:} false
; then :
13966 $as_echo_n "(cached) " >&6
13968 ac_wine_try_cflags_saved
=$CFLAGS
13969 CFLAGS
="$CFLAGS -fno-strict-aliasing"
13970 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13971 /* end confdefs.h. */
13972 int main(int argc, char **argv) { return 0; }
13974 if ac_fn_c_try_link
"$LINENO"; then :
13975 ac_cv_cflags__fno_strict_aliasing
=yes
13977 ac_cv_cflags__fno_strict_aliasing
=no
13979 rm -f core conftest.err conftest.
$ac_objext \
13980 conftest
$ac_exeext conftest.
$ac_ext
13981 CFLAGS
=$ac_wine_try_cflags_saved
13983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
13984 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
13985 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes
; then :
13986 EXTRACFLAGS
="$EXTRACFLAGS -fno-strict-aliasing"
13988 saved_CFLAGS
=$CFLAGS
13989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
13990 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
13991 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false
; then :
13992 $as_echo_n "(cached) " >&6
13994 ac_wine_try_cflags_saved
=$CFLAGS
13995 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
13996 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13997 /* end confdefs.h. */
13998 int main(int argc, char **argv) { return 0; }
14000 if ac_fn_c_try_link
"$LINENO"; then :
14001 ac_cv_cflags__Werror_unknown_warning_option
=yes
14003 ac_cv_cflags__Werror_unknown_warning_option
=no
14005 rm -f core conftest.err conftest.
$ac_objext \
14006 conftest
$ac_exeext conftest.
$ac_ext
14007 CFLAGS
=$ac_wine_try_cflags_saved
14009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
14010 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
14011 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes
; then :
14012 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
14014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
14015 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
14016 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false
; then :
14017 $as_echo_n "(cached) " >&6
14019 ac_wine_try_cflags_saved
=$CFLAGS
14020 CFLAGS
="$CFLAGS -Wdeclaration-after-statement"
14021 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14022 /* end confdefs.h. */
14023 int main(int argc, char **argv) { return 0; }
14025 if ac_fn_c_try_link
"$LINENO"; then :
14026 ac_cv_cflags__Wdeclaration_after_statement
=yes
14028 ac_cv_cflags__Wdeclaration_after_statement
=no
14030 rm -f core conftest.err conftest.
$ac_objext \
14031 conftest
$ac_exeext conftest.
$ac_ext
14032 CFLAGS
=$ac_wine_try_cflags_saved
14034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
14035 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
14036 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes
; then :
14037 EXTRACFLAGS
="$EXTRACFLAGS -Wdeclaration-after-statement"
14039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
14040 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
14041 if ${ac_cv_cflags__Wempty_body+:} false
; then :
14042 $as_echo_n "(cached) " >&6
14044 ac_wine_try_cflags_saved
=$CFLAGS
14045 CFLAGS
="$CFLAGS -Wempty-body"
14046 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14047 /* end confdefs.h. */
14048 int main(int argc, char **argv) { return 0; }
14050 if ac_fn_c_try_link
"$LINENO"; then :
14051 ac_cv_cflags__Wempty_body
=yes
14053 ac_cv_cflags__Wempty_body
=no
14055 rm -f core conftest.err conftest.
$ac_objext \
14056 conftest
$ac_exeext conftest.
$ac_ext
14057 CFLAGS
=$ac_wine_try_cflags_saved
14059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
14060 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
14061 if test "x$ac_cv_cflags__Wempty_body" = xyes
; then :
14062 EXTRACFLAGS
="$EXTRACFLAGS -Wempty-body"
14064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
14065 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
14066 if ${ac_cv_cflags__Wignored_qualifiers+:} false
; then :
14067 $as_echo_n "(cached) " >&6
14069 ac_wine_try_cflags_saved
=$CFLAGS
14070 CFLAGS
="$CFLAGS -Wignored-qualifiers"
14071 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14072 /* end confdefs.h. */
14073 int main(int argc, char **argv) { return 0; }
14075 if ac_fn_c_try_link
"$LINENO"; then :
14076 ac_cv_cflags__Wignored_qualifiers
=yes
14078 ac_cv_cflags__Wignored_qualifiers
=no
14080 rm -f core conftest.err conftest.
$ac_objext \
14081 conftest
$ac_exeext conftest.
$ac_ext
14082 CFLAGS
=$ac_wine_try_cflags_saved
14084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
14085 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
14086 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes
; then :
14087 EXTRACFLAGS
="$EXTRACFLAGS -Wignored-qualifiers"
14089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
14090 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
14091 if ${ac_cv_cflags__Wstrict_prototypes+:} false
; then :
14092 $as_echo_n "(cached) " >&6
14094 ac_wine_try_cflags_saved
=$CFLAGS
14095 CFLAGS
="$CFLAGS -Wstrict-prototypes"
14096 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14097 /* end confdefs.h. */
14098 int main(int argc, char **argv) { return 0; }
14100 if ac_fn_c_try_link
"$LINENO"; then :
14101 ac_cv_cflags__Wstrict_prototypes
=yes
14103 ac_cv_cflags__Wstrict_prototypes
=no
14105 rm -f core conftest.err conftest.
$ac_objext \
14106 conftest
$ac_exeext conftest.
$ac_ext
14107 CFLAGS
=$ac_wine_try_cflags_saved
14109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
14110 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
14111 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes
; then :
14112 EXTRACFLAGS
="$EXTRACFLAGS -Wstrict-prototypes"
14114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
14115 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
14116 if ${ac_cv_cflags__Wtype_limits+:} false
; then :
14117 $as_echo_n "(cached) " >&6
14119 ac_wine_try_cflags_saved
=$CFLAGS
14120 CFLAGS
="$CFLAGS -Wtype-limits"
14121 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14122 /* end confdefs.h. */
14123 int main(int argc, char **argv) { return 0; }
14125 if ac_fn_c_try_link
"$LINENO"; then :
14126 ac_cv_cflags__Wtype_limits
=yes
14128 ac_cv_cflags__Wtype_limits
=no
14130 rm -f core conftest.err conftest.
$ac_objext \
14131 conftest
$ac_exeext conftest.
$ac_ext
14132 CFLAGS
=$ac_wine_try_cflags_saved
14134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
14135 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
14136 if test "x$ac_cv_cflags__Wtype_limits" = xyes
; then :
14137 EXTRACFLAGS
="$EXTRACFLAGS -Wtype-limits"
14139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
14140 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
14141 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false
; then :
14142 $as_echo_n "(cached) " >&6
14144 ac_wine_try_cflags_saved
=$CFLAGS
14145 CFLAGS
="$CFLAGS -Wunused-but-set-parameter"
14146 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14147 /* end confdefs.h. */
14148 int main(int argc, char **argv) { return 0; }
14150 if ac_fn_c_try_link
"$LINENO"; then :
14151 ac_cv_cflags__Wunused_but_set_parameter
=yes
14153 ac_cv_cflags__Wunused_but_set_parameter
=no
14155 rm -f core conftest.err conftest.
$ac_objext \
14156 conftest
$ac_exeext conftest.
$ac_ext
14157 CFLAGS
=$ac_wine_try_cflags_saved
14159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
14160 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
14161 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes
; then :
14162 EXTRACFLAGS
="$EXTRACFLAGS -Wunused-but-set-parameter"
14164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
14165 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
14166 if ${ac_cv_cflags__Wvla+:} false
; then :
14167 $as_echo_n "(cached) " >&6
14169 ac_wine_try_cflags_saved
=$CFLAGS
14170 CFLAGS
="$CFLAGS -Wvla"
14171 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14172 /* end confdefs.h. */
14173 int main(int argc, char **argv) { return 0; }
14175 if ac_fn_c_try_link
"$LINENO"; then :
14176 ac_cv_cflags__Wvla
=yes
14178 ac_cv_cflags__Wvla
=no
14180 rm -f core conftest.err conftest.
$ac_objext \
14181 conftest
$ac_exeext conftest.
$ac_ext
14182 CFLAGS
=$ac_wine_try_cflags_saved
14184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
14185 $as_echo "$ac_cv_cflags__Wvla" >&6; }
14186 if test "x$ac_cv_cflags__Wvla" = xyes
; then :
14187 EXTRACFLAGS
="$EXTRACFLAGS -Wvla"
14189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
14190 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
14191 if ${ac_cv_cflags__Wwrite_strings+:} false
; then :
14192 $as_echo_n "(cached) " >&6
14194 ac_wine_try_cflags_saved
=$CFLAGS
14195 CFLAGS
="$CFLAGS -Wwrite-strings"
14196 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14197 /* end confdefs.h. */
14198 int main(int argc, char **argv) { return 0; }
14200 if ac_fn_c_try_link
"$LINENO"; then :
14201 ac_cv_cflags__Wwrite_strings
=yes
14203 ac_cv_cflags__Wwrite_strings
=no
14205 rm -f core conftest.err conftest.
$ac_objext \
14206 conftest
$ac_exeext conftest.
$ac_ext
14207 CFLAGS
=$ac_wine_try_cflags_saved
14209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
14210 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
14211 if test "x$ac_cv_cflags__Wwrite_strings" = xyes
; then :
14212 EXTRACFLAGS
="$EXTRACFLAGS -Wwrite-strings"
14215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
14216 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
14217 if ${ac_cv_cflags__Wpointer_arith+:} false
; then :
14218 $as_echo_n "(cached) " >&6
14220 ac_wine_try_cflags_saved
=$CFLAGS
14221 CFLAGS
="$CFLAGS -Wpointer-arith"
14222 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14223 /* end confdefs.h. */
14224 int main(int argc, char **argv) { return 0; }
14226 if ac_fn_c_try_link
"$LINENO"; then :
14227 ac_cv_cflags__Wpointer_arith
=yes
14229 ac_cv_cflags__Wpointer_arith
=no
14231 rm -f core conftest.err conftest.
$ac_objext \
14232 conftest
$ac_exeext conftest.
$ac_ext
14233 CFLAGS
=$ac_wine_try_cflags_saved
14235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
14236 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
14237 if test "x$ac_cv_cflags__Wpointer_arith" = xyes
; then :
14238 saved_string_h_CFLAGS
=$CFLAGS
14239 CFLAGS
="$CFLAGS -Wpointer-arith -Werror"
14240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
14241 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
14242 if ${ac_cv_c_string_h_warnings+:} false
; then :
14243 $as_echo_n "(cached) " >&6
14245 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14246 /* end confdefs.h. */
14247 #include <string.h>
14256 if ac_fn_c_try_compile
"$LINENO"; then :
14257 ac_cv_c_string_h_warnings
=no
14259 ac_cv_c_string_h_warnings
=yes
14261 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
14264 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
14265 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS
="$EXTRACFLAGS -Wpointer-arith"
14266 CFLAGS
=$saved_string_h_CFLAGS
14269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
14270 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
14271 if ${ac_cv_cflags__Wlogical_op+:} false
; then :
14272 $as_echo_n "(cached) " >&6
14274 ac_wine_try_cflags_saved
=$CFLAGS
14275 CFLAGS
="$CFLAGS -Wlogical-op"
14276 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14277 /* end confdefs.h. */
14278 int main(int argc, char **argv) { return 0; }
14280 if ac_fn_c_try_link
"$LINENO"; then :
14281 ac_cv_cflags__Wlogical_op
=yes
14283 ac_cv_cflags__Wlogical_op
=no
14285 rm -f core conftest.err conftest.
$ac_objext \
14286 conftest
$ac_exeext conftest.
$ac_ext
14287 CFLAGS
=$ac_wine_try_cflags_saved
14289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
14290 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
14291 if test "x$ac_cv_cflags__Wlogical_op" = xyes
; then :
14292 saved_string_h_CFLAGS
=$CFLAGS
14293 CFLAGS
="$CFLAGS -Wlogical-op -Werror"
14294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
14295 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
14296 if ${ac_cv_c_logicalop_noisy+:} false
; then :
14297 $as_echo_n "(cached) " >&6
14299 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14300 /* end confdefs.h. */
14301 #include <string.h>
14302 char*f(const char *h,char n) {return strchr(h,n);}
14311 if ac_fn_c_try_compile
"$LINENO"; then :
14312 ac_cv_c_logicalop_noisy
=no
14314 ac_cv_c_logicalop_noisy
=yes
14316 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
14319 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
14320 CFLAGS
=$saved_string_h_CFLAGS
14321 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS
="$EXTRACFLAGS -Wlogical-op"
14324 CFLAGS
=$saved_CFLAGS
14326 for ac_flag
in $CFLAGS; do
14328 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
14329 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
14330 if ${ac_cv_cflags__gdwarf_2+:} false
; then :
14331 $as_echo_n "(cached) " >&6
14333 ac_wine_try_cflags_saved
=$CFLAGS
14334 CFLAGS
="$CFLAGS -gdwarf-2"
14335 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14336 /* end confdefs.h. */
14337 int main(int argc, char **argv) { return 0; }
14339 if ac_fn_c_try_link
"$LINENO"; then :
14340 ac_cv_cflags__gdwarf_2
=yes
14342 ac_cv_cflags__gdwarf_2
=no
14344 rm -f core conftest.err conftest.
$ac_objext \
14345 conftest
$ac_exeext conftest.
$ac_ext
14346 CFLAGS
=$ac_wine_try_cflags_saved
14348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
14349 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
14350 if test "x$ac_cv_cflags__gdwarf_2" = xyes
; then :
14351 EXTRACFLAGS
="$EXTRACFLAGS -gdwarf-2"
14353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
14354 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
14355 if ${ac_cv_cflags__gstrict_dwarf+:} false
; then :
14356 $as_echo_n "(cached) " >&6
14358 ac_wine_try_cflags_saved
=$CFLAGS
14359 CFLAGS
="$CFLAGS -gstrict-dwarf"
14360 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14361 /* end confdefs.h. */
14362 int main(int argc, char **argv) { return 0; }
14364 if ac_fn_c_try_link
"$LINENO"; then :
14365 ac_cv_cflags__gstrict_dwarf
=yes
14367 ac_cv_cflags__gstrict_dwarf
=no
14369 rm -f core conftest.err conftest.
$ac_objext \
14370 conftest
$ac_exeext conftest.
$ac_ext
14371 CFLAGS
=$ac_wine_try_cflags_saved
14373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
14374 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
14375 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes
; then :
14376 EXTRACFLAGS
="$EXTRACFLAGS -gstrict-dwarf"
14382 *i
[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
14383 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
14384 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false
; then :
14385 $as_echo_n "(cached) " >&6
14387 ac_wine_try_cflags_saved
=$CFLAGS
14388 CFLAGS
="$CFLAGS -fno-omit-frame-pointer"
14389 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14390 /* end confdefs.h. */
14391 int main(int argc, char **argv) { return 0; }
14393 if ac_fn_c_try_link
"$LINENO"; then :
14394 ac_cv_cflags__fno_omit_frame_pointer
=yes
14396 ac_cv_cflags__fno_omit_frame_pointer
=no
14398 rm -f core conftest.err conftest.
$ac_objext \
14399 conftest
$ac_exeext conftest.
$ac_ext
14400 CFLAGS
=$ac_wine_try_cflags_saved
14402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
14403 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
14404 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes
; then :
14405 EXTRACFLAGS
="$EXTRACFLAGS -fno-omit-frame-pointer"
14410 x86_64-
*mingw32
*|x86_64-
*cygwin
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
14411 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
14412 if ${ac_cv_cflags__Wno_format+:} false
; then :
14413 $as_echo_n "(cached) " >&6
14415 ac_wine_try_cflags_saved
=$CFLAGS
14416 CFLAGS
="$CFLAGS -Wno-format"
14417 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14418 /* end confdefs.h. */
14419 int main(int argc, char **argv) { return 0; }
14421 if ac_fn_c_try_link
"$LINENO"; then :
14422 ac_cv_cflags__Wno_format
=yes
14424 ac_cv_cflags__Wno_format
=no
14426 rm -f core conftest.err conftest.
$ac_objext \
14427 conftest
$ac_exeext conftest.
$ac_ext
14428 CFLAGS
=$ac_wine_try_cflags_saved
14430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
14431 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
14432 if test "x$ac_cv_cflags__Wno_format" = xyes
; then :
14433 EXTRACFLAGS
="$EXTRACFLAGS -Wno-format"
14437 if test "x$enable_maintainer_mode" = "xyes"
14439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
14440 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
14441 if ${ac_cv_cflags__Werror+:} false
; then :
14442 $as_echo_n "(cached) " >&6
14444 ac_wine_try_cflags_saved
=$CFLAGS
14445 CFLAGS
="$CFLAGS -Werror"
14446 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14447 /* end confdefs.h. */
14448 int main(int argc, char **argv) { return 0; }
14450 if ac_fn_c_try_link
"$LINENO"; then :
14451 ac_cv_cflags__Werror
=yes
14453 ac_cv_cflags__Werror
=no
14455 rm -f core conftest.err conftest.
$ac_objext \
14456 conftest
$ac_exeext conftest.
$ac_ext
14457 CFLAGS
=$ac_wine_try_cflags_saved
14459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
14460 $as_echo "$ac_cv_cflags__Werror" >&6; }
14461 if test "x$ac_cv_cflags__Werror" = xyes
; then :
14462 EXTRACFLAGS
="$EXTRACFLAGS -Werror"
14466 saved_CFLAGS
="$CFLAGS"
14467 CFLAGS
="$CFLAGS -Werror"
14468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
14469 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
14470 if ${ac_cv_have_ms_hook_prologue+:} false
; then :
14471 $as_echo_n "(cached) " >&6
14473 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14474 /* end confdefs.h. */
14475 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
14484 if ac_fn_c_try_compile
"$LINENO"; then :
14485 ac_cv_have_ms_hook_prologue
="yes"
14487 ac_cv_have_ms_hook_prologue
="no"
14489 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
14492 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
14493 CFLAGS
="$saved_CFLAGS"
14494 if test "$ac_cv_have_ms_hook_prologue" = "yes"
14497 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
14500 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
14506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
14507 $as_echo_n "checking for the need to disable Fortify... " >&6; }
14508 if ${ac_cv_c_fortify_enabled+:} false
; then :
14509 $as_echo_n "(cached) " >&6
14511 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14512 /* end confdefs.h. */
14513 #include <string.h>
14517 #if defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0
14518 #error Fortify enabled
14524 if ac_fn_c_try_compile
"$LINENO"; then :
14525 ac_cv_c_fortify_enabled
=no
14527 ac_cv_c_fortify_enabled
=yes
14529 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
14532 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
14533 if test "$ac_cv_c_fortify_enabled" = yes
14535 CFLAGS
="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
14539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
14540 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
14541 if ${ac_cv_c_extern_prefix+:} false
; then :
14542 $as_echo_n "(cached) " >&6
14544 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14545 /* end confdefs.h. */
14546 extern int ac_test;
14550 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
14555 if ac_fn_c_try_link
"$LINENO"; then :
14556 ac_cv_c_extern_prefix
="yes"
14558 ac_cv_c_extern_prefix
="no"
14560 rm -f core conftest.err conftest.
$ac_objext \
14561 conftest
$ac_exeext conftest.
$ac_ext
14563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
14564 $as_echo "$ac_cv_c_extern_prefix" >&6; }
14568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
14569 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
14570 if ${ac_cv_c_stdcall_suffix+:} false
; then :
14571 $as_echo_n "(cached) " >&6
14573 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14574 /* end confdefs.h. */
14576 #define __stdcall __attribute__((__stdcall__))
14578 int __stdcall ac_test(int i) { return i; }
14582 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
14587 if ac_fn_c_try_link
"$LINENO"; then :
14588 ac_cv_c_stdcall_suffix
="yes"
14590 ac_cv_c_stdcall_suffix
="no"
14592 rm -f core conftest.err conftest.
$ac_objext \
14593 conftest
$ac_exeext conftest.
$ac_ext
14595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
14596 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
14597 *) ac_cv_c_stdcall_suffix
="no" ;;
14601 if test "$ac_cv_c_extern_prefix" = "yes"
14603 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
14605 asm_name_prefix
="_"
14607 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
14613 if test "$ac_cv_c_stdcall_suffix" = "yes"
14615 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
14618 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
14623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
14624 $as_echo_n "checking how to define a function in assembly code... " >&6; }
14625 if ${ac_cv_asm_func_def+:} false
; then :
14626 $as_echo_n "(cached) " >&6
14628 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14629 /* end confdefs.h. */
14634 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
14639 if ac_fn_c_try_link
"$LINENO"; then :
14640 ac_cv_asm_func_def
=".def"
14642 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14643 /* end confdefs.h. */
14648 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
14653 if ac_fn_c_try_link
"$LINENO"; then :
14654 ac_cv_asm_func_def
=".type @function"
14656 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14657 /* end confdefs.h. */
14662 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
14667 if ac_fn_c_try_link
"$LINENO"; then :
14668 ac_cv_asm_func_def
=".type 2"
14670 ac_cv_asm_func_def
="unknown"
14672 rm -f core conftest.err conftest.
$ac_objext \
14673 conftest
$ac_exeext conftest.
$ac_ext
14675 rm -f core conftest.err conftest.
$ac_objext \
14676 conftest
$ac_exeext conftest.
$ac_ext
14678 rm -f core conftest.err conftest.
$ac_objext \
14679 conftest
$ac_exeext conftest.
$ac_ext
14681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
14682 $as_echo "$ac_cv_asm_func_def" >&6; }
14685 case "$ac_cv_asm_func_def" in
14687 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
14689 asm_func_header
=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
14691 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
14693 asm_func_header
=".type $asm_name_prefix\" #name suffix \",@function" ;;
14695 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
14697 asm_func_header
=".type $asm_name_prefix\" #name suffix \",2" ;;
14699 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
14701 asm_func_header
="" ;;
14704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
14705 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
14706 if ${ac_cv_c_asm_outside_funcs+:} false
; then :
14707 $as_echo_n "(cached) " >&6
14709 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14710 /* end confdefs.h. */
14711 asm(".text\n\t.long 0");
14720 if ac_fn_c_try_compile
"$LINENO"; then :
14721 ac_cv_c_asm_outside_funcs
="yes"
14723 ac_cv_c_asm_outside_funcs
="no"
14725 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
14728 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
14730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
14731 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
14732 if ${ac_cv_c_dot_previous+:} false
; then :
14733 $as_echo_n "(cached) " >&6
14735 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14736 /* end confdefs.h. */
14741 asm(".text\nac_test:\t.long 0\n\t.previous");
14746 if ac_fn_c_try_link
"$LINENO"; then :
14747 ac_cv_c_dot_previous
="yes"
14749 ac_cv_c_dot_previous
="no"
14751 rm -f core conftest.err conftest.
$ac_objext \
14752 conftest
$ac_exeext conftest.
$ac_ext
14754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
14755 $as_echo "$ac_cv_c_dot_previous" >&6; }
14757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
14758 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
14759 if ${ac_cv_c_cfi_support+:} false
; then :
14760 $as_echo_n "(cached) " >&6
14762 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14763 /* end confdefs.h. */
14764 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
14773 if ac_fn_c_try_compile
"$LINENO"; then :
14774 ac_cv_c_cfi_support
="yes"
14776 ac_cv_c_cfi_support
="no"
14778 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
14781 $as_echo "$ac_cv_c_cfi_support" >&6; }
14783 asm_func_header
=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
14784 asm_func_trailer
=""
14785 if test "$ac_cv_c_dot_previous" = "yes"
14787 asm_func_trailer
="\\n\\t.previous"
14789 if test "$ac_cv_c_cfi_support" = "yes"
14791 asm_func_header
="$asm_func_header.cfi_startproc\\n\\t"
14792 asm_func_trailer
="\\n\\t.cfi_endproc$asm_func_trailer"
14794 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
14796 UNWINDFLAGS
=-fasynchronous-unwind-tables
14799 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
14801 if test "x$enable_win64" = "xyes"
14803 as_fn_append wine_warnings
"|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
14807 asm_func_code
="$asm_func_header\" code \"$asm_func_trailer"
14810 if test "$ac_cv_c_asm_outside_funcs" = "yes"
14812 cat >>confdefs.h
<<_ACEOF
14813 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
14817 cat >>confdefs.h
<<_ACEOF
14818 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
14823 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
14826 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
14831 cygwin
*|mingw32
*) TOOLSEXT
=".exe"
14838 *i
[3456789]86*|x86_64
*)
14839 test "$wine_binary" = wine || wine_fn_ignore_file
"loader/wine-preloader"
14840 loader_programs
="$loader_programs $wine_binary-preloader"
14841 as_fn_append LOADER_RULES
"
14842 $wine_binary-preloader: preloader.o
14843 \$(CC) -o \$@ -static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7c400000 preloader.o \$(LIBPORT) \$(LDFLAGS)
14845 install install-lib:: $wine_binary-preloader
14846 \$(INSTALL_PROGRAM) $wine_binary-preloader \$(DESTDIR)\$(bindir)/$wine_binary-preloader
14849 \$(RM) \$(DESTDIR)\$(bindir)/$wine_binary-preloader
14851 preloader_EXTRADEFS = $BUILTINFLAG
14856 as_fn_append LOADER_RULES
"
14857 PROGRAMS = $loader_programs
14861 ac_save_CFLAGS
="$CFLAGS"
14862 CFLAGS
="$CFLAGS $BUILTINFLAG"
14941 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14942 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
14943 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
14944 cat >>confdefs.h
<<_ACEOF
14945 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14951 CFLAGS
="$ac_save_CFLAGS"
14953 if test "$ac_cv_func_dlopen" = no
14955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
14956 $as_echo_n "checking for dlopen in -ldl... " >&6; }
14957 if ${ac_cv_lib_dl_dlopen+:} false
; then :
14958 $as_echo_n "(cached) " >&6
14960 ac_check_lib_save_LIBS
=$LIBS
14962 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14963 /* end confdefs.h. */
14965 /* Override any GCC internal prototype to avoid an error.
14966 Use char because int might match the return type of a GCC
14967 builtin and then its argument prototype would still apply. */
14980 if ac_fn_c_try_link
"$LINENO"; then :
14981 ac_cv_lib_dl_dlopen
=yes
14983 ac_cv_lib_dl_dlopen
=no
14985 rm -f core conftest.err conftest.
$ac_objext \
14986 conftest
$ac_exeext conftest.
$ac_ext
14987 LIBS
=$ac_check_lib_save_LIBS
14989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
14990 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
14991 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
14992 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
14998 ac_wine_check_funcs_save_LIBS
="$LIBS"
14999 LIBS
="$LIBS $DL_LIBS"
15000 for ac_func
in dladdr
15002 ac_fn_c_check_func
"$LINENO" "dladdr" "ac_cv_func_dladdr"
15003 if test "x$ac_cv_func_dladdr" = xyes
; then :
15004 cat >>confdefs.h
<<_ACEOF
15005 #define HAVE_DLADDR 1
15011 LIBS
="$ac_wine_check_funcs_save_LIBS"
15013 if test "$ac_cv_func_poll" = no
15015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
15016 $as_echo_n "checking for poll in -lpoll... " >&6; }
15017 if ${ac_cv_lib_poll_poll+:} false
; then :
15018 $as_echo_n "(cached) " >&6
15020 ac_check_lib_save_LIBS
=$LIBS
15021 LIBS
="-lpoll $LIBS"
15022 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15023 /* end confdefs.h. */
15025 /* Override any GCC internal prototype to avoid an error.
15026 Use char because int might match the return type of a GCC
15027 builtin and then its argument prototype would still apply. */
15040 if ac_fn_c_try_link
"$LINENO"; then :
15041 ac_cv_lib_poll_poll
=yes
15043 ac_cv_lib_poll_poll
=no
15045 rm -f core conftest.err conftest.
$ac_objext \
15046 conftest
$ac_exeext conftest.
$ac_ext
15047 LIBS
=$ac_check_lib_save_LIBS
15049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
15050 $as_echo "$ac_cv_lib_poll_poll" >&6; }
15051 if test "x$ac_cv_lib_poll_poll" = xyes
; then :
15052 $as_echo "#define HAVE_POLL 1" >>confdefs.h
15059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
15060 $as_echo_n "checking for library containing gethostbyname... " >&6; }
15061 if ${ac_cv_search_gethostbyname+:} false
; then :
15062 $as_echo_n "(cached) " >&6
15064 ac_func_search_save_LIBS
=$LIBS
15065 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15066 /* end confdefs.h. */
15068 /* Override any GCC internal prototype to avoid an error.
15069 Use char because int might match the return type of a GCC
15070 builtin and then its argument prototype would still apply. */
15074 char gethostbyname ();
15078 return gethostbyname ();
15083 for ac_lib
in '' nsl
; do
15084 if test -z "$ac_lib"; then
15085 ac_res
="none required"
15088 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
15090 if ac_fn_c_try_link
"$LINENO"; then :
15091 ac_cv_search_gethostbyname
=$ac_res
15093 rm -f core conftest.err conftest.
$ac_objext \
15095 if ${ac_cv_search_gethostbyname+:} false
; then :
15099 if ${ac_cv_search_gethostbyname+:} false
; then :
15102 ac_cv_search_gethostbyname
=no
15104 rm conftest.
$ac_ext
15105 LIBS
=$ac_func_search_save_LIBS
15107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
15108 $as_echo "$ac_cv_search_gethostbyname" >&6; }
15109 ac_res
=$ac_cv_search_gethostbyname
15110 if test "$ac_res" != no
; then :
15111 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
15116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
15117 $as_echo_n "checking for library containing connect... " >&6; }
15118 if ${ac_cv_search_connect+:} false
; then :
15119 $as_echo_n "(cached) " >&6
15121 ac_func_search_save_LIBS
=$LIBS
15122 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15123 /* end confdefs.h. */
15125 /* Override any GCC internal prototype to avoid an error.
15126 Use char because int might match the return type of a GCC
15127 builtin and then its argument prototype would still apply. */
15140 for ac_lib
in '' socket
; do
15141 if test -z "$ac_lib"; then
15142 ac_res
="none required"
15145 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
15147 if ac_fn_c_try_link
"$LINENO"; then :
15148 ac_cv_search_connect
=$ac_res
15150 rm -f core conftest.err conftest.
$ac_objext \
15152 if ${ac_cv_search_connect+:} false
; then :
15156 if ${ac_cv_search_connect+:} false
; then :
15159 ac_cv_search_connect
=no
15161 rm conftest.
$ac_ext
15162 LIBS
=$ac_func_search_save_LIBS
15164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
15165 $as_echo "$ac_cv_search_connect" >&6; }
15166 ac_res
=$ac_cv_search_connect
15167 if test "$ac_res" != no
; then :
15168 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
15173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
15174 $as_echo_n "checking for library containing inet_aton... " >&6; }
15175 if ${ac_cv_search_inet_aton+:} false
; then :
15176 $as_echo_n "(cached) " >&6
15178 ac_func_search_save_LIBS
=$LIBS
15179 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15180 /* end confdefs.h. */
15182 /* Override any GCC internal prototype to avoid an error.
15183 Use char because int might match the return type of a GCC
15184 builtin and then its argument prototype would still apply. */
15192 return inet_aton ();
15197 for ac_lib
in '' resolv
; do
15198 if test -z "$ac_lib"; then
15199 ac_res
="none required"
15202 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
15204 if ac_fn_c_try_link
"$LINENO"; then :
15205 ac_cv_search_inet_aton
=$ac_res
15207 rm -f core conftest.err conftest.
$ac_objext \
15209 if ${ac_cv_search_inet_aton+:} false
; then :
15213 if ${ac_cv_search_inet_aton+:} false
; then :
15216 ac_cv_search_inet_aton
=no
15218 rm conftest.
$ac_ext
15219 LIBS
=$ac_func_search_save_LIBS
15221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
15222 $as_echo "$ac_cv_search_inet_aton" >&6; }
15223 ac_res
=$ac_cv_search_inet_aton
15224 if test "$ac_res" != no
; then :
15225 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
15245 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15246 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
15247 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
15248 cat >>confdefs.h
<<_ACEOF
15249 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
15258 $as_echo_n "checking for library containing clock_gettime... " >&6; }
15259 if ${ac_cv_search_clock_gettime+:} false
; then :
15260 $as_echo_n "(cached) " >&6
15262 ac_func_search_save_LIBS
=$LIBS
15263 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15264 /* end confdefs.h. */
15266 /* Override any GCC internal prototype to avoid an error.
15267 Use char because int might match the return type of a GCC
15268 builtin and then its argument prototype would still apply. */
15272 char clock_gettime ();
15276 return clock_gettime ();
15281 for ac_lib
in '' rt
; do
15282 if test -z "$ac_lib"; then
15283 ac_res
="none required"
15286 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
15288 if ac_fn_c_try_link
"$LINENO"; then :
15289 ac_cv_search_clock_gettime
=$ac_res
15291 rm -f core conftest.err conftest.
$ac_objext \
15293 if ${ac_cv_search_clock_gettime+:} false
; then :
15297 if ${ac_cv_search_clock_gettime+:} false
; then :
15300 ac_cv_search_clock_gettime
=no
15302 rm conftest.
$ac_ext
15303 LIBS
=$ac_func_search_save_LIBS
15305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
15306 $as_echo "$ac_cv_search_clock_gettime" >&6; }
15307 ac_res
=$ac_cv_search_clock_gettime
15308 if test "$ac_res" != no
; then :
15309 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
15311 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
15313 test "$ac_res" = "none required" || RT_LIBS
="$ac_res"
15321 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
15323 ac_fn_c_check_type
"$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
15325 if test "x$ac_cv_type_LDAPSortKey" = xyes
; then :
15326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
15327 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
15328 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false
; then :
15329 $as_echo_n "(cached) " >&6
15331 ac_check_lib_save_LIBS
=$LIBS
15332 LIBS
="-lldap_r $PTHREAD_LIBS $LIBS"
15333 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15334 /* end confdefs.h. */
15336 /* Override any GCC internal prototype to avoid an error.
15337 Use char because int might match the return type of a GCC
15338 builtin and then its argument prototype would still apply. */
15342 char ldap_initialize ();
15346 return ldap_initialize ();
15351 if ac_fn_c_try_link
"$LINENO"; then :
15352 ac_cv_lib_ldap_r_ldap_initialize
=yes
15354 ac_cv_lib_ldap_r_ldap_initialize
=no
15356 rm -f core conftest.err conftest.
$ac_objext \
15357 conftest
$ac_exeext conftest.
$ac_ext
15358 LIBS
=$ac_check_lib_save_LIBS
15360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
15361 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
15362 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes
; then :
15363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
15364 $as_echo_n "checking for ber_init in -llber... " >&6; }
15365 if ${ac_cv_lib_lber_ber_init+:} false
; then :
15366 $as_echo_n "(cached) " >&6
15368 ac_check_lib_save_LIBS
=$LIBS
15369 LIBS
="-llber $PTHREAD_LIBS $LIBS"
15370 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15371 /* end confdefs.h. */
15373 /* Override any GCC internal prototype to avoid an error.
15374 Use char because int might match the return type of a GCC
15375 builtin and then its argument prototype would still apply. */
15383 return ber_init ();
15388 if ac_fn_c_try_link
"$LINENO"; then :
15389 ac_cv_lib_lber_ber_init
=yes
15391 ac_cv_lib_lber_ber_init
=no
15393 rm -f core conftest.err conftest.
$ac_objext \
15394 conftest
$ac_exeext conftest.
$ac_ext
15395 LIBS
=$ac_check_lib_save_LIBS
15397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
15398 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
15399 if test "x$ac_cv_lib_lber_ber_init" = xyes
; then :
15401 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
15403 LDAP_LIBS
="-lldap_r -llber"
15410 ac_wine_check_funcs_save_LIBS
="$LIBS"
15411 LIBS
="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
15413 ldap_count_references \
15414 ldap_first_reference \
15415 ldap_next_reference \
15416 ldap_parse_reference \
15417 ldap_parse_sort_control \
15418 ldap_parse_sortresponse_control \
15419 ldap_parse_vlv_control \
15420 ldap_parse_vlvresponse_control
15422 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15423 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
15424 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
15425 cat >>confdefs.h
<<_ACEOF
15426 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15432 LIBS
="$ac_wine_check_funcs_save_LIBS"
15434 if test "x$LDAP_LIBS" = "x"; then :
15435 case "x$with_ldap" in
15436 x
) as_fn_append wine_notices
"|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
15438 *) as_fn_error $?
"libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
15439 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
15443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
15444 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
15445 if ${wine_cv_one_arg_mkdir+:} false
; then :
15446 $as_echo_n "(cached) " >&6
15448 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15449 /* end confdefs.h. */
15450 #include <sys/stat.h>
15459 if ac_fn_c_try_compile
"$LINENO"; then :
15460 wine_cv_one_arg_mkdir
=yes
15462 wine_cv_one_arg_mkdir
=no
15464 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
15467 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
15468 if test "$wine_cv_one_arg_mkdir" = "yes"
15471 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
15475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
15476 $as_echo_n "checking for sched_setaffinity... " >&6; }
15477 if ${wine_cv_have_sched_setaffinity+:} false
; then :
15478 $as_echo_n "(cached) " >&6
15480 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15481 /* end confdefs.h. */
15482 #define _GNU_SOURCE
15487 sched_setaffinity(0, 0, 0);
15492 if ac_fn_c_try_link
"$LINENO"; then :
15493 wine_cv_have_sched_setaffinity
=yes
15495 wine_cv_have_sched_setaffinity
=no
15497 rm -f core conftest.err conftest.
$ac_objext \
15498 conftest
$ac_exeext conftest.
$ac_ext
15500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
15501 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
15502 if test "$wine_cv_have_sched_setaffinity" = "yes"
15505 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
15509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
15510 $as_echo_n "checking for fallocate... " >&6; }
15511 if ${wine_cv_have_fallocate+:} false
; then :
15512 $as_echo_n "(cached) " >&6
15514 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15515 /* end confdefs.h. */
15516 #define _GNU_SOURCE
15521 fallocate(-1, 0, 0, 0);
15526 if ac_fn_c_try_link
"$LINENO"; then :
15527 wine_cv_have_fallocate
=yes
15529 wine_cv_have_fallocate
=no
15531 rm -f core conftest.err conftest.
$ac_objext \
15532 conftest
$ac_exeext conftest.
$ac_ext
15534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
15535 $as_echo "$wine_cv_have_fallocate" >&6; }
15536 if test "$wine_cv_have_fallocate" = "yes"
15539 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
15544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
15545 $as_echo_n "checking for inline... " >&6; }
15546 if ${ac_cv_c_inline+:} false
; then :
15547 $as_echo_n "(cached) " >&6
15550 for ac_kw
in inline __inline__ __inline
; do
15551 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15552 /* end confdefs.h. */
15553 #ifndef __cplusplus
15555 static $ac_kw foo_t static_foo () {return 0; }
15556 $ac_kw foo_t foo () {return 0; }
15560 if ac_fn_c_try_compile
"$LINENO"; then :
15561 ac_cv_c_inline
=$ac_kw
15563 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15564 test "$ac_cv_c_inline" != no
&& break
15568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
15569 $as_echo "$ac_cv_c_inline" >&6; }
15571 case $ac_cv_c_inline in
15574 case $ac_cv_c_inline in
15576 *) ac_val
=$ac_cv_c_inline;;
15578 cat >>confdefs.h
<<_ACEOF
15579 #ifndef __cplusplus
15580 #define inline $ac_val
15586 ac_fn_c_check_type
"$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
15587 if test "x$ac_cv_type_mode_t" = xyes
; then :
15589 cat >>confdefs.h
<<_ACEOF
15590 #define HAVE_MODE_T 1
15595 ac_fn_c_check_type
"$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
15596 if test "x$ac_cv_type_off_t" = xyes
; then :
15598 cat >>confdefs.h
<<_ACEOF
15599 #define HAVE_OFF_T 1
15604 ac_fn_c_check_type
"$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
15605 if test "x$ac_cv_type_pid_t" = xyes
; then :
15607 cat >>confdefs.h
<<_ACEOF
15608 #define HAVE_PID_T 1
15613 ac_fn_c_check_type
"$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
15614 if test "x$ac_cv_type_size_t" = xyes
; then :
15616 cat >>confdefs.h
<<_ACEOF
15617 #define HAVE_SIZE_T 1
15622 ac_fn_c_check_type
"$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
15623 if test "x$ac_cv_type_ssize_t" = xyes
; then :
15625 cat >>confdefs.h
<<_ACEOF
15626 #define HAVE_SSIZE_T 1
15631 ac_fn_c_check_type
"$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
15632 if test "x$ac_cv_type_long_long" = xyes
; then :
15634 cat >>confdefs.h
<<_ACEOF
15635 #define HAVE_LONG_LONG 1
15640 ac_fn_c_check_type
"$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
15641 if test "x$ac_cv_type_fsblkcnt_t" = xyes
; then :
15643 cat >>confdefs.h
<<_ACEOF
15644 #define HAVE_FSBLKCNT_T 1
15649 ac_fn_c_check_type
"$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
15650 if test "x$ac_cv_type_fsfilcnt_t" = xyes
; then :
15652 cat >>confdefs.h
<<_ACEOF
15653 #define HAVE_FSFILCNT_T 1
15659 ac_fn_c_check_type
"$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
15660 #include <signal.h>
15662 if test "x$ac_cv_type_sigset_t" = xyes
; then :
15664 cat >>confdefs.h
<<_ACEOF
15665 #define HAVE_SIGSET_T 1
15671 ac_fn_c_check_type
"$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
15673 if test "x$ac_cv_type_request_sense" = xyes
; then :
15675 cat >>confdefs.h
<<_ACEOF
15676 #define HAVE_REQUEST_SENSE 1
15683 ac_fn_c_check_type
"$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
15684 #ifdef HAVE_SYS_SOCKET_H
15685 #include <sys/socket.h>
15687 #ifdef HAVE_SYS_SOCKETVAR_H
15688 #include <sys/socketvar.h>
15690 #ifdef HAVE_NET_ROUTE_H
15691 #include <net/route.h>
15693 #ifdef HAVE_NETINET_IN_H
15694 #include <netinet/in.h>
15696 #ifdef HAVE_NETINET_IN_SYSTM_H
15697 #include <netinet/in_systm.h>
15699 #ifdef HAVE_NETINET_IP_H
15700 #include <netinet/ip.h>
15702 #ifdef HAVE_NETINET_IN_PCB_H
15703 #include <netinet/in_pcb.h>
15706 if test "x$ac_cv_type_struct_xinpgen" = xyes
; then :
15708 cat >>confdefs.h
<<_ACEOF
15709 #define HAVE_STRUCT_XINPGEN 1
15716 ac_fn_c_check_type
"$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
15719 #ifdef HAVE_SYS_LINK_H
15720 #include <sys/link.h>
15723 if test "x$ac_cv_type_struct_r_debug" = xyes
; then :
15725 cat >>confdefs.h
<<_ACEOF
15726 #define HAVE_STRUCT_R_DEBUG 1
15731 ac_fn_c_check_type
"$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
15734 #ifdef HAVE_SYS_LINK_H
15735 #include <sys/link.h>
15738 if test "x$ac_cv_type_struct_link_map" = xyes
; then :
15740 cat >>confdefs.h
<<_ACEOF
15741 #define HAVE_STRUCT_LINK_MAP 1
15748 ac_fn_c_check_member
"$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
15749 #include <linux/input.h>
15752 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes
; then :
15754 cat >>confdefs.h
<<_ACEOF
15755 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
15762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
15763 $as_echo_n "checking for sigaddset... " >&6; }
15764 if ${wine_cv_have_sigaddset+:} false
; then :
15765 $as_echo_n "(cached) " >&6
15767 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15768 /* end confdefs.h. */
15769 #include <signal.h>
15773 sigset_t set; sigaddset(&set,SIGTERM);
15778 if ac_fn_c_try_link
"$LINENO"; then :
15779 wine_cv_have_sigaddset
=yes
15781 wine_cv_have_sigaddset
=no
15783 rm -f core conftest.err conftest.
$ac_objext \
15784 conftest
$ac_exeext conftest.
$ac_ext
15786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
15787 $as_echo "$wine_cv_have_sigaddset" >&6; }
15788 if test "$wine_cv_have_sigaddset" = "yes"
15791 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
15796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
15797 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
15798 if ${wine_cv_linux_gethostbyname_r_6+:} false
; then :
15799 $as_echo_n "(cached) " >&6
15801 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15802 /* end confdefs.h. */
15810 struct hostent *result;
15817 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
15818 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
15824 if ac_fn_c_try_link
"$LINENO"; then :
15825 wine_cv_linux_gethostbyname_r_6
=yes
15827 wine_cv_linux_gethostbyname_r_6
=no
15830 rm -f core conftest.err conftest.
$ac_objext \
15831 conftest
$ac_exeext conftest.
$ac_ext
15834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
15835 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
15836 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
15839 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
15843 if test "$ac_cv_header_linux_joystick_h" = "yes"
15845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
15846 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
15847 if ${wine_cv_linux_joystick_22_api+:} false
; then :
15848 $as_echo_n "(cached) " >&6
15850 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15851 /* end confdefs.h. */
15853 #include <sys/ioctl.h>
15854 #include <sys/types.h>
15855 #include <linux/joystick.h>
15857 struct js_event blub;
15858 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
15859 #error "no 2.2 header"
15870 if ac_fn_c_try_compile
"$LINENO"; then :
15871 wine_cv_linux_joystick_22_api
=yes
15873 wine_cv_linux_joystick_22_api
=no
15875 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
15879 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
15880 if test "$wine_cv_linux_joystick_22_api" = "yes"
15883 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
15889 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
15890 #ifdef HAVE_SYS_PARAM_H
15891 # include <sys/param.h>
15893 #ifdef HAVE_SYS_MOUNT_H
15894 # include <sys/mount.h>
15896 #ifdef HAVE_SYS_VFS_H
15897 # include <sys/vfs.h>
15899 #ifdef HAVE_SYS_STATFS_H
15900 # include <sys/statfs.h>
15903 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes
; then :
15905 cat >>confdefs.h
<<_ACEOF
15906 #define HAVE_STRUCT_STATFS_F_BFREE 1
15911 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
15912 #ifdef HAVE_SYS_PARAM_H
15913 # include <sys/param.h>
15915 #ifdef HAVE_SYS_MOUNT_H
15916 # include <sys/mount.h>
15918 #ifdef HAVE_SYS_VFS_H
15919 # include <sys/vfs.h>
15921 #ifdef HAVE_SYS_STATFS_H
15922 # include <sys/statfs.h>
15925 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes
; then :
15927 cat >>confdefs.h
<<_ACEOF
15928 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
15933 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
15934 #ifdef HAVE_SYS_PARAM_H
15935 # include <sys/param.h>
15937 #ifdef HAVE_SYS_MOUNT_H
15938 # include <sys/mount.h>
15940 #ifdef HAVE_SYS_VFS_H
15941 # include <sys/vfs.h>
15943 #ifdef HAVE_SYS_STATFS_H
15944 # include <sys/statfs.h>
15947 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes
; then :
15949 cat >>confdefs.h
<<_ACEOF
15950 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
15955 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
15956 #ifdef HAVE_SYS_PARAM_H
15957 # include <sys/param.h>
15959 #ifdef HAVE_SYS_MOUNT_H
15960 # include <sys/mount.h>
15962 #ifdef HAVE_SYS_VFS_H
15963 # include <sys/vfs.h>
15965 #ifdef HAVE_SYS_STATFS_H
15966 # include <sys/statfs.h>
15969 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes
; then :
15971 cat >>confdefs.h
<<_ACEOF
15972 #define HAVE_STRUCT_STATFS_F_FFREE 1
15977 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
15978 #ifdef HAVE_SYS_PARAM_H
15979 # include <sys/param.h>
15981 #ifdef HAVE_SYS_MOUNT_H
15982 # include <sys/mount.h>
15984 #ifdef HAVE_SYS_VFS_H
15985 # include <sys/vfs.h>
15987 #ifdef HAVE_SYS_STATFS_H
15988 # include <sys/statfs.h>
15991 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes
; then :
15993 cat >>confdefs.h
<<_ACEOF
15994 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
15999 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
16000 #ifdef HAVE_SYS_PARAM_H
16001 # include <sys/param.h>
16003 #ifdef HAVE_SYS_MOUNT_H
16004 # include <sys/mount.h>
16006 #ifdef HAVE_SYS_VFS_H
16007 # include <sys/vfs.h>
16009 #ifdef HAVE_SYS_STATFS_H
16010 # include <sys/statfs.h>
16013 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes
; then :
16015 cat >>confdefs.h
<<_ACEOF
16016 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
16023 ac_fn_c_check_member
"$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
16024 #include <sys/statvfs.h>
16027 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes
; then :
16029 cat >>confdefs.h
<<_ACEOF
16030 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
16037 ac_fn_c_check_member
"$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
16038 #include <dirent.h>
16041 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes
; then :
16043 cat >>confdefs.h
<<_ACEOF
16044 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
16051 ac_fn_c_check_member
"$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
16052 #ifdef HAVE_SYS_SOCKET_H
16053 # include <sys/socket.h>
16055 #ifdef HAVE_SYS_UN_H
16056 # include <sys/un.h>
16059 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes
; then :
16061 cat >>confdefs.h
<<_ACEOF
16062 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
16067 ac_fn_c_check_member
"$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
16068 #ifdef HAVE_SYS_SOCKET_H
16069 # include <sys/socket.h>
16071 #ifdef HAVE_SYS_UN_H
16072 # include <sys/un.h>
16075 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes
; then :
16077 cat >>confdefs.h
<<_ACEOF
16078 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
16083 ac_fn_c_check_member
"$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
16084 #ifdef HAVE_SYS_SOCKET_H
16085 # include <sys/socket.h>
16087 #ifdef HAVE_SYS_UN_H
16088 # include <sys/un.h>
16091 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes
; then :
16093 cat >>confdefs.h
<<_ACEOF
16094 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
16101 ac_fn_c_check_member
"$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
16102 #ifdef HAVE_SCSI_SG_H
16103 #include <scsi/sg.h>
16106 if test "x$ac_cv_member_scsireq_t_cmd" = xyes
; then :
16108 cat >>confdefs.h
<<_ACEOF
16109 #define HAVE_SCSIREQ_T_CMD 1
16114 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>
16115 #ifdef HAVE_SCSI_SG_H
16116 #include <scsi/sg.h>
16119 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes
; then :
16121 cat >>confdefs.h
<<_ACEOF
16122 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
16129 ac_fn_c_check_member
"$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
16131 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes
; then :
16133 cat >>confdefs.h
<<_ACEOF
16134 #define HAVE_SIGINFO_T_SI_FD 1
16141 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
16142 #ifdef HAVE_SYS_MTIO_H
16143 #include <sys/mtio.h>
16146 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes
; then :
16148 cat >>confdefs.h
<<_ACEOF
16149 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
16154 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
16155 #ifdef HAVE_SYS_MTIO_H
16156 #include <sys/mtio.h>
16159 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes
; then :
16161 cat >>confdefs.h
<<_ACEOF
16162 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
16167 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
16168 #ifdef HAVE_SYS_MTIO_H
16169 #include <sys/mtio.h>
16172 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes
; then :
16174 cat >>confdefs.h
<<_ACEOF
16175 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
16182 ac_fn_c_check_member
"$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
16183 #include <getopt.h>
16186 if test "x$ac_cv_member_struct_option_name" = xyes
; then :
16188 cat >>confdefs.h
<<_ACEOF
16189 #define HAVE_STRUCT_OPTION_NAME 1
16196 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
16197 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes
; then :
16199 cat >>confdefs.h
<<_ACEOF
16200 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
16205 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
16206 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes
; then :
16208 cat >>confdefs.h
<<_ACEOF
16209 #define HAVE_STRUCT_STAT_ST_MTIM 1
16214 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
16215 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes
; then :
16217 cat >>confdefs.h
<<_ACEOF
16218 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
16223 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
16224 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes
; then :
16226 cat >>confdefs.h
<<_ACEOF
16227 #define HAVE_STRUCT_STAT_ST_CTIM 1
16232 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
16233 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes
; then :
16235 cat >>confdefs.h
<<_ACEOF
16236 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
16241 ac_fn_c_check_member
"$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
16242 if test "x$ac_cv_member_struct_stat_st_atim" = xyes
; then :
16244 cat >>confdefs.h
<<_ACEOF
16245 #define HAVE_STRUCT_STAT_ST_ATIM 1
16250 ac_fn_c_check_member
"$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
16251 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes
; then :
16253 cat >>confdefs.h
<<_ACEOF
16254 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
16259 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
16260 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes
; then :
16262 cat >>confdefs.h
<<_ACEOF
16263 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
16268 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
16269 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes
; then :
16271 cat >>confdefs.h
<<_ACEOF
16272 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
16277 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
16278 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes
; then :
16280 cat >>confdefs.h
<<_ACEOF
16281 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
16286 ac_fn_c_check_member
"$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
16287 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes
; then :
16289 cat >>confdefs.h
<<_ACEOF
16290 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
16295 ac_fn_c_check_member
"$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
16296 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes
; then :
16298 cat >>confdefs.h
<<_ACEOF
16299 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
16306 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
16307 #include <sys/types.h>
16309 #ifdef HAVE_NETINET_IN_H
16310 #include <netinet/in.h>
16313 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes
; then :
16315 cat >>confdefs.h
<<_ACEOF
16316 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
16323 ac_fn_c_check_type
"$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_RESOLV_H
16324 #include <resolv.h>
16327 if test "x$ac_cv_type_struct___res_state" = xyes
; then :
16329 cat >>confdefs.h
<<_ACEOF
16330 #define HAVE_STRUCT___RES_STATE 1
16337 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
16338 #include <resolv.h>
16341 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes
; then :
16343 cat >>confdefs.h
<<_ACEOF
16344 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
16351 ac_fn_c_check_member
"$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
16352 #include <sys/types.h>
16354 #ifdef HAVE_NETINET_IN_H
16355 # include <netinet/in.h>
16357 #ifdef HAVE_ARPA_NAMESER_H
16358 # include <arpa/nameser.h>
16361 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes
; then :
16363 cat >>confdefs.h
<<_ACEOF
16364 #define HAVE_NS_MSG__MSG_PTR 1
16371 ac_fn_c_check_member
"$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
16372 #include <sys/types.h>
16374 #ifdef HAVE_NETINET_IP_H
16375 #include <netinet/ip.h>
16377 #ifdef HAVE_NETINET_IP_ICMP_H
16378 #include <netinet/ip_icmp.h>
16380 #ifdef HAVE_NETINET_ICMP_VAR_H
16381 #include <netinet/icmp_var.h>
16384 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes
; then :
16386 cat >>confdefs.h
<<_ACEOF
16387 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
16394 ac_fn_c_check_member
"$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
16395 #include <sys/types.h>
16397 #ifdef HAVE_ALIAS_H
16400 #ifdef HAVE_SYS_SOCKET_H
16401 #include <sys/socket.h>
16403 #ifdef HAVE_SYS_SOCKETVAR_H
16404 #include <sys/socketvar.h>
16406 #ifdef HAVE_SYS_TIMEOUT_H
16407 #include <sys/timeout.h>
16409 #ifdef HAVE_NETINET_IN_H
16410 #include <netinet/in.h>
16412 #ifdef HAVE_NETINET_IN_SYSTM_H
16413 #include <netinet/in_systm.h>
16415 #ifdef HAVE_NETINET_IP_H
16416 #include <netinet/ip.h>
16418 #ifdef HAVE_NETINET_IP_VAR_H
16419 #include <netinet/ip_var.h>
16421 #ifdef HAVE_NETINET_IP_ICMP_H
16422 #include <netinet/ip_icmp.h>
16424 #ifdef HAVE_NETINET_ICMP_VAR_H
16425 #include <netinet/icmp_var.h>
16428 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes
; then :
16430 cat >>confdefs.h
<<_ACEOF
16431 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
16438 ac_fn_c_check_member
"$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
16439 #include <sys/types.h>
16441 #ifdef HAVE_SYS_SOCKETVAR_H
16442 #include <sys/socketvar.h>
16444 #ifdef HAVE_NETINET_IN_H
16445 #include <netinet/in.h>
16447 #ifdef HAVE_NETINET_IP_VAR_H
16448 #include <netinet/ip_var.h>
16451 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes
; then :
16453 cat >>confdefs.h
<<_ACEOF
16454 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
16461 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
16462 #include <netinet/ip_var.h>
16465 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes
; then :
16467 cat >>confdefs.h
<<_ACEOF
16468 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
16475 ac_fn_c_check_member
"$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
16476 #include <sys/types.h>
16478 #ifdef HAVE_SYS_SOCKETVAR_H
16479 #include <sys/socketvar.h>
16481 #ifdef HAVE_NETINET_IN_H
16482 #include <netinet/in.h>
16484 #ifdef HAVE_NETINET_TCP_H
16485 #include <netinet/tcp.h>
16487 #ifdef HAVE_NETINET_TCP_VAR_H
16488 #include <netinet/tcp_var.h>
16491 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes
; then :
16493 cat >>confdefs.h
<<_ACEOF
16494 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
16501 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
16502 #include <netinet/tcp_var.h>
16505 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes
; then :
16507 cat >>confdefs.h
<<_ACEOF
16508 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
16515 ac_fn_c_check_member
"$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
16516 #include <sys/types.h>
16518 #ifdef HAVE_NETINET_IN_H
16519 #include <netinet/in.h>
16521 #ifdef HAVE_NETINET_IP_VAR_H
16522 #include <netinet/ip_var.h>
16524 #ifdef HAVE_NETINET_UDP_H
16525 #include <netinet/udp.h>
16527 #ifdef HAVE_NETINET_UDP_VAR_H
16528 #include <netinet/udp_var.h>
16531 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes
; then :
16533 cat >>confdefs.h
<<_ACEOF
16534 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
16541 ac_fn_c_check_member
"$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
16542 #include <sys/types.h>
16544 #ifdef HAVE_NET_IF_H
16545 # include <net/if.h>
16548 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes
; then :
16550 cat >>confdefs.h
<<_ACEOF
16551 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
16558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
16559 $as_echo_n "checking for timezone variable... " >&6; }
16560 if ${ac_cv_have_timezone+:} false
; then :
16561 $as_echo_n "(cached) " >&6
16563 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16564 /* end confdefs.h. */
16574 if ac_fn_c_try_link
"$LINENO"; then :
16575 ac_cv_have_timezone
="yes"
16577 ac_cv_have_timezone
="no"
16579 rm -f core conftest.err conftest.
$ac_objext \
16580 conftest
$ac_exeext conftest.
$ac_ext
16582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
16583 $as_echo "$ac_cv_have_timezone" >&6; }
16584 if test "$ac_cv_have_timezone" = "yes"
16587 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
16590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
16591 $as_echo_n "checking for daylight variable... " >&6; }
16592 if ${ac_cv_have_daylight+:} false
; then :
16593 $as_echo_n "(cached) " >&6
16595 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16596 /* end confdefs.h. */
16606 if ac_fn_c_try_link
"$LINENO"; then :
16607 ac_cv_have_daylight
="yes"
16609 ac_cv_have_daylight
="no"
16611 rm -f core conftest.err conftest.
$ac_objext \
16612 conftest
$ac_exeext conftest.
$ac_ext
16614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
16615 $as_echo "$ac_cv_have_daylight" >&6; }
16616 if test "$ac_cv_have_daylight" = "yes"
16619 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
16623 ac_save_LIBS
="$LIBS"
16625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
16626 $as_echo_n "checking for isfinite... " >&6; }
16627 if ${ac_cv_have_isfinite+:} false
; then :
16628 $as_echo_n "(cached) " >&6
16630 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16631 /* end confdefs.h. */
16632 #define _GNU_SOURCE
16637 float f = 0.0; return isfinite(f)
16642 if ac_fn_c_try_link
"$LINENO"; then :
16643 ac_cv_have_isfinite
="yes"
16645 ac_cv_have_isfinite
="no"
16647 rm -f core conftest.err conftest.
$ac_objext \
16648 conftest
$ac_exeext conftest.
$ac_ext
16650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
16651 $as_echo "$ac_cv_have_isfinite" >&6; }
16652 if test "$ac_cv_have_isfinite" = "yes"
16655 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
16659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
16660 $as_echo_n "checking for isinf... " >&6; }
16661 if ${ac_cv_have_isinf+:} false
; then :
16662 $as_echo_n "(cached) " >&6
16664 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16665 /* end confdefs.h. */
16670 float f = 0.0; return isinf(f)
16675 if ac_fn_c_try_link
"$LINENO"; then :
16676 ac_cv_have_isinf
="yes"
16678 ac_cv_have_isinf
="no"
16680 rm -f core conftest.err conftest.
$ac_objext \
16681 conftest
$ac_exeext conftest.
$ac_ext
16683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
16684 $as_echo "$ac_cv_have_isinf" >&6; }
16685 if test "$ac_cv_have_isinf" = "yes"
16688 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
16692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
16693 $as_echo_n "checking for isnan... " >&6; }
16694 if ${ac_cv_have_isnan+:} false
; then :
16695 $as_echo_n "(cached) " >&6
16697 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16698 /* end confdefs.h. */
16703 float f = 0.0; return isnan(f)
16708 if ac_fn_c_try_link
"$LINENO"; then :
16709 ac_cv_have_isnan
="yes"
16711 ac_cv_have_isnan
="no"
16713 rm -f core conftest.err conftest.
$ac_objext \
16714 conftest
$ac_exeext conftest.
$ac_ext
16716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
16717 $as_echo "$ac_cv_have_isnan" >&6; }
16718 if test "$ac_cv_have_isnan" = "yes"
16721 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
16750 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16751 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
16752 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
16753 cat >>confdefs.h
<<_ACEOF
16754 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16760 LIBS
="$ac_save_LIBS"
16762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_clz" >&5
16763 $as_echo_n "checking for __builtin_clz... " >&6; }
16764 if ${ac_cv_have___builtin_clz+:} false
; then :
16765 $as_echo_n "(cached) " >&6
16767 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16768 /* end confdefs.h. */
16773 return __builtin_clz(1)
16778 if ac_fn_c_try_link
"$LINENO"; then :
16779 ac_cv_have___builtin_clz
="yes"
16781 ac_cv_have___builtin_clz
="no"
16783 rm -f core conftest.err conftest.
$ac_objext \
16784 conftest
$ac_exeext conftest.
$ac_ext
16786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_clz" >&5
16787 $as_echo "$ac_cv_have___builtin_clz" >&6; }
16788 if test "$ac_cv_have___builtin_clz" = "yes"
16791 $as_echo "#define HAVE___BUILTIN_CLZ 1" >>confdefs.h
16797 *i
[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
16798 $as_echo_n "checking whether we need to define __i386__... " >&6; }
16799 if ${ac_cv_cpp_def___i386__+:} false
; then :
16800 $as_echo_n "(cached) " >&6
16802 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16803 /* end confdefs.h. */
16808 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16809 $EGREP "yes" >/dev
/null
2>&1; then :
16810 ac_cv_cpp_def___i386__
=yes
16812 ac_cv_cpp_def___i386__
=no
16817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
16818 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
16819 if test "x$ac_cv_cpp_def___i386__" = xyes
; then :
16820 CFLAGS
="$CFLAGS -D__i386__"
16821 LINTFLAGS
="$LINTFLAGS -D__i386__"
16823 *x86_64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
16824 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
16825 if ${ac_cv_cpp_def___x86_64__+:} false
; then :
16826 $as_echo_n "(cached) " >&6
16828 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16829 /* end confdefs.h. */
16834 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16835 $EGREP "yes" >/dev
/null
2>&1; then :
16836 ac_cv_cpp_def___x86_64__
=yes
16838 ac_cv_cpp_def___x86_64__
=no
16843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
16844 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
16845 if test "x$ac_cv_cpp_def___x86_64__" = xyes
; then :
16846 CFLAGS
="$CFLAGS -D__x86_64__"
16847 LINTFLAGS
="$LINTFLAGS -D__x86_64__"
16849 *sparc64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
16850 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
16851 if ${ac_cv_cpp_def___sparc64__+:} false
; then :
16852 $as_echo_n "(cached) " >&6
16854 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16855 /* end confdefs.h. */
16856 #ifndef __sparc64__
16860 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16861 $EGREP "yes" >/dev
/null
2>&1; then :
16862 ac_cv_cpp_def___sparc64__
=yes
16864 ac_cv_cpp_def___sparc64__
=no
16869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
16870 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
16871 if test "x$ac_cv_cpp_def___sparc64__" = xyes
; then :
16872 CFLAGS
="$CFLAGS -D__sparc64__"
16873 LINTFLAGS
="$LINTFLAGS -D__sparc64__"
16875 *sparc
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
16876 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
16877 if ${ac_cv_cpp_def___sparc__+:} false
; then :
16878 $as_echo_n "(cached) " >&6
16880 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16881 /* end confdefs.h. */
16886 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16887 $EGREP "yes" >/dev
/null
2>&1; then :
16888 ac_cv_cpp_def___sparc__
=yes
16890 ac_cv_cpp_def___sparc__
=no
16895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
16896 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
16897 if test "x$ac_cv_cpp_def___sparc__" = xyes
; then :
16898 CFLAGS
="$CFLAGS -D__sparc__"
16899 LINTFLAGS
="$LINTFLAGS -D__sparc__"
16901 *powerpc64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
16902 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
16903 if ${ac_cv_cpp_def___powerpc64__+:} false
; then :
16904 $as_echo_n "(cached) " >&6
16906 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16907 /* end confdefs.h. */
16908 #ifndef __powerpc64__
16912 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16913 $EGREP "yes" >/dev
/null
2>&1; then :
16914 ac_cv_cpp_def___powerpc64__
=yes
16916 ac_cv_cpp_def___powerpc64__
=no
16921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
16922 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
16923 if test "x$ac_cv_cpp_def___powerpc64__" = xyes
; then :
16924 CFLAGS
="$CFLAGS -D__powerpc64__"
16925 LINTFLAGS
="$LINTFLAGS -D__powerpc64__"
16927 *powerpc
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
16928 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
16929 if ${ac_cv_cpp_def___powerpc__+:} false
; then :
16930 $as_echo_n "(cached) " >&6
16932 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16933 /* end confdefs.h. */
16934 #ifndef __powerpc__
16938 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16939 $EGREP "yes" >/dev
/null
2>&1; then :
16940 ac_cv_cpp_def___powerpc__
=yes
16942 ac_cv_cpp_def___powerpc__
=no
16947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
16948 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
16949 if test "x$ac_cv_cpp_def___powerpc__" = xyes
; then :
16950 CFLAGS
="$CFLAGS -D__powerpc__"
16951 LINTFLAGS
="$LINTFLAGS -D__powerpc__"
16953 *aarch64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
16954 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
16955 if ${ac_cv_cpp_def___aarch64__+:} false
; then :
16956 $as_echo_n "(cached) " >&6
16958 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16959 /* end confdefs.h. */
16960 #ifndef __aarch64__
16964 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16965 $EGREP "yes" >/dev
/null
2>&1; then :
16966 ac_cv_cpp_def___aarch64__
=yes
16968 ac_cv_cpp_def___aarch64__
=no
16973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
16974 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
16975 if test "x$ac_cv_cpp_def___aarch64__" = xyes
; then :
16976 CFLAGS
="$CFLAGS -D__aarch64__"
16977 LINTFLAGS
="$LINTFLAGS -D__aarch64__"
16979 *arm
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
16980 $as_echo_n "checking whether we need to define __arm__... " >&6; }
16981 if ${ac_cv_cpp_def___arm__+:} false
; then :
16982 $as_echo_n "(cached) " >&6
16984 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16985 /* end confdefs.h. */
16990 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16991 $EGREP "yes" >/dev
/null
2>&1; then :
16992 ac_cv_cpp_def___arm__
=yes
16994 ac_cv_cpp_def___arm__
=no
16999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
17000 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
17001 if test "x$ac_cv_cpp_def___arm__" = xyes
; then :
17002 CFLAGS
="$CFLAGS -D__arm__"
17003 LINTFLAGS
="$LINTFLAGS -D__arm__"
17007 case $host_vendor in
17008 *sun
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
17009 $as_echo_n "checking whether we need to define __sun__... " >&6; }
17010 if ${ac_cv_cpp_def___sun__+:} false
; then :
17011 $as_echo_n "(cached) " >&6
17013 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17014 /* end confdefs.h. */
17019 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17020 $EGREP "yes" >/dev
/null
2>&1; then :
17021 ac_cv_cpp_def___sun__
=yes
17023 ac_cv_cpp_def___sun__
=no
17028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
17029 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
17030 if test "x$ac_cv_cpp_def___sun__" = xyes
; then :
17031 CFLAGS
="$CFLAGS -D__sun__"
17032 LINTFLAGS
="$LINTFLAGS -D__sun__"
17040 ac_config_commands
="$ac_config_commands include/stamp-h"
17042 $as_echo_n "creating Makefile rules..." >&6
17044 ALL_VARS_RULES
="OPENGL_LIBS = $OPENGL_LIBS
17045 SOCKET_LIBS = $SOCKET_LIBS
17046 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
17047 IOKIT_LIBS = $IOKIT_LIBS
17048 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
17049 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
17050 CORESERVICES_LIBS = $CORESERVICES_LIBS
17051 APPKIT_LIBS = $APPKIT_LIBS
17052 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
17053 SECURITY_LIBS = $SECURITY_LIBS
17054 COREAUDIO_LIBS = $COREAUDIO_LIBS
17055 OPENAL_LIBS = $OPENAL_LIBS
17056 OPENCL_LIBS = $OPENCL_LIBS
17057 QUICKTIME_LIBS = $QUICKTIME_LIBS
17058 CARBON_LIBS = $CARBON_LIBS
17059 PTHREAD_LIBS = $PTHREAD_LIBS
17060 X_CFLAGS = $X_CFLAGS
17061 X_PRE_LIBS = $X_PRE_LIBS
17063 X_EXTRA_LIBS = $X_EXTRA_LIBS
17064 XML2_CFLAGS = $XML2_CFLAGS
17065 XML2_LIBS = $XML2_LIBS
17066 XSLT_CFLAGS = $XSLT_CFLAGS
17067 XSLT_LIBS = $XSLT_LIBS
17068 DBUS_CFLAGS = $DBUS_CFLAGS
17069 DBUS_LIBS = $DBUS_LIBS
17070 HAL_CFLAGS = $HAL_CFLAGS
17071 HAL_LIBS = $HAL_LIBS
17072 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
17073 GNUTLS_LIBS = $GNUTLS_LIBS
17074 SANE_CFLAGS = $SANE_CFLAGS
17075 SANE_LIBS = $SANE_LIBS
17076 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
17077 GPHOTO2_LIBS = $GPHOTO2_LIBS
17078 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
17079 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
17080 RESOLV_LIBS = $RESOLV_LIBS
17081 LCMS2_CFLAGS = $LCMS2_CFLAGS
17082 LCMS2_LIBS = $LCMS2_LIBS
17083 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
17084 FREETYPE_LIBS = $FREETYPE_LIBS
17086 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
17087 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
17088 GSTREAMER_LIBS = $GSTREAMER_LIBS
17089 ALSA_LIBS = $ALSA_LIBS
17090 OSS4_CFLAGS = $OSS4_CFLAGS
17091 CAPI20_CFLAGS = $CAPI20_CFLAGS
17092 CAPI20_LIBS = $CAPI20_LIBS
17093 CUPS_CFLAGS = $CUPS_CFLAGS
17094 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
17095 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
17096 JPEG_CFLAGS = $JPEG_CFLAGS
17097 JPEG_LIBS = $JPEG_LIBS
17098 PNG_CFLAGS = $PNG_CFLAGS
17099 PNG_LIBS = $PNG_LIBS
17100 TIFF_CFLAGS = $TIFF_CFLAGS
17101 TIFF_LIBS = $TIFF_LIBS
17102 MPG123_CFLAGS = $MPG123_CFLAGS
17103 MPG123_LIBS = $MPG123_LIBS
17104 KSTAT_LIBS = $KSTAT_LIBS
17105 PROCSTAT_LIBS = $PROCSTAT_LIBS
17107 POLL_LIBS = $POLL_LIBS
17109 LDAP_LIBS = $LDAP_LIBS
17114 wine_fn_append_rule
"
17115 # Rules automatically generated by configure
17117 CLEAN_FILES = *.o *.a *.so *.res *.fake *.ok *.tab.[ch] *.yy.c
17122 Makefile: $srcdir/Makefile.in $srcdir/Make.vars.in config.status \$(MAKEDEP)
17123 @./config.status Make.tmp Makefile"
17125 test "$srcdir" = .
&& wine_fn_append_rule
"all: .gitignore
17126 .gitignore: config.status
17127 @./config.status .gitignore"
17129 test -n "$CROSSTARGET" || wine_fn_append_rule
"crosstest:
17130 @echo \"crosstest is not supported (mingw not installed?)\" && false"
17132 if test "x$enable_fonts" != xno
; then
17133 ac_config_links
="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
17134 ac_config_links
="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
17135 ac_config_links
="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
17136 ac_config_links
="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
17137 ac_config_links
="$ac_config_links fonts/wingding.ttf:fonts/wingding.ttf"
17138 test "$srcdir" = "." || wine_fn_config_symlink fonts
/marlett.ttf fonts
/symbol.ttf fonts
/tahoma.ttf fonts
/tahomabd.ttf fonts
/wingding.ttf
17140 ac_config_links
="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
17141 test "$srcdir" = "." || wine_fn_config_symlink loader
/l_intl.nls
17142 ac_config_links
="$ac_config_links po/LINGUAS:po/LINGUAS"
17143 test "$srcdir" = "." || wine_fn_config_symlink po
/LINGUAS
17144 ac_config_links
="$ac_config_links wine:tools/winewrapper"
17145 wine_fn_config_symlink wine
17146 if test "x$enable_win64" != xno
; then
17147 ac_config_links
="$ac_config_links wine64:tools/winewrapper"
17148 wine_fn_config_symlink wine64
17151 wine_fn_config_dll acledit enable_acledit
17152 wine_fn_config_dll aclui enable_aclui implib
17153 wine_fn_config_dll activeds enable_activeds implib
17154 wine_fn_config_dll actxprxy enable_actxprxy clean
17155 wine_fn_config_lib adsiid
17156 wine_fn_config_dll advapi32 enable_advapi32 clean
,implib
17157 wine_fn_config_test dlls
/advapi32
/tests advapi32_test
17158 wine_fn_config_dll advpack enable_advpack implib
17159 wine_fn_config_test dlls
/advpack
/tests advpack_test
17160 wine_fn_config_dll amstream enable_amstream clean
17161 wine_fn_config_test dlls
/amstream
/tests amstream_test
17162 wine_fn_config_dll api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
17163 wine_fn_config_dll api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
17164 wine_fn_config_dll api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
17165 wine_fn_config_dll api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
17166 wine_fn_config_dll api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
17167 wine_fn_config_dll api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
17168 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
17169 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
17170 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
17171 wine_fn_config_dll api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
17172 wine_fn_config_dll api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
17173 wine_fn_config_dll api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
17174 wine_fn_config_dll api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
17175 wine_fn_config_dll api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
17176 wine_fn_config_dll api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
17177 wine_fn_config_dll api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
17178 wine_fn_config_dll api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
17179 wine_fn_config_dll api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
17180 wine_fn_config_dll api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
17181 wine_fn_config_dll api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
17182 wine_fn_config_dll api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
17183 wine_fn_config_dll api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
17184 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
17185 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
17186 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
17187 wine_fn_config_dll api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
17188 wine_fn_config_dll api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
17189 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
17190 wine_fn_config_dll api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
17191 wine_fn_config_dll api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
17192 wine_fn_config_dll api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
17193 wine_fn_config_dll api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
17194 wine_fn_config_dll api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
17195 wine_fn_config_dll api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
17196 wine_fn_config_dll api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
17197 wine_fn_config_dll api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
17198 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
17199 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
17200 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
17201 wine_fn_config_dll api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
17202 wine_fn_config_dll api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
17203 wine_fn_config_dll api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
17204 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
17205 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
17206 wine_fn_config_dll api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
17207 wine_fn_config_dll api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
17208 wine_fn_config_dll api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
17209 wine_fn_config_dll api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
17210 wine_fn_config_dll api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
17211 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
17212 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
17213 wine_fn_config_dll api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
17214 wine_fn_config_dll api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
17215 wine_fn_config_dll api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
17216 wine_fn_config_dll api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
17217 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
17218 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
17219 wine_fn_config_dll api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
17220 wine_fn_config_dll api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
17221 wine_fn_config_dll api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
17222 wine_fn_config_dll api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
17223 wine_fn_config_dll api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
17224 wine_fn_config_dll api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
17225 wine_fn_config_dll api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
17226 wine_fn_config_dll api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
17227 wine_fn_config_dll api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
17228 wine_fn_config_dll api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
17229 wine_fn_config_dll api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
17230 wine_fn_config_dll api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
17231 wine_fn_config_dll api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
17232 wine_fn_config_dll api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
17233 wine_fn_config_dll api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
17234 wine_fn_config_dll api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
17235 wine_fn_config_dll api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
17236 wine_fn_config_dll api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
17237 wine_fn_config_dll api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
17238 wine_fn_config_dll api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
17239 wine_fn_config_dll api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
17240 wine_fn_config_dll api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
17241 wine_fn_config_dll api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
17242 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
17243 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
17244 wine_fn_config_dll api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
17245 wine_fn_config_dll api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
17246 wine_fn_config_dll api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
17247 wine_fn_config_dll api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
17248 wine_fn_config_dll api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
17249 wine_fn_config_dll api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
17250 wine_fn_config_dll api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
17251 wine_fn_config_dll api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
17252 wine_fn_config_dll api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
17253 wine_fn_config_dll api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
17254 wine_fn_config_dll apphelp enable_apphelp
17255 wine_fn_config_test dlls
/apphelp
/tests apphelp_test
17256 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl po
17257 wine_fn_config_dll atl enable_atl clean
,implib
17258 wine_fn_config_test dlls
/atl
/tests atl_test
17259 wine_fn_config_dll atl100 enable_atl100 clean
,implib
17260 wine_fn_config_test dlls
/atl100
/tests atl100_test
17261 wine_fn_config_dll atl110 enable_atl110 clean
17262 wine_fn_config_dll atl80 enable_atl80 clean
,implib
17263 wine_fn_config_test dlls
/atl80
/tests atl80_test
17264 wine_fn_config_dll atl90 enable_atl90 clean
17265 wine_fn_config_dll authz enable_authz
17266 wine_fn_config_dll avicap32 enable_avicap32 implib
17267 wine_fn_config_dll avifil32 enable_avifil32 clean
,implib
,po
17268 wine_fn_config_test dlls
/avifil32
/tests avifil32_test
17269 wine_fn_config_dll avifile.dll16 enable_win16
17270 wine_fn_config_dll avrt enable_avrt implib
17271 wine_fn_config_dll bcrypt enable_bcrypt
17272 wine_fn_config_test dlls
/bcrypt
/tests bcrypt_test
17273 wine_fn_config_dll browseui enable_browseui clean
,po
17274 wine_fn_config_test dlls
/browseui
/tests browseui_test
17275 wine_fn_config_dll cabinet enable_cabinet implib
17276 wine_fn_config_test dlls
/cabinet
/tests cabinet_test
17277 wine_fn_config_dll capi2032 enable_capi2032 implib
17278 wine_fn_config_dll cards enable_cards implib
17279 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
17280 wine_fn_config_dll clusapi enable_clusapi implib
17281 wine_fn_config_dll combase enable_combase
17282 wine_fn_config_test dlls
/combase
/tests combase_test
17283 wine_fn_config_dll comcat enable_comcat
17284 wine_fn_config_test dlls
/comcat
/tests comcat_test
17285 wine_fn_config_dll comctl32 enable_comctl32 implib
,po
17286 wine_fn_config_test dlls
/comctl32
/tests comctl32_test
17287 wine_fn_config_dll comdlg32 enable_comdlg32 clean
,implib
,po
17288 wine_fn_config_test dlls
/comdlg32
/tests comdlg32_test
17289 wine_fn_config_dll
comm.drv16 enable_win16
17290 wine_fn_config_dll commdlg.dll16 enable_win16
17291 wine_fn_config_dll compobj.dll16 enable_win16
17292 wine_fn_config_dll compstui enable_compstui implib
17293 wine_fn_config_dll comsvcs enable_comsvcs implib
17294 wine_fn_config_dll connect enable_connect
17295 wine_fn_config_dll credui enable_credui implib
,po
17296 wine_fn_config_test dlls
/credui
/tests credui_test
17297 wine_fn_config_dll crtdll enable_crtdll implib
17298 wine_fn_config_dll crypt32 enable_crypt32 implib
,po
17299 wine_fn_config_test dlls
/crypt32
/tests crypt32_test
17300 wine_fn_config_dll cryptdlg enable_cryptdlg po
17301 wine_fn_config_dll cryptdll enable_cryptdll implib
17302 wine_fn_config_dll cryptext enable_cryptext
17303 wine_fn_config_dll cryptnet enable_cryptnet implib
17304 wine_fn_config_test dlls
/cryptnet
/tests cryptnet_test
17305 wine_fn_config_dll cryptui enable_cryptui implib
,po
17306 wine_fn_config_test dlls
/cryptui
/tests cryptui_test
17307 wine_fn_config_dll ctapi32 enable_ctapi32
17308 wine_fn_config_dll ctl3d.dll16 enable_win16
17309 wine_fn_config_dll ctl3d32 enable_ctl3d32 implib
17310 wine_fn_config_dll ctl3dv2.dll16 enable_win16
17311 wine_fn_config_dll d2d1 enable_d2d1 implib
17312 wine_fn_config_test dlls
/d2d
1/tests d2d1_test
17313 wine_fn_config_dll d3d10 enable_d3d10 implib
17314 wine_fn_config_test dlls
/d3d10
/tests d3d10_test
17315 wine_fn_config_dll d3d10_1 enable_d3d10_1 implib
17316 wine_fn_config_dll d3d10core enable_d3d10core implib
17317 wine_fn_config_test dlls
/d3d10core
/tests d3d10core_test
17318 wine_fn_config_dll d3d11 enable_d3d11 implib
17319 wine_fn_config_test dlls
/d3d11
/tests d3d11_test
17320 wine_fn_config_dll d3d8 enable_d3d8 implib
17321 wine_fn_config_test dlls
/d3d
8/tests d3d8_test
17322 wine_fn_config_dll d3d9 enable_d3d9 implib
17323 wine_fn_config_test dlls
/d3d
9/tests d3d9_test
17324 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
17325 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
17326 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
17327 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
17328 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
17329 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
17330 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
17331 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
17332 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
17333 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
17334 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
17335 wine_fn_config_test dlls
/d3dcompiler_43
/tests d3dcompiler_43_test
17336 wine_fn_config_dll d3dcompiler_46 enable_d3dcompiler_46
17337 wine_fn_config_dll d3dcompiler_47 enable_d3dcompiler_47
17338 wine_fn_config_dll d3dim enable_d3dim implib
17339 wine_fn_config_dll d3drm enable_d3drm implib
17340 wine_fn_config_test dlls
/d3drm
/tests d3drm_test
17341 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
17342 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
17343 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
17344 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
17345 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
17346 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
17347 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
17348 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
17349 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
17350 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
17351 wine_fn_config_dll d3dx10_43 enable_d3dx10_43
17352 wine_fn_config_dll d3dx11_42 enable_d3dx11_42
17353 wine_fn_config_dll d3dx11_43 enable_d3dx11_43
17354 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
17355 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
17356 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
17357 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
17358 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
17359 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
17360 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
17361 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
17362 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
17363 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
17364 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
17365 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
17366 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
17367 wine_fn_config_test dlls
/d3dx9_36
/tests d3dx9_36_test
17368 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
17369 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
17370 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
17371 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
17372 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
17373 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
17374 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
17375 wine_fn_config_dll d3dxof enable_d3dxof clean
,implib
17376 wine_fn_config_test dlls
/d3dxof
/tests d3dxof_test
17377 wine_fn_config_dll davclnt enable_davclnt
17378 wine_fn_config_dll dbgeng enable_dbgeng implib
17379 wine_fn_config_dll dbghelp enable_dbghelp implib
17380 wine_fn_config_dll dciman32 enable_dciman32 implib
17381 wine_fn_config_dll ddeml.dll16 enable_win16
17382 wine_fn_config_dll ddraw enable_ddraw clean
,implib
17383 wine_fn_config_test dlls
/ddraw
/tests ddraw_test
17384 wine_fn_config_dll ddrawex enable_ddrawex clean
17385 wine_fn_config_test dlls
/ddrawex
/tests ddrawex_test
17386 wine_fn_config_dll devenum enable_devenum clean
,po
17387 wine_fn_config_test dlls
/devenum
/tests devenum_test
17388 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
17389 wine_fn_config_dll difxapi enable_difxapi
17390 wine_fn_config_dll dinput enable_dinput clean
,implib
,po
,staticimplib
17391 wine_fn_config_test dlls
/dinput
/tests dinput_test
17392 wine_fn_config_dll dinput8 enable_dinput8 clean
,implib
17393 wine_fn_config_test dlls
/dinput
8/tests dinput8_test
17394 wine_fn_config_dll dispdib.dll16 enable_win16
17395 wine_fn_config_dll dispex enable_dispex clean
17396 wine_fn_config_test dlls
/dispex
/tests dispex_test
17397 wine_fn_config_dll display.drv16 enable_win16
17398 wine_fn_config_dll dmband enable_dmband clean
17399 wine_fn_config_test dlls
/dmband
/tests dmband_test
17400 wine_fn_config_dll dmcompos enable_dmcompos clean
17401 wine_fn_config_test dlls
/dmcompos
/tests dmcompos_test
17402 wine_fn_config_dll dmime enable_dmime clean
17403 wine_fn_config_test dlls
/dmime
/tests dmime_test
17404 wine_fn_config_dll dmloader enable_dmloader clean
17405 wine_fn_config_test dlls
/dmloader
/tests dmloader_test
17406 wine_fn_config_dll dmscript enable_dmscript clean
17407 wine_fn_config_test dlls
/dmscript
/tests dmscript_test
17408 wine_fn_config_dll dmstyle enable_dmstyle clean
17409 wine_fn_config_test dlls
/dmstyle
/tests dmstyle_test
17410 wine_fn_config_dll dmsynth enable_dmsynth clean
17411 wine_fn_config_test dlls
/dmsynth
/tests dmsynth_test
17412 wine_fn_config_dll dmusic enable_dmusic clean
17413 wine_fn_config_test dlls
/dmusic
/tests dmusic_test
17414 wine_fn_config_dll dmusic32 enable_dmusic32 implib
17415 wine_fn_config_dll dnsapi enable_dnsapi implib
17416 wine_fn_config_test dlls
/dnsapi
/tests dnsapi_test
17417 wine_fn_config_dll dplay enable_dplay implib
17418 wine_fn_config_dll dplayx enable_dplayx clean
,implib
17419 wine_fn_config_test dlls
/dplayx
/tests dplayx_test
17420 wine_fn_config_dll dpnaddr enable_dpnaddr
17421 wine_fn_config_dll dpnet enable_dpnet clean
,implib
17422 wine_fn_config_test dlls
/dpnet
/tests dpnet_test
17423 wine_fn_config_dll dpnhpast enable_dpnhpast
17424 wine_fn_config_dll dpnlobby enable_dpnlobby
17425 wine_fn_config_dll dpvoice enable_dpvoice clean
17426 wine_fn_config_test dlls
/dpvoice
/tests dpvoice_test
17427 wine_fn_config_dll dpwsockx enable_dpwsockx
17428 wine_fn_config_dll drmclien enable_drmclien
17429 wine_fn_config_dll dsound enable_dsound clean
,implib
17430 wine_fn_config_test dlls
/dsound
/tests dsound_test
17431 wine_fn_config_dll dssenh enable_dssenh
17432 wine_fn_config_test dlls
/dssenh
/tests dssenh_test
17433 wine_fn_config_dll dswave enable_dswave clean
17434 wine_fn_config_test dlls
/dswave
/tests dswave_test
17435 wine_fn_config_dll dwmapi enable_dwmapi implib
17436 wine_fn_config_dll dwrite enable_dwrite implib
17437 wine_fn_config_test dlls
/dwrite
/tests dwrite_test
17438 wine_fn_config_dll dxdiagn enable_dxdiagn clean
,po
17439 wine_fn_config_test dlls
/dxdiagn
/tests dxdiagn_test
17440 wine_fn_config_lib dxerr8
17441 wine_fn_config_lib dxerr9
17442 wine_fn_config_dll dxgi enable_dxgi implib
17443 wine_fn_config_test dlls
/dxgi
/tests dxgi_test
17444 wine_fn_config_lib dxguid
17445 wine_fn_config_dll dxva2 enable_dxva2
17446 wine_fn_config_dll esent enable_esent
17447 wine_fn_config_dll evr enable_evr
17448 wine_fn_config_dll explorerframe enable_explorerframe clean
17449 wine_fn_config_test dlls
/explorerframe
/tests explorerframe_test
17450 wine_fn_config_dll ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
17451 wine_fn_config_dll faultrep enable_faultrep implib
17452 wine_fn_config_test dlls
/faultrep
/tests faultrep_test
17453 wine_fn_config_dll fltlib enable_fltlib
17454 wine_fn_config_dll fntcache enable_fntcache
17455 wine_fn_config_dll fontsub enable_fontsub
17456 wine_fn_config_dll fusion enable_fusion
17457 wine_fn_config_test dlls
/fusion
/tests fusion_test
17458 wine_fn_config_dll fwpuclnt enable_fwpuclnt
17459 wine_fn_config_dll gameux enable_gameux clean
17460 wine_fn_config_test dlls
/gameux
/tests gameux_test
17461 wine_fn_config_dll gdi.exe16 enable_win16
17462 wine_fn_config_dll gdi32 enable_gdi32 clean
,implib
,po
17463 wine_fn_config_test dlls
/gdi32
/tests gdi32_test
17464 wine_fn_config_dll gdiplus enable_gdiplus implib
17465 wine_fn_config_test dlls
/gdiplus
/tests gdiplus_test
17466 wine_fn_config_dll glu32 enable_glu32 implib
17467 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds po
17468 wine_fn_config_dll gpkcsp enable_gpkcsp
17469 wine_fn_config_dll hal enable_hal
17470 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx clean
,implib
,po htmlhelp
17471 wine_fn_config_dll hid enable_hid implib
17472 wine_fn_config_dll hidclass.sys enable_hidclass_sys implib hidclass
17473 wine_fn_config_dll hlink enable_hlink clean
,implib
17474 wine_fn_config_test dlls
/hlink
/tests hlink_test
17475 wine_fn_config_dll hnetcfg enable_hnetcfg clean
17476 wine_fn_config_dll httpapi enable_httpapi
17477 wine_fn_config_dll iccvid enable_iccvid po
17478 wine_fn_config_dll icmp enable_icmp
17479 wine_fn_config_dll ieframe enable_ieframe clean
,implib
,po
17480 wine_fn_config_test dlls
/ieframe
/tests ieframe_test
17481 wine_fn_config_dll ifsmgr.vxd enable_win16
17482 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
17483 wine_fn_config_dll imagehlp enable_imagehlp implib
17484 wine_fn_config_test dlls
/imagehlp
/tests imagehlp_test
17485 wine_fn_config_dll imm.dll16 enable_win16
17486 wine_fn_config_dll imm32 enable_imm32 implib
17487 wine_fn_config_test dlls
/imm32
/tests imm32_test
17488 wine_fn_config_dll inetcomm enable_inetcomm clean
,implib
17489 wine_fn_config_test dlls
/inetcomm
/tests inetcomm_test
17490 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl po
17491 wine_fn_config_dll inetmib1 enable_inetmib1
17492 wine_fn_config_test dlls
/inetmib
1/tests inetmib1_test
17493 wine_fn_config_dll infosoft enable_infosoft clean
17494 wine_fn_config_test dlls
/infosoft
/tests infosoft_test
17495 wine_fn_config_dll initpki enable_initpki
17496 wine_fn_config_dll inkobj enable_inkobj
17497 wine_fn_config_dll inseng enable_inseng clean
17498 wine_fn_config_dll iphlpapi enable_iphlpapi implib
17499 wine_fn_config_test dlls
/iphlpapi
/tests iphlpapi_test
17500 wine_fn_config_dll itircl enable_itircl
17501 wine_fn_config_dll itss enable_itss clean
17502 wine_fn_config_test dlls
/itss
/tests itss_test
17503 wine_fn_config_dll joy.cpl enable_joy_cpl po
17504 wine_fn_config_dll jscript enable_jscript clean
,po
17505 wine_fn_config_test dlls
/jscript
/tests jscript_test
17506 wine_fn_config_dll jsproxy enable_jsproxy implib
17507 wine_fn_config_dll kernel32 enable_kernel32 clean
,implib
,mc
17508 wine_fn_config_test dlls
/kernel32
/tests kernel32_test
17509 wine_fn_config_dll keyboard.drv16 enable_win16
17510 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
17511 wine_fn_config_dll ksuser enable_ksuser
17512 wine_fn_config_dll ktmw32 enable_ktmw32
17513 wine_fn_config_dll loadperf enable_loadperf implib
17514 wine_fn_config_dll localspl enable_localspl po
17515 wine_fn_config_test dlls
/localspl
/tests localspl_test
17516 wine_fn_config_dll localui enable_localui po
17517 wine_fn_config_test dlls
/localui
/tests localui_test
17518 wine_fn_config_dll lz32 enable_lz32 implib
17519 wine_fn_config_test dlls
/lz32
/tests lz32_test
17520 wine_fn_config_dll lzexpand.dll16 enable_win16
17521 wine_fn_config_dll mapi32 enable_mapi32 implib
,po
17522 wine_fn_config_test dlls
/mapi32
/tests mapi32_test
17523 wine_fn_config_dll mapistub enable_mapistub
17524 wine_fn_config_dll mciavi32 enable_mciavi32
17525 wine_fn_config_dll mcicda enable_mcicda
17526 wine_fn_config_dll mciqtz32 enable_mciqtz32
17527 wine_fn_config_dll mciseq enable_mciseq
17528 wine_fn_config_dll mciwave enable_mciwave
17529 wine_fn_config_dll mf enable_mf
17530 wine_fn_config_dll mfplat enable_mfplat
17531 wine_fn_config_dll mfreadwrite enable_mfreadwrite
17532 wine_fn_config_dll mgmtapi enable_mgmtapi
17533 wine_fn_config_dll midimap enable_midimap
17534 wine_fn_config_dll mlang enable_mlang clean
,implib
17535 wine_fn_config_test dlls
/mlang
/tests mlang_test
17536 wine_fn_config_dll mmcndmgr enable_mmcndmgr clean
17537 wine_fn_config_test dlls
/mmcndmgr
/tests mmcndmgr_test
17538 wine_fn_config_dll mmdevapi enable_mmdevapi clean
17539 wine_fn_config_test dlls
/mmdevapi
/tests mmdevapi_test
17540 wine_fn_config_dll mmdevldr.vxd enable_win16
17541 wine_fn_config_dll mmsystem.dll16 enable_win16
17542 wine_fn_config_dll monodebg.vxd enable_win16
17543 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
17544 wine_fn_config_dll mouse.drv16 enable_win16
17545 wine_fn_config_dll mpr enable_mpr implib
,po
17546 wine_fn_config_test dlls
/mpr
/tests mpr_test
17547 wine_fn_config_dll mprapi enable_mprapi implib
17548 wine_fn_config_dll msacm.dll16 enable_win16
17549 wine_fn_config_dll msacm32.drv enable_msacm32_drv
17550 wine_fn_config_dll msacm32 enable_msacm32 implib
,po
17551 wine_fn_config_test dlls
/msacm32
/tests msacm32_test
17552 wine_fn_config_dll msadp32.acm enable_msadp32_acm
17553 wine_fn_config_dll msasn1 enable_msasn1 implib
17554 wine_fn_config_dll mscat32 enable_mscat32
17555 wine_fn_config_dll mscms enable_mscms implib
17556 wine_fn_config_test dlls
/mscms
/tests mscms_test
17557 wine_fn_config_dll mscoree enable_mscoree clean
17558 wine_fn_config_test dlls
/mscoree
/tests mscoree_test
17559 wine_fn_config_dll msctf enable_msctf clean
17560 wine_fn_config_test dlls
/msctf
/tests msctf_test
17561 wine_fn_config_dll msctfp enable_msctfp clean
17562 wine_fn_config_dll msdaps enable_msdaps clean
17563 wine_fn_config_dll msdmo enable_msdmo implib
17564 wine_fn_config_test dlls
/msdmo
/tests msdmo_test
17565 wine_fn_config_dll msftedit enable_msftedit
17566 wine_fn_config_dll msg711.acm enable_msg711_acm
17567 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
17568 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb clean
17569 wine_fn_config_dll mshtml enable_mshtml clean
,implib
,po
17570 wine_fn_config_test dlls
/mshtml
/tests mshtml_test clean
17571 wine_fn_config_dll msi enable_msi clean
,implib
,po
17572 wine_fn_config_test dlls
/msi
/tests msi_test
17573 wine_fn_config_dll msident enable_msident clean
17574 wine_fn_config_dll msimg32 enable_msimg32 implib
17575 wine_fn_config_dll msimsg enable_msimsg
17576 wine_fn_config_dll msimtf enable_msimtf clean
17577 wine_fn_config_dll msisip enable_msisip
17578 wine_fn_config_dll msisys.ocx enable_msisys_ocx
17579 wine_fn_config_dll msls31 enable_msls31
17580 wine_fn_config_dll msnet32 enable_msnet32
17581 wine_fn_config_dll mspatcha enable_mspatcha implib
17582 wine_fn_config_dll msrle32 enable_msrle32 po
17583 wine_fn_config_test dlls
/msrle32
/tests msrle32_test
17584 wine_fn_config_dll msscript.ocx enable_msscript_ocx clean
17585 wine_fn_config_dll mssign32 enable_mssign32
17586 wine_fn_config_dll mssip32 enable_mssip32
17587 wine_fn_config_dll mstask enable_mstask clean
17588 wine_fn_config_test dlls
/mstask
/tests mstask_test
17589 wine_fn_config_dll msvcirt enable_msvcirt
17590 wine_fn_config_test dlls
/msvcirt
/tests msvcirt_test
17591 wine_fn_config_dll msvcm80 enable_msvcm80
17592 wine_fn_config_dll msvcm90 enable_msvcm90
17593 wine_fn_config_dll msvcp100 enable_msvcp100
17594 wine_fn_config_test dlls
/msvcp100
/tests msvcp100_test
17595 wine_fn_config_dll msvcp110 enable_msvcp110
17596 wine_fn_config_test dlls
/msvcp110
/tests msvcp110_test
17597 wine_fn_config_dll msvcp120 enable_msvcp120
17598 wine_fn_config_test dlls
/msvcp120
/tests msvcp120_test
17599 wine_fn_config_dll msvcp120_app enable_msvcp120_app
17600 wine_fn_config_dll msvcp60 enable_msvcp60
17601 wine_fn_config_test dlls
/msvcp60
/tests msvcp60_test
17602 wine_fn_config_dll msvcp70 enable_msvcp70
17603 wine_fn_config_dll msvcp71 enable_msvcp71
17604 wine_fn_config_dll msvcp80 enable_msvcp80
17605 wine_fn_config_dll msvcp90 enable_msvcp90
17606 wine_fn_config_test dlls
/msvcp90
/tests msvcp90_test
17607 wine_fn_config_dll msvcr100 enable_msvcr100 implib
17608 wine_fn_config_test dlls
/msvcr100
/tests msvcr100_test
17609 wine_fn_config_dll msvcr110 enable_msvcr110 implib
17610 wine_fn_config_dll msvcr120 enable_msvcr120 implib
17611 wine_fn_config_test dlls
/msvcr120
/tests msvcr120_test
17612 wine_fn_config_dll msvcr120_app enable_msvcr120_app
17613 wine_fn_config_dll msvcr70 enable_msvcr70 implib
17614 wine_fn_config_dll msvcr71 enable_msvcr71 implib
17615 wine_fn_config_dll msvcr80 enable_msvcr80 implib
17616 wine_fn_config_dll msvcr90 enable_msvcr90 implib
17617 wine_fn_config_test dlls
/msvcr90
/tests msvcr90_test
17618 wine_fn_config_dll msvcrt enable_msvcrt implib
17619 wine_fn_config_test dlls
/msvcrt
/tests msvcrt_test
17620 wine_fn_config_dll msvcrt20 enable_msvcrt20 implib
17621 wine_fn_config_dll msvcrt40 enable_msvcrt40 implib
17622 wine_fn_config_dll msvcrtd enable_msvcrtd implib
17623 wine_fn_config_test dlls
/msvcrtd
/tests msvcrtd_test
17624 wine_fn_config_dll msvfw32 enable_msvfw32 implib
,po
17625 wine_fn_config_test dlls
/msvfw32
/tests msvfw32_test
17626 wine_fn_config_dll msvidc32 enable_msvidc32 po
17627 wine_fn_config_dll msvideo.dll16 enable_win16
17628 wine_fn_config_dll mswsock enable_mswsock implib
17629 wine_fn_config_dll msxml enable_msxml clean
17630 wine_fn_config_dll msxml2 enable_msxml2 clean
17631 wine_fn_config_dll msxml3 enable_msxml3 clean
17632 wine_fn_config_test dlls
/msxml
3/tests msxml3_test clean
17633 wine_fn_config_dll msxml4 enable_msxml4 clean
17634 wine_fn_config_dll msxml6 enable_msxml6 clean
17635 wine_fn_config_dll nddeapi enable_nddeapi implib
17636 wine_fn_config_dll ndis.sys enable_ndis_sys
17637 wine_fn_config_dll netapi32 enable_netapi32 implib
17638 wine_fn_config_test dlls
/netapi32
/tests netapi32_test
17639 wine_fn_config_dll netcfgx enable_netcfgx clean
17640 wine_fn_config_test dlls
/netcfgx
/tests netcfgx_test
17641 wine_fn_config_dll netprofm enable_netprofm clean
17642 wine_fn_config_test dlls
/netprofm
/tests netprofm_test
17643 wine_fn_config_dll newdev enable_newdev implib
17644 wine_fn_config_dll normaliz enable_normaliz implib
17645 wine_fn_config_dll npmshtml enable_npmshtml
17646 wine_fn_config_dll npptools enable_npptools
17647 wine_fn_config_dll ntdll enable_ntdll implib
17648 wine_fn_config_test dlls
/ntdll
/tests ntdll_test
17649 wine_fn_config_dll ntdsapi enable_ntdsapi implib
17650 wine_fn_config_test dlls
/ntdsapi
/tests ntdsapi_test
17651 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib
17652 wine_fn_config_dll ntprint enable_ntprint
17653 wine_fn_config_test dlls
/ntprint
/tests ntprint_test
17654 wine_fn_config_dll objsel enable_objsel clean
17655 wine_fn_config_dll odbc32 enable_odbc32 implib
17656 wine_fn_config_dll odbccp32 enable_odbccp32 implib
17657 wine_fn_config_test dlls
/odbccp32
/tests odbccp32_test
17658 wine_fn_config_dll odbccu32 enable_odbccu32
17659 wine_fn_config_dll ole2.dll16 enable_win16
17660 wine_fn_config_dll ole2conv.dll16 enable_win16
17661 wine_fn_config_dll ole2disp.dll16 enable_win16
17662 wine_fn_config_dll ole2nls.dll16 enable_win16
17663 wine_fn_config_dll ole2prox.dll16 enable_win16
17664 wine_fn_config_dll ole2thk.dll16 enable_win16
17665 wine_fn_config_dll ole32 enable_ole32 clean
,implib
17666 wine_fn_config_test dlls
/ole32
/tests ole32_test
17667 wine_fn_config_dll oleacc enable_oleacc clean
,implib
,po
17668 wine_fn_config_test dlls
/oleacc
/tests oleacc_test
17669 wine_fn_config_dll oleaut32 enable_oleaut32 clean
,implib
,po
17670 wine_fn_config_test dlls
/oleaut32
/tests oleaut32_test clean
17671 wine_fn_config_dll olecli.dll16 enable_win16
17672 wine_fn_config_dll olecli32 enable_olecli32 implib
17673 wine_fn_config_dll oledb32 enable_oledb32 clean
17674 wine_fn_config_test dlls
/oledb32
/tests oledb32_test clean
17675 wine_fn_config_dll oledlg enable_oledlg implib
,po
17676 wine_fn_config_test dlls
/oledlg
/tests oledlg_test
17677 wine_fn_config_dll olepro32 enable_olepro32 implib
17678 wine_fn_config_dll olesvr.dll16 enable_win16
17679 wine_fn_config_dll olesvr32 enable_olesvr32 implib
17680 wine_fn_config_dll olethk32 enable_olethk32
17681 wine_fn_config_dll openal32 enable_openal32
17682 wine_fn_config_dll opencl enable_opencl
17683 wine_fn_config_dll opengl32 enable_opengl32 implib
17684 wine_fn_config_test dlls
/opengl32
/tests opengl32_test
17685 wine_fn_config_dll packager enable_packager clean
17686 wine_fn_config_test dlls
/packager
/tests packager_test
17687 wine_fn_config_dll pdh enable_pdh implib
17688 wine_fn_config_test dlls
/pdh
/tests pdh_test
17689 wine_fn_config_dll photometadatahandler enable_photometadatahandler
17690 wine_fn_config_dll pidgen enable_pidgen
17691 wine_fn_config_dll powrprof enable_powrprof implib
17692 wine_fn_config_dll printui enable_printui
17693 wine_fn_config_dll prntvpt enable_prntvpt
17694 wine_fn_config_dll propsys enable_propsys clean
,implib
17695 wine_fn_config_test dlls
/propsys
/tests propsys_test
17696 wine_fn_config_dll psapi enable_psapi implib
17697 wine_fn_config_test dlls
/psapi
/tests psapi_test
17698 wine_fn_config_dll pstorec enable_pstorec clean
17699 wine_fn_config_dll qcap enable_qcap
17700 wine_fn_config_test dlls
/qcap
/tests qcap_test
17701 wine_fn_config_dll qedit enable_qedit clean
17702 wine_fn_config_test dlls
/qedit
/tests qedit_test
17703 wine_fn_config_dll qmgr enable_qmgr clean
17704 wine_fn_config_test dlls
/qmgr
/tests qmgr_test
17705 wine_fn_config_dll qmgrprxy enable_qmgrprxy clean
17706 wine_fn_config_dll quartz enable_quartz clean
,implib
17707 wine_fn_config_test dlls
/quartz
/tests quartz_test clean
17708 wine_fn_config_dll query enable_query
17709 wine_fn_config_dll rasapi16.dll16 enable_win16
17710 wine_fn_config_dll rasapi32 enable_rasapi32 implib
17711 wine_fn_config_test dlls
/rasapi32
/tests rasapi32_test
17712 wine_fn_config_dll rasdlg enable_rasdlg implib
17713 wine_fn_config_dll regapi enable_regapi
17714 wine_fn_config_dll resutils enable_resutils implib
17715 wine_fn_config_dll riched20 enable_riched20 clean
,implib
17716 wine_fn_config_test dlls
/riched20
/tests riched20_test
17717 wine_fn_config_dll riched32 enable_riched32
17718 wine_fn_config_test dlls
/riched32
/tests riched32_test
17719 wine_fn_config_dll rpcrt4 enable_rpcrt4 clean
,implib
17720 wine_fn_config_test dlls
/rpcrt
4/tests rpcrt4_test clean
17721 wine_fn_config_dll rsabase enable_rsabase
17722 wine_fn_config_dll rsaenh enable_rsaenh implib
17723 wine_fn_config_test dlls
/rsaenh
/tests rsaenh_test
17724 wine_fn_config_dll rstrtmgr enable_rstrtmgr
17725 wine_fn_config_dll rtutils enable_rtutils implib
17726 wine_fn_config_dll samlib enable_samlib
17727 wine_fn_config_dll sane.ds enable_sane_ds po
17728 wine_fn_config_dll scarddlg enable_scarddlg
17729 wine_fn_config_dll sccbase enable_sccbase
17730 wine_fn_config_dll schannel enable_schannel
17731 wine_fn_config_test dlls
/schannel
/tests schannel_test
17732 wine_fn_config_dll schedsvc enable_schedsvc clean
17733 wine_fn_config_test dlls
/schedsvc
/tests schedsvc_test clean
17734 wine_fn_config_dll scrrun enable_scrrun clean
17735 wine_fn_config_test dlls
/scrrun
/tests scrrun_test clean
17736 wine_fn_config_dll scsiport.sys enable_scsiport_sys
17737 wine_fn_config_dll secur32 enable_secur32 implib
17738 wine_fn_config_test dlls
/secur32
/tests secur32_test
17739 wine_fn_config_dll security enable_security
17740 wine_fn_config_dll sensapi enable_sensapi implib
17741 wine_fn_config_dll serialui enable_serialui implib
,po
17742 wine_fn_config_test dlls
/serialui
/tests serialui_test
17743 wine_fn_config_dll setupapi enable_setupapi implib
,po
17744 wine_fn_config_test dlls
/setupapi
/tests setupapi_test
17745 wine_fn_config_dll setupx.dll16 enable_win16
17746 wine_fn_config_dll sfc enable_sfc implib
17747 wine_fn_config_dll sfc_os enable_sfc_os implib
17748 wine_fn_config_dll shdoclc enable_shdoclc po
17749 wine_fn_config_dll shdocvw enable_shdocvw clean
,implib
17750 wine_fn_config_test dlls
/shdocvw
/tests shdocvw_test
17751 wine_fn_config_dll shell.dll16 enable_win16
17752 wine_fn_config_dll shell32 enable_shell32 clean
,implib
,po
17753 wine_fn_config_test dlls
/shell32
/tests shell32_test
17754 wine_fn_config_dll shfolder enable_shfolder implib
17755 wine_fn_config_dll shlwapi enable_shlwapi implib
,po
17756 wine_fn_config_test dlls
/shlwapi
/tests shlwapi_test
17757 wine_fn_config_dll slbcsp enable_slbcsp
17758 wine_fn_config_dll slc enable_slc implib
17759 wine_fn_config_test dlls
/slc
/tests slc_test
17760 wine_fn_config_dll snmpapi enable_snmpapi implib
17761 wine_fn_config_test dlls
/snmpapi
/tests snmpapi_test
17762 wine_fn_config_dll softpub enable_softpub
17763 wine_fn_config_dll sound.drv16 enable_win16
17764 wine_fn_config_dll spoolss enable_spoolss implib
17765 wine_fn_config_test dlls
/spoolss
/tests spoolss_test
17766 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb clean
17767 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb clean
17768 wine_fn_config_dll sti enable_sti clean
,implib
17769 wine_fn_config_test dlls
/sti
/tests sti_test
17770 wine_fn_config_dll storage.dll16 enable_win16
17771 wine_fn_config_dll stress.dll16 enable_win16
17772 wine_fn_config_lib strmbase
17773 wine_fn_config_lib strmiids
17774 wine_fn_config_dll svrapi enable_svrapi
17775 wine_fn_config_dll sxs enable_sxs implib
17776 wine_fn_config_test dlls
/sxs
/tests sxs_test
17777 wine_fn_config_dll system.drv16 enable_win16
17778 wine_fn_config_dll t2embed enable_t2embed
17779 wine_fn_config_dll tapi32 enable_tapi32 implib
17780 wine_fn_config_dll taskschd enable_taskschd clean
17781 wine_fn_config_test dlls
/taskschd
/tests taskschd_test
17782 wine_fn_config_dll toolhelp.dll16 enable_win16
17783 wine_fn_config_dll traffic enable_traffic
17784 wine_fn_config_dll twain.dll16 enable_win16
17785 wine_fn_config_dll twain_32 enable_twain_32
17786 wine_fn_config_test dlls
/twain_32
/tests twain_32_test
17787 wine_fn_config_dll typelib.dll16 enable_win16
17788 wine_fn_config_dll ucrtbase enable_ucrtbase
17789 wine_fn_config_dll unicows enable_unicows implib
17790 wine_fn_config_dll updspapi enable_updspapi
17791 wine_fn_config_dll url enable_url implib
17792 wine_fn_config_dll urlmon enable_urlmon clean
,implib
,po
17793 wine_fn_config_test dlls
/urlmon
/tests urlmon_test
17794 wine_fn_config_dll usbd.sys enable_usbd_sys implib
17795 wine_fn_config_dll user.exe16 enable_win16
17796 wine_fn_config_dll user32 enable_user32 clean
,implib
,po
17797 wine_fn_config_test dlls
/user32
/tests user32_test
17798 wine_fn_config_dll userenv enable_userenv implib
17799 wine_fn_config_test dlls
/userenv
/tests userenv_test
17800 wine_fn_config_dll usp10 enable_usp10 implib
17801 wine_fn_config_test dlls
/usp10
/tests usp10_test
17802 wine_fn_config_lib uuid
17803 wine_fn_config_dll uxtheme enable_uxtheme implib
17804 wine_fn_config_test dlls
/uxtheme
/tests uxtheme_test
17805 wine_fn_config_dll vbscript enable_vbscript clean
17806 wine_fn_config_test dlls
/vbscript
/tests vbscript_test clean
17807 wine_fn_config_dll vcomp enable_vcomp
17808 wine_fn_config_test dlls
/vcomp
/tests vcomp_test
17809 wine_fn_config_dll vcomp100 enable_vcomp100
17810 wine_fn_config_dll vcomp110 enable_vcomp110
17811 wine_fn_config_dll vcomp90 enable_vcomp90
17812 wine_fn_config_dll vdhcp.vxd enable_win16
17813 wine_fn_config_dll vdmdbg enable_vdmdbg implib
17814 wine_fn_config_dll ver.dll16 enable_win16
17815 wine_fn_config_dll version enable_version implib
17816 wine_fn_config_test dlls
/version
/tests version_test
17817 wine_fn_config_dll vmm.vxd enable_win16
17818 wine_fn_config_dll vnbt.vxd enable_win16
17819 wine_fn_config_dll vnetbios.vxd enable_win16
17820 wine_fn_config_dll vssapi enable_vssapi
17821 wine_fn_config_dll vtdapi.vxd enable_win16
17822 wine_fn_config_dll vwin32.vxd enable_win16
17823 wine_fn_config_dll w32skrnl enable_win16
17824 wine_fn_config_dll w32sys.dll16 enable_win16
17825 wine_fn_config_dll wbemdisp enable_wbemdisp clean
17826 wine_fn_config_test dlls
/wbemdisp
/tests wbemdisp_test
17827 wine_fn_config_dll wbemprox enable_wbemprox clean
17828 wine_fn_config_test dlls
/wbemprox
/tests wbemprox_test
17829 wine_fn_config_dll webservices enable_webservices implib
17830 wine_fn_config_test dlls
/webservices
/tests webservices_test
17831 wine_fn_config_dll wer enable_wer implib
17832 wine_fn_config_test dlls
/wer
/tests wer_test
17833 wine_fn_config_dll wevtapi enable_wevtapi
17834 wine_fn_config_dll wiaservc enable_wiaservc clean
17835 wine_fn_config_dll win32s16.dll16 enable_win16
17836 wine_fn_config_dll win87em.dll16 enable_win16
17837 wine_fn_config_dll winaspi.dll16 enable_win16
17838 wine_fn_config_dll windebug.dll16 enable_win16
17839 wine_fn_config_dll windowscodecs enable_windowscodecs clean
,implib
17840 wine_fn_config_test dlls
/windowscodecs
/tests windowscodecs_test
17841 wine_fn_config_dll windowscodecsext enable_windowscodecsext implib
17842 wine_fn_config_test dlls
/windowscodecsext
/tests windowscodecsext_test
17843 wine_fn_config_dll winealsa.drv enable_winealsa_drv
17844 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
17845 wine_fn_config_lib winecrt0
17846 wine_fn_config_dll wined3d enable_wined3d implib
17847 wine_fn_config_dll winegstreamer enable_winegstreamer
17848 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
17849 wine_fn_config_dll winemac.drv enable_winemac_drv
17850 wine_fn_config_dll winemapi enable_winemapi
17851 wine_fn_config_dll winemp3.acm enable_winemp3_acm
17852 wine_fn_config_dll wineoss.drv enable_wineoss_drv
17853 wine_fn_config_dll wineps.drv enable_wineps_drv clean
,po
17854 wine_fn_config_dll wineps16.drv16 enable_win16
17855 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
17856 wine_fn_config_dll winex11.drv enable_winex11_drv
17857 wine_fn_config_dll wing.dll16 enable_win16
17858 wine_fn_config_dll wing32 enable_wing32
17859 wine_fn_config_dll winhttp enable_winhttp clean
,implib
17860 wine_fn_config_test dlls
/winhttp
/tests winhttp_test
17861 wine_fn_config_dll wininet enable_wininet implib
,po
17862 wine_fn_config_test dlls
/wininet
/tests wininet_test
17863 wine_fn_config_dll winmm enable_winmm implib
,po
17864 wine_fn_config_test dlls
/winmm
/tests winmm_test
17865 wine_fn_config_dll winnls.dll16 enable_win16
17866 wine_fn_config_dll winnls32 enable_winnls32 implib
17867 wine_fn_config_dll winscard enable_winscard implib
17868 wine_fn_config_dll winsock.dll16 enable_win16
17869 wine_fn_config_dll winspool.drv enable_winspool_drv implib
,po winspool
17870 wine_fn_config_test dlls
/winspool.drv
/tests winspool.drv_test
17871 wine_fn_config_dll winsta enable_winsta
17872 wine_fn_config_dll wintab.dll16 enable_win16
17873 wine_fn_config_dll wintab32 enable_wintab32 implib
17874 wine_fn_config_test dlls
/wintab32
/tests wintab32_test
17875 wine_fn_config_dll wintrust enable_wintrust implib
17876 wine_fn_config_test dlls
/wintrust
/tests wintrust_test
17877 wine_fn_config_dll wlanapi enable_wlanapi
17878 wine_fn_config_dll wldap32 enable_wldap32 implib
,po
17879 wine_fn_config_test dlls
/wldap32
/tests wldap32_test
17880 wine_fn_config_dll wmi enable_wmi
17881 wine_fn_config_dll wmiutils enable_wmiutils clean
17882 wine_fn_config_test dlls
/wmiutils
/tests wmiutils_test
17883 wine_fn_config_dll wmp enable_wmp clean
17884 wine_fn_config_test dlls
/wmp
/tests wmp_test
17885 wine_fn_config_dll wmvcore enable_wmvcore
17886 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
17887 wine_fn_config_dll wow32 enable_win16 implib
17888 wine_fn_config_dll wpcap enable_wpcap
17889 wine_fn_config_dll ws2_32 enable_ws2_32 implib
17890 wine_fn_config_test dlls
/ws2_32
/tests ws2_32_test
17891 wine_fn_config_dll wshom.ocx enable_wshom_ocx clean
17892 wine_fn_config_test dlls
/wshom.ocx
/tests wshom.ocx_test clean
17893 wine_fn_config_dll wsnmp32 enable_wsnmp32 implib
17894 wine_fn_config_test dlls
/wsnmp32
/tests wsnmp32_test
17895 wine_fn_config_dll wsock32 enable_wsock32 implib
17896 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
17897 wine_fn_config_test dlls
/wtsapi32
/tests wtsapi32_test
17898 wine_fn_config_dll wuapi enable_wuapi clean
17899 wine_fn_config_dll wuaueng enable_wuaueng
17900 wine_fn_config_dll x3daudio1_1 enable_x3daudio1_1
17901 wine_fn_config_dll x3daudio1_2 enable_x3daudio1_2
17902 wine_fn_config_dll x3daudio1_3 enable_x3daudio1_3
17903 wine_fn_config_dll x3daudio1_4 enable_x3daudio1_4
17904 wine_fn_config_dll x3daudio1_5 enable_x3daudio1_5
17905 wine_fn_config_dll x3daudio1_6 enable_x3daudio1_6
17906 wine_fn_config_dll x3daudio1_7 enable_x3daudio1_7
17907 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
17908 wine_fn_config_dll xapofx1_3 enable_xapofx1_3
17909 wine_fn_config_dll xapofx1_4 enable_xapofx1_4
17910 wine_fn_config_dll xapofx1_5 enable_xapofx1_5
17911 wine_fn_config_dll xaudio2_7 enable_xaudio2_7 clean
17912 wine_fn_config_test dlls
/xaudio2_
7/tests xaudio2_7_test
17913 wine_fn_config_dll xaudio2_8 enable_xaudio2_8
17914 wine_fn_config_dll xinput1_1 enable_xinput1_1
17915 wine_fn_config_dll xinput1_2 enable_xinput1_2
17916 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
17917 wine_fn_config_test dlls
/xinput1_
3/tests xinput1_3_test
17918 wine_fn_config_dll xinput1_4 enable_xinput1_4
17919 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
17920 wine_fn_config_dll xmllite enable_xmllite implib
17921 wine_fn_config_test dlls
/xmllite
/tests xmllite_test
17922 wine_fn_config_dll xolehlp enable_xolehlp
17923 wine_fn_config_dll xpsprint enable_xpsprint
17924 wine_fn_config_dll xpssvcs enable_xpssvcs
17925 wine_fn_config_makefile documentation enable_documentation clean
17926 wine_fn_config_makefile fonts enable_fonts clean
,install-lib
17927 wine_fn_config_makefile include enable_include clean
,install-dev
17928 wine_fn_config_makefile libs
/port enable_libs_port
17929 wine_fn_config_makefile libs
/wine enable_libs_wine clean
,install-dev
,install-lib
17930 wine_fn_config_makefile libs
/wpp enable_libs_wpp
17931 wine_fn_config_makefile loader enable_loader clean
,install-lib
,manpage
17932 wine_fn_config_program arp enable_arp
install
17933 wine_fn_config_program aspnet_regiis enable_aspnet_regiis
install
17934 wine_fn_config_program attrib enable_attrib
install,po
17935 wine_fn_config_program cabarc enable_cabarc
install
17936 wine_fn_config_program cacls enable_cacls
install
17937 wine_fn_config_program
clock enable_clock
install,po
17938 wine_fn_config_program cmd enable_cmd
install,po
17939 wine_fn_config_test programs
/cmd
/tests cmd.exe_test
17940 wine_fn_config_program conhost enable_conhost
install
17941 wine_fn_config_program control enable_control
install
17942 wine_fn_config_program cscript enable_cscript clean
,install
17943 wine_fn_config_program dpnsvr enable_dpnsvr
install
17944 wine_fn_config_program dxdiag enable_dxdiag
install,po
17945 wine_fn_config_program eject enable_eject
install
17946 wine_fn_config_program
expand enable_expand
install
17947 wine_fn_config_program explorer enable_explorer
install,po
17948 wine_fn_config_program extrac32 enable_extrac32
install
17949 wine_fn_config_program findstr enable_findstr
install
17950 wine_fn_config_program hh enable_hh
install
17951 wine_fn_config_program hostname enable_hostname
install,po
17952 wine_fn_config_program icinfo enable_icinfo
install
17953 wine_fn_config_program iexplore enable_iexplore
install
17954 wine_fn_config_program ipconfig enable_ipconfig
install,po
17955 wine_fn_config_program lodctr enable_lodctr
install
17956 wine_fn_config_program mofcomp enable_mofcomp
install
17957 wine_fn_config_program mshta enable_mshta
install
17958 wine_fn_config_program msiexec enable_msiexec
install,installbin
,manpage
17959 wine_fn_config_program net enable_net
install,po
17960 wine_fn_config_program netsh enable_netsh
install
17961 wine_fn_config_program netstat enable_netstat
install,po
17962 wine_fn_config_program ngen enable_ngen
install
17963 wine_fn_config_program notepad enable_notepad
install,installbin
,manpage
,po
17964 wine_fn_config_program oleview enable_oleview
install,po
17965 wine_fn_config_program
ping enable_ping
install
17966 wine_fn_config_program plugplay enable_plugplay
install
17967 wine_fn_config_program presentationfontcache enable_presentationfontcache
install
17968 wine_fn_config_program progman enable_progman
install,po
17969 wine_fn_config_program reg enable_reg
install,po
17970 wine_fn_config_test programs
/reg
/tests reg.exe_test
17971 wine_fn_config_program regasm enable_regasm
install
17972 wine_fn_config_program regedit enable_regedit
install,installbin
,manpage
,po
17973 wine_fn_config_test programs
/regedit
/tests regedit.exe_test
17974 wine_fn_config_program regsvcs enable_regsvcs
install
17975 wine_fn_config_program regsvr32 enable_regsvr32
install,installbin
,manpage
,po
17976 wine_fn_config_program rpcss enable_rpcss clean
,install
17977 wine_fn_config_program rundll.exe16 enable_win16
install
17978 wine_fn_config_program rundll32 enable_rundll32
install
17979 wine_fn_config_program sc enable_sc
install
17980 wine_fn_config_program schtasks enable_schtasks
install
17981 wine_fn_config_program sdbinst enable_sdbinst
install
17982 wine_fn_config_program secedit enable_secedit
install
17983 wine_fn_config_program servicemodelreg enable_servicemodelreg
install
17984 wine_fn_config_program services enable_services clean
,install
17985 wine_fn_config_test programs
/services
/tests services.exe_test
17986 wine_fn_config_program spoolsv enable_spoolsv
install
17987 wine_fn_config_program start enable_start
install,po
17988 wine_fn_config_program svchost enable_svchost
install
17989 wine_fn_config_program systeminfo enable_systeminfo
install
17990 wine_fn_config_program taskkill enable_taskkill
install,po
17991 wine_fn_config_program tasklist enable_tasklist
install
17992 wine_fn_config_program taskmgr enable_taskmgr
install,po
17993 wine_fn_config_program termsv enable_termsv
install
17994 wine_fn_config_program uninstaller enable_uninstaller
install,po
17995 wine_fn_config_program unlodctr enable_unlodctr
install
17996 wine_fn_config_program view enable_view
install,po
17997 wine_fn_config_program wevtutil enable_wevtutil
install
17998 wine_fn_config_program wineboot enable_wineboot
install,installbin
,manpage
,po
17999 wine_fn_config_program winebrowser enable_winebrowser
install
18000 wine_fn_config_program winecfg enable_winecfg
install,installbin
,manpage
,po
18001 wine_fn_config_program wineconsole enable_wineconsole
install,installbin
,manpage
,po
18002 wine_fn_config_program winedbg enable_winedbg
install,installbin
,manpage
,po
18003 wine_fn_config_program winedevice enable_winedevice
install
18004 wine_fn_config_program winefile enable_winefile
install,installbin
,manpage
,po
18005 wine_fn_config_program winemenubuilder enable_winemenubuilder
install
18006 wine_fn_config_program winemine enable_winemine
install,installbin
,manpage
,po
18007 wine_fn_config_program winemsibuilder enable_winemsibuilder
install
18008 wine_fn_config_program winepath enable_winepath
install,installbin
,manpage
18009 wine_fn_config_program winetest enable_winetest clean
18010 wine_fn_config_program winevdm enable_win16
install
18011 wine_fn_config_program winhelp.exe16 enable_win16
install
18012 wine_fn_config_program winhlp32 enable_winhlp32
install,po
18013 wine_fn_config_program winoldap.mod16 enable_win16
install
18014 wine_fn_config_program winver enable_winver
install
18015 wine_fn_config_program wmic enable_wmic
install,po
18016 wine_fn_config_program wordpad enable_wordpad
install,po
18017 wine_fn_config_program
write enable_write
install,po
18018 wine_fn_config_program wscript enable_wscript clean
,install
18019 wine_fn_config_test programs
/wscript
/tests wscript.exe_test
18020 wine_fn_config_program wusa enable_wusa
install
18021 wine_fn_config_program xcopy enable_xcopy
install,po
18022 wine_fn_config_test programs
/xcopy
/tests xcopy.exe_test
18023 wine_fn_config_makefile server enable_server clean
,install-lib
,manpage
18024 wine_fn_config_tool tools clean
,install-dev
,install-lib
,manpage
18025 wine_fn_config_tool tools
/sfnt2fon clean
18026 wine_fn_config_tool tools
/widl clean
,install-dev
,manpage
18027 wine_fn_config_tool tools
/winebuild clean
,install-dev
,manpage
18028 wine_fn_config_tool tools
/winedump clean
,install-dev
,manpage
18029 wine_fn_config_tool tools
/winegcc clean
,install-dev
,manpage
18030 wine_fn_config_tool tools
/wmc clean
,install-dev
,manpage
18031 wine_fn_config_tool tools
/wrc clean
,install-dev
,manpage
18083 wine_fn_ignore_file
".gitignore"
18084 wine_fn_ignore_file
"Makefile"
18085 wine_fn_ignore_file
"TAGS"
18086 wine_fn_ignore_file
"tags"
18087 wine_fn_ignore_file
"autom4te.cache"
18088 wine_fn_ignore_file
"config.cache"
18089 wine_fn_ignore_file
"config.log"
18090 wine_fn_ignore_file
"config.status"
18091 wine_fn_ignore_file
"configure.lineno"
18092 wine_fn_ignore_file
"include/config.h"
18093 wine_fn_ignore_file
"include/stamp-h"
18094 test "$wine_binary" = wine || wine_fn_ignore_file
"loader/wine"
18096 if test "x$enable_tools" != xno
18098 wine_fn_ignore_file
"tools/makedep$ac_exeext"
18099 ac_config_commands
="$ac_config_commands tools/makedep"
18103 ac_config_commands
="$ac_config_commands Makefile"
18106 ac_config_files
="$ac_config_files Make.tmp:Make.vars.in:Makefile.in"
18110 if test "x$enable_maintainer_mode" = xyes
18112 wine_fn_append_rule
"configure: configure.ac aclocal.m4
18113 autoconf --warnings=all
18114 include/config.h.in: include/stamp-h.in
18115 include/stamp-h.in: configure.ac aclocal.m4
18116 autoheader --warnings=all
18117 @echo timestamp > \$@"
18120 if test "x$with_gettextpo" = xyes
18122 test "$srcdir" = . || as_fn_error $?
"Rebuilding po files is not supported for out of tree builds." "$LINENO" 5
18123 wine_fn_append_rule
"ALL_POT_FILES =$ALL_POT_FILES
18124 \$(LINGUAS:%=po/%.po): po/wine.pot
18125 msgmerge --previous -q \$@ po/wine.pot | msgattrib --no-obsolete -o \$@.new && mv \$@.new \$@
18126 po/wine.pot: \$(ALL_POT_FILES)
18127 msgcat -o \$@ \$(ALL_POT_FILES)"
18130 if test "$MSGFMT" != false
18132 wine_fn_append_rule
"__builddeps__: \$(LINGUAS:%=po/%.mo)
18134 \$(RM) \$(LINGUAS:%=po/%.mo)"
18137 test "$srcdir" = . || posrc
="$srcdir/po"
18140 wine_fn_ignore_file
"po/$i.mo"
18141 wine_fn_append_rule
"po/$i.mo: $posrc/$i.po
18142 \$(MSGFMT) -o \$@ $posrc/$i.po"
18148 if test "x$enable_tools" != xno
18150 wine_fn_append_rule
"tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
18151 @./config.status tools/makedep
18152 Makefile: tools/makedep$ac_exeext
18154 \$(RM) tools/makedep$ac_exeext"
18156 wine_fn_append_rule
"\$(MAKEDEP):
18157 @echo \"You need to run make in $TOOLSDIR first\" && false"
18160 if test -n "$with_wine64"
18162 wine_fn_append_rule
"all: fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader
18163 fonts server tools:
18164 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
18165 $with_wine64/loader/wine:
18166 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
18167 $with_wine64/loader/wine-preloader:
18168 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
18170 \$(RM) fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
18172 as_fn_append LOADER_RULES
"
18173 install install-lib:: wine.inf install-man-pages
18174 \$(INSTALL_DATA) wine.inf \$(DESTDIR)\$(datadir)/wine/wine.inf
18175 \$(INSTALL_DATA) \$(srcdir)/l_intl.nls \$(DESTDIR)\$(datadir)/wine/l_intl.nls
18178 \$(RM) \$(DESTDIR)\$(datadir)/wine/wine.inf \$(DESTDIR)\$(datadir)/wine/l_intl.nls
18182 if test "$srcdir" = .
18184 ac_config_commands
="$ac_config_commands .gitignore"
18188 $as_echo " done" >&6
18189 cat >confcache
<<\_ACEOF
18190 # This file is a shell script that caches the results of configure
18191 # tests run on this system so they can be shared between configure
18192 # scripts and configure runs, see configure's option --config-cache.
18193 # It is not useful on other systems. If it contains results you don't
18194 # want to keep, you may remove or edit it.
18196 # config.status only pays attention to the cache file if you give it
18197 # the --recheck option to rerun configure.
18199 # `ac_cv_env_foo' variables (set or unset) will be overridden when
18200 # loading this file, other *unset* `ac_cv_foo' will be assigned the
18201 # following values.
18205 # The following way of writing the cache mishandles newlines in values,
18206 # but we know of no workaround that is simple, portable, and efficient.
18207 # So, we kill variables containing newlines.
18208 # Ultrix sh set writes to stderr and can't be redirected directly,
18209 # and sets the high bit in the cache file unless we assign to the vars.
18211 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
18212 eval ac_val
=\$
$ac_var
18216 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
18217 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
18220 _ | IFS | as_nl
) ;; #(
18221 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
18222 *) { eval $ac_var=; unset $ac_var;} ;;
18228 case $as_nl`(ac_space=' '; set) 2>&1` in #(
18229 *${as_nl}ac_space
=\
*)
18230 # `set' does not quote correctly, so add quotes: double-quote
18231 # substitution turns \\\\ into \\, and sed turns \\ into \.
18234 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
18237 # `set' quotes correctly as required by POSIX, so do not add quotes.
18238 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
18247 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
18249 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
18251 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
18252 if test -w "$cache_file"; then
18253 if test "x$cache_file" != "x/dev/null"; then
18254 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
18255 $as_echo "$as_me: updating cache $cache_file" >&6;}
18256 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
18257 cat confcache
>"$cache_file"
18259 case $cache_file in #(
18261 mv -f confcache
"$cache_file"$$
&&
18262 mv -f "$cache_file"$$
"$cache_file" ;; #(
18264 mv -f confcache
"$cache_file" ;;
18269 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
18270 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
18275 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
18276 # Let make expand exec_prefix.
18277 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
18279 DEFS
=-DHAVE_CONFIG_H
18284 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
18285 # 1. Remove the extension, and $U if already installed.
18286 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
18287 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
18288 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
18289 # will be set to the directory where LIBOBJS objects are built.
18290 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
18291 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
18293 LIBOBJS
=$ac_libobjs
18295 LTLIBOBJS
=$ac_ltlibobjs
18299 : "${CONFIG_STATUS=./config.status}"
18301 ac_clean_files_save
=$ac_clean_files
18302 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
18303 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
18304 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
18306 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
18308 # Generated by $as_me.
18309 # Run this file to recreate the current configuration.
18310 # Compiler output produced by configure, useful for debugging
18311 # configure, is in config.log if it exists.
18314 ac_cs_recheck=false
18317 SHELL=\${CONFIG_SHELL-$SHELL}
18320 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
18321 ## -------------------- ##
18322 ## M4sh Initialization. ##
18323 ## -------------------- ##
18325 # Be more Bourne compatible
18326 DUALCASE
=1; export DUALCASE
# for MKS sh
18327 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
18330 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
18331 # is contrary to our usage. Disable this feature.
18332 alias -g '${1+"$@"}'='"$@"'
18333 setopt NO_GLOB_SUBST
18335 case `(set -o) 2>/dev/null` in #(
18347 # Printing a long string crashes Solaris 7 /usr/bin/printf.
18348 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
18349 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
18350 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
18351 # Prefer a ksh shell builtin over an external printf program on Solaris,
18352 # but without wasting forks for bash or zsh.
18353 if test -z "$BASH_VERSION$ZSH_VERSION" \
18354 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
18355 as_echo='print
-r --'
18356 as_echo_n='print
-rn --'
18357 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
18358 as_echo='printf %s
\n'
18359 as_echo_n='printf %s
'
18361 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
18362 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
18363 as_echo_n='/usr
/ucb
/echo -n'
18365 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
18366 as_echo_n_body='eval
18370 expr "X$arg" : "X\\(.*\\)$as_nl";
18371 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
18373 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
18375 export as_echo_n_body
18376 as_echo_n='sh
-c $as_echo_n_body as_echo
'
18378 export as_echo_body
18379 as_echo='sh
-c $as_echo_body as_echo
'
18382 # The user is always right.
18383 if test "${PATH_SEPARATOR+set}" != set; then
18385 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
18386 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
18393 # We need space, tab and new line, in precisely that order. Quoting is
18394 # there to prevent editors from complaining about space-tab.
18395 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
18396 # splitting by setting IFS to empty value.)
18399 # Find who we are. Look in the path if we contain no directory separator.
18402 *[\\/]* ) as_myself=$0 ;;
18403 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18404 for as_dir in $PATH
18407 test -z "$as_dir" && as_dir=.
18408 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
18414 # We did not find ourselves, most probably we were run as `sh COMMAND'
18415 # in which case we are not to be found in the path.
18416 if test "x$as_myself" = x
; then
18419 if test ! -f "$as_myself"; then
18420 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
18424 # Unset variables that we do not need and which cause bugs (e.g. in
18425 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
18426 # suppresses any "Segmentation fault" message there. '((' could
18427 # trigger a bug in pdksh 5.2.14.
18428 for as_var
in BASH_ENV ENV MAIL MAILPATH
18429 do eval test x\
${$as_var+set} = xset \
18430 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
18443 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
18446 # as_fn_error STATUS ERROR [LINENO LOG_FD]
18447 # ----------------------------------------
18448 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
18449 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
18450 # script with STATUS, using 1 if that was 0.
18453 as_status
=$1; test $as_status -eq 0 && as_status
=1
18455 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
18456 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
18458 $as_echo "$as_me: error: $2" >&2
18459 as_fn_exit
$as_status
18463 # as_fn_set_status STATUS
18464 # -----------------------
18465 # Set $? to STATUS, without forking.
18466 as_fn_set_status
()
18469 } # as_fn_set_status
18471 # as_fn_exit STATUS
18472 # -----------------
18473 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
18477 as_fn_set_status
$1
18483 # Portably unset VAR.
18486 { eval $1=; unset $1;}
18488 as_unset
=as_fn_unset
18489 # as_fn_append VAR VALUE
18490 # ----------------------
18491 # Append the text in VALUE to the end of the definition contained in VAR. Take
18492 # advantage of any shell optimizations that allow amortized linear growth over
18493 # repeated appends, instead of the typical quadratic growth present in naive
18495 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
18496 eval 'as_fn_append ()
18507 # as_fn_arith ARG...
18508 # ------------------
18509 # Perform arithmetic evaluation on the ARGs, and store the result in the
18510 # global $as_val. Take advantage of shells that can avoid forks. The arguments
18511 # must be portable across $(()) and expr.
18512 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
18513 eval 'as_fn_arith ()
18520 as_val
=`expr "$@" || test $? -eq 1`
18525 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
18526 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
18532 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
18533 as_basename
=basename
18538 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
18544 as_me
=`$as_basename -- "$0" ||
18545 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
18546 X"$0" : 'X\(//\)$' \| \
18547 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
18549 sed '/^.*\/\([^/][^/]*\)\/*$/{
18563 # Avoid depending upon Character Ranges.
18564 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
18565 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
18566 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
18567 as_cr_digits
='0123456789'
18568 as_cr_alnum
=$as_cr_Letters$as_cr_digits
18570 ECHO_C
= ECHO_N
= ECHO_T
=
18571 case `echo -n x` in #(((((
18573 case `echo 'xy\c'` in
18574 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
18576 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
18583 rm -f conf$$ conf$$.exe conf$$.
file
18584 if test -d conf$$.dir
; then
18585 rm -f conf$$.dir
/conf$$.
file
18588 mkdir conf$$.dir
2>/dev
/null
18590 if (echo >conf$$.
file) 2>/dev
/null
; then
18591 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
18593 # ... but there are two gotchas:
18594 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
18595 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
18596 # In both cases, we have to default to `cp -pR'.
18597 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
18599 elif ln conf$$.
file conf$$
2>/dev
/null
; then
18607 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
18608 rmdir conf$$.dir
2>/dev
/null
18613 # Create "$as_dir" as a directory, including parents if necessary.
18618 -*) as_dir
=.
/$as_dir;;
18620 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
18624 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
18625 *) as_qdir
=$as_dir;;
18627 as_dirs
="'$as_qdir' $as_dirs"
18628 as_dir
=`$as_dirname -- "$as_dir" ||
18629 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18630 X"$as_dir" : 'X\(//\)[^/]' \| \
18631 X"$as_dir" : 'X\(//\)$' \| \
18632 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
18633 $as_echo X"$as_dir" |
18634 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18638 /^X\(\/\/\)[^/].*/{
18651 test -d "$as_dir" && break
18653 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
18654 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
18658 if mkdir
-p .
2>/dev
/null
; then
18659 as_mkdir_p
='mkdir -p "$as_dir"'
18661 test -d .
/-p && rmdir .
/-p
18666 # as_fn_executable_p FILE
18667 # -----------------------
18668 # Test if FILE is an executable regular file.
18669 as_fn_executable_p
()
18671 test -f "$1" && test -x "$1"
18672 } # as_fn_executable_p
18673 as_test_x
='test -x'
18674 as_executable_p
=as_fn_executable_p
18676 # Sed expression to map a string onto a valid CPP name.
18677 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
18679 # Sed expression to map a string onto a valid variable name.
18680 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
18684 ## ----------------------------------- ##
18685 ## Main body of $CONFIG_STATUS script. ##
18686 ## ----------------------------------- ##
18688 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
18690 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18691 # Save the log message, to keep $0 and so on meaningful, and to
18692 # report actual input values of CONFIG_FILES etc. instead of their
18693 # values after options handling.
18695 This file was extended by Wine $as_me 1.7.51, which was
18696 generated by GNU Autoconf 2.69. Invocation command line was
18698 CONFIG_FILES = $CONFIG_FILES
18699 CONFIG_HEADERS = $CONFIG_HEADERS
18700 CONFIG_LINKS = $CONFIG_LINKS
18701 CONFIG_COMMANDS = $CONFIG_COMMANDS
18704 on `(hostname || uname -n) 2>/dev/null | sed 1q`
18709 case $ac_config_files in *"
18710 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
18713 case $ac_config_headers in *"
18714 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
18718 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18719 # Files that config.status was made for.
18720 config_files="$ac_config_files"
18721 config_headers="$ac_config_headers"
18722 config_links="$ac_config_links"
18723 config_commands="$ac_config_commands"
18727 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18729 \`$as_me' instantiates files and other configuration actions
18730 from templates according to the current configuration. Unless the files
18731 and actions are specified as TAGs, all are instantiated by default.
18733 Usage: $0 [OPTION]... [TAG]...
18735 -h, --help print this help, then exit
18736 -V, --version print version number and configuration settings, then exit
18737 --config print configuration, then exit
18738 -q, --quiet, --silent
18739 do not print progress messages
18740 -d, --debug don't remove temporary files
18741 --recheck update $as_me by reconfiguring in the same conditions
18742 --file=FILE[:TEMPLATE]
18743 instantiate the configuration file FILE
18744 --header=FILE[:TEMPLATE]
18745 instantiate the configuration header FILE
18747 Configuration files:
18750 Configuration headers:
18753 Configuration links:
18756 Configuration commands:
18759 Report bugs to <wine-devel@winehq.org>.
18760 Wine home page: <http://www.winehq.org>."
18763 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18764 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
18766 Wine config.status 1.7.51
18767 configured by $0, generated by GNU Autoconf 2.69,
18768 with options \\"\$ac_cs_config\\"
18770 Copyright (C) 2012 Free Software Foundation, Inc.
18771 This config.status script is free software; the Free Software Foundation
18772 gives unlimited permission to copy, distribute and modify it."
18776 test -n "\$AWK" || AWK=awk
18779 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18780 # The default lists apply if the user does not specify any file.
18786 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
18787 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
18791 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
18803 # Handling of the options.
18804 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
18806 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
18807 $as_echo "$ac_cs_version"; exit ;;
18808 --config |
--confi |
--conf |
--con |
--co |
--c )
18809 $as_echo "$ac_cs_config"; exit ;;
18810 --debug |
--debu |
--deb |
--de |
--d |
-d )
18812 --file |
--fil |
--fi |
--f )
18815 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18816 '') as_fn_error $?
"missing file argument" ;;
18818 as_fn_append CONFIG_FILES
" '$ac_optarg'"
18819 ac_need_defaults
=false
;;
18820 --header |
--heade |
--head |
--hea )
18823 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18825 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
18826 ac_need_defaults
=false
;;
18828 # Conflict between --help and --header
18829 as_fn_error $?
"ambiguous option: \`$1'
18830 Try \`$0 --help' for more information.";;
18831 --help |
--hel |
-h )
18832 $as_echo "$ac_cs_usage"; exit ;;
18833 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
18834 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
18837 # This is an error.
18838 -*) as_fn_error $?
"unrecognized option: \`$1'
18839 Try \`$0 --help' for more information." ;;
18841 *) as_fn_append ac_config_targets
" $1"
18842 ac_need_defaults
=false
;;
18848 ac_configure_extra_args
=
18850 if $ac_cs_silent; then
18852 ac_configure_extra_args
="$ac_configure_extra_args --silent"
18856 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18857 if \$ac_cs_recheck; then
18858 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
18860 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
18861 CONFIG_SHELL='$SHELL'
18862 export CONFIG_SHELL
18867 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18871 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
18872 ## Running $as_me. ##
18878 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18882 wine_fn_output_makedep ()
18884 as_dir=tools; as_fn_mkdir_p
18885 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
18887 wine_fn_output_makefile ()
18889 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" . && return
18890 `cat $wine_rules_file`
18892 as_fn_error $? "could not create Makefile" "$LINENO" 5
18894 wine_fn_output_gitignore ()
18896 sort <<\_WINE_EOF >\$tmp/gitignore && mv -f \$tmp/gitignore \$1 && return
18899 as_fn_error $? "could not create .gitignore" "$LINENO" 5
18904 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18906 # Handling of arguments.
18907 for ac_config_target
in $ac_config_targets
18909 case $ac_config_target in
18910 "include/config.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/config.h" ;;
18911 "include/stamp-h") CONFIG_COMMANDS
="$CONFIG_COMMANDS include/stamp-h" ;;
18912 "fonts/marlett.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
18913 "fonts/symbol.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
18914 "fonts/tahoma.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
18915 "fonts/tahomabd.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
18916 "fonts/wingding.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/wingding.ttf:fonts/wingding.ttf" ;;
18917 "loader/l_intl.nls") CONFIG_LINKS
="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
18918 "po/LINGUAS") CONFIG_LINKS
="$CONFIG_LINKS po/LINGUAS:po/LINGUAS" ;;
18919 "wine") CONFIG_LINKS
="$CONFIG_LINKS wine:tools/winewrapper" ;;
18920 "wine64") CONFIG_LINKS
="$CONFIG_LINKS wine64:tools/winewrapper" ;;
18921 "tools/makedep") CONFIG_COMMANDS
="$CONFIG_COMMANDS tools/makedep" ;;
18922 "Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS Makefile" ;;
18923 "Make.tmp") CONFIG_FILES
="$CONFIG_FILES Make.tmp:Make.vars.in:Makefile.in" ;;
18924 ".gitignore") CONFIG_COMMANDS
="$CONFIG_COMMANDS .gitignore" ;;
18926 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
18931 # If the user did not use the arguments to specify the items to instantiate,
18932 # then the envvar interface is used. Set only those that are not.
18933 # We use the long form for the default assignment because of an extremely
18934 # bizarre bug on SunOS 4.1.3.
18935 if $ac_need_defaults; then
18936 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
18937 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
18938 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS
=$config_links
18939 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
18942 # Have a temporary directory for convenience. Make it in the build tree
18943 # simply because there is no reason against having it here, and in addition,
18944 # creating and moving files from /tmp can sometimes cause problems.
18945 # Hook for its removal unless debugging.
18946 # Note that there is a small window in which the directory will not be cleaned:
18947 # after its creation but before its name has been assigned to `$tmp'.
18951 trap 'exit_status=$?
18952 : "${ac_tmp:=$tmp}"
18953 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
18955 trap 'as_fn_exit 1' 1 2 13 15
18957 # Create a (secure) tmp directory for tmp files.
18960 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
18964 tmp
=.
/conf$$
-$RANDOM
18965 (umask 077 && mkdir
"$tmp")
18966 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
18969 # Set up the scripts for CONFIG_FILES section.
18970 # No need to generate them if there are no CONFIG_FILES.
18971 # This happens for instance with `./config.status config.h'.
18972 if test -n "$CONFIG_FILES"; then
18975 ac_cr
=`echo X | tr X '\015'`
18976 # On cygwin, bash can eat \r inside `` if the user requested igncr.
18977 # But we know of no other shell where ac_cr would be empty at this
18978 # point, so we can use a bashism as a fallback.
18979 if test "x$ac_cr" = x
; then
18980 eval ac_cr
=\$
\'\\r
\'
18982 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
18983 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
18986 ac_cs_awk_cr
=$ac_cr
18989 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
18994 echo "cat >conf$$subs.awk <<_ACEOF" &&
18995 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
18997 } >conf$$subs.sh ||
18998 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
18999 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
19001 for ac_last_try in false false false false false :; do
19002 . ./conf$$subs.sh ||
19003 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
19005 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
19006 if test $ac_delim_n = $ac_delim_num; then
19008 elif $ac_last_try; then
19009 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
19011 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
19014 rm -f conf$$subs.sh
19016 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19017 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
19021 s/^/S["/; s
/!.
*/"]=/
19031 s/\(.\{148\}\)..*/\1/
19033 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
19038 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
19045 s/\(.\{148\}\)..*/\1/
19047 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
19051 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
19056 ' <conf$$subs.awk | sed '
19061 ' >>$CONFIG_STATUS || ac_write_fail=1
19062 rm -f conf$$subs.awk
19063 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19065 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
19066 for (key in S) S_is_set[key] = 1
19072 nfields = split(line, field, "@
")
19074 len = length(field[1])
19075 for (i = 2; i < nfields; i++) {
19077 keylen = length(key)
19078 if (S_is_set[key]) {
19080 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
19081 len += length(value) + length(field[++i])
19092 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19093 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
19094 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
19097 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
19098 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
19101 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
19102 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
19103 # trailing colons and then remove the whole line if VPATH becomes empty
19104 # (actually we leave an empty line to preserve line numbers).
19105 if test "x
$srcdir" = x.; then
19106 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
19124 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19125 fi # test -n "$CONFIG_FILES"
19127 # Set up the scripts for CONFIG_HEADERS section.
19128 # No need to generate them if there are no CONFIG_HEADERS.
19129 # This happens for instance with `./config.status Makefile'.
19130 if test -n "$CONFIG_HEADERS"; then
19131 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
19135 # Transform confdefs.h into an awk script `defines.awk', embedded as
19136 # here-document in config.status, that substitutes the proper values into
19137 # config.h.in to produce config.h.
19139 # Create a delimiter string that does not exist in confdefs.h, to ease
19140 # handling of long lines.
19142 for ac_last_try in false false :; do
19143 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
19144 if test -z "$ac_tt"; then
19146 elif $ac_last_try; then
19147 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
19149 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
19153 # For the awk script, D is an array of macro values keyed by name,
19154 # likewise P contains macro parameters if any. Preserve backslash
19155 # newline sequences.
19157 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
19159 s/.\{148\}/&'"$ac_delim"'/g
19162 s/^[ ]*#[ ]*define[ ][ ]*/ /
19169 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
19171 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
19175 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
19176 D["\
1"]=" \
3\\\\\\n
"\\/p
19178 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
19183 s/.\{148\}/&'"$ac_delim"'/g
19188 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
19191 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
19193 ' <confdefs.h | sed '
19194 s/'"$ac_delim"'/"\\\
19195 "/g' >>$CONFIG_STATUS || ac_write_fail=1
19197 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19198 for (key in D) D_is_set[key] = 1
19201 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
19203 split(line, arg, " ")
19204 if (arg[1] == "#") {
19208 defundef
= substr
(arg
[1], 2)
19211 split(mac1
, mac2
, "(") #)
19213 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
19214 if (D_is_set
[macro
]) {
19215 # Preserve the white space surrounding the "#".
19216 print prefix
"define", macro P
[macro
] D
[macro
]
19219 # Replace #undef with comments. This is necessary, for example,
19220 # in the case of _POSIX_SOURCE, which is predefined and required
19221 # on some systems where configure will not decide to define it.
19222 if (defundef
== "undef") {
19223 print
"/*", prefix defundef
, macro
, "*/"
19231 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19232 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
19233 fi # test -n "$CONFIG_HEADERS"
19236 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
19241 :[FHLC
]) ac_mode
=$ac_tag; continue;;
19243 case $ac_mode$ac_tag in
19245 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
19246 :[FH
]-) ac_tag
=-:-;;
19247 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
19264 -) ac_f
="$ac_tmp/stdin";;
19265 *) # Look for the file first in the build tree, then in the source tree
19266 # (if the path is not absolute). The absolute path cannot be DOS-style,
19267 # because $ac_f cannot contain `:'.
19271 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
19273 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
19275 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
19276 as_fn_append ac_file_inputs
" '$ac_f'"
19279 # Let's still pretend it is `configure' which instantiates (i.e., don't
19280 # use $as_me), people would be surprised to read:
19281 # /* config.h. Generated by config.status. */
19282 configure_input
='Generated from '`
19283 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
19285 if test x
"$ac_file" != x-
; then
19286 configure_input
="$ac_file. $configure_input"
19287 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
19288 $as_echo "$as_me: creating $ac_file" >&6;}
19290 # Neutralize special characters interpreted by sed in replacement strings.
19291 case $configure_input in #(
19292 *\
&* |
*\|
* |
*\\* )
19293 ac_sed_conf_input
=`$as_echo "$configure_input" |
19294 sed 's/[\\\\&|]/\\\\&/g'`;; #(
19295 *) ac_sed_conf_input
=$configure_input;;
19299 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
19300 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
19305 ac_dir
=`$as_dirname -- "$ac_file" ||
19306 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19307 X"$ac_file" : 'X\(//\)[^/]' \| \
19308 X"$ac_file" : 'X\(//\)$' \| \
19309 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
19310 $as_echo X"$ac_file" |
19311 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19315 /^X\(\/\/\)[^/].*/{
19328 as_dir
="$ac_dir"; as_fn_mkdir_p
19332 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
19334 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
19335 # A ".." for each directory in $ac_dir_suffix.
19336 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
19337 case $ac_top_builddir_sub in
19338 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
19339 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
19342 ac_abs_top_builddir
=$ac_pwd
19343 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
19344 # for backward compatibility:
19345 ac_top_builddir
=$ac_top_build_prefix
19348 .
) # We are building in place.
19350 ac_top_srcdir
=$ac_top_builddir_sub
19351 ac_abs_top_srcdir
=$ac_pwd ;;
19352 [\\/]* | ?
:[\\/]* ) # Absolute name.
19353 ac_srcdir
=$srcdir$ac_dir_suffix;
19354 ac_top_srcdir
=$srcdir
19355 ac_abs_top_srcdir
=$srcdir ;;
19356 *) # Relative name.
19357 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
19358 ac_top_srcdir
=$ac_top_build_prefix$srcdir
19359 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
19361 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
19372 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19373 # If the template does not know about datarootdir, expand it.
19374 # FIXME: This hack should be removed a few years after 2.60.
19375 ac_datarootdir_hack
=; ac_datarootdir_seen
=
19386 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
19387 *datarootdir
*) ac_datarootdir_seen
=yes;;
19388 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
19389 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
19390 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
19392 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19393 ac_datarootdir_hack='
19394 s&@datadir@&$datadir&g
19395 s&@docdir@&$docdir&g
19396 s&@infodir@&$infodir&g
19397 s&@localedir@&$localedir&g
19398 s&@mandir@&$mandir&g
19399 s&\\\${datarootdir}&$datarootdir&g' ;;
19403 # Neutralize VPATH when `$srcdir' = `.'.
19404 # Shell code in configure.ac might set extrasub.
19405 # FIXME: do we really want to maintain this feature?
19406 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19407 ac_sed_extra="$ac_vpsub
19410 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19412 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
19413 s|@configure_input@|
$ac_sed_conf_input|
;t t
19414 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
19415 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
19416 s
&@srcdir@
&$ac_srcdir&;t t
19417 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
19418 s
&@top_srcdir@
&$ac_top_srcdir&;t t
19419 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
19420 s
&@builddir@
&$ac_builddir&;t t
19421 s
&@abs_builddir@
&$ac_abs_builddir&;t t
19422 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
19423 $ac_datarootdir_hack
19425 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
19426 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
19428 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
19429 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
19430 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
19431 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
19432 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
19433 which seems to be undefined. Please make sure it is defined" >&5
19434 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
19435 which seems to be undefined. Please make sure it is defined" >&2;}
19437 rm -f "$ac_tmp/stdin"
19439 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
19440 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
19442 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19448 if test x"$ac_file" != x-; then
19450 $as_echo "/* $configure_input */" \
19451 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
19452 } >"$ac_tmp/config.h" \
19453 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19454 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
19455 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
19456 $as_echo "$as_me: $ac_file is unchanged" >&6;}
19459 mv "$ac_tmp/config.h" "$ac_file" \
19460 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19463 $as_echo "/* $configure_input */" \
19464 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
19465 || as_fn_error $? "could not create -" "$LINENO" 5
19473 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.
'; then
19476 # Prefer the file from the source tree if names are identical.
19477 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
19478 ac_source=$srcdir/$ac_source
19481 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
19482 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
19484 if test ! -r "$ac_source"; then
19485 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
19489 # Try a relative symlink, then a hard link, then a copy.
19491 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
19492 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
19494 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
19495 ln "$ac_source" "$ac_file" 2>/dev/null ||
19496 cp -p "$ac_source" "$ac_file" ||
19497 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
19500 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
19501 $as_echo "$as_me: executing $ac_file commands" >&6;}
19506 case $ac_file$ac_mode in
19507 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
19508 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
19509 "Makefile":C) wine_fn_output_makefile Makefile ;;
19510 ".gitignore":C) wine_fn_output_gitignore .gitignore ;;
19518 ac_clean_files=$ac_clean_files_save
19520 test $ac_write_fail = 0 ||
19521 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
19524 # configure is writing to config.log, and then calls config.status.
19525 # config.status does its own redirection, appending to config.log.
19526 # Unfortunately, on DOS this fails, as config.log is still kept open
19527 # by configure, so config.status won't be able to
write to it
; its
19528 # output is simply discarded. So we exec the FD to /dev/null,
19529 # effectively closing config.log, so it can be properly (re)opened and
19530 # appended to by config.status. When coming back to configure, we
19531 # need to make the FD available again.
19532 if test "$no_create" != yes; then
19534 ac_config_status_args
=
19535 test "$silent" = yes &&
19536 ac_config_status_args
="$ac_config_status_args --quiet"
19538 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
19540 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
19541 # would make configure fail if this is the last instruction.
19542 $ac_cs_success || as_fn_exit
1
19544 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
19545 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
19546 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
19550 if test "$no_create" = "yes"
19556 if test "x$wine_notices != "x
; then
19559 for msg
in $wine_notices; do
19561 if ${msg:+false} :; then :
19564 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
19565 $as_echo "$as_me: $msg" >&6;}
19570 for msg
in $wine_warnings; do
19572 if ${msg:+false} :; then :
19576 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
19577 $as_echo "$as_me: WARNING: $msg" >&2;}
19583 $as_me: Finished. Do '${ac_make}' to compile Wine.