2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 1.7.50.
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.50'
584 PACKAGE_STRING
='Wine 1.7.50'
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
784 program_transform_name
797 enable_option_checking
801 enable_maintainer_mode
858 enable_api_ms_win_core_com_l1_1_0
859 enable_api_ms_win_core_console_l1_1_0
860 enable_api_ms_win_core_datetime_l1_1_0
861 enable_api_ms_win_core_datetime_l1_1_1
862 enable_api_ms_win_core_debug_l1_1_0
863 enable_api_ms_win_core_debug_l1_1_1
864 enable_api_ms_win_core_errorhandling_l1_1_0
865 enable_api_ms_win_core_errorhandling_l1_1_1
866 enable_api_ms_win_core_errorhandling_l1_1_2
867 enable_api_ms_win_core_fibers_l1_1_0
868 enable_api_ms_win_core_fibers_l1_1_1
869 enable_api_ms_win_core_file_l1_1_0
870 enable_api_ms_win_core_file_l1_2_0
871 enable_api_ms_win_core_file_l2_1_0
872 enable_api_ms_win_core_file_l2_1_1
873 enable_api_ms_win_core_handle_l1_1_0
874 enable_api_ms_win_core_heap_l1_1_0
875 enable_api_ms_win_core_heap_l1_2_0
876 enable_api_ms_win_core_heap_obsolete_l1_1_0
877 enable_api_ms_win_core_interlocked_l1_1_0
878 enable_api_ms_win_core_interlocked_l1_2_0
879 enable_api_ms_win_core_io_l1_1_1
880 enable_api_ms_win_core_kernel32_legacy_l1_1_0
881 enable_api_ms_win_core_libraryloader_l1_1_0
882 enable_api_ms_win_core_libraryloader_l1_1_1
883 enable_api_ms_win_core_localization_l1_2_0
884 enable_api_ms_win_core_localization_l1_2_1
885 enable_api_ms_win_core_localization_obsolete_l1_1_0
886 enable_api_ms_win_core_localregistry_l1_1_0
887 enable_api_ms_win_core_memory_l1_1_0
888 enable_api_ms_win_core_memory_l1_1_1
889 enable_api_ms_win_core_misc_l1_1_0
890 enable_api_ms_win_core_namedpipe_l1_1_0
891 enable_api_ms_win_core_namedpipe_l1_2_0
892 enable_api_ms_win_core_processenvironment_l1_1_0
893 enable_api_ms_win_core_processenvironment_l1_2_0
894 enable_api_ms_win_core_processthreads_l1_1_0
895 enable_api_ms_win_core_processthreads_l1_1_1
896 enable_api_ms_win_core_processthreads_l1_1_2
897 enable_api_ms_win_core_profile_l1_1_0
898 enable_api_ms_win_core_psapi_l1_1_0
899 enable_api_ms_win_core_registry_l1_1_0
900 enable_api_ms_win_core_rtlsupport_l1_1_0
901 enable_api_ms_win_core_rtlsupport_l1_2_0
902 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
903 enable_api_ms_win_core_string_l1_1_0
904 enable_api_ms_win_core_synch_l1_1_0
905 enable_api_ms_win_core_synch_l1_2_0
906 enable_api_ms_win_core_sysinfo_l1_1_0
907 enable_api_ms_win_core_sysinfo_l1_2_0
908 enable_api_ms_win_core_sysinfo_l1_2_1
909 enable_api_ms_win_core_threadpool_legacy_l1_1_0
910 enable_api_ms_win_core_timezone_l1_1_0
911 enable_api_ms_win_core_url_l1_1_0
912 enable_api_ms_win_core_util_l1_1_0
913 enable_api_ms_win_core_winrt_error_l1_1_0
914 enable_api_ms_win_core_winrt_error_l1_1_1
915 enable_api_ms_win_core_winrt_l1_1_0
916 enable_api_ms_win_core_winrt_string_l1_1_0
917 enable_api_ms_win_core_xstate_l2_1_0
918 enable_api_ms_win_crt_conio_l1_1_0
919 enable_api_ms_win_crt_convert_l1_1_0
920 enable_api_ms_win_crt_environment_l1_1_0
921 enable_api_ms_win_crt_filesystem_l1_1_0
922 enable_api_ms_win_crt_heap_l1_1_0
923 enable_api_ms_win_crt_locale_l1_1_0
924 enable_api_ms_win_crt_math_l1_1_0
925 enable_api_ms_win_crt_multibyte_l1_1_0
926 enable_api_ms_win_crt_private_l1_1_0
927 enable_api_ms_win_crt_process_l1_1_0
928 enable_api_ms_win_crt_runtime_l1_1_0
929 enable_api_ms_win_crt_stdio_l1_1_0
930 enable_api_ms_win_crt_string_l1_1_0
931 enable_api_ms_win_crt_time_l1_1_0
932 enable_api_ms_win_crt_utility_l1_1_0
933 enable_api_ms_win_downlevel_advapi32_l1_1_0
934 enable_api_ms_win_downlevel_advapi32_l2_1_0
935 enable_api_ms_win_downlevel_normaliz_l1_1_0
936 enable_api_ms_win_downlevel_ole32_l1_1_0
937 enable_api_ms_win_downlevel_shell32_l1_1_0
938 enable_api_ms_win_downlevel_shlwapi_l1_1_0
939 enable_api_ms_win_downlevel_shlwapi_l2_1_0
940 enable_api_ms_win_downlevel_user32_l1_1_0
941 enable_api_ms_win_downlevel_version_l1_1_0
942 enable_api_ms_win_eventing_provider_l1_1_0
943 enable_api_ms_win_ntuser_dc_access_l1_1_0
944 enable_api_ms_win_security_base_l1_1_0
945 enable_api_ms_win_security_base_l1_2_0
946 enable_api_ms_win_security_sddl_l1_1_0
947 enable_api_ms_win_service_core_l1_1_1
948 enable_api_ms_win_service_management_l1_1_0
949 enable_api_ms_win_service_winsvc_l1_2_0
992 enable_d3dcompiler_33
993 enable_d3dcompiler_34
994 enable_d3dcompiler_35
995 enable_d3dcompiler_36
996 enable_d3dcompiler_37
997 enable_d3dcompiler_38
998 enable_d3dcompiler_39
999 enable_d3dcompiler_40
1000 enable_d3dcompiler_41
1001 enable_d3dcompiler_42
1002 enable_d3dcompiler_43
1003 enable_d3dcompiler_46
1004 enable_d3dcompiler_47
1081 enable_explorerframe
1082 enable_ext_ms_win_gdi_devcaps_l1_1_0
1240 enable_photometadatahandler
1324 enable_windowscodecs
1325 enable_windowscodecsext
1327 enable_winecoreaudio_drv
1329 enable_winegstreamer
1330 enable_winejoystick_drv
1336 enable_wineqtdecoder
1385 enable_documentation
1393 enable_aspnet_regiis
1426 enable_presentationfontcache
1439 enable_servicemodelreg
1460 enable_winemenubuilder
1462 enable_winemsibuilder
1476 ac_precious_vars
='build_alias
1525 # Initialize some variables set by options.
1527 ac_init_version
=false
1528 ac_unrecognized_opts
=
1529 ac_unrecognized_sep
=
1530 # The variables have the same names as the options, with
1531 # dashes changed to underlines.
1532 cache_file
=/dev
/null
1539 program_transform_name
=s
,x
,x
,
1547 # Installation directory options.
1548 # These are left unexpanded so users can "make install exec_prefix=/foo"
1549 # and all the variables that are supposed to be based on exec_prefix
1550 # by default will actually change.
1551 # Use braces instead of parens because sh, perl, etc. also accept them.
1552 # (The list follows the same order as the GNU Coding Standards.)
1553 bindir
='${exec_prefix}/bin'
1554 sbindir
='${exec_prefix}/sbin'
1555 libexecdir
='${exec_prefix}/libexec'
1556 datarootdir
='${prefix}/share'
1557 datadir
='${datarootdir}'
1558 sysconfdir
='${prefix}/etc'
1559 sharedstatedir
='${prefix}/com'
1560 localstatedir
='${prefix}/var'
1561 includedir
='${prefix}/include'
1562 oldincludedir
='/usr/include'
1563 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
1564 infodir
='${datarootdir}/info'
1569 libdir
='${exec_prefix}/lib'
1570 localedir
='${datarootdir}/locale'
1571 mandir
='${datarootdir}/man'
1577 # If the previous option needs an argument, assign it.
1578 if test -n "$ac_prev"; then
1579 eval $ac_prev=\
$ac_option
1585 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1590 # Accept the important Cygnus configure options, so we can diagnose typos.
1592 case $ac_dashdash$ac_option in
1596 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
1598 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
1599 bindir
=$ac_optarg ;;
1601 -build |
--build |
--buil |
--bui |
--bu)
1602 ac_prev
=build_alias
;;
1603 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
1604 build_alias
=$ac_optarg ;;
1606 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
1607 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
1608 ac_prev
=cache_file
;;
1609 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
1610 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
1611 cache_file
=$ac_optarg ;;
1613 --config-cache |
-C)
1614 cache_file
=config.cache
;;
1616 -datadir |
--datadir |
--datadi |
--datad)
1618 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
1619 datadir
=$ac_optarg ;;
1621 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1622 |
--dataroo |
--dataro |
--datar)
1623 ac_prev
=datarootdir
;;
1624 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1625 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1626 datarootdir
=$ac_optarg ;;
1628 -disable-* |
--disable-*)
1629 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1630 # Reject names that are not valid shell variable names.
1631 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1632 as_fn_error $?
"invalid feature name: $ac_useropt"
1633 ac_useropt_orig
=$ac_useropt
1634 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1635 case $ac_user_opts in
1637 "enable_
$ac_useropt"
1639 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1640 ac_unrecognized_sep
=', ';;
1642 eval enable_
$ac_useropt=no
;;
1644 -docdir |
--docdir |
--docdi |
--doc |
--do)
1646 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1647 docdir
=$ac_optarg ;;
1649 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1651 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1652 dvidir
=$ac_optarg ;;
1654 -enable-* |
--enable-*)
1655 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1656 # Reject names that are not valid shell variable names.
1657 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1658 as_fn_error $?
"invalid feature name: $ac_useropt"
1659 ac_useropt_orig
=$ac_useropt
1660 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1661 case $ac_user_opts in
1663 "enable_
$ac_useropt"
1665 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1666 ac_unrecognized_sep
=', ';;
1668 eval enable_
$ac_useropt=\
$ac_optarg ;;
1670 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1671 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1672 |
--exec |
--exe |
--ex)
1673 ac_prev
=exec_prefix
;;
1674 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1675 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1676 |
--exec=* |
--exe=* |
--ex=*)
1677 exec_prefix
=$ac_optarg ;;
1679 -gas |
--gas |
--ga |
--g)
1680 # Obsolete; use --with-gas.
1683 -help |
--help |
--hel |
--he |
-h)
1684 ac_init_help
=long
;;
1685 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1686 ac_init_help
=recursive
;;
1687 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1688 ac_init_help
=short
;;
1690 -host |
--host |
--hos |
--ho)
1691 ac_prev
=host_alias
;;
1692 -host=* |
--host=* |
--hos=* |
--ho=*)
1693 host_alias
=$ac_optarg ;;
1695 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1697 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1699 htmldir
=$ac_optarg ;;
1701 -includedir |
--includedir |
--includedi |
--included |
--include \
1702 |
--includ |
--inclu |
--incl |
--inc)
1703 ac_prev
=includedir
;;
1704 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1705 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1706 includedir
=$ac_optarg ;;
1708 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1710 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1711 infodir
=$ac_optarg ;;
1713 -libdir |
--libdir |
--libdi |
--libd)
1715 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1716 libdir
=$ac_optarg ;;
1718 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1719 |
--libexe |
--libex |
--libe)
1720 ac_prev
=libexecdir
;;
1721 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1722 |
--libexe=* |
--libex=* |
--libe=*)
1723 libexecdir
=$ac_optarg ;;
1725 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1726 ac_prev
=localedir
;;
1727 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1728 localedir
=$ac_optarg ;;
1730 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1731 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1732 ac_prev
=localstatedir
;;
1733 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1734 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1735 localstatedir
=$ac_optarg ;;
1737 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1739 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1740 mandir
=$ac_optarg ;;
1742 -nfp |
--nfp |
--nf)
1743 # Obsolete; use --without-fp.
1746 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1747 |
--no-cr |
--no-c |
-n)
1750 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1751 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1754 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1755 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1756 |
--oldin |
--oldi |
--old |
--ol |
--o)
1757 ac_prev
=oldincludedir
;;
1758 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1759 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1760 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1761 oldincludedir
=$ac_optarg ;;
1763 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1765 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1766 prefix
=$ac_optarg ;;
1768 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1769 |
--program-pre |
--program-pr |
--program-p)
1770 ac_prev
=program_prefix
;;
1771 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1772 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1773 program_prefix
=$ac_optarg ;;
1775 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1776 |
--program-suf |
--program-su |
--program-s)
1777 ac_prev
=program_suffix
;;
1778 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1779 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1780 program_suffix
=$ac_optarg ;;
1782 -program-transform-name |
--program-transform-name \
1783 |
--program-transform-nam |
--program-transform-na \
1784 |
--program-transform-n |
--program-transform- \
1785 |
--program-transform |
--program-transfor \
1786 |
--program-transfo |
--program-transf \
1787 |
--program-trans |
--program-tran \
1788 |
--progr-tra |
--program-tr |
--program-t)
1789 ac_prev
=program_transform_name
;;
1790 -program-transform-name=* |
--program-transform-name=* \
1791 |
--program-transform-nam=* |
--program-transform-na=* \
1792 |
--program-transform-n=* |
--program-transform-=* \
1793 |
--program-transform=* |
--program-transfor=* \
1794 |
--program-transfo=* |
--program-transf=* \
1795 |
--program-trans=* |
--program-tran=* \
1796 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1797 program_transform_name
=$ac_optarg ;;
1799 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1801 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1802 pdfdir
=$ac_optarg ;;
1804 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1806 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1809 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1810 |
-silent |
--silent |
--silen |
--sile |
--sil)
1813 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1815 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1817 sbindir
=$ac_optarg ;;
1819 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1820 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1821 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1823 ac_prev
=sharedstatedir
;;
1824 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1825 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1826 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1828 sharedstatedir
=$ac_optarg ;;
1830 -site |
--site |
--sit)
1832 -site=* |
--site=* |
--sit=*)
1835 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1837 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1838 srcdir
=$ac_optarg ;;
1840 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1841 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1842 ac_prev
=sysconfdir
;;
1843 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1844 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1845 sysconfdir
=$ac_optarg ;;
1847 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1848 ac_prev
=target_alias
;;
1849 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1850 target_alias
=$ac_optarg ;;
1852 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1855 -version |
--version |
--versio |
--versi |
--vers |
-V)
1856 ac_init_version
=: ;;
1859 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1860 # Reject names that are not valid shell variable names.
1861 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1862 as_fn_error $?
"invalid package name: $ac_useropt"
1863 ac_useropt_orig
=$ac_useropt
1864 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1865 case $ac_user_opts in
1869 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1870 ac_unrecognized_sep
=', ';;
1872 eval with_
$ac_useropt=\
$ac_optarg ;;
1874 -without-* |
--without-*)
1875 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1876 # Reject names that are not valid shell variable names.
1877 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1878 as_fn_error $?
"invalid package name: $ac_useropt"
1879 ac_useropt_orig
=$ac_useropt
1880 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1881 case $ac_user_opts in
1885 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1886 ac_unrecognized_sep
=', ';;
1888 eval with_
$ac_useropt=no
;;
1891 # Obsolete; use --with-x.
1894 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1895 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1896 ac_prev
=x_includes
;;
1897 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1898 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1899 x_includes
=$ac_optarg ;;
1901 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1902 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1903 ac_prev
=x_libraries
;;
1904 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1905 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1906 x_libraries
=$ac_optarg ;;
1908 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1909 Try \`$0 --help' for more information"
1913 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1914 # Reject names that are not valid shell variable names.
1915 case $ac_envvar in #(
1916 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1917 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1919 eval $ac_envvar=\
$ac_optarg
1920 export $ac_envvar ;;
1923 # FIXME: should be removed in autoconf 3.0.
1924 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1925 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1926 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1927 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1933 if test -n "$ac_prev"; then
1934 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1935 as_fn_error $?
"missing argument to $ac_option"
1938 if test -n "$ac_unrecognized_opts"; then
1939 case $enable_option_checking in
1941 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1942 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1946 # Check all directory arguments for consistency.
1947 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1948 datadir sysconfdir sharedstatedir localstatedir includedir \
1949 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1950 libdir localedir mandir
1952 eval ac_val
=\$
$ac_var
1953 # Remove trailing slashes.
1956 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1957 eval $ac_var=\
$ac_val;;
1959 # Be sure to have absolute directory names.
1961 [\\/$
]* | ?
:[\\/]* ) continue;;
1962 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1964 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1967 # There might be people who depend on the old broken behavior: `$host'
1968 # used to hold the argument of --host etc.
1969 # FIXME: To remove some day.
1972 target
=$target_alias
1974 # FIXME: To remove some day.
1975 if test "x$host_alias" != x
; then
1976 if test "x$build_alias" = x
; then
1977 cross_compiling
=maybe
1978 elif test "x$build_alias" != "x$host_alias"; then
1984 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1986 test "$silent" = yes && exec 6>/dev
/null
1989 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1990 ac_ls_di
=`ls -di .` &&
1991 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1992 as_fn_error $?
"working directory cannot be determined"
1993 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1994 as_fn_error $?
"pwd does not report name of working directory"
1997 # Find the source files, if location was not specified.
1998 if test -z "$srcdir"; then
1999 ac_srcdir_defaulted
=yes
2000 # Try the directory containing this script, then the parent directory.
2001 ac_confdir
=`$as_dirname -- "$as_myself" ||
2002 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2003 X"$as_myself" : 'X\(//\)[^/]' \| \
2004 X"$as_myself" : 'X\(//\)$' \| \
2005 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2006 $as_echo X"$as_myself" |
2007 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2025 if test ! -r "$srcdir/$ac_unique_file"; then
2029 ac_srcdir_defaulted
=no
2031 if test ! -r "$srcdir/$ac_unique_file"; then
2032 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
2033 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
2035 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
2037 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2039 # When building in place, set srcdir=.
2040 if test "$ac_abs_confdir" = "$ac_pwd"; then
2043 # Remove unnecessary trailing slashes from srcdir.
2044 # Double slashes in file names in object file debugging info
2045 # mess up M-x gdb in Emacs.
2047 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2049 for ac_var
in $ac_precious_vars; do
2050 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
2051 eval ac_env_
${ac_var}_value
=\$
${ac_var}
2052 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
2053 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
2057 # Report the --help message.
2059 if test "$ac_init_help" = "long"; then
2060 # Omit some internal or obsolete options to make the list less imposing.
2061 # This message is too long to be a string in the A/UX 3.1 sh.
2063 \`configure' configures Wine 1.7.50 to adapt to many kinds of systems.
2065 Usage: $0 [OPTION]... [VAR=VALUE]...
2067 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2068 VAR=VALUE. See below for descriptions of some of the useful variables.
2070 Defaults for the options are specified in brackets.
2073 -h, --help display this help and exit
2074 --help=short display options specific to this package
2075 --help=recursive display the short help of all the included packages
2076 -V, --version display version information and exit
2077 -q, --quiet, --silent do not print \`checking ...' messages
2078 --cache-file=FILE cache test results in FILE [disabled]
2079 -C, --config-cache alias for \`--cache-file=config.cache'
2080 -n, --no-create do not create output files
2081 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2083 Installation directories:
2084 --prefix=PREFIX install architecture-independent files in PREFIX
2085 [$ac_default_prefix]
2086 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2089 By default, \`make install' will install all the files in
2090 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2091 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2092 for instance \`--prefix=\$HOME'.
2094 For better control, use the options below.
2096 Fine tuning of the installation directories:
2097 --bindir=DIR user executables [EPREFIX/bin]
2098 --sbindir=DIR system admin executables [EPREFIX/sbin]
2099 --libexecdir=DIR program executables [EPREFIX/libexec]
2100 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2101 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2102 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2103 --libdir=DIR object code libraries [EPREFIX/lib]
2104 --includedir=DIR C header files [PREFIX/include]
2105 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2106 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2107 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2108 --infodir=DIR info documentation [DATAROOTDIR/info]
2109 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2110 --mandir=DIR man documentation [DATAROOTDIR/man]
2111 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2112 --htmldir=DIR html documentation [DOCDIR]
2113 --dvidir=DIR dvi documentation [DOCDIR]
2114 --pdfdir=DIR pdf documentation [DOCDIR]
2115 --psdir=DIR ps documentation [DOCDIR]
2121 --x-includes=DIR X include files are
in DIR
2122 --x-libraries=DIR X library files are
in DIR
2125 --build=BUILD configure
for building on BUILD
[guessed
]
2126 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
2130 if test -n "$ac_init_help"; then
2131 case $ac_init_help in
2132 short | recursive
) echo "Configuration of Wine 1.7.50:";;
2137 --disable-option-checking ignore unrecognized
--enable/--with options
2138 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
2139 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
2140 --disable-win16 do not include Win16 support
2141 --enable-win64 build a Win64 emulator on AMD64
(won
't run Win32
2143 --disable-tests do not build the regression tests
2144 --enable-maintainer-mode
2145 enable maintainer-specific build rules
2146 --disable-largefile omit support for large files
2149 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2150 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2151 --without-alsa do not use the Alsa sound support
2152 --without-capi do not use CAPI (ISDN support)
2153 --without-cms do not use CMS (color management support)
2154 --without-coreaudio do not use the CoreAudio sound support
2155 --without-cups do not use CUPS
2156 --without-curses do not use (n)curses
2157 --without-dbus do not use DBus (dynamic device support)
2158 --without-fontconfig do not use fontconfig
2159 --without-freetype do not use the FreeType library
2160 --without-gettext do not use gettext
2161 --with-gettextpo use the GetTextPO library to rebuild po files
2162 --without-gphoto do not use gphoto (Digital Camera support)
2163 --without-glu do not use the GLU library
2164 --without-gnutls do not use GnuTLS (schannel support)
2165 --without-gsm do not use libgsm (GSM 06.10 codec support)
2166 --without-gstreamer do not use GStreamer (codecs support)
2167 --without-hal do not use HAL (dynamic device support)
2168 --without-jpeg do not use JPEG
2169 --without-ldap do not use LDAP
2170 --without-mpg123 do not use the mpg123 library
2171 --without-netapi do not use the Samba NetAPI library
2172 --without-openal do not use OpenAL
2173 --without-opencl do not use OpenCL
2174 --without-opengl do not use OpenGL
2175 --without-osmesa do not use the OSMesa library
2176 --without-oss do not use the OSS sound support
2177 --without-pcap do not use the Packet Capture library
2178 --without-png do not use PNG
2179 --without-pthread do not use the pthread library
2180 --without-sane do not use SANE (scanner support)
2181 --without-tiff do not use TIFF
2182 --without-v4l do not use v4l1 (v4l support)
2183 --without-xcomposite do not use the Xcomposite extension
2184 --without-xcursor do not use the Xcursor extension
2185 --without-xinerama do not use Xinerama (multi-monitor support)
2186 --without-xinput do not use the Xinput extension
2187 --without-xinput2 do not use the Xinput 2 extension
2188 --without-xml do not use XML
2189 --without-xrandr do not use Xrandr (resolution changes)
2190 --without-xrender do not use the Xrender extension
2191 --without-xshape do not use the Xshape extension
2192 --without-xshm do not use XShm (shared memory extension)
2193 --without-xslt do not use XSLT
2194 --without-xxf86vm do not use XFree video mode extension
2195 --without-zlib do not use Zlib (data compression)
2196 --with-wine-tools=DIR use Wine tools from directory DIR
2197 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2198 --with-x use the X Window System
2200 Some influential environment variables:
2201 CC C compiler command
2202 CFLAGS C compiler flags
2203 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2204 nonstandard directory <lib dir>
2205 LIBS libraries to pass to the linker, e.g. -l<library>
2206 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2207 you have headers in a nonstandard directory <include dir>
2208 CXX C++ compiler command
2209 CXXFLAGS C++ compiler flags
2211 XMKMF Path to xmkmf, Makefile generator for X Window System
2212 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2213 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2214 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2215 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2216 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2217 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2218 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2219 HAL_LIBS Linker flags for hal, overriding pkg-config
2221 C compiler flags for gnutls, overriding pkg-config
2222 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2223 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2224 SANE_LIBS Linker flags for libsane, overriding pkg-config
2226 C compiler flags for libgphoto2, overriding pkg-config
2228 Linker flags for libgphoto2, overriding pkg-config
2230 C compiler flags for libgphoto2_port, overriding pkg-config
2232 Linker flags for libgphoto2_port, overriding pkg-config
2234 C compiler flags for lcms2, overriding pkg-config
2235 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2237 C compiler flags for freetype2, overriding pkg-config
2239 Linker flags for freetype2, overriding pkg-config
2241 C compiler flags for gstreamer-app-0.10, overriding pkg-config
2243 Linker flags for gstreamer-app-0.10, overriding pkg-config
2245 C compiler flags for capi20, overriding pkg-config
2246 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2248 C compiler flags for fontconfig, overriding pkg-config
2250 Linker flags for fontconfig, overriding pkg-config
2251 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2252 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2253 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2254 PNG_LIBS Linker flags for libpng, overriding pkg-config
2255 TIFF_CFLAGS C compiler flags for libtiff, overriding pkg-config
2256 TIFF_LIBS Linker flags for libtiff, overriding pkg-config
2258 C compiler flags for libmpg123, overriding pkg-config
2259 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2261 Use these variables to override the choices made by `configure' or to
help
2262 it to
find libraries and programs with nonstandard names
/locations.
2264 Report bugs to
<wine-devel@winehq.org
>.
2265 Wine home page
: <http
://www.winehq.org
>.
2270 if test "$ac_init_help" = "recursive"; then
2271 # If there are subdirs, report their specific --help.
2272 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
2273 test -d "$ac_dir" ||
2274 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
2279 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2281 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2282 # A ".." for each directory in $ac_dir_suffix.
2283 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2284 case $ac_top_builddir_sub in
2285 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2286 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
2289 ac_abs_top_builddir
=$ac_pwd
2290 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
2291 # for backward compatibility:
2292 ac_top_builddir
=$ac_top_build_prefix
2295 .
) # We are building in place.
2297 ac_top_srcdir
=$ac_top_builddir_sub
2298 ac_abs_top_srcdir
=$ac_pwd ;;
2299 [\\/]* | ?
:[\\/]* ) # Absolute name.
2300 ac_srcdir
=$srcdir$ac_dir_suffix;
2301 ac_top_srcdir
=$srcdir
2302 ac_abs_top_srcdir
=$srcdir ;;
2304 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
2305 ac_top_srcdir
=$ac_top_build_prefix$srcdir
2306 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
2308 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
2310 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
2311 # Check for guested configure.
2312 if test -f "$ac_srcdir/configure.gnu"; then
2314 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2315 elif test -f "$ac_srcdir/configure"; then
2317 $SHELL "$ac_srcdir/configure" --help=recursive
2319 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2321 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
2325 test -n "$ac_init_help" && exit $ac_status
2326 if $ac_init_version; then
2328 Wine configure
1.7.50
2329 generated by GNU Autoconf
2.69
2331 Copyright
(C
) 2012 Free Software Foundation
, Inc.
2332 This configure
script is free software
; the Free Software Foundation
2333 gives unlimited permission to copy
, distribute and modify it.
2338 ## ------------------------ ##
2339 ## Autoconf initialization. ##
2340 ## ------------------------ ##
2342 # ac_fn_c_try_compile LINENO
2343 # --------------------------
2344 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2345 ac_fn_c_try_compile
()
2347 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2348 rm -f conftest.
$ac_objext
2349 if { { ac_try
="$ac_compile"
2351 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2352 *) ac_try_echo=$ac_try;;
2354 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2355 $as_echo "$ac_try_echo"; } >&5
2356 (eval "$ac_compile") 2>conftest.err
2358 if test -s conftest.err; then
2359 grep -v '^ *+' conftest.err >conftest.er1
2360 cat conftest.er1 >&5
2361 mv -f conftest.er1 conftest.err
2363 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2364 test $ac_status = 0; } && {
2365 test -z "$ac_c_werror_flag" ||
2366 test ! -s conftest.err
2367 } && test -s conftest.$ac_objext; then :
2370 $as_echo "$as_me: failed program was:" >&5
2371 sed 's/^/| /' conftest.$ac_ext >&5
2375 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2376 as_fn_set_status $ac_retval
2378 } # ac_fn_c_try_compile
2380 # ac_fn_cxx_try_compile LINENO
2381 # ----------------------------
2382 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2383 ac_fn_cxx_try_compile ()
2385 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2386 rm -f conftest.$ac_objext
2387 if { { ac_try="$ac_compile"
2389 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2390 *) ac_try_echo
=$ac_try;;
2392 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2393 $as_echo "$ac_try_echo"; } >&5
2394 (eval "$ac_compile") 2>conftest.err
2396 if test -s conftest.err
; then
2397 grep -v '^ *+' conftest.err
>conftest.er1
2398 cat conftest.er1
>&5
2399 mv -f conftest.er1 conftest.err
2401 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2402 test $ac_status = 0; } && {
2403 test -z "$ac_cxx_werror_flag" ||
2404 test ! -s conftest.err
2405 } && test -s conftest.
$ac_objext; then :
2408 $as_echo "$as_me: failed program was:" >&5
2409 sed 's/^/| /' conftest.
$ac_ext >&5
2413 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2414 as_fn_set_status
$ac_retval
2416 } # ac_fn_cxx_try_compile
2418 # ac_fn_c_try_link LINENO
2419 # -----------------------
2420 # Try to link conftest.$ac_ext, and return whether this succeeded.
2423 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2424 rm -f conftest.
$ac_objext conftest
$ac_exeext
2425 if { { ac_try
="$ac_link"
2427 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2428 *) ac_try_echo=$ac_try;;
2430 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2431 $as_echo "$ac_try_echo"; } >&5
2432 (eval "$ac_link") 2>conftest.err
2434 if test -s conftest.err; then
2435 grep -v '^ *+' conftest.err >conftest.er1
2436 cat conftest.er1 >&5
2437 mv -f conftest.er1 conftest.err
2439 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2440 test $ac_status = 0; } && {
2441 test -z "$ac_c_werror_flag" ||
2442 test ! -s conftest.err
2443 } && test -s conftest$ac_exeext && {
2444 test "$cross_compiling" = yes ||
2445 test -x conftest$ac_exeext
2449 $as_echo "$as_me: failed program was:" >&5
2450 sed 's/^/| /' conftest.$ac_ext >&5
2454 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2455 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2456 # interfere with the next link command; also delete a directory that is
2457 # left behind by Apple's compiler. We do this before executing the actions.
2458 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2459 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2460 as_fn_set_status $ac_retval
2462 } # ac_fn_c_try_link
2464 # ac_fn_c_try_cpp LINENO
2465 # ----------------------
2466 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2469 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2470 if { { ac_try="$ac_cpp conftest.$ac_ext"
2472 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2473 *) ac_try_echo
=$ac_try;;
2475 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2476 $as_echo "$ac_try_echo"; } >&5
2477 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2479 if test -s conftest.err
; then
2480 grep -v '^ *+' conftest.err
>conftest.er1
2481 cat conftest.er1
>&5
2482 mv -f conftest.er1 conftest.err
2484 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2485 test $ac_status = 0; } > conftest.i
&& {
2486 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2487 test ! -s conftest.err
2491 $as_echo "$as_me: failed program was:" >&5
2492 sed 's/^/| /' conftest.
$ac_ext >&5
2496 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2497 as_fn_set_status
$ac_retval
2501 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2502 # -------------------------------------------------------
2503 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2504 # the include files in INCLUDES and setting the cache variable VAR
2506 ac_fn_c_check_header_mongrel
()
2508 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2509 if eval \
${$3+:} false
; then :
2510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2511 $as_echo_n "checking for $2... " >&6; }
2512 if eval \
${$3+:} false
; then :
2513 $as_echo_n "(cached) " >&6
2516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2517 $as_echo "$ac_res" >&6; }
2519 # Is the header compilable?
2520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2521 $as_echo_n "checking $2 usability... " >&6; }
2522 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2523 /* end confdefs.h. */
2527 if ac_fn_c_try_compile
"$LINENO"; then :
2528 ac_header_compiler
=yes
2530 ac_header_compiler
=no
2532 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2534 $as_echo "$ac_header_compiler" >&6; }
2536 # Is the header present?
2537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2538 $as_echo_n "checking $2 presence... " >&6; }
2539 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2540 /* end confdefs.h. */
2543 if ac_fn_c_try_cpp
"$LINENO"; then :
2544 ac_header_preproc
=yes
2546 ac_header_preproc
=no
2548 rm -f conftest.err conftest.i conftest.
$ac_ext
2549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2550 $as_echo "$ac_header_preproc" >&6; }
2552 # So? What about this header?
2553 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2555 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2556 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2557 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2558 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2561 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2562 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2563 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2564 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2565 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2566 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2567 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2568 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2569 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2570 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2571 ( $as_echo "## ------------------------------------ ##
2572 ## Report this to wine-devel@winehq.org ##
2573 ## ------------------------------------ ##"
2574 ) |
sed "s/^/$as_me: WARNING: /" >&2
2577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2578 $as_echo_n "checking for $2... " >&6; }
2579 if eval \
${$3+:} false
; then :
2580 $as_echo_n "(cached) " >&6
2582 eval "$3=\$ac_header_compiler"
2585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2586 $as_echo "$ac_res" >&6; }
2588 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2590 } # ac_fn_c_check_header_mongrel
2592 # ac_fn_c_try_run LINENO
2593 # ----------------------
2594 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2595 # that executables *can* be run.
2598 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2599 if { { ac_try
="$ac_link"
2601 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2602 *) ac_try_echo=$ac_try;;
2604 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2605 $as_echo "$ac_try_echo"; } >&5
2606 (eval "$ac_link") 2>&5
2608 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2609 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2610 { { case "(($ac_try" in
2611 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2612 *) ac_try_echo
=$ac_try;;
2614 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2615 $as_echo "$ac_try_echo"; } >&5
2616 (eval "$ac_try") 2>&5
2618 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2619 test $ac_status = 0; }; }; then :
2622 $as_echo "$as_me: program exited with status $ac_status" >&5
2623 $as_echo "$as_me: failed program was:" >&5
2624 sed 's/^/| /' conftest.
$ac_ext >&5
2626 ac_retval
=$ac_status
2628 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2629 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2630 as_fn_set_status
$ac_retval
2634 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2635 # -------------------------------------------------------
2636 # Tests whether HEADER exists and can be compiled using the include files in
2637 # INCLUDES, setting the cache variable VAR accordingly.
2638 ac_fn_c_check_header_compile
()
2640 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2642 $as_echo_n "checking for $2... " >&6; }
2643 if eval \
${$3+:} false
; then :
2644 $as_echo_n "(cached) " >&6
2646 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2647 /* end confdefs.h. */
2651 if ac_fn_c_try_compile
"$LINENO"; then :
2656 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2660 $as_echo "$ac_res" >&6; }
2661 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2663 } # ac_fn_c_check_header_compile
2665 # ac_fn_c_check_func LINENO FUNC VAR
2666 # ----------------------------------
2667 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2668 ac_fn_c_check_func
()
2670 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2672 $as_echo_n "checking for $2... " >&6; }
2673 if eval \
${$3+:} false
; then :
2674 $as_echo_n "(cached) " >&6
2676 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2677 /* end confdefs.h. */
2678 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2679 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2680 #define $2 innocuous_$2
2682 /* System header to define __stub macros and hopefully few prototypes,
2683 which can conflict with char $2 (); below.
2684 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2685 <limits.h> exists even on freestanding compilers. */
2688 # include <limits.h>
2690 # include <assert.h>
2695 /* Override any GCC internal prototype to avoid an error.
2696 Use char because int might match the return type of a GCC
2697 builtin and then its argument prototype would still apply. */
2702 /* The GNU C library defines this for functions which it implements
2703 to always fail with ENOSYS. Some functions are actually named
2704 something starting with __ and the normal name is an alias. */
2705 #if defined __stub_$2 || defined __stub___$2
2717 if ac_fn_c_try_link
"$LINENO"; then :
2722 rm -f core conftest.err conftest.
$ac_objext \
2723 conftest
$ac_exeext conftest.
$ac_ext
2726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2727 $as_echo "$ac_res" >&6; }
2728 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2730 } # ac_fn_c_check_func
2732 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2733 # ----------------------------------------------------
2734 # Tries to find if the field MEMBER exists in type AGGR, after including
2735 # INCLUDES, setting cache variable VAR accordingly.
2736 ac_fn_c_check_member
()
2738 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2740 $as_echo_n "checking for $2.$3... " >&6; }
2741 if eval \
${$4+:} false
; then :
2742 $as_echo_n "(cached) " >&6
2744 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2745 /* end confdefs.h. */
2757 if ac_fn_c_try_compile
"$LINENO"; then :
2760 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2761 /* end confdefs.h. */
2767 if (sizeof ac_aggr.$3)
2773 if ac_fn_c_try_compile
"$LINENO"; then :
2778 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2780 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2784 $as_echo "$ac_res" >&6; }
2785 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2787 } # ac_fn_c_check_member
2789 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2790 # -------------------------------------------
2791 # Tests whether TYPE exists after having included INCLUDES, setting cache
2792 # variable VAR accordingly.
2793 ac_fn_c_check_type
()
2795 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2797 $as_echo_n "checking for $2... " >&6; }
2798 if eval \
${$3+:} false
; then :
2799 $as_echo_n "(cached) " >&6
2802 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2803 /* end confdefs.h. */
2814 if ac_fn_c_try_compile
"$LINENO"; then :
2815 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2816 /* end confdefs.h. */
2827 if ac_fn_c_try_compile
"$LINENO"; then :
2832 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2834 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2838 $as_echo "$ac_res" >&6; }
2839 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2841 } # ac_fn_c_check_type
2842 cat >config.log
<<_ACEOF
2843 This file contains any messages produced by compilers while
2844 running configure, to aid debugging if configure makes a mistake.
2846 It was created by Wine $as_me 1.7.50, which was
2847 generated by GNU Autoconf 2.69. Invocation command line was
2859 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2860 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2861 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2862 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2863 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2865 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2866 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2868 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2869 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2870 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2871 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2872 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2873 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2874 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2878 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2882 test -z "$as_dir" && as_dir
=.
2883 $as_echo "PATH: $as_dir"
2899 # Keep a trace of the command line.
2900 # Strip out --no-create and --no-recursion so they do not pile up.
2901 # Strip out --silent because we don't want to record it for future runs.
2902 # Also quote any args containing shell meta-characters.
2903 # Make two passes to allow for proper duplicate-argument suppression.
2907 ac_must_keep_next
=false
2913 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
2914 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2915 |
-silent |
--silent |
--silen |
--sile |
--sil)
2918 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2921 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2923 as_fn_append ac_configure_args1
" '$ac_arg'"
2924 if test $ac_must_keep_next = true
; then
2925 ac_must_keep_next
=false
# Got value, back to normal.
2928 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
2929 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
2930 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
2931 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
2932 case "$ac_configure_args0 " in
2933 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2936 -* ) ac_must_keep_next
=true
;;
2939 as_fn_append ac_configure_args
" '$ac_arg'"
2944 { ac_configure_args0
=; unset ac_configure_args0
;}
2945 { ac_configure_args1
=; unset ac_configure_args1
;}
2947 # When interrupted or exit'd, cleanup temporary files, and complete
2948 # config.log. We remove comments because anyway the quotes in there
2949 # would cause problems or look ugly.
2950 # WARNING: Use '\'' to represent an apostrophe within the trap.
2951 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2952 trap 'exit_status=$?
2953 # Save into config.log some information that might help in debugging.
2957 $as_echo "## ---------------- ##
2958 ## Cache variables. ##
2959 ## ---------------- ##"
2961 # The following way of writing the cache mishandles newlines in values,
2963 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2964 eval ac_val=\$$ac_var
2968 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2969 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2972 _ | IFS | as_nl) ;; #(
2973 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2974 *) { eval $ac_var=; unset $ac_var;} ;;
2979 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2980 *${as_nl}ac_space=\ *)
2982 "s/'\''/'\''\\\\'\'''\''/g;
2983 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2986 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2993 $as_echo "## ----------------- ##
2994 ## Output variables. ##
2995 ## ----------------- ##"
2997 for ac_var in $ac_subst_vars
2999 eval ac_val=\$$ac_var
3001 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3003 $as_echo "$ac_var='\''$ac_val'\''"
3007 if test -n "$ac_subst_files"; then
3008 $as_echo "## ------------------- ##
3009 ## File substitutions. ##
3010 ## ------------------- ##"
3012 for ac_var
in $ac_subst_files
3014 eval ac_val
=\$
$ac_var
3016 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3018 $as_echo "$ac_var='\''$ac_val'\''"
3023 if test -s confdefs.h; then
3024 $as_echo "## ----------- ##
3031 test "$ac_signal" != 0 &&
3032 $as_echo "$as_me: caught signal $ac_signal"
3033 $as_echo "$as_me: exit $exit_status"
3035 rm -f core *.core core.conftest.* &&
3036 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3039 for ac_signal
in 1 2 13 15; do
3040 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3044 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3045 rm -f -r conftest
* confdefs.h
3047 $as_echo "/* confdefs.h */" > confdefs.h
3049 # Predefined preprocessor variables.
3051 cat >>confdefs.h
<<_ACEOF
3052 #define PACKAGE_NAME "$PACKAGE_NAME"
3055 cat >>confdefs.h
<<_ACEOF
3056 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3059 cat >>confdefs.h
<<_ACEOF
3060 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3063 cat >>confdefs.h
<<_ACEOF
3064 #define PACKAGE_STRING "$PACKAGE_STRING"
3067 cat >>confdefs.h
<<_ACEOF
3068 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3071 cat >>confdefs.h
<<_ACEOF
3072 #define PACKAGE_URL "$PACKAGE_URL"
3076 # Let the site file select an alternate cache file if it wants to.
3077 # Prefer an explicitly selected file to automatically selected ones.
3080 if test -n "$CONFIG_SITE"; then
3081 # We do not want a PATH search for config.site.
3082 case $CONFIG_SITE in #((
3083 -*) ac_site_file1
=.
/$CONFIG_SITE;;
3084 */*) ac_site_file1
=$CONFIG_SITE;;
3085 *) ac_site_file1
=.
/$CONFIG_SITE;;
3087 elif test "x$prefix" != xNONE
; then
3088 ac_site_file1
=$prefix/share
/config.site
3089 ac_site_file2
=$prefix/etc
/config.site
3091 ac_site_file1
=$ac_default_prefix/share
/config.site
3092 ac_site_file2
=$ac_default_prefix/etc
/config.site
3094 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
3096 test "x$ac_site_file" = xNONE
&& continue
3097 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
3098 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3099 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3100 sed 's/^/| /' "$ac_site_file" >&5
3102 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3103 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3104 as_fn_error $?
"failed to load site script $ac_site_file
3105 See \`config.log' for more details" "$LINENO" 5; }
3109 if test -r "$cache_file"; then
3110 # Some versions of bash will fail to source /dev/null (special files
3111 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3112 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
3113 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3114 $as_echo "$as_me: loading cache $cache_file" >&6;}
3116 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
3117 *) .
"./$cache_file";;
3121 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3122 $as_echo "$as_me: creating cache $cache_file" >&6;}
3126 # Check that the precious variables saved in the cache have kept the same
3128 ac_cache_corrupted
=false
3129 for ac_var
in $ac_precious_vars; do
3130 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
3131 eval ac_new_set
=\
$ac_env_${ac_var}_set
3132 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
3133 eval ac_new_val
=\
$ac_env_${ac_var}_value
3134 case $ac_old_set,$ac_new_set in
3136 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3137 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3138 ac_cache_corrupted
=: ;;
3140 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3141 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3142 ac_cache_corrupted
=: ;;
3145 if test "x$ac_old_val" != "x$ac_new_val"; then
3146 # differences in whitespace do not lead to failure.
3147 ac_old_val_w
=`echo x $ac_old_val`
3148 ac_new_val_w
=`echo x $ac_new_val`
3149 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3150 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3151 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3152 ac_cache_corrupted
=:
3154 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3155 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3156 eval $ac_var=\
$ac_old_val
3158 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3159 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3160 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3161 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3164 # Pass precious variables to config.status.
3165 if test "$ac_new_set" = set; then
3167 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3168 *) ac_arg
=$ac_var=$ac_new_val ;;
3170 case " $ac_configure_args " in
3171 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3172 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
3176 if $ac_cache_corrupted; then
3177 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3178 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3179 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3180 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3181 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3183 ## -------------------- ##
3184 ## Main body of script. ##
3185 ## -------------------- ##
3188 ac_cpp
='$CPP $CPPFLAGS'
3189 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3190 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3191 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3195 ac_config_headers
="$ac_config_headers include/config.h"
3198 for ac_dir
in tools
"$srcdir"/tools
; do
3199 if test -f "$ac_dir/install-sh"; then
3201 ac_install_sh
="$ac_aux_dir/install-sh -c"
3203 elif test -f "$ac_dir/install.sh"; then
3205 ac_install_sh
="$ac_aux_dir/install.sh -c"
3207 elif test -f "$ac_dir/shtool"; then
3209 ac_install_sh
="$ac_aux_dir/shtool install -c"
3213 if test -z "$ac_aux_dir"; then
3214 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3217 # These three variables are undocumented and unsupported,
3218 # and are intended to be withdrawn in a future Autoconf release.
3219 # They can cause serious problems if a builder's source tree is in a directory
3220 # whose full name contains unusual characters.
3221 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3222 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3223 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3227 libwine_version
="1.0"
3231 # Check whether --enable-win16 was given.
3232 if test "${enable_win16+set}" = set; then :
3233 enableval
=$enable_win16;
3236 # Check whether --enable-win64 was given.
3237 if test "${enable_win64+set}" = set; then :
3238 enableval
=$enable_win64;
3241 # Check whether --enable-tests was given.
3242 if test "${enable_tests+set}" = set; then :
3243 enableval
=$enable_tests;
3246 # Check whether --enable-maintainer-mode was given.
3247 if test "${enable_maintainer_mode+set}" = set; then :
3248 enableval
=$enable_maintainer_mode;
3253 # Check whether --with-alsa was given.
3254 if test "${with_alsa+set}" = set; then :
3255 withval
=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h
=no
; ac_cv_header_alsa_asoundlib_h
=no
; fi
3259 # Check whether --with-capi was given.
3260 if test "${with_capi+set}" = set; then :
3265 # Check whether --with-cms was given.
3266 if test "${with_cms+set}" = set; then :
3271 # Check whether --with-coreaudio was given.
3272 if test "${with_coreaudio+set}" = set; then :
3273 withval
=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h
=no
; fi
3277 # Check whether --with-cups was given.
3278 if test "${with_cups+set}" = set; then :
3283 # Check whether --with-curses was given.
3284 if test "${with_curses+set}" = set; then :
3285 withval
=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h
=no
; ac_cv_header_curses_h
=no
; fi
3289 # Check whether --with-dbus was given.
3290 if test "${with_dbus+set}" = set; then :
3295 # Check whether --with-fontconfig was given.
3296 if test "${with_fontconfig+set}" = set; then :
3297 withval
=$with_fontconfig;
3301 # Check whether --with-freetype was given.
3302 if test "${with_freetype+set}" = set; then :
3303 withval
=$with_freetype;
3307 # Check whether --with-gettext was given.
3308 if test "${with_gettext+set}" = set; then :
3309 withval
=$with_gettext;
3313 # Check whether --with-gettextpo was given.
3314 if test "${with_gettextpo+set}" = set; then :
3315 withval
=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h
=no
; fi
3319 # Check whether --with-gphoto was given.
3320 if test "${with_gphoto+set}" = set; then :
3321 withval
=$with_gphoto;
3325 # Check whether --with-glu was given.
3326 if test "${with_glu+set}" = set; then :
3331 # Check whether --with-gnutls was given.
3332 if test "${with_gnutls+set}" = set; then :
3333 withval
=$with_gnutls;
3337 # Check whether --with-gsm was given.
3338 if test "${with_gsm+set}" = set; then :
3339 withval
=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h
=no
; ac_cv_header_gsm_gsm_h
=no
; fi
3343 # Check whether --with-gstreamer was given.
3344 if test "${with_gstreamer+set}" = set; then :
3345 withval
=$with_gstreamer;
3349 # Check whether --with-hal was given.
3350 if test "${with_hal+set}" = set; then :
3355 # Check whether --with-jpeg was given.
3356 if test "${with_jpeg+set}" = set; then :
3361 # Check whether --with-ldap was given.
3362 if test "${with_ldap+set}" = set; then :
3363 withval
=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h
=no
; ac_cv_header_lber_h
=no
; fi
3367 # Check whether --with-mpg123 was given.
3368 if test "${with_mpg123+set}" = set; then :
3369 withval
=$with_mpg123;
3373 # Check whether --with-netapi was given.
3374 if test "${with_netapi+set}" = set; then :
3375 withval
=$with_netapi;
3379 # Check whether --with-openal was given.
3380 if test "${with_openal+set}" = set; then :
3381 withval
=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h
=no
; ac_cv_header_OpenAL_al_h
=no
; fi
3385 # Check whether --with-opencl was given.
3386 if test "${with_opencl+set}" = set; then :
3387 withval
=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h
=no
; ac_cv_header_OpenCL_opencl_h
=no
; fi
3391 # Check whether --with-opengl was given.
3392 if test "${with_opengl+set}" = set; then :
3393 withval
=$with_opengl;
3397 # Check whether --with-osmesa was given.
3398 if test "${with_osmesa+set}" = set; then :
3399 withval
=$with_osmesa;
3403 # Check whether --with-oss was given.
3404 if test "${with_oss+set}" = set; then :
3409 # Check whether --with-pcap was given.
3410 if test "${with_pcap+set}" = set; then :
3411 withval
=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h
=no
; fi
3415 # Check whether --with-png was given.
3416 if test "${with_png+set}" = set; then :
3421 # Check whether --with-pthread was given.
3422 if test "${with_pthread+set}" = set; then :
3423 withval
=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h
=no
; fi
3427 # Check whether --with-sane was given.
3428 if test "${with_sane+set}" = set; then :
3433 # Check whether --with-tiff was given.
3434 if test "${with_tiff+set}" = set; then :
3439 # Check whether --with-v4l was given.
3440 if test "${with_v4l+set}" = set; then :
3445 # Check whether --with-xcomposite was given.
3446 if test "${with_xcomposite+set}" = set; then :
3447 withval
=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h
=no
; fi
3451 # Check whether --with-xcursor was given.
3452 if test "${with_xcursor+set}" = set; then :
3453 withval
=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h
=no
; fi
3457 # Check whether --with-xinerama was given.
3458 if test "${with_xinerama+set}" = set; then :
3459 withval
=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h
=no
; fi
3463 # Check whether --with-xinput was given.
3464 if test "${with_xinput+set}" = set; then :
3465 withval
=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h
=no
; fi
3469 # Check whether --with-xinput2 was given.
3470 if test "${with_xinput2+set}" = set; then :
3471 withval
=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h
=no
; fi
3475 # Check whether --with-xml was given.
3476 if test "${with_xml+set}" = set; then :
3481 # Check whether --with-xrandr was given.
3482 if test "${with_xrandr+set}" = set; then :
3483 withval
=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h
=no
; fi
3487 # Check whether --with-xrender was given.
3488 if test "${with_xrender+set}" = set; then :
3489 withval
=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h
=no
; fi
3493 # Check whether --with-xshape was given.
3494 if test "${with_xshape+set}" = set; then :
3495 withval
=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h
=no
; fi
3499 # Check whether --with-xshm was given.
3500 if test "${with_xshm+set}" = set; then :
3501 withval
=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h
=no
; fi
3505 # Check whether --with-xslt was given.
3506 if test "${with_xslt+set}" = set; then :
3511 # Check whether --with-xxf86vm was given.
3512 if test "${with_xxf86vm+set}" = set; then :
3513 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
3517 # Check whether --with-zlib was given.
3518 if test "${with_zlib+set}" = set; then :
3519 withval
=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h
=no
; fi
3524 # Check whether --with-wine-tools was given.
3525 if test "${with_wine_tools+set}" = set; then :
3526 withval
=$with_wine_tools;
3530 # Check whether --with-wine64 was given.
3531 if test "${with_wine64+set}" = set; then :
3532 withval
=$with_wine64;
3536 # Make sure we can run config.sub.
3537 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
3538 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3541 $as_echo_n "checking build system type... " >&6; }
3542 if ${ac_cv_build+:} false
; then :
3543 $as_echo_n "(cached) " >&6
3545 ac_build_alias
=$build_alias
3546 test "x$ac_build_alias" = x
&&
3547 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
3548 test "x$ac_build_alias" = x
&&
3549 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
3550 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3551 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3555 $as_echo "$ac_cv_build" >&6; }
3556 case $ac_cv_build in
3558 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
3561 ac_save_IFS
=$IFS; IFS
='-'
3567 # Remember, the first character of IFS is used to create $*,
3568 # except with old shells:
3571 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
3574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3575 $as_echo_n "checking host system type... " >&6; }
3576 if ${ac_cv_host+:} false
; then :
3577 $as_echo_n "(cached) " >&6
3579 if test "x$host_alias" = x
; then
3580 ac_cv_host
=$ac_cv_build
3582 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3583 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3588 $as_echo "$ac_cv_host" >&6; }
3591 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
3594 ac_save_IFS
=$IFS; IFS
='-'
3600 # Remember, the first character of IFS is used to create $*,
3601 # except with old shells:
3604 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
3610 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
3611 as_fn_error $?
"you are building out of the source tree, but the source tree contains object files.
3612 You need to run 'make distclean' in the source tree first." "$LINENO" 5
3617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3618 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3620 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3621 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
3622 $as_echo_n "(cached) " >&6
3624 cat >conftest.
make <<\_ACEOF
3627 @
echo '@@@%%%=$(MAKE)=@@@%%%'
3629 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3630 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3632 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
3634 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
3638 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
3639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3640 $as_echo "yes" >&6; }
3643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3644 $as_echo "no" >&6; }
3645 SET_MAKE
="MAKE=${MAKE-make}"
3649 ac_cpp
='$CPP $CPPFLAGS'
3650 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3651 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3652 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3653 if test -n "$ac_tool_prefix"; then
3654 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3655 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3657 $as_echo_n "checking for $ac_word... " >&6; }
3658 if ${ac_cv_prog_CC+:} false
; then :
3659 $as_echo_n "(cached) " >&6
3661 if test -n "$CC"; then
3662 ac_cv_prog_CC
="$CC" # Let the user override the test.
3664 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3668 test -z "$as_dir" && as_dir
=.
3669 for ac_exec_ext
in '' $ac_executable_extensions; do
3670 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3671 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3672 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3682 if test -n "$CC"; then
3683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3684 $as_echo "$CC" >&6; }
3686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3687 $as_echo "no" >&6; }
3692 if test -z "$ac_cv_prog_CC"; then
3694 # Extract the first word of "gcc", so it can be a program name with args.
3695 set dummy gcc
; ac_word
=$2
3696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3697 $as_echo_n "checking for $ac_word... " >&6; }
3698 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3699 $as_echo_n "(cached) " >&6
3701 if test -n "$ac_ct_CC"; then
3702 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3704 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3708 test -z "$as_dir" && as_dir
=.
3709 for ac_exec_ext
in '' $ac_executable_extensions; do
3710 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3711 ac_cv_prog_ac_ct_CC
="gcc"
3712 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3721 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3722 if test -n "$ac_ct_CC"; then
3723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3724 $as_echo "$ac_ct_CC" >&6; }
3726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3727 $as_echo "no" >&6; }
3730 if test "x$ac_ct_CC" = x
; then
3733 case $cross_compiling:$ac_tool_warned in
3735 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3736 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3737 ac_tool_warned
=yes ;;
3745 if test -z "$CC"; then
3746 if test -n "$ac_tool_prefix"; then
3747 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3748 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3750 $as_echo_n "checking for $ac_word... " >&6; }
3751 if ${ac_cv_prog_CC+:} false
; then :
3752 $as_echo_n "(cached) " >&6
3754 if test -n "$CC"; then
3755 ac_cv_prog_CC
="$CC" # Let the user override the test.
3757 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3761 test -z "$as_dir" && as_dir
=.
3762 for ac_exec_ext
in '' $ac_executable_extensions; do
3763 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3764 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3765 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3775 if test -n "$CC"; then
3776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3777 $as_echo "$CC" >&6; }
3779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3780 $as_echo "no" >&6; }
3786 if test -z "$CC"; then
3787 # Extract the first word of "cc", so it can be a program name with args.
3788 set dummy cc
; ac_word
=$2
3789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3790 $as_echo_n "checking for $ac_word... " >&6; }
3791 if ${ac_cv_prog_CC+:} false
; then :
3792 $as_echo_n "(cached) " >&6
3794 if test -n "$CC"; then
3795 ac_cv_prog_CC
="$CC" # Let the user override the test.
3798 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3802 test -z "$as_dir" && as_dir
=.
3803 for ac_exec_ext
in '' $ac_executable_extensions; do
3804 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3805 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3806 ac_prog_rejected
=yes
3810 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3817 if test $ac_prog_rejected = yes; then
3818 # We found a bogon in the path, so make sure we never use it.
3819 set dummy
$ac_cv_prog_CC
3821 if test $# != 0; then
3822 # We chose a different compiler from the bogus one.
3823 # However, it has the same basename, so the bogon will be chosen
3824 # first if we set CC to just the basename; use the full file name.
3826 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3832 if test -n "$CC"; then
3833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3834 $as_echo "$CC" >&6; }
3836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3837 $as_echo "no" >&6; }
3842 if test -z "$CC"; then
3843 if test -n "$ac_tool_prefix"; then
3844 for ac_prog
in cl.exe
3846 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3847 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3849 $as_echo_n "checking for $ac_word... " >&6; }
3850 if ${ac_cv_prog_CC+:} false
; then :
3851 $as_echo_n "(cached) " >&6
3853 if test -n "$CC"; then
3854 ac_cv_prog_CC
="$CC" # Let the user override the test.
3856 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3860 test -z "$as_dir" && as_dir
=.
3861 for ac_exec_ext
in '' $ac_executable_extensions; do
3862 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3863 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3864 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3874 if test -n "$CC"; then
3875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3876 $as_echo "$CC" >&6; }
3878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3879 $as_echo "no" >&6; }
3883 test -n "$CC" && break
3886 if test -z "$CC"; then
3888 for ac_prog
in cl.exe
3890 # Extract the first word of "$ac_prog", so it can be a program name with args.
3891 set dummy
$ac_prog; ac_word
=$2
3892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3893 $as_echo_n "checking for $ac_word... " >&6; }
3894 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3895 $as_echo_n "(cached) " >&6
3897 if test -n "$ac_ct_CC"; then
3898 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3900 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3904 test -z "$as_dir" && as_dir
=.
3905 for ac_exec_ext
in '' $ac_executable_extensions; do
3906 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3907 ac_cv_prog_ac_ct_CC
="$ac_prog"
3908 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3917 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3918 if test -n "$ac_ct_CC"; then
3919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3920 $as_echo "$ac_ct_CC" >&6; }
3922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3923 $as_echo "no" >&6; }
3927 test -n "$ac_ct_CC" && break
3930 if test "x$ac_ct_CC" = x
; then
3933 case $cross_compiling:$ac_tool_warned in
3935 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3936 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3937 ac_tool_warned
=yes ;;
3946 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3947 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3948 as_fn_error $?
"no acceptable C compiler found in \$PATH
3949 See \`config.log' for more details" "$LINENO" 5; }
3951 # Provide some information about the compiler.
3952 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3955 for ac_option
in --version -v -V -qversion; do
3956 { { ac_try
="$ac_compiler $ac_option >&5"
3958 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3959 *) ac_try_echo=$ac_try;;
3961 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3962 $as_echo "$ac_try_echo"; } >&5
3963 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3965 if test -s conftest.err; then
3967 ... rest of stderr output deleted ...
3968 10q' conftest.err >conftest.er1
3969 cat conftest.er1 >&5
3971 rm -f conftest.er1 conftest.err
3972 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3973 test $ac_status = 0; }
3976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3977 /* end confdefs.h. */
3987 ac_clean_files_save=$ac_clean_files
3988 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3989 # Try to create an executable without -o first, disregard a.out.
3990 # It will help us diagnose broken compilers, and finding out an intuition
3992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3993 $as_echo_n "checking whether the C compiler works... " >&6; }
3994 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3996 # The possible output files:
3997 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4000 for ac_file in $ac_files
4003 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4004 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4009 if { { ac_try="$ac_link_default"
4011 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4012 *) ac_try_echo
=$ac_try;;
4014 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4015 $as_echo "$ac_try_echo"; } >&5
4016 (eval "$ac_link_default") 2>&5
4018 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4019 test $ac_status = 0; }; then :
4020 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4021 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4022 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4023 # so that the user can short-circuit this test for compilers unknown to
4025 for ac_file
in $ac_files ''
4027 test -f "$ac_file" ||
continue
4029 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
4032 # We found the default executable, but exeext='' is most
4036 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
4038 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4040 # We set ac_cv_exeext here because the later test for it is not
4041 # safe: cross compilers may not add the suffix if given an `-o'
4042 # argument, so we may need to know it at that point already.
4043 # Even if this section looks crufty: it has the advantage of
4050 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
4055 if test -z "$ac_file"; then :
4056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4057 $as_echo "no" >&6; }
4058 $as_echo "$as_me: failed program was:" >&5
4059 sed 's/^/| /' conftest.
$ac_ext >&5
4061 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4062 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4063 as_fn_error
77 "C compiler cannot create executables
4064 See \`config.log' for more details" "$LINENO" 5; }
4066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4067 $as_echo "yes" >&6; }
4069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4070 $as_echo_n "checking for C compiler default output file name... " >&6; }
4071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4072 $as_echo "$ac_file" >&6; }
4073 ac_exeext
=$ac_cv_exeext
4075 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
4076 ac_clean_files
=$ac_clean_files_save
4077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4078 $as_echo_n "checking for suffix of executables... " >&6; }
4079 if { { ac_try
="$ac_link"
4081 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4082 *) ac_try_echo=$ac_try;;
4084 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4085 $as_echo "$ac_try_echo"; } >&5
4086 (eval "$ac_link") 2>&5
4088 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4089 test $ac_status = 0; }; then :
4090 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
4091 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
4092 # work properly (i.e., refer to `conftest.exe'), while it won't with
4094 for ac_file
in conftest.exe conftest conftest.
*; do
4095 test -f "$ac_file" ||
continue
4097 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
4098 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4104 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4105 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4106 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
4107 See \`config.log' for more details" "$LINENO" 5; }
4109 rm -f conftest conftest
$ac_cv_exeext
4110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4111 $as_echo "$ac_cv_exeext" >&6; }
4113 rm -f conftest.
$ac_ext
4114 EXEEXT
=$ac_cv_exeext
4116 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4117 /* end confdefs.h. */
4122 FILE *f = fopen ("conftest.out", "w");
4123 return ferror (f) || fclose (f) != 0;
4129 ac_clean_files
="$ac_clean_files conftest.out"
4130 # Check that the compiler produces executables we can run. If not, either
4131 # the compiler is broken, or we cross compile.
4132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4133 $as_echo_n "checking whether we are cross compiling... " >&6; }
4134 if test "$cross_compiling" != yes; then
4135 { { ac_try
="$ac_link"
4137 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4138 *) ac_try_echo=$ac_try;;
4140 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4141 $as_echo "$ac_try_echo"; } >&5
4142 (eval "$ac_link") 2>&5
4144 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4145 test $ac_status = 0; }
4146 if { ac_try='./conftest$ac_cv_exeext'
4147 { { case "(($ac_try" in
4148 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4149 *) ac_try_echo
=$ac_try;;
4151 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4152 $as_echo "$ac_try_echo"; } >&5
4153 (eval "$ac_try") 2>&5
4155 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4156 test $ac_status = 0; }; }; then
4159 if test "$cross_compiling" = maybe
; then
4162 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4163 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4164 as_fn_error $?
"cannot run C compiled programs.
4165 If you meant to cross compile, use \`--host'.
4166 See \`config.log' for more details" "$LINENO" 5; }
4170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4171 $as_echo "$cross_compiling" >&6; }
4173 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
4174 ac_clean_files
=$ac_clean_files_save
4175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4176 $as_echo_n "checking for suffix of object files... " >&6; }
4177 if ${ac_cv_objext+:} false
; then :
4178 $as_echo_n "(cached) " >&6
4180 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4181 /* end confdefs.h. */
4191 rm -f conftest.o conftest.obj
4192 if { { ac_try
="$ac_compile"
4194 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4195 *) ac_try_echo=$ac_try;;
4197 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4198 $as_echo "$ac_try_echo"; } >&5
4199 (eval "$ac_compile") 2>&5
4201 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4202 test $ac_status = 0; }; then :
4203 for ac_file in conftest.o conftest.obj conftest.*; do
4204 test -f "$ac_file" || continue;
4206 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4207 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4212 $as_echo "$as_me: failed program was:" >&5
4213 sed 's/^/| /' conftest.$ac_ext >&5
4215 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4216 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4217 as_fn_error $? "cannot compute suffix of object files
: cannot compile
4218 See \
`config.log' for more details" "$LINENO" 5; }
4220 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4223 $as_echo "$ac_cv_objext" >&6; }
4224 OBJEXT=$ac_cv_objext
4226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4227 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4228 if ${ac_cv_c_compiler_gnu+:} false; then :
4229 $as_echo_n "(cached) " >&6
4231 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4232 /* end confdefs.h. */
4245 if ac_fn_c_try_compile "$LINENO"; then :
4250 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4251 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4255 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4256 if test $ac_compiler_gnu = yes; then
4261 ac_test_CFLAGS=${CFLAGS+set}
4262 ac_save_CFLAGS=$CFLAGS
4263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4264 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4265 if ${ac_cv_prog_cc_g+:} false; then :
4266 $as_echo_n "(cached) " >&6
4268 ac_save_c_werror_flag=$ac_c_werror_flag
4269 ac_c_werror_flag=yes
4272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4273 /* end confdefs.h. */
4283 if ac_fn_c_try_compile "$LINENO"; then :
4287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4288 /* end confdefs.h. */
4298 if ac_fn_c_try_compile "$LINENO"; then :
4301 ac_c_werror_flag=$ac_save_c_werror_flag
4303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4304 /* end confdefs.h. */
4314 if ac_fn_c_try_compile "$LINENO"; then :
4317 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4319 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4321 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4322 ac_c_werror_flag=$ac_save_c_werror_flag
4324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4325 $as_echo "$ac_cv_prog_cc_g" >&6; }
4326 if test "$ac_test_CFLAGS" = set; then
4327 CFLAGS=$ac_save_CFLAGS
4328 elif test $ac_cv_prog_cc_g = yes; then
4329 if test "$GCC" = yes; then
4335 if test "$GCC" = yes; then
4341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4342 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4343 if ${ac_cv_prog_cc_c89+:} false; then :
4344 $as_echo_n "(cached) " >&6
4346 ac_cv_prog_cc_c89=no
4348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4349 /* end confdefs.h. */
4353 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4354 struct buf { int x; };
4355 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4356 static char *e (p, i)
4362 static char *f (char * (*g) (char **, int), char **p, ...)
4367 s = g (p, va_arg (v,int));
4372 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4373 function prototypes and stuff, but not '\xHH' hex character constants.
4374 These don't provoke an error unfortunately, instead are silently treated
4375 as 'x'. The following induces an error, until -std is added to get
4376 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4377 array size at least. It's necessary to write '\x00'==0 to get something
4378 that's true only with -std. */
4379 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4381 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4382 inside strings and character constants. */
4384 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4386 int test (int i, double x);
4387 struct s1 {int (*f) (int a);};
4388 struct s2 {int (*f) (double a);};
4389 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4395 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4400 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4401 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4403 CC="$ac_save_CC $ac_arg"
4404 if ac_fn_c_try_compile "$LINENO"; then :
4405 ac_cv_prog_cc_c89=$ac_arg
4407 rm -f core conftest.err conftest.$ac_objext
4408 test "x$ac_cv_prog_cc_c89" != "xno" && break
4410 rm -f conftest.$ac_ext
4415 case "x$ac_cv_prog_cc_c89" in
4417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4418 $as_echo "none needed" >&6; } ;;
4420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4421 $as_echo "unsupported" >&6; } ;;
4423 CC="$CC $ac_cv_prog_cc_c89"
4424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4425 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4427 if test "x$ac_cv_prog_cc_c89" != xno; then :
4432 ac_cpp='$CPP $CPPFLAGS'
4433 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4434 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4435 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4438 ac_cpp='$CXXCPP $CPPFLAGS'
4439 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4440 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4441 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4442 if test -z "$CXX"; then
4443 if test -n "$CCC"; then
4446 if test -n "$ac_tool_prefix"; then
4447 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4449 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4450 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4452 $as_echo_n "checking for $ac_word... " >&6; }
4453 if ${ac_cv_prog_CXX+:} false; then :
4454 $as_echo_n "(cached) " >&6
4456 if test -n "$CXX"; then
4457 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4459 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4463 test -z "$as_dir" && as_dir=.
4464 for ac_exec_ext in '' $ac_executable_extensions; do
4465 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4466 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4467 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4477 if test -n "$CXX"; then
4478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4479 $as_echo "$CXX" >&6; }
4481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4482 $as_echo "no" >&6; }
4486 test -n "$CXX" && break
4489 if test -z "$CXX"; then
4491 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4493 # Extract the first word of "$ac_prog", so it can be a program name with args.
4494 set dummy $ac_prog; ac_word=$2
4495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4496 $as_echo_n "checking for $ac_word... " >&6; }
4497 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4498 $as_echo_n "(cached) " >&6
4500 if test -n "$ac_ct_CXX"; then
4501 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4503 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4507 test -z "$as_dir" && as_dir=.
4508 for ac_exec_ext in '' $ac_executable_extensions; do
4509 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4510 ac_cv_prog_ac_ct_CXX="$ac_prog"
4511 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4520 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4521 if test -n "$ac_ct_CXX"; then
4522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4523 $as_echo "$ac_ct_CXX" >&6; }
4525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4526 $as_echo "no" >&6; }
4530 test -n "$ac_ct_CXX" && break
4533 if test "x$ac_ct_CXX" = x; then
4536 case $cross_compiling:$ac_tool_warned in
4538 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4539 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4540 ac_tool_warned=yes ;;
4548 # Provide some information about the compiler.
4549 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4552 for ac_option in --version -v -V -qversion; do
4553 { { ac_try="$ac_compiler $ac_option >&5"
4555 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4556 *) ac_try_echo
=$ac_try;;
4558 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4559 $as_echo "$ac_try_echo"; } >&5
4560 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4562 if test -s conftest.err
; then
4564 ... rest of stderr output deleted ...
4565 10q' conftest.err
>conftest.er1
4566 cat conftest.er1
>&5
4568 rm -f conftest.er1 conftest.err
4569 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4570 test $ac_status = 0; }
4573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4574 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4575 if ${ac_cv_cxx_compiler_gnu+:} false
; then :
4576 $as_echo_n "(cached) " >&6
4578 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4579 /* end confdefs.h. */
4592 if ac_fn_cxx_try_compile
"$LINENO"; then :
4597 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4598 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
4601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4602 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4603 if test $ac_compiler_gnu = yes; then
4608 ac_test_CXXFLAGS
=${CXXFLAGS+set}
4609 ac_save_CXXFLAGS
=$CXXFLAGS
4610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4611 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4612 if ${ac_cv_prog_cxx_g+:} false
; then :
4613 $as_echo_n "(cached) " >&6
4615 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
4616 ac_cxx_werror_flag
=yes
4619 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4620 /* end confdefs.h. */
4630 if ac_fn_cxx_try_compile
"$LINENO"; then :
4631 ac_cv_prog_cxx_g
=yes
4634 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4635 /* end confdefs.h. */
4645 if ac_fn_cxx_try_compile
"$LINENO"; then :
4648 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4650 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4651 /* end confdefs.h. */
4661 if ac_fn_cxx_try_compile
"$LINENO"; then :
4662 ac_cv_prog_cxx_g
=yes
4664 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4666 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4668 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4669 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4672 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4673 if test "$ac_test_CXXFLAGS" = set; then
4674 CXXFLAGS
=$ac_save_CXXFLAGS
4675 elif test $ac_cv_prog_cxx_g = yes; then
4676 if test "$GXX" = yes; then
4682 if test "$GXX" = yes; then
4689 ac_cpp
='$CPP $CPPFLAGS'
4690 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4691 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4692 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4694 if test -n "$ac_tool_prefix"; then
4695 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
4696 set dummy
${ac_tool_prefix}cpp
; ac_word
=$2
4697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4698 $as_echo_n "checking for $ac_word... " >&6; }
4699 if ${ac_cv_prog_CPPBIN+:} false
; then :
4700 $as_echo_n "(cached) " >&6
4702 if test -n "$CPPBIN"; then
4703 ac_cv_prog_CPPBIN
="$CPPBIN" # Let the user override the test.
4705 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4709 test -z "$as_dir" && as_dir
=.
4710 for ac_exec_ext
in '' $ac_executable_extensions; do
4711 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4712 ac_cv_prog_CPPBIN
="${ac_tool_prefix}cpp"
4713 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4722 CPPBIN
=$ac_cv_prog_CPPBIN
4723 if test -n "$CPPBIN"; then
4724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
4725 $as_echo "$CPPBIN" >&6; }
4727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4728 $as_echo "no" >&6; }
4733 if test -z "$ac_cv_prog_CPPBIN"; then
4734 ac_ct_CPPBIN
=$CPPBIN
4735 # Extract the first word of "cpp", so it can be a program name with args.
4736 set dummy cpp
; ac_word
=$2
4737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4738 $as_echo_n "checking for $ac_word... " >&6; }
4739 if ${ac_cv_prog_ac_ct_CPPBIN+:} false
; then :
4740 $as_echo_n "(cached) " >&6
4742 if test -n "$ac_ct_CPPBIN"; then
4743 ac_cv_prog_ac_ct_CPPBIN
="$ac_ct_CPPBIN" # Let the user override the test.
4745 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4749 test -z "$as_dir" && as_dir
=.
4750 for ac_exec_ext
in '' $ac_executable_extensions; do
4751 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4752 ac_cv_prog_ac_ct_CPPBIN
="cpp"
4753 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4762 ac_ct_CPPBIN
=$ac_cv_prog_ac_ct_CPPBIN
4763 if test -n "$ac_ct_CPPBIN"; then
4764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
4765 $as_echo "$ac_ct_CPPBIN" >&6; }
4767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4768 $as_echo "no" >&6; }
4771 if test "x$ac_ct_CPPBIN" = x
; then
4774 case $cross_compiling:$ac_tool_warned in
4776 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4777 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4778 ac_tool_warned
=yes ;;
4780 CPPBIN
=$ac_ct_CPPBIN
4783 CPPBIN
="$ac_cv_prog_CPPBIN"
4787 cat >>confdefs.h
<<_ACEOF
4788 #define EXEEXT "$ac_exeext"
4791 if test -n "$ac_tool_prefix"; then
4792 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
4793 set dummy
${ac_tool_prefix}ld
; ac_word
=$2
4794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4795 $as_echo_n "checking for $ac_word... " >&6; }
4796 if ${ac_cv_prog_LD+:} false
; then :
4797 $as_echo_n "(cached) " >&6
4799 if test -n "$LD"; then
4800 ac_cv_prog_LD
="$LD" # Let the user override the test.
4802 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4806 test -z "$as_dir" && as_dir
=.
4807 for ac_exec_ext
in '' $ac_executable_extensions; do
4808 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4809 ac_cv_prog_LD
="${ac_tool_prefix}ld"
4810 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4820 if test -n "$LD"; then
4821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4822 $as_echo "$LD" >&6; }
4824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4825 $as_echo "no" >&6; }
4830 if test -z "$ac_cv_prog_LD"; then
4832 # Extract the first word of "ld", so it can be a program name with args.
4833 set dummy ld
; ac_word
=$2
4834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4835 $as_echo_n "checking for $ac_word... " >&6; }
4836 if ${ac_cv_prog_ac_ct_LD+:} false
; then :
4837 $as_echo_n "(cached) " >&6
4839 if test -n "$ac_ct_LD"; then
4840 ac_cv_prog_ac_ct_LD
="$ac_ct_LD" # Let the user override the test.
4842 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4846 test -z "$as_dir" && as_dir
=.
4847 for ac_exec_ext
in '' $ac_executable_extensions; do
4848 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4849 ac_cv_prog_ac_ct_LD
="ld"
4850 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4859 ac_ct_LD
=$ac_cv_prog_ac_ct_LD
4860 if test -n "$ac_ct_LD"; then
4861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
4862 $as_echo "$ac_ct_LD" >&6; }
4864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4865 $as_echo "no" >&6; }
4868 if test "x$ac_ct_LD" = x
; then
4871 case $cross_compiling:$ac_tool_warned in
4873 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4874 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4875 ac_tool_warned
=yes ;;
4886 if test "x$enable_win64" = "xyes"
4891 notice_platform
="64-bit "
4898 notice_platform
="32-bit "
4901 enable_win16
=${enable_win16:-yes}
4903 with_fontconfig
=${with_fontconfig:-no}
4906 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
4910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
4911 $as_echo_n "checking whether $CC works... " >&6; }
4913 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4914 /* end confdefs.h. */
4924 if ac_fn_c_try_link
"$LINENO"; then :
4925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4926 $as_echo "yes" >&6; }
4928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4929 $as_echo "no" >&6; }
4930 as_fn_error $?
"Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
4932 rm -f core conftest.err conftest.
$ac_objext \
4933 conftest
$ac_exeext conftest.
$ac_ext
4935 notice_platform
="32-bit "
4938 enable_win16
=${enable_win16:-yes}
4940 if test "x${GCC}" = "xyes"
4942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
4943 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
4944 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4945 /* end confdefs.h. */
4950 void func(__builtin_ms_va_list *args);
4955 if ac_fn_c_try_compile
"$LINENO"; then :
4956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4957 $as_echo "yes" >&6; }
4959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4960 $as_echo "no" >&6; }
4961 as_fn_error $?
"You need gcc >= 4.4 to build Wine as 64-bit." "$LINENO" 5
4963 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
4972 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
4973 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4974 /* end confdefs.h. */
4975 int ac_test(int i) { return i; }
4979 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
4984 if ac_fn_c_try_link
"$LINENO"; then :
4985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4986 $as_echo "yes" >&6; }
4988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4989 $as_echo "no" >&6; }
4990 as_fn_error $?
"You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
4992 rm -f core conftest.err conftest.
$ac_objext \
4993 conftest
$ac_exeext conftest.
$ac_ext
4994 CFLAGS
="$CFLAGS -marm"
4998 *-mingw32*|
*-cygwin*)
4999 enable_win16
=${enable_win16:-no}
5000 CFLAGS
="$CFLAGS -D_WIN32"
5003 enable_win16
=${enable_win16:-yes}
5007 enable_win16
=${enable_win16:-no}
5008 enable_win64
=${enable_win64:-no}
5010 enable_winetest
=${enable_winetest:-$enable_tests}
5012 if test -n "$with_wine64"
5014 if test "x$enable_win64" = "xyes"
5016 as_fn_error $?
"--enable-win64 and --with-wine64 are mutually exclusive.
5017 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
5019 enable_fonts
=${enable_fonts:-no}
5020 enable_server
=${enable_server:-no}
5021 elif test "x$enable_win64" = "xyes"
5023 test "x$libdir" != "x\${exec_prefix}/lib" || libdir
="\${exec_prefix}/lib64"
5026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
5027 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
5028 if ${wine_cv_toolsdir+:} false
; then :
5029 $as_echo_n "(cached) " >&6
5031 wine_cv_toolsdir
="$with_wine_tools"
5032 if test -z "$with_wine_tools"; then
5033 if test "$cross_compiling" = "yes"; then
5034 as_fn_error $?
"you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
5035 elif test -n "$with_wine64"; then
5036 wine_cv_toolsdir
="$with_wine64"
5039 if test -z "$wine_cv_toolsdir"; then
5040 wine_makedep
=tools
/makedep
5041 wine_cv_toolsdir
="\$(top_builddir)"
5042 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5043 wine_makedep
=$wine_cv_toolsdir/tools
/makedep
5044 case "$wine_cv_toolsdir" in
5046 *) wine_cv_toolsdir
="\$(top_builddir)/$wine_cv_toolsdir" ;;
5048 enable_tools
=${enable_tools:-no}
5049 test -f "$wine_makedep" || as_fn_error $?
"the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5051 as_fn_error $?
"could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5055 $as_echo "$wine_cv_toolsdir" >&6; }
5056 TOOLSDIR
=$wine_cv_toolsdir
5058 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5060 TARGETFLAGS
="-b $host_alias $TARGETFLAGS"
5066 # Extract the first word of "$ac_prog", so it can be a program name with args.
5067 set dummy
$ac_prog; ac_word
=$2
5068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5069 $as_echo_n "checking for $ac_word... " >&6; }
5070 if ${ac_cv_prog_FLEX+:} false
; then :
5071 $as_echo_n "(cached) " >&6
5073 if test -n "$FLEX"; then
5074 ac_cv_prog_FLEX
="$FLEX" # Let the user override the test.
5076 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5080 test -z "$as_dir" && as_dir
=.
5081 for ac_exec_ext
in '' $ac_executable_extensions; do
5082 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5083 ac_cv_prog_FLEX
="$ac_prog"
5084 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5093 FLEX
=$ac_cv_prog_FLEX
5094 if test -n "$FLEX"; then
5095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5096 $as_echo "$FLEX" >&6; }
5098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5099 $as_echo "no" >&6; }
5103 test -n "$FLEX" && break
5105 test -n "$FLEX" || FLEX
="none"
5107 if test "$FLEX" = "none"
5109 as_fn_error $?
"no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5112 $as_echo_n "checking whether flex is recent enough... " >&6; }
5113 cat >conftest.l
<<EOF
5115 #include "prediluvian.h"
5119 if $FLEX -t conftest.l
>/dev
/null
2>&5
5121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5122 $as_echo "yes" >&6; }
5124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5125 $as_echo "no" >&6; }
5126 as_fn_error $?
"Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
5129 for ac_prog
in bison
5131 # Extract the first word of "$ac_prog", so it can be a program name with args.
5132 set dummy
$ac_prog; ac_word
=$2
5133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5134 $as_echo_n "checking for $ac_word... " >&6; }
5135 if ${ac_cv_prog_BISON+:} false
; then :
5136 $as_echo_n "(cached) " >&6
5138 if test -n "$BISON"; then
5139 ac_cv_prog_BISON
="$BISON" # Let the user override the test.
5141 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5145 test -z "$as_dir" && as_dir
=.
5146 for ac_exec_ext
in '' $ac_executable_extensions; do
5147 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5148 ac_cv_prog_BISON
="$ac_prog"
5149 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5158 BISON
=$ac_cv_prog_BISON
5159 if test -n "$BISON"; then
5160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5161 $as_echo "$BISON" >&6; }
5163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5164 $as_echo "no" >&6; }
5168 test -n "$BISON" && break
5170 test -n "$BISON" || BISON
="none"
5172 if test "$BISON" = "none"
5174 as_fn_error $?
"no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5177 if test -n "$ac_tool_prefix"; then
5178 for ac_prog
in ar gar
5180 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5181 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5183 $as_echo_n "checking for $ac_word... " >&6; }
5184 if ${ac_cv_prog_AR+:} false
; then :
5185 $as_echo_n "(cached) " >&6
5187 if test -n "$AR"; then
5188 ac_cv_prog_AR
="$AR" # Let the user override the test.
5190 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5194 test -z "$as_dir" && as_dir
=.
5195 for ac_exec_ext
in '' $ac_executable_extensions; do
5196 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5197 ac_cv_prog_AR
="$ac_tool_prefix$ac_prog"
5198 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5208 if test -n "$AR"; then
5209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5210 $as_echo "$AR" >&6; }
5212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5213 $as_echo "no" >&6; }
5217 test -n "$AR" && break
5220 if test -z "$AR"; then
5222 for ac_prog
in ar gar
5224 # Extract the first word of "$ac_prog", so it can be a program name with args.
5225 set dummy
$ac_prog; ac_word
=$2
5226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5227 $as_echo_n "checking for $ac_word... " >&6; }
5228 if ${ac_cv_prog_ac_ct_AR+:} false
; then :
5229 $as_echo_n "(cached) " >&6
5231 if test -n "$ac_ct_AR"; then
5232 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
5234 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5238 test -z "$as_dir" && as_dir
=.
5239 for ac_exec_ext
in '' $ac_executable_extensions; do
5240 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5241 ac_cv_prog_ac_ct_AR
="$ac_prog"
5242 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5251 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
5252 if test -n "$ac_ct_AR"; then
5253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5254 $as_echo "$ac_ct_AR" >&6; }
5256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5257 $as_echo "no" >&6; }
5261 test -n "$ac_ct_AR" && break
5264 if test "x$ac_ct_AR" = x
; then
5267 case $cross_compiling:$ac_tool_warned in
5269 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5270 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5271 ac_tool_warned
=yes ;;
5277 if test -n "$ac_tool_prefix"; then
5278 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5279 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
5280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5281 $as_echo_n "checking for $ac_word... " >&6; }
5282 if ${ac_cv_prog_STRIP+:} false
; then :
5283 $as_echo_n "(cached) " >&6
5285 if test -n "$STRIP"; then
5286 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
5288 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5292 test -z "$as_dir" && as_dir
=.
5293 for ac_exec_ext
in '' $ac_executable_extensions; do
5294 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5295 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
5296 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5305 STRIP
=$ac_cv_prog_STRIP
5306 if test -n "$STRIP"; then
5307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5308 $as_echo "$STRIP" >&6; }
5310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5311 $as_echo "no" >&6; }
5316 if test -z "$ac_cv_prog_STRIP"; then
5318 # Extract the first word of "strip", so it can be a program name with args.
5319 set dummy strip
; ac_word
=$2
5320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5321 $as_echo_n "checking for $ac_word... " >&6; }
5322 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
5323 $as_echo_n "(cached) " >&6
5325 if test -n "$ac_ct_STRIP"; then
5326 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
5328 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5332 test -z "$as_dir" && as_dir
=.
5333 for ac_exec_ext
in '' $ac_executable_extensions; do
5334 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5335 ac_cv_prog_ac_ct_STRIP
="strip"
5336 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5345 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
5346 if test -n "$ac_ct_STRIP"; then
5347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5348 $as_echo "$ac_ct_STRIP" >&6; }
5350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5351 $as_echo "no" >&6; }
5354 if test "x$ac_ct_STRIP" = x
; then
5357 case $cross_compiling:$ac_tool_warned in
5359 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5360 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5361 ac_tool_warned
=yes ;;
5366 STRIP
="$ac_cv_prog_STRIP"
5371 if test -n "$ac_tool_prefix"; then
5372 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5373 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
5374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5375 $as_echo_n "checking for $ac_word... " >&6; }
5376 if ${ac_cv_prog_RANLIB+:} false
; then :
5377 $as_echo_n "(cached) " >&6
5379 if test -n "$RANLIB"; then
5380 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
5382 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5386 test -z "$as_dir" && as_dir
=.
5387 for ac_exec_ext
in '' $ac_executable_extensions; do
5388 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5389 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
5390 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5399 RANLIB
=$ac_cv_prog_RANLIB
5400 if test -n "$RANLIB"; then
5401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5402 $as_echo "$RANLIB" >&6; }
5404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5405 $as_echo "no" >&6; }
5410 if test -z "$ac_cv_prog_RANLIB"; then
5411 ac_ct_RANLIB
=$RANLIB
5412 # Extract the first word of "ranlib", so it can be a program name with args.
5413 set dummy ranlib
; ac_word
=$2
5414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5415 $as_echo_n "checking for $ac_word... " >&6; }
5416 if ${ac_cv_prog_ac_ct_RANLIB+:} false
; then :
5417 $as_echo_n "(cached) " >&6
5419 if test -n "$ac_ct_RANLIB"; then
5420 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
5422 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5426 test -z "$as_dir" && as_dir
=.
5427 for ac_exec_ext
in '' $ac_executable_extensions; do
5428 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5429 ac_cv_prog_ac_ct_RANLIB
="ranlib"
5430 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5439 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
5440 if test -n "$ac_ct_RANLIB"; then
5441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5442 $as_echo "$ac_ct_RANLIB" >&6; }
5444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5445 $as_echo "no" >&6; }
5448 if test "x$ac_ct_RANLIB" = x
; then
5451 case $cross_compiling:$ac_tool_warned in
5453 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5454 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5455 ac_tool_warned
=yes ;;
5457 RANLIB
=$ac_ct_RANLIB
5460 RANLIB
="$ac_cv_prog_RANLIB"
5463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5464 $as_echo_n "checking whether ln -s works... " >&6; }
5466 if test "$LN_S" = "ln -s"; then
5467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5468 $as_echo "yes" >&6; }
5470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5471 $as_echo "no, using $LN_S" >&6; }
5474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5475 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5476 if ${ac_cv_path_GREP+:} false
; then :
5477 $as_echo_n "(cached) " >&6
5479 if test -z "$GREP"; then
5480 ac_path_GREP_found
=false
5481 # Loop through the user's path and test for each of PROGNAME-LIST
5482 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5483 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5486 test -z "$as_dir" && as_dir
=.
5487 for ac_prog
in grep ggrep
; do
5488 for ac_exec_ext
in '' $ac_executable_extensions; do
5489 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
5490 as_fn_executable_p
"$ac_path_GREP" ||
continue
5491 # Check for GNU ac_path_GREP and select it if it is found.
5492 # Check for GNU $ac_path_GREP
5493 case `"$ac_path_GREP" --version 2>&1` in
5495 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
5498 $as_echo_n 0123456789 >"conftest.in"
5501 cat "conftest.in" "conftest.in" >"conftest.tmp"
5502 mv "conftest.tmp" "conftest.in"
5503 cp "conftest.in" "conftest.nl"
5504 $as_echo 'GREP' >> "conftest.nl"
5505 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5506 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5507 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5508 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5509 # Best one so far, save it but keep looking for a better one
5510 ac_cv_path_GREP
="$ac_path_GREP"
5511 ac_path_GREP_max
=$ac_count
5513 # 10*(2^10) chars as input seems more than enough
5514 test $ac_count -gt 10 && break
5516 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5519 $ac_path_GREP_found && break 3
5524 if test -z "$ac_cv_path_GREP"; then
5525 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5528 ac_cv_path_GREP
=$GREP
5532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5533 $as_echo "$ac_cv_path_GREP" >&6; }
5534 GREP
="$ac_cv_path_GREP"
5537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5538 $as_echo_n "checking for egrep... " >&6; }
5539 if ${ac_cv_path_EGREP+:} false
; then :
5540 $as_echo_n "(cached) " >&6
5542 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
5543 then ac_cv_path_EGREP
="$GREP -E"
5545 if test -z "$EGREP"; then
5546 ac_path_EGREP_found
=false
5547 # Loop through the user's path and test for each of PROGNAME-LIST
5548 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5549 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5552 test -z "$as_dir" && as_dir
=.
5553 for ac_prog
in egrep; do
5554 for ac_exec_ext
in '' $ac_executable_extensions; do
5555 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
5556 as_fn_executable_p
"$ac_path_EGREP" ||
continue
5557 # Check for GNU ac_path_EGREP and select it if it is found.
5558 # Check for GNU $ac_path_EGREP
5559 case `"$ac_path_EGREP" --version 2>&1` in
5561 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
5564 $as_echo_n 0123456789 >"conftest.in"
5567 cat "conftest.in" "conftest.in" >"conftest.tmp"
5568 mv "conftest.tmp" "conftest.in"
5569 cp "conftest.in" "conftest.nl"
5570 $as_echo 'EGREP' >> "conftest.nl"
5571 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5572 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5573 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5574 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5575 # Best one so far, save it but keep looking for a better one
5576 ac_cv_path_EGREP
="$ac_path_EGREP"
5577 ac_path_EGREP_max
=$ac_count
5579 # 10*(2^10) chars as input seems more than enough
5580 test $ac_count -gt 10 && break
5582 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5585 $ac_path_EGREP_found && break 3
5590 if test -z "$ac_cv_path_EGREP"; then
5591 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5594 ac_cv_path_EGREP
=$EGREP
5599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5600 $as_echo "$ac_cv_path_EGREP" >&6; }
5601 EGREP
="$ac_cv_path_EGREP"
5604 # Extract the first word of "ldconfig", so it can be a program name with args.
5605 set dummy ldconfig
; ac_word
=$2
5606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5607 $as_echo_n "checking for $ac_word... " >&6; }
5608 if ${ac_cv_path_LDCONFIG+:} false
; then :
5609 $as_echo_n "(cached) " >&6
5613 ac_cv_path_LDCONFIG
="$LDCONFIG" # Let the user override the test with a path.
5616 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5617 for as_dir
in /sbin
/usr
/sbin
$PATH
5620 test -z "$as_dir" && as_dir
=.
5621 for ac_exec_ext
in '' $ac_executable_extensions; do
5622 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5623 ac_cv_path_LDCONFIG
="$as_dir/$ac_word$ac_exec_ext"
5624 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5631 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG
="true"
5635 LDCONFIG
=$ac_cv_path_LDCONFIG
5636 if test -n "$LDCONFIG"; then
5637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
5638 $as_echo "$LDCONFIG" >&6; }
5640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5641 $as_echo "no" >&6; }
5645 for ac_prog
in msgfmt
5647 # Extract the first word of "$ac_prog", so it can be a program name with args.
5648 set dummy
$ac_prog; ac_word
=$2
5649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5650 $as_echo_n "checking for $ac_word... " >&6; }
5651 if ${ac_cv_prog_MSGFMT+:} false
; then :
5652 $as_echo_n "(cached) " >&6
5654 if test -n "$MSGFMT"; then
5655 ac_cv_prog_MSGFMT
="$MSGFMT" # Let the user override the test.
5657 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5661 test -z "$as_dir" && as_dir
=.
5662 for ac_exec_ext
in '' $ac_executable_extensions; do
5663 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5664 ac_cv_prog_MSGFMT
="$ac_prog"
5665 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5674 MSGFMT
=$ac_cv_prog_MSGFMT
5675 if test -n "$MSGFMT"; then
5676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5677 $as_echo "$MSGFMT" >&6; }
5679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5680 $as_echo "no" >&6; }
5684 test -n "$MSGFMT" && break
5686 test -n "$MSGFMT" || MSGFMT
="false"
5688 if ${ac_tool_prefix+:} false
; then :
5689 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5690 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
5691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5692 $as_echo_n "checking for $ac_word... " >&6; }
5693 if ${ac_cv_prog_PKG_CONFIG+:} false
; then :
5694 $as_echo_n "(cached) " >&6
5696 if test -n "$PKG_CONFIG"; then
5697 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
5699 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5703 test -z "$as_dir" && as_dir
=.
5704 for ac_exec_ext
in '' $ac_executable_extensions; do
5705 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5706 ac_cv_prog_PKG_CONFIG
="${ac_tool_prefix}pkg-config"
5707 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5716 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
5717 if test -n "$PKG_CONFIG"; then
5718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5719 $as_echo "$PKG_CONFIG" >&6; }
5721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5722 $as_echo "no" >&6; }
5727 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
5728 if test "x$cross_compiling" = xyes
; then :
5731 { ac_cv_prog_PKG_CONFIG
=; unset ac_cv_prog_PKG_CONFIG
;}
5732 # Extract the first word of "pkg-config", so it can be a program name with args.
5733 set dummy pkg-config
; ac_word
=$2
5734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5735 $as_echo_n "checking for $ac_word... " >&6; }
5736 if ${ac_cv_prog_PKG_CONFIG+:} false
; then :
5737 $as_echo_n "(cached) " >&6
5739 if test -n "$PKG_CONFIG"; then
5740 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
5742 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5746 test -z "$as_dir" && as_dir
=.
5747 for ac_exec_ext
in '' $ac_executable_extensions; do
5748 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5749 ac_cv_prog_PKG_CONFIG
="pkg-config"
5750 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5759 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
5760 if test -n "$PKG_CONFIG"; then
5761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5762 $as_echo "$PKG_CONFIG" >&6; }
5764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5765 $as_echo "no" >&6; }
5771 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
5774 if test "x$enable_maintainer_mode" != "xyes"
5781 test "$srcdir" = . || as_fn_error $?
"Maintainer mode cannot work out of tree." "$LINENO" 5
5782 for ac_prog
in fontforge
5784 # Extract the first word of "$ac_prog", so it can be a program name with args.
5785 set dummy
$ac_prog; ac_word
=$2
5786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5787 $as_echo_n "checking for $ac_word... " >&6; }
5788 if ${ac_cv_prog_FONTFORGE+:} false
; then :
5789 $as_echo_n "(cached) " >&6
5791 if test -n "$FONTFORGE"; then
5792 ac_cv_prog_FONTFORGE
="$FONTFORGE" # Let the user override the test.
5794 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5798 test -z "$as_dir" && as_dir
=.
5799 for ac_exec_ext
in '' $ac_executable_extensions; do
5800 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5801 ac_cv_prog_FONTFORGE
="$ac_prog"
5802 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5811 FONTFORGE
=$ac_cv_prog_FONTFORGE
5812 if test -n "$FONTFORGE"; then
5813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
5814 $as_echo "$FONTFORGE" >&6; }
5816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5817 $as_echo "no" >&6; }
5821 test -n "$FONTFORGE" && break
5823 test -n "$FONTFORGE" || FONTFORGE
="false"
5825 for ac_prog
in rsvg-convert rsvg
5827 # Extract the first word of "$ac_prog", so it can be a program name with args.
5828 set dummy
$ac_prog; ac_word
=$2
5829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5830 $as_echo_n "checking for $ac_word... " >&6; }
5831 if ${ac_cv_prog_RSVG+:} false
; then :
5832 $as_echo_n "(cached) " >&6
5834 if test -n "$RSVG"; then
5835 ac_cv_prog_RSVG
="$RSVG" # Let the user override the test.
5837 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5841 test -z "$as_dir" && as_dir
=.
5842 for ac_exec_ext
in '' $ac_executable_extensions; do
5843 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5844 ac_cv_prog_RSVG
="$ac_prog"
5845 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5854 RSVG
=$ac_cv_prog_RSVG
5855 if test -n "$RSVG"; then
5856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
5857 $as_echo "$RSVG" >&6; }
5859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5860 $as_echo "no" >&6; }
5864 test -n "$RSVG" && break
5866 test -n "$RSVG" || RSVG
="false"
5868 for ac_prog
in convert
5870 # Extract the first word of "$ac_prog", so it can be a program name with args.
5871 set dummy
$ac_prog; ac_word
=$2
5872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5873 $as_echo_n "checking for $ac_word... " >&6; }
5874 if ${ac_cv_prog_CONVERT+:} false
; then :
5875 $as_echo_n "(cached) " >&6
5877 if test -n "$CONVERT"; then
5878 ac_cv_prog_CONVERT
="$CONVERT" # Let the user override the test.
5880 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5884 test -z "$as_dir" && as_dir
=.
5885 for ac_exec_ext
in '' $ac_executable_extensions; do
5886 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5887 ac_cv_prog_CONVERT
="$ac_prog"
5888 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5897 CONVERT
=$ac_cv_prog_CONVERT
5898 if test -n "$CONVERT"; then
5899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
5900 $as_echo "$CONVERT" >&6; }
5902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5903 $as_echo "no" >&6; }
5907 test -n "$CONVERT" && break
5909 test -n "$CONVERT" || CONVERT
="false"
5911 for ac_prog
in icotool
5913 # Extract the first word of "$ac_prog", so it can be a program name with args.
5914 set dummy
$ac_prog; ac_word
=$2
5915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5916 $as_echo_n "checking for $ac_word... " >&6; }
5917 if ${ac_cv_prog_ICOTOOL+:} false
; then :
5918 $as_echo_n "(cached) " >&6
5920 if test -n "$ICOTOOL"; then
5921 ac_cv_prog_ICOTOOL
="$ICOTOOL" # Let the user override the test.
5923 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5927 test -z "$as_dir" && as_dir
=.
5928 for ac_exec_ext
in '' $ac_executable_extensions; do
5929 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5930 ac_cv_prog_ICOTOOL
="$ac_prog"
5931 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5940 ICOTOOL
=$ac_cv_prog_ICOTOOL
5941 if test -n "$ICOTOOL"; then
5942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
5943 $as_echo "$ICOTOOL" >&6; }
5945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5946 $as_echo "no" >&6; }
5950 test -n "$ICOTOOL" && break
5952 test -n "$ICOTOOL" || ICOTOOL
="false"
5954 test "$FONTFORGE" != "false" || as_fn_error $?
"You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
5955 test "$RSVG" != "false" || as_fn_error $?
"You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
5957 if test "$CONVERT" = false
5959 as_fn_error $?
"You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
5961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
5962 $as_echo_n "checking for recent enough imagemagick... " >&6; }
5963 convert_version
=`convert --version | head -n1`
5964 if test "x$convert_version" != "x"
5966 convert_version_major
=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
5967 convert_version_minor
=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
5968 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
5973 if test "$CONVERT" = false
5975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
5976 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
5977 as_fn_error $?
"You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
5980 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
5984 if test "$ICOTOOL" = false
5986 as_fn_error $?
"You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
5988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
5989 $as_echo_n "checking for recent enough icotool... " >&6; }
5990 icotool_version
=`icotool --version | head -n1`
5991 if test "x$icotool_version" != "x"
5993 icotool_version_major
=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
5994 icotool_version_minor
=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
5995 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
5998 as_fn_append wine_warnings
"|icotool version 0.29.0 or newer is needed to rebuild icons."
6001 if test "$ICOTOOL" = false
6003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
6004 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
6005 as_fn_error $?
"You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
6008 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
6014 { ac_cv_header_gettext_po_h
=; unset ac_cv_header_gettext_po_h
;}
6017 test "x$with_gettext" != xno || MSGFMT
=false
6018 if test "$MSGFMT" != "false"
6020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
6021 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
6022 cat >conftest.po
<<EOF
6028 if $MSGFMT -o /dev
/null conftest.po
2>&5
6030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6031 $as_echo "yes" >&6; }
6033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6034 $as_echo "no" >&6; }
6038 if test "$MSGFMT" = false
; then :
6039 case "x$with_gettext" in
6040 x
) as_fn_append wine_warnings
"|gettext tools not found (or too old), translations won't be built." ;;
6042 *) as_fn_error $?
"gettext tools not found (or too old), translations won't be built.
6043 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6049 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6050 if ${ac_cv_lib_i386_i386_set_ldt+:} false
; then :
6051 $as_echo_n "(cached) " >&6
6053 ac_check_lib_save_LIBS
=$LIBS
6055 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6056 /* end confdefs.h. */
6058 /* Override any GCC internal prototype to avoid an error.
6059 Use char because int might match the return type of a GCC
6060 builtin and then its argument prototype would still apply. */
6064 char i386_set_ldt ();
6068 return i386_set_ldt ();
6073 if ac_fn_c_try_link
"$LINENO"; then :
6074 ac_cv_lib_i386_i386_set_ldt
=yes
6076 ac_cv_lib_i386_i386_set_ldt
=no
6078 rm -f core conftest.err conftest.
$ac_objext \
6079 conftest
$ac_exeext conftest.
$ac_ext
6080 LIBS
=$ac_check_lib_save_LIBS
6082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6083 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6084 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes
; then :
6085 cat >>confdefs.h
<<_ACEOF
6086 #define HAVE_LIBI386 1
6093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
6094 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
6095 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false
; then :
6096 $as_echo_n "(cached) " >&6
6098 ac_check_lib_save_LIBS
=$LIBS
6099 LIBS
="-lossaudio $LIBS"
6100 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6101 /* end confdefs.h. */
6103 /* Override any GCC internal prototype to avoid an error.
6104 Use char because int might match the return type of a GCC
6105 builtin and then its argument prototype would still apply. */
6113 return _oss_ioctl ();
6118 if ac_fn_c_try_link
"$LINENO"; then :
6119 ac_cv_lib_ossaudio__oss_ioctl
=yes
6121 ac_cv_lib_ossaudio__oss_ioctl
=no
6123 rm -f core conftest.err conftest.
$ac_objext \
6124 conftest
$ac_exeext conftest.
$ac_ext
6125 LIBS
=$ac_check_lib_save_LIBS
6127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6128 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6129 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes
; then :
6130 cat >>confdefs.h
<<_ACEOF
6131 #define HAVE_LIBOSSAUDIO 1
6134 LIBS
="-lossaudio $LIBS"
6143 # Check whether --enable-largefile was given.
6144 if test "${enable_largefile+set}" = set; then :
6145 enableval
=$enable_largefile;
6148 if test "$enable_largefile" != no
; then
6150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6151 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6152 if ${ac_cv_sys_largefile_CC+:} false
; then :
6153 $as_echo_n "(cached) " >&6
6155 ac_cv_sys_largefile_CC
=no
6156 if test "$GCC" != yes; then
6159 # IRIX 6.2 and later do not support large files by default,
6160 # so use the C compiler's -n32 option if that helps.
6161 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6162 /* end confdefs.h. */
6163 #include <sys/types.h>
6164 /* Check that off_t can represent 2**63 - 1 correctly.
6165 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6166 since some C++ compilers masquerading as C compilers
6167 incorrectly reject 9223372036854775807. */
6168 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6169 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6170 && LARGE_OFF_T % 2147483647 == 1)
6180 if ac_fn_c_try_compile
"$LINENO"; then :
6183 rm -f core conftest.err conftest.
$ac_objext
6185 if ac_fn_c_try_compile
"$LINENO"; then :
6186 ac_cv_sys_largefile_CC
=' -n32'; break
6188 rm -f core conftest.err conftest.
$ac_objext
6192 rm -f conftest.
$ac_ext
6195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6196 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6197 if test "$ac_cv_sys_largefile_CC" != no
; then
6198 CC
=$CC$ac_cv_sys_largefile_CC
6201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6202 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6203 if ${ac_cv_sys_file_offset_bits+:} false
; then :
6204 $as_echo_n "(cached) " >&6
6207 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6208 /* end confdefs.h. */
6209 #include <sys/types.h>
6210 /* Check that off_t can represent 2**63 - 1 correctly.
6211 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6212 since some C++ compilers masquerading as C compilers
6213 incorrectly reject 9223372036854775807. */
6214 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6215 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6216 && LARGE_OFF_T % 2147483647 == 1)
6226 if ac_fn_c_try_compile
"$LINENO"; then :
6227 ac_cv_sys_file_offset_bits
=no
; break
6229 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6230 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6231 /* end confdefs.h. */
6232 #define _FILE_OFFSET_BITS 64
6233 #include <sys/types.h>
6234 /* Check that off_t can represent 2**63 - 1 correctly.
6235 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6236 since some C++ compilers masquerading as C compilers
6237 incorrectly reject 9223372036854775807. */
6238 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6239 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6240 && LARGE_OFF_T % 2147483647 == 1)
6250 if ac_fn_c_try_compile
"$LINENO"; then :
6251 ac_cv_sys_file_offset_bits
=64; break
6253 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6254 ac_cv_sys_file_offset_bits
=unknown
6258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6259 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6260 case $ac_cv_sys_file_offset_bits in #(
6263 cat >>confdefs.h
<<_ACEOF
6264 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6269 if test $ac_cv_sys_file_offset_bits = unknown
; then
6270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6271 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6272 if ${ac_cv_sys_large_files+:} false
; then :
6273 $as_echo_n "(cached) " >&6
6276 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6277 /* end confdefs.h. */
6278 #include <sys/types.h>
6279 /* Check that off_t can represent 2**63 - 1 correctly.
6280 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6281 since some C++ compilers masquerading as C compilers
6282 incorrectly reject 9223372036854775807. */
6283 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6284 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6285 && LARGE_OFF_T % 2147483647 == 1)
6295 if ac_fn_c_try_compile
"$LINENO"; then :
6296 ac_cv_sys_large_files
=no
; break
6298 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6299 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6300 /* end confdefs.h. */
6301 #define _LARGE_FILES 1
6302 #include <sys/types.h>
6303 /* Check that off_t can represent 2**63 - 1 correctly.
6304 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6305 since some C++ compilers masquerading as C compilers
6306 incorrectly reject 9223372036854775807. */
6307 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6308 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6309 && LARGE_OFF_T % 2147483647 == 1)
6319 if ac_fn_c_try_compile
"$LINENO"; then :
6320 ac_cv_sys_large_files
=1; break
6322 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6323 ac_cv_sys_large_files
=unknown
6327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6328 $as_echo "$ac_cv_sys_large_files" >&6; }
6329 case $ac_cv_sys_large_files in #(
6332 cat >>confdefs.h
<<_ACEOF
6333 #define _LARGE_FILES $ac_cv_sys_large_files
6345 ac_cpp
='$CPP $CPPFLAGS'
6346 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6347 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6348 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6350 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6351 # On Suns, sometimes $CPP names a directory.
6352 if test -n "$CPP" && test -d "$CPP"; then
6355 if test -z "$CPP"; then
6356 if ${ac_cv_prog_CPP+:} false
; then :
6357 $as_echo_n "(cached) " >&6
6359 # Double quotes because CPP needs to be expanded
6360 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6363 for ac_c_preproc_warn_flag
in '' yes
6365 # Use a header file that comes with gcc, so configuring glibc
6366 # with a fresh cross-compiler works.
6367 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6368 # <limits.h> exists even on freestanding compilers.
6369 # On the NeXT, cc -E runs the code through the compiler's parser,
6370 # not just through cpp. "Syntax error" is here to catch this case.
6371 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6372 /* end confdefs.h. */
6374 # include <limits.h>
6376 # include <assert.h>
6380 if ac_fn_c_try_cpp
"$LINENO"; then :
6383 # Broken: fails on valid input.
6386 rm -f conftest.err conftest.i conftest.
$ac_ext
6388 # OK, works on sane cases. Now check whether nonexistent headers
6389 # can be detected and how.
6390 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6391 /* end confdefs.h. */
6392 #include <ac_nonexistent.h>
6394 if ac_fn_c_try_cpp
"$LINENO"; then :
6395 # Broken: success on invalid input.
6398 # Passes both tests.
6402 rm -f conftest.err conftest.i conftest.
$ac_ext
6405 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6406 rm -f conftest.i conftest.err conftest.
$ac_ext
6407 if $ac_preproc_ok; then :
6419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6420 $as_echo "$CPP" >&6; }
6422 for ac_c_preproc_warn_flag
in '' yes
6424 # Use a header file that comes with gcc, so configuring glibc
6425 # with a fresh cross-compiler works.
6426 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6427 # <limits.h> exists even on freestanding compilers.
6428 # On the NeXT, cc -E runs the code through the compiler's parser,
6429 # not just through cpp. "Syntax error" is here to catch this case.
6430 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6431 /* end confdefs.h. */
6433 # include <limits.h>
6435 # include <assert.h>
6439 if ac_fn_c_try_cpp
"$LINENO"; then :
6442 # Broken: fails on valid input.
6445 rm -f conftest.err conftest.i conftest.
$ac_ext
6447 # OK, works on sane cases. Now check whether nonexistent headers
6448 # can be detected and how.
6449 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6450 /* end confdefs.h. */
6451 #include <ac_nonexistent.h>
6453 if ac_fn_c_try_cpp
"$LINENO"; then :
6454 # Broken: success on invalid input.
6457 # Passes both tests.
6461 rm -f conftest.err conftest.i conftest.
$ac_ext
6464 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6465 rm -f conftest.i conftest.err conftest.
$ac_ext
6466 if $ac_preproc_ok; then :
6469 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6470 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6471 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
6472 See \`config.log' for more details" "$LINENO" 5; }
6476 ac_cpp
='$CPP $CPPFLAGS'
6477 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6478 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6479 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6483 $as_echo_n "checking for ANSI C header files... " >&6; }
6484 if ${ac_cv_header_stdc+:} false
; then :
6485 $as_echo_n "(cached) " >&6
6487 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6488 /* end confdefs.h. */
6502 if ac_fn_c_try_compile
"$LINENO"; then :
6503 ac_cv_header_stdc
=yes
6505 ac_cv_header_stdc
=no
6507 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6509 if test $ac_cv_header_stdc = yes; then
6510 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6511 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6512 /* end confdefs.h. */
6516 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6517 $EGREP "memchr" >/dev
/null
2>&1; then :
6520 ac_cv_header_stdc
=no
6526 if test $ac_cv_header_stdc = yes; then
6527 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6528 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6529 /* end confdefs.h. */
6533 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6534 $EGREP "free" >/dev
/null
2>&1; then :
6537 ac_cv_header_stdc
=no
6543 if test $ac_cv_header_stdc = yes; then
6544 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6545 if test "$cross_compiling" = yes; then :
6548 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6549 /* end confdefs.h. */
6552 #if ((' ' & 0x0FF) == 0x020)
6553 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6554 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6556 # define ISLOWER(c) \
6557 (('a' <= (c) && (c) <= 'i') \
6558 || ('j' <= (c) && (c) <= 'r') \
6559 || ('s' <= (c) && (c) <= 'z'))
6560 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6563 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6568 for (i = 0; i < 256; i++)
6569 if (XOR (islower (i), ISLOWER (i))
6570 || toupper (i) != TOUPPER (i))
6575 if ac_fn_c_try_run
"$LINENO"; then :
6578 ac_cv_header_stdc
=no
6580 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6581 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6587 $as_echo "$ac_cv_header_stdc" >&6; }
6588 if test $ac_cv_header_stdc = yes; then
6590 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6594 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6595 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
6596 inttypes.h stdint.h unistd.h
6598 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6599 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6601 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6602 cat >>confdefs.h
<<_ACEOF
6603 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6613 ApplicationServices
/ApplicationServices.h \
6614 AudioToolbox
/AudioConverter.h \
6615 AudioUnit
/AudioUnit.h \
6616 AudioUnit
/AudioComponent.h \
6619 CoreAudio
/CoreAudio.h \
6620 CoreServices
/CoreServices.h \
6621 DiskArbitration
/DiskArbitration.h \
6623 IOKit
/hid
/IOHIDLib.h \
6626 QuickTime
/ImageCompression.h \
6627 Security
/Security.h \
6678 netinet
/in_systm.h \
6741 valgrind
/memcheck.h \
6742 valgrind
/valgrind.h \
6746 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6747 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6748 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6749 cat >>confdefs.h
<<_ACEOF
6750 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
6758 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
6759 if ${ac_cv_header_stat_broken+:} false
; then :
6760 $as_echo_n "(cached) " >&6
6762 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6763 /* end confdefs.h. */
6764 #include <sys/types.h>
6765 #include <sys/stat.h>
6767 #if defined S_ISBLK && defined S_IFDIR
6768 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
6771 #if defined S_ISBLK && defined S_IFCHR
6772 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
6775 #if defined S_ISLNK && defined S_IFREG
6776 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
6779 #if defined S_ISSOCK && defined S_IFREG
6780 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
6784 if ac_fn_c_try_compile
"$LINENO"; then :
6785 ac_cv_header_stat_broken
=no
6787 ac_cv_header_stat_broken
=yes
6789 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
6792 $as_echo "$ac_cv_header_stat_broken" >&6; }
6793 if test $ac_cv_header_stat_broken = yes; then
6795 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
6801 for ac_header
in sys
/mount.h sys
/statfs.h sys
/sysctl.h sys
/user.h sys
/vfs.h
6803 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6804 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6805 #ifdef HAVE_SYS_PARAM_H
6806 # include <sys/param.h>
6809 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6810 cat >>confdefs.h
<<_ACEOF
6811 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6826 netinet
/if_ether.h \
6827 netinet
/if_inarp.h \
6836 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6837 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6838 #ifdef HAVE_SYS_SOCKET_H
6839 # include <sys/socket.h>
6841 #ifdef HAVE_SYS_SOCKETVAR_H
6842 # include <sys/socketvar.h>
6844 #ifdef HAVE_NET_ROUTE_H
6845 # include <net/route.h>
6847 #ifdef HAVE_NETINET_IN_H
6848 # include <netinet/in.h>
6850 #ifdef HAVE_NETINET_IN_SYSTM_H
6851 # include <netinet/in_systm.h>
6853 #ifdef HAVE_NET_IF_H
6854 # include <net/if.h>
6856 #ifdef HAVE_NETINET_IP_H
6857 # include <netinet/ip.h>
6860 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6861 cat >>confdefs.h
<<_ACEOF
6862 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6870 for ac_header
in netinet
/tcp_timer.h netinet
/udp_var.h netinet
/icmp_var.h netinet
/tcp_var.h
6872 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6873 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6877 #ifdef HAVE_SYS_SOCKET_H
6878 # include <sys/socket.h>
6880 #ifdef HAVE_SYS_SOCKETVAR_H
6881 # include <sys/socketvar.h>
6883 #ifdef HAVE_SYS_TIMEOUT_H
6884 # include <sys/timeout.h>
6886 #ifdef HAVE_NETINET_IN_H
6887 # include <netinet/in.h>
6889 #ifdef HAVE_NETINET_IN_SYSTM_H
6890 # include <netinet/in_systm.h>
6892 #ifdef HAVE_NETINET_IP_H
6893 # include <netinet/ip.h>
6895 #ifdef HAVE_NETINET_IP_VAR_H
6896 # include <netinet/ip_var.h>
6898 #ifdef HAVE_NETINET_IP_ICMP_H
6899 # include <netinet/ip_icmp.h>
6901 #ifdef HAVE_NETINET_UDP_H
6902 # include <netinet/udp.h>
6904 #ifdef HAVE_NETINET_TCP_H
6905 # include <netinet/tcp.h>
6907 #ifdef HAVE_NETINET_TCP_TIMER_H
6908 #include <netinet/tcp_timer.h>
6911 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6912 cat >>confdefs.h
<<_ACEOF
6913 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6921 for ac_header
in linux
/ipx.h linux
/irda.h linux
/rtnetlink.h
6923 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6924 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6925 #ifdef HAVE_ASM_TYPES_H
6926 # include <asm/types.h>
6928 #ifdef HAVE_SYS_SOCKET_H
6929 # include <sys/socket.h>
6931 #ifdef HAVE_LINUX_TYPES_H
6932 # include <linux/types.h>
6935 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6936 cat >>confdefs.h
<<_ACEOF
6937 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6945 for ac_header
in mach-o
/dyld_images.h
6947 ac_fn_c_check_header_compile
"$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
6948 # include <stdbool.h>
6950 #ifdef HAVE_STDINT_H
6951 # include <stdint.h>
6954 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes
; then :
6955 cat >>confdefs.h
<<_ACEOF
6956 #define HAVE_MACH_O_DYLD_IMAGES_H 1
6964 for ac_header
in resolv.h
6966 ac_fn_c_check_header_compile
"$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
6967 #ifdef HAVE_SYS_SOCKET_H
6968 # include <sys/socket.h>
6970 #ifdef HAVE_NETINET_IN_H
6971 # include <netinet/in.h>
6973 #ifdef HAVE_ARPA_NAMESER_H
6974 # include <arpa/nameser.h>
6977 if test "x$ac_cv_header_resolv_h" = xyes
; then :
6978 cat >>confdefs.h
<<_ACEOF
6979 #define HAVE_RESOLV_H 1
6987 for ac_header
in ifaddrs.h
6989 ac_fn_c_check_header_compile
"$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
6991 if test "x$ac_cv_header_ifaddrs_h" = xyes
; then :
6992 cat >>confdefs.h
<<_ACEOF
6993 #define HAVE_IFADDRS_H 1
7001 for ac_header
in sys
/ucontext.h
7003 ac_fn_c_check_header_compile
"$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
7005 if test "x$ac_cv_header_sys_ucontext_h" = xyes
; then :
7006 cat >>confdefs.h
<<_ACEOF
7007 #define HAVE_SYS_UCONTEXT_H 1
7015 for ac_header
in sys
/thr.h
7017 ac_fn_c_check_header_compile
"$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
7018 #ifdef HAVE_SYS_UCONTEXT_H
7019 #include <sys/ucontext.h>
7022 if test "x$ac_cv_header_sys_thr_h" = xyes
; then :
7023 cat >>confdefs.h
<<_ACEOF
7024 #define HAVE_SYS_THR_H 1
7032 for ac_header
in pthread_np.h
7034 ac_fn_c_check_header_compile
"$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7035 #include <pthread.h>
7038 if test "x$ac_cv_header_pthread_np_h" = xyes
; then :
7039 cat >>confdefs.h
<<_ACEOF
7040 #define HAVE_PTHREAD_NP_H 1
7048 for ac_header
in linux
/videodev.h linux
/videodev2.h libv4l1.h
7050 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7051 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
7052 #include <sys/time.h>
7054 #include <sys/types.h>
7055 #ifdef HAVE_ASM_TYPES_H
7056 #include <asm/types.h>
7059 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
7060 cat >>confdefs.h
<<_ACEOF
7061 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7069 for ac_header
in libprocstat.h
7071 ac_fn_c_check_header_compile
"$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7072 #include <sys/param.h>
7074 #ifdef HAVE_SYS_QUEUE_H
7075 #include <sys/queue.h>
7077 #ifdef HAVE_SYS_SOCKET_H
7078 #include <sys/socket.h>
7081 if test "x$ac_cv_header_libprocstat_h" = xyes
; then :
7082 cat >>confdefs.h
<<_ACEOF
7083 #define HAVE_LIBPROCSTAT_H 1
7092 dlldir
="\${libdir}/wine"
7096 DLLFLAGS
="-D_REENTRANT"
7105 STATIC_IMPLIBEXT
="def.a"
7106 # Extract the first word of "ldd", so it can be a program name with args.
7107 set dummy ldd
; ac_word
=$2
7108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7109 $as_echo_n "checking for $ac_word... " >&6; }
7110 if ${ac_cv_path_LDD+:} false
; then :
7111 $as_echo_n "(cached) " >&6
7115 ac_cv_path_LDD
="$LDD" # Let the user override the test with a path.
7118 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7119 as_dummy
="/sbin:/usr/sbin:$PATH"
7120 for as_dir
in $as_dummy
7123 test -z "$as_dir" && as_dir
=.
7124 for ac_exec_ext
in '' $ac_executable_extensions; do
7125 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7126 ac_cv_path_LDD
="$as_dir/$ac_word$ac_exec_ext"
7127 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7134 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD
="true"
7139 if test -n "$LDD"; then
7140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7141 $as_echo "$LDD" >&6; }
7143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7144 $as_echo "no" >&6; }
7148 if test -n "$ac_tool_prefix"; then
7149 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7150 set dummy
${ac_tool_prefix}otool
; ac_word
=$2
7151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7152 $as_echo_n "checking for $ac_word... " >&6; }
7153 if ${ac_cv_prog_OTOOL+:} false
; then :
7154 $as_echo_n "(cached) " >&6
7156 if test -n "$OTOOL"; then
7157 ac_cv_prog_OTOOL
="$OTOOL" # Let the user override the test.
7159 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7163 test -z "$as_dir" && as_dir
=.
7164 for ac_exec_ext
in '' $ac_executable_extensions; do
7165 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7166 ac_cv_prog_OTOOL
="${ac_tool_prefix}otool"
7167 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7176 OTOOL
=$ac_cv_prog_OTOOL
7177 if test -n "$OTOOL"; then
7178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7179 $as_echo "$OTOOL" >&6; }
7181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7182 $as_echo "no" >&6; }
7187 if test -z "$ac_cv_prog_OTOOL"; then
7189 # Extract the first word of "otool", so it can be a program name with args.
7190 set dummy otool
; ac_word
=$2
7191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7192 $as_echo_n "checking for $ac_word... " >&6; }
7193 if ${ac_cv_prog_ac_ct_OTOOL+:} false
; then :
7194 $as_echo_n "(cached) " >&6
7196 if test -n "$ac_ct_OTOOL"; then
7197 ac_cv_prog_ac_ct_OTOOL
="$ac_ct_OTOOL" # Let the user override the test.
7199 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7203 test -z "$as_dir" && as_dir
=.
7204 for ac_exec_ext
in '' $ac_executable_extensions; do
7205 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7206 ac_cv_prog_ac_ct_OTOOL
="otool"
7207 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7216 ac_ct_OTOOL
=$ac_cv_prog_ac_ct_OTOOL
7217 if test -n "$ac_ct_OTOOL"; then
7218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7219 $as_echo "$ac_ct_OTOOL" >&6; }
7221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7222 $as_echo "no" >&6; }
7225 if test "x$ac_ct_OTOOL" = x
; then
7228 case $cross_compiling:$ac_tool_warned in
7230 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7231 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7232 ac_tool_warned
=yes ;;
7237 OTOOL
="$ac_cv_prog_OTOOL"
7240 if test -n "$ac_tool_prefix"; then
7241 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
7242 set dummy
${ac_tool_prefix}readelf
; ac_word
=$2
7243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7244 $as_echo_n "checking for $ac_word... " >&6; }
7245 if ${ac_cv_prog_READELF+:} false
; then :
7246 $as_echo_n "(cached) " >&6
7248 if test -n "$READELF"; then
7249 ac_cv_prog_READELF
="$READELF" # Let the user override the test.
7251 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7255 test -z "$as_dir" && as_dir
=.
7256 for ac_exec_ext
in '' $ac_executable_extensions; do
7257 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7258 ac_cv_prog_READELF
="${ac_tool_prefix}readelf"
7259 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7268 READELF
=$ac_cv_prog_READELF
7269 if test -n "$READELF"; then
7270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
7271 $as_echo "$READELF" >&6; }
7273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7274 $as_echo "no" >&6; }
7279 if test -z "$ac_cv_prog_READELF"; then
7280 ac_ct_READELF
=$READELF
7281 # Extract the first word of "readelf", so it can be a program name with args.
7282 set dummy readelf
; ac_word
=$2
7283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7284 $as_echo_n "checking for $ac_word... " >&6; }
7285 if ${ac_cv_prog_ac_ct_READELF+:} false
; then :
7286 $as_echo_n "(cached) " >&6
7288 if test -n "$ac_ct_READELF"; then
7289 ac_cv_prog_ac_ct_READELF
="$ac_ct_READELF" # Let the user override the test.
7291 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7295 test -z "$as_dir" && as_dir
=.
7296 for ac_exec_ext
in '' $ac_executable_extensions; do
7297 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7298 ac_cv_prog_ac_ct_READELF
="readelf"
7299 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7308 ac_ct_READELF
=$ac_cv_prog_ac_ct_READELF
7309 if test -n "$ac_ct_READELF"; then
7310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7311 $as_echo "$ac_ct_READELF" >&6; }
7313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7314 $as_echo "no" >&6; }
7317 if test "x$ac_ct_READELF" = x
; then
7320 case $cross_compiling:$ac_tool_warned in
7322 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7323 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7324 ac_tool_warned
=yes ;;
7326 READELF
=$ac_ct_READELF
7329 READELF
="$ac_cv_prog_READELF"
7332 wine_rules_file
=conf$
$rules.
make
7333 rm -f $wine_rules_file
7335 GITIGNORE
="# Automatically generated by configure; DO NOT EDIT!!"
7336 ALL_TEST_RESOURCES
=""
7339 wine_fn_append_file
()
7341 as_fn_append
$1 " \\$as_nl $2"
7344 wine_fn_ignore_file
()
7347 */*) as_fn_append GITIGNORE
"$as_nl$1" ;;
7348 \
**) as_fn_append GITIGNORE
"$as_nl$1" ;;
7349 *) as_fn_append GITIGNORE
"$as_nl/$1" ;;
7353 wine_fn_append_rule
()
7355 $as_echo "$1" >>$wine_rules_file
7360 expr ",$ac_flags," : ".*,$1,.*" >/dev
/null
7363 wine_fn_depend_rules
()
7365 wine_fn_append_rule \
7366 "$ac_dir/Makefile: $srcdir/$ac_dir/Makefile.in $srcdir/Make.vars.in config.status \$(MAKEDEP)
7367 @./config.status --file $ac_dir/Makefile:Make.vars.in:$ac_dir/Makefile.in && \$(MAKEDEP) $ac_dir
7368 depend: $ac_dir/depend
7369 .PHONY: $ac_dir/depend
7370 $ac_dir/depend: \$(MAKEDEP) dummy
7371 @./config.status --file $ac_dir/Makefile:Make.vars.in:$ac_dir/Makefile.in && \$(MAKEDEP) $ac_dir"
7374 wine_fn_pot_rules
()
7376 test "x$with_gettextpo" = xyes ||
return
7378 if wine_fn_has_flag mc
7380 wine_fn_append_file ALL_POT_FILES
$ac_dir/msg.pot
7381 wine_fn_append_rule \
7382 "$ac_dir/msg.pot: $ac_dir/Makefile dummy
7383 @cd $ac_dir && \$(MAKE) msg.pot
7384 $ac_dir/msg.pot: tools/wmc include"
7386 if wine_fn_has_flag po
7388 wine_fn_append_file ALL_POT_FILES
$ac_dir/rsrc.pot
7389 wine_fn_append_rule \
7390 "$ac_dir/rsrc.pot: $ac_dir/Makefile dummy
7391 @cd $ac_dir && \$(MAKE) rsrc.pot
7392 $ac_dir/rsrc.pot: tools/wrc include"
7396 wine_fn_all_rules
()
7398 wine_fn_depend_rules
7399 wine_fn_append_rule \
7402 $ac_dir: $ac_dir/Makefile dummy
7403 @cd $ac_dir && \$(MAKE)"
7406 wine_fn_install_rules
()
7408 wine_fn_has_flag install-lib || wine_fn_has_flag install-dev ||
return
7410 wine_fn_append_rule \
7411 ".PHONY: $ac_dir/install $ac_dir/uninstall
7412 $ac_dir/install:: $ac_dir
7413 @cd $ac_dir && \$(MAKE) install
7414 $ac_dir/uninstall:: $ac_dir/Makefile
7415 @cd $ac_dir && \$(MAKE) uninstall
7416 install:: $ac_dir/install
7417 __uninstall__: $ac_dir/uninstall"
7419 if wine_fn_has_flag install-lib
7421 wine_fn_append_rule \
7422 ".PHONY: $ac_dir/install-lib
7423 $ac_dir/install-lib:: $ac_dir
7424 @cd $ac_dir && \$(MAKE) install-lib
7425 install-lib:: $ac_dir/install-lib"
7428 if wine_fn_has_flag install-dev
7430 wine_fn_append_rule \
7431 ".PHONY: $ac_dir/install-dev
7432 $ac_dir/install-dev:: $ac_dir
7433 @cd $ac_dir && \$(MAKE) install-dev
7434 install-dev:: $ac_dir/install-dev"
7438 wine_fn_clean_rules
()
7441 ac_extraclean
="$ac_dir/Makefile"
7442 test "$srcdir" = .
&& ac_extraclean
="$ac_extraclean $ac_dir/.gitignore"
7444 */tests
) ac_extraclean
="$ac_extraclean $ac_dir/testlist.c" ;;
7447 if wine_fn_has_flag clean
7449 wine_fn_append_rule \
7450 "__clean__: $ac_dir/clean
7451 .PHONY: $ac_dir/clean
7452 $ac_dir/clean: $ac_dir/Makefile
7453 @cd $ac_dir && \$(MAKE) clean
7454 \$(RM) $ac_extraclean"
7456 wine_fn_append_rule \
7457 "__clean__: $ac_dir/clean
7458 .PHONY: $ac_dir/clean
7459 $ac_dir/clean: dummy
7460 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean $ac_extraclean"
7464 wine_fn_disabled_rules
()
7467 ac_extraclean
="$ac_dir/Makefile"
7468 test "$srcdir" = .
&& ac_extraclean
="$ac_extraclean $ac_dir/.gitignore"
7470 wine_fn_append_rule \
7471 "__clean__: $ac_dir/clean
7472 .PHONY: $ac_dir/clean
7473 $ac_dir/clean: dummy
7474 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean $ac_extraclean"
7477 wine_fn_config_makefile
()
7483 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
7484 wine_fn_disabled_rules
; return
7487 wine_fn_install_rules
7491 wine_fn_config_lib
()
7495 ac_dir
=dlls
/$ac_name
7498 if test "x$enable_tools" = xno
; then :
7501 ac_deps
="tools/widl tools/winebuild tools/winegcc $ac_deps"
7506 wine_fn_append_rule \
7507 ".PHONY: $ac_dir/install $ac_dir/uninstall
7508 $ac_dir/install:: $ac_dir
7509 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7511 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7512 install install-dev:: $ac_dir/install
7513 __uninstall__: $ac_dir/uninstall
7514 __builddeps__: $ac_dir
7518 wine_fn_config_dll
()
7521 ac_dir
=dlls
/$ac_name
7524 ac_implib
=${4:-$ac_name}
7525 ac_file
=$ac_dir/lib
$ac_implib
7530 if test "x$enable_tools" = xno
; then :
7533 ac_deps
="tools/widl tools/winebuild tools/winegcc $ac_deps"
7536 *16) ac_implibflags
=" -m16" ;;
7538 *) ac_dll
=$ac_dll.dll
;;
7542 wine_fn_has_flag implib
&& ac_clean
="$ac_clean $ac_file.$IMPLIBEXT"
7543 wine_fn_has_flag mc
&& ac_clean
="$ac_clean $ac_dir/msg.pot"
7544 wine_fn_has_flag po
&& ac_clean
="$ac_clean $ac_dir/rsrc.pot"
7545 test -n "$DLLEXT" || ac_clean
="$ac_clean $ac_dir/$ac_dll"
7547 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
7548 if wine_fn_has_flag implib
&& test "$ac_enable" != enable_win16
7550 wine_fn_depend_rules
7551 wine_fn_clean_rules
$ac_clean
7553 wine_fn_disabled_rules
$ac_clean
7558 wine_fn_clean_rules
$ac_clean
7559 wine_fn_append_rule \
7560 "$ac_dir: __builddeps__
7561 manpages htmlpages sgmlpages xmlpages:: $ac_dir/Makefile
7562 @cd $ac_dir && \$(MAKE) \$@
7563 .PHONY: $ac_dir/install-lib $ac_dir/uninstall
7564 install install-lib:: $ac_dir/install-lib
7565 __uninstall__: $ac_dir/uninstall"
7566 if test -n "$DLLEXT"
7568 wine_fn_append_rule \
7569 "$ac_dir/install-lib:: $ac_dir
7570 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_dll$DLLEXT
7571 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
7573 \$(RM) \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
7575 wine_fn_append_rule \
7576 "$ac_dir/install-lib:: $ac_dir
7577 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
7579 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
7585 if wine_fn_has_flag staticimplib
7587 wine_fn_append_rule \
7588 "__builddeps__: $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT
7589 $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT $ac_file.cross.a: $ac_deps
7590 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7591 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7592 $ac_file.$STATIC_IMPLIBEXT: $ac_dir/Makefile dummy
7593 @cd $ac_dir && \$(MAKE) lib$ac_implib.$STATIC_IMPLIBEXT
7594 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7595 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7596 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7598 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7599 install install-dev:: $ac_dir/install-dev
7600 __uninstall__: $ac_dir/uninstall"
7602 if test "$IMPLIBEXT" != "$STATIC_IMPLIBEXT"
7604 wine_fn_append_rule \
7605 "$ac_dir/install-dev:: $ac_file.$STATIC_IMPLIBEXT __builddeps__
7606 \$(INSTALL_DATA) $ac_file.$STATIC_IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT
7608 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT"
7611 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7613 wine_fn_append_rule \
7614 "__builddeps__: $ac_file.cross.a
7615 $ac_file.cross.a: $ac_dir/Makefile dummy
7616 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
7619 elif wine_fn_has_flag implib
7621 wine_fn_append_rule \
7622 "__builddeps__: $ac_file.$IMPLIBEXT
7623 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7624 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7625 $ac_file.a: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7626 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7627 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7628 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7629 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7631 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7632 install install-dev:: $ac_dir/install-dev
7633 __uninstall__: $ac_dir/uninstall"
7634 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7636 wine_fn_append_rule \
7637 "__builddeps__: $ac_file.cross.a
7638 $ac_file.cross.a: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7639 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec"
7642 if test "$ac_name" != "$ac_implib"
7644 wine_fn_append_rule \
7645 "__builddeps__: dlls/lib$ac_implib.$IMPLIBEXT
7646 dlls/lib$ac_implib.$IMPLIBEXT: $ac_file.$IMPLIBEXT
7647 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.$IMPLIBEXT \$@
7649 \$(RM) dlls/lib$ac_implib.$IMPLIBEXT"
7650 wine_fn_ignore_file
"dlls/lib$ac_implib.$IMPLIBEXT"
7651 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7653 wine_fn_append_rule \
7654 "__builddeps__: dlls/lib$ac_implib.cross.a
7655 dlls/lib$ac_implib.cross.a: $ac_file.cross.a
7656 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.cross.a \$@
7658 \$(RM) dlls/lib$ac_implib.cross.a"
7659 wine_fn_ignore_file
"dlls/lib$ac_implib.cross.a"
7665 wine_fn_config_program
()
7668 ac_dir
=programs
/$ac_name
7675 *) ac_program
=$ac_program.exe
;;
7679 wine_fn_has_flag mc
&& ac_clean
="$ac_clean $ac_dir/msg.pot"
7680 wine_fn_has_flag po
&& ac_clean
="$ac_clean $ac_dir/rsrc.pot"
7681 wine_fn_has_flag manpage
&& ac_clean
="$ac_clean $ac_dir/$ac_name.man"
7682 test -n "$DLLEXT" || ac_clean
="$ac_clean $ac_dir/$ac_program"
7684 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
7685 wine_fn_disabled_rules
$ac_clean; return
7689 wine_fn_clean_rules
$ac_clean
7690 wine_fn_append_rule
"$ac_dir: __builddeps__"
7693 wine_fn_has_flag
install ||
return
7694 wine_fn_append_rule \
7695 ".PHONY: $ac_dir/install $ac_dir/uninstall
7696 install install-lib:: $ac_dir/install
7697 __uninstall__: $ac_dir/uninstall"
7699 if test -n "$DLLEXT"
7701 wine_fn_append_rule \
7702 "$ac_dir/install:: $ac_dir
7703 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_program$DLLEXT
7704 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
7706 \$(RM) \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
7708 if test -z "$with_wine64" && wine_fn_has_flag installbin
7710 wine_fn_append_rule \
7711 "$ac_dir/install:: __tooldeps__
7712 \$(INSTALL_SCRIPT) \$(TOOLSDIR)/tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
7714 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
7717 wine_fn_append_rule \
7718 "$ac_dir/install:: $ac_dir
7719 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(bindir)/$ac_program
7721 \$(RM) \$(DESTDIR)\$(bindir)/$ac_program"
7724 if test -z "$with_wine64" && wine_fn_has_flag manpage
7726 wine_fn_append_rule \
7727 "$ac_dir/install:: $ac_dir
7728 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
7730 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
7734 wine_fn_config_test
()
7741 test -n "$CROSSTARGET" && ac_clean
=`expr $ac_dir/${ac_name} : "\\(.*\\)_test"`_crosstest.exe
7742 test -n "$DLLEXT" || ac_clean
="$ac_dir/${ac_name}.exe $ac_dir/${ac_name}-stripped.exe"
7744 if test "x$enable_tests" = xno
; then :
7745 wine_fn_disabled_rules
$ac_clean; return
7748 wine_fn_append_file ALL_TEST_RESOURCES
$ac_name.res
7750 wine_fn_clean_rules
$ac_clean
7752 wine_fn_append_rule \
7753 "$ac_dir: programs/winetest/Makefile __builddeps__
7754 programs/winetest: $ac_dir
7755 check test: $ac_dir/test
7756 .PHONY: $ac_dir/test
7758 @cd $ac_dir && \$(MAKE) test
7760 \$(RM) $ac_dir/*.ok"
7762 if test -n "$CROSSTARGET"
7764 wine_fn_append_rule \
7765 "crosstest: $ac_dir/crosstest
7766 .PHONY: $ac_dir/crosstest
7767 $ac_dir/crosstest: $ac_dir/Makefile __builddeps__ dummy
7768 @cd $ac_dir && \$(MAKE) crosstest"
7772 wine_fn_config_tool
()
7776 if test "x$enable_tools" = xno
; then :
7781 wine_fn_install_rules
7784 wine_fn_append_rule
"__tooldeps__: $ac_dir"
7785 wine_fn_append_rule
"$ac_dir: libs/port"
7787 tools
/winebuild
) wine_fn_append_rule
"\$(WINEBUILD): $ac_dir" ;;
7791 wine_fn_config_symlink
()
7794 if test "x$1" = "x-d"
7800 wine_fn_append_rule \
7802 @./config.status \$@
7805 for f
in $ac_links; do wine_fn_ignore_file
$f; done
7806 test -n "$ac_linkdir" ||
return
7807 wine_fn_append_rule
"$ac_linkdir/Makefile $ac_linkdir/depend: $ac_links"
7811 test "x$enable_win64" != "xyes" || wine_binary
="wine64"
7812 loader_programs
="$wine_binary wine-installed"
7813 libwine_soversion
=`expr $libwine_version : '\([0-9]*\)\..*'`
7818 install install-lib:: wine-installed
7819 \$(INSTALL_PROGRAM) wine-installed \$(DESTDIR)\$(bindir)/$wine_binary
7822 \$(RM) \$(DESTDIR)\$(bindir)/$wine_binary
7828 if test -n "$ac_tool_prefix"; then
7829 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7830 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
7831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7832 $as_echo_n "checking for $ac_word... " >&6; }
7833 if ${ac_cv_prog_DLLTOOL+:} false
; then :
7834 $as_echo_n "(cached) " >&6
7836 if test -n "$DLLTOOL"; then
7837 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
7839 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7843 test -z "$as_dir" && as_dir
=.
7844 for ac_exec_ext
in '' $ac_executable_extensions; do
7845 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7846 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
7847 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7856 DLLTOOL
=$ac_cv_prog_DLLTOOL
7857 if test -n "$DLLTOOL"; then
7858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7859 $as_echo "$DLLTOOL" >&6; }
7861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7862 $as_echo "no" >&6; }
7867 if test -z "$ac_cv_prog_DLLTOOL"; then
7868 ac_ct_DLLTOOL
=$DLLTOOL
7869 # Extract the first word of "dlltool", so it can be a program name with args.
7870 set dummy dlltool
; ac_word
=$2
7871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7872 $as_echo_n "checking for $ac_word... " >&6; }
7873 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false
; then :
7874 $as_echo_n "(cached) " >&6
7876 if test -n "$ac_ct_DLLTOOL"; then
7877 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
7879 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7883 test -z "$as_dir" && as_dir
=.
7884 for ac_exec_ext
in '' $ac_executable_extensions; do
7885 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7886 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
7887 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7896 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
7897 if test -n "$ac_ct_DLLTOOL"; then
7898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7899 $as_echo "$ac_ct_DLLTOOL" >&6; }
7901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7902 $as_echo "no" >&6; }
7905 if test "x$ac_ct_DLLTOOL" = x
; then
7908 case $cross_compiling:$ac_tool_warned in
7910 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7911 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7912 ac_tool_warned
=yes ;;
7914 DLLTOOL
=$ac_ct_DLLTOOL
7917 DLLTOOL
="$ac_cv_prog_DLLTOOL"
7923 STATIC_IMPLIBEXT
="a"
7924 enable_iphlpapi
=${enable_iphlpapi:-no}
7925 enable_kernel32
=${enable_kernel32:-no}
7926 enable_msvcrt
=${enable_msvcrt:-no}
7927 enable_ntdll
=${enable_ntdll:-no}
7928 enable_ws2_32
=${enable_ws2_32:-no}
7929 enable_loader
=${enable_loader:-no}
7930 enable_server
=${enable_server:-no}
7931 with_x
=${with_x:-no}
7932 with_pthread
=${with_pthread:-no}
7938 SOCKET_LIBS
="-L\$(top_builddir)/dlls/ws2_32 -lws2_32"
7942 libwine_targets
="libwine.dll libwine.a"
7944 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
7946 all: libwine.dll libwine.a
7948 libwine.a: \$(srcdir)/wine.def
7949 \$(DLLTOOL) -l \$@ -d \$(srcdir)/wine.def
7951 libwine.dll: \$(OBJS) \$(srcdir)/wine.def
7952 \$(CC) -shared \$(srcdir)/wine.def -o \$@ \$(OBJS) $crtlibs \$(EXTRALIBS)
7954 install install-lib:: libwine.dll
7955 \$(INSTALL_DATA) libwine.dll \$(DESTDIR)\$(libdir)/libwine.dll
7957 install install-dev:: libwine.a
7958 \$(INSTALL_DATA) libwine.a \$(DESTDIR)\$(libdir)/libwine.a
7961 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.a libwine.dll
7967 for ac_header
in libunwind.h
7969 ac_fn_c_check_header_mongrel
"$LINENO" "libunwind.h" "ac_cv_header_libunwind_h" "$ac_includes_default"
7970 if test "x$ac_cv_header_libunwind_h" = xyes
; then :
7971 cat >>confdefs.h
<<_ACEOF
7972 #define HAVE_LIBUNWIND_H 1
7980 DLLFLAGS
="$DLLFLAGS -fPIC"
7981 LIBWINE_LDFLAGS
="-multiply_defined suppress"
7982 LDRPATH_INSTALL
="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
7983 LDRPATH_LOCAL
="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
7984 COREFOUNDATION_LIBS
="-framework CoreFoundation"
7986 IOKIT_LIBS
="-framework IOKit -framework CoreFoundation"
7988 FORCEFEEDBACK_LIBS
="-framework ForceFeedback -framework CoreFoundation"
7990 APPLICATIONSERVICES_LIBS
="-framework ApplicationServices"
7992 CORESERVICES_LIBS
="-framework CoreServices"
7994 APPKIT_LIBS
="-framework AppKit"
7996 LDEXECFLAGS
="-image_base 0x7bf00000 -Wl,-pagezero_size,0x1000,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
7997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
7998 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
7999 if ${ac_cv_cflags__Wl__no_pie+:} false
; then :
8000 $as_echo_n "(cached) " >&6
8002 ac_wine_try_cflags_saved
=$CFLAGS
8003 CFLAGS
="$CFLAGS -Wl,-no_pie"
8004 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8005 /* end confdefs.h. */
8006 int main(int argc, char **argv) { return 0; }
8008 if ac_fn_c_try_link
"$LINENO"; then :
8009 ac_cv_cflags__Wl__no_pie
=yes
8011 ac_cv_cflags__Wl__no_pie
=no
8013 rm -f core conftest.err conftest.
$ac_objext \
8014 conftest
$ac_exeext conftest.
$ac_ext
8015 CFLAGS
=$ac_wine_try_cflags_saved
8017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
8018 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
8019 if test "x$ac_cv_cflags__Wl__no_pie" = xyes
; then :
8020 LDEXECFLAGS
="-Wl,-no_pie $LDEXECFLAGS"
8022 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8024 DISKARBITRATION_LIBS
="-framework DiskArbitration -framework CoreFoundation"
8027 if test "$ac_cv_header_Security_Security_h" = "yes"
8029 SECURITY_LIBS
="-framework Security -framework CoreFoundation"
8031 ac_save_LIBS
="$LIBS"
8032 LIBS
="$LIBS $SECURITY_LIBS"
8033 for ac_func
in SSLCopyPeerCertificates
8035 ac_fn_c_check_func
"$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
8036 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes
; then :
8037 cat >>confdefs.h
<<_ACEOF
8038 #define HAVE_SSLCOPYPEERCERTIFICATES 1
8044 LIBS
="$ac_save_LIBS"
8045 with_gnutls
=${with_gnutls:-no}
8047 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8049 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
8051 COREAUDIO_LIBS
="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
8054 COREAUDIO_LIBS
="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8057 ac_save_LIBS
="$LIBS"
8058 LIBS
="$LIBS $COREAUDIO_LIBS"
8059 for ac_func
in AUGraphAddNode
8061 ac_fn_c_check_func
"$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
8062 if test "x$ac_cv_func_AUGraphAddNode" = xyes
; then :
8063 cat >>confdefs.h
<<_ACEOF
8064 #define HAVE_AUGRAPHADDNODE 1
8070 LIBS
="$ac_save_LIBS"
8072 if test "$ac_cv_header_OpenAL_al_h" = "yes"
8074 OPENAL_LIBS
="-framework OpenAL"
8077 cat >>confdefs.h
<<_ACEOF
8078 #define HAVE_OPENAL 1
8081 ac_cv_lib_openal
=yes
8083 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
8085 OPENCL_LIBS
="-framework OpenCL"
8087 ac_cv_lib_OpenCL_clGetPlatformInfo
=yes
8089 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
8091 ac_save_LIBS
="$LIBS"
8092 LIBS
="$LIBS $IOKIT_LIBS"
8093 for ac_func
in IOHIDManagerCreate
8095 ac_fn_c_check_func
"$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
8096 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes
; then :
8097 cat >>confdefs.h
<<_ACEOF
8098 #define HAVE_IOHIDMANAGERCREATE 1
8104 LIBS
="$ac_save_LIBS"
8106 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
8108 ac_save_LIBS
="$LIBS"
8109 LIBS
="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
8110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
8111 $as_echo_n "checking for the QuickTime framework... " >&6; }
8112 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8113 /* end confdefs.h. */
8114 #include <QuickTime/ImageCompression.h>
8118 CodecManagerVersion(NULL);
8123 if ac_fn_c_try_link
"$LINENO"; then :
8124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8125 $as_echo "yes" >&6; }
8126 QUICKTIME_LIBS
="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
8128 enable_wineqtdecoder
=${enable_wineqtdecoder:-yes}
8130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8131 $as_echo "no" >&6; }
8132 ac_cv_header_QuickTime_ImageCompression_h
=no
8134 rm -f core conftest.err conftest.
$ac_objext \
8135 conftest
$ac_exeext conftest.
$ac_ext
8136 LIBS
="$ac_save_LIBS"
8138 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"
8140 as_fn_append wine_notices
"|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
8142 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8144 CARBON_LIBS
="-framework Carbon"
8148 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
8150 ac_save_LIBS
="$LIBS"
8151 LIBS
="$LIBS $APPLICATIONSERVICES_LIBS"
8152 ac_fn_c_check_func
"$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
8153 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes
; then :
8154 enable_winemac_drv
=${enable_winemac_drv:-yes}
8157 LIBS
="$ac_save_LIBS"
8160 if test "x$enable_win16" = "xyes"
8162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
8163 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
8164 if test "$cross_compiling" = yes; then :
8165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
8166 $as_echo "cross-compiling, assuming yes" >&6; }
8168 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8169 /* end confdefs.h. */
8172 "good:\tnop;nop\n\t"
8173 ".globl _testfunc\n"
8174 "_testfunc:\tcallw good");
8175 extern void testfunc();
8179 unsigned short *p = (unsigned short *)testfunc;
8180 return p[0] != 0xe866 || p[1] != 0xfffa
8185 if ac_fn_c_try_run
"$LINENO"; then :
8186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8187 $as_echo "yes" >&6; }
8189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8190 $as_echo "no" >&6; }
8191 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
8193 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
8194 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
8199 libwine_targets
="libwine.dylib libwine.$libwine_soversion.dylib libwine.$libwine_version.dylib"
8201 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
8205 libwine.$libwine_version.dylib: \$(OBJS)
8206 \$(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 \$@
8208 libwine.$libwine_soversion.dylib: libwine.$libwine_version.dylib
8209 \$(RM) \$@ && \$(LN_S) libwine.$libwine_version.dylib \$@
8211 libwine.dylib: libwine.$libwine_soversion.dylib
8212 \$(RM) \$@ && \$(LN_S) libwine.$libwine_soversion.dylib \$@
8214 install install-lib:: libwine.$libwine_version.dylib
8215 \$(INSTALL_PROGRAM) libwine.$libwine_version.dylib \$(DESTDIR)\$(libdir)/libwine.$libwine_version.dylib
8216 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.$libwine_soversion.dylib && \$(LN_S) libwine.$libwine_version.dylib libwine.$libwine_soversion.dylib
8218 install install-dev::
8219 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib && \$(LN_S) libwine.$libwine_version.dylib libwine.dylib
8222 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib libwine.$libwine_soversion.dylib libwine.$libwine_version.dylib
8226 as_fn_append LOADER_RULES
"
8227 $wine_binary: main.o wine_info.plist
8228 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8230 wine-installed: main.o wine_info.plist
8231 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8236 DLLFLAGS
="$DLLFLAGS -fPIC"
8240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8241 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8242 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false
; then :
8243 $as_echo_n "(cached) " >&6
8245 ac_wine_try_cflags_saved
=$CFLAGS
8246 CFLAGS
="$CFLAGS -fPIC -Wl,--export-dynamic"
8247 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8248 /* end confdefs.h. */
8249 int main(int argc, char **argv) { return 0; }
8251 if ac_fn_c_try_link
"$LINENO"; then :
8252 ac_cv_cflags__fPIC__Wl___export_dynamic
=yes
8254 ac_cv_cflags__fPIC__Wl___export_dynamic
=no
8256 rm -f core conftest.err conftest.
$ac_objext \
8257 conftest
$ac_exeext conftest.
$ac_ext
8258 CFLAGS
=$ac_wine_try_cflags_saved
8260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8261 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8262 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes
; then :
8263 LDEXECFLAGS
="-Wl,--export-dynamic"
8265 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8267 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8268 if eval \
${$as_ac_var+:} false
; then :
8269 $as_echo_n "(cached) " >&6
8271 ac_wine_try_cflags_saved
=$CFLAGS
8272 CFLAGS
="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8273 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8274 /* end confdefs.h. */
8275 int main(int argc, char **argv) { return 0; }
8277 if ac_fn_c_try_link
"$LINENO"; then :
8278 eval "$as_ac_var=yes"
8280 eval "$as_ac_var=no"
8282 rm -f core conftest.err conftest.
$ac_objext \
8283 conftest
$ac_exeext conftest.
$ac_ext
8284 CFLAGS
=$ac_wine_try_cflags_saved
8286 eval ac_res
=\$
$as_ac_var
8287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8288 $as_echo "$ac_res" >&6; }
8289 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
8290 LDRPATH_INSTALL
="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8291 LDRPATH_LOCAL
="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8293 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8295 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8296 if eval \
${$as_ac_var+:} false
; then :
8297 $as_echo_n "(cached) " >&6
8299 ac_wine_try_cflags_saved
=$CFLAGS
8300 CFLAGS
="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8301 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8302 /* end confdefs.h. */
8303 int main(int argc, char **argv) { return 0; }
8305 if ac_fn_c_try_link
"$LINENO"; then :
8306 eval "$as_ac_var=yes"
8308 eval "$as_ac_var=no"
8310 rm -f core conftest.err conftest.
$ac_objext \
8311 conftest
$ac_exeext conftest.
$ac_ext
8312 CFLAGS
=$ac_wine_try_cflags_saved
8314 eval ac_res
=\$
$as_ac_var
8315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8316 $as_echo "$ac_res" >&6; }
8317 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
8318 LDRPATH_INSTALL
="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8319 LDRPATH_LOCAL
="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8324 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8325 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false
; then :
8326 $as_echo_n "(cached) " >&6
8328 ac_wine_try_cflags_saved
=$CFLAGS
8329 CFLAGS
="$CFLAGS -Wl,--enable-new-dtags"
8330 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8331 /* end confdefs.h. */
8332 int main(int argc, char **argv) { return 0; }
8334 if ac_fn_c_try_link
"$LINENO"; then :
8335 ac_cv_cflags__Wl___enable_new_dtags
=yes
8337 ac_cv_cflags__Wl___enable_new_dtags
=no
8339 rm -f core conftest.err conftest.
$ac_objext \
8340 conftest
$ac_exeext conftest.
$ac_ext
8341 CFLAGS
=$ac_wine_try_cflags_saved
8343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8344 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8345 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes
; then :
8346 LDRPATH_INSTALL
="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8350 *i
[3456789]86* | x86_64
)
8351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8352 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
8353 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false
; then :
8354 $as_echo_n "(cached) " >&6
8356 ac_wine_try_cflags_saved
=$CFLAGS
8357 CFLAGS
="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8358 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8359 /* end confdefs.h. */
8360 int main(int argc, char **argv) { return 0; }
8362 if ac_fn_c_try_link
"$LINENO"; then :
8363 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=yes
8365 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=no
8367 rm -f core conftest.err conftest.
$ac_objext \
8368 conftest
$ac_exeext conftest.
$ac_ext
8369 CFLAGS
=$ac_wine_try_cflags_saved
8371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8372 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8373 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" = xyes
; then :
8374 LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400"
8379 libwine_targets
="libwine.so"
8381 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
8385 libwine.so: \$(OBJS)
8386 \$(CC) -shared \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
8388 install install-lib:: libwine.so
8389 \$(INSTALL_PROGRAM) libwine.so \$(DESTDIR)\$(libdir)/libwine.so
8392 \$(RM) \$(DESTDIR)\$(libdir)/libwine.so
8396 as_fn_append LOADER_RULES
"
8397 $wine_binary: main.o
8398 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8400 wine-installed: main.o
8401 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8406 DLLFLAGS
="$DLLFLAGS -fPIC"
8408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
8409 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
8410 if ${ac_cv_c_dll_gnuelf+:} false
; then :
8411 $as_echo_n "(cached) " >&6
8413 ac_wine_try_cflags_saved
=$CFLAGS
8414 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8415 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8416 /* end confdefs.h. */
8419 if ac_fn_c_try_link
"$LINENO"; then :
8420 ac_cv_c_dll_gnuelf
="yes"
8422 ac_cv_c_dll_gnuelf
="no"
8424 rm -f core conftest.err conftest.
$ac_objext \
8425 conftest
$ac_exeext conftest.
$ac_ext
8426 CFLAGS
=$ac_wine_try_cflags_saved
8428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
8429 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
8430 if test "$ac_cv_c_dll_gnuelf" = "yes"
8432 LDSHARED
="\$(CC) -shared"
8433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8434 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
8435 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false
; then :
8436 $as_echo_n "(cached) " >&6
8438 ac_wine_try_cflags_saved
=$CFLAGS
8439 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8440 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8441 /* end confdefs.h. */
8442 int main(int argc, char **argv) { return 0; }
8444 if ac_fn_c_try_link
"$LINENO"; then :
8445 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1
=yes
8447 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1
=no
8449 rm -f core conftest.err conftest.
$ac_objext \
8450 conftest
$ac_exeext conftest.
$ac_ext
8451 CFLAGS
=$ac_wine_try_cflags_saved
8453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8454 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8455 if test "x$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" = xyes
; then :
8456 LDSHARED
="\$(CC) -shared -Wl,-soname,libwine.so.$libwine_soversion"
8458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8459 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
8460 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false
; then :
8461 $as_echo_n "(cached) " >&6
8463 ac_wine_try_cflags_saved
=$CFLAGS
8464 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8465 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8466 /* end confdefs.h. */
8467 int main(int argc, char **argv) { return 0; }
8469 if ac_fn_c_try_link
"$LINENO"; then :
8470 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1
=yes
8472 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1
=no
8474 rm -f core conftest.err conftest.
$ac_objext \
8475 conftest
$ac_exeext conftest.
$ac_ext
8476 CFLAGS
=$ac_wine_try_cflags_saved
8478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8479 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8480 if test "x$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" = xyes
; then :
8481 LDSHARED
="\$(CC) -shared -Wl,-h,libwine.so.$libwine_soversion"
8485 echo '{ global: *; };' >conftest.map
8486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8487 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
8488 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false
; then :
8489 $as_echo_n "(cached) " >&6
8491 ac_wine_try_cflags_saved
=$CFLAGS
8492 CFLAGS
="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8493 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8494 /* end confdefs.h. */
8495 int main(int argc, char **argv) { return 0; }
8497 if ac_fn_c_try_link
"$LINENO"; then :
8498 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map
=yes
8500 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map
=no
8502 rm -f core conftest.err conftest.
$ac_objext \
8503 conftest
$ac_exeext conftest.
$ac_ext
8504 CFLAGS
=$ac_wine_try_cflags_saved
8506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8507 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8508 if test "x$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" = xyes
; then :
8509 LDSHARED
="$LDSHARED -Wl,--version-script=\$(srcdir)/wine.map"
8513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8514 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8515 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false
; then :
8516 $as_echo_n "(cached) " >&6
8518 ac_wine_try_cflags_saved
=$CFLAGS
8519 CFLAGS
="$CFLAGS -fPIC -Wl,--export-dynamic"
8520 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8521 /* end confdefs.h. */
8522 int main(int argc, char **argv) { return 0; }
8524 if ac_fn_c_try_link
"$LINENO"; then :
8525 ac_cv_cflags__fPIC__Wl___export_dynamic
=yes
8527 ac_cv_cflags__fPIC__Wl___export_dynamic
=no
8529 rm -f core conftest.err conftest.
$ac_objext \
8530 conftest
$ac_exeext conftest.
$ac_ext
8531 CFLAGS
=$ac_wine_try_cflags_saved
8533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8534 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8535 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes
; then :
8536 LDEXECFLAGS
="-Wl,--export-dynamic"
8539 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8541 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8542 if eval \
${$as_ac_var+:} false
; then :
8543 $as_echo_n "(cached) " >&6
8545 ac_wine_try_cflags_saved
=$CFLAGS
8546 CFLAGS
="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8547 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8548 /* end confdefs.h. */
8549 int main(int argc, char **argv) { return 0; }
8551 if ac_fn_c_try_link
"$LINENO"; then :
8552 eval "$as_ac_var=yes"
8554 eval "$as_ac_var=no"
8556 rm -f core conftest.err conftest.
$ac_objext \
8557 conftest
$ac_exeext conftest.
$ac_ext
8558 CFLAGS
=$ac_wine_try_cflags_saved
8560 eval ac_res
=\$
$as_ac_var
8561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8562 $as_echo "$ac_res" >&6; }
8563 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
8564 LDRPATH_INSTALL
="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8565 LDRPATH_LOCAL
="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8567 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8569 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8570 if eval \
${$as_ac_var+:} false
; then :
8571 $as_echo_n "(cached) " >&6
8573 ac_wine_try_cflags_saved
=$CFLAGS
8574 CFLAGS
="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8575 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8576 /* end confdefs.h. */
8577 int main(int argc, char **argv) { return 0; }
8579 if ac_fn_c_try_link
"$LINENO"; then :
8580 eval "$as_ac_var=yes"
8582 eval "$as_ac_var=no"
8584 rm -f core conftest.err conftest.
$ac_objext \
8585 conftest
$ac_exeext conftest.
$ac_ext
8586 CFLAGS
=$ac_wine_try_cflags_saved
8588 eval ac_res
=\$
$as_ac_var
8589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8590 $as_echo "$ac_res" >&6; }
8591 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
8592 LDRPATH_INSTALL
="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8593 LDRPATH_LOCAL
="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8598 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8599 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false
; then :
8600 $as_echo_n "(cached) " >&6
8602 ac_wine_try_cflags_saved
=$CFLAGS
8603 CFLAGS
="$CFLAGS -Wl,--enable-new-dtags"
8604 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8605 /* end confdefs.h. */
8606 int main(int argc, char **argv) { return 0; }
8608 if ac_fn_c_try_link
"$LINENO"; then :
8609 ac_cv_cflags__Wl___enable_new_dtags
=yes
8611 ac_cv_cflags__Wl___enable_new_dtags
=no
8613 rm -f core conftest.err conftest.
$ac_objext \
8614 conftest
$ac_exeext conftest.
$ac_ext
8615 CFLAGS
=$ac_wine_try_cflags_saved
8617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8618 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8619 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes
; then :
8620 LDRPATH_INSTALL
="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8624 *i
[3456789]86* | x86_64
)
8625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8626 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
8627 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false
; then :
8628 $as_echo_n "(cached) " >&6
8630 ac_wine_try_cflags_saved
=$CFLAGS
8631 CFLAGS
="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8632 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8633 /* end confdefs.h. */
8634 int main(int argc, char **argv) { return 0; }
8636 if ac_fn_c_try_link
"$LINENO"; then :
8637 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=yes
8639 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=no
8641 rm -f core conftest.err conftest.
$ac_objext \
8642 conftest
$ac_exeext conftest.
$ac_ext
8643 CFLAGS
=$ac_wine_try_cflags_saved
8645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8646 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8647 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" = xyes
; then :
8649 freebsd
* | kfreebsd
*-gnu) LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x60000400" ;;
8650 *) LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400" ;;
8654 # Extract the first word of "prelink", so it can be a program name with args.
8655 set dummy prelink
; ac_word
=$2
8656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8657 $as_echo_n "checking for $ac_word... " >&6; }
8658 if ${ac_cv_path_PRELINK+:} false
; then :
8659 $as_echo_n "(cached) " >&6
8663 ac_cv_path_PRELINK
="$PRELINK" # Let the user override the test with a path.
8666 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8667 for as_dir
in /sbin
/usr
/sbin
$PATH
8670 test -z "$as_dir" && as_dir
=.
8671 for ac_exec_ext
in '' $ac_executable_extensions; do
8672 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8673 ac_cv_path_PRELINK
="$as_dir/$ac_word$ac_exec_ext"
8674 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8681 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK
="false"
8685 PRELINK
=$ac_cv_path_PRELINK
8686 if test -n "$PRELINK"; then
8687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
8688 $as_echo "$PRELINK" >&6; }
8690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8691 $as_echo "no" >&6; }
8695 if test "x$PRELINK" = xfalse
8697 as_fn_append wine_warnings
"|prelink not found, base address of core dlls won't be set correctly."
8703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
8704 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
8705 if ${ac_cv_c_dll_unixware+:} false
; then :
8706 $as_echo_n "(cached) " >&6
8708 ac_wine_try_cflags_saved
=$CFLAGS
8709 CFLAGS
="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
8710 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8711 /* end confdefs.h. */
8714 if ac_fn_c_try_link
"$LINENO"; then :
8715 ac_cv_c_dll_unixware
="yes"
8717 ac_cv_c_dll_unixware
="no"
8719 rm -f core conftest.err conftest.
$ac_objext \
8720 conftest
$ac_exeext conftest.
$ac_ext
8721 CFLAGS
=$ac_wine_try_cflags_saved
8723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
8724 $as_echo "$ac_cv_c_dll_unixware" >&6; }
8725 if test "$ac_cv_c_dll_unixware" = "yes"
8727 LDSHARED
="\$(CC) -Wl,-G,-h,libwine.so.$libwine_soversion"
8730 libwine_targets
="libwine.so libwine.so.$libwine_soversion libwine.so.$libwine_version"
8732 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
8736 libwine.so.$libwine_version: \$(OBJS) \$(srcdir)/wine.map
8737 $LDSHARED \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
8739 libwine.so.$libwine_soversion: libwine.so.$libwine_version
8740 \$(RM) \$@ && \$(LN_S) libwine.so.$libwine_version \$@
8742 libwine.so: libwine.so.$libwine_soversion
8743 \$(RM) \$@ && \$(LN_S) libwine.so.$libwine_soversion \$@
8745 install install-lib:: libwine.so.$libwine_version
8746 \$(INSTALL_PROGRAM) libwine.so.$libwine_version \$(DESTDIR)\$(libdir)/libwine.so.$libwine_version
8747 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so.$libwine_soversion && \$(LN_S) libwine.so.$libwine_version libwine.so.$libwine_soversion
8749 install install-dev::
8750 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so && \$(LN_S) libwine.so.$libwine_version libwine.so
8753 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so libwine.so.$libwine_soversion libwine.so.$libwine_version
8757 as_fn_append LOADER_RULES
"
8758 $wine_binary: main.o
8759 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8761 wine-installed: main.o
8762 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8767 as_fn_append LIBWINE_RULES
"
8768 EXTRA_TARGETS = $libwine_targets
8771 enable_wineqtdecoder
=${enable_wineqtdecoder:-no}
8772 enable_winemac_drv
=${enable_winemac_drv:-no}
8776 if test "$cross_compiling" = "no" -a "x$enable_tests" != xno
-a "$LIBEXT" != "dll"
8780 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
8783 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 " ;;
8785 ac_prefix_list
="" ;;
8787 for ac_prog
in $ac_prefix_list
8789 # Extract the first word of "$ac_prog", so it can be a program name with args.
8790 set dummy
$ac_prog; ac_word
=$2
8791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8792 $as_echo_n "checking for $ac_word... " >&6; }
8793 if ${ac_cv_prog_CROSSCC+:} false
; then :
8794 $as_echo_n "(cached) " >&6
8796 if test -n "$CROSSCC"; then
8797 ac_cv_prog_CROSSCC
="$CROSSCC" # Let the user override the test.
8799 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8803 test -z "$as_dir" && as_dir
=.
8804 for ac_exec_ext
in '' $ac_executable_extensions; do
8805 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8806 ac_cv_prog_CROSSCC
="$ac_prog"
8807 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8816 CROSSCC
=$ac_cv_prog_CROSSCC
8817 if test -n "$CROSSCC"; then
8818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
8819 $as_echo "$CROSSCC" >&6; }
8821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8822 $as_echo "no" >&6; }
8826 test -n "$CROSSCC" && break
8828 test -n "$CROSSCC" || CROSSCC
="false"
8830 if test "$CROSSCC" != "false"
8834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
8835 $as_echo_n "checking whether $CROSSCC works... " >&6; }
8836 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8837 /* end confdefs.h. */
8847 if ac_fn_c_try_compile
"$LINENO"; then :
8848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8849 $as_echo "yes" >&6; }
8855 *-gcc) CROSSTARGET
=`expr "$1" : '\(.*\)-gcc'` ;;
8860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8861 $as_echo "no" >&6; }
8863 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8869 if test "$ac_cv_header_pthread_h" = "yes"
8871 ac_fn_c_check_func
"$LINENO" "pthread_create" "ac_cv_func_pthread_create"
8872 if test "x$ac_cv_func_pthread_create" = xyes
; then :
8875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
8876 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
8877 if ${ac_cv_lib_pthread_pthread_create+:} false
; then :
8878 $as_echo_n "(cached) " >&6
8880 ac_check_lib_save_LIBS
=$LIBS
8881 LIBS
="-lpthread $LIBS"
8882 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8883 /* end confdefs.h. */
8885 /* Override any GCC internal prototype to avoid an error.
8886 Use char because int might match the return type of a GCC
8887 builtin and then its argument prototype would still apply. */
8891 char pthread_create ();
8895 return pthread_create ();
8900 if ac_fn_c_try_link
"$LINENO"; then :
8901 ac_cv_lib_pthread_pthread_create
=yes
8903 ac_cv_lib_pthread_pthread_create
=no
8905 rm -f core conftest.err conftest.
$ac_objext \
8906 conftest
$ac_exeext conftest.
$ac_ext
8907 LIBS
=$ac_check_lib_save_LIBS
8909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
8910 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
8911 if test "x$ac_cv_lib_pthread_pthread_create" = xyes
; then :
8912 PTHREAD_LIBS
="-lpthread"
8919 if test "x$ac_cv_func_pthread_create" != xyes
-a "x$PTHREAD_LIBS" = x
; then :
8920 case "x$with_pthread" in
8922 *) as_fn_error $?
"pthread ${notice_platform}development files not found.
8923 Wine cannot support threads without libpthread.
8924 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
8929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
8930 $as_echo_n "checking for X... " >&6; }
8933 # Check whether --with-x was given.
8934 if test "${with_x+set}" = set; then :
8938 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
8939 if test "x$with_x" = xno
; then
8940 # The user explicitly disabled X.
8943 case $x_includes,$x_libraries in #(
8944 *\'*) as_fn_error $?
"cannot use X directory names containing '" "$LINENO" 5;; #(
8945 *,NONE | NONE
,*) if ${ac_cv_have_x+:} false
; then :
8946 $as_echo_n "(cached) " >&6
8948 # One or both of the vars are not set, and there is no cached value.
8949 ac_x_includes
=no ac_x_libraries
=no
8950 rm -f -r conftest.dir
8951 if mkdir conftest.dir
; then
8953 cat >Imakefile
<<'_ACEOF'
8955 @echo incroot='${INCROOT}'
8957 @echo usrlibdir='${USRLIBDIR}'
8959 @echo libdir='${LIBDIR}'
8961 if (export CC
; ${XMKMF-xmkmf}) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
8962 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
8963 for ac_var
in incroot usrlibdir libdir
; do
8964 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
8966 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
8967 for ac_extension
in a so sl dylib la dll
; do
8968 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
8969 test -f "$ac_im_libdir/libX11.$ac_extension"; then
8970 ac_im_usrlibdir
=$ac_im_libdir; break
8973 # Screen out bogus values from the imake configuration. They are
8974 # bogus both because they are the default anyway, and because
8975 # using them would break gcc on systems where it needs fixed includes.
8976 case $ac_im_incroot in
8977 /usr
/include
) ac_x_includes
= ;;
8978 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
8980 case $ac_im_usrlibdir in
8981 /usr
/lib |
/usr
/lib64 |
/lib |
/lib64
) ;;
8982 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
8986 rm -f -r conftest.dir
8989 # Standard set of common directories for X headers.
8990 # Check X11 before X11Rn because it is often a symlink to the current release.
9004 /usr/local/X11/include
9005 /usr/local/X11R7/include
9006 /usr/local/X11R6/include
9007 /usr/local/X11R5/include
9008 /usr/local/X11R4/include
9010 /usr/local/include/X11
9011 /usr/local/include/X11R7
9012 /usr/local/include/X11R6
9013 /usr/local/include/X11R5
9014 /usr/local/include/X11R4
9018 /usr/XFree86/include/X11
9022 /usr/unsupported/include
9024 /usr/local/x11r5/include
9025 /usr/lpp/Xamples/include
9027 /usr/openwin/include
9028 /usr/openwin/share/include'
9030 if test "$ac_x_includes" = no
; then
9031 # Guess where to find include files, by looking for Xlib.h.
9032 # First, try using that file with no special directory specified.
9033 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9034 /* end confdefs.h. */
9035 #include <X11/Xlib.h>
9037 if ac_fn_c_try_cpp
"$LINENO"; then :
9038 # We can compile using X headers with no special include directory.
9041 for ac_dir
in $ac_x_header_dirs; do
9042 if test -r "$ac_dir/X11/Xlib.h"; then
9043 ac_x_includes
=$ac_dir
9048 rm -f conftest.err conftest.i conftest.
$ac_ext
9049 fi # $ac_x_includes = no
9051 if test "$ac_x_libraries" = no
; then
9052 # Check for the libraries.
9053 # See if we find them without any special options.
9054 # Don't add to $LIBS permanently.
9057 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9058 /* end confdefs.h. */
9059 #include <X11/Xlib.h>
9068 if ac_fn_c_try_link
"$LINENO"; then :
9070 # We can link X programs with no special library path.
9074 for ac_dir
in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
9076 # Don't even attempt the hair of trying to link an X program!
9077 for ac_extension
in a so sl dylib la dll
; do
9078 if test -r "$ac_dir/libX11.$ac_extension"; then
9079 ac_x_libraries
=$ac_dir
9085 rm -f core conftest.err conftest.
$ac_objext \
9086 conftest
$ac_exeext conftest.
$ac_ext
9087 fi # $ac_x_libraries = no
9089 case $ac_x_includes,$ac_x_libraries in #(
9091 # Didn't find X, or a directory has "'" in its name.
9092 ac_cv_have_x
="have_x=no";; #(
9094 # Record where we found X for the cache.
9095 ac_cv_have_x
="have_x=yes\
9096 ac_x_includes='$ac_x_includes'\
9097 ac_x_libraries='$ac_x_libraries'"
9103 eval "$ac_cv_have_x"
9106 if test "$have_x" != yes; then
9107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
9108 $as_echo "$have_x" >&6; }
9111 # If each of the values was on the command line, it overrides each guess.
9112 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
9113 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
9114 # Update the cache value to reflect the command line values.
9115 ac_cv_have_x
="have_x=yes\
9116 ac_x_includes='$x_includes'\
9117 ac_x_libraries='$x_libraries'"
9118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
9119 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
9122 if test "$no_x" = yes; then
9123 # Not all programs may use this symbol, but it does not hurt to define it.
9125 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
9127 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
9129 if test -n "$x_includes"; then
9130 X_CFLAGS
="$X_CFLAGS -I$x_includes"
9133 # It would also be nice to do this for all -L options, not just this one.
9134 if test -n "$x_libraries"; then
9135 X_LIBS
="$X_LIBS -L$x_libraries"
9136 # For Solaris; some versions of Sun CC require a space after -R and
9137 # others require no space. Words are not sufficient . . . .
9138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
9139 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
9140 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
9141 ac_xsave_c_werror_flag
=$ac_c_werror_flag
9142 ac_c_werror_flag
=yes
9143 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9144 /* end confdefs.h. */
9154 if ac_fn_c_try_link
"$LINENO"; then :
9155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9156 $as_echo "no" >&6; }
9157 X_LIBS
="$X_LIBS -R$x_libraries"
9159 LIBS
="$ac_xsave_LIBS -R $x_libraries"
9160 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9161 /* end confdefs.h. */
9171 if ac_fn_c_try_link
"$LINENO"; then :
9172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9173 $as_echo "yes" >&6; }
9174 X_LIBS
="$X_LIBS -R $x_libraries"
9176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
9177 $as_echo "neither works" >&6; }
9179 rm -f core conftest.err conftest.
$ac_objext \
9180 conftest
$ac_exeext conftest.
$ac_ext
9182 rm -f core conftest.err conftest.
$ac_objext \
9183 conftest
$ac_exeext conftest.
$ac_ext
9184 ac_c_werror_flag
=$ac_xsave_c_werror_flag
9188 # Check for system-dependent libraries X programs must link with.
9189 # Do this before checking for the system-independent R6 libraries
9190 # (-lICE), since we may need -lsocket or whatever for X linking.
9192 if test "$ISC" = yes; then
9193 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
9195 # Martyn Johnson says this is needed for Ultrix, if the X
9196 # libraries were built with DECnet support. And Karl Berry says
9197 # the Alpha needs dnet_stub (dnet does not exist).
9198 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
9199 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9200 /* end confdefs.h. */
9202 /* Override any GCC internal prototype to avoid an error.
9203 Use char because int might match the return type of a GCC
9204 builtin and then its argument prototype would still apply. */
9208 char XOpenDisplay ();
9212 return XOpenDisplay ();
9217 if ac_fn_c_try_link
"$LINENO"; then :
9220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
9221 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
9222 if ${ac_cv_lib_dnet_dnet_ntoa+:} false
; then :
9223 $as_echo_n "(cached) " >&6
9225 ac_check_lib_save_LIBS
=$LIBS
9227 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9228 /* end confdefs.h. */
9230 /* Override any GCC internal prototype to avoid an error.
9231 Use char because int might match the return type of a GCC
9232 builtin and then its argument prototype would still apply. */
9240 return dnet_ntoa ();
9245 if ac_fn_c_try_link
"$LINENO"; then :
9246 ac_cv_lib_dnet_dnet_ntoa
=yes
9248 ac_cv_lib_dnet_dnet_ntoa
=no
9250 rm -f core conftest.err conftest.
$ac_objext \
9251 conftest
$ac_exeext conftest.
$ac_ext
9252 LIBS
=$ac_check_lib_save_LIBS
9254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
9255 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
9256 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes
; then :
9257 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
9260 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
9261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
9262 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
9263 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false
; then :
9264 $as_echo_n "(cached) " >&6
9266 ac_check_lib_save_LIBS
=$LIBS
9267 LIBS
="-ldnet_stub $LIBS"
9268 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9269 /* end confdefs.h. */
9271 /* Override any GCC internal prototype to avoid an error.
9272 Use char because int might match the return type of a GCC
9273 builtin and then its argument prototype would still apply. */
9281 return dnet_ntoa ();
9286 if ac_fn_c_try_link
"$LINENO"; then :
9287 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
9289 ac_cv_lib_dnet_stub_dnet_ntoa
=no
9291 rm -f core conftest.err conftest.
$ac_objext \
9292 conftest
$ac_exeext conftest.
$ac_ext
9293 LIBS
=$ac_check_lib_save_LIBS
9295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
9296 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
9297 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes
; then :
9298 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
9303 rm -f core conftest.err conftest.
$ac_objext \
9304 conftest
$ac_exeext conftest.
$ac_ext
9305 LIBS
="$ac_xsave_LIBS"
9307 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
9308 # to get the SysV transport functions.
9309 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
9311 # The nsl library prevents programs from opening the X display
9312 # on Irix 5.2, according to T.E. Dickey.
9313 # The functions gethostbyname, getservbyname, and inet_addr are
9314 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
9315 ac_fn_c_check_func
"$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
9316 if test "x$ac_cv_func_gethostbyname" = xyes
; then :
9320 if test $ac_cv_func_gethostbyname = no
; then
9321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
9322 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
9323 if ${ac_cv_lib_nsl_gethostbyname+:} false
; then :
9324 $as_echo_n "(cached) " >&6
9326 ac_check_lib_save_LIBS
=$LIBS
9328 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9329 /* end confdefs.h. */
9331 /* Override any GCC internal prototype to avoid an error.
9332 Use char because int might match the return type of a GCC
9333 builtin and then its argument prototype would still apply. */
9337 char gethostbyname ();
9341 return gethostbyname ();
9346 if ac_fn_c_try_link
"$LINENO"; then :
9347 ac_cv_lib_nsl_gethostbyname
=yes
9349 ac_cv_lib_nsl_gethostbyname
=no
9351 rm -f core conftest.err conftest.
$ac_objext \
9352 conftest
$ac_exeext conftest.
$ac_ext
9353 LIBS
=$ac_check_lib_save_LIBS
9355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
9356 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
9357 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes
; then :
9358 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
9361 if test $ac_cv_lib_nsl_gethostbyname = no
; then
9362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
9363 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
9364 if ${ac_cv_lib_bsd_gethostbyname+:} false
; then :
9365 $as_echo_n "(cached) " >&6
9367 ac_check_lib_save_LIBS
=$LIBS
9369 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9370 /* end confdefs.h. */
9372 /* Override any GCC internal prototype to avoid an error.
9373 Use char because int might match the return type of a GCC
9374 builtin and then its argument prototype would still apply. */
9378 char gethostbyname ();
9382 return gethostbyname ();
9387 if ac_fn_c_try_link
"$LINENO"; then :
9388 ac_cv_lib_bsd_gethostbyname
=yes
9390 ac_cv_lib_bsd_gethostbyname
=no
9392 rm -f core conftest.err conftest.
$ac_objext \
9393 conftest
$ac_exeext conftest.
$ac_ext
9394 LIBS
=$ac_check_lib_save_LIBS
9396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
9397 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
9398 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes
; then :
9399 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
9405 # lieder@skyler.mavd.honeywell.com says without -lsocket,
9406 # socket/setsockopt and other routines are undefined under SCO ODT
9407 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
9408 # on later versions), says Simon Leinen: it contains gethostby*
9409 # variants that don't use the name server (or something). -lsocket
9410 # must be given before -lnsl if both are needed. We assume that
9411 # if connect needs -lnsl, so does gethostbyname.
9412 ac_fn_c_check_func
"$LINENO" "connect" "ac_cv_func_connect"
9413 if test "x$ac_cv_func_connect" = xyes
; then :
9417 if test $ac_cv_func_connect = no
; then
9418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
9419 $as_echo_n "checking for connect in -lsocket... " >&6; }
9420 if ${ac_cv_lib_socket_connect+:} false
; then :
9421 $as_echo_n "(cached) " >&6
9423 ac_check_lib_save_LIBS
=$LIBS
9424 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
9425 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9426 /* end confdefs.h. */
9428 /* Override any GCC internal prototype to avoid an error.
9429 Use char because int might match the return type of a GCC
9430 builtin and then its argument prototype would still apply. */
9443 if ac_fn_c_try_link
"$LINENO"; then :
9444 ac_cv_lib_socket_connect
=yes
9446 ac_cv_lib_socket_connect
=no
9448 rm -f core conftest.err conftest.
$ac_objext \
9449 conftest
$ac_exeext conftest.
$ac_ext
9450 LIBS
=$ac_check_lib_save_LIBS
9452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
9453 $as_echo "$ac_cv_lib_socket_connect" >&6; }
9454 if test "x$ac_cv_lib_socket_connect" = xyes
; then :
9455 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
9460 # Guillermo Gomez says -lposix is necessary on A/UX.
9461 ac_fn_c_check_func
"$LINENO" "remove" "ac_cv_func_remove"
9462 if test "x$ac_cv_func_remove" = xyes
; then :
9466 if test $ac_cv_func_remove = no
; then
9467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
9468 $as_echo_n "checking for remove in -lposix... " >&6; }
9469 if ${ac_cv_lib_posix_remove+:} false
; then :
9470 $as_echo_n "(cached) " >&6
9472 ac_check_lib_save_LIBS
=$LIBS
9473 LIBS
="-lposix $LIBS"
9474 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9475 /* end confdefs.h. */
9477 /* Override any GCC internal prototype to avoid an error.
9478 Use char because int might match the return type of a GCC
9479 builtin and then its argument prototype would still apply. */
9492 if ac_fn_c_try_link
"$LINENO"; then :
9493 ac_cv_lib_posix_remove
=yes
9495 ac_cv_lib_posix_remove
=no
9497 rm -f core conftest.err conftest.
$ac_objext \
9498 conftest
$ac_exeext conftest.
$ac_ext
9499 LIBS
=$ac_check_lib_save_LIBS
9501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
9502 $as_echo "$ac_cv_lib_posix_remove" >&6; }
9503 if test "x$ac_cv_lib_posix_remove" = xyes
; then :
9504 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
9509 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
9510 ac_fn_c_check_func
"$LINENO" "shmat" "ac_cv_func_shmat"
9511 if test "x$ac_cv_func_shmat" = xyes
; then :
9515 if test $ac_cv_func_shmat = no
; then
9516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
9517 $as_echo_n "checking for shmat in -lipc... " >&6; }
9518 if ${ac_cv_lib_ipc_shmat+:} false
; then :
9519 $as_echo_n "(cached) " >&6
9521 ac_check_lib_save_LIBS
=$LIBS
9523 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9524 /* end confdefs.h. */
9526 /* Override any GCC internal prototype to avoid an error.
9527 Use char because int might match the return type of a GCC
9528 builtin and then its argument prototype would still apply. */
9541 if ac_fn_c_try_link
"$LINENO"; then :
9542 ac_cv_lib_ipc_shmat
=yes
9544 ac_cv_lib_ipc_shmat
=no
9546 rm -f core conftest.err conftest.
$ac_objext \
9547 conftest
$ac_exeext conftest.
$ac_ext
9548 LIBS
=$ac_check_lib_save_LIBS
9550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
9551 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
9552 if test "x$ac_cv_lib_ipc_shmat" = xyes
; then :
9553 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
9559 # Check for libraries that X11R6 Xt/Xaw programs need.
9560 ac_save_LDFLAGS
=$LDFLAGS
9561 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
9562 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
9563 # check for ICE first), but we must link in the order -lSM -lICE or
9564 # we get undefined symbols. So assume we have SM if we have ICE.
9565 # These have to be linked with before -lX11, unlike the other
9566 # libraries we check for below, so use a different variable.
9567 # John Interrante, Karl Berry
9568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
9569 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
9570 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false
; then :
9571 $as_echo_n "(cached) " >&6
9573 ac_check_lib_save_LIBS
=$LIBS
9574 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
9575 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9576 /* end confdefs.h. */
9578 /* Override any GCC internal prototype to avoid an error.
9579 Use char because int might match the return type of a GCC
9580 builtin and then its argument prototype would still apply. */
9584 char IceConnectionNumber ();
9588 return IceConnectionNumber ();
9593 if ac_fn_c_try_link
"$LINENO"; then :
9594 ac_cv_lib_ICE_IceConnectionNumber
=yes
9596 ac_cv_lib_ICE_IceConnectionNumber
=no
9598 rm -f core conftest.err conftest.
$ac_objext \
9599 conftest
$ac_exeext conftest.
$ac_ext
9600 LIBS
=$ac_check_lib_save_LIBS
9602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
9603 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
9604 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes
; then :
9605 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
9608 LDFLAGS
=$ac_save_LDFLAGS
9613 if test "$have_x" = "yes"
9615 ac_save_CPPFLAGS
="$CPPFLAGS"
9616 CPPFLAGS
="$CPPFLAGS $X_CFLAGS"
9618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
9619 $as_echo_n "checking for -lX11... " >&6; }
9620 if ${ac_cv_lib_soname_X11+:} false
; then :
9621 $as_echo_n "(cached) " >&6
9623 ac_check_soname_save_LIBS
=$LIBS
9624 LIBS
="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9625 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9626 /* end confdefs.h. */
9628 /* Override any GCC internal prototype to avoid an error.
9629 Use char because int might match the return type of a GCC
9630 builtin and then its argument prototype would still apply. */
9634 char XCreateWindow ();
9638 return XCreateWindow ();
9643 if ac_fn_c_try_link
"$LINENO"; then :
9645 dll
) ac_cv_lib_soname_X11
=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9646 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'` ;;
9647 *) ac_cv_lib_soname_X11
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9648 if ${ac_cv_lib_soname_X11:+false} :; then :
9649 ac_cv_lib_soname_X11
=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9653 rm -f core conftest.err conftest.
$ac_objext \
9654 conftest
$ac_exeext conftest.
$ac_ext
9655 LIBS
=$ac_check_soname_save_LIBS
9657 if ${ac_cv_lib_soname_X11:+false} :; then :
9658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9659 $as_echo "not found" >&6; }
9662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
9663 $as_echo "$ac_cv_lib_soname_X11" >&6; }
9665 cat >>confdefs.h
<<_ACEOF
9666 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
9672 $as_echo_n "checking for -lXext... " >&6; }
9673 if ${ac_cv_lib_soname_Xext+:} false
; then :
9674 $as_echo_n "(cached) " >&6
9676 ac_check_soname_save_LIBS
=$LIBS
9677 LIBS
="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9678 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9679 /* end confdefs.h. */
9681 /* Override any GCC internal prototype to avoid an error.
9682 Use char because int might match the return type of a GCC
9683 builtin and then its argument prototype would still apply. */
9687 char XextCreateExtension ();
9691 return XextCreateExtension ();
9696 if ac_fn_c_try_link
"$LINENO"; then :
9698 dll
) ac_cv_lib_soname_Xext
=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9699 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'` ;;
9700 *) ac_cv_lib_soname_Xext
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9701 if ${ac_cv_lib_soname_Xext:+false} :; then :
9702 ac_cv_lib_soname_Xext
=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9706 rm -f core conftest.err conftest.
$ac_objext \
9707 conftest
$ac_exeext conftest.
$ac_ext
9708 LIBS
=$ac_check_soname_save_LIBS
9710 if ${ac_cv_lib_soname_Xext:+false} :; then :
9711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9712 $as_echo "not found" >&6; }
9715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
9716 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
9718 cat >>confdefs.h
<<_ACEOF
9719 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9722 X_LIBS
="$X_LIBS -lXext"
9724 X_LIBS
="$X_LIBS -lX11"
9726 for ac_header
in X11
/Xlib.h \
9729 X11
/Xcursor
/Xcursor.h \
9730 X11
/extensions
/shape.h \
9731 X11
/extensions
/XInput.h \
9732 X11
/extensions
/XInput2.h \
9733 X11
/extensions
/XShm.h \
9734 X11
/extensions
/Xcomposite.h \
9735 X11
/extensions
/Xinerama.h \
9736 X11
/extensions
/Xrandr.h \
9737 X11
/extensions
/Xrender.h \
9738 X11
/extensions
/xf86vmode.h \
9739 X11
/extensions
/xf86vmproto.h
9741 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9742 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
9743 # include <X11/Xlib.h>
9745 #ifdef HAVE_X11_XUTIL_H
9746 # include <X11/Xutil.h>
9749 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
9750 cat >>confdefs.h
<<_ACEOF
9751 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9759 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
9762 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
9763 if ${ac_cv_lib_X11_XkbQueryExtension+:} false
; then :
9764 $as_echo_n "(cached) " >&6
9766 ac_check_lib_save_LIBS
=$LIBS
9767 LIBS
="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9768 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9769 /* end confdefs.h. */
9771 /* Override any GCC internal prototype to avoid an error.
9772 Use char because int might match the return type of a GCC
9773 builtin and then its argument prototype would still apply. */
9777 char XkbQueryExtension ();
9781 return XkbQueryExtension ();
9786 if ac_fn_c_try_link
"$LINENO"; then :
9787 ac_cv_lib_X11_XkbQueryExtension
=yes
9789 ac_cv_lib_X11_XkbQueryExtension
=no
9791 rm -f core conftest.err conftest.
$ac_objext \
9792 conftest
$ac_exeext conftest.
$ac_ext
9793 LIBS
=$ac_check_lib_save_LIBS
9795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9796 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9797 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes
; then :
9799 $as_echo "#define HAVE_XKB 1" >>confdefs.h
9805 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
9808 $as_echo_n "checking for -lXcursor... " >&6; }
9809 if ${ac_cv_lib_soname_Xcursor+:} false
; then :
9810 $as_echo_n "(cached) " >&6
9812 ac_check_soname_save_LIBS
=$LIBS
9813 LIBS
="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
9814 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9815 /* end confdefs.h. */
9817 /* Override any GCC internal prototype to avoid an error.
9818 Use char because int might match the return type of a GCC
9819 builtin and then its argument prototype would still apply. */
9823 char XcursorImageLoadCursor ();
9827 return XcursorImageLoadCursor ();
9832 if ac_fn_c_try_link
"$LINENO"; then :
9834 dll
) ac_cv_lib_soname_Xcursor
=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9835 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'` ;;
9836 *) ac_cv_lib_soname_Xcursor
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9837 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9838 ac_cv_lib_soname_Xcursor
=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9842 rm -f core conftest.err conftest.
$ac_objext \
9843 conftest
$ac_exeext conftest.
$ac_ext
9844 LIBS
=$ac_check_soname_save_LIBS
9846 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9848 $as_echo "not found" >&6; }
9851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
9852 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
9854 cat >>confdefs.h
<<_ACEOF
9855 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9861 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
9862 case "x$with_xcursor" in
9863 x
) as_fn_append wine_notices
"|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
9865 *) as_fn_error $?
"libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
9866 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
9870 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
9873 $as_echo_n "checking for -lXi... " >&6; }
9874 if ${ac_cv_lib_soname_Xi+:} false
; then :
9875 $as_echo_n "(cached) " >&6
9877 ac_check_soname_save_LIBS
=$LIBS
9878 LIBS
="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
9879 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9880 /* end confdefs.h. */
9882 /* Override any GCC internal prototype to avoid an error.
9883 Use char because int might match the return type of a GCC
9884 builtin and then its argument prototype would still apply. */
9888 char XOpenDevice ();
9892 return XOpenDevice ();
9897 if ac_fn_c_try_link
"$LINENO"; then :
9899 dll
) ac_cv_lib_soname_Xi
=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9900 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'` ;;
9901 *) ac_cv_lib_soname_Xi
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9902 if ${ac_cv_lib_soname_Xi:+false} :; then :
9903 ac_cv_lib_soname_Xi
=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9907 rm -f core conftest.err conftest.
$ac_objext \
9908 conftest
$ac_exeext conftest.
$ac_ext
9909 LIBS
=$ac_check_soname_save_LIBS
9911 if ${ac_cv_lib_soname_Xi:+false} :; then :
9912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9913 $as_echo "not found" >&6; }
9916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
9917 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
9919 cat >>confdefs.h
<<_ACEOF
9920 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
9926 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
9927 case "x$with_xinput" in
9928 x
) as_fn_append wine_notices
"|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
9930 *) as_fn_error $?
"libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
9931 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
9935 if test "x$ac_cv_lib_soname_Xi" != x
9937 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
9938 case "x$with_xinput2" in
9939 x
) as_fn_append wine_notices
"|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
9941 *) as_fn_error $?
"XInput2 headers not found, the XInput 2 extension won't be supported.
9942 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
9947 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
9949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
9950 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
9951 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false
; then :
9952 $as_echo_n "(cached) " >&6
9954 ac_check_lib_save_LIBS
=$LIBS
9955 LIBS
="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
9956 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9957 /* end confdefs.h. */
9959 /* Override any GCC internal prototype to avoid an error.
9960 Use char because int might match the return type of a GCC
9961 builtin and then its argument prototype would still apply. */
9965 char XShmQueryExtension ();
9969 return XShmQueryExtension ();
9974 if ac_fn_c_try_link
"$LINENO"; then :
9975 ac_cv_lib_Xext_XShmQueryExtension
=yes
9977 ac_cv_lib_Xext_XShmQueryExtension
=no
9979 rm -f core conftest.err conftest.
$ac_objext \
9980 conftest
$ac_exeext conftest.
$ac_ext
9981 LIBS
=$ac_check_lib_save_LIBS
9983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
9984 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
9985 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes
; then :
9987 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
9992 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
9993 case "x$with_xshm" in
9994 x
) as_fn_append wine_notices
"|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
9996 *) as_fn_error $?
"XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
9997 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
10001 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
10003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
10004 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
10005 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false
; then :
10006 $as_echo_n "(cached) " >&6
10008 ac_check_lib_save_LIBS
=$LIBS
10009 LIBS
="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
10010 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10011 /* end confdefs.h. */
10013 /* Override any GCC internal prototype to avoid an error.
10014 Use char because int might match the return type of a GCC
10015 builtin and then its argument prototype would still apply. */
10019 char XShapeQueryExtension ();
10023 return XShapeQueryExtension ();
10028 if ac_fn_c_try_link
"$LINENO"; then :
10029 ac_cv_lib_Xext_XShapeQueryExtension
=yes
10031 ac_cv_lib_Xext_XShapeQueryExtension
=no
10033 rm -f core conftest.err conftest.
$ac_objext \
10034 conftest
$ac_exeext conftest.
$ac_ext
10035 LIBS
=$ac_check_lib_save_LIBS
10037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
10038 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
10039 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes
; then :
10041 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
10046 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
10047 case "x$with_xshape" in
10048 x
) as_fn_append wine_notices
"|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
10050 *) as_fn_error $?
"XShape ${notice_platform}development files not found, XShape won't be supported.
10051 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
10055 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
10057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
10058 $as_echo_n "checking for -lXxf86vm... " >&6; }
10059 if ${ac_cv_lib_soname_Xxf86vm+:} false
; then :
10060 $as_echo_n "(cached) " >&6
10062 ac_check_soname_save_LIBS
=$LIBS
10063 LIBS
="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
10064 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10065 /* end confdefs.h. */
10067 /* Override any GCC internal prototype to avoid an error.
10068 Use char because int might match the return type of a GCC
10069 builtin and then its argument prototype would still apply. */
10073 char XF86VidModeQueryExtension ();
10077 return XF86VidModeQueryExtension ();
10082 if ac_fn_c_try_link
"$LINENO"; then :
10084 dll
) ac_cv_lib_soname_Xxf86vm
=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10085 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'` ;;
10086 *) ac_cv_lib_soname_Xxf86vm
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10087 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10088 ac_cv_lib_soname_Xxf86vm
=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10092 rm -f core conftest.err conftest.
$ac_objext \
10093 conftest
$ac_exeext conftest.
$ac_ext
10094 LIBS
=$ac_check_soname_save_LIBS
10096 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10098 $as_echo "not found" >&6; }
10101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
10102 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
10104 cat >>confdefs.h
<<_ACEOF
10105 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
10111 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
10112 case "x$with_xxf86vm" in
10113 x
) as_fn_append wine_notices
"|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
10115 *) as_fn_error $?
"libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
10116 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
10120 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
10122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
10123 $as_echo_n "checking for -lXrender... " >&6; }
10124 if ${ac_cv_lib_soname_Xrender+:} false
; then :
10125 $as_echo_n "(cached) " >&6
10127 ac_check_soname_save_LIBS
=$LIBS
10128 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10129 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10130 /* end confdefs.h. */
10132 /* Override any GCC internal prototype to avoid an error.
10133 Use char because int might match the return type of a GCC
10134 builtin and then its argument prototype would still apply. */
10138 char XRenderQueryExtension ();
10142 return XRenderQueryExtension ();
10147 if ac_fn_c_try_link
"$LINENO"; then :
10149 dll
) ac_cv_lib_soname_Xrender
=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10150 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'` ;;
10151 *) ac_cv_lib_soname_Xrender
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10152 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10153 ac_cv_lib_soname_Xrender
=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10157 rm -f core conftest.err conftest.
$ac_objext \
10158 conftest
$ac_exeext conftest.
$ac_ext
10159 LIBS
=$ac_check_soname_save_LIBS
10161 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10163 $as_echo "not found" >&6; }
10166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
10167 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
10169 cat >>confdefs.h
<<_ACEOF
10170 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
10173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
10174 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
10175 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false
; then :
10176 $as_echo_n "(cached) " >&6
10178 ac_check_lib_save_LIBS
=$LIBS
10179 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10180 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10181 /* end confdefs.h. */
10183 /* Override any GCC internal prototype to avoid an error.
10184 Use char because int might match the return type of a GCC
10185 builtin and then its argument prototype would still apply. */
10189 char XRenderSetPictureTransform ();
10193 return XRenderSetPictureTransform ();
10198 if ac_fn_c_try_link
"$LINENO"; then :
10199 ac_cv_lib_Xrender_XRenderSetPictureTransform
=yes
10201 ac_cv_lib_Xrender_XRenderSetPictureTransform
=no
10203 rm -f core conftest.err conftest.
$ac_objext \
10204 conftest
$ac_exeext conftest.
$ac_ext
10205 LIBS
=$ac_check_lib_save_LIBS
10207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
10208 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
10209 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes
; then :
10211 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
10215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
10216 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
10217 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false
; then :
10218 $as_echo_n "(cached) " >&6
10220 ac_check_lib_save_LIBS
=$LIBS
10221 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10222 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10223 /* end confdefs.h. */
10225 /* Override any GCC internal prototype to avoid an error.
10226 Use char because int might match the return type of a GCC
10227 builtin and then its argument prototype would still apply. */
10231 char XRenderCreateLinearGradient ();
10235 return XRenderCreateLinearGradient ();
10240 if ac_fn_c_try_link
"$LINENO"; then :
10241 ac_cv_lib_Xrender_XRenderCreateLinearGradient
=yes
10243 ac_cv_lib_Xrender_XRenderCreateLinearGradient
=no
10245 rm -f core conftest.err conftest.
$ac_objext \
10246 conftest
$ac_exeext conftest.
$ac_ext
10247 LIBS
=$ac_check_lib_save_LIBS
10249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
10250 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
10251 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes
; then :
10253 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
10260 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
10261 case "x$with_xrender" in
10262 x
) as_fn_append wine_warnings
"|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
10264 *) as_fn_error $?
"libxrender ${notice_platform}development files not found, XRender won't be supported.
10265 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
10269 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
10271 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10272 /* end confdefs.h. */
10273 #include <X11/Xlib.h>
10274 #include <X11/extensions/Xrandr.h>
10278 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
10283 if ac_fn_c_try_compile
"$LINENO"; then :
10284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
10285 $as_echo_n "checking for -lXrandr... " >&6; }
10286 if ${ac_cv_lib_soname_Xrandr+:} false
; then :
10287 $as_echo_n "(cached) " >&6
10289 ac_check_soname_save_LIBS
=$LIBS
10290 LIBS
="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
10291 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10292 /* end confdefs.h. */
10294 /* Override any GCC internal prototype to avoid an error.
10295 Use char because int might match the return type of a GCC
10296 builtin and then its argument prototype would still apply. */
10300 char XRRQueryExtension ();
10304 return XRRQueryExtension ();
10309 if ac_fn_c_try_link
"$LINENO"; then :
10311 dll
) ac_cv_lib_soname_Xrandr
=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10312 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'` ;;
10313 *) ac_cv_lib_soname_Xrandr
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10314 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10315 ac_cv_lib_soname_Xrandr
=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10319 rm -f core conftest.err conftest.
$ac_objext \
10320 conftest
$ac_exeext conftest.
$ac_ext
10321 LIBS
=$ac_check_soname_save_LIBS
10323 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10325 $as_echo "not found" >&6; }
10328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
10329 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
10331 cat >>confdefs.h
<<_ACEOF
10332 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10335 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10336 /* end confdefs.h. */
10337 #include <X11/Xlib.h>
10338 #include <X11/extensions/Xrandr.h>
10342 static typeof(XRRGetScreenResources) *f; if (f) return 0;
10347 if ac_fn_c_try_compile
"$LINENO"; then :
10349 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
10352 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10355 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10357 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
10358 case "x$with_xrandr" in
10359 x
) as_fn_append wine_notices
"|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
10361 *) as_fn_error $?
"libxrandr ${notice_platform}development files not found, XRandr won't be supported.
10362 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
10366 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10368 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10369 /* end confdefs.h. */
10370 #include <X11/Xlib.h>
10371 #include <X11/extensions/Xinerama.h>
10375 static typeof(XineramaQueryScreens) * func; if (func) return 0;
10380 if ac_fn_c_try_compile
"$LINENO"; then :
10381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
10382 $as_echo_n "checking for -lXinerama... " >&6; }
10383 if ${ac_cv_lib_soname_Xinerama+:} false
; then :
10384 $as_echo_n "(cached) " >&6
10386 ac_check_soname_save_LIBS
=$LIBS
10387 LIBS
="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
10388 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10389 /* end confdefs.h. */
10391 /* Override any GCC internal prototype to avoid an error.
10392 Use char because int might match the return type of a GCC
10393 builtin and then its argument prototype would still apply. */
10397 char XineramaQueryScreens ();
10401 return XineramaQueryScreens ();
10406 if ac_fn_c_try_link
"$LINENO"; then :
10408 dll
) ac_cv_lib_soname_Xinerama
=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10409 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'` ;;
10410 *) ac_cv_lib_soname_Xinerama
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10411 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10412 ac_cv_lib_soname_Xinerama
=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10416 rm -f core conftest.err conftest.
$ac_objext \
10417 conftest
$ac_exeext conftest.
$ac_ext
10418 LIBS
=$ac_check_soname_save_LIBS
10420 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10422 $as_echo "not found" >&6; }
10425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
10426 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
10428 cat >>confdefs.h
<<_ACEOF
10429 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10435 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10437 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
10438 case "x$with_xinerama" in
10439 x
) as_fn_append wine_notices
"|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
10441 *) as_fn_error $?
"libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
10442 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
10446 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
10449 $as_echo_n "checking for -lXcomposite... " >&6; }
10450 if ${ac_cv_lib_soname_Xcomposite+:} false
; then :
10451 $as_echo_n "(cached) " >&6
10453 ac_check_soname_save_LIBS
=$LIBS
10454 LIBS
="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
10455 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10456 /* end confdefs.h. */
10458 /* Override any GCC internal prototype to avoid an error.
10459 Use char because int might match the return type of a GCC
10460 builtin and then its argument prototype would still apply. */
10464 char XCompositeRedirectWindow ();
10468 return XCompositeRedirectWindow ();
10473 if ac_fn_c_try_link
"$LINENO"; then :
10475 dll
) ac_cv_lib_soname_Xcomposite
=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10476 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'` ;;
10477 *) ac_cv_lib_soname_Xcomposite
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10478 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10479 ac_cv_lib_soname_Xcomposite
=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10483 rm -f core conftest.err conftest.
$ac_objext \
10484 conftest
$ac_exeext conftest.
$ac_ext
10485 LIBS
=$ac_check_soname_save_LIBS
10487 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10489 $as_echo "not found" >&6; }
10492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
10493 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
10495 cat >>confdefs.h
<<_ACEOF
10496 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10502 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
10503 case "x$with_xcomposite" in
10504 x
) as_fn_append wine_notices
"|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
10506 *) as_fn_error $?
"libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
10507 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
10511 ac_fn_c_check_member
"$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
10512 #include <X11/Xlib.h>
10515 if test "x$ac_cv_member_XICCallback_callback" = xyes
; then :
10517 cat >>confdefs.h
<<_ACEOF
10518 #define HAVE_XICCALLBACK_CALLBACK 1
10523 ac_fn_c_check_member
"$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
10524 #include <X11/Xlib.h>
10527 if test "x$ac_cv_member_XEvent_xcookie" = xyes
; then :
10529 cat >>confdefs.h
<<_ACEOF
10530 #define HAVE_XEVENT_XCOOKIE 1
10539 if test "x$with_opengl" != "xno"
10541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10542 $as_echo_n "checking for -lGL... " >&6; }
10543 if ${ac_cv_lib_soname_GL+:} false
; then :
10544 $as_echo_n "(cached) " >&6
10546 ac_check_soname_save_LIBS
=$LIBS
10547 LIBS
="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10548 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10549 /* end confdefs.h. */
10551 /* Override any GCC internal prototype to avoid an error.
10552 Use char because int might match the return type of a GCC
10553 builtin and then its argument prototype would still apply. */
10557 char glXCreateContext ();
10561 return glXCreateContext ();
10566 if ac_fn_c_try_link
"$LINENO"; then :
10568 dll
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10569 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'` ;;
10570 *) ac_cv_lib_soname_GL
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10571 if ${ac_cv_lib_soname_GL:+false} :; then :
10572 ac_cv_lib_soname_GL
=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10576 rm -f core conftest.err conftest.
$ac_objext \
10577 conftest
$ac_exeext conftest.
$ac_ext
10578 LIBS
=$ac_check_soname_save_LIBS
10580 if ${ac_cv_lib_soname_GL:+false} :; then :
10581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10582 $as_echo "not found" >&6; }
10583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10584 $as_echo_n "checking for -lGL... " >&6; }
10585 if ${ac_cv_lib_soname_GL+:} false
; then :
10586 $as_echo_n "(cached) " >&6
10588 ac_check_soname_save_LIBS
=$LIBS
10589 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"
10590 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10591 /* end confdefs.h. */
10593 /* Override any GCC internal prototype to avoid an error.
10594 Use char because int might match the return type of a GCC
10595 builtin and then its argument prototype would still apply. */
10599 char glXCreateContext ();
10603 return glXCreateContext ();
10608 if ac_fn_c_try_link
"$LINENO"; then :
10610 dll
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10611 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'` ;;
10612 *) ac_cv_lib_soname_GL
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10613 if ${ac_cv_lib_soname_GL:+false} :; then :
10614 ac_cv_lib_soname_GL
=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10618 rm -f core conftest.err conftest.
$ac_objext \
10619 conftest
$ac_exeext conftest.
$ac_ext
10620 LIBS
=$ac_check_soname_save_LIBS
10622 if ${ac_cv_lib_soname_GL:+false} :; then :
10623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10624 $as_echo "not found" >&6; }
10625 if test -f /usr
/X11R
6/lib
/libGL.a
10627 opengl_msg
="/usr/X11R6/lib/libGL.a is present on your system.
10628 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10630 opengl_msg
="No OpenGL library found on this system."
10633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10634 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10636 cat >>confdefs.h
<<_ACEOF
10637 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10640 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"
10643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10644 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10646 cat >>confdefs.h
<<_ACEOF
10647 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10652 if test "x$with_glu" != "xno"
10654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluLookAt in -lGLU" >&5
10655 $as_echo_n "checking for gluLookAt in -lGLU... " >&6; }
10656 if ${ac_cv_lib_GLU_gluLookAt+:} false
; then :
10657 $as_echo_n "(cached) " >&6
10659 ac_check_lib_save_LIBS
=$LIBS
10660 LIBS
="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10661 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10662 /* end confdefs.h. */
10664 /* Override any GCC internal prototype to avoid an error.
10665 Use char because int might match the return type of a GCC
10666 builtin and then its argument prototype would still apply. */
10674 return gluLookAt ();
10679 if ac_fn_c_try_link
"$LINENO"; then :
10680 ac_cv_lib_GLU_gluLookAt
=yes
10682 ac_cv_lib_GLU_gluLookAt
=no
10684 rm -f core conftest.err conftest.
$ac_objext \
10685 conftest
$ac_exeext conftest.
$ac_ext
10686 LIBS
=$ac_check_lib_save_LIBS
10688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluLookAt" >&5
10689 $as_echo "$ac_cv_lib_GLU_gluLookAt" >&6; }
10690 if test "x$ac_cv_lib_GLU_gluLookAt" = xyes
; then :
10694 if test "x$ac_cv_lib_GLU_gluLookAt" != xyes
; then :
10695 case "x$with_glu" in
10696 x
) as_fn_append wine_notices
"|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
10698 *) as_fn_error $?
"libGLU ${notice_platform}development files not found, GLU won't be supported.
10699 This is an error since --with-glu was requested." "$LINENO" 5 ;;
10704 if test "x$with_osmesa" != "xno"
10706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
10707 $as_echo_n "checking for -lOSMesa... " >&6; }
10708 if ${ac_cv_lib_soname_OSMesa+:} false
; then :
10709 $as_echo_n "(cached) " >&6
10711 ac_check_soname_save_LIBS
=$LIBS
10712 LIBS
="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10713 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10714 /* end confdefs.h. */
10716 /* Override any GCC internal prototype to avoid an error.
10717 Use char because int might match the return type of a GCC
10718 builtin and then its argument prototype would still apply. */
10731 if ac_fn_c_try_link
"$LINENO"; then :
10733 dll
) ac_cv_lib_soname_OSMesa
=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10734 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'` ;;
10735 *) ac_cv_lib_soname_OSMesa
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10736 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10737 ac_cv_lib_soname_OSMesa
=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10741 rm -f core conftest.err conftest.
$ac_objext \
10742 conftest
$ac_exeext conftest.
$ac_ext
10743 LIBS
=$ac_check_soname_save_LIBS
10745 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10747 $as_echo "not found" >&6; }
10750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
10751 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
10753 cat >>confdefs.h
<<_ACEOF
10754 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
10759 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
10760 case "x$with_osmesa" in
10761 x
) as_fn_append wine_notices
"|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
10763 *) as_fn_error $?
"libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
10764 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
10769 if test -n "$opengl_msg"; then :
10770 case "x$with_opengl" in
10771 x
) as_fn_append wine_warnings
"|$opengl_msg
10772 OpenGL and Direct3D won't be supported." ;;
10774 *) as_fn_error $?
"$opengl_msg
10775 OpenGL and Direct3D won't be supported.
10776 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
10780 CPPFLAGS
="$ac_save_CPPFLAGS"
10784 enable_winex11_drv
=${enable_winex11_drv:-no}
10786 if test "x$X_LIBS" = "x"; then :
10789 *) as_fn_error $?
"X ${notice_platform}development files not found. Wine will be built
10790 without X support, which probably isn't what you want. You will need
10791 to install ${notice_platform}development packages of Xlib/Xfree86 at the very least.
10792 Use the --without-x option if you really want this." "$LINENO" 5 ;;
10796 test "x$ac_cv_lib_GLU_gluLookAt" != xyes
&& enable_glu32
=${enable_glu32:-no}
10798 if test "$ac_cv_header_CL_cl_h" = "yes"
10800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
10801 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
10802 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false
; then :
10803 $as_echo_n "(cached) " >&6
10805 ac_check_lib_save_LIBS
=$LIBS
10806 LIBS
="-lOpenCL $LIBS"
10807 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10808 /* end confdefs.h. */
10810 /* Override any GCC internal prototype to avoid an error.
10811 Use char because int might match the return type of a GCC
10812 builtin and then its argument prototype would still apply. */
10816 char clGetPlatformInfo ();
10820 return clGetPlatformInfo ();
10825 if ac_fn_c_try_link
"$LINENO"; then :
10826 ac_cv_lib_OpenCL_clGetPlatformInfo
=yes
10828 ac_cv_lib_OpenCL_clGetPlatformInfo
=no
10830 rm -f core conftest.err conftest.
$ac_objext \
10831 conftest
$ac_exeext conftest.
$ac_ext
10832 LIBS
=$ac_check_lib_save_LIBS
10834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
10835 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
10836 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes
; then :
10837 OPENCL_LIBS
="-lOpenCL"
10842 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
; then :
10843 case "x$with_opencl" in
10844 x
) as_fn_append wine_notices
"|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
10846 *) as_fn_error $?
"OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
10847 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
10850 test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
&& enable_opencl
=${enable_opencl:-no}
10852 if test "$ac_cv_header_pcap_pcap_h" = "yes"
10854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
10855 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
10856 if ${ac_cv_lib_pcap_pcap_create+:} false
; then :
10857 $as_echo_n "(cached) " >&6
10859 ac_check_lib_save_LIBS
=$LIBS
10860 LIBS
="-lpcap $LIBS"
10861 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10862 /* end confdefs.h. */
10864 /* Override any GCC internal prototype to avoid an error.
10865 Use char because int might match the return type of a GCC
10866 builtin and then its argument prototype would still apply. */
10870 char pcap_create ();
10874 return pcap_create ();
10879 if ac_fn_c_try_link
"$LINENO"; then :
10880 ac_cv_lib_pcap_pcap_create
=yes
10882 ac_cv_lib_pcap_pcap_create
=no
10884 rm -f core conftest.err conftest.
$ac_objext \
10885 conftest
$ac_exeext conftest.
$ac_ext
10886 LIBS
=$ac_check_lib_save_LIBS
10888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
10889 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
10890 if test "x$ac_cv_lib_pcap_pcap_create" = xyes
; then :
10896 if test "x$ac_cv_lib_pcap_pcap_create" != xyes
; then :
10897 case "x$with_pcap" in
10898 x
) as_fn_append wine_notices
"|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
10900 *) as_fn_error $?
"pcap ${notice_platform}development files not found, wpcap won't be supported.
10901 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
10904 test "x$ac_cv_lib_pcap_pcap_create" != xyes
&& enable_wpcap
=${enable_wpcap:-no}
10907 if test "x$with_xml" != "xno"
10909 if ${XML2_CFLAGS:+false} :; then :
10910 if ${PKG_CONFIG+:} false
; then :
10911 XML2_CFLAGS
=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
10914 test "$cross_compiling" = yes || XML2_CFLAGS
=${XML2_CFLAGS:-`xml2-config --cflags 2>/dev/null`}
10915 if ${XML2_LIBS:+false} :; then :
10916 if ${PKG_CONFIG+:} false
; then :
10917 XML2_LIBS
=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
10920 test "$cross_compiling" = yes || XML2_LIBS
=${XML2_LIBS:-`xml2-config --libs 2>/dev/null`}
10921 XML2_LIBS
=${XML2_LIBS:-"-lxml2"}
10922 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
10923 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
10924 ac_save_CPPFLAGS
=$CPPFLAGS
10925 CPPFLAGS
="$CPPFLAGS $XML2_CFLAGS"
10926 for ac_header
in libxml
/parser.h libxml
/xmlsave.h libxml
/SAX2.h
10928 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10929 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
10930 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
10931 cat >>confdefs.h
<<_ACEOF
10932 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10939 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"
10941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
10942 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
10943 if ${ac_cv_lib_xml2_xmlParseMemory+:} false
; then :
10944 $as_echo_n "(cached) " >&6
10946 ac_check_lib_save_LIBS
=$LIBS
10947 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10948 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10949 /* end confdefs.h. */
10951 /* Override any GCC internal prototype to avoid an error.
10952 Use char because int might match the return type of a GCC
10953 builtin and then its argument prototype would still apply. */
10957 char xmlParseMemory ();
10961 return xmlParseMemory ();
10966 if ac_fn_c_try_link
"$LINENO"; then :
10967 ac_cv_lib_xml2_xmlParseMemory
=yes
10969 ac_cv_lib_xml2_xmlParseMemory
=no
10971 rm -f core conftest.err conftest.
$ac_objext \
10972 conftest
$ac_exeext conftest.
$ac_ext
10973 LIBS
=$ac_check_lib_save_LIBS
10975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
10976 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
10977 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes
; then :
10979 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
10985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
10986 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
10987 if ${ac_cv_lib_xml2_xmlReadMemory+:} false
; then :
10988 $as_echo_n "(cached) " >&6
10990 ac_check_lib_save_LIBS
=$LIBS
10991 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10992 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10993 /* end confdefs.h. */
10995 /* Override any GCC internal prototype to avoid an error.
10996 Use char because int might match the return type of a GCC
10997 builtin and then its argument prototype would still apply. */
11001 char xmlReadMemory ();
11005 return xmlReadMemory ();
11010 if ac_fn_c_try_link
"$LINENO"; then :
11011 ac_cv_lib_xml2_xmlReadMemory
=yes
11013 ac_cv_lib_xml2_xmlReadMemory
=no
11015 rm -f core conftest.err conftest.
$ac_objext \
11016 conftest
$ac_exeext conftest.
$ac_ext
11017 LIBS
=$ac_check_lib_save_LIBS
11019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
11020 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
11021 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes
; then :
11023 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
11027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
11028 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
11029 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false
; then :
11030 $as_echo_n "(cached) " >&6
11032 ac_check_lib_save_LIBS
=$LIBS
11033 LIBS
="-lxml2 $XML2_LIBS $LIBS"
11034 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11035 /* end confdefs.h. */
11037 /* Override any GCC internal prototype to avoid an error.
11038 Use char because int might match the return type of a GCC
11039 builtin and then its argument prototype would still apply. */
11043 char xmlNewDocPI ();
11047 return xmlNewDocPI ();
11052 if ac_fn_c_try_link
"$LINENO"; then :
11053 ac_cv_lib_xml2_xmlNewDocPI
=yes
11055 ac_cv_lib_xml2_xmlNewDocPI
=no
11057 rm -f core conftest.err conftest.
$ac_objext \
11058 conftest
$ac_exeext conftest.
$ac_ext
11059 LIBS
=$ac_check_lib_save_LIBS
11061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
11062 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
11063 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes
; then :
11065 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
11069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
11070 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
11071 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false
; then :
11072 $as_echo_n "(cached) " >&6
11074 ac_check_lib_save_LIBS
=$LIBS
11075 LIBS
="-lxml2 $XML2_LIBS $LIBS"
11076 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11077 /* end confdefs.h. */
11079 /* Override any GCC internal prototype to avoid an error.
11080 Use char because int might match the return type of a GCC
11081 builtin and then its argument prototype would still apply. */
11085 char xmlSchemaSetParserStructuredErrors ();
11089 return xmlSchemaSetParserStructuredErrors ();
11094 if ac_fn_c_try_link
"$LINENO"; then :
11095 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors
=yes
11097 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors
=no
11099 rm -f core conftest.err conftest.
$ac_objext \
11100 conftest
$ac_exeext conftest.
$ac_ext
11101 LIBS
=$ac_check_lib_save_LIBS
11103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
11104 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
11105 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes
; then :
11107 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
11111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
11112 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
11113 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false
; then :
11114 $as_echo_n "(cached) " >&6
11116 ac_check_lib_save_LIBS
=$LIBS
11117 LIBS
="-lxml2 $XML2_LIBS $LIBS"
11118 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11119 /* end confdefs.h. */
11121 /* Override any GCC internal prototype to avoid an error.
11122 Use char because int might match the return type of a GCC
11123 builtin and then its argument prototype would still apply. */
11127 char xmlSchemaSetValidStructuredErrors ();
11131 return xmlSchemaSetValidStructuredErrors ();
11136 if ac_fn_c_try_link
"$LINENO"; then :
11137 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors
=yes
11139 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors
=no
11141 rm -f core conftest.err conftest.
$ac_objext \
11142 conftest
$ac_exeext conftest.
$ac_ext
11143 LIBS
=$ac_check_lib_save_LIBS
11145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
11146 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
11147 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes
; then :
11149 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
11153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
11154 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
11155 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false
; then :
11156 $as_echo_n "(cached) " >&6
11158 ac_check_lib_save_LIBS
=$LIBS
11159 LIBS
="-lxml2 $XML2_LIBS $LIBS"
11160 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11161 /* end confdefs.h. */
11163 /* Override any GCC internal prototype to avoid an error.
11164 Use char because int might match the return type of a GCC
11165 builtin and then its argument prototype would still apply. */
11169 char xmlFirstElementChild ();
11173 return xmlFirstElementChild ();
11178 if ac_fn_c_try_link
"$LINENO"; then :
11179 ac_cv_lib_xml2_xmlFirstElementChild
=yes
11181 ac_cv_lib_xml2_xmlFirstElementChild
=no
11183 rm -f core conftest.err conftest.
$ac_objext \
11184 conftest
$ac_exeext conftest.
$ac_ext
11185 LIBS
=$ac_check_lib_save_LIBS
11187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
11188 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
11189 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes
; then :
11191 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
11195 ac_fn_c_check_type
"$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
11197 if test "x$ac_cv_type_xmlDocProperties" = xyes
; then :
11199 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
11207 CPPFLAGS
=$ac_save_CPPFLAGS
11208 test -z "$XML2_CFLAGS" || XML2_CFLAGS
=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11209 test -z "$XML2_LIBS" || XML2_LIBS
=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11212 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
11213 case "x$with_xml" in
11214 x
) as_fn_append wine_warnings
"|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
11216 *) as_fn_error $?
"libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
11217 This is an error since --with-xml was requested." "$LINENO" 5 ;;
11221 if test "x$with_xslt" != "xno"
11223 if ${XSLT_CFLAGS:+false} :; then :
11224 if ${PKG_CONFIG+:} false
; then :
11225 XSLT_CFLAGS
=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
11228 test "$cross_compiling" = yes || XSLT_CFLAGS
=${XSLT_CFLAGS:-`xslt-config --cflags 2>/dev/null`}
11229 if ${XSLT_LIBS:+false} :; then :
11230 if ${PKG_CONFIG+:} false
; then :
11231 XSLT_LIBS
=`$PKG_CONFIG --libs libxslt 2>/dev/null`
11234 test "$cross_compiling" = yes || XSLT_LIBS
=${XSLT_LIBS:-`xslt-config --libs 2>/dev/null`}
11235 XSLT_LIBS
=${XSLT_LIBS:-"-lxml2"}
11236 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
11237 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
11238 ac_save_CPPFLAGS
=$CPPFLAGS
11239 CPPFLAGS
="$CPPFLAGS $XSLT_CFLAGS"
11240 for ac_header
in libxslt
/pattern.h libxslt
/transform.h
11242 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11243 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
11244 # include <libxslt/pattern.h>
11247 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
11248 cat >>confdefs.h
<<_ACEOF
11249 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11256 if test "$ac_cv_header_libxslt_transform_h" = "yes"
11258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
11259 $as_echo_n "checking for -lxslt... " >&6; }
11260 if ${ac_cv_lib_soname_xslt+:} false
; then :
11261 $as_echo_n "(cached) " >&6
11263 ac_check_soname_save_LIBS
=$LIBS
11264 LIBS
="-lxslt $XSLT_LIBS $LIBS"
11265 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11266 /* end confdefs.h. */
11268 /* Override any GCC internal prototype to avoid an error.
11269 Use char because int might match the return type of a GCC
11270 builtin and then its argument prototype would still apply. */
11274 char xsltCompilePattern ();
11278 return xsltCompilePattern ();
11283 if ac_fn_c_try_link
"$LINENO"; then :
11285 dll
) ac_cv_lib_soname_xslt
=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11286 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'` ;;
11287 *) ac_cv_lib_soname_xslt
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11288 if ${ac_cv_lib_soname_xslt:+false} :; then :
11289 ac_cv_lib_soname_xslt
=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11293 rm -f core conftest.err conftest.
$ac_objext \
11294 conftest
$ac_exeext conftest.
$ac_ext
11295 LIBS
=$ac_check_soname_save_LIBS
11297 if ${ac_cv_lib_soname_xslt:+false} :; then :
11298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11299 $as_echo "not found" >&6; }
11302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
11303 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
11305 cat >>confdefs.h
<<_ACEOF
11306 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
11314 CPPFLAGS
=$ac_save_CPPFLAGS
11315 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS
=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11316 test -z "$XSLT_LIBS" || XSLT_LIBS
=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11319 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
11320 case "x$with_xslt" in
11321 x
) as_fn_append wine_warnings
"|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
11323 *) as_fn_error $?
"libxslt ${notice_platform}development files not found, xslt won't be supported.
11324 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
11328 if test "x$with_dbus" != "xno"
11330 if ${DBUS_CFLAGS:+false} :; then :
11331 if ${PKG_CONFIG+:} false
; then :
11332 DBUS_CFLAGS
=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
11336 if ${DBUS_LIBS:+false} :; then :
11337 if ${PKG_CONFIG+:} false
; then :
11338 DBUS_LIBS
=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
11343 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
11344 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
11345 ac_save_CPPFLAGS
=$CPPFLAGS
11346 CPPFLAGS
="$CPPFLAGS $DBUS_CFLAGS"
11347 ac_fn_c_check_header_mongrel
"$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
11348 if test "x$ac_cv_header_dbus_dbus_h" = xyes
; then :
11349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
11350 $as_echo_n "checking for -ldbus-1... " >&6; }
11351 if ${ac_cv_lib_soname_dbus_1+:} false
; then :
11352 $as_echo_n "(cached) " >&6
11354 ac_check_soname_save_LIBS
=$LIBS
11355 LIBS
="-ldbus-1 $DBUS_LIBS $LIBS"
11356 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11357 /* end confdefs.h. */
11359 /* Override any GCC internal prototype to avoid an error.
11360 Use char because int might match the return type of a GCC
11361 builtin and then its argument prototype would still apply. */
11365 char dbus_connection_close ();
11369 return dbus_connection_close ();
11374 if ac_fn_c_try_link
"$LINENO"; then :
11376 dll
) ac_cv_lib_soname_dbus_1
=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11377 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'` ;;
11378 *) 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'`
11379 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11380 ac_cv_lib_soname_dbus_1
=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11384 rm -f core conftest.err conftest.
$ac_objext \
11385 conftest
$ac_exeext conftest.
$ac_ext
11386 LIBS
=$ac_check_soname_save_LIBS
11388 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11390 $as_echo "not found" >&6; }
11393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
11394 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
11396 cat >>confdefs.h
<<_ACEOF
11397 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
11407 CPPFLAGS
=$ac_save_CPPFLAGS
11408 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS
=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11409 test -z "$DBUS_LIBS" || DBUS_LIBS
=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11412 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
11413 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11414 case "x$with_dbus" in
11415 x
) as_fn_append wine_notices
"|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
11417 *) as_fn_error $?
"libdbus ${notice_platform}development files not found, no dynamic device support.
11418 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
11422 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
11424 if ${HAL_CFLAGS:+false} :; then :
11425 if ${PKG_CONFIG+:} false
; then :
11426 HAL_CFLAGS
=`$PKG_CONFIG --cflags hal 2>/dev/null`
11430 if ${HAL_LIBS:+false} :; then :
11431 if ${PKG_CONFIG+:} false
; then :
11432 HAL_LIBS
=`$PKG_CONFIG --libs hal 2>/dev/null`
11436 HAL_LIBS
=${HAL_LIBS:-"-ldbus-1"}
11437 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
11438 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
11439 ac_save_CPPFLAGS
=$CPPFLAGS
11440 CPPFLAGS
="$CPPFLAGS $HAL_CFLAGS"
11441 ac_fn_c_check_header_mongrel
"$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
11442 if test "x$ac_cv_header_hal_libhal_h" = xyes
; then :
11443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
11444 $as_echo_n "checking for -lhal... " >&6; }
11445 if ${ac_cv_lib_soname_hal+:} false
; then :
11446 $as_echo_n "(cached) " >&6
11448 ac_check_soname_save_LIBS
=$LIBS
11449 LIBS
="-lhal $HAL_LIBS $LIBS"
11450 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11451 /* end confdefs.h. */
11453 /* Override any GCC internal prototype to avoid an error.
11454 Use char because int might match the return type of a GCC
11455 builtin and then its argument prototype would still apply. */
11459 char libhal_ctx_new ();
11463 return libhal_ctx_new ();
11468 if ac_fn_c_try_link
"$LINENO"; then :
11470 dll
) ac_cv_lib_soname_hal
=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11471 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'` ;;
11472 *) ac_cv_lib_soname_hal
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11473 if ${ac_cv_lib_soname_hal:+false} :; then :
11474 ac_cv_lib_soname_hal
=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11478 rm -f core conftest.err conftest.
$ac_objext \
11479 conftest
$ac_exeext conftest.
$ac_ext
11480 LIBS
=$ac_check_soname_save_LIBS
11482 if ${ac_cv_lib_soname_hal:+false} :; then :
11483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11484 $as_echo "not found" >&6; }
11487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
11488 $as_echo "$ac_cv_lib_soname_hal" >&6; }
11490 cat >>confdefs.h
<<_ACEOF
11491 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11501 CPPFLAGS
=$ac_save_CPPFLAGS
11502 test -z "$HAL_CFLAGS" || HAL_CFLAGS
=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11503 test -z "$HAL_LIBS" || HAL_LIBS
=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11505 if test "x$ac_cv_lib_soname_hal" = "x" -a \
11506 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11507 case "x$with_hal" in
11508 x
) as_fn_append wine_notices
"|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
11510 *) as_fn_error $?
"libhal ${notice_platform}development files not found, no legacy dynamic device support.
11511 This is an error since --with-hal was requested." "$LINENO" 5 ;;
11516 if test "x$with_gnutls" != "xno"
11518 if ${GNUTLS_CFLAGS:+false} :; then :
11519 if ${PKG_CONFIG+:} false
; then :
11520 GNUTLS_CFLAGS
=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
11524 if ${GNUTLS_LIBS:+false} :; then :
11525 if ${PKG_CONFIG+:} false
; then :
11526 GNUTLS_LIBS
=`$PKG_CONFIG --libs gnutls 2>/dev/null`
11531 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
11532 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
11533 ac_save_CPPFLAGS
=$CPPFLAGS
11534 CPPFLAGS
="$CPPFLAGS $GNUTLS_CFLAGS"
11535 ac_fn_c_check_header_mongrel
"$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
11536 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes
; then :
11537 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11538 /* end confdefs.h. */
11539 #include <gnutls/gnutls.h>
11540 #include <gnutls/crypto.h>
11544 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
11549 if ac_fn_c_try_compile
"$LINENO"; then :
11550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
11551 $as_echo_n "checking for -lgnutls... " >&6; }
11552 if ${ac_cv_lib_soname_gnutls+:} false
; then :
11553 $as_echo_n "(cached) " >&6
11555 ac_check_soname_save_LIBS
=$LIBS
11556 LIBS
="-lgnutls $GNUTLS_LIBS $LIBS"
11557 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11558 /* end confdefs.h. */
11560 /* Override any GCC internal prototype to avoid an error.
11561 Use char because int might match the return type of a GCC
11562 builtin and then its argument prototype would still apply. */
11566 char gnutls_global_init ();
11570 return gnutls_global_init ();
11575 if ac_fn_c_try_link
"$LINENO"; then :
11577 dll
) ac_cv_lib_soname_gnutls
=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11578 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'` ;;
11579 *) 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'`
11580 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11581 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'`
11585 rm -f core conftest.err conftest.
$ac_objext \
11586 conftest
$ac_exeext conftest.
$ac_ext
11587 LIBS
=$ac_check_soname_save_LIBS
11589 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11591 $as_echo "not found" >&6; }
11594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
11595 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
11597 cat >>confdefs.h
<<_ACEOF
11598 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
11604 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11610 CPPFLAGS
=$ac_save_CPPFLAGS
11611 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS
=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11612 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS
=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11615 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
11616 case "x$with_gnutls" in
11617 x
) as_fn_append wine_warnings
"|libgnutls ${notice_platform}development files not found, no schannel support." ;;
11619 *) as_fn_error $?
"libgnutls ${notice_platform}development files not found, no schannel support.
11620 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
11625 if test "$ac_cv_header_ncurses_h" = "yes"
11627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
11628 $as_echo_n "checking for -lncurses... " >&6; }
11629 if ${ac_cv_lib_soname_ncurses+:} false
; then :
11630 $as_echo_n "(cached) " >&6
11632 ac_check_soname_save_LIBS
=$LIBS
11633 LIBS
="-lncurses $LIBS"
11634 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11635 /* end confdefs.h. */
11637 /* Override any GCC internal prototype to avoid an error.
11638 Use char because int might match the return type of a GCC
11639 builtin and then its argument prototype would still apply. */
11652 if ac_fn_c_try_link
"$LINENO"; then :
11654 dll
) ac_cv_lib_soname_ncurses
=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11655 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'` ;;
11656 *) 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'`
11657 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11658 ac_cv_lib_soname_ncurses
=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11662 rm -f core conftest.err conftest.
$ac_objext \
11663 conftest
$ac_exeext conftest.
$ac_ext
11664 LIBS
=$ac_check_soname_save_LIBS
11666 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11668 $as_echo "not found" >&6; }
11671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
11672 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
11674 cat >>confdefs.h
<<_ACEOF
11675 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
11678 CURSES_LIBS
="-lncurses"
11680 elif test "$ac_cv_header_curses_h" = "yes"
11682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
11683 $as_echo_n "checking for -lcurses... " >&6; }
11684 if ${ac_cv_lib_soname_curses+:} false
; then :
11685 $as_echo_n "(cached) " >&6
11687 ac_check_soname_save_LIBS
=$LIBS
11688 LIBS
="-lcurses $LIBS"
11689 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11690 /* end confdefs.h. */
11692 /* Override any GCC internal prototype to avoid an error.
11693 Use char because int might match the return type of a GCC
11694 builtin and then its argument prototype would still apply. */
11707 if ac_fn_c_try_link
"$LINENO"; then :
11709 dll
) ac_cv_lib_soname_curses
=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11710 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'` ;;
11711 *) ac_cv_lib_soname_curses
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11712 if ${ac_cv_lib_soname_curses:+false} :; then :
11713 ac_cv_lib_soname_curses
=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11717 rm -f core conftest.err conftest.
$ac_objext \
11718 conftest
$ac_exeext conftest.
$ac_ext
11719 LIBS
=$ac_check_soname_save_LIBS
11721 if ${ac_cv_lib_soname_curses:+false} :; then :
11722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11723 $as_echo "not found" >&6; }
11726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
11727 $as_echo "$ac_cv_lib_soname_curses" >&6; }
11729 cat >>confdefs.h
<<_ACEOF
11730 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
11733 CURSES_LIBS
="-lcurses"
11736 ac_save_LIBS
="$LIBS"
11737 LIBS
="$LIBS $CURSES_LIBS"
11738 for ac_func
in mousemask
11740 ac_fn_c_check_func
"$LINENO" "mousemask" "ac_cv_func_mousemask"
11741 if test "x$ac_cv_func_mousemask" = xyes
; then :
11742 cat >>confdefs.h
<<_ACEOF
11743 #define HAVE_MOUSEMASK 1
11749 LIBS
="$ac_save_LIBS"
11750 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
11751 case "x$with_curses" in
11752 x
) as_fn_append wine_notices
"|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
11754 *) as_fn_error $?
"lib(n)curses ${notice_platform}development files not found, curses won't be supported.
11755 This is an error since --with-curses was requested." "$LINENO" 5 ;;
11759 if test "x$with_sane" != "xno"
11761 if ${SANE_CFLAGS:+false} :; then :
11762 if ${PKG_CONFIG+:} false
; then :
11763 SANE_CFLAGS
=`$PKG_CONFIG --cflags libsane 2>/dev/null`
11766 test "$cross_compiling" = yes || SANE_CFLAGS
=${SANE_CFLAGS:-`sane-config --cflags 2>/dev/null`}
11767 if ${SANE_LIBS:+false} :; then :
11768 if ${PKG_CONFIG+:} false
; then :
11769 SANE_LIBS
=`$PKG_CONFIG --libs libsane 2>/dev/null`
11772 test "$cross_compiling" = yes || SANE_LIBS
=${SANE_LIBS:-`sane-config --ldflags 2>/dev/null`}
11774 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
11775 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
11776 ac_save_CPPFLAGS
=$CPPFLAGS
11777 CPPFLAGS
="$CPPFLAGS $SANE_CFLAGS"
11778 ac_fn_c_check_header_mongrel
"$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
11779 if test "x$ac_cv_header_sane_sane_h" = xyes
; then :
11780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
11781 $as_echo_n "checking for -lsane... " >&6; }
11782 if ${ac_cv_lib_soname_sane+:} false
; then :
11783 $as_echo_n "(cached) " >&6
11785 ac_check_soname_save_LIBS
=$LIBS
11786 LIBS
="-lsane $SANE_LIBS $LIBS"
11787 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11788 /* end confdefs.h. */
11790 /* Override any GCC internal prototype to avoid an error.
11791 Use char because int might match the return type of a GCC
11792 builtin and then its argument prototype would still apply. */
11800 return sane_init ();
11805 if ac_fn_c_try_link
"$LINENO"; then :
11807 dll
) ac_cv_lib_soname_sane
=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11808 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'` ;;
11809 *) ac_cv_lib_soname_sane
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11810 if ${ac_cv_lib_soname_sane:+false} :; then :
11811 ac_cv_lib_soname_sane
=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11815 rm -f core conftest.err conftest.
$ac_objext \
11816 conftest
$ac_exeext conftest.
$ac_ext
11817 LIBS
=$ac_check_soname_save_LIBS
11819 if ${ac_cv_lib_soname_sane:+false} :; then :
11820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11821 $as_echo "not found" >&6; }
11824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
11825 $as_echo "$ac_cv_lib_soname_sane" >&6; }
11827 cat >>confdefs.h
<<_ACEOF
11828 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
11838 CPPFLAGS
=$ac_save_CPPFLAGS
11839 test -z "$SANE_CFLAGS" || SANE_CFLAGS
=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11840 test -z "$SANE_LIBS" || SANE_LIBS
=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11843 if test "x$ac_cv_lib_soname_sane" = "x"; then :
11844 case "x$with_sane" in
11845 x
) as_fn_append wine_notices
"|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
11847 *) as_fn_error $?
"libsane ${notice_platform}development files not found, scanners won't be supported.
11848 This is an error since --with-sane was requested." "$LINENO" 5 ;;
11852 if test "x$with_v4l" != "xno"
11854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
11855 $as_echo_n "checking for -lv4l1... " >&6; }
11856 if ${ac_cv_lib_soname_v4l1+:} false
; then :
11857 $as_echo_n "(cached) " >&6
11859 ac_check_soname_save_LIBS
=$LIBS
11860 LIBS
="-lv4l1 $LIBS"
11861 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11862 /* end confdefs.h. */
11864 /* Override any GCC internal prototype to avoid an error.
11865 Use char because int might match the return type of a GCC
11866 builtin and then its argument prototype would still apply. */
11874 return v4l1_open ();
11879 if ac_fn_c_try_link
"$LINENO"; then :
11881 dll
) ac_cv_lib_soname_v4l1
=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11882 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'` ;;
11883 *) ac_cv_lib_soname_v4l1
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11884 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11885 ac_cv_lib_soname_v4l1
=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11889 rm -f core conftest.err conftest.
$ac_objext \
11890 conftest
$ac_exeext conftest.
$ac_ext
11891 LIBS
=$ac_check_soname_save_LIBS
11893 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11895 $as_echo "not found" >&6; }
11898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
11899 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
11901 cat >>confdefs.h
<<_ACEOF
11902 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
11908 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
11909 case "x$with_v4l" in
11910 x
) as_fn_append wine_notices
"|libv4l ${notice_platform}development files not found." ;;
11912 *) as_fn_error $?
"libv4l ${notice_platform}development files not found.
11913 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
11917 if test "x$with_gphoto" != "xno"
11919 if ${GPHOTO2_CFLAGS:+false} :; then :
11920 if ${PKG_CONFIG+:} false
; then :
11921 GPHOTO2_CFLAGS
=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
11924 test "$cross_compiling" = yes || GPHOTO2_CFLAGS
=${GPHOTO2_CFLAGS:-`gphoto2-config --cflags 2>/dev/null`}
11925 if ${GPHOTO2_LIBS:+false} :; then :
11926 if ${PKG_CONFIG+:} false
; then :
11927 GPHOTO2_LIBS
=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
11930 test "$cross_compiling" = yes || GPHOTO2_LIBS
=${GPHOTO2_LIBS:-`gphoto2-config --libs 2>/dev/null`}
11931 GPHOTO2_LIBS
=${GPHOTO2_LIBS:-"-lgphoto2"}
11932 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
11933 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
11934 ac_save_CPPFLAGS
=$CPPFLAGS
11935 CPPFLAGS
="$CPPFLAGS $GPHOTO2_CFLAGS"
11936 ac_fn_c_check_header_mongrel
"$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
11937 if test "x$ac_cv_header_gphoto2_camera_h" = xyes
; then :
11938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
11939 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
11940 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false
; then :
11941 $as_echo_n "(cached) " >&6
11943 ac_check_lib_save_LIBS
=$LIBS
11944 LIBS
="-lgphoto2 $GPHOTO2_LIBS $LIBS"
11945 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11946 /* end confdefs.h. */
11948 /* Override any GCC internal prototype to avoid an error.
11949 Use char because int might match the return type of a GCC
11950 builtin and then its argument prototype would still apply. */
11954 char gp_camera_new ();
11958 return gp_camera_new ();
11963 if ac_fn_c_try_link
"$LINENO"; then :
11964 ac_cv_lib_gphoto2_gp_camera_new
=yes
11966 ac_cv_lib_gphoto2_gp_camera_new
=no
11968 rm -f core conftest.err conftest.
$ac_objext \
11969 conftest
$ac_exeext conftest.
$ac_ext
11970 LIBS
=$ac_check_lib_save_LIBS
11972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
11973 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
11974 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes
; then :
11976 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
11979 GPHOTO2_LIBS
=""; GPHOTO2_CFLAGS
=""
11983 GPHOTO2_LIBS
=""; GPHOTO2_CFLAGS
=""
11987 CPPFLAGS
=$ac_save_CPPFLAGS
11988 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS
=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11989 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS
=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11991 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
11992 if ${PKG_CONFIG+:} false
; then :
11993 GPHOTO2_PORT_CFLAGS
=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
11996 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS
=${GPHOTO2_PORT_CFLAGS:-`gphoto2-port-config --cflags 2>/dev/null`}
11997 if ${GPHOTO2_PORT_LIBS:+false} :; then :
11998 if ${PKG_CONFIG+:} false
; then :
11999 GPHOTO2_PORT_LIBS
=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
12002 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS
=${GPHOTO2_PORT_LIBS:-`gphoto2-port-config --libs 2>/dev/null`}
12003 GPHOTO2_PORT_LIBS
=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
12004 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
12005 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
12006 ac_save_CPPFLAGS
=$CPPFLAGS
12007 CPPFLAGS
="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
12008 ac_fn_c_check_header_mongrel
"$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
12009 if test "x$ac_cv_header_gphoto2_port_h" = xyes
; then :
12010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
12011 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
12012 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false
; then :
12013 $as_echo_n "(cached) " >&6
12015 ac_check_lib_save_LIBS
=$LIBS
12016 LIBS
="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
12017 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12018 /* end confdefs.h. */
12020 /* Override any GCC internal prototype to avoid an error.
12021 Use char because int might match the return type of a GCC
12022 builtin and then its argument prototype would still apply. */
12026 char gp_port_info_list_new ();
12030 return gp_port_info_list_new ();
12035 if ac_fn_c_try_link
"$LINENO"; then :
12036 ac_cv_lib_gphoto2_port_gp_port_info_list_new
=yes
12038 ac_cv_lib_gphoto2_port_gp_port_info_list_new
=no
12040 rm -f core conftest.err conftest.
$ac_objext \
12041 conftest
$ac_exeext conftest.
$ac_ext
12042 LIBS
=$ac_check_lib_save_LIBS
12044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
12045 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
12046 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes
; then :
12048 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
12051 GPHOTO2_PORT_LIBS
=""; GPHOTO2_PORT_CFLAGS
=""
12055 GPHOTO2_PORT_LIBS
=""; GPHOTO2_PORT_CFLAGS
=""
12059 CPPFLAGS
=$ac_save_CPPFLAGS
12060 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS
=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12061 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS
=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12064 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
12065 case "x$with_gphoto" in
12066 x
) as_fn_append wine_notices
"|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
12068 *) as_fn_error $?
"libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
12069 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12072 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
12073 case "x$with_gphoto" in
12074 x
) as_fn_append wine_notices
"|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
12076 *) as_fn_error $?
"libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
12077 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12082 if test "$ac_cv_header_resolv_h" = "yes"
12084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
12085 $as_echo_n "checking for resolver library... " >&6; }
12086 if ${ac_cv_have_resolv+:} false
; then :
12087 $as_echo_n "(cached) " >&6
12089 ac_save_LIBS
="$LIBS"
12090 for lib
in '' -lresolv
12092 LIBS
="$lib $ac_save_LIBS"
12093 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12094 /* end confdefs.h. */
12095 #ifdef HAVE_NETINET_IN_H
12096 #include <netinet/in.h>
12098 #include <resolv.h>
12102 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
12107 if ac_fn_c_try_link
"$LINENO"; then :
12108 ac_cv_have_resolv
=${lib:-"none required"}
12110 ac_cv_have_resolv
="not found"
12112 rm -f core conftest.err conftest.
$ac_objext \
12113 conftest
$ac_exeext conftest.
$ac_ext
12114 test "x$ac_cv_have_resolv" = "xnot found" ||
break
12116 LIBS
="$ac_save_LIBS"
12118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
12119 $as_echo "$ac_cv_have_resolv" >&6; }
12121 case "$ac_cv_have_resolv" in
12125 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12128 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12130 RESOLV_LIBS
=$ac_cv_have_resolv
12135 if test "x$with_cms" != "xno"
12137 if ${LCMS2_CFLAGS:+false} :; then :
12138 if ${PKG_CONFIG+:} false
; then :
12139 LCMS2_CFLAGS
=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
12143 if ${LCMS2_LIBS:+false} :; then :
12144 if ${PKG_CONFIG+:} false
; then :
12145 LCMS2_LIBS
=`$PKG_CONFIG --libs lcms2 2>/dev/null`
12149 LCMS2_LIBS
=${LCMS2_LIBS:-"-llcms2"}
12150 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
12151 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
12152 ac_save_CPPFLAGS
=$CPPFLAGS
12153 CPPFLAGS
="$CPPFLAGS $LCMS2_CFLAGS"
12154 for ac_header
in lcms2.h
12156 ac_fn_c_check_header_mongrel
"$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
12157 if test "x$ac_cv_header_lcms2_h" = xyes
; then :
12158 cat >>confdefs.h
<<_ACEOF
12159 #define HAVE_LCMS2_H 1
12166 if test "$ac_cv_header_lcms2_h" = "yes"
12168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
12169 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
12170 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false
; then :
12171 $as_echo_n "(cached) " >&6
12173 ac_check_lib_save_LIBS
=$LIBS
12174 LIBS
="-llcms2 $LCMS2_LIBS $LIBS"
12175 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12176 /* end confdefs.h. */
12178 /* Override any GCC internal prototype to avoid an error.
12179 Use char because int might match the return type of a GCC
12180 builtin and then its argument prototype would still apply. */
12184 char cmsOpenProfileFromFile ();
12188 return cmsOpenProfileFromFile ();
12193 if ac_fn_c_try_link
"$LINENO"; then :
12194 ac_cv_lib_lcms2_cmsOpenProfileFromFile
=yes
12196 ac_cv_lib_lcms2_cmsOpenProfileFromFile
=no
12198 rm -f core conftest.err conftest.
$ac_objext \
12199 conftest
$ac_exeext conftest.
$ac_ext
12200 LIBS
=$ac_check_lib_save_LIBS
12202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
12203 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
12204 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes
; then :
12206 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
12216 CPPFLAGS
=$ac_save_CPPFLAGS
12217 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS
=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12218 test -z "$LCMS2_LIBS" || LCMS2_LIBS
=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12221 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
12222 case "x$with_cms" in
12223 x
) as_fn_append wine_notices
"|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
12225 *) as_fn_error $?
"liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
12226 This is an error since --with-cms was requested." "$LINENO" 5 ;;
12230 if test "x$with_freetype" != "xno"
12232 if ${FREETYPE_CFLAGS:+false} :; then :
12233 if ${PKG_CONFIG+:} false
; then :
12234 FREETYPE_CFLAGS
=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
12237 test "$cross_compiling" = yes || FREETYPE_CFLAGS
=${FREETYPE_CFLAGS:-`(freetype-config --cflags || freetype2-config --cflags) 2>/dev/null`}
12238 if ${FREETYPE_LIBS:+false} :; then :
12239 if ${PKG_CONFIG+:} false
; then :
12240 FREETYPE_LIBS
=`$PKG_CONFIG --libs freetype2 2>/dev/null`
12243 test "$cross_compiling" = yes || FREETYPE_LIBS
=${FREETYPE_LIBS:-`(freetype-config --libs || freetype2-config --libs) 2>/dev/null`}
12244 FREETYPE_LIBS
=${FREETYPE_LIBS:-"-lfreetype"}
12245 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
12246 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
12247 ac_save_CPPFLAGS
=$CPPFLAGS
12248 CPPFLAGS
="$CPPFLAGS $FREETYPE_CFLAGS"
12249 for ac_header
in ft2build.h
12251 ac_fn_c_check_header_mongrel
"$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
12252 if test "x$ac_cv_header_ft2build_h" = xyes
; then :
12253 cat >>confdefs.h
<<_ACEOF
12254 #define HAVE_FT2BUILD_H 1
12261 if test "$ac_cv_header_ft2build_h" = "yes"
12263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
12264 $as_echo_n "checking for -lfreetype... " >&6; }
12265 if ${ac_cv_lib_soname_freetype+:} false
; then :
12266 $as_echo_n "(cached) " >&6
12268 ac_check_soname_save_LIBS
=$LIBS
12269 LIBS
="-lfreetype $FREETYPE_LIBS $LIBS"
12270 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12271 /* end confdefs.h. */
12273 /* Override any GCC internal prototype to avoid an error.
12274 Use char because int might match the return type of a GCC
12275 builtin and then its argument prototype would still apply. */
12279 char FT_Init_FreeType ();
12283 return FT_Init_FreeType ();
12288 if ac_fn_c_try_link
"$LINENO"; then :
12290 dll
) ac_cv_lib_soname_freetype
=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12291 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'` ;;
12292 *) ac_cv_lib_soname_freetype
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12293 if ${ac_cv_lib_soname_freetype:+false} :; then :
12294 ac_cv_lib_soname_freetype
=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12298 rm -f core conftest.err conftest.
$ac_objext \
12299 conftest
$ac_exeext conftest.
$ac_ext
12300 LIBS
=$ac_check_soname_save_LIBS
12302 if ${ac_cv_lib_soname_freetype:+false} :; then :
12303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12304 $as_echo "not found" >&6; }
12307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
12308 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
12310 cat >>confdefs.h
<<_ACEOF
12311 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
12315 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
12317 ac_fn_c_check_type
"$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
12318 #include FT_MODULE_H
12320 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes
; then :
12322 cat >>confdefs.h
<<_ACEOF
12323 #define HAVE_FT_TRUETYPEENGINETYPE 1
12334 CPPFLAGS
=$ac_save_CPPFLAGS
12335 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS
=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12336 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS
=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12339 if test "x$ac_cv_lib_soname_freetype" = x
; then :
12340 case "x$with_freetype" in
12342 *) as_fn_error $?
"FreeType ${notice_platform}development files not found. Fonts will not be built.
12343 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
12346 test "x$ac_cv_lib_soname_freetype" = x
&& enable_fonts
=${enable_fonts:-no}
12348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
12349 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
12350 if ${ac_cv_c_ppdev+:} false
; then :
12351 $as_echo_n "(cached) " >&6
12353 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12354 /* end confdefs.h. */
12355 #ifdef HAVE_SYS_IOCTL_H
12356 # include <sys/ioctl.h>
12358 #include <linux/ppdev.h>
12362 ioctl (1,PPCLAIM,0)
12367 if ac_fn_c_try_compile
"$LINENO"; then :
12368 ac_cv_c_ppdev
="yes"
12372 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
12375 $as_echo "$ac_cv_c_ppdev" >&6; }
12376 if test "$ac_cv_c_ppdev" = "yes"
12379 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
12383 ac_wine_check_funcs_save_LIBS
="$LIBS"
12384 LIBS
="$LIBS $PTHREAD_LIBS"
12386 pthread_attr_get_np \
12387 pthread_getattr_np \
12388 pthread_getthreadid_np \
12389 pthread_get_stackaddr_np \
12390 pthread_get_stacksize_np
12392 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12393 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
12394 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
12395 cat >>confdefs.h
<<_ACEOF
12396 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12402 LIBS
="$ac_wine_check_funcs_save_LIBS"
12404 if test "$ac_cv_header_zlib_h" = "yes"
12406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
12407 $as_echo_n "checking for inflate in -lz... " >&6; }
12408 if ${ac_cv_lib_z_inflate+:} false
; then :
12409 $as_echo_n "(cached) " >&6
12411 ac_check_lib_save_LIBS
=$LIBS
12413 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12414 /* end confdefs.h. */
12416 /* Override any GCC internal prototype to avoid an error.
12417 Use char because int might match the return type of a GCC
12418 builtin and then its argument prototype would still apply. */
12431 if ac_fn_c_try_link
"$LINENO"; then :
12432 ac_cv_lib_z_inflate
=yes
12434 ac_cv_lib_z_inflate
=no
12436 rm -f core conftest.err conftest.
$ac_objext \
12437 conftest
$ac_exeext conftest.
$ac_ext
12438 LIBS
=$ac_check_lib_save_LIBS
12440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
12441 $as_echo "$ac_cv_lib_z_inflate" >&6; }
12442 if test "x$ac_cv_lib_z_inflate" = xyes
; then :
12444 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
12451 if test "x$Z_LIBS" = "x"; then :
12452 case "x$with_zlib" in
12453 x
) as_fn_append wine_notices
"|libz ${notice_platform}development files not found, data compression won't be supported." ;;
12455 *) as_fn_error $?
"libz ${notice_platform}development files not found, data compression won't be supported.
12456 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
12460 if test "x$enable_tools" != xno
12462 if test "$ac_cv_header_gettext_po_h" = "yes"
12464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
12465 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
12466 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false
; then :
12467 $as_echo_n "(cached) " >&6
12469 ac_check_lib_save_LIBS
=$LIBS
12470 LIBS
="-lgettextpo $LIBS"
12471 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12472 /* end confdefs.h. */
12474 /* Override any GCC internal prototype to avoid an error.
12475 Use char because int might match the return type of a GCC
12476 builtin and then its argument prototype would still apply. */
12480 char po_message_msgctxt ();
12484 return po_message_msgctxt ();
12489 if ac_fn_c_try_link
"$LINENO"; then :
12490 ac_cv_lib_gettextpo_po_message_msgctxt
=yes
12492 ac_cv_lib_gettextpo_po_message_msgctxt
=no
12494 rm -f core conftest.err conftest.
$ac_objext \
12495 conftest
$ac_exeext conftest.
$ac_ext
12496 LIBS
=$ac_check_lib_save_LIBS
12498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
12499 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
12500 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes
; then :
12502 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
12504 GETTEXTPO_LIBS
="-lgettextpo"
12509 test "x$with_gettextpo" != xyes ||
if test "x$GETTEXTPO_LIBS" = "x"; then :
12510 case "x$with_gettextpo" in
12511 x
) as_fn_append wine_notices
"|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
12513 *) as_fn_error $?
"GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
12514 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12519 if test "x$with_gstreamer" != "xno"
12521 if ${GSTREAMER_CFLAGS:+false} :; then :
12522 if ${PKG_CONFIG+:} false
; then :
12523 GSTREAMER_CFLAGS
=`$PKG_CONFIG --cflags gstreamer-app-0.10 2>/dev/null`
12527 if ${GSTREAMER_LIBS:+false} :; then :
12528 if ${PKG_CONFIG+:} false
; then :
12529 GSTREAMER_LIBS
=`$PKG_CONFIG --libs gstreamer-app-0.10 2>/dev/null`
12534 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-app-0.10 cflags: $GSTREAMER_CFLAGS" >&5
12535 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-app-0.10 libs: $GSTREAMER_LIBS" >&5
12536 ac_save_CPPFLAGS
=$CPPFLAGS
12537 CPPFLAGS
="$CPPFLAGS $GSTREAMER_CFLAGS"
12539 for i
in $GSTREAMER_CFLAGS
12542 -I*) ac_gst_incl
="$ac_gst_incl $i";;
12545 GSTREAMER_CFLAGS
=$ac_gst_incl
12546 CPPFLAGS
="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
12547 ac_fn_c_check_header_mongrel
"$LINENO" "gst/gstpad.h" "ac_cv_header_gst_gstpad_h" "$ac_includes_default"
12548 if test "x$ac_cv_header_gst_gstpad_h" = xyes
; then :
12549 ac_fn_c_check_header_mongrel
"$LINENO" "gst/app/gstappsink.h" "ac_cv_header_gst_app_gstappsink_h" "$ac_includes_default"
12550 if test "x$ac_cv_header_gst_app_gstappsink_h" = xyes
; then :
12551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit" >&5
12552 $as_echo_n "checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit... " >&6; }
12553 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12554 /* end confdefs.h. */
12555 #include <gst/app/gstappsink.h>
12559 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
12564 if ac_fn_c_try_compile
"$LINENO"; then :
12565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12566 $as_echo "yes" >&6; }
12567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_get_caps_reffed in -lgstreamer-0.10" >&5
12568 $as_echo_n "checking for gst_pad_get_caps_reffed in -lgstreamer-0.10... " >&6; }
12569 if ${ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed+:} false
; then :
12570 $as_echo_n "(cached) " >&6
12572 ac_check_lib_save_LIBS
=$LIBS
12573 LIBS
="-lgstreamer-0.10 $LIBS"
12574 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12575 /* end confdefs.h. */
12577 /* Override any GCC internal prototype to avoid an error.
12578 Use char because int might match the return type of a GCC
12579 builtin and then its argument prototype would still apply. */
12583 char gst_pad_get_caps_reffed ();
12587 return gst_pad_get_caps_reffed ();
12592 if ac_fn_c_try_link
"$LINENO"; then :
12593 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed
=yes
12595 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed
=no
12597 rm -f core conftest.err conftest.
$ac_objext \
12598 conftest
$ac_exeext conftest.
$ac_ext
12599 LIBS
=$ac_check_lib_save_LIBS
12601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&5
12602 $as_echo "$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&6; }
12603 if test "x$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" = xyes
; then :
12604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_app_buffer_new in -lgstapp-0.10" >&5
12605 $as_echo_n "checking for gst_app_buffer_new in -lgstapp-0.10... " >&6; }
12606 if ${ac_cv_lib_gstapp_0_10_gst_app_buffer_new+:} false
; then :
12607 $as_echo_n "(cached) " >&6
12609 ac_check_lib_save_LIBS
=$LIBS
12610 LIBS
="-lgstapp-0.10 $GSTREAMER_LIBS $LIBS"
12611 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12612 /* end confdefs.h. */
12614 /* Override any GCC internal prototype to avoid an error.
12615 Use char because int might match the return type of a GCC
12616 builtin and then its argument prototype would still apply. */
12620 char gst_app_buffer_new ();
12624 return gst_app_buffer_new ();
12629 if ac_fn_c_try_link
"$LINENO"; then :
12630 ac_cv_lib_gstapp_0_10_gst_app_buffer_new
=yes
12632 ac_cv_lib_gstapp_0_10_gst_app_buffer_new
=no
12634 rm -f core conftest.err conftest.
$ac_objext \
12635 conftest
$ac_exeext conftest.
$ac_ext
12636 LIBS
=$ac_check_lib_save_LIBS
12638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&5
12639 $as_echo "$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&6; }
12640 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes
; then :
12647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12648 $as_echo "no" >&6; }
12650 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12655 GSTREAMER_CFLAGS
=""
12659 CPPFLAGS
=$ac_save_CPPFLAGS
12660 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS
=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12661 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS
=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12664 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" != xyes
-a "x$ac_cv_header_QuickTime_ImageCompression_h" != xyes
; then :
12665 case "x$with_gstreamer" in
12666 x
) as_fn_append wine_notices
"|gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled" ;;
12668 *) as_fn_error $?
"gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled
12669 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
12672 test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes || enable_winegstreamer
=${enable_winegstreamer:-no}
12676 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
12678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
12679 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
12680 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false
; then :
12681 $as_echo_n "(cached) " >&6
12683 ac_check_lib_save_LIBS
=$LIBS
12684 LIBS
="-lasound $LIBS"
12685 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12686 /* end confdefs.h. */
12688 /* Override any GCC internal prototype to avoid an error.
12689 Use char because int might match the return type of a GCC
12690 builtin and then its argument prototype would still apply. */
12694 char snd_pcm_hw_params_get_access_mask ();
12698 return snd_pcm_hw_params_get_access_mask ();
12703 if ac_fn_c_try_link
"$LINENO"; then :
12704 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask
=yes
12706 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask
=no
12708 rm -f core conftest.err conftest.
$ac_objext \
12709 conftest
$ac_exeext conftest.
$ac_ext
12710 LIBS
=$ac_check_lib_save_LIBS
12712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
12713 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
12714 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes
; then :
12715 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12716 /* end confdefs.h. */
12717 #ifdef HAVE_ALSA_ASOUNDLIB_H
12718 #include <alsa/asoundlib.h>
12719 #elif defined(HAVE_SYS_ASOUNDLIB_H)
12720 #include <sys/asoundlib.h>
12725 snd_pcm_hw_params_get_access_mask(NULL, NULL)
12730 if ac_fn_c_try_compile
"$LINENO"; then :
12731 ALSA_LIBS
="-lasound"
12733 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12738 if test "x$with_oss" != xno
12740 ac_save_CPPFLAGS
="$CPPFLAGS"
12741 if test -f /etc
/oss.conf
12745 ac_oss_incl
="-I${OSSLIBDIR:-/usr/lib/oss}/include"
12746 CPPFLAGS
="$CPPFLAGS $ac_oss_incl"
12747 ac_fn_c_check_header_mongrel
"$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
12748 if test "x$ac_cv_header_sys_soundcard_h" = xyes
; then :
12749 ac_fn_c_check_member
"$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
12751 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes
; then :
12753 cat >>confdefs.h
<<_ACEOF
12754 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
12757 OSS4_CFLAGS
="$ac_oss_incl"
12764 CPPFLAGS
="$ac_save_CPPFLAGS"
12765 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
12767 as_fn_append wine_notices
"|OSS sound system found but too old (OSSv4 needed), OSS won't be supported."
12771 if test "x$with_capi" != "xno"
12773 if ${CAPI20_CFLAGS:+false} :; then :
12774 if ${PKG_CONFIG+:} false
; then :
12775 CAPI20_CFLAGS
=`$PKG_CONFIG --cflags capi20 2>/dev/null`
12779 if ${CAPI20_LIBS:+false} :; then :
12780 if ${PKG_CONFIG+:} false
; then :
12781 CAPI20_LIBS
=`$PKG_CONFIG --libs capi20 2>/dev/null`
12786 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
12787 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
12788 ac_save_CPPFLAGS
=$CPPFLAGS
12789 CPPFLAGS
="$CPPFLAGS $CAPI20_CFLAGS"
12790 for ac_header
in capi20.h linux
/capi.h
12792 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12793 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#define __user
12795 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
12796 cat >>confdefs.h
<<_ACEOF
12797 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12804 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
12806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
12807 $as_echo_n "checking for -lcapi20... " >&6; }
12808 if ${ac_cv_lib_soname_capi20+:} false
; then :
12809 $as_echo_n "(cached) " >&6
12811 ac_check_soname_save_LIBS
=$LIBS
12812 LIBS
="-lcapi20 $CAPI20_LIBS $LIBS"
12813 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12814 /* end confdefs.h. */
12816 /* Override any GCC internal prototype to avoid an error.
12817 Use char because int might match the return type of a GCC
12818 builtin and then its argument prototype would still apply. */
12822 char capi20_register ();
12826 return capi20_register ();
12831 if ac_fn_c_try_link
"$LINENO"; then :
12833 dll
) ac_cv_lib_soname_capi20
=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12834 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'` ;;
12835 *) ac_cv_lib_soname_capi20
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12836 if ${ac_cv_lib_soname_capi20:+false} :; then :
12837 ac_cv_lib_soname_capi20
=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12841 rm -f core conftest.err conftest.
$ac_objext \
12842 conftest
$ac_exeext conftest.
$ac_ext
12843 LIBS
=$ac_check_soname_save_LIBS
12845 if ${ac_cv_lib_soname_capi20:+false} :; then :
12846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12847 $as_echo "not found" >&6; }
12850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
12851 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
12853 cat >>confdefs.h
<<_ACEOF
12854 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
12860 CPPFLAGS
=$ac_save_CPPFLAGS
12861 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS
=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12862 test -z "$CAPI20_LIBS" || CAPI20_LIBS
=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12865 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
12866 case "x$with_capi" in
12867 x
) as_fn_append wine_notices
"|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
12869 *) as_fn_error $?
"libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
12870 This is an error since --with-capi was requested." "$LINENO" 5 ;;
12876 if test "x$with_cups" != "xno"
12878 ac_save_CPPFLAGS
="$CPPFLAGS"
12879 ac_cups_cflags
=`cups-config --cflags 2>/dev/null`
12880 ac_cups_libs
=`cups-config --ldflags 2>/dev/null`
12881 CPPFLAGS
="$CPPFLAGS $ac_cups_cflags"
12882 for ac_header
in cups
/cups.h
12884 ac_fn_c_check_header_mongrel
"$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
12885 if test "x$ac_cv_header_cups_cups_h" = xyes
; then :
12886 cat >>confdefs.h
<<_ACEOF
12887 #define HAVE_CUPS_CUPS_H 1
12889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
12890 $as_echo_n "checking for -lcups... " >&6; }
12891 if ${ac_cv_lib_soname_cups+:} false
; then :
12892 $as_echo_n "(cached) " >&6
12894 ac_check_soname_save_LIBS
=$LIBS
12895 LIBS
="-lcups $ac_cups_libs $LIBS"
12896 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12897 /* end confdefs.h. */
12899 /* Override any GCC internal prototype to avoid an error.
12900 Use char because int might match the return type of a GCC
12901 builtin and then its argument prototype would still apply. */
12905 char cupsGetDefault ();
12909 return cupsGetDefault ();
12914 if ac_fn_c_try_link
"$LINENO"; then :
12916 dll
) ac_cv_lib_soname_cups
=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12917 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'` ;;
12918 *) ac_cv_lib_soname_cups
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12919 if ${ac_cv_lib_soname_cups:+false} :; then :
12920 ac_cv_lib_soname_cups
=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12924 rm -f core conftest.err conftest.
$ac_objext \
12925 conftest
$ac_exeext conftest.
$ac_ext
12926 LIBS
=$ac_check_soname_save_LIBS
12928 if ${ac_cv_lib_soname_cups:+false} :; then :
12929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12930 $as_echo "not found" >&6; }
12933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
12934 $as_echo "$ac_cv_lib_soname_cups" >&6; }
12936 cat >>confdefs.h
<<_ACEOF
12937 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
12940 CUPS_CFLAGS
="$ac_cups_cflags"
12946 CPPFLAGS
="$ac_save_CPPFLAGS"
12948 if test "x$ac_cv_lib_soname_cups" = "x"; then :
12949 case "x$with_cups" in
12950 x
) as_fn_append wine_notices
"|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
12952 *) as_fn_error $?
"libcups ${notice_platform}development files not found, CUPS won't be supported.
12953 This is an error since --with-cups was requested." "$LINENO" 5 ;;
12957 if test "x$with_fontconfig" != "xno"
12959 if ${FONTCONFIG_CFLAGS:+false} :; then :
12960 if ${PKG_CONFIG+:} false
; then :
12961 FONTCONFIG_CFLAGS
=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
12964 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS
=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
12965 if ${FONTCONFIG_LIBS:+false} :; then :
12966 if ${PKG_CONFIG+:} false
; then :
12967 FONTCONFIG_LIBS
=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
12970 test "$cross_compiling" = yes || FONTCONFIG_LIBS
=${FONTCONFIG_LIBS:-$X_LIBS}
12972 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
12973 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
12974 ac_save_CPPFLAGS
=$CPPFLAGS
12975 CPPFLAGS
="$CPPFLAGS $FONTCONFIG_CFLAGS"
12976 for ac_header
in fontconfig
/fontconfig.h
12978 ac_fn_c_check_header_mongrel
"$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
12979 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes
; then :
12980 cat >>confdefs.h
<<_ACEOF
12981 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
12988 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
12990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
12991 $as_echo_n "checking for -lfontconfig... " >&6; }
12992 if ${ac_cv_lib_soname_fontconfig+:} false
; then :
12993 $as_echo_n "(cached) " >&6
12995 ac_check_soname_save_LIBS
=$LIBS
12996 LIBS
="-lfontconfig $FONTCONFIG_LIBS $LIBS"
12997 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12998 /* end confdefs.h. */
13000 /* Override any GCC internal prototype to avoid an error.
13001 Use char because int might match the return type of a GCC
13002 builtin and then its argument prototype would still apply. */
13015 if ac_fn_c_try_link
"$LINENO"; then :
13017 dll
) ac_cv_lib_soname_fontconfig
=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13018 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'` ;;
13019 *) ac_cv_lib_soname_fontconfig
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13020 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13021 ac_cv_lib_soname_fontconfig
=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13025 rm -f core conftest.err conftest.
$ac_objext \
13026 conftest
$ac_exeext conftest.
$ac_ext
13027 LIBS
=$ac_check_soname_save_LIBS
13029 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13031 $as_echo "not found" >&6; }
13032 FONTCONFIG_CFLAGS
=""
13034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
13035 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
13037 cat >>confdefs.h
<<_ACEOF
13038 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
13044 FONTCONFIG_CFLAGS
=""
13046 CPPFLAGS
=$ac_save_CPPFLAGS
13047 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS
=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13048 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS
=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13051 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
13052 case "x$with_fontconfig" in
13053 x
) as_fn_append wine_notices
"|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
13055 *) as_fn_error $?
"fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
13056 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
13060 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
13062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
13063 $as_echo_n "checking for -lgsm... " >&6; }
13064 if ${ac_cv_lib_soname_gsm+:} false
; then :
13065 $as_echo_n "(cached) " >&6
13067 ac_check_soname_save_LIBS
=$LIBS
13069 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13070 /* end confdefs.h. */
13072 /* Override any GCC internal prototype to avoid an error.
13073 Use char because int might match the return type of a GCC
13074 builtin and then its argument prototype would still apply. */
13078 char gsm_create ();
13082 return gsm_create ();
13087 if ac_fn_c_try_link
"$LINENO"; then :
13089 dll
) ac_cv_lib_soname_gsm
=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13090 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'` ;;
13091 *) ac_cv_lib_soname_gsm
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13092 if ${ac_cv_lib_soname_gsm:+false} :; then :
13093 ac_cv_lib_soname_gsm
=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13097 rm -f core conftest.err conftest.
$ac_objext \
13098 conftest
$ac_exeext conftest.
$ac_ext
13099 LIBS
=$ac_check_soname_save_LIBS
13101 if ${ac_cv_lib_soname_gsm:+false} :; then :
13102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13103 $as_echo "not found" >&6; }
13106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
13107 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
13109 cat >>confdefs.h
<<_ACEOF
13110 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
13116 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
13117 case "x$with_gsm" in
13118 x
) as_fn_append wine_notices
"|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
13120 *) as_fn_error $?
"libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
13121 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
13125 if test "x$with_jpeg" != "xno"
13127 if ${JPEG_CFLAGS:+false} :; then :
13128 if ${PKG_CONFIG+:} false
; then :
13129 JPEG_CFLAGS
=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
13133 if ${JPEG_LIBS:+false} :; then :
13134 if ${PKG_CONFIG+:} false
; then :
13135 JPEG_LIBS
=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
13140 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
13141 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
13142 ac_save_CPPFLAGS
=$CPPFLAGS
13143 CPPFLAGS
="$CPPFLAGS $JPEG_CFLAGS"
13144 for ac_header
in jpeglib.h
13146 ac_fn_c_check_header_mongrel
"$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
13147 if test "x$ac_cv_header_jpeglib_h" = xyes
; then :
13148 cat >>confdefs.h
<<_ACEOF
13149 #define HAVE_JPEGLIB_H 1
13156 if test "$ac_cv_header_jpeglib_h" = "yes"
13158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
13159 $as_echo_n "checking for -ljpeg... " >&6; }
13160 if ${ac_cv_lib_soname_jpeg+:} false
; then :
13161 $as_echo_n "(cached) " >&6
13163 ac_check_soname_save_LIBS
=$LIBS
13164 LIBS
="-ljpeg $JPEG_LIBS $LIBS"
13165 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13166 /* end confdefs.h. */
13168 /* Override any GCC internal prototype to avoid an error.
13169 Use char because int might match the return type of a GCC
13170 builtin and then its argument prototype would still apply. */
13174 char jpeg_start_decompress ();
13178 return jpeg_start_decompress ();
13183 if ac_fn_c_try_link
"$LINENO"; then :
13185 dll
) ac_cv_lib_soname_jpeg
=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13186 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'` ;;
13187 *) ac_cv_lib_soname_jpeg
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13188 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13189 ac_cv_lib_soname_jpeg
=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13193 rm -f core conftest.err conftest.
$ac_objext \
13194 conftest
$ac_exeext conftest.
$ac_ext
13195 LIBS
=$ac_check_soname_save_LIBS
13197 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13199 $as_echo "not found" >&6; }
13202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
13203 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
13205 cat >>confdefs.h
<<_ACEOF
13206 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
13214 CPPFLAGS
=$ac_save_CPPFLAGS
13215 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS
=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13216 test -z "$JPEG_LIBS" || JPEG_LIBS
=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13219 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
13220 case "x$with_jpeg" in
13221 x
) as_fn_append wine_warnings
"|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
13223 *) as_fn_error $?
"libjpeg ${notice_platform}development files not found, JPEG won't be supported.
13224 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
13228 if test "x$with_png" != "xno"
13230 if ${PNG_CFLAGS:+false} :; then :
13231 if ${PKG_CONFIG+:} false
; then :
13232 PNG_CFLAGS
=`$PKG_CONFIG --cflags libpng 2>/dev/null`
13235 test "$cross_compiling" = yes || PNG_CFLAGS
=${PNG_CFLAGS:-$X_CFLAGS}
13236 if ${PNG_LIBS:+false} :; then :
13237 if ${PKG_CONFIG+:} false
; then :
13238 PNG_LIBS
=`$PKG_CONFIG --libs libpng 2>/dev/null`
13241 test "$cross_compiling" = yes || PNG_LIBS
=${PNG_LIBS:-$X_LIBS}
13243 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
13244 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
13245 ac_save_CPPFLAGS
=$CPPFLAGS
13246 CPPFLAGS
="$CPPFLAGS $PNG_CFLAGS"
13247 for ac_header
in png.h
13249 ac_fn_c_check_header_mongrel
"$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
13250 if test "x$ac_cv_header_png_h" = xyes
; then :
13251 cat >>confdefs.h
<<_ACEOF
13252 #define HAVE_PNG_H 1
13259 if test "$ac_cv_header_png_h" = "yes"
13261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
13262 $as_echo_n "checking for -lpng... " >&6; }
13263 if ${ac_cv_lib_soname_png+:} false
; then :
13264 $as_echo_n "(cached) " >&6
13266 ac_check_soname_save_LIBS
=$LIBS
13267 LIBS
="-lpng $PNG_LIBS -lm -lz $LIBS"
13268 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13269 /* end confdefs.h. */
13271 /* Override any GCC internal prototype to avoid an error.
13272 Use char because int might match the return type of a GCC
13273 builtin and then its argument prototype would still apply. */
13277 char png_create_read_struct ();
13281 return png_create_read_struct ();
13286 if ac_fn_c_try_link
"$LINENO"; then :
13288 dll
) ac_cv_lib_soname_png
=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13289 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'` ;;
13290 *) 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'`
13291 if ${ac_cv_lib_soname_png:+false} :; then :
13292 ac_cv_lib_soname_png
=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13296 rm -f core conftest.err conftest.
$ac_objext \
13297 conftest
$ac_exeext conftest.
$ac_ext
13298 LIBS
=$ac_check_soname_save_LIBS
13300 if ${ac_cv_lib_soname_png:+false} :; then :
13301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13302 $as_echo "not found" >&6; }
13305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
13306 $as_echo "$ac_cv_lib_soname_png" >&6; }
13308 cat >>confdefs.h
<<_ACEOF
13309 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
13312 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13313 /* end confdefs.h. */
13318 typeof(png_set_expand_gray_1_2_4_to_8) *p
13323 if ac_fn_c_try_compile
"$LINENO"; then :
13325 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
13328 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13333 CPPFLAGS
=$ac_save_CPPFLAGS
13334 test -z "$PNG_CFLAGS" || PNG_CFLAGS
=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13335 test -z "$PNG_LIBS" || PNG_LIBS
=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13338 if test "x$ac_cv_lib_soname_png" = "x"; then :
13339 case "x$with_png" in
13340 x
) as_fn_append wine_warnings
"|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
13342 *) as_fn_error $?
"libpng ${notice_platform}development files not found, PNG won't be supported.
13343 This is an error since --with-png was requested." "$LINENO" 5 ;;
13347 if test "x$with_tiff" != "xno"
13349 if ${TIFF_CFLAGS:+false} :; then :
13350 if ${PKG_CONFIG+:} false
; then :
13351 TIFF_CFLAGS
=`$PKG_CONFIG --cflags libtiff 2>/dev/null`
13355 if ${TIFF_LIBS:+false} :; then :
13356 if ${PKG_CONFIG+:} false
; then :
13357 TIFF_LIBS
=`$PKG_CONFIG --libs libtiff 2>/dev/null`
13362 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff cflags: $TIFF_CFLAGS" >&5
13363 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff libs: $TIFF_LIBS" >&5
13364 ac_save_CPPFLAGS
=$CPPFLAGS
13365 CPPFLAGS
="$CPPFLAGS $TIFF_CFLAGS"
13366 for ac_header
in tiffio.h
13368 ac_fn_c_check_header_mongrel
"$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
13369 if test "x$ac_cv_header_tiffio_h" = xyes
; then :
13370 cat >>confdefs.h
<<_ACEOF
13371 #define HAVE_TIFFIO_H 1
13378 if test "$ac_cv_header_tiffio_h" = "yes"
13380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
13381 $as_echo_n "checking for -ltiff... " >&6; }
13382 if ${ac_cv_lib_soname_tiff+:} false
; then :
13383 $as_echo_n "(cached) " >&6
13385 ac_check_soname_save_LIBS
=$LIBS
13386 LIBS
="-ltiff $TIFF_LIBS $LIBS"
13387 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13388 /* end confdefs.h. */
13390 /* Override any GCC internal prototype to avoid an error.
13391 Use char because int might match the return type of a GCC
13392 builtin and then its argument prototype would still apply. */
13396 char TIFFClientOpen ();
13400 return TIFFClientOpen ();
13405 if ac_fn_c_try_link
"$LINENO"; then :
13407 dll
) ac_cv_lib_soname_tiff
=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13408 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'` ;;
13409 *) ac_cv_lib_soname_tiff
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13410 if ${ac_cv_lib_soname_tiff:+false} :; then :
13411 ac_cv_lib_soname_tiff
=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13415 rm -f core conftest.err conftest.
$ac_objext \
13416 conftest
$ac_exeext conftest.
$ac_ext
13417 LIBS
=$ac_check_soname_save_LIBS
13419 if ${ac_cv_lib_soname_tiff:+false} :; then :
13420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13421 $as_echo "not found" >&6; }
13424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
13425 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
13427 cat >>confdefs.h
<<_ACEOF
13428 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
13434 CPPFLAGS
=$ac_save_CPPFLAGS
13435 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS
=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13436 test -z "$TIFF_LIBS" || TIFF_LIBS
=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13439 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
13440 case "x$with_tiff" in
13441 x
) as_fn_append wine_notices
"|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
13443 *) as_fn_error $?
"libtiff ${notice_platform}development files not found, TIFF won't be supported.
13444 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
13448 if test "x$with_mpg123" != "xno"
13450 if ${MPG123_CFLAGS:+false} :; then :
13451 if ${PKG_CONFIG+:} false
; then :
13452 MPG123_CFLAGS
=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
13456 if ${MPG123_LIBS:+false} :; then :
13457 if ${PKG_CONFIG+:} false
; then :
13458 MPG123_LIBS
=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
13462 MPG123_LIBS
=${MPG123_LIBS:-"-lmpg123"}
13463 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
13464 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
13465 ac_save_CPPFLAGS
=$CPPFLAGS
13466 CPPFLAGS
="$CPPFLAGS $MPG123_CFLAGS"
13467 for ac_header
in mpg123.h
13469 ac_fn_c_check_header_mongrel
"$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
13470 if test "x$ac_cv_header_mpg123_h" = xyes
; then :
13471 cat >>confdefs.h
<<_ACEOF
13472 #define HAVE_MPG123_H 1
13479 if test "$ac_cv_header_mpg123_h" = "yes"
13481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
13482 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
13483 if ${ac_cv_lib_mpg123_mpg123_feed+:} false
; then :
13484 $as_echo_n "(cached) " >&6
13486 ac_check_lib_save_LIBS
=$LIBS
13487 LIBS
="-lmpg123 $MPG123_LIBS $LIBS"
13488 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13489 /* end confdefs.h. */
13491 /* Override any GCC internal prototype to avoid an error.
13492 Use char because int might match the return type of a GCC
13493 builtin and then its argument prototype would still apply. */
13497 char mpg123_feed ();
13501 return mpg123_feed ();
13506 if ac_fn_c_try_link
"$LINENO"; then :
13507 ac_cv_lib_mpg123_mpg123_feed
=yes
13509 ac_cv_lib_mpg123_mpg123_feed
=no
13511 rm -f core conftest.err conftest.
$ac_objext \
13512 conftest
$ac_exeext conftest.
$ac_ext
13513 LIBS
=$ac_check_lib_save_LIBS
13515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
13516 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
13517 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes
; then :
13527 CPPFLAGS
=$ac_save_CPPFLAGS
13528 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS
=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13529 test -z "$MPG123_LIBS" || MPG123_LIBS
=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13532 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes
-a x
"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes
; then :
13533 case "x$with_mpg123" in
13534 x
) as_fn_append wine_notices
"|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
13536 *) as_fn_error $?
"libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
13537 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
13540 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}
13542 if test "$ac_cv_header_AL_al_h" = "yes"
13544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
13545 $as_echo_n "checking for -lopenal... " >&6; }
13546 if ${ac_cv_lib_soname_openal+:} false
; then :
13547 $as_echo_n "(cached) " >&6
13549 ac_check_soname_save_LIBS
=$LIBS
13550 LIBS
="-lopenal $LIBS"
13551 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13552 /* end confdefs.h. */
13554 /* Override any GCC internal prototype to avoid an error.
13555 Use char because int might match the return type of a GCC
13556 builtin and then its argument prototype would still apply. */
13560 char alGetSource3i ();
13564 return alGetSource3i ();
13569 if ac_fn_c_try_link
"$LINENO"; then :
13571 dll
) ac_cv_lib_soname_openal
=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13572 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'` ;;
13573 *) ac_cv_lib_soname_openal
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13574 if ${ac_cv_lib_soname_openal:+false} :; then :
13575 ac_cv_lib_soname_openal
=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13579 rm -f core conftest.err conftest.
$ac_objext \
13580 conftest
$ac_exeext conftest.
$ac_ext
13581 LIBS
=$ac_check_soname_save_LIBS
13583 if ${ac_cv_lib_soname_openal:+false} :; then :
13584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13585 $as_echo "not found" >&6; }
13588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
13589 $as_echo "$ac_cv_lib_soname_openal" >&6; }
13591 cat >>confdefs.h
<<_ACEOF
13592 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
13595 OPENAL_LIBS
="-lopenal"
13597 ac_cv_lib_openal
=yes
13599 cat >>confdefs.h
<<_ACEOF
13600 #define HAVE_OPENAL 1
13605 if test "x$ac_cv_lib_openal" != xyes
; then :
13606 case "x$with_openal" in
13607 x
) as_fn_append wine_notices
"|libopenal ${notice_platform}development files not found (or too old), OpenAL and XAudio2 won't be supported" ;;
13609 *) as_fn_error $?
"libopenal ${notice_platform}development files not found (or too old), OpenAL and XAudio2 won't be supported
13610 This is an error since --with-openal was requested." "$LINENO" 5 ;;
13613 test "x$ac_cv_lib_openal" = xyes || enable_openal32
=${enable_openal32:-no}
13614 test "x$ac_cv_lib_openal" = xyes || enable_xaudio2_7
=${enable_xaudio2_7:-no}
13616 if test "$ac_cv_header_kstat_h" = "yes"
13618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
13619 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
13620 if ${ac_cv_lib_kstat_kstat_open+:} false
; then :
13621 $as_echo_n "(cached) " >&6
13623 ac_check_lib_save_LIBS
=$LIBS
13624 LIBS
="-lkstat $LIBS"
13625 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13626 /* end confdefs.h. */
13628 /* Override any GCC internal prototype to avoid an error.
13629 Use char because int might match the return type of a GCC
13630 builtin and then its argument prototype would still apply. */
13634 char kstat_open ();
13638 return kstat_open ();
13643 if ac_fn_c_try_link
"$LINENO"; then :
13644 ac_cv_lib_kstat_kstat_open
=yes
13646 ac_cv_lib_kstat_kstat_open
=no
13648 rm -f core conftest.err conftest.
$ac_objext \
13649 conftest
$ac_exeext conftest.
$ac_ext
13650 LIBS
=$ac_check_lib_save_LIBS
13652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
13653 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
13654 if test "x$ac_cv_lib_kstat_kstat_open" = xyes
; then :
13656 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
13658 KSTAT_LIBS
="-lkstat"
13664 if test "$ac_cv_header_libprocstat_h" = "yes"
13666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
13667 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
13668 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false
; then :
13669 $as_echo_n "(cached) " >&6
13671 ac_check_lib_save_LIBS
=$LIBS
13672 LIBS
="-lprocstat $LIBS"
13673 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13674 /* end confdefs.h. */
13676 /* Override any GCC internal prototype to avoid an error.
13677 Use char because int might match the return type of a GCC
13678 builtin and then its argument prototype would still apply. */
13682 char procstat_open_sysctl ();
13686 return procstat_open_sysctl ();
13691 if ac_fn_c_try_link
"$LINENO"; then :
13692 ac_cv_lib_procstat_procstat_open_sysctl
=yes
13694 ac_cv_lib_procstat_procstat_open_sysctl
=no
13696 rm -f core conftest.err conftest.
$ac_objext \
13697 conftest
$ac_exeext conftest.
$ac_ext
13698 LIBS
=$ac_check_lib_save_LIBS
13700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
13701 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
13702 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes
; then :
13704 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
13706 PROCSTAT_LIBS
="-lprocstat"
13712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
13713 $as_echo_n "checking for -lodbc... " >&6; }
13714 if ${ac_cv_lib_soname_odbc+:} false
; then :
13715 $as_echo_n "(cached) " >&6
13717 ac_check_soname_save_LIBS
=$LIBS
13718 LIBS
="-lodbc $LIBS"
13719 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13720 /* end confdefs.h. */
13722 /* Override any GCC internal prototype to avoid an error.
13723 Use char because int might match the return type of a GCC
13724 builtin and then its argument prototype would still apply. */
13728 char SQLConnect ();
13732 return SQLConnect ();
13737 if ac_fn_c_try_link
"$LINENO"; then :
13739 dll
) ac_cv_lib_soname_odbc
=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13740 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'` ;;
13741 *) ac_cv_lib_soname_odbc
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13742 if ${ac_cv_lib_soname_odbc:+false} :; then :
13743 ac_cv_lib_soname_odbc
=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13747 rm -f core conftest.err conftest.
$ac_objext \
13748 conftest
$ac_exeext conftest.
$ac_ext
13749 LIBS
=$ac_check_soname_save_LIBS
13751 if ${ac_cv_lib_soname_odbc:+false} :; then :
13752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13753 $as_echo "not found" >&6; }
13754 cat >>confdefs.h
<<_ACEOF
13755 #define SONAME_LIBODBC "libodbc.$LIBEXT"
13759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
13760 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
13762 cat >>confdefs.h
<<_ACEOF
13763 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
13769 if test "x$with_netapi" != "xno"
13771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
13772 $as_echo_n "checking for -lnetapi... " >&6; }
13773 if ${ac_cv_lib_soname_netapi+:} false
; then :
13774 $as_echo_n "(cached) " >&6
13776 ac_check_soname_save_LIBS
=$LIBS
13777 LIBS
="-lnetapi $LIBS"
13778 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13779 /* end confdefs.h. */
13781 /* Override any GCC internal prototype to avoid an error.
13782 Use char because int might match the return type of a GCC
13783 builtin and then its argument prototype would still apply. */
13787 char libnetapi_init ();
13791 return libnetapi_init ();
13796 if ac_fn_c_try_link
"$LINENO"; then :
13798 dll
) ac_cv_lib_soname_netapi
=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13799 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'` ;;
13800 *) ac_cv_lib_soname_netapi
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13801 if ${ac_cv_lib_soname_netapi:+false} :; then :
13802 ac_cv_lib_soname_netapi
=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13806 rm -f core conftest.err conftest.
$ac_objext \
13807 conftest
$ac_exeext conftest.
$ac_ext
13808 LIBS
=$ac_check_soname_save_LIBS
13810 if ${ac_cv_lib_soname_netapi:+false} :; then :
13811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13812 $as_echo "not found" >&6; }
13813 cat >>confdefs.h
<<_ACEOF
13814 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
13818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
13819 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
13821 cat >>confdefs.h
<<_ACEOF
13822 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
13829 test -n "$ALSA_LIBS" || enable_winealsa_drv
=${enable_winealsa_drv:-no}
13830 test -n "$COREAUDIO_LIBS" || enable_winecoreaudio_drv
=${enable_winecoreaudio_drv:-no}
13831 test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes || enable_wineoss_drv
=${enable_wineoss_drv:-no}
13832 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv
=${enable_winejoystick_drv:-no}
13834 if test "x$ALSA_LIBS$COREAUDIO_LIBS" = "x" -a \
13835 "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
-a \
13836 "x$with_alsa$with_coreaudio$with_oss" != xnonono
13838 as_fn_append wine_warnings
"|No sound system was found. Windows applications will be silent."
13844 if test "x${GCC}" = "xyes"
13846 EXTRACFLAGS
="-Wall -pipe"
13848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
13849 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
13850 if ${ac_cv_c_gcc_strength_bug+:} false
; then :
13851 $as_echo_n "(cached) " >&6
13853 if test "$cross_compiling" = yes; then :
13854 ac_cv_c_gcc_strength_bug
="no"
13856 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13857 /* end confdefs.h. */
13858 int L[4] = {0,1,2,3};
13862 static int Array[3];
13863 unsigned int B = 3;
13865 for(i=0; i<B; i++) Array[i] = i - 3;
13866 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
13868 return (Array[1] != -2 || L[2] != 3)
13873 if ac_fn_c_try_run
"$LINENO"; then :
13874 ac_cv_c_gcc_strength_bug
="no"
13876 ac_cv_c_gcc_strength_bug
="yes"
13878 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
13879 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
13883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
13884 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
13885 if test "$ac_cv_c_gcc_strength_bug" = "yes"
13887 EXTRACFLAGS
="$EXTRACFLAGS -fno-strength-reduce"
13890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
13891 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
13892 if ${ac_cv_cflags__fno_builtin+:} false
; then :
13893 $as_echo_n "(cached) " >&6
13895 ac_wine_try_cflags_saved
=$CFLAGS
13896 CFLAGS
="$CFLAGS -fno-builtin"
13897 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13898 /* end confdefs.h. */
13899 int main(int argc, char **argv) { return 0; }
13901 if ac_fn_c_try_link
"$LINENO"; then :
13902 ac_cv_cflags__fno_builtin
=yes
13904 ac_cv_cflags__fno_builtin
=no
13906 rm -f core conftest.err conftest.
$ac_objext \
13907 conftest
$ac_exeext conftest.
$ac_ext
13908 CFLAGS
=$ac_wine_try_cflags_saved
13910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
13911 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
13912 if test "x$ac_cv_cflags__fno_builtin" = xyes
; then :
13913 BUILTINFLAG
="-fno-builtin"
13916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
13917 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
13918 if ${ac_cv_cflags__fno_strict_aliasing+:} false
; then :
13919 $as_echo_n "(cached) " >&6
13921 ac_wine_try_cflags_saved
=$CFLAGS
13922 CFLAGS
="$CFLAGS -fno-strict-aliasing"
13923 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13924 /* end confdefs.h. */
13925 int main(int argc, char **argv) { return 0; }
13927 if ac_fn_c_try_link
"$LINENO"; then :
13928 ac_cv_cflags__fno_strict_aliasing
=yes
13930 ac_cv_cflags__fno_strict_aliasing
=no
13932 rm -f core conftest.err conftest.
$ac_objext \
13933 conftest
$ac_exeext conftest.
$ac_ext
13934 CFLAGS
=$ac_wine_try_cflags_saved
13936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
13937 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
13938 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes
; then :
13939 EXTRACFLAGS
="$EXTRACFLAGS -fno-strict-aliasing"
13941 saved_CFLAGS
=$CFLAGS
13942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
13943 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
13944 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false
; then :
13945 $as_echo_n "(cached) " >&6
13947 ac_wine_try_cflags_saved
=$CFLAGS
13948 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
13949 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13950 /* end confdefs.h. */
13951 int main(int argc, char **argv) { return 0; }
13953 if ac_fn_c_try_link
"$LINENO"; then :
13954 ac_cv_cflags__Werror_unknown_warning_option
=yes
13956 ac_cv_cflags__Werror_unknown_warning_option
=no
13958 rm -f core conftest.err conftest.
$ac_objext \
13959 conftest
$ac_exeext conftest.
$ac_ext
13960 CFLAGS
=$ac_wine_try_cflags_saved
13962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
13963 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
13964 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes
; then :
13965 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
13967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
13968 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
13969 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false
; then :
13970 $as_echo_n "(cached) " >&6
13972 ac_wine_try_cflags_saved
=$CFLAGS
13973 CFLAGS
="$CFLAGS -Wdeclaration-after-statement"
13974 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13975 /* end confdefs.h. */
13976 int main(int argc, char **argv) { return 0; }
13978 if ac_fn_c_try_link
"$LINENO"; then :
13979 ac_cv_cflags__Wdeclaration_after_statement
=yes
13981 ac_cv_cflags__Wdeclaration_after_statement
=no
13983 rm -f core conftest.err conftest.
$ac_objext \
13984 conftest
$ac_exeext conftest.
$ac_ext
13985 CFLAGS
=$ac_wine_try_cflags_saved
13987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
13988 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
13989 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes
; then :
13990 EXTRACFLAGS
="$EXTRACFLAGS -Wdeclaration-after-statement"
13992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
13993 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
13994 if ${ac_cv_cflags__Wempty_body+:} false
; then :
13995 $as_echo_n "(cached) " >&6
13997 ac_wine_try_cflags_saved
=$CFLAGS
13998 CFLAGS
="$CFLAGS -Wempty-body"
13999 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14000 /* end confdefs.h. */
14001 int main(int argc, char **argv) { return 0; }
14003 if ac_fn_c_try_link
"$LINENO"; then :
14004 ac_cv_cflags__Wempty_body
=yes
14006 ac_cv_cflags__Wempty_body
=no
14008 rm -f core conftest.err conftest.
$ac_objext \
14009 conftest
$ac_exeext conftest.
$ac_ext
14010 CFLAGS
=$ac_wine_try_cflags_saved
14012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
14013 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
14014 if test "x$ac_cv_cflags__Wempty_body" = xyes
; then :
14015 EXTRACFLAGS
="$EXTRACFLAGS -Wempty-body"
14017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
14018 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
14019 if ${ac_cv_cflags__Wignored_qualifiers+:} false
; then :
14020 $as_echo_n "(cached) " >&6
14022 ac_wine_try_cflags_saved
=$CFLAGS
14023 CFLAGS
="$CFLAGS -Wignored-qualifiers"
14024 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14025 /* end confdefs.h. */
14026 int main(int argc, char **argv) { return 0; }
14028 if ac_fn_c_try_link
"$LINENO"; then :
14029 ac_cv_cflags__Wignored_qualifiers
=yes
14031 ac_cv_cflags__Wignored_qualifiers
=no
14033 rm -f core conftest.err conftest.
$ac_objext \
14034 conftest
$ac_exeext conftest.
$ac_ext
14035 CFLAGS
=$ac_wine_try_cflags_saved
14037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
14038 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
14039 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes
; then :
14040 EXTRACFLAGS
="$EXTRACFLAGS -Wignored-qualifiers"
14042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
14043 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
14044 if ${ac_cv_cflags__Wstrict_prototypes+:} false
; then :
14045 $as_echo_n "(cached) " >&6
14047 ac_wine_try_cflags_saved
=$CFLAGS
14048 CFLAGS
="$CFLAGS -Wstrict-prototypes"
14049 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14050 /* end confdefs.h. */
14051 int main(int argc, char **argv) { return 0; }
14053 if ac_fn_c_try_link
"$LINENO"; then :
14054 ac_cv_cflags__Wstrict_prototypes
=yes
14056 ac_cv_cflags__Wstrict_prototypes
=no
14058 rm -f core conftest.err conftest.
$ac_objext \
14059 conftest
$ac_exeext conftest.
$ac_ext
14060 CFLAGS
=$ac_wine_try_cflags_saved
14062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
14063 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
14064 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes
; then :
14065 EXTRACFLAGS
="$EXTRACFLAGS -Wstrict-prototypes"
14067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
14068 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
14069 if ${ac_cv_cflags__Wtype_limits+:} false
; then :
14070 $as_echo_n "(cached) " >&6
14072 ac_wine_try_cflags_saved
=$CFLAGS
14073 CFLAGS
="$CFLAGS -Wtype-limits"
14074 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14075 /* end confdefs.h. */
14076 int main(int argc, char **argv) { return 0; }
14078 if ac_fn_c_try_link
"$LINENO"; then :
14079 ac_cv_cflags__Wtype_limits
=yes
14081 ac_cv_cflags__Wtype_limits
=no
14083 rm -f core conftest.err conftest.
$ac_objext \
14084 conftest
$ac_exeext conftest.
$ac_ext
14085 CFLAGS
=$ac_wine_try_cflags_saved
14087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
14088 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
14089 if test "x$ac_cv_cflags__Wtype_limits" = xyes
; then :
14090 EXTRACFLAGS
="$EXTRACFLAGS -Wtype-limits"
14092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
14093 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
14094 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false
; then :
14095 $as_echo_n "(cached) " >&6
14097 ac_wine_try_cflags_saved
=$CFLAGS
14098 CFLAGS
="$CFLAGS -Wunused-but-set-parameter"
14099 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14100 /* end confdefs.h. */
14101 int main(int argc, char **argv) { return 0; }
14103 if ac_fn_c_try_link
"$LINENO"; then :
14104 ac_cv_cflags__Wunused_but_set_parameter
=yes
14106 ac_cv_cflags__Wunused_but_set_parameter
=no
14108 rm -f core conftest.err conftest.
$ac_objext \
14109 conftest
$ac_exeext conftest.
$ac_ext
14110 CFLAGS
=$ac_wine_try_cflags_saved
14112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
14113 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
14114 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes
; then :
14115 EXTRACFLAGS
="$EXTRACFLAGS -Wunused-but-set-parameter"
14117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
14118 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
14119 if ${ac_cv_cflags__Wvla+:} false
; then :
14120 $as_echo_n "(cached) " >&6
14122 ac_wine_try_cflags_saved
=$CFLAGS
14123 CFLAGS
="$CFLAGS -Wvla"
14124 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14125 /* end confdefs.h. */
14126 int main(int argc, char **argv) { return 0; }
14128 if ac_fn_c_try_link
"$LINENO"; then :
14129 ac_cv_cflags__Wvla
=yes
14131 ac_cv_cflags__Wvla
=no
14133 rm -f core conftest.err conftest.
$ac_objext \
14134 conftest
$ac_exeext conftest.
$ac_ext
14135 CFLAGS
=$ac_wine_try_cflags_saved
14137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
14138 $as_echo "$ac_cv_cflags__Wvla" >&6; }
14139 if test "x$ac_cv_cflags__Wvla" = xyes
; then :
14140 EXTRACFLAGS
="$EXTRACFLAGS -Wvla"
14142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
14143 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
14144 if ${ac_cv_cflags__Wwrite_strings+:} false
; then :
14145 $as_echo_n "(cached) " >&6
14147 ac_wine_try_cflags_saved
=$CFLAGS
14148 CFLAGS
="$CFLAGS -Wwrite-strings"
14149 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14150 /* end confdefs.h. */
14151 int main(int argc, char **argv) { return 0; }
14153 if ac_fn_c_try_link
"$LINENO"; then :
14154 ac_cv_cflags__Wwrite_strings
=yes
14156 ac_cv_cflags__Wwrite_strings
=no
14158 rm -f core conftest.err conftest.
$ac_objext \
14159 conftest
$ac_exeext conftest.
$ac_ext
14160 CFLAGS
=$ac_wine_try_cflags_saved
14162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
14163 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
14164 if test "x$ac_cv_cflags__Wwrite_strings" = xyes
; then :
14165 EXTRACFLAGS
="$EXTRACFLAGS -Wwrite-strings"
14168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
14169 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
14170 if ${ac_cv_cflags__Wpointer_arith+:} false
; then :
14171 $as_echo_n "(cached) " >&6
14173 ac_wine_try_cflags_saved
=$CFLAGS
14174 CFLAGS
="$CFLAGS -Wpointer-arith"
14175 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14176 /* end confdefs.h. */
14177 int main(int argc, char **argv) { return 0; }
14179 if ac_fn_c_try_link
"$LINENO"; then :
14180 ac_cv_cflags__Wpointer_arith
=yes
14182 ac_cv_cflags__Wpointer_arith
=no
14184 rm -f core conftest.err conftest.
$ac_objext \
14185 conftest
$ac_exeext conftest.
$ac_ext
14186 CFLAGS
=$ac_wine_try_cflags_saved
14188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
14189 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
14190 if test "x$ac_cv_cflags__Wpointer_arith" = xyes
; then :
14191 saved_string_h_CFLAGS
=$CFLAGS
14192 CFLAGS
="$CFLAGS -Wpointer-arith -Werror"
14193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
14194 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
14195 if ${ac_cv_c_string_h_warnings+:} false
; then :
14196 $as_echo_n "(cached) " >&6
14198 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14199 /* end confdefs.h. */
14200 #include <string.h>
14209 if ac_fn_c_try_compile
"$LINENO"; then :
14210 ac_cv_c_string_h_warnings
=no
14212 ac_cv_c_string_h_warnings
=yes
14214 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
14217 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
14218 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS
="$EXTRACFLAGS -Wpointer-arith"
14219 CFLAGS
=$saved_string_h_CFLAGS
14222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
14223 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
14224 if ${ac_cv_cflags__Wlogical_op+:} false
; then :
14225 $as_echo_n "(cached) " >&6
14227 ac_wine_try_cflags_saved
=$CFLAGS
14228 CFLAGS
="$CFLAGS -Wlogical-op"
14229 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14230 /* end confdefs.h. */
14231 int main(int argc, char **argv) { return 0; }
14233 if ac_fn_c_try_link
"$LINENO"; then :
14234 ac_cv_cflags__Wlogical_op
=yes
14236 ac_cv_cflags__Wlogical_op
=no
14238 rm -f core conftest.err conftest.
$ac_objext \
14239 conftest
$ac_exeext conftest.
$ac_ext
14240 CFLAGS
=$ac_wine_try_cflags_saved
14242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
14243 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
14244 if test "x$ac_cv_cflags__Wlogical_op" = xyes
; then :
14245 saved_string_h_CFLAGS
=$CFLAGS
14246 CFLAGS
="$CFLAGS -Wlogical-op -Werror"
14247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
14248 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
14249 if ${ac_cv_c_logicalop_noisy+:} false
; then :
14250 $as_echo_n "(cached) " >&6
14252 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14253 /* end confdefs.h. */
14254 #include <string.h>
14255 char*f(const char *h,char n) {return strchr(h,n);}
14264 if ac_fn_c_try_compile
"$LINENO"; then :
14265 ac_cv_c_logicalop_noisy
=no
14267 ac_cv_c_logicalop_noisy
=yes
14269 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
14272 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
14273 CFLAGS
=$saved_string_h_CFLAGS
14274 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS
="$EXTRACFLAGS -Wlogical-op"
14277 CFLAGS
=$saved_CFLAGS
14279 for ac_flag
in $CFLAGS; do
14281 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
14282 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
14283 if ${ac_cv_cflags__gdwarf_2+:} false
; then :
14284 $as_echo_n "(cached) " >&6
14286 ac_wine_try_cflags_saved
=$CFLAGS
14287 CFLAGS
="$CFLAGS -gdwarf-2"
14288 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14289 /* end confdefs.h. */
14290 int main(int argc, char **argv) { return 0; }
14292 if ac_fn_c_try_link
"$LINENO"; then :
14293 ac_cv_cflags__gdwarf_2
=yes
14295 ac_cv_cflags__gdwarf_2
=no
14297 rm -f core conftest.err conftest.
$ac_objext \
14298 conftest
$ac_exeext conftest.
$ac_ext
14299 CFLAGS
=$ac_wine_try_cflags_saved
14301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
14302 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
14303 if test "x$ac_cv_cflags__gdwarf_2" = xyes
; then :
14304 EXTRACFLAGS
="$EXTRACFLAGS -gdwarf-2"
14306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
14307 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
14308 if ${ac_cv_cflags__gstrict_dwarf+:} false
; then :
14309 $as_echo_n "(cached) " >&6
14311 ac_wine_try_cflags_saved
=$CFLAGS
14312 CFLAGS
="$CFLAGS -gstrict-dwarf"
14313 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14314 /* end confdefs.h. */
14315 int main(int argc, char **argv) { return 0; }
14317 if ac_fn_c_try_link
"$LINENO"; then :
14318 ac_cv_cflags__gstrict_dwarf
=yes
14320 ac_cv_cflags__gstrict_dwarf
=no
14322 rm -f core conftest.err conftest.
$ac_objext \
14323 conftest
$ac_exeext conftest.
$ac_ext
14324 CFLAGS
=$ac_wine_try_cflags_saved
14326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
14327 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
14328 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes
; then :
14329 EXTRACFLAGS
="$EXTRACFLAGS -gstrict-dwarf"
14335 *i
[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
14336 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
14337 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false
; then :
14338 $as_echo_n "(cached) " >&6
14340 ac_wine_try_cflags_saved
=$CFLAGS
14341 CFLAGS
="$CFLAGS -fno-omit-frame-pointer"
14342 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14343 /* end confdefs.h. */
14344 int main(int argc, char **argv) { return 0; }
14346 if ac_fn_c_try_link
"$LINENO"; then :
14347 ac_cv_cflags__fno_omit_frame_pointer
=yes
14349 ac_cv_cflags__fno_omit_frame_pointer
=no
14351 rm -f core conftest.err conftest.
$ac_objext \
14352 conftest
$ac_exeext conftest.
$ac_ext
14353 CFLAGS
=$ac_wine_try_cflags_saved
14355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
14356 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
14357 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes
; then :
14358 EXTRACFLAGS
="$EXTRACFLAGS -fno-omit-frame-pointer"
14363 x86_64-
*mingw32
*|x86_64-
*cygwin
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
14364 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
14365 if ${ac_cv_cflags__Wno_format+:} false
; then :
14366 $as_echo_n "(cached) " >&6
14368 ac_wine_try_cflags_saved
=$CFLAGS
14369 CFLAGS
="$CFLAGS -Wno-format"
14370 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14371 /* end confdefs.h. */
14372 int main(int argc, char **argv) { return 0; }
14374 if ac_fn_c_try_link
"$LINENO"; then :
14375 ac_cv_cflags__Wno_format
=yes
14377 ac_cv_cflags__Wno_format
=no
14379 rm -f core conftest.err conftest.
$ac_objext \
14380 conftest
$ac_exeext conftest.
$ac_ext
14381 CFLAGS
=$ac_wine_try_cflags_saved
14383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
14384 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
14385 if test "x$ac_cv_cflags__Wno_format" = xyes
; then :
14386 EXTRACFLAGS
="$EXTRACFLAGS -Wno-format"
14390 if test "x$enable_maintainer_mode" = "xyes"
14392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
14393 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
14394 if ${ac_cv_cflags__Werror+:} false
; then :
14395 $as_echo_n "(cached) " >&6
14397 ac_wine_try_cflags_saved
=$CFLAGS
14398 CFLAGS
="$CFLAGS -Werror"
14399 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14400 /* end confdefs.h. */
14401 int main(int argc, char **argv) { return 0; }
14403 if ac_fn_c_try_link
"$LINENO"; then :
14404 ac_cv_cflags__Werror
=yes
14406 ac_cv_cflags__Werror
=no
14408 rm -f core conftest.err conftest.
$ac_objext \
14409 conftest
$ac_exeext conftest.
$ac_ext
14410 CFLAGS
=$ac_wine_try_cflags_saved
14412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
14413 $as_echo "$ac_cv_cflags__Werror" >&6; }
14414 if test "x$ac_cv_cflags__Werror" = xyes
; then :
14415 EXTRACFLAGS
="$EXTRACFLAGS -Werror"
14419 saved_CFLAGS
="$CFLAGS"
14420 CFLAGS
="$CFLAGS -Werror"
14421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
14422 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
14423 if ${ac_cv_have_ms_hook_prologue+:} false
; then :
14424 $as_echo_n "(cached) " >&6
14426 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14427 /* end confdefs.h. */
14428 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
14437 if ac_fn_c_try_compile
"$LINENO"; then :
14438 ac_cv_have_ms_hook_prologue
="yes"
14440 ac_cv_have_ms_hook_prologue
="no"
14442 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
14445 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
14446 CFLAGS
="$saved_CFLAGS"
14447 if test "$ac_cv_have_ms_hook_prologue" = "yes"
14450 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
14453 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
14459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
14460 $as_echo_n "checking for the need to disable Fortify... " >&6; }
14461 if ${ac_cv_c_fortify_enabled+:} false
; then :
14462 $as_echo_n "(cached) " >&6
14464 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14465 /* end confdefs.h. */
14466 #include <string.h>
14470 #if defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0
14471 #error Fortify enabled
14477 if ac_fn_c_try_compile
"$LINENO"; then :
14478 ac_cv_c_fortify_enabled
=no
14480 ac_cv_c_fortify_enabled
=yes
14482 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
14485 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
14486 if test "$ac_cv_c_fortify_enabled" = yes
14488 CFLAGS
="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
14492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
14493 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
14494 if ${ac_cv_c_extern_prefix+:} false
; then :
14495 $as_echo_n "(cached) " >&6
14497 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14498 /* end confdefs.h. */
14499 extern int ac_test;
14503 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
14508 if ac_fn_c_try_link
"$LINENO"; then :
14509 ac_cv_c_extern_prefix
="yes"
14511 ac_cv_c_extern_prefix
="no"
14513 rm -f core conftest.err conftest.
$ac_objext \
14514 conftest
$ac_exeext conftest.
$ac_ext
14516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
14517 $as_echo "$ac_cv_c_extern_prefix" >&6; }
14521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
14522 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
14523 if ${ac_cv_c_stdcall_suffix+:} false
; then :
14524 $as_echo_n "(cached) " >&6
14526 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14527 /* end confdefs.h. */
14529 #define __stdcall __attribute__((__stdcall__))
14531 int __stdcall ac_test(int i) { return i; }
14535 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
14540 if ac_fn_c_try_link
"$LINENO"; then :
14541 ac_cv_c_stdcall_suffix
="yes"
14543 ac_cv_c_stdcall_suffix
="no"
14545 rm -f core conftest.err conftest.
$ac_objext \
14546 conftest
$ac_exeext conftest.
$ac_ext
14548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
14549 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
14550 *) ac_cv_c_stdcall_suffix
="no" ;;
14554 if test "$ac_cv_c_extern_prefix" = "yes"
14556 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
14558 asm_name_prefix
="_"
14560 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
14566 if test "$ac_cv_c_stdcall_suffix" = "yes"
14568 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
14571 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
14576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
14577 $as_echo_n "checking how to define a function in assembly code... " >&6; }
14578 if ${ac_cv_asm_func_def+:} false
; then :
14579 $as_echo_n "(cached) " >&6
14581 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14582 /* end confdefs.h. */
14587 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
14592 if ac_fn_c_try_link
"$LINENO"; then :
14593 ac_cv_asm_func_def
=".def"
14595 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14596 /* end confdefs.h. */
14601 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
14606 if ac_fn_c_try_link
"$LINENO"; then :
14607 ac_cv_asm_func_def
=".type @function"
14609 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14610 /* end confdefs.h. */
14615 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
14620 if ac_fn_c_try_link
"$LINENO"; then :
14621 ac_cv_asm_func_def
=".type 2"
14623 ac_cv_asm_func_def
="unknown"
14625 rm -f core conftest.err conftest.
$ac_objext \
14626 conftest
$ac_exeext conftest.
$ac_ext
14628 rm -f core conftest.err conftest.
$ac_objext \
14629 conftest
$ac_exeext conftest.
$ac_ext
14631 rm -f core conftest.err conftest.
$ac_objext \
14632 conftest
$ac_exeext conftest.
$ac_ext
14634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
14635 $as_echo "$ac_cv_asm_func_def" >&6; }
14638 case "$ac_cv_asm_func_def" in
14640 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
14642 asm_func_header
=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
14644 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
14646 asm_func_header
=".type $asm_name_prefix\" #name suffix \",@function" ;;
14648 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
14650 asm_func_header
=".type $asm_name_prefix\" #name suffix \",2" ;;
14652 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
14654 asm_func_header
="" ;;
14657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
14658 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
14659 if ${ac_cv_c_asm_outside_funcs+:} false
; then :
14660 $as_echo_n "(cached) " >&6
14662 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14663 /* end confdefs.h. */
14664 asm(".text\n\t.long 0");
14673 if ac_fn_c_try_compile
"$LINENO"; then :
14674 ac_cv_c_asm_outside_funcs
="yes"
14676 ac_cv_c_asm_outside_funcs
="no"
14678 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
14681 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
14683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
14684 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
14685 if ${ac_cv_c_dot_previous+:} false
; then :
14686 $as_echo_n "(cached) " >&6
14688 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14689 /* end confdefs.h. */
14694 asm(".text\nac_test:\t.long 0\n\t.previous");
14699 if ac_fn_c_try_link
"$LINENO"; then :
14700 ac_cv_c_dot_previous
="yes"
14702 ac_cv_c_dot_previous
="no"
14704 rm -f core conftest.err conftest.
$ac_objext \
14705 conftest
$ac_exeext conftest.
$ac_ext
14707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
14708 $as_echo "$ac_cv_c_dot_previous" >&6; }
14710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
14711 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
14712 if ${ac_cv_c_cfi_support+:} false
; then :
14713 $as_echo_n "(cached) " >&6
14715 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14716 /* end confdefs.h. */
14717 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
14726 if ac_fn_c_try_compile
"$LINENO"; then :
14727 ac_cv_c_cfi_support
="yes"
14729 ac_cv_c_cfi_support
="no"
14731 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
14734 $as_echo "$ac_cv_c_cfi_support" >&6; }
14736 asm_func_header
=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
14737 asm_func_trailer
=""
14738 if test "$ac_cv_c_dot_previous" = "yes"
14740 asm_func_trailer
="\\n\\t.previous"
14742 if test "$ac_cv_c_cfi_support" = "yes"
14744 asm_func_header
="$asm_func_header.cfi_startproc\\n\\t"
14745 asm_func_trailer
="\\n\\t.cfi_endproc$asm_func_trailer"
14747 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
14749 UNWINDFLAGS
=-fasynchronous-unwind-tables
14752 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
14754 if test "x$enable_win64" = "xyes"
14756 as_fn_append wine_warnings
"|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
14760 asm_func_code
="$asm_func_header\" code \"$asm_func_trailer"
14763 if test "$ac_cv_c_asm_outside_funcs" = "yes"
14765 cat >>confdefs.h
<<_ACEOF
14766 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
14770 cat >>confdefs.h
<<_ACEOF
14771 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
14776 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
14779 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
14784 cygwin
*|mingw32
*) TOOLSEXT
=".exe"
14791 *i
[3456789]86*|x86_64
*)
14792 test "$wine_binary" = wine || wine_fn_ignore_file
"loader/wine-preloader"
14793 loader_programs
="$loader_programs $wine_binary-preloader"
14794 as_fn_append LOADER_RULES
"
14795 $wine_binary-preloader: preloader.o
14796 \$(CC) -o \$@ -static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7c400000 preloader.o \$(LIBPORT) \$(LDFLAGS)
14798 install install-lib:: $wine_binary-preloader
14799 \$(INSTALL_PROGRAM) $wine_binary-preloader \$(DESTDIR)\$(bindir)/$wine_binary-preloader
14802 \$(RM) \$(DESTDIR)\$(bindir)/$wine_binary-preloader
14804 preloader_EXTRADEFS = $BUILTINFLAG
14809 as_fn_append LOADER_RULES
"
14810 PROGRAMS = $loader_programs
14814 ac_save_CFLAGS
="$CFLAGS"
14815 CFLAGS
="$CFLAGS $BUILTINFLAG"
14894 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14895 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
14896 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
14897 cat >>confdefs.h
<<_ACEOF
14898 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14904 CFLAGS
="$ac_save_CFLAGS"
14906 if test "$ac_cv_func_dlopen" = no
14908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
14909 $as_echo_n "checking for dlopen in -ldl... " >&6; }
14910 if ${ac_cv_lib_dl_dlopen+:} false
; then :
14911 $as_echo_n "(cached) " >&6
14913 ac_check_lib_save_LIBS
=$LIBS
14915 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14916 /* end confdefs.h. */
14918 /* Override any GCC internal prototype to avoid an error.
14919 Use char because int might match the return type of a GCC
14920 builtin and then its argument prototype would still apply. */
14933 if ac_fn_c_try_link
"$LINENO"; then :
14934 ac_cv_lib_dl_dlopen
=yes
14936 ac_cv_lib_dl_dlopen
=no
14938 rm -f core conftest.err conftest.
$ac_objext \
14939 conftest
$ac_exeext conftest.
$ac_ext
14940 LIBS
=$ac_check_lib_save_LIBS
14942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
14943 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
14944 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
14945 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
14951 ac_wine_check_funcs_save_LIBS
="$LIBS"
14952 LIBS
="$LIBS $DL_LIBS"
14953 for ac_func
in dladdr
14955 ac_fn_c_check_func
"$LINENO" "dladdr" "ac_cv_func_dladdr"
14956 if test "x$ac_cv_func_dladdr" = xyes
; then :
14957 cat >>confdefs.h
<<_ACEOF
14958 #define HAVE_DLADDR 1
14964 LIBS
="$ac_wine_check_funcs_save_LIBS"
14966 if test "$ac_cv_func_poll" = no
14968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
14969 $as_echo_n "checking for poll in -lpoll... " >&6; }
14970 if ${ac_cv_lib_poll_poll+:} false
; then :
14971 $as_echo_n "(cached) " >&6
14973 ac_check_lib_save_LIBS
=$LIBS
14974 LIBS
="-lpoll $LIBS"
14975 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14976 /* end confdefs.h. */
14978 /* Override any GCC internal prototype to avoid an error.
14979 Use char because int might match the return type of a GCC
14980 builtin and then its argument prototype would still apply. */
14993 if ac_fn_c_try_link
"$LINENO"; then :
14994 ac_cv_lib_poll_poll
=yes
14996 ac_cv_lib_poll_poll
=no
14998 rm -f core conftest.err conftest.
$ac_objext \
14999 conftest
$ac_exeext conftest.
$ac_ext
15000 LIBS
=$ac_check_lib_save_LIBS
15002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
15003 $as_echo "$ac_cv_lib_poll_poll" >&6; }
15004 if test "x$ac_cv_lib_poll_poll" = xyes
; then :
15005 $as_echo "#define HAVE_POLL 1" >>confdefs.h
15012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
15013 $as_echo_n "checking for library containing gethostbyname... " >&6; }
15014 if ${ac_cv_search_gethostbyname+:} false
; then :
15015 $as_echo_n "(cached) " >&6
15017 ac_func_search_save_LIBS
=$LIBS
15018 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15019 /* end confdefs.h. */
15021 /* Override any GCC internal prototype to avoid an error.
15022 Use char because int might match the return type of a GCC
15023 builtin and then its argument prototype would still apply. */
15027 char gethostbyname ();
15031 return gethostbyname ();
15036 for ac_lib
in '' nsl
; do
15037 if test -z "$ac_lib"; then
15038 ac_res
="none required"
15041 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
15043 if ac_fn_c_try_link
"$LINENO"; then :
15044 ac_cv_search_gethostbyname
=$ac_res
15046 rm -f core conftest.err conftest.
$ac_objext \
15048 if ${ac_cv_search_gethostbyname+:} false
; then :
15052 if ${ac_cv_search_gethostbyname+:} false
; then :
15055 ac_cv_search_gethostbyname
=no
15057 rm conftest.
$ac_ext
15058 LIBS
=$ac_func_search_save_LIBS
15060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
15061 $as_echo "$ac_cv_search_gethostbyname" >&6; }
15062 ac_res
=$ac_cv_search_gethostbyname
15063 if test "$ac_res" != no
; then :
15064 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
15069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
15070 $as_echo_n "checking for library containing connect... " >&6; }
15071 if ${ac_cv_search_connect+:} false
; then :
15072 $as_echo_n "(cached) " >&6
15074 ac_func_search_save_LIBS
=$LIBS
15075 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15076 /* end confdefs.h. */
15078 /* Override any GCC internal prototype to avoid an error.
15079 Use char because int might match the return type of a GCC
15080 builtin and then its argument prototype would still apply. */
15093 for ac_lib
in '' socket
; do
15094 if test -z "$ac_lib"; then
15095 ac_res
="none required"
15098 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
15100 if ac_fn_c_try_link
"$LINENO"; then :
15101 ac_cv_search_connect
=$ac_res
15103 rm -f core conftest.err conftest.
$ac_objext \
15105 if ${ac_cv_search_connect+:} false
; then :
15109 if ${ac_cv_search_connect+:} false
; then :
15112 ac_cv_search_connect
=no
15114 rm conftest.
$ac_ext
15115 LIBS
=$ac_func_search_save_LIBS
15117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
15118 $as_echo "$ac_cv_search_connect" >&6; }
15119 ac_res
=$ac_cv_search_connect
15120 if test "$ac_res" != no
; then :
15121 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
15126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
15127 $as_echo_n "checking for library containing inet_aton... " >&6; }
15128 if ${ac_cv_search_inet_aton+:} false
; then :
15129 $as_echo_n "(cached) " >&6
15131 ac_func_search_save_LIBS
=$LIBS
15132 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15133 /* end confdefs.h. */
15135 /* Override any GCC internal prototype to avoid an error.
15136 Use char because int might match the return type of a GCC
15137 builtin and then its argument prototype would still apply. */
15145 return inet_aton ();
15150 for ac_lib
in '' resolv
; do
15151 if test -z "$ac_lib"; then
15152 ac_res
="none required"
15155 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
15157 if ac_fn_c_try_link
"$LINENO"; then :
15158 ac_cv_search_inet_aton
=$ac_res
15160 rm -f core conftest.err conftest.
$ac_objext \
15162 if ${ac_cv_search_inet_aton+:} false
; then :
15166 if ${ac_cv_search_inet_aton+:} false
; then :
15169 ac_cv_search_inet_aton
=no
15171 rm conftest.
$ac_ext
15172 LIBS
=$ac_func_search_save_LIBS
15174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
15175 $as_echo "$ac_cv_search_inet_aton" >&6; }
15176 ac_res
=$ac_cv_search_inet_aton
15177 if test "$ac_res" != no
; then :
15178 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
15198 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15199 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
15200 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
15201 cat >>confdefs.h
<<_ACEOF
15202 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
15211 $as_echo_n "checking for library containing clock_gettime... " >&6; }
15212 if ${ac_cv_search_clock_gettime+:} false
; then :
15213 $as_echo_n "(cached) " >&6
15215 ac_func_search_save_LIBS
=$LIBS
15216 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15217 /* end confdefs.h. */
15219 /* Override any GCC internal prototype to avoid an error.
15220 Use char because int might match the return type of a GCC
15221 builtin and then its argument prototype would still apply. */
15225 char clock_gettime ();
15229 return clock_gettime ();
15234 for ac_lib
in '' rt
; do
15235 if test -z "$ac_lib"; then
15236 ac_res
="none required"
15239 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
15241 if ac_fn_c_try_link
"$LINENO"; then :
15242 ac_cv_search_clock_gettime
=$ac_res
15244 rm -f core conftest.err conftest.
$ac_objext \
15246 if ${ac_cv_search_clock_gettime+:} false
; then :
15250 if ${ac_cv_search_clock_gettime+:} false
; then :
15253 ac_cv_search_clock_gettime
=no
15255 rm conftest.
$ac_ext
15256 LIBS
=$ac_func_search_save_LIBS
15258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
15259 $as_echo "$ac_cv_search_clock_gettime" >&6; }
15260 ac_res
=$ac_cv_search_clock_gettime
15261 if test "$ac_res" != no
; then :
15262 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
15264 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
15266 test "$ac_res" = "none required" || RT_LIBS
="$ac_res"
15274 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
15276 ac_fn_c_check_type
"$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
15278 if test "x$ac_cv_type_LDAPSortKey" = xyes
; then :
15279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
15280 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
15281 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false
; then :
15282 $as_echo_n "(cached) " >&6
15284 ac_check_lib_save_LIBS
=$LIBS
15285 LIBS
="-lldap_r $PTHREAD_LIBS $LIBS"
15286 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15287 /* end confdefs.h. */
15289 /* Override any GCC internal prototype to avoid an error.
15290 Use char because int might match the return type of a GCC
15291 builtin and then its argument prototype would still apply. */
15295 char ldap_initialize ();
15299 return ldap_initialize ();
15304 if ac_fn_c_try_link
"$LINENO"; then :
15305 ac_cv_lib_ldap_r_ldap_initialize
=yes
15307 ac_cv_lib_ldap_r_ldap_initialize
=no
15309 rm -f core conftest.err conftest.
$ac_objext \
15310 conftest
$ac_exeext conftest.
$ac_ext
15311 LIBS
=$ac_check_lib_save_LIBS
15313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
15314 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
15315 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes
; then :
15316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
15317 $as_echo_n "checking for ber_init in -llber... " >&6; }
15318 if ${ac_cv_lib_lber_ber_init+:} false
; then :
15319 $as_echo_n "(cached) " >&6
15321 ac_check_lib_save_LIBS
=$LIBS
15322 LIBS
="-llber $PTHREAD_LIBS $LIBS"
15323 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15324 /* end confdefs.h. */
15326 /* Override any GCC internal prototype to avoid an error.
15327 Use char because int might match the return type of a GCC
15328 builtin and then its argument prototype would still apply. */
15336 return ber_init ();
15341 if ac_fn_c_try_link
"$LINENO"; then :
15342 ac_cv_lib_lber_ber_init
=yes
15344 ac_cv_lib_lber_ber_init
=no
15346 rm -f core conftest.err conftest.
$ac_objext \
15347 conftest
$ac_exeext conftest.
$ac_ext
15348 LIBS
=$ac_check_lib_save_LIBS
15350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
15351 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
15352 if test "x$ac_cv_lib_lber_ber_init" = xyes
; then :
15354 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
15356 LDAP_LIBS
="-lldap_r -llber"
15363 ac_wine_check_funcs_save_LIBS
="$LIBS"
15364 LIBS
="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
15366 ldap_count_references \
15367 ldap_first_reference \
15368 ldap_next_reference \
15369 ldap_parse_reference \
15370 ldap_parse_sort_control \
15371 ldap_parse_sortresponse_control \
15372 ldap_parse_vlv_control \
15373 ldap_parse_vlvresponse_control
15375 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15376 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
15377 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
15378 cat >>confdefs.h
<<_ACEOF
15379 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15385 LIBS
="$ac_wine_check_funcs_save_LIBS"
15387 if test "x$LDAP_LIBS" = "x"; then :
15388 case "x$with_ldap" in
15389 x
) as_fn_append wine_notices
"|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
15391 *) as_fn_error $?
"libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
15392 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
15396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
15397 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
15398 if ${wine_cv_one_arg_mkdir+:} false
; then :
15399 $as_echo_n "(cached) " >&6
15401 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15402 /* end confdefs.h. */
15403 #include <sys/stat.h>
15412 if ac_fn_c_try_compile
"$LINENO"; then :
15413 wine_cv_one_arg_mkdir
=yes
15415 wine_cv_one_arg_mkdir
=no
15417 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
15420 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
15421 if test "$wine_cv_one_arg_mkdir" = "yes"
15424 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
15428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
15429 $as_echo_n "checking for sched_setaffinity... " >&6; }
15430 if ${wine_cv_have_sched_setaffinity+:} false
; then :
15431 $as_echo_n "(cached) " >&6
15433 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15434 /* end confdefs.h. */
15435 #define _GNU_SOURCE
15440 sched_setaffinity(0, 0, 0);
15445 if ac_fn_c_try_link
"$LINENO"; then :
15446 wine_cv_have_sched_setaffinity
=yes
15448 wine_cv_have_sched_setaffinity
=no
15450 rm -f core conftest.err conftest.
$ac_objext \
15451 conftest
$ac_exeext conftest.
$ac_ext
15453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
15454 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
15455 if test "$wine_cv_have_sched_setaffinity" = "yes"
15458 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
15462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
15463 $as_echo_n "checking for fallocate... " >&6; }
15464 if ${wine_cv_have_fallocate+:} false
; then :
15465 $as_echo_n "(cached) " >&6
15467 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15468 /* end confdefs.h. */
15469 #define _GNU_SOURCE
15474 fallocate(-1, 0, 0, 0);
15479 if ac_fn_c_try_link
"$LINENO"; then :
15480 wine_cv_have_fallocate
=yes
15482 wine_cv_have_fallocate
=no
15484 rm -f core conftest.err conftest.
$ac_objext \
15485 conftest
$ac_exeext conftest.
$ac_ext
15487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
15488 $as_echo "$wine_cv_have_fallocate" >&6; }
15489 if test "$wine_cv_have_fallocate" = "yes"
15492 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
15497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
15498 $as_echo_n "checking for inline... " >&6; }
15499 if ${ac_cv_c_inline+:} false
; then :
15500 $as_echo_n "(cached) " >&6
15503 for ac_kw
in inline __inline__ __inline
; do
15504 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15505 /* end confdefs.h. */
15506 #ifndef __cplusplus
15508 static $ac_kw foo_t static_foo () {return 0; }
15509 $ac_kw foo_t foo () {return 0; }
15513 if ac_fn_c_try_compile
"$LINENO"; then :
15514 ac_cv_c_inline
=$ac_kw
15516 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15517 test "$ac_cv_c_inline" != no
&& break
15521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
15522 $as_echo "$ac_cv_c_inline" >&6; }
15524 case $ac_cv_c_inline in
15527 case $ac_cv_c_inline in
15529 *) ac_val
=$ac_cv_c_inline;;
15531 cat >>confdefs.h
<<_ACEOF
15532 #ifndef __cplusplus
15533 #define inline $ac_val
15539 ac_fn_c_check_type
"$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
15540 if test "x$ac_cv_type_mode_t" = xyes
; then :
15542 cat >>confdefs.h
<<_ACEOF
15543 #define HAVE_MODE_T 1
15548 ac_fn_c_check_type
"$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
15549 if test "x$ac_cv_type_off_t" = xyes
; then :
15551 cat >>confdefs.h
<<_ACEOF
15552 #define HAVE_OFF_T 1
15557 ac_fn_c_check_type
"$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
15558 if test "x$ac_cv_type_pid_t" = xyes
; then :
15560 cat >>confdefs.h
<<_ACEOF
15561 #define HAVE_PID_T 1
15566 ac_fn_c_check_type
"$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
15567 if test "x$ac_cv_type_size_t" = xyes
; then :
15569 cat >>confdefs.h
<<_ACEOF
15570 #define HAVE_SIZE_T 1
15575 ac_fn_c_check_type
"$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
15576 if test "x$ac_cv_type_ssize_t" = xyes
; then :
15578 cat >>confdefs.h
<<_ACEOF
15579 #define HAVE_SSIZE_T 1
15584 ac_fn_c_check_type
"$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
15585 if test "x$ac_cv_type_long_long" = xyes
; then :
15587 cat >>confdefs.h
<<_ACEOF
15588 #define HAVE_LONG_LONG 1
15593 ac_fn_c_check_type
"$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
15594 if test "x$ac_cv_type_fsblkcnt_t" = xyes
; then :
15596 cat >>confdefs.h
<<_ACEOF
15597 #define HAVE_FSBLKCNT_T 1
15602 ac_fn_c_check_type
"$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
15603 if test "x$ac_cv_type_fsfilcnt_t" = xyes
; then :
15605 cat >>confdefs.h
<<_ACEOF
15606 #define HAVE_FSFILCNT_T 1
15612 ac_fn_c_check_type
"$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
15613 #include <signal.h>
15615 if test "x$ac_cv_type_sigset_t" = xyes
; then :
15617 cat >>confdefs.h
<<_ACEOF
15618 #define HAVE_SIGSET_T 1
15624 ac_fn_c_check_type
"$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
15626 if test "x$ac_cv_type_request_sense" = xyes
; then :
15628 cat >>confdefs.h
<<_ACEOF
15629 #define HAVE_REQUEST_SENSE 1
15636 ac_fn_c_check_type
"$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
15637 #ifdef HAVE_SYS_SOCKET_H
15638 #include <sys/socket.h>
15640 #ifdef HAVE_SYS_SOCKETVAR_H
15641 #include <sys/socketvar.h>
15643 #ifdef HAVE_NET_ROUTE_H
15644 #include <net/route.h>
15646 #ifdef HAVE_NETINET_IN_H
15647 #include <netinet/in.h>
15649 #ifdef HAVE_NETINET_IN_SYSTM_H
15650 #include <netinet/in_systm.h>
15652 #ifdef HAVE_NETINET_IP_H
15653 #include <netinet/ip.h>
15655 #ifdef HAVE_NETINET_IN_PCB_H
15656 #include <netinet/in_pcb.h>
15659 if test "x$ac_cv_type_struct_xinpgen" = xyes
; then :
15661 cat >>confdefs.h
<<_ACEOF
15662 #define HAVE_STRUCT_XINPGEN 1
15669 ac_fn_c_check_type
"$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
15672 #ifdef HAVE_SYS_LINK_H
15673 #include <sys/link.h>
15676 if test "x$ac_cv_type_struct_r_debug" = xyes
; then :
15678 cat >>confdefs.h
<<_ACEOF
15679 #define HAVE_STRUCT_R_DEBUG 1
15684 ac_fn_c_check_type
"$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
15687 #ifdef HAVE_SYS_LINK_H
15688 #include <sys/link.h>
15691 if test "x$ac_cv_type_struct_link_map" = xyes
; then :
15693 cat >>confdefs.h
<<_ACEOF
15694 #define HAVE_STRUCT_LINK_MAP 1
15701 ac_fn_c_check_member
"$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
15702 #include <linux/input.h>
15705 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes
; then :
15707 cat >>confdefs.h
<<_ACEOF
15708 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
15715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
15716 $as_echo_n "checking for sigaddset... " >&6; }
15717 if ${wine_cv_have_sigaddset+:} false
; then :
15718 $as_echo_n "(cached) " >&6
15720 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15721 /* end confdefs.h. */
15722 #include <signal.h>
15726 sigset_t set; sigaddset(&set,SIGTERM);
15731 if ac_fn_c_try_link
"$LINENO"; then :
15732 wine_cv_have_sigaddset
=yes
15734 wine_cv_have_sigaddset
=no
15736 rm -f core conftest.err conftest.
$ac_objext \
15737 conftest
$ac_exeext conftest.
$ac_ext
15739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
15740 $as_echo "$wine_cv_have_sigaddset" >&6; }
15741 if test "$wine_cv_have_sigaddset" = "yes"
15744 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
15749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
15750 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
15751 if ${wine_cv_linux_gethostbyname_r_6+:} false
; then :
15752 $as_echo_n "(cached) " >&6
15754 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15755 /* end confdefs.h. */
15763 struct hostent *result;
15770 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
15771 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
15777 if ac_fn_c_try_link
"$LINENO"; then :
15778 wine_cv_linux_gethostbyname_r_6
=yes
15780 wine_cv_linux_gethostbyname_r_6
=no
15783 rm -f core conftest.err conftest.
$ac_objext \
15784 conftest
$ac_exeext conftest.
$ac_ext
15787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
15788 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
15789 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
15792 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
15796 if test "$ac_cv_header_linux_joystick_h" = "yes"
15798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
15799 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
15800 if ${wine_cv_linux_joystick_22_api+:} false
; then :
15801 $as_echo_n "(cached) " >&6
15803 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15804 /* end confdefs.h. */
15806 #include <sys/ioctl.h>
15807 #include <sys/types.h>
15808 #include <linux/joystick.h>
15810 struct js_event blub;
15811 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
15812 #error "no 2.2 header"
15823 if ac_fn_c_try_compile
"$LINENO"; then :
15824 wine_cv_linux_joystick_22_api
=yes
15826 wine_cv_linux_joystick_22_api
=no
15828 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
15832 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
15833 if test "$wine_cv_linux_joystick_22_api" = "yes"
15836 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
15842 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
15843 #ifdef HAVE_SYS_PARAM_H
15844 # include <sys/param.h>
15846 #ifdef HAVE_SYS_MOUNT_H
15847 # include <sys/mount.h>
15849 #ifdef HAVE_SYS_VFS_H
15850 # include <sys/vfs.h>
15852 #ifdef HAVE_SYS_STATFS_H
15853 # include <sys/statfs.h>
15856 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes
; then :
15858 cat >>confdefs.h
<<_ACEOF
15859 #define HAVE_STRUCT_STATFS_F_BFREE 1
15864 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
15865 #ifdef HAVE_SYS_PARAM_H
15866 # include <sys/param.h>
15868 #ifdef HAVE_SYS_MOUNT_H
15869 # include <sys/mount.h>
15871 #ifdef HAVE_SYS_VFS_H
15872 # include <sys/vfs.h>
15874 #ifdef HAVE_SYS_STATFS_H
15875 # include <sys/statfs.h>
15878 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes
; then :
15880 cat >>confdefs.h
<<_ACEOF
15881 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
15886 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
15887 #ifdef HAVE_SYS_PARAM_H
15888 # include <sys/param.h>
15890 #ifdef HAVE_SYS_MOUNT_H
15891 # include <sys/mount.h>
15893 #ifdef HAVE_SYS_VFS_H
15894 # include <sys/vfs.h>
15896 #ifdef HAVE_SYS_STATFS_H
15897 # include <sys/statfs.h>
15900 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes
; then :
15902 cat >>confdefs.h
<<_ACEOF
15903 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
15908 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
15909 #ifdef HAVE_SYS_PARAM_H
15910 # include <sys/param.h>
15912 #ifdef HAVE_SYS_MOUNT_H
15913 # include <sys/mount.h>
15915 #ifdef HAVE_SYS_VFS_H
15916 # include <sys/vfs.h>
15918 #ifdef HAVE_SYS_STATFS_H
15919 # include <sys/statfs.h>
15922 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes
; then :
15924 cat >>confdefs.h
<<_ACEOF
15925 #define HAVE_STRUCT_STATFS_F_FFREE 1
15930 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
15931 #ifdef HAVE_SYS_PARAM_H
15932 # include <sys/param.h>
15934 #ifdef HAVE_SYS_MOUNT_H
15935 # include <sys/mount.h>
15937 #ifdef HAVE_SYS_VFS_H
15938 # include <sys/vfs.h>
15940 #ifdef HAVE_SYS_STATFS_H
15941 # include <sys/statfs.h>
15944 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes
; then :
15946 cat >>confdefs.h
<<_ACEOF
15947 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
15952 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
15953 #ifdef HAVE_SYS_PARAM_H
15954 # include <sys/param.h>
15956 #ifdef HAVE_SYS_MOUNT_H
15957 # include <sys/mount.h>
15959 #ifdef HAVE_SYS_VFS_H
15960 # include <sys/vfs.h>
15962 #ifdef HAVE_SYS_STATFS_H
15963 # include <sys/statfs.h>
15966 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes
; then :
15968 cat >>confdefs.h
<<_ACEOF
15969 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
15976 ac_fn_c_check_member
"$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
15977 #include <sys/statvfs.h>
15980 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes
; then :
15982 cat >>confdefs.h
<<_ACEOF
15983 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
15990 ac_fn_c_check_member
"$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
15991 #include <dirent.h>
15994 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes
; then :
15996 cat >>confdefs.h
<<_ACEOF
15997 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
16004 ac_fn_c_check_member
"$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
16005 #ifdef HAVE_SYS_SOCKET_H
16006 # include <sys/socket.h>
16008 #ifdef HAVE_SYS_UN_H
16009 # include <sys/un.h>
16012 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes
; then :
16014 cat >>confdefs.h
<<_ACEOF
16015 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
16020 ac_fn_c_check_member
"$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
16021 #ifdef HAVE_SYS_SOCKET_H
16022 # include <sys/socket.h>
16024 #ifdef HAVE_SYS_UN_H
16025 # include <sys/un.h>
16028 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes
; then :
16030 cat >>confdefs.h
<<_ACEOF
16031 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
16036 ac_fn_c_check_member
"$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
16037 #ifdef HAVE_SYS_SOCKET_H
16038 # include <sys/socket.h>
16040 #ifdef HAVE_SYS_UN_H
16041 # include <sys/un.h>
16044 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes
; then :
16046 cat >>confdefs.h
<<_ACEOF
16047 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
16054 ac_fn_c_check_member
"$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
16055 #ifdef HAVE_SCSI_SG_H
16056 #include <scsi/sg.h>
16059 if test "x$ac_cv_member_scsireq_t_cmd" = xyes
; then :
16061 cat >>confdefs.h
<<_ACEOF
16062 #define HAVE_SCSIREQ_T_CMD 1
16067 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>
16068 #ifdef HAVE_SCSI_SG_H
16069 #include <scsi/sg.h>
16072 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes
; then :
16074 cat >>confdefs.h
<<_ACEOF
16075 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
16082 ac_fn_c_check_member
"$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
16084 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes
; then :
16086 cat >>confdefs.h
<<_ACEOF
16087 #define HAVE_SIGINFO_T_SI_FD 1
16094 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
16095 #ifdef HAVE_SYS_MTIO_H
16096 #include <sys/mtio.h>
16099 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes
; then :
16101 cat >>confdefs.h
<<_ACEOF
16102 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
16107 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
16108 #ifdef HAVE_SYS_MTIO_H
16109 #include <sys/mtio.h>
16112 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes
; then :
16114 cat >>confdefs.h
<<_ACEOF
16115 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
16120 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
16121 #ifdef HAVE_SYS_MTIO_H
16122 #include <sys/mtio.h>
16125 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes
; then :
16127 cat >>confdefs.h
<<_ACEOF
16128 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
16135 ac_fn_c_check_member
"$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
16136 #include <getopt.h>
16139 if test "x$ac_cv_member_struct_option_name" = xyes
; then :
16141 cat >>confdefs.h
<<_ACEOF
16142 #define HAVE_STRUCT_OPTION_NAME 1
16149 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
16150 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes
; then :
16152 cat >>confdefs.h
<<_ACEOF
16153 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
16158 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
16159 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes
; then :
16161 cat >>confdefs.h
<<_ACEOF
16162 #define HAVE_STRUCT_STAT_ST_MTIM 1
16167 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
16168 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes
; then :
16170 cat >>confdefs.h
<<_ACEOF
16171 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
16176 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
16177 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes
; then :
16179 cat >>confdefs.h
<<_ACEOF
16180 #define HAVE_STRUCT_STAT_ST_CTIM 1
16185 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
16186 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes
; then :
16188 cat >>confdefs.h
<<_ACEOF
16189 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
16194 ac_fn_c_check_member
"$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
16195 if test "x$ac_cv_member_struct_stat_st_atim" = xyes
; then :
16197 cat >>confdefs.h
<<_ACEOF
16198 #define HAVE_STRUCT_STAT_ST_ATIM 1
16203 ac_fn_c_check_member
"$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
16204 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes
; then :
16206 cat >>confdefs.h
<<_ACEOF
16207 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
16212 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
16213 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes
; then :
16215 cat >>confdefs.h
<<_ACEOF
16216 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
16221 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
16222 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes
; then :
16224 cat >>confdefs.h
<<_ACEOF
16225 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
16230 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
16231 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes
; then :
16233 cat >>confdefs.h
<<_ACEOF
16234 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
16239 ac_fn_c_check_member
"$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
16240 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes
; then :
16242 cat >>confdefs.h
<<_ACEOF
16243 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
16248 ac_fn_c_check_member
"$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
16249 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes
; then :
16251 cat >>confdefs.h
<<_ACEOF
16252 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
16259 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
16260 #include <sys/types.h>
16262 #ifdef HAVE_NETINET_IN_H
16263 #include <netinet/in.h>
16266 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes
; then :
16268 cat >>confdefs.h
<<_ACEOF
16269 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
16276 ac_fn_c_check_type
"$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_RESOLV_H
16277 #include <resolv.h>
16280 if test "x$ac_cv_type_struct___res_state" = xyes
; then :
16282 cat >>confdefs.h
<<_ACEOF
16283 #define HAVE_STRUCT___RES_STATE 1
16290 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
16291 #include <resolv.h>
16294 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes
; then :
16296 cat >>confdefs.h
<<_ACEOF
16297 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
16304 ac_fn_c_check_member
"$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
16305 #include <sys/types.h>
16307 #ifdef HAVE_NETINET_IN_H
16308 # include <netinet/in.h>
16310 #ifdef HAVE_ARPA_NAMESER_H
16311 # include <arpa/nameser.h>
16314 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes
; then :
16316 cat >>confdefs.h
<<_ACEOF
16317 #define HAVE_NS_MSG__MSG_PTR 1
16324 ac_fn_c_check_member
"$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
16325 #include <sys/types.h>
16327 #ifdef HAVE_NETINET_IP_H
16328 #include <netinet/ip.h>
16330 #ifdef HAVE_NETINET_IP_ICMP_H
16331 #include <netinet/ip_icmp.h>
16333 #ifdef HAVE_NETINET_ICMP_VAR_H
16334 #include <netinet/icmp_var.h>
16337 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes
; then :
16339 cat >>confdefs.h
<<_ACEOF
16340 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
16347 ac_fn_c_check_member
"$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
16348 #include <sys/types.h>
16350 #ifdef HAVE_ALIAS_H
16353 #ifdef HAVE_SYS_SOCKET_H
16354 #include <sys/socket.h>
16356 #ifdef HAVE_SYS_SOCKETVAR_H
16357 #include <sys/socketvar.h>
16359 #ifdef HAVE_SYS_TIMEOUT_H
16360 #include <sys/timeout.h>
16362 #ifdef HAVE_NETINET_IN_H
16363 #include <netinet/in.h>
16365 #ifdef HAVE_NETINET_IN_SYSTM_H
16366 #include <netinet/in_systm.h>
16368 #ifdef HAVE_NETINET_IP_H
16369 #include <netinet/ip.h>
16371 #ifdef HAVE_NETINET_IP_VAR_H
16372 #include <netinet/ip_var.h>
16374 #ifdef HAVE_NETINET_IP_ICMP_H
16375 #include <netinet/ip_icmp.h>
16377 #ifdef HAVE_NETINET_ICMP_VAR_H
16378 #include <netinet/icmp_var.h>
16381 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes
; then :
16383 cat >>confdefs.h
<<_ACEOF
16384 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
16391 ac_fn_c_check_member
"$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
16392 #include <sys/types.h>
16394 #ifdef HAVE_SYS_SOCKETVAR_H
16395 #include <sys/socketvar.h>
16397 #ifdef HAVE_NETINET_IN_H
16398 #include <netinet/in.h>
16400 #ifdef HAVE_NETINET_IP_VAR_H
16401 #include <netinet/ip_var.h>
16404 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes
; then :
16406 cat >>confdefs.h
<<_ACEOF
16407 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
16414 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
16415 #include <netinet/ip_var.h>
16418 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes
; then :
16420 cat >>confdefs.h
<<_ACEOF
16421 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
16428 ac_fn_c_check_member
"$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
16429 #include <sys/types.h>
16431 #ifdef HAVE_SYS_SOCKETVAR_H
16432 #include <sys/socketvar.h>
16434 #ifdef HAVE_NETINET_IN_H
16435 #include <netinet/in.h>
16437 #ifdef HAVE_NETINET_TCP_H
16438 #include <netinet/tcp.h>
16440 #ifdef HAVE_NETINET_TCP_VAR_H
16441 #include <netinet/tcp_var.h>
16444 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes
; then :
16446 cat >>confdefs.h
<<_ACEOF
16447 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
16454 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
16455 #include <netinet/tcp_var.h>
16458 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes
; then :
16460 cat >>confdefs.h
<<_ACEOF
16461 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
16468 ac_fn_c_check_member
"$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
16469 #include <sys/types.h>
16471 #ifdef HAVE_NETINET_IN_H
16472 #include <netinet/in.h>
16474 #ifdef HAVE_NETINET_IP_VAR_H
16475 #include <netinet/ip_var.h>
16477 #ifdef HAVE_NETINET_UDP_H
16478 #include <netinet/udp.h>
16480 #ifdef HAVE_NETINET_UDP_VAR_H
16481 #include <netinet/udp_var.h>
16484 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes
; then :
16486 cat >>confdefs.h
<<_ACEOF
16487 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
16494 ac_fn_c_check_member
"$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
16495 #include <sys/types.h>
16497 #ifdef HAVE_NET_IF_H
16498 # include <net/if.h>
16501 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes
; then :
16503 cat >>confdefs.h
<<_ACEOF
16504 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
16511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
16512 $as_echo_n "checking for timezone variable... " >&6; }
16513 if ${ac_cv_have_timezone+:} false
; then :
16514 $as_echo_n "(cached) " >&6
16516 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16517 /* end confdefs.h. */
16527 if ac_fn_c_try_link
"$LINENO"; then :
16528 ac_cv_have_timezone
="yes"
16530 ac_cv_have_timezone
="no"
16532 rm -f core conftest.err conftest.
$ac_objext \
16533 conftest
$ac_exeext conftest.
$ac_ext
16535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
16536 $as_echo "$ac_cv_have_timezone" >&6; }
16537 if test "$ac_cv_have_timezone" = "yes"
16540 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
16543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
16544 $as_echo_n "checking for daylight variable... " >&6; }
16545 if ${ac_cv_have_daylight+:} false
; then :
16546 $as_echo_n "(cached) " >&6
16548 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16549 /* end confdefs.h. */
16559 if ac_fn_c_try_link
"$LINENO"; then :
16560 ac_cv_have_daylight
="yes"
16562 ac_cv_have_daylight
="no"
16564 rm -f core conftest.err conftest.
$ac_objext \
16565 conftest
$ac_exeext conftest.
$ac_ext
16567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
16568 $as_echo "$ac_cv_have_daylight" >&6; }
16569 if test "$ac_cv_have_daylight" = "yes"
16572 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
16576 ac_save_LIBS
="$LIBS"
16578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
16579 $as_echo_n "checking for isfinite... " >&6; }
16580 if ${ac_cv_have_isfinite+:} false
; then :
16581 $as_echo_n "(cached) " >&6
16583 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16584 /* end confdefs.h. */
16585 #define _GNU_SOURCE
16590 float f = 0.0; return isfinite(f)
16595 if ac_fn_c_try_link
"$LINENO"; then :
16596 ac_cv_have_isfinite
="yes"
16598 ac_cv_have_isfinite
="no"
16600 rm -f core conftest.err conftest.
$ac_objext \
16601 conftest
$ac_exeext conftest.
$ac_ext
16603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
16604 $as_echo "$ac_cv_have_isfinite" >&6; }
16605 if test "$ac_cv_have_isfinite" = "yes"
16608 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
16612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
16613 $as_echo_n "checking for isinf... " >&6; }
16614 if ${ac_cv_have_isinf+:} false
; then :
16615 $as_echo_n "(cached) " >&6
16617 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16618 /* end confdefs.h. */
16623 float f = 0.0; return isinf(f)
16628 if ac_fn_c_try_link
"$LINENO"; then :
16629 ac_cv_have_isinf
="yes"
16631 ac_cv_have_isinf
="no"
16633 rm -f core conftest.err conftest.
$ac_objext \
16634 conftest
$ac_exeext conftest.
$ac_ext
16636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
16637 $as_echo "$ac_cv_have_isinf" >&6; }
16638 if test "$ac_cv_have_isinf" = "yes"
16641 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
16645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
16646 $as_echo_n "checking for isnan... " >&6; }
16647 if ${ac_cv_have_isnan+:} false
; then :
16648 $as_echo_n "(cached) " >&6
16650 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16651 /* end confdefs.h. */
16656 float f = 0.0; return isnan(f)
16661 if ac_fn_c_try_link
"$LINENO"; then :
16662 ac_cv_have_isnan
="yes"
16664 ac_cv_have_isnan
="no"
16666 rm -f core conftest.err conftest.
$ac_objext \
16667 conftest
$ac_exeext conftest.
$ac_ext
16669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
16670 $as_echo "$ac_cv_have_isnan" >&6; }
16671 if test "$ac_cv_have_isnan" = "yes"
16674 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
16703 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16704 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
16705 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
16706 cat >>confdefs.h
<<_ACEOF
16707 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16713 LIBS
="$ac_save_LIBS"
16715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_clz" >&5
16716 $as_echo_n "checking for __builtin_clz... " >&6; }
16717 if ${ac_cv_have___builtin_clz+:} false
; then :
16718 $as_echo_n "(cached) " >&6
16720 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16721 /* end confdefs.h. */
16726 return __builtin_clz(1)
16731 if ac_fn_c_try_link
"$LINENO"; then :
16732 ac_cv_have___builtin_clz
="yes"
16734 ac_cv_have___builtin_clz
="no"
16736 rm -f core conftest.err conftest.
$ac_objext \
16737 conftest
$ac_exeext conftest.
$ac_ext
16739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_clz" >&5
16740 $as_echo "$ac_cv_have___builtin_clz" >&6; }
16741 if test "$ac_cv_have___builtin_clz" = "yes"
16744 $as_echo "#define HAVE___BUILTIN_CLZ 1" >>confdefs.h
16750 *i
[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
16751 $as_echo_n "checking whether we need to define __i386__... " >&6; }
16752 if ${ac_cv_cpp_def___i386__+:} false
; then :
16753 $as_echo_n "(cached) " >&6
16755 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16756 /* end confdefs.h. */
16761 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16762 $EGREP "yes" >/dev
/null
2>&1; then :
16763 ac_cv_cpp_def___i386__
=yes
16765 ac_cv_cpp_def___i386__
=no
16770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
16771 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
16772 if test "x$ac_cv_cpp_def___i386__" = xyes
; then :
16773 CFLAGS
="$CFLAGS -D__i386__"
16774 LINTFLAGS
="$LINTFLAGS -D__i386__"
16776 *x86_64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
16777 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
16778 if ${ac_cv_cpp_def___x86_64__+:} false
; then :
16779 $as_echo_n "(cached) " >&6
16781 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16782 /* end confdefs.h. */
16787 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16788 $EGREP "yes" >/dev
/null
2>&1; then :
16789 ac_cv_cpp_def___x86_64__
=yes
16791 ac_cv_cpp_def___x86_64__
=no
16796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
16797 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
16798 if test "x$ac_cv_cpp_def___x86_64__" = xyes
; then :
16799 CFLAGS
="$CFLAGS -D__x86_64__"
16800 LINTFLAGS
="$LINTFLAGS -D__x86_64__"
16802 *sparc64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
16803 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
16804 if ${ac_cv_cpp_def___sparc64__+:} false
; then :
16805 $as_echo_n "(cached) " >&6
16807 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16808 /* end confdefs.h. */
16809 #ifndef __sparc64__
16813 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16814 $EGREP "yes" >/dev
/null
2>&1; then :
16815 ac_cv_cpp_def___sparc64__
=yes
16817 ac_cv_cpp_def___sparc64__
=no
16822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
16823 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
16824 if test "x$ac_cv_cpp_def___sparc64__" = xyes
; then :
16825 CFLAGS
="$CFLAGS -D__sparc64__"
16826 LINTFLAGS
="$LINTFLAGS -D__sparc64__"
16828 *sparc
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
16829 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
16830 if ${ac_cv_cpp_def___sparc__+:} false
; then :
16831 $as_echo_n "(cached) " >&6
16833 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16834 /* end confdefs.h. */
16839 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16840 $EGREP "yes" >/dev
/null
2>&1; then :
16841 ac_cv_cpp_def___sparc__
=yes
16843 ac_cv_cpp_def___sparc__
=no
16848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
16849 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
16850 if test "x$ac_cv_cpp_def___sparc__" = xyes
; then :
16851 CFLAGS
="$CFLAGS -D__sparc__"
16852 LINTFLAGS
="$LINTFLAGS -D__sparc__"
16854 *powerpc64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
16855 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
16856 if ${ac_cv_cpp_def___powerpc64__+:} false
; then :
16857 $as_echo_n "(cached) " >&6
16859 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16860 /* end confdefs.h. */
16861 #ifndef __powerpc64__
16865 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16866 $EGREP "yes" >/dev
/null
2>&1; then :
16867 ac_cv_cpp_def___powerpc64__
=yes
16869 ac_cv_cpp_def___powerpc64__
=no
16874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
16875 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
16876 if test "x$ac_cv_cpp_def___powerpc64__" = xyes
; then :
16877 CFLAGS
="$CFLAGS -D__powerpc64__"
16878 LINTFLAGS
="$LINTFLAGS -D__powerpc64__"
16880 *powerpc
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
16881 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
16882 if ${ac_cv_cpp_def___powerpc__+:} false
; then :
16883 $as_echo_n "(cached) " >&6
16885 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16886 /* end confdefs.h. */
16887 #ifndef __powerpc__
16891 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16892 $EGREP "yes" >/dev
/null
2>&1; then :
16893 ac_cv_cpp_def___powerpc__
=yes
16895 ac_cv_cpp_def___powerpc__
=no
16900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
16901 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
16902 if test "x$ac_cv_cpp_def___powerpc__" = xyes
; then :
16903 CFLAGS
="$CFLAGS -D__powerpc__"
16904 LINTFLAGS
="$LINTFLAGS -D__powerpc__"
16906 *aarch64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
16907 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
16908 if ${ac_cv_cpp_def___aarch64__+:} false
; then :
16909 $as_echo_n "(cached) " >&6
16911 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16912 /* end confdefs.h. */
16913 #ifndef __aarch64__
16917 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16918 $EGREP "yes" >/dev
/null
2>&1; then :
16919 ac_cv_cpp_def___aarch64__
=yes
16921 ac_cv_cpp_def___aarch64__
=no
16926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
16927 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
16928 if test "x$ac_cv_cpp_def___aarch64__" = xyes
; then :
16929 CFLAGS
="$CFLAGS -D__aarch64__"
16930 LINTFLAGS
="$LINTFLAGS -D__aarch64__"
16932 *arm
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
16933 $as_echo_n "checking whether we need to define __arm__... " >&6; }
16934 if ${ac_cv_cpp_def___arm__+:} false
; then :
16935 $as_echo_n "(cached) " >&6
16937 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16938 /* end confdefs.h. */
16943 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16944 $EGREP "yes" >/dev
/null
2>&1; then :
16945 ac_cv_cpp_def___arm__
=yes
16947 ac_cv_cpp_def___arm__
=no
16952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
16953 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
16954 if test "x$ac_cv_cpp_def___arm__" = xyes
; then :
16955 CFLAGS
="$CFLAGS -D__arm__"
16956 LINTFLAGS
="$LINTFLAGS -D__arm__"
16960 case $host_vendor in
16961 *sun
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
16962 $as_echo_n "checking whether we need to define __sun__... " >&6; }
16963 if ${ac_cv_cpp_def___sun__+:} false
; then :
16964 $as_echo_n "(cached) " >&6
16966 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16967 /* end confdefs.h. */
16972 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16973 $EGREP "yes" >/dev
/null
2>&1; then :
16974 ac_cv_cpp_def___sun__
=yes
16976 ac_cv_cpp_def___sun__
=no
16981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
16982 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
16983 if test "x$ac_cv_cpp_def___sun__" = xyes
; then :
16984 CFLAGS
="$CFLAGS -D__sun__"
16985 LINTFLAGS
="$LINTFLAGS -D__sun__"
16993 ac_config_commands
="$ac_config_commands include/stamp-h"
16995 $as_echo_n "creating Makefile rules..." >&6
16997 ALL_VARS_RULES
="OPENGL_LIBS = $OPENGL_LIBS
16998 SOCKET_LIBS = $SOCKET_LIBS
16999 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
17000 IOKIT_LIBS = $IOKIT_LIBS
17001 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
17002 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
17003 CORESERVICES_LIBS = $CORESERVICES_LIBS
17004 APPKIT_LIBS = $APPKIT_LIBS
17005 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
17006 SECURITY_LIBS = $SECURITY_LIBS
17007 COREAUDIO_LIBS = $COREAUDIO_LIBS
17008 OPENAL_LIBS = $OPENAL_LIBS
17009 OPENCL_LIBS = $OPENCL_LIBS
17010 QUICKTIME_LIBS = $QUICKTIME_LIBS
17011 CARBON_LIBS = $CARBON_LIBS
17012 PTHREAD_LIBS = $PTHREAD_LIBS
17013 X_CFLAGS = $X_CFLAGS
17014 X_PRE_LIBS = $X_PRE_LIBS
17016 X_EXTRA_LIBS = $X_EXTRA_LIBS
17017 XML2_CFLAGS = $XML2_CFLAGS
17018 XML2_LIBS = $XML2_LIBS
17019 XSLT_CFLAGS = $XSLT_CFLAGS
17020 XSLT_LIBS = $XSLT_LIBS
17021 DBUS_CFLAGS = $DBUS_CFLAGS
17022 DBUS_LIBS = $DBUS_LIBS
17023 HAL_CFLAGS = $HAL_CFLAGS
17024 HAL_LIBS = $HAL_LIBS
17025 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
17026 GNUTLS_LIBS = $GNUTLS_LIBS
17027 SANE_CFLAGS = $SANE_CFLAGS
17028 SANE_LIBS = $SANE_LIBS
17029 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
17030 GPHOTO2_LIBS = $GPHOTO2_LIBS
17031 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
17032 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
17033 RESOLV_LIBS = $RESOLV_LIBS
17034 LCMS2_CFLAGS = $LCMS2_CFLAGS
17035 LCMS2_LIBS = $LCMS2_LIBS
17036 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
17037 FREETYPE_LIBS = $FREETYPE_LIBS
17039 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
17040 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
17041 GSTREAMER_LIBS = $GSTREAMER_LIBS
17042 ALSA_LIBS = $ALSA_LIBS
17043 OSS4_CFLAGS = $OSS4_CFLAGS
17044 CAPI20_CFLAGS = $CAPI20_CFLAGS
17045 CAPI20_LIBS = $CAPI20_LIBS
17046 CUPS_CFLAGS = $CUPS_CFLAGS
17047 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
17048 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
17049 JPEG_CFLAGS = $JPEG_CFLAGS
17050 JPEG_LIBS = $JPEG_LIBS
17051 PNG_CFLAGS = $PNG_CFLAGS
17052 PNG_LIBS = $PNG_LIBS
17053 TIFF_CFLAGS = $TIFF_CFLAGS
17054 TIFF_LIBS = $TIFF_LIBS
17055 MPG123_CFLAGS = $MPG123_CFLAGS
17056 MPG123_LIBS = $MPG123_LIBS
17057 KSTAT_LIBS = $KSTAT_LIBS
17058 PROCSTAT_LIBS = $PROCSTAT_LIBS
17060 POLL_LIBS = $POLL_LIBS
17062 LDAP_LIBS = $LDAP_LIBS
17067 wine_fn_append_rule
"
17068 # Rules automatically generated by configure
17070 CLEAN_FILES = *.o *.a *.so *.res *.fake *.ok *.tab.[ch] *.yy.c
17075 Makefile: $srcdir/Makefile.in $srcdir/Make.vars.in config.status \$(MAKEDEP)
17076 @./config.status Make.tmp Makefile"
17078 test "$srcdir" = .
&& wine_fn_append_rule
"all: .gitignore
17079 .gitignore: config.status
17080 @./config.status .gitignore"
17082 test -n "$CROSSTARGET" || wine_fn_append_rule
"crosstest:
17083 @echo \"crosstest is not supported (mingw not installed?)\" && false"
17085 if test "x$enable_fonts" != xno
; then
17086 ac_config_links
="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
17087 ac_config_links
="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
17088 ac_config_links
="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
17089 ac_config_links
="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
17090 test "$srcdir" = "." || wine_fn_config_symlink fonts
/marlett.ttf fonts
/symbol.ttf fonts
/tahoma.ttf fonts
/tahomabd.ttf
17092 ac_config_links
="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
17093 test "$srcdir" = "." || wine_fn_config_symlink loader
/l_intl.nls
17094 ac_config_links
="$ac_config_links po/LINGUAS:po/LINGUAS"
17095 test "$srcdir" = "." || wine_fn_config_symlink po
/LINGUAS
17096 ac_config_links
="$ac_config_links wine:tools/winewrapper"
17097 wine_fn_config_symlink wine
17098 if test "x$enable_win64" != xno
; then
17099 ac_config_links
="$ac_config_links wine64:tools/winewrapper"
17100 wine_fn_config_symlink wine64
17103 wine_fn_config_dll acledit enable_acledit
17104 wine_fn_config_dll aclui enable_aclui implib
17105 wine_fn_config_dll activeds enable_activeds implib
17106 wine_fn_config_dll actxprxy enable_actxprxy clean
17107 wine_fn_config_lib adsiid
17108 wine_fn_config_dll advapi32 enable_advapi32 clean
,implib
17109 wine_fn_config_test dlls
/advapi32
/tests advapi32_test
17110 wine_fn_config_dll advpack enable_advpack implib
17111 wine_fn_config_test dlls
/advpack
/tests advpack_test
17112 wine_fn_config_dll amstream enable_amstream clean
17113 wine_fn_config_test dlls
/amstream
/tests amstream_test
17114 wine_fn_config_dll api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
17115 wine_fn_config_dll api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
17116 wine_fn_config_dll api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
17117 wine_fn_config_dll api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
17118 wine_fn_config_dll api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
17119 wine_fn_config_dll api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
17120 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
17121 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
17122 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
17123 wine_fn_config_dll api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
17124 wine_fn_config_dll api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
17125 wine_fn_config_dll api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
17126 wine_fn_config_dll api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
17127 wine_fn_config_dll api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
17128 wine_fn_config_dll api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
17129 wine_fn_config_dll api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
17130 wine_fn_config_dll api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
17131 wine_fn_config_dll api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
17132 wine_fn_config_dll api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
17133 wine_fn_config_dll api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
17134 wine_fn_config_dll api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
17135 wine_fn_config_dll api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
17136 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
17137 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
17138 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
17139 wine_fn_config_dll api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
17140 wine_fn_config_dll api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
17141 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
17142 wine_fn_config_dll api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
17143 wine_fn_config_dll api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
17144 wine_fn_config_dll api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
17145 wine_fn_config_dll api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
17146 wine_fn_config_dll api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
17147 wine_fn_config_dll api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
17148 wine_fn_config_dll api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
17149 wine_fn_config_dll api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
17150 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
17151 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
17152 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
17153 wine_fn_config_dll api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
17154 wine_fn_config_dll api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
17155 wine_fn_config_dll api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
17156 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
17157 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
17158 wine_fn_config_dll api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
17159 wine_fn_config_dll api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
17160 wine_fn_config_dll api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
17161 wine_fn_config_dll api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
17162 wine_fn_config_dll api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
17163 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
17164 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
17165 wine_fn_config_dll api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
17166 wine_fn_config_dll api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
17167 wine_fn_config_dll api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
17168 wine_fn_config_dll api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
17169 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
17170 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
17171 wine_fn_config_dll api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
17172 wine_fn_config_dll api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
17173 wine_fn_config_dll api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
17174 wine_fn_config_dll api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
17175 wine_fn_config_dll api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
17176 wine_fn_config_dll api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
17177 wine_fn_config_dll api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
17178 wine_fn_config_dll api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
17179 wine_fn_config_dll api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
17180 wine_fn_config_dll api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
17181 wine_fn_config_dll api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
17182 wine_fn_config_dll api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
17183 wine_fn_config_dll api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
17184 wine_fn_config_dll api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
17185 wine_fn_config_dll api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
17186 wine_fn_config_dll api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
17187 wine_fn_config_dll api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
17188 wine_fn_config_dll api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
17189 wine_fn_config_dll api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
17190 wine_fn_config_dll api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
17191 wine_fn_config_dll api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
17192 wine_fn_config_dll api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
17193 wine_fn_config_dll api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
17194 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
17195 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
17196 wine_fn_config_dll api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
17197 wine_fn_config_dll api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
17198 wine_fn_config_dll api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
17199 wine_fn_config_dll api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
17200 wine_fn_config_dll api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
17201 wine_fn_config_dll api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
17202 wine_fn_config_dll api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
17203 wine_fn_config_dll api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
17204 wine_fn_config_dll api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
17205 wine_fn_config_dll api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
17206 wine_fn_config_dll apphelp enable_apphelp
17207 wine_fn_config_test dlls
/apphelp
/tests apphelp_test
17208 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl po
17209 wine_fn_config_dll atl enable_atl clean
,implib
17210 wine_fn_config_test dlls
/atl
/tests atl_test
17211 wine_fn_config_dll atl100 enable_atl100 clean
,implib
17212 wine_fn_config_test dlls
/atl100
/tests atl100_test
17213 wine_fn_config_dll atl110 enable_atl110 clean
17214 wine_fn_config_dll atl80 enable_atl80 clean
,implib
17215 wine_fn_config_test dlls
/atl80
/tests atl80_test
17216 wine_fn_config_dll atl90 enable_atl90 clean
17217 wine_fn_config_dll authz enable_authz
17218 wine_fn_config_dll avicap32 enable_avicap32 implib
17219 wine_fn_config_dll avifil32 enable_avifil32 clean
,implib
,po
17220 wine_fn_config_test dlls
/avifil32
/tests avifil32_test
17221 wine_fn_config_dll avifile.dll16 enable_win16
17222 wine_fn_config_dll avrt enable_avrt implib
17223 wine_fn_config_dll bcrypt enable_bcrypt
17224 wine_fn_config_test dlls
/bcrypt
/tests bcrypt_test
17225 wine_fn_config_dll browseui enable_browseui clean
,po
17226 wine_fn_config_test dlls
/browseui
/tests browseui_test
17227 wine_fn_config_dll cabinet enable_cabinet implib
17228 wine_fn_config_test dlls
/cabinet
/tests cabinet_test
17229 wine_fn_config_dll capi2032 enable_capi2032 implib
17230 wine_fn_config_dll cards enable_cards implib
17231 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
17232 wine_fn_config_dll clusapi enable_clusapi implib
17233 wine_fn_config_dll combase enable_combase
17234 wine_fn_config_test dlls
/combase
/tests combase_test
17235 wine_fn_config_dll comcat enable_comcat
17236 wine_fn_config_test dlls
/comcat
/tests comcat_test
17237 wine_fn_config_dll comctl32 enable_comctl32 implib
,po
17238 wine_fn_config_test dlls
/comctl32
/tests comctl32_test
17239 wine_fn_config_dll comdlg32 enable_comdlg32 clean
,implib
,po
17240 wine_fn_config_test dlls
/comdlg32
/tests comdlg32_test
17241 wine_fn_config_dll
comm.drv16 enable_win16
17242 wine_fn_config_dll commdlg.dll16 enable_win16
17243 wine_fn_config_dll compobj.dll16 enable_win16
17244 wine_fn_config_dll compstui enable_compstui implib
17245 wine_fn_config_dll comsvcs enable_comsvcs implib
17246 wine_fn_config_dll connect enable_connect
17247 wine_fn_config_dll credui enable_credui implib
,po
17248 wine_fn_config_test dlls
/credui
/tests credui_test
17249 wine_fn_config_dll crtdll enable_crtdll implib
17250 wine_fn_config_dll crypt32 enable_crypt32 implib
,po
17251 wine_fn_config_test dlls
/crypt32
/tests crypt32_test
17252 wine_fn_config_dll cryptdlg enable_cryptdlg po
17253 wine_fn_config_dll cryptdll enable_cryptdll implib
17254 wine_fn_config_dll cryptext enable_cryptext
17255 wine_fn_config_dll cryptnet enable_cryptnet implib
17256 wine_fn_config_test dlls
/cryptnet
/tests cryptnet_test
17257 wine_fn_config_dll cryptui enable_cryptui implib
,po
17258 wine_fn_config_test dlls
/cryptui
/tests cryptui_test
17259 wine_fn_config_dll ctapi32 enable_ctapi32
17260 wine_fn_config_dll ctl3d.dll16 enable_win16
17261 wine_fn_config_dll ctl3d32 enable_ctl3d32 implib
17262 wine_fn_config_dll ctl3dv2.dll16 enable_win16
17263 wine_fn_config_dll d2d1 enable_d2d1 implib
17264 wine_fn_config_test dlls
/d2d
1/tests d2d1_test
17265 wine_fn_config_dll d3d10 enable_d3d10 implib
17266 wine_fn_config_test dlls
/d3d10
/tests d3d10_test
17267 wine_fn_config_dll d3d10_1 enable_d3d10_1 implib
17268 wine_fn_config_dll d3d10core enable_d3d10core implib
17269 wine_fn_config_test dlls
/d3d10core
/tests d3d10core_test
17270 wine_fn_config_dll d3d11 enable_d3d11 implib
17271 wine_fn_config_test dlls
/d3d11
/tests d3d11_test
17272 wine_fn_config_dll d3d8 enable_d3d8 implib
17273 wine_fn_config_test dlls
/d3d
8/tests d3d8_test
17274 wine_fn_config_dll d3d9 enable_d3d9 implib
17275 wine_fn_config_test dlls
/d3d
9/tests d3d9_test
17276 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
17277 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
17278 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
17279 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
17280 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
17281 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
17282 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
17283 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
17284 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
17285 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
17286 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
17287 wine_fn_config_test dlls
/d3dcompiler_43
/tests d3dcompiler_43_test
17288 wine_fn_config_dll d3dcompiler_46 enable_d3dcompiler_46
17289 wine_fn_config_dll d3dcompiler_47 enable_d3dcompiler_47
17290 wine_fn_config_dll d3dim enable_d3dim implib
17291 wine_fn_config_dll d3drm enable_d3drm implib
17292 wine_fn_config_test dlls
/d3drm
/tests d3drm_test
17293 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
17294 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
17295 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
17296 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
17297 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
17298 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
17299 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
17300 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
17301 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
17302 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
17303 wine_fn_config_dll d3dx10_43 enable_d3dx10_43
17304 wine_fn_config_dll d3dx11_42 enable_d3dx11_42
17305 wine_fn_config_dll d3dx11_43 enable_d3dx11_43
17306 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
17307 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
17308 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
17309 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
17310 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
17311 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
17312 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
17313 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
17314 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
17315 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
17316 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
17317 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
17318 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
17319 wine_fn_config_test dlls
/d3dx9_36
/tests d3dx9_36_test
17320 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
17321 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
17322 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
17323 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
17324 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
17325 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
17326 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
17327 wine_fn_config_dll d3dxof enable_d3dxof clean
,implib
17328 wine_fn_config_test dlls
/d3dxof
/tests d3dxof_test
17329 wine_fn_config_dll davclnt enable_davclnt
17330 wine_fn_config_dll dbgeng enable_dbgeng implib
17331 wine_fn_config_dll dbghelp enable_dbghelp implib
17332 wine_fn_config_dll dciman32 enable_dciman32 implib
17333 wine_fn_config_dll ddeml.dll16 enable_win16
17334 wine_fn_config_dll ddraw enable_ddraw clean
,implib
17335 wine_fn_config_test dlls
/ddraw
/tests ddraw_test
17336 wine_fn_config_dll ddrawex enable_ddrawex clean
17337 wine_fn_config_test dlls
/ddrawex
/tests ddrawex_test
17338 wine_fn_config_dll devenum enable_devenum clean
,po
17339 wine_fn_config_test dlls
/devenum
/tests devenum_test
17340 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
17341 wine_fn_config_dll difxapi enable_difxapi
17342 wine_fn_config_dll dinput enable_dinput clean
,implib
,po
,staticimplib
17343 wine_fn_config_test dlls
/dinput
/tests dinput_test
17344 wine_fn_config_dll dinput8 enable_dinput8 clean
,implib
17345 wine_fn_config_test dlls
/dinput
8/tests dinput8_test
17346 wine_fn_config_dll dispdib.dll16 enable_win16
17347 wine_fn_config_dll dispex enable_dispex clean
17348 wine_fn_config_test dlls
/dispex
/tests dispex_test
17349 wine_fn_config_dll display.drv16 enable_win16
17350 wine_fn_config_dll dmband enable_dmband clean
17351 wine_fn_config_test dlls
/dmband
/tests dmband_test
17352 wine_fn_config_dll dmcompos enable_dmcompos clean
17353 wine_fn_config_test dlls
/dmcompos
/tests dmcompos_test
17354 wine_fn_config_dll dmime enable_dmime clean
17355 wine_fn_config_test dlls
/dmime
/tests dmime_test
17356 wine_fn_config_dll dmloader enable_dmloader clean
17357 wine_fn_config_test dlls
/dmloader
/tests dmloader_test
17358 wine_fn_config_dll dmscript enable_dmscript clean
17359 wine_fn_config_test dlls
/dmscript
/tests dmscript_test
17360 wine_fn_config_dll dmstyle enable_dmstyle clean
17361 wine_fn_config_test dlls
/dmstyle
/tests dmstyle_test
17362 wine_fn_config_dll dmsynth enable_dmsynth clean
17363 wine_fn_config_test dlls
/dmsynth
/tests dmsynth_test
17364 wine_fn_config_dll dmusic enable_dmusic clean
17365 wine_fn_config_test dlls
/dmusic
/tests dmusic_test
17366 wine_fn_config_dll dmusic32 enable_dmusic32 implib
17367 wine_fn_config_dll dnsapi enable_dnsapi implib
17368 wine_fn_config_test dlls
/dnsapi
/tests dnsapi_test
17369 wine_fn_config_dll dplay enable_dplay implib
17370 wine_fn_config_dll dplayx enable_dplayx clean
,implib
17371 wine_fn_config_test dlls
/dplayx
/tests dplayx_test
17372 wine_fn_config_dll dpnaddr enable_dpnaddr
17373 wine_fn_config_dll dpnet enable_dpnet clean
,implib
17374 wine_fn_config_test dlls
/dpnet
/tests dpnet_test
17375 wine_fn_config_dll dpnhpast enable_dpnhpast
17376 wine_fn_config_dll dpnlobby enable_dpnlobby
17377 wine_fn_config_dll dpvoice enable_dpvoice clean
17378 wine_fn_config_test dlls
/dpvoice
/tests dpvoice_test
17379 wine_fn_config_dll dpwsockx enable_dpwsockx
17380 wine_fn_config_dll drmclien enable_drmclien
17381 wine_fn_config_dll dsound enable_dsound clean
,implib
17382 wine_fn_config_test dlls
/dsound
/tests dsound_test
17383 wine_fn_config_dll dssenh enable_dssenh
17384 wine_fn_config_test dlls
/dssenh
/tests dssenh_test
17385 wine_fn_config_dll dswave enable_dswave clean
17386 wine_fn_config_test dlls
/dswave
/tests dswave_test
17387 wine_fn_config_dll dwmapi enable_dwmapi implib
17388 wine_fn_config_dll dwrite enable_dwrite implib
17389 wine_fn_config_test dlls
/dwrite
/tests dwrite_test
17390 wine_fn_config_dll dxdiagn enable_dxdiagn clean
,po
17391 wine_fn_config_test dlls
/dxdiagn
/tests dxdiagn_test
17392 wine_fn_config_lib dxerr8
17393 wine_fn_config_lib dxerr9
17394 wine_fn_config_dll dxgi enable_dxgi implib
17395 wine_fn_config_test dlls
/dxgi
/tests dxgi_test
17396 wine_fn_config_lib dxguid
17397 wine_fn_config_dll dxva2 enable_dxva2
17398 wine_fn_config_dll evr enable_evr
17399 wine_fn_config_dll explorerframe enable_explorerframe clean
17400 wine_fn_config_test dlls
/explorerframe
/tests explorerframe_test
17401 wine_fn_config_dll ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
17402 wine_fn_config_dll faultrep enable_faultrep implib
17403 wine_fn_config_test dlls
/faultrep
/tests faultrep_test
17404 wine_fn_config_dll fltlib enable_fltlib
17405 wine_fn_config_dll fntcache enable_fntcache
17406 wine_fn_config_dll fontsub enable_fontsub
17407 wine_fn_config_dll fusion enable_fusion
17408 wine_fn_config_test dlls
/fusion
/tests fusion_test
17409 wine_fn_config_dll fwpuclnt enable_fwpuclnt
17410 wine_fn_config_dll gameux enable_gameux clean
17411 wine_fn_config_test dlls
/gameux
/tests gameux_test
17412 wine_fn_config_dll gdi.exe16 enable_win16
17413 wine_fn_config_dll gdi32 enable_gdi32 clean
,implib
,po
17414 wine_fn_config_test dlls
/gdi32
/tests gdi32_test
17415 wine_fn_config_dll gdiplus enable_gdiplus implib
17416 wine_fn_config_test dlls
/gdiplus
/tests gdiplus_test
17417 wine_fn_config_dll glu32 enable_glu32 implib
17418 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds po
17419 wine_fn_config_dll gpkcsp enable_gpkcsp
17420 wine_fn_config_dll hal enable_hal
17421 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx clean
,implib
,po htmlhelp
17422 wine_fn_config_dll hid enable_hid implib
17423 wine_fn_config_dll hidclass.sys enable_hidclass_sys implib hidclass
17424 wine_fn_config_dll hlink enable_hlink clean
,implib
17425 wine_fn_config_test dlls
/hlink
/tests hlink_test
17426 wine_fn_config_dll hnetcfg enable_hnetcfg clean
17427 wine_fn_config_dll httpapi enable_httpapi
17428 wine_fn_config_dll iccvid enable_iccvid po
17429 wine_fn_config_dll icmp enable_icmp
17430 wine_fn_config_dll ieframe enable_ieframe clean
,implib
,po
17431 wine_fn_config_test dlls
/ieframe
/tests ieframe_test
17432 wine_fn_config_dll ifsmgr.vxd enable_win16
17433 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
17434 wine_fn_config_dll imagehlp enable_imagehlp implib
17435 wine_fn_config_test dlls
/imagehlp
/tests imagehlp_test
17436 wine_fn_config_dll imm.dll16 enable_win16
17437 wine_fn_config_dll imm32 enable_imm32 implib
17438 wine_fn_config_test dlls
/imm32
/tests imm32_test
17439 wine_fn_config_dll inetcomm enable_inetcomm clean
,implib
17440 wine_fn_config_test dlls
/inetcomm
/tests inetcomm_test
17441 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl po
17442 wine_fn_config_dll inetmib1 enable_inetmib1
17443 wine_fn_config_test dlls
/inetmib
1/tests inetmib1_test
17444 wine_fn_config_dll infosoft enable_infosoft clean
17445 wine_fn_config_test dlls
/infosoft
/tests infosoft_test
17446 wine_fn_config_dll initpki enable_initpki
17447 wine_fn_config_dll inkobj enable_inkobj
17448 wine_fn_config_dll inseng enable_inseng clean
17449 wine_fn_config_dll iphlpapi enable_iphlpapi implib
17450 wine_fn_config_test dlls
/iphlpapi
/tests iphlpapi_test
17451 wine_fn_config_dll itircl enable_itircl
17452 wine_fn_config_dll itss enable_itss clean
17453 wine_fn_config_test dlls
/itss
/tests itss_test
17454 wine_fn_config_dll joy.cpl enable_joy_cpl po
17455 wine_fn_config_dll jscript enable_jscript clean
,po
17456 wine_fn_config_test dlls
/jscript
/tests jscript_test
17457 wine_fn_config_dll jsproxy enable_jsproxy implib
17458 wine_fn_config_dll kernel32 enable_kernel32 clean
,implib
,mc
17459 wine_fn_config_test dlls
/kernel32
/tests kernel32_test
17460 wine_fn_config_dll keyboard.drv16 enable_win16
17461 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
17462 wine_fn_config_dll ksuser enable_ksuser
17463 wine_fn_config_dll ktmw32 enable_ktmw32
17464 wine_fn_config_dll loadperf enable_loadperf implib
17465 wine_fn_config_dll localspl enable_localspl po
17466 wine_fn_config_test dlls
/localspl
/tests localspl_test
17467 wine_fn_config_dll localui enable_localui po
17468 wine_fn_config_test dlls
/localui
/tests localui_test
17469 wine_fn_config_dll lz32 enable_lz32 implib
17470 wine_fn_config_test dlls
/lz32
/tests lz32_test
17471 wine_fn_config_dll lzexpand.dll16 enable_win16
17472 wine_fn_config_dll mapi32 enable_mapi32 implib
,po
17473 wine_fn_config_test dlls
/mapi32
/tests mapi32_test
17474 wine_fn_config_dll mapistub enable_mapistub
17475 wine_fn_config_dll mciavi32 enable_mciavi32
17476 wine_fn_config_dll mcicda enable_mcicda
17477 wine_fn_config_dll mciqtz32 enable_mciqtz32
17478 wine_fn_config_dll mciseq enable_mciseq
17479 wine_fn_config_dll mciwave enable_mciwave
17480 wine_fn_config_dll mf enable_mf
17481 wine_fn_config_dll mfplat enable_mfplat
17482 wine_fn_config_dll mfreadwrite enable_mfreadwrite
17483 wine_fn_config_dll mgmtapi enable_mgmtapi
17484 wine_fn_config_dll midimap enable_midimap
17485 wine_fn_config_dll mlang enable_mlang clean
,implib
17486 wine_fn_config_test dlls
/mlang
/tests mlang_test
17487 wine_fn_config_dll mmcndmgr enable_mmcndmgr clean
17488 wine_fn_config_test dlls
/mmcndmgr
/tests mmcndmgr_test
17489 wine_fn_config_dll mmdevapi enable_mmdevapi clean
17490 wine_fn_config_test dlls
/mmdevapi
/tests mmdevapi_test
17491 wine_fn_config_dll mmdevldr.vxd enable_win16
17492 wine_fn_config_dll mmsystem.dll16 enable_win16
17493 wine_fn_config_dll monodebg.vxd enable_win16
17494 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
17495 wine_fn_config_dll mouse.drv16 enable_win16
17496 wine_fn_config_dll mpr enable_mpr implib
,po
17497 wine_fn_config_test dlls
/mpr
/tests mpr_test
17498 wine_fn_config_dll mprapi enable_mprapi implib
17499 wine_fn_config_dll msacm.dll16 enable_win16
17500 wine_fn_config_dll msacm32.drv enable_msacm32_drv
17501 wine_fn_config_dll msacm32 enable_msacm32 implib
,po
17502 wine_fn_config_test dlls
/msacm32
/tests msacm32_test
17503 wine_fn_config_dll msadp32.acm enable_msadp32_acm
17504 wine_fn_config_dll msasn1 enable_msasn1 implib
17505 wine_fn_config_dll mscat32 enable_mscat32
17506 wine_fn_config_dll mscms enable_mscms implib
17507 wine_fn_config_test dlls
/mscms
/tests mscms_test
17508 wine_fn_config_dll mscoree enable_mscoree clean
17509 wine_fn_config_test dlls
/mscoree
/tests mscoree_test
17510 wine_fn_config_dll msctf enable_msctf clean
17511 wine_fn_config_test dlls
/msctf
/tests msctf_test
17512 wine_fn_config_dll msctfp enable_msctfp clean
17513 wine_fn_config_dll msdaps enable_msdaps clean
17514 wine_fn_config_dll msdmo enable_msdmo implib
17515 wine_fn_config_test dlls
/msdmo
/tests msdmo_test
17516 wine_fn_config_dll msftedit enable_msftedit
17517 wine_fn_config_dll msg711.acm enable_msg711_acm
17518 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
17519 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb clean
17520 wine_fn_config_dll mshtml enable_mshtml clean
,implib
,po
17521 wine_fn_config_test dlls
/mshtml
/tests mshtml_test clean
17522 wine_fn_config_dll msi enable_msi clean
,implib
,po
17523 wine_fn_config_test dlls
/msi
/tests msi_test
17524 wine_fn_config_dll msident enable_msident clean
17525 wine_fn_config_dll msimg32 enable_msimg32 implib
17526 wine_fn_config_dll msimsg enable_msimsg
17527 wine_fn_config_dll msimtf enable_msimtf clean
17528 wine_fn_config_dll msisip enable_msisip
17529 wine_fn_config_dll msisys.ocx enable_msisys_ocx
17530 wine_fn_config_dll msls31 enable_msls31
17531 wine_fn_config_dll msnet32 enable_msnet32
17532 wine_fn_config_dll mspatcha enable_mspatcha implib
17533 wine_fn_config_dll msrle32 enable_msrle32 po
17534 wine_fn_config_test dlls
/msrle32
/tests msrle32_test
17535 wine_fn_config_dll msscript.ocx enable_msscript_ocx clean
17536 wine_fn_config_dll mssign32 enable_mssign32
17537 wine_fn_config_dll mssip32 enable_mssip32
17538 wine_fn_config_dll mstask enable_mstask clean
17539 wine_fn_config_test dlls
/mstask
/tests mstask_test
17540 wine_fn_config_dll msvcirt enable_msvcirt
17541 wine_fn_config_test dlls
/msvcirt
/tests msvcirt_test
17542 wine_fn_config_dll msvcm80 enable_msvcm80
17543 wine_fn_config_dll msvcm90 enable_msvcm90
17544 wine_fn_config_dll msvcp100 enable_msvcp100
17545 wine_fn_config_test dlls
/msvcp100
/tests msvcp100_test
17546 wine_fn_config_dll msvcp110 enable_msvcp110
17547 wine_fn_config_dll msvcp120 enable_msvcp120
17548 wine_fn_config_test dlls
/msvcp120
/tests msvcp120_test
17549 wine_fn_config_dll msvcp120_app enable_msvcp120_app
17550 wine_fn_config_dll msvcp60 enable_msvcp60
17551 wine_fn_config_test dlls
/msvcp60
/tests msvcp60_test
17552 wine_fn_config_dll msvcp70 enable_msvcp70
17553 wine_fn_config_dll msvcp71 enable_msvcp71
17554 wine_fn_config_dll msvcp80 enable_msvcp80
17555 wine_fn_config_dll msvcp90 enable_msvcp90
17556 wine_fn_config_test dlls
/msvcp90
/tests msvcp90_test
17557 wine_fn_config_dll msvcr100 enable_msvcr100 implib
17558 wine_fn_config_test dlls
/msvcr100
/tests msvcr100_test
17559 wine_fn_config_dll msvcr110 enable_msvcr110 implib
17560 wine_fn_config_dll msvcr120 enable_msvcr120 implib
17561 wine_fn_config_test dlls
/msvcr120
/tests msvcr120_test
17562 wine_fn_config_dll msvcr120_app enable_msvcr120_app
17563 wine_fn_config_dll msvcr70 enable_msvcr70 implib
17564 wine_fn_config_dll msvcr71 enable_msvcr71 implib
17565 wine_fn_config_dll msvcr80 enable_msvcr80 implib
17566 wine_fn_config_dll msvcr90 enable_msvcr90 implib
17567 wine_fn_config_test dlls
/msvcr90
/tests msvcr90_test
17568 wine_fn_config_dll msvcrt enable_msvcrt implib
17569 wine_fn_config_test dlls
/msvcrt
/tests msvcrt_test
17570 wine_fn_config_dll msvcrt20 enable_msvcrt20 implib
17571 wine_fn_config_dll msvcrt40 enable_msvcrt40 implib
17572 wine_fn_config_dll msvcrtd enable_msvcrtd implib
17573 wine_fn_config_test dlls
/msvcrtd
/tests msvcrtd_test
17574 wine_fn_config_dll msvfw32 enable_msvfw32 implib
,po
17575 wine_fn_config_test dlls
/msvfw32
/tests msvfw32_test
17576 wine_fn_config_dll msvidc32 enable_msvidc32 po
17577 wine_fn_config_dll msvideo.dll16 enable_win16
17578 wine_fn_config_dll mswsock enable_mswsock implib
17579 wine_fn_config_dll msxml enable_msxml clean
17580 wine_fn_config_dll msxml2 enable_msxml2 clean
17581 wine_fn_config_dll msxml3 enable_msxml3 clean
17582 wine_fn_config_test dlls
/msxml
3/tests msxml3_test clean
17583 wine_fn_config_dll msxml4 enable_msxml4 clean
17584 wine_fn_config_dll msxml6 enable_msxml6 clean
17585 wine_fn_config_dll nddeapi enable_nddeapi implib
17586 wine_fn_config_dll ndis.sys enable_ndis_sys
17587 wine_fn_config_dll netapi32 enable_netapi32 implib
17588 wine_fn_config_test dlls
/netapi32
/tests netapi32_test
17589 wine_fn_config_dll netcfgx enable_netcfgx clean
17590 wine_fn_config_test dlls
/netcfgx
/tests netcfgx_test
17591 wine_fn_config_dll netprofm enable_netprofm clean
17592 wine_fn_config_test dlls
/netprofm
/tests netprofm_test
17593 wine_fn_config_dll newdev enable_newdev implib
17594 wine_fn_config_dll normaliz enable_normaliz implib
17595 wine_fn_config_dll npmshtml enable_npmshtml
17596 wine_fn_config_dll npptools enable_npptools
17597 wine_fn_config_dll ntdll enable_ntdll implib
17598 wine_fn_config_test dlls
/ntdll
/tests ntdll_test
17599 wine_fn_config_dll ntdsapi enable_ntdsapi implib
17600 wine_fn_config_test dlls
/ntdsapi
/tests ntdsapi_test
17601 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib
17602 wine_fn_config_dll ntprint enable_ntprint
17603 wine_fn_config_test dlls
/ntprint
/tests ntprint_test
17604 wine_fn_config_dll objsel enable_objsel clean
17605 wine_fn_config_dll odbc32 enable_odbc32 implib
17606 wine_fn_config_dll odbccp32 enable_odbccp32 implib
17607 wine_fn_config_test dlls
/odbccp32
/tests odbccp32_test
17608 wine_fn_config_dll odbccu32 enable_odbccu32
17609 wine_fn_config_dll ole2.dll16 enable_win16
17610 wine_fn_config_dll ole2conv.dll16 enable_win16
17611 wine_fn_config_dll ole2disp.dll16 enable_win16
17612 wine_fn_config_dll ole2nls.dll16 enable_win16
17613 wine_fn_config_dll ole2prox.dll16 enable_win16
17614 wine_fn_config_dll ole2thk.dll16 enable_win16
17615 wine_fn_config_dll ole32 enable_ole32 clean
,implib
17616 wine_fn_config_test dlls
/ole32
/tests ole32_test
17617 wine_fn_config_dll oleacc enable_oleacc clean
,implib
,po
17618 wine_fn_config_test dlls
/oleacc
/tests oleacc_test
17619 wine_fn_config_dll oleaut32 enable_oleaut32 clean
,implib
,po
17620 wine_fn_config_test dlls
/oleaut32
/tests oleaut32_test clean
17621 wine_fn_config_dll olecli.dll16 enable_win16
17622 wine_fn_config_dll olecli32 enable_olecli32 implib
17623 wine_fn_config_dll oledb32 enable_oledb32 clean
17624 wine_fn_config_test dlls
/oledb32
/tests oledb32_test clean
17625 wine_fn_config_dll oledlg enable_oledlg implib
,po
17626 wine_fn_config_test dlls
/oledlg
/tests oledlg_test
17627 wine_fn_config_dll olepro32 enable_olepro32 implib
17628 wine_fn_config_dll olesvr.dll16 enable_win16
17629 wine_fn_config_dll olesvr32 enable_olesvr32 implib
17630 wine_fn_config_dll olethk32 enable_olethk32
17631 wine_fn_config_dll openal32 enable_openal32
17632 wine_fn_config_dll opencl enable_opencl
17633 wine_fn_config_dll opengl32 enable_opengl32 implib
17634 wine_fn_config_test dlls
/opengl32
/tests opengl32_test
17635 wine_fn_config_dll packager enable_packager clean
17636 wine_fn_config_test dlls
/packager
/tests packager_test
17637 wine_fn_config_dll pdh enable_pdh implib
17638 wine_fn_config_test dlls
/pdh
/tests pdh_test
17639 wine_fn_config_dll photometadatahandler enable_photometadatahandler
17640 wine_fn_config_dll pidgen enable_pidgen
17641 wine_fn_config_dll powrprof enable_powrprof implib
17642 wine_fn_config_dll printui enable_printui
17643 wine_fn_config_dll prntvpt enable_prntvpt
17644 wine_fn_config_dll propsys enable_propsys clean
,implib
17645 wine_fn_config_test dlls
/propsys
/tests propsys_test
17646 wine_fn_config_dll psapi enable_psapi implib
17647 wine_fn_config_test dlls
/psapi
/tests psapi_test
17648 wine_fn_config_dll pstorec enable_pstorec clean
17649 wine_fn_config_dll qcap enable_qcap
17650 wine_fn_config_test dlls
/qcap
/tests qcap_test
17651 wine_fn_config_dll qedit enable_qedit clean
17652 wine_fn_config_test dlls
/qedit
/tests qedit_test
17653 wine_fn_config_dll qmgr enable_qmgr clean
17654 wine_fn_config_test dlls
/qmgr
/tests qmgr_test
17655 wine_fn_config_dll qmgrprxy enable_qmgrprxy clean
17656 wine_fn_config_dll quartz enable_quartz clean
,implib
17657 wine_fn_config_test dlls
/quartz
/tests quartz_test clean
17658 wine_fn_config_dll query enable_query
17659 wine_fn_config_dll rasapi16.dll16 enable_win16
17660 wine_fn_config_dll rasapi32 enable_rasapi32 implib
17661 wine_fn_config_test dlls
/rasapi32
/tests rasapi32_test
17662 wine_fn_config_dll rasdlg enable_rasdlg implib
17663 wine_fn_config_dll regapi enable_regapi
17664 wine_fn_config_dll resutils enable_resutils implib
17665 wine_fn_config_dll riched20 enable_riched20 clean
,implib
17666 wine_fn_config_test dlls
/riched20
/tests riched20_test
17667 wine_fn_config_dll riched32 enable_riched32
17668 wine_fn_config_test dlls
/riched32
/tests riched32_test
17669 wine_fn_config_dll rpcrt4 enable_rpcrt4 clean
,implib
17670 wine_fn_config_test dlls
/rpcrt
4/tests rpcrt4_test clean
17671 wine_fn_config_dll rsabase enable_rsabase
17672 wine_fn_config_dll rsaenh enable_rsaenh implib
17673 wine_fn_config_test dlls
/rsaenh
/tests rsaenh_test
17674 wine_fn_config_dll rstrtmgr enable_rstrtmgr
17675 wine_fn_config_dll rtutils enable_rtutils implib
17676 wine_fn_config_dll samlib enable_samlib
17677 wine_fn_config_dll sane.ds enable_sane_ds po
17678 wine_fn_config_dll scarddlg enable_scarddlg
17679 wine_fn_config_dll sccbase enable_sccbase
17680 wine_fn_config_dll schannel enable_schannel
17681 wine_fn_config_test dlls
/schannel
/tests schannel_test
17682 wine_fn_config_dll schedsvc enable_schedsvc clean
17683 wine_fn_config_test dlls
/schedsvc
/tests schedsvc_test clean
17684 wine_fn_config_dll scrrun enable_scrrun clean
17685 wine_fn_config_test dlls
/scrrun
/tests scrrun_test clean
17686 wine_fn_config_dll scsiport.sys enable_scsiport_sys
17687 wine_fn_config_dll secur32 enable_secur32 implib
17688 wine_fn_config_test dlls
/secur32
/tests secur32_test
17689 wine_fn_config_dll security enable_security
17690 wine_fn_config_dll sensapi enable_sensapi implib
17691 wine_fn_config_dll serialui enable_serialui implib
,po
17692 wine_fn_config_test dlls
/serialui
/tests serialui_test
17693 wine_fn_config_dll setupapi enable_setupapi implib
,po
17694 wine_fn_config_test dlls
/setupapi
/tests setupapi_test
17695 wine_fn_config_dll setupx.dll16 enable_win16
17696 wine_fn_config_dll sfc enable_sfc implib
17697 wine_fn_config_dll sfc_os enable_sfc_os implib
17698 wine_fn_config_dll shdoclc enable_shdoclc po
17699 wine_fn_config_dll shdocvw enable_shdocvw clean
,implib
17700 wine_fn_config_test dlls
/shdocvw
/tests shdocvw_test
17701 wine_fn_config_dll shell.dll16 enable_win16
17702 wine_fn_config_dll shell32 enable_shell32 clean
,implib
,po
17703 wine_fn_config_test dlls
/shell32
/tests shell32_test
17704 wine_fn_config_dll shfolder enable_shfolder implib
17705 wine_fn_config_dll shlwapi enable_shlwapi implib
,po
17706 wine_fn_config_test dlls
/shlwapi
/tests shlwapi_test
17707 wine_fn_config_dll slbcsp enable_slbcsp
17708 wine_fn_config_dll slc enable_slc implib
17709 wine_fn_config_test dlls
/slc
/tests slc_test
17710 wine_fn_config_dll snmpapi enable_snmpapi implib
17711 wine_fn_config_test dlls
/snmpapi
/tests snmpapi_test
17712 wine_fn_config_dll softpub enable_softpub
17713 wine_fn_config_dll sound.drv16 enable_win16
17714 wine_fn_config_dll spoolss enable_spoolss implib
17715 wine_fn_config_test dlls
/spoolss
/tests spoolss_test
17716 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb clean
17717 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb clean
17718 wine_fn_config_dll sti enable_sti clean
,implib
17719 wine_fn_config_test dlls
/sti
/tests sti_test
17720 wine_fn_config_dll storage.dll16 enable_win16
17721 wine_fn_config_dll stress.dll16 enable_win16
17722 wine_fn_config_lib strmbase
17723 wine_fn_config_lib strmiids
17724 wine_fn_config_dll svrapi enable_svrapi
17725 wine_fn_config_dll sxs enable_sxs implib
17726 wine_fn_config_test dlls
/sxs
/tests sxs_test
17727 wine_fn_config_dll system.drv16 enable_win16
17728 wine_fn_config_dll t2embed enable_t2embed
17729 wine_fn_config_dll tapi32 enable_tapi32 implib
17730 wine_fn_config_dll taskschd enable_taskschd clean
17731 wine_fn_config_test dlls
/taskschd
/tests taskschd_test
17732 wine_fn_config_dll toolhelp.dll16 enable_win16
17733 wine_fn_config_dll traffic enable_traffic
17734 wine_fn_config_dll twain.dll16 enable_win16
17735 wine_fn_config_dll twain_32 enable_twain_32
17736 wine_fn_config_test dlls
/twain_32
/tests twain_32_test
17737 wine_fn_config_dll typelib.dll16 enable_win16
17738 wine_fn_config_dll ucrtbase enable_ucrtbase
17739 wine_fn_config_dll unicows enable_unicows implib
17740 wine_fn_config_dll updspapi enable_updspapi
17741 wine_fn_config_dll url enable_url implib
17742 wine_fn_config_dll urlmon enable_urlmon clean
,implib
,po
17743 wine_fn_config_test dlls
/urlmon
/tests urlmon_test
17744 wine_fn_config_dll usbd.sys enable_usbd_sys implib
17745 wine_fn_config_dll user.exe16 enable_win16
17746 wine_fn_config_dll user32 enable_user32 clean
,implib
,po
17747 wine_fn_config_test dlls
/user32
/tests user32_test
17748 wine_fn_config_dll userenv enable_userenv implib
17749 wine_fn_config_test dlls
/userenv
/tests userenv_test
17750 wine_fn_config_dll usp10 enable_usp10 implib
17751 wine_fn_config_test dlls
/usp10
/tests usp10_test
17752 wine_fn_config_lib uuid
17753 wine_fn_config_dll uxtheme enable_uxtheme implib
17754 wine_fn_config_test dlls
/uxtheme
/tests uxtheme_test
17755 wine_fn_config_dll vbscript enable_vbscript clean
17756 wine_fn_config_test dlls
/vbscript
/tests vbscript_test clean
17757 wine_fn_config_dll vcomp enable_vcomp
17758 wine_fn_config_test dlls
/vcomp
/tests vcomp_test
17759 wine_fn_config_dll vcomp100 enable_vcomp100
17760 wine_fn_config_dll vcomp110 enable_vcomp110
17761 wine_fn_config_dll vcomp90 enable_vcomp90
17762 wine_fn_config_dll vdhcp.vxd enable_win16
17763 wine_fn_config_dll vdmdbg enable_vdmdbg implib
17764 wine_fn_config_dll ver.dll16 enable_win16
17765 wine_fn_config_dll version enable_version implib
17766 wine_fn_config_test dlls
/version
/tests version_test
17767 wine_fn_config_dll vmm.vxd enable_win16
17768 wine_fn_config_dll vnbt.vxd enable_win16
17769 wine_fn_config_dll vnetbios.vxd enable_win16
17770 wine_fn_config_dll vssapi enable_vssapi
17771 wine_fn_config_dll vtdapi.vxd enable_win16
17772 wine_fn_config_dll vwin32.vxd enable_win16
17773 wine_fn_config_dll w32skrnl enable_win16
17774 wine_fn_config_dll w32sys.dll16 enable_win16
17775 wine_fn_config_dll wbemdisp enable_wbemdisp clean
17776 wine_fn_config_test dlls
/wbemdisp
/tests wbemdisp_test
17777 wine_fn_config_dll wbemprox enable_wbemprox clean
17778 wine_fn_config_test dlls
/wbemprox
/tests wbemprox_test
17779 wine_fn_config_dll webservices enable_webservices implib
17780 wine_fn_config_dll wer enable_wer implib
17781 wine_fn_config_test dlls
/wer
/tests wer_test
17782 wine_fn_config_dll wevtapi enable_wevtapi
17783 wine_fn_config_dll wiaservc enable_wiaservc clean
17784 wine_fn_config_dll win32s16.dll16 enable_win16
17785 wine_fn_config_dll win87em.dll16 enable_win16
17786 wine_fn_config_dll winaspi.dll16 enable_win16
17787 wine_fn_config_dll windebug.dll16 enable_win16
17788 wine_fn_config_dll windowscodecs enable_windowscodecs clean
,implib
17789 wine_fn_config_test dlls
/windowscodecs
/tests windowscodecs_test
17790 wine_fn_config_dll windowscodecsext enable_windowscodecsext implib
17791 wine_fn_config_test dlls
/windowscodecsext
/tests windowscodecsext_test
17792 wine_fn_config_dll winealsa.drv enable_winealsa_drv
17793 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
17794 wine_fn_config_lib winecrt0
17795 wine_fn_config_dll wined3d enable_wined3d implib
17796 wine_fn_config_dll winegstreamer enable_winegstreamer
17797 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
17798 wine_fn_config_dll winemac.drv enable_winemac_drv
17799 wine_fn_config_dll winemapi enable_winemapi
17800 wine_fn_config_dll winemp3.acm enable_winemp3_acm
17801 wine_fn_config_dll wineoss.drv enable_wineoss_drv
17802 wine_fn_config_dll wineps.drv enable_wineps_drv clean
,po
17803 wine_fn_config_dll wineps16.drv16 enable_win16
17804 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
17805 wine_fn_config_dll winex11.drv enable_winex11_drv
17806 wine_fn_config_dll wing.dll16 enable_win16
17807 wine_fn_config_dll wing32 enable_wing32
17808 wine_fn_config_dll winhttp enable_winhttp clean
,implib
17809 wine_fn_config_test dlls
/winhttp
/tests winhttp_test
17810 wine_fn_config_dll wininet enable_wininet implib
,po
17811 wine_fn_config_test dlls
/wininet
/tests wininet_test
17812 wine_fn_config_dll winmm enable_winmm implib
,po
17813 wine_fn_config_test dlls
/winmm
/tests winmm_test
17814 wine_fn_config_dll winnls.dll16 enable_win16
17815 wine_fn_config_dll winnls32 enable_winnls32 implib
17816 wine_fn_config_dll winscard enable_winscard implib
17817 wine_fn_config_dll winsock.dll16 enable_win16
17818 wine_fn_config_dll winspool.drv enable_winspool_drv implib
,po winspool
17819 wine_fn_config_test dlls
/winspool.drv
/tests winspool.drv_test
17820 wine_fn_config_dll winsta enable_winsta
17821 wine_fn_config_dll wintab.dll16 enable_win16
17822 wine_fn_config_dll wintab32 enable_wintab32 implib
17823 wine_fn_config_test dlls
/wintab32
/tests wintab32_test
17824 wine_fn_config_dll wintrust enable_wintrust implib
17825 wine_fn_config_test dlls
/wintrust
/tests wintrust_test
17826 wine_fn_config_dll wlanapi enable_wlanapi
17827 wine_fn_config_dll wldap32 enable_wldap32 implib
,po
17828 wine_fn_config_test dlls
/wldap32
/tests wldap32_test
17829 wine_fn_config_dll wmi enable_wmi
17830 wine_fn_config_dll wmiutils enable_wmiutils clean
17831 wine_fn_config_test dlls
/wmiutils
/tests wmiutils_test
17832 wine_fn_config_dll wmp enable_wmp clean
17833 wine_fn_config_test dlls
/wmp
/tests wmp_test
17834 wine_fn_config_dll wmvcore enable_wmvcore
17835 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
17836 wine_fn_config_dll wow32 enable_win16 implib
17837 wine_fn_config_dll wpcap enable_wpcap
17838 wine_fn_config_dll ws2_32 enable_ws2_32 implib
17839 wine_fn_config_test dlls
/ws2_32
/tests ws2_32_test
17840 wine_fn_config_dll wshom.ocx enable_wshom_ocx clean
17841 wine_fn_config_test dlls
/wshom.ocx
/tests wshom.ocx_test clean
17842 wine_fn_config_dll wsnmp32 enable_wsnmp32 implib
17843 wine_fn_config_test dlls
/wsnmp32
/tests wsnmp32_test
17844 wine_fn_config_dll wsock32 enable_wsock32 implib
17845 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
17846 wine_fn_config_test dlls
/wtsapi32
/tests wtsapi32_test
17847 wine_fn_config_dll wuapi enable_wuapi clean
17848 wine_fn_config_dll wuaueng enable_wuaueng
17849 wine_fn_config_dll x3daudio1_1 enable_x3daudio1_1
17850 wine_fn_config_dll x3daudio1_2 enable_x3daudio1_2
17851 wine_fn_config_dll x3daudio1_3 enable_x3daudio1_3
17852 wine_fn_config_dll x3daudio1_4 enable_x3daudio1_4
17853 wine_fn_config_dll x3daudio1_5 enable_x3daudio1_5
17854 wine_fn_config_dll x3daudio1_6 enable_x3daudio1_6
17855 wine_fn_config_dll x3daudio1_7 enable_x3daudio1_7
17856 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
17857 wine_fn_config_dll xapofx1_3 enable_xapofx1_3
17858 wine_fn_config_dll xapofx1_4 enable_xapofx1_4
17859 wine_fn_config_dll xapofx1_5 enable_xapofx1_5
17860 wine_fn_config_dll xaudio2_7 enable_xaudio2_7 clean
17861 wine_fn_config_test dlls
/xaudio2_
7/tests xaudio2_7_test
17862 wine_fn_config_dll xaudio2_8 enable_xaudio2_8
17863 wine_fn_config_dll xinput1_1 enable_xinput1_1
17864 wine_fn_config_dll xinput1_2 enable_xinput1_2
17865 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
17866 wine_fn_config_test dlls
/xinput1_
3/tests xinput1_3_test
17867 wine_fn_config_dll xinput1_4 enable_xinput1_4
17868 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
17869 wine_fn_config_dll xmllite enable_xmllite implib
17870 wine_fn_config_test dlls
/xmllite
/tests xmllite_test
17871 wine_fn_config_dll xolehlp enable_xolehlp
17872 wine_fn_config_dll xpsprint enable_xpsprint
17873 wine_fn_config_dll xpssvcs enable_xpssvcs
17874 wine_fn_config_makefile documentation enable_documentation clean
17875 wine_fn_config_makefile fonts enable_fonts clean
,install-lib
17876 wine_fn_config_makefile include enable_include clean
,install-dev
17877 wine_fn_config_makefile libs
/port enable_libs_port
17878 wine_fn_config_makefile libs
/wine enable_libs_wine clean
,install-dev
,install-lib
17879 wine_fn_config_makefile libs
/wpp enable_libs_wpp
17880 wine_fn_config_makefile loader enable_loader clean
,install-lib
,manpage
17881 wine_fn_config_program arp enable_arp
install
17882 wine_fn_config_program aspnet_regiis enable_aspnet_regiis
install
17883 wine_fn_config_program attrib enable_attrib
install,po
17884 wine_fn_config_program cabarc enable_cabarc
install
17885 wine_fn_config_program cacls enable_cacls
install
17886 wine_fn_config_program
clock enable_clock
install,po
17887 wine_fn_config_program cmd enable_cmd
install,po
17888 wine_fn_config_test programs
/cmd
/tests cmd.exe_test
17889 wine_fn_config_program conhost enable_conhost
install
17890 wine_fn_config_program control enable_control
install
17891 wine_fn_config_program cscript enable_cscript clean
,install
17892 wine_fn_config_program dpnsvr enable_dpnsvr
install
17893 wine_fn_config_program dxdiag enable_dxdiag
install,po
17894 wine_fn_config_program eject enable_eject
install
17895 wine_fn_config_program
expand enable_expand
install
17896 wine_fn_config_program explorer enable_explorer
install,po
17897 wine_fn_config_program extrac32 enable_extrac32
install
17898 wine_fn_config_program findstr enable_findstr
install
17899 wine_fn_config_program hh enable_hh
install
17900 wine_fn_config_program hostname enable_hostname
install,po
17901 wine_fn_config_program icinfo enable_icinfo
install
17902 wine_fn_config_program iexplore enable_iexplore
install
17903 wine_fn_config_program ipconfig enable_ipconfig
install,po
17904 wine_fn_config_program lodctr enable_lodctr
install
17905 wine_fn_config_program mofcomp enable_mofcomp
install
17906 wine_fn_config_program mshta enable_mshta
install
17907 wine_fn_config_program msiexec enable_msiexec
install,installbin
,manpage
17908 wine_fn_config_program net enable_net
install,po
17909 wine_fn_config_program netsh enable_netsh
install
17910 wine_fn_config_program netstat enable_netstat
install,po
17911 wine_fn_config_program ngen enable_ngen
install
17912 wine_fn_config_program notepad enable_notepad
install,installbin
,manpage
,po
17913 wine_fn_config_program oleview enable_oleview
install,po
17914 wine_fn_config_program
ping enable_ping
install
17915 wine_fn_config_program plugplay enable_plugplay
install
17916 wine_fn_config_program presentationfontcache enable_presentationfontcache
install
17917 wine_fn_config_program progman enable_progman
install,po
17918 wine_fn_config_program reg enable_reg
install,po
17919 wine_fn_config_test programs
/reg
/tests reg.exe_test
17920 wine_fn_config_program regasm enable_regasm
install
17921 wine_fn_config_program regedit enable_regedit
install,installbin
,manpage
,po
17922 wine_fn_config_test programs
/regedit
/tests regedit.exe_test
17923 wine_fn_config_program regsvcs enable_regsvcs
install
17924 wine_fn_config_program regsvr32 enable_regsvr32
install,installbin
,manpage
,po
17925 wine_fn_config_program rpcss enable_rpcss clean
,install
17926 wine_fn_config_program rundll.exe16 enable_win16
install
17927 wine_fn_config_program rundll32 enable_rundll32
install
17928 wine_fn_config_program sc enable_sc
install
17929 wine_fn_config_program schtasks enable_schtasks
install
17930 wine_fn_config_program sdbinst enable_sdbinst
install
17931 wine_fn_config_program secedit enable_secedit
install
17932 wine_fn_config_program servicemodelreg enable_servicemodelreg
install
17933 wine_fn_config_program services enable_services clean
,install
17934 wine_fn_config_test programs
/services
/tests services.exe_test
17935 wine_fn_config_program spoolsv enable_spoolsv
install
17936 wine_fn_config_program start enable_start
install,po
17937 wine_fn_config_program svchost enable_svchost
install
17938 wine_fn_config_program systeminfo enable_systeminfo
install
17939 wine_fn_config_program taskkill enable_taskkill
install,po
17940 wine_fn_config_program tasklist enable_tasklist
install
17941 wine_fn_config_program taskmgr enable_taskmgr
install,po
17942 wine_fn_config_program termsv enable_termsv
install
17943 wine_fn_config_program uninstaller enable_uninstaller
install,po
17944 wine_fn_config_program unlodctr enable_unlodctr
install
17945 wine_fn_config_program view enable_view
install,po
17946 wine_fn_config_program wevtutil enable_wevtutil
install
17947 wine_fn_config_program wineboot enable_wineboot
install,installbin
,manpage
,po
17948 wine_fn_config_program winebrowser enable_winebrowser
install
17949 wine_fn_config_program winecfg enable_winecfg
install,installbin
,manpage
,po
17950 wine_fn_config_program wineconsole enable_wineconsole
install,installbin
,manpage
,po
17951 wine_fn_config_program winedbg enable_winedbg
install,installbin
,manpage
,po
17952 wine_fn_config_program winedevice enable_winedevice
install
17953 wine_fn_config_program winefile enable_winefile
install,installbin
,manpage
,po
17954 wine_fn_config_program winemenubuilder enable_winemenubuilder
install
17955 wine_fn_config_program winemine enable_winemine
install,installbin
,manpage
,po
17956 wine_fn_config_program winemsibuilder enable_winemsibuilder
install
17957 wine_fn_config_program winepath enable_winepath
install,installbin
,manpage
17958 wine_fn_config_program winetest enable_winetest clean
17959 wine_fn_config_program winevdm enable_win16
install
17960 wine_fn_config_program winhelp.exe16 enable_win16
install
17961 wine_fn_config_program winhlp32 enable_winhlp32
install,po
17962 wine_fn_config_program winoldap.mod16 enable_win16
install
17963 wine_fn_config_program winver enable_winver
install
17964 wine_fn_config_program wmic enable_wmic
install,po
17965 wine_fn_config_program wordpad enable_wordpad
install,po
17966 wine_fn_config_program
write enable_write
install,po
17967 wine_fn_config_program wscript enable_wscript clean
,install
17968 wine_fn_config_test programs
/wscript
/tests wscript.exe_test
17969 wine_fn_config_program wusa enable_wusa
install
17970 wine_fn_config_program xcopy enable_xcopy
install,po
17971 wine_fn_config_test programs
/xcopy
/tests xcopy.exe_test
17972 wine_fn_config_makefile server enable_server clean
,install-lib
,manpage
17973 wine_fn_config_tool tools clean
,install-dev
,install-lib
,manpage
17974 wine_fn_config_tool tools
/sfnt2fon clean
17975 wine_fn_config_tool tools
/widl clean
,install-dev
,manpage
17976 wine_fn_config_tool tools
/winebuild clean
,install-dev
,manpage
17977 wine_fn_config_tool tools
/winedump clean
,install-dev
,manpage
17978 wine_fn_config_tool tools
/winegcc clean
,install-dev
,manpage
17979 wine_fn_config_tool tools
/wmc clean
,install-dev
,manpage
17980 wine_fn_config_tool tools
/wrc clean
,install-dev
,manpage
18032 wine_fn_ignore_file
".gitignore"
18033 wine_fn_ignore_file
"Makefile"
18034 wine_fn_ignore_file
"TAGS"
18035 wine_fn_ignore_file
"tags"
18036 wine_fn_ignore_file
"autom4te.cache"
18037 wine_fn_ignore_file
"config.cache"
18038 wine_fn_ignore_file
"config.log"
18039 wine_fn_ignore_file
"config.status"
18040 wine_fn_ignore_file
"configure.lineno"
18041 wine_fn_ignore_file
"include/config.h"
18042 wine_fn_ignore_file
"include/stamp-h"
18043 test "$wine_binary" = wine || wine_fn_ignore_file
"loader/wine"
18045 if test "x$enable_tools" != xno
18047 wine_fn_ignore_file
"tools/makedep$ac_exeext"
18048 ac_config_commands
="$ac_config_commands tools/makedep"
18052 ac_config_commands
="$ac_config_commands Makefile"
18055 ac_config_files
="$ac_config_files Make.tmp:Make.vars.in:Makefile.in"
18059 if test "x$enable_maintainer_mode" = xyes
18061 wine_fn_append_rule
"configure: configure.ac aclocal.m4
18062 autoconf --warnings=all
18063 include/config.h.in: include/stamp-h.in
18064 include/stamp-h.in: configure.ac aclocal.m4
18065 autoheader --warnings=all
18066 @echo timestamp > \$@"
18069 if test "x$with_gettextpo" = xyes
18071 test "$srcdir" = . || as_fn_error $?
"Rebuilding po files is not supported for out of tree builds." "$LINENO" 5
18072 wine_fn_append_rule
"ALL_POT_FILES =$ALL_POT_FILES
18073 \$(LINGUAS:%=po/%.po): po/wine.pot
18074 msgmerge --previous -q \$@ po/wine.pot | msgattrib --no-obsolete -o \$@.new && mv \$@.new \$@
18075 po/wine.pot: \$(ALL_POT_FILES)
18076 msgcat -o \$@ \$(ALL_POT_FILES)"
18079 if test "$MSGFMT" != false
18081 wine_fn_append_rule
"__builddeps__: \$(LINGUAS:%=po/%.mo)
18083 \$(RM) \$(LINGUAS:%=po/%.mo)"
18086 test "$srcdir" = . || posrc
="$srcdir/po"
18089 wine_fn_ignore_file
"po/$i.mo"
18090 wine_fn_append_rule
"po/$i.mo: $posrc/$i.po
18091 \$(MSGFMT) -o \$@ $posrc/$i.po"
18097 if test "x$enable_tools" != xno
18099 wine_fn_append_rule
"tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
18100 @./config.status tools/makedep
18101 Makefile: tools/makedep$ac_exeext
18103 \$(RM) tools/makedep$ac_exeext"
18105 wine_fn_append_rule
"\$(MAKEDEP):
18106 @echo \"You need to run make in $TOOLSDIR first\" && false"
18109 if test -n "$with_wine64"
18111 wine_fn_append_rule
"all: fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader
18112 fonts server tools:
18113 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
18114 $with_wine64/loader/wine:
18115 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
18116 $with_wine64/loader/wine-preloader:
18117 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
18119 \$(RM) fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
18121 as_fn_append LOADER_RULES
"
18122 install install-lib:: wine.inf install-man-pages
18123 \$(INSTALL_DATA) wine.inf \$(DESTDIR)\$(datadir)/wine/wine.inf
18124 \$(INSTALL_DATA) \$(srcdir)/l_intl.nls \$(DESTDIR)\$(datadir)/wine/l_intl.nls
18127 \$(RM) \$(DESTDIR)\$(datadir)/wine/wine.inf \$(DESTDIR)\$(datadir)/wine/l_intl.nls
18131 if test "$srcdir" = .
18133 ac_config_commands
="$ac_config_commands .gitignore"
18137 $as_echo " done" >&6
18138 cat >confcache
<<\_ACEOF
18139 # This file is a shell script that caches the results of configure
18140 # tests run on this system so they can be shared between configure
18141 # scripts and configure runs, see configure's option --config-cache.
18142 # It is not useful on other systems. If it contains results you don't
18143 # want to keep, you may remove or edit it.
18145 # config.status only pays attention to the cache file if you give it
18146 # the --recheck option to rerun configure.
18148 # `ac_cv_env_foo' variables (set or unset) will be overridden when
18149 # loading this file, other *unset* `ac_cv_foo' will be assigned the
18150 # following values.
18154 # The following way of writing the cache mishandles newlines in values,
18155 # but we know of no workaround that is simple, portable, and efficient.
18156 # So, we kill variables containing newlines.
18157 # Ultrix sh set writes to stderr and can't be redirected directly,
18158 # and sets the high bit in the cache file unless we assign to the vars.
18160 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
18161 eval ac_val
=\$
$ac_var
18165 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
18166 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
18169 _ | IFS | as_nl
) ;; #(
18170 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
18171 *) { eval $ac_var=; unset $ac_var;} ;;
18177 case $as_nl`(ac_space=' '; set) 2>&1` in #(
18178 *${as_nl}ac_space
=\
*)
18179 # `set' does not quote correctly, so add quotes: double-quote
18180 # substitution turns \\\\ into \\, and sed turns \\ into \.
18183 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
18186 # `set' quotes correctly as required by POSIX, so do not add quotes.
18187 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
18196 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
18198 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
18200 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
18201 if test -w "$cache_file"; then
18202 if test "x$cache_file" != "x/dev/null"; then
18203 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
18204 $as_echo "$as_me: updating cache $cache_file" >&6;}
18205 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
18206 cat confcache
>"$cache_file"
18208 case $cache_file in #(
18210 mv -f confcache
"$cache_file"$$
&&
18211 mv -f "$cache_file"$$
"$cache_file" ;; #(
18213 mv -f confcache
"$cache_file" ;;
18218 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
18219 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
18224 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
18225 # Let make expand exec_prefix.
18226 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
18228 DEFS
=-DHAVE_CONFIG_H
18233 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
18234 # 1. Remove the extension, and $U if already installed.
18235 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
18236 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
18237 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
18238 # will be set to the directory where LIBOBJS objects are built.
18239 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
18240 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
18242 LIBOBJS
=$ac_libobjs
18244 LTLIBOBJS
=$ac_ltlibobjs
18248 : "${CONFIG_STATUS=./config.status}"
18250 ac_clean_files_save
=$ac_clean_files
18251 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
18252 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
18253 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
18255 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
18257 # Generated by $as_me.
18258 # Run this file to recreate the current configuration.
18259 # Compiler output produced by configure, useful for debugging
18260 # configure, is in config.log if it exists.
18263 ac_cs_recheck=false
18266 SHELL=\${CONFIG_SHELL-$SHELL}
18269 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
18270 ## -------------------- ##
18271 ## M4sh Initialization. ##
18272 ## -------------------- ##
18274 # Be more Bourne compatible
18275 DUALCASE
=1; export DUALCASE
# for MKS sh
18276 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
18279 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
18280 # is contrary to our usage. Disable this feature.
18281 alias -g '${1+"$@"}'='"$@"'
18282 setopt NO_GLOB_SUBST
18284 case `(set -o) 2>/dev/null` in #(
18296 # Printing a long string crashes Solaris 7 /usr/bin/printf.
18297 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
18298 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
18299 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
18300 # Prefer a ksh shell builtin over an external printf program on Solaris,
18301 # but without wasting forks for bash or zsh.
18302 if test -z "$BASH_VERSION$ZSH_VERSION" \
18303 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
18304 as_echo='print
-r --'
18305 as_echo_n='print
-rn --'
18306 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
18307 as_echo='printf %s
\n'
18308 as_echo_n='printf %s
'
18310 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
18311 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
18312 as_echo_n='/usr
/ucb
/echo -n'
18314 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
18315 as_echo_n_body='eval
18319 expr "X$arg" : "X\\(.*\\)$as_nl";
18320 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
18322 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
18324 export as_echo_n_body
18325 as_echo_n='sh
-c $as_echo_n_body as_echo
'
18327 export as_echo_body
18328 as_echo='sh
-c $as_echo_body as_echo
'
18331 # The user is always right.
18332 if test "${PATH_SEPARATOR+set}" != set; then
18334 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
18335 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
18342 # We need space, tab and new line, in precisely that order. Quoting is
18343 # there to prevent editors from complaining about space-tab.
18344 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
18345 # splitting by setting IFS to empty value.)
18348 # Find who we are. Look in the path if we contain no directory separator.
18351 *[\\/]* ) as_myself=$0 ;;
18352 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18353 for as_dir in $PATH
18356 test -z "$as_dir" && as_dir=.
18357 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
18363 # We did not find ourselves, most probably we were run as `sh COMMAND'
18364 # in which case we are not to be found in the path.
18365 if test "x$as_myself" = x
; then
18368 if test ! -f "$as_myself"; then
18369 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
18373 # Unset variables that we do not need and which cause bugs (e.g. in
18374 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
18375 # suppresses any "Segmentation fault" message there. '((' could
18376 # trigger a bug in pdksh 5.2.14.
18377 for as_var
in BASH_ENV ENV MAIL MAILPATH
18378 do eval test x\
${$as_var+set} = xset \
18379 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
18392 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
18395 # as_fn_error STATUS ERROR [LINENO LOG_FD]
18396 # ----------------------------------------
18397 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
18398 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
18399 # script with STATUS, using 1 if that was 0.
18402 as_status
=$1; test $as_status -eq 0 && as_status
=1
18404 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
18405 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
18407 $as_echo "$as_me: error: $2" >&2
18408 as_fn_exit
$as_status
18412 # as_fn_set_status STATUS
18413 # -----------------------
18414 # Set $? to STATUS, without forking.
18415 as_fn_set_status
()
18418 } # as_fn_set_status
18420 # as_fn_exit STATUS
18421 # -----------------
18422 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
18426 as_fn_set_status
$1
18432 # Portably unset VAR.
18435 { eval $1=; unset $1;}
18437 as_unset
=as_fn_unset
18438 # as_fn_append VAR VALUE
18439 # ----------------------
18440 # Append the text in VALUE to the end of the definition contained in VAR. Take
18441 # advantage of any shell optimizations that allow amortized linear growth over
18442 # repeated appends, instead of the typical quadratic growth present in naive
18444 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
18445 eval 'as_fn_append ()
18456 # as_fn_arith ARG...
18457 # ------------------
18458 # Perform arithmetic evaluation on the ARGs, and store the result in the
18459 # global $as_val. Take advantage of shells that can avoid forks. The arguments
18460 # must be portable across $(()) and expr.
18461 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
18462 eval 'as_fn_arith ()
18469 as_val
=`expr "$@" || test $? -eq 1`
18474 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
18475 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
18481 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
18482 as_basename
=basename
18487 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
18493 as_me
=`$as_basename -- "$0" ||
18494 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
18495 X"$0" : 'X\(//\)$' \| \
18496 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
18498 sed '/^.*\/\([^/][^/]*\)\/*$/{
18512 # Avoid depending upon Character Ranges.
18513 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
18514 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
18515 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
18516 as_cr_digits
='0123456789'
18517 as_cr_alnum
=$as_cr_Letters$as_cr_digits
18519 ECHO_C
= ECHO_N
= ECHO_T
=
18520 case `echo -n x` in #(((((
18522 case `echo 'xy\c'` in
18523 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
18525 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
18532 rm -f conf$$ conf$$.exe conf$$.
file
18533 if test -d conf$$.dir
; then
18534 rm -f conf$$.dir
/conf$$.
file
18537 mkdir conf$$.dir
2>/dev
/null
18539 if (echo >conf$$.
file) 2>/dev
/null
; then
18540 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
18542 # ... but there are two gotchas:
18543 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
18544 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
18545 # In both cases, we have to default to `cp -pR'.
18546 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
18548 elif ln conf$$.
file conf$$
2>/dev
/null
; then
18556 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
18557 rmdir conf$$.dir
2>/dev
/null
18562 # Create "$as_dir" as a directory, including parents if necessary.
18567 -*) as_dir
=.
/$as_dir;;
18569 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
18573 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
18574 *) as_qdir
=$as_dir;;
18576 as_dirs
="'$as_qdir' $as_dirs"
18577 as_dir
=`$as_dirname -- "$as_dir" ||
18578 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18579 X"$as_dir" : 'X\(//\)[^/]' \| \
18580 X"$as_dir" : 'X\(//\)$' \| \
18581 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
18582 $as_echo X"$as_dir" |
18583 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18587 /^X\(\/\/\)[^/].*/{
18600 test -d "$as_dir" && break
18602 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
18603 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
18607 if mkdir
-p .
2>/dev
/null
; then
18608 as_mkdir_p
='mkdir -p "$as_dir"'
18610 test -d .
/-p && rmdir .
/-p
18615 # as_fn_executable_p FILE
18616 # -----------------------
18617 # Test if FILE is an executable regular file.
18618 as_fn_executable_p
()
18620 test -f "$1" && test -x "$1"
18621 } # as_fn_executable_p
18622 as_test_x
='test -x'
18623 as_executable_p
=as_fn_executable_p
18625 # Sed expression to map a string onto a valid CPP name.
18626 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
18628 # Sed expression to map a string onto a valid variable name.
18629 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
18633 ## ----------------------------------- ##
18634 ## Main body of $CONFIG_STATUS script. ##
18635 ## ----------------------------------- ##
18637 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
18639 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18640 # Save the log message, to keep $0 and so on meaningful, and to
18641 # report actual input values of CONFIG_FILES etc. instead of their
18642 # values after options handling.
18644 This file was extended by Wine $as_me 1.7.50, which was
18645 generated by GNU Autoconf 2.69. Invocation command line was
18647 CONFIG_FILES = $CONFIG_FILES
18648 CONFIG_HEADERS = $CONFIG_HEADERS
18649 CONFIG_LINKS = $CONFIG_LINKS
18650 CONFIG_COMMANDS = $CONFIG_COMMANDS
18653 on `(hostname || uname -n) 2>/dev/null | sed 1q`
18658 case $ac_config_files in *"
18659 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
18662 case $ac_config_headers in *"
18663 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
18667 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18668 # Files that config.status was made for.
18669 config_files="$ac_config_files"
18670 config_headers="$ac_config_headers"
18671 config_links="$ac_config_links"
18672 config_commands="$ac_config_commands"
18676 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18678 \`$as_me' instantiates files and other configuration actions
18679 from templates according to the current configuration. Unless the files
18680 and actions are specified as TAGs, all are instantiated by default.
18682 Usage: $0 [OPTION]... [TAG]...
18684 -h, --help print this help, then exit
18685 -V, --version print version number and configuration settings, then exit
18686 --config print configuration, then exit
18687 -q, --quiet, --silent
18688 do not print progress messages
18689 -d, --debug don't remove temporary files
18690 --recheck update $as_me by reconfiguring in the same conditions
18691 --file=FILE[:TEMPLATE]
18692 instantiate the configuration file FILE
18693 --header=FILE[:TEMPLATE]
18694 instantiate the configuration header FILE
18696 Configuration files:
18699 Configuration headers:
18702 Configuration links:
18705 Configuration commands:
18708 Report bugs to <wine-devel@winehq.org>.
18709 Wine home page: <http://www.winehq.org>."
18712 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18713 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
18715 Wine config.status 1.7.50
18716 configured by $0, generated by GNU Autoconf 2.69,
18717 with options \\"\$ac_cs_config\\"
18719 Copyright (C) 2012 Free Software Foundation, Inc.
18720 This config.status script is free software; the Free Software Foundation
18721 gives unlimited permission to copy, distribute and modify it."
18725 test -n "\$AWK" || AWK=awk
18728 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18729 # The default lists apply if the user does not specify any file.
18735 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
18736 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
18740 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
18752 # Handling of the options.
18753 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
18755 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
18756 $as_echo "$ac_cs_version"; exit ;;
18757 --config |
--confi |
--conf |
--con |
--co |
--c )
18758 $as_echo "$ac_cs_config"; exit ;;
18759 --debug |
--debu |
--deb |
--de |
--d |
-d )
18761 --file |
--fil |
--fi |
--f )
18764 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18765 '') as_fn_error $?
"missing file argument" ;;
18767 as_fn_append CONFIG_FILES
" '$ac_optarg'"
18768 ac_need_defaults
=false
;;
18769 --header |
--heade |
--head |
--hea )
18772 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18774 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
18775 ac_need_defaults
=false
;;
18777 # Conflict between --help and --header
18778 as_fn_error $?
"ambiguous option: \`$1'
18779 Try \`$0 --help' for more information.";;
18780 --help |
--hel |
-h )
18781 $as_echo "$ac_cs_usage"; exit ;;
18782 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
18783 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
18786 # This is an error.
18787 -*) as_fn_error $?
"unrecognized option: \`$1'
18788 Try \`$0 --help' for more information." ;;
18790 *) as_fn_append ac_config_targets
" $1"
18791 ac_need_defaults
=false
;;
18797 ac_configure_extra_args
=
18799 if $ac_cs_silent; then
18801 ac_configure_extra_args
="$ac_configure_extra_args --silent"
18805 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18806 if \$ac_cs_recheck; then
18807 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
18809 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
18810 CONFIG_SHELL='$SHELL'
18811 export CONFIG_SHELL
18816 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18820 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
18821 ## Running $as_me. ##
18827 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18831 wine_fn_output_makedep ()
18833 as_dir=tools; as_fn_mkdir_p
18834 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
18836 wine_fn_output_makefile ()
18838 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" . && return
18839 `cat $wine_rules_file`
18841 as_fn_error $? "could not create Makefile" "$LINENO" 5
18843 wine_fn_output_gitignore ()
18845 sort <<\_WINE_EOF >\$tmp/gitignore && mv -f \$tmp/gitignore \$1 && return
18848 as_fn_error $? "could not create .gitignore" "$LINENO" 5
18853 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18855 # Handling of arguments.
18856 for ac_config_target
in $ac_config_targets
18858 case $ac_config_target in
18859 "include/config.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/config.h" ;;
18860 "include/stamp-h") CONFIG_COMMANDS
="$CONFIG_COMMANDS include/stamp-h" ;;
18861 "fonts/marlett.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
18862 "fonts/symbol.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
18863 "fonts/tahoma.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
18864 "fonts/tahomabd.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
18865 "loader/l_intl.nls") CONFIG_LINKS
="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
18866 "po/LINGUAS") CONFIG_LINKS
="$CONFIG_LINKS po/LINGUAS:po/LINGUAS" ;;
18867 "wine") CONFIG_LINKS
="$CONFIG_LINKS wine:tools/winewrapper" ;;
18868 "wine64") CONFIG_LINKS
="$CONFIG_LINKS wine64:tools/winewrapper" ;;
18869 "tools/makedep") CONFIG_COMMANDS
="$CONFIG_COMMANDS tools/makedep" ;;
18870 "Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS Makefile" ;;
18871 "Make.tmp") CONFIG_FILES
="$CONFIG_FILES Make.tmp:Make.vars.in:Makefile.in" ;;
18872 ".gitignore") CONFIG_COMMANDS
="$CONFIG_COMMANDS .gitignore" ;;
18874 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
18879 # If the user did not use the arguments to specify the items to instantiate,
18880 # then the envvar interface is used. Set only those that are not.
18881 # We use the long form for the default assignment because of an extremely
18882 # bizarre bug on SunOS 4.1.3.
18883 if $ac_need_defaults; then
18884 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
18885 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
18886 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS
=$config_links
18887 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
18890 # Have a temporary directory for convenience. Make it in the build tree
18891 # simply because there is no reason against having it here, and in addition,
18892 # creating and moving files from /tmp can sometimes cause problems.
18893 # Hook for its removal unless debugging.
18894 # Note that there is a small window in which the directory will not be cleaned:
18895 # after its creation but before its name has been assigned to `$tmp'.
18899 trap 'exit_status=$?
18900 : "${ac_tmp:=$tmp}"
18901 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
18903 trap 'as_fn_exit 1' 1 2 13 15
18905 # Create a (secure) tmp directory for tmp files.
18908 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
18912 tmp
=.
/conf$$
-$RANDOM
18913 (umask 077 && mkdir
"$tmp")
18914 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
18917 # Set up the scripts for CONFIG_FILES section.
18918 # No need to generate them if there are no CONFIG_FILES.
18919 # This happens for instance with `./config.status config.h'.
18920 if test -n "$CONFIG_FILES"; then
18923 ac_cr
=`echo X | tr X '\015'`
18924 # On cygwin, bash can eat \r inside `` if the user requested igncr.
18925 # But we know of no other shell where ac_cr would be empty at this
18926 # point, so we can use a bashism as a fallback.
18927 if test "x$ac_cr" = x
; then
18928 eval ac_cr
=\$
\'\\r
\'
18930 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
18931 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
18934 ac_cs_awk_cr
=$ac_cr
18937 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
18942 echo "cat >conf$$subs.awk <<_ACEOF" &&
18943 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
18945 } >conf$$subs.sh ||
18946 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
18947 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
18949 for ac_last_try in false false false false false :; do
18950 . ./conf$$subs.sh ||
18951 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
18953 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
18954 if test $ac_delim_n = $ac_delim_num; then
18956 elif $ac_last_try; then
18957 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
18959 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
18962 rm -f conf$$subs.sh
18964 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18965 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
18969 s/^/S["/; s
/!.
*/"]=/
18979 s/\(.\{148\}\)..*/\1/
18981 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
18986 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
18993 s/\(.\{148\}\)..*/\1/
18995 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
18999 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
19004 ' <conf$$subs.awk | sed '
19009 ' >>$CONFIG_STATUS || ac_write_fail=1
19010 rm -f conf$$subs.awk
19011 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19013 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
19014 for (key in S) S_is_set[key] = 1
19020 nfields = split(line, field, "@
")
19022 len = length(field[1])
19023 for (i = 2; i < nfields; i++) {
19025 keylen = length(key)
19026 if (S_is_set[key]) {
19028 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
19029 len += length(value) + length(field[++i])
19040 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19041 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
19042 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
19045 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
19046 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
19049 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
19050 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
19051 # trailing colons and then remove the whole line if VPATH becomes empty
19052 # (actually we leave an empty line to preserve line numbers).
19053 if test "x
$srcdir" = x.; then
19054 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
19072 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19073 fi # test -n "$CONFIG_FILES"
19075 # Set up the scripts for CONFIG_HEADERS section.
19076 # No need to generate them if there are no CONFIG_HEADERS.
19077 # This happens for instance with `./config.status Makefile'.
19078 if test -n "$CONFIG_HEADERS"; then
19079 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
19083 # Transform confdefs.h into an awk script `defines.awk', embedded as
19084 # here-document in config.status, that substitutes the proper values into
19085 # config.h.in to produce config.h.
19087 # Create a delimiter string that does not exist in confdefs.h, to ease
19088 # handling of long lines.
19090 for ac_last_try in false false :; do
19091 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
19092 if test -z "$ac_tt"; then
19094 elif $ac_last_try; then
19095 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
19097 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
19101 # For the awk script, D is an array of macro values keyed by name,
19102 # likewise P contains macro parameters if any. Preserve backslash
19103 # newline sequences.
19105 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
19107 s/.\{148\}/&'"$ac_delim"'/g
19110 s/^[ ]*#[ ]*define[ ][ ]*/ /
19117 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
19119 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
19123 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
19124 D["\
1"]=" \
3\\\\\\n
"\\/p
19126 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
19131 s/.\{148\}/&'"$ac_delim"'/g
19136 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
19139 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
19141 ' <confdefs.h | sed '
19142 s/'"$ac_delim"'/"\\\
19143 "/g' >>$CONFIG_STATUS || ac_write_fail=1
19145 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19146 for (key in D) D_is_set[key] = 1
19149 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
19151 split(line, arg, " ")
19152 if (arg[1] == "#") {
19156 defundef
= substr
(arg
[1], 2)
19159 split(mac1
, mac2
, "(") #)
19161 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
19162 if (D_is_set
[macro
]) {
19163 # Preserve the white space surrounding the "#".
19164 print prefix
"define", macro P
[macro
] D
[macro
]
19167 # Replace #undef with comments. This is necessary, for example,
19168 # in the case of _POSIX_SOURCE, which is predefined and required
19169 # on some systems where configure will not decide to define it.
19170 if (defundef
== "undef") {
19171 print
"/*", prefix defundef
, macro
, "*/"
19179 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19180 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
19181 fi # test -n "$CONFIG_HEADERS"
19184 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
19189 :[FHLC
]) ac_mode
=$ac_tag; continue;;
19191 case $ac_mode$ac_tag in
19193 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
19194 :[FH
]-) ac_tag
=-:-;;
19195 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
19212 -) ac_f
="$ac_tmp/stdin";;
19213 *) # Look for the file first in the build tree, then in the source tree
19214 # (if the path is not absolute). The absolute path cannot be DOS-style,
19215 # because $ac_f cannot contain `:'.
19219 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
19221 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
19223 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
19224 as_fn_append ac_file_inputs
" '$ac_f'"
19227 # Let's still pretend it is `configure' which instantiates (i.e., don't
19228 # use $as_me), people would be surprised to read:
19229 # /* config.h. Generated by config.status. */
19230 configure_input
='Generated from '`
19231 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
19233 if test x
"$ac_file" != x-
; then
19234 configure_input
="$ac_file. $configure_input"
19235 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
19236 $as_echo "$as_me: creating $ac_file" >&6;}
19238 # Neutralize special characters interpreted by sed in replacement strings.
19239 case $configure_input in #(
19240 *\
&* |
*\|
* |
*\\* )
19241 ac_sed_conf_input
=`$as_echo "$configure_input" |
19242 sed 's/[\\\\&|]/\\\\&/g'`;; #(
19243 *) ac_sed_conf_input
=$configure_input;;
19247 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
19248 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
19253 ac_dir
=`$as_dirname -- "$ac_file" ||
19254 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19255 X"$ac_file" : 'X\(//\)[^/]' \| \
19256 X"$ac_file" : 'X\(//\)$' \| \
19257 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
19258 $as_echo X"$ac_file" |
19259 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19263 /^X\(\/\/\)[^/].*/{
19276 as_dir
="$ac_dir"; as_fn_mkdir_p
19280 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
19282 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
19283 # A ".." for each directory in $ac_dir_suffix.
19284 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
19285 case $ac_top_builddir_sub in
19286 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
19287 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
19290 ac_abs_top_builddir
=$ac_pwd
19291 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
19292 # for backward compatibility:
19293 ac_top_builddir
=$ac_top_build_prefix
19296 .
) # We are building in place.
19298 ac_top_srcdir
=$ac_top_builddir_sub
19299 ac_abs_top_srcdir
=$ac_pwd ;;
19300 [\\/]* | ?
:[\\/]* ) # Absolute name.
19301 ac_srcdir
=$srcdir$ac_dir_suffix;
19302 ac_top_srcdir
=$srcdir
19303 ac_abs_top_srcdir
=$srcdir ;;
19304 *) # Relative name.
19305 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
19306 ac_top_srcdir
=$ac_top_build_prefix$srcdir
19307 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
19309 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
19320 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19321 # If the template does not know about datarootdir, expand it.
19322 # FIXME: This hack should be removed a few years after 2.60.
19323 ac_datarootdir_hack
=; ac_datarootdir_seen
=
19334 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
19335 *datarootdir
*) ac_datarootdir_seen
=yes;;
19336 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
19337 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
19338 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
19340 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19341 ac_datarootdir_hack='
19342 s&@datadir@&$datadir&g
19343 s&@docdir@&$docdir&g
19344 s&@infodir@&$infodir&g
19345 s&@localedir@&$localedir&g
19346 s&@mandir@&$mandir&g
19347 s&\\\${datarootdir}&$datarootdir&g' ;;
19351 # Neutralize VPATH when `$srcdir' = `.'.
19352 # Shell code in configure.ac might set extrasub.
19353 # FIXME: do we really want to maintain this feature?
19354 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19355 ac_sed_extra="$ac_vpsub
19358 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19360 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
19361 s|@configure_input@|
$ac_sed_conf_input|
;t t
19362 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
19363 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
19364 s
&@srcdir@
&$ac_srcdir&;t t
19365 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
19366 s
&@top_srcdir@
&$ac_top_srcdir&;t t
19367 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
19368 s
&@builddir@
&$ac_builddir&;t t
19369 s
&@abs_builddir@
&$ac_abs_builddir&;t t
19370 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
19371 $ac_datarootdir_hack
19373 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
19374 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
19376 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
19377 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
19378 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
19379 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
19380 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
19381 which seems to be undefined. Please make sure it is defined" >&5
19382 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
19383 which seems to be undefined. Please make sure it is defined" >&2;}
19385 rm -f "$ac_tmp/stdin"
19387 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
19388 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
19390 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19396 if test x"$ac_file" != x-; then
19398 $as_echo "/* $configure_input */" \
19399 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
19400 } >"$ac_tmp/config.h" \
19401 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19402 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
19403 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
19404 $as_echo "$as_me: $ac_file is unchanged" >&6;}
19407 mv "$ac_tmp/config.h" "$ac_file" \
19408 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19411 $as_echo "/* $configure_input */" \
19412 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
19413 || as_fn_error $? "could not create -" "$LINENO" 5
19421 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.
'; then
19424 # Prefer the file from the source tree if names are identical.
19425 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
19426 ac_source=$srcdir/$ac_source
19429 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
19430 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
19432 if test ! -r "$ac_source"; then
19433 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
19437 # Try a relative symlink, then a hard link, then a copy.
19439 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
19440 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
19442 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
19443 ln "$ac_source" "$ac_file" 2>/dev/null ||
19444 cp -p "$ac_source" "$ac_file" ||
19445 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
19448 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
19449 $as_echo "$as_me: executing $ac_file commands" >&6;}
19454 case $ac_file$ac_mode in
19455 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
19456 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
19457 "Makefile":C) wine_fn_output_makefile Makefile ;;
19458 ".gitignore":C) wine_fn_output_gitignore .gitignore ;;
19466 ac_clean_files=$ac_clean_files_save
19468 test $ac_write_fail = 0 ||
19469 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
19472 # configure is writing to config.log, and then calls config.status.
19473 # config.status does its own redirection, appending to config.log.
19474 # Unfortunately, on DOS this fails, as config.log is still kept open
19475 # by configure, so config.status won't be able to
write to it
; its
19476 # output is simply discarded. So we exec the FD to /dev/null,
19477 # effectively closing config.log, so it can be properly (re)opened and
19478 # appended to by config.status. When coming back to configure, we
19479 # need to make the FD available again.
19480 if test "$no_create" != yes; then
19482 ac_config_status_args
=
19483 test "$silent" = yes &&
19484 ac_config_status_args
="$ac_config_status_args --quiet"
19486 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
19488 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
19489 # would make configure fail if this is the last instruction.
19490 $ac_cs_success || as_fn_exit
1
19492 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
19493 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
19494 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
19498 if test "$no_create" = "yes"
19504 if test "x$wine_notices != "x
; then
19507 for msg
in $wine_notices; do
19509 if ${msg:+false} :; then :
19512 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
19513 $as_echo "$as_me: $msg" >&6;}
19518 for msg
in $wine_warnings; do
19520 if ${msg:+false} :; then :
19524 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
19525 $as_echo "$as_me: WARNING: $msg" >&2;}
19531 $as_me: Finished. Do '${ac_make}' to compile Wine.